@adea-ai/ui 0.63.4 → 0.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -0
- package/dist/NOTICE +81 -0
- package/dist/components/conversation/busy-send-button.d.ts +28 -0
- package/dist/components/conversation/busy-send-button.d.ts.map +1 -0
- package/dist/components/conversation/busy-send-button.js +184 -0
- package/dist/components/conversation/busy-send-button.js.map +1 -0
- package/dist/components/conversation/index.d.ts +1 -0
- package/dist/components/conversation/index.d.ts.map +1 -1
- package/dist/components/conversation/index.js +2 -1
- package/dist/components/layout/split-layout/drop.d.ts +13 -0
- package/dist/components/layout/split-layout/drop.d.ts.map +1 -0
- package/dist/components/layout/split-layout/drop.js +50 -0
- package/dist/components/layout/split-layout/drop.js.map +1 -0
- package/dist/components/layout/split-layout/geometry.d.ts +14 -0
- package/dist/components/layout/split-layout/geometry.d.ts.map +1 -0
- package/dist/components/layout/split-layout/geometry.js +44 -0
- package/dist/components/layout/split-layout/geometry.js.map +1 -0
- package/dist/components/layout/split-layout/index.d.ts +5 -0
- package/dist/components/layout/split-layout/index.d.ts.map +1 -0
- package/dist/components/layout/split-layout/index.js +4 -0
- package/dist/components/layout/split-layout/model.d.ts +51 -0
- package/dist/components/layout/split-layout/model.d.ts.map +1 -0
- package/dist/components/layout/split-layout/model.js +255 -0
- package/dist/components/layout/split-layout/model.js.map +1 -0
- package/dist/components/layout/split-layout/split-layout.d.ts +30 -0
- package/dist/components/layout/split-layout/split-layout.d.ts.map +1 -0
- package/dist/components/layout/split-layout/split-layout.js +312 -0
- package/dist/components/layout/split-layout/split-layout.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/lib/tokens.d.ts +3 -0
- package/dist/lib/tokens.d.ts.map +1 -1
- package/dist/lib/tokens.js +3 -0
- package/dist/lib/tokens.js.map +1 -1
- package/dist/r/conversation.json +7 -0
- package/dist/r/registry.json +48 -0
- package/dist/r/split-layout.json +41 -0
- package/dist/r/src/components/conversation/busy-send-button.tsx +161 -0
- package/dist/r/src/components/conversation/index.ts +1 -0
- package/dist/r/src/components/layout/split-layout/drop.ts +29 -0
- package/dist/r/src/components/layout/split-layout/geometry.ts +40 -0
- package/dist/r/src/components/layout/split-layout/index.ts +4 -0
- package/dist/r/src/components/layout/split-layout/model.ts +336 -0
- package/dist/r/src/components/layout/split-layout/split-layout.tsx +346 -0
- package/dist/r/src/lib/tokens.ts +3 -0
- package/dist/r/src/styles/theme.css +9 -0
- package/package.json +10 -2
- package/registry.json +48 -0
- package/src/components/conversation/busy-send-button.tsx +161 -0
- package/src/components/conversation/index.ts +1 -0
- package/src/components/layout/split-layout/drop.ts +29 -0
- package/src/components/layout/split-layout/geometry.ts +40 -0
- package/src/components/layout/split-layout/index.ts +4 -0
- package/src/components/layout/split-layout/model.ts +336 -0
- package/src/components/layout/split-layout/split-layout.tsx +346 -0
- package/src/index.ts +1 -0
- package/src/lib/tokens.ts +3 -0
- package/src/styles/theme.css +9 -0
package/src/lib/tokens.ts
CHANGED
|
@@ -434,6 +434,9 @@ export const typographyTokens: TokenDefinition[] = [
|
|
|
434
434
|
},
|
|
435
435
|
]
|
|
436
436
|
|
|
437
|
+
/** Height tokens also size both axes of icon controls through Tailwind's --size
|
|
438
|
+
* namespace. Padding has its own --spacing mapping. Nominal pixel descriptions
|
|
439
|
+
* use a 16px rem; rendered dimensions follow the consumer's root font size. */
|
|
437
440
|
export const densityTokens: TokenDefinition[] = [
|
|
438
441
|
{ name: 'control-height-2xs', kind: 'dimension', description: '20px — an inline chip control.' },
|
|
439
442
|
{ name: 'control-height-xs', kind: 'dimension', description: '24px — a dense table row action.' },
|
package/src/styles/theme.css
CHANGED
|
@@ -826,6 +826,15 @@
|
|
|
826
826
|
--height-control-md: var(--control-height-md);
|
|
827
827
|
--height-control-lg: var(--control-height-lg);
|
|
828
828
|
--height-control-xl: var(--control-height-xl);
|
|
829
|
+
/* Tailwind `size-*` prefers --size-* and then --spacing-*. Without this
|
|
830
|
+
bridge, square icon controls use the padding ladder below for both axes.
|
|
831
|
+
Height, square size and inline padding remain distinct semantic contracts. */
|
|
832
|
+
--size-control-2xs: var(--control-height-2xs);
|
|
833
|
+
--size-control-xs: var(--control-height-xs);
|
|
834
|
+
--size-control-sm: var(--control-height-sm);
|
|
835
|
+
--size-control-md: var(--control-height-md);
|
|
836
|
+
--size-control-lg: var(--control-height-lg);
|
|
837
|
+
--size-control-xl: var(--control-height-xl);
|
|
829
838
|
--height-row-sm: var(--row-height-sm);
|
|
830
839
|
--height-row-md: var(--row-height-md);
|
|
831
840
|
--height-row-lg: var(--row-height-lg);
|