@tutti-os/ui-system 0.0.197 → 0.0.199
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/dist/{chunk-OW6744SQ.js → chunk-QSVO3ZI2.js} +375 -278
- package/dist/chunk-QSVO3ZI2.js.map +1 -0
- package/dist/components/index.d.ts +29 -9
- package/dist/components/index.js +3 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -1
- package/dist/metadata/components.json +22 -0
- package/dist/metadata/index.js +22 -0
- package/dist/metadata/index.js.map +1 -1
- package/dist/styles/semantic.css +1 -0
- package/dist/styles/theme.css +3 -0
- package/package.json +1 -1
- package/ui-system.md +12 -0
- package/dist/chunk-OW6744SQ.js.map +0 -1
package/dist/styles/semantic.css
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--color-background-session-flow: var(--background-session-flow);
|
|
8
8
|
--color-background-session-sidepanel: var(--background-session-sidepanel);
|
|
9
9
|
--color-background-fronted: var(--background-fronted);
|
|
10
|
+
--color-background-board-card: var(--background-board-card);
|
|
10
11
|
--color-foreground: var(--foreground);
|
|
11
12
|
--color-card: var(--card);
|
|
12
13
|
--color-card-foreground: var(--card-foreground);
|
package/dist/styles/theme.css
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
--background-session-sidepanel: rgb(244 245 247);
|
|
24
24
|
--background-fronted: rgb(255 255 255 / 1);
|
|
25
25
|
--background-soft: oklch(0.968 0.006 84);
|
|
26
|
+
--background-board-card: rgb(255 255 255 / 1);
|
|
26
27
|
--foreground: oklch(0.248 0.016 258);
|
|
27
28
|
--text-primary: rgb(60 60 60);
|
|
28
29
|
--text-primary-hover: rgb(60 60 60 / 90%);
|
|
@@ -211,6 +212,7 @@
|
|
|
211
212
|
--background-session-sidepanel: rgb(42 42 43);
|
|
212
213
|
--background-fronted: rgb(51 51 51 / 1);
|
|
213
214
|
--background-soft: oklch(0.224 0.01 255);
|
|
215
|
+
--background-board-card: rgb(255 255 255 / 8%);
|
|
214
216
|
--foreground: oklch(0.955 0.004 84);
|
|
215
217
|
--text-primary: rgb(255 255 255);
|
|
216
218
|
--text-primary-hover: rgb(255 255 255 / 90%);
|
|
@@ -389,6 +391,7 @@
|
|
|
389
391
|
--background-session-sidepanel: rgb(42 42 43);
|
|
390
392
|
--background-fronted: rgb(51 51 51 / 1);
|
|
391
393
|
--background-soft: oklch(0.224 0.01 255);
|
|
394
|
+
--background-board-card: rgb(255 255 255 / 8%);
|
|
392
395
|
--foreground: oklch(0.955 0.004 84);
|
|
393
396
|
--text-primary: rgb(255 255 255);
|
|
394
397
|
--text-primary-hover: rgb(255 255 255 / 90%);
|
package/package.json
CHANGED
package/ui-system.md
CHANGED
|
@@ -49,6 +49,18 @@ recorded in the package `NOTICE`. Update that provenance whenever registry
|
|
|
49
49
|
source is refreshed. Storyboard coverage is the visual inventory for enabled,
|
|
50
50
|
disabled, keyboard-focus, and overlay states.
|
|
51
51
|
|
|
52
|
+
## Avatar foundation
|
|
53
|
+
|
|
54
|
+
`Avatar` is the single high-level identity-image primitive. It owns decorative
|
|
55
|
+
image loading, broken-image fallback, initial or empty fallback modes, loading
|
|
56
|
+
presentation, named or numeric sizing, and a caller-owned overlay slot through
|
|
57
|
+
`children`. Consumers own identity resolution, image URLs, labels, fallback
|
|
58
|
+
colors, presence semantics, and overlay content. The underlying Radix/shadcn
|
|
59
|
+
parts are intentionally not public. `fallbackColor` is the narrow exception for
|
|
60
|
+
caller-owned dynamic identity data; component defaults still use semantic
|
|
61
|
+
tokens. Initial fallback content appears only when the image URL is absent or
|
|
62
|
+
the image fails, never while a valid image URL is still loading.
|
|
63
|
+
|
|
52
64
|
## Current Package Role
|
|
53
65
|
|
|
54
66
|
`@tutti-os/ui-system` is the single source of truth for:
|