e2f66fe622
0.1.11 left it at 40px with line-height 1.45, so the line (20.3px) overflowed the 20px content box — taller than the <input> it replaced, and liable to show a scrollbar on a single line. Collapsed height is now one token, --miu-composer-h: 38px, shared by the textarea, attach and send so they cannot drift apart again. Padding tightened to 8px (from .miu-input's 9px) with line-height 1.4, so a 14px line is 19.6 + 16 + 2 = 37.6px and fits exactly — matching the original single-line input. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
66 lines
1.6 KiB
JSON
66 lines
1.6 KiB
JSON
{
|
|
"name": "@insignia/iios-messaging-ui",
|
|
"version": "0.1.12",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./adapters/mock": {
|
|
"types": "./dist/adapters/mock.d.ts",
|
|
"import": "./dist/adapters/mock.js"
|
|
},
|
|
"./adapters/kernel-client": {
|
|
"types": "./dist/adapters/kernel-client.d.ts",
|
|
"import": "./dist/adapters/kernel-client.js"
|
|
},
|
|
"./adapters/mock-inbox": {
|
|
"types": "./dist/adapters/mock-inbox.d.ts",
|
|
"import": "./dist/adapters/mock-inbox.js"
|
|
},
|
|
"./conformance": {
|
|
"types": "./dist/conformance.d.ts",
|
|
"import": "./dist/conformance.js"
|
|
},
|
|
"./styles.css": "./dist/styles.css"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"peerDependencies": {
|
|
"@insignia/iios-kernel-client": "*",
|
|
"react": ">=18",
|
|
"react-dom": ">=18"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@insignia/iios-kernel-client": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@insignia/iios-kernel-client": "workspace:*",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"jsdom": "^26.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.0.5"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://git.lynkedup.cloud/api/packages/insignia/npm/"
|
|
}
|
|
}
|