@cueplusplus/ui 0.18.2 → 0.20.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.
Files changed (189) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/dist/brand/_motif-seed.js +20 -0
  3. package/dist/brand/gloss-object.d.ts +23 -0
  4. package/dist/brand/gloss-object.js +108 -0
  5. package/dist/brand/halftone.d.ts +23 -0
  6. package/dist/brand/halftone.js +54 -0
  7. package/dist/brand/index.d.ts +8 -1
  8. package/dist/brand/motif.d.ts +32 -0
  9. package/dist/brand/motif.js +71 -0
  10. package/dist/brand/particle-logo.d.ts +50 -0
  11. package/dist/brand/particle-logo.js +437 -0
  12. package/dist/brand/particle-mark.d.ts +29 -0
  13. package/dist/brand/particle-mark.js +137 -0
  14. package/dist/brand/ribbon.d.ts +20 -0
  15. package/dist/brand/ribbon.js +54 -0
  16. package/dist/brand/text-scramble.d.ts +42 -0
  17. package/dist/brand/text-scramble.js +160 -0
  18. package/dist/chat/delegation-card.js +2 -1
  19. package/dist/chat/message.js +12 -13
  20. package/dist/chrome/announcement-bar.d.ts +30 -0
  21. package/dist/chrome/announcement-bar.js +38 -0
  22. package/dist/chrome/app-bar.d.ts +4 -1
  23. package/dist/chrome/app-bar.js +7 -2
  24. package/dist/chrome/app-shell.js +8 -1
  25. package/dist/chrome/band.d.ts +3 -1
  26. package/dist/chrome/band.js +4 -3
  27. package/dist/chrome/hero.d.ts +61 -0
  28. package/dist/chrome/hero.js +108 -0
  29. package/dist/chrome/index.d.ts +6 -1
  30. package/dist/chrome/index.js +6 -1
  31. package/dist/chrome/keyword.d.ts +22 -0
  32. package/dist/chrome/keyword.js +28 -0
  33. package/dist/chrome/logo-strip.d.ts +23 -0
  34. package/dist/chrome/logo-strip.js +43 -0
  35. package/dist/chrome/page-shell.js +13 -1
  36. package/dist/chrome/stat-band.d.ts +32 -0
  37. package/dist/chrome/stat-band.js +39 -0
  38. package/dist/color/color-area.js +2 -1
  39. package/dist/dmx/channel-matrix.js +5 -3
  40. package/dist/dmx/dmx-strip.js +5 -3
  41. package/dist/elements/animated-number.js +4 -1
  42. package/dist/elements/replay.d.ts +1 -1
  43. package/dist/elements/replay.js +5 -2
  44. package/dist/elements/scroll-anchor.js +4 -1
  45. package/dist/forms/_chassis.d.ts +1 -1
  46. package/dist/forms/_chassis.js +2 -2
  47. package/dist/forms/env-var-input.js +2 -1
  48. package/dist/forms/file-upload.js +2 -1
  49. package/dist/index.d.ts +17 -1
  50. package/dist/index.js +18 -2
  51. package/dist/instruments/data-table.js +3 -2
  52. package/dist/instruments/index.js +1 -1
  53. package/dist/instruments/stat.js +1 -1
  54. package/dist/instruments/table.js +1 -1
  55. package/dist/instruments/terminal-frame.js +5 -2
  56. package/dist/layout/grid.js +4 -2
  57. package/dist/layout/index.d.ts +2 -1
  58. package/dist/layout/index.js +2 -1
  59. package/dist/layout/preview.js +4 -188
  60. package/dist/layout/reveal.d.ts +44 -0
  61. package/dist/layout/reveal.js +106 -0
  62. package/dist/layout/sidebar.js +88 -52
  63. package/dist/lib/cn.js +23 -5
  64. package/dist/lib/particle-field-shaders.js +236 -0
  65. package/dist/lib/particle-field.js +210 -0
  66. package/dist/midi/spectrum-visualizer.js +2 -1
  67. package/dist/overlays/_surface.d.ts +2 -2
  68. package/dist/primitives/button.js +22 -3
  69. package/dist/primitives/chip.d.ts +1 -1
  70. package/dist/primitives/chip.js +63 -6
  71. package/dist/styles.css +26 -0
  72. package/dist/system/_scoped-pairing.js +18 -0
  73. package/dist/system/_stage-scope.js +199 -0
  74. package/dist/system/_style-check.js +1 -1
  75. package/dist/system/_style-chip.js +1 -1
  76. package/dist/system/_style-field-chassis.js +14 -1
  77. package/dist/system/_style-group-label.js +7 -3
  78. package/dist/system/_style-hero-title.js +41 -0
  79. package/dist/system/_style-kbd.js +1 -1
  80. package/dist/system/_style-label-ink.js +12 -5
  81. package/dist/system/_style-menu.js +1 -1
  82. package/dist/system/_style-page-title.js +1 -1
  83. package/dist/system/_style-segmented-control.js +1 -1
  84. package/dist/system/_style-skeleton.js +1 -1
  85. package/dist/system/_style-tab.js +1 -1
  86. package/dist/system/font-scope.d.ts +38 -0
  87. package/dist/system/font-scope.js +69 -0
  88. package/dist/system/frame-clock.d.ts +33 -0
  89. package/dist/system/frame-clock.js +55 -0
  90. package/dist/system/index.d.ts +4 -1
  91. package/dist/system/index.js +4 -1
  92. package/dist/system/portal.js +7 -1
  93. package/dist/system/still.d.ts +32 -0
  94. package/dist/system/still.js +60 -0
  95. package/manifest/components/alert-dialog.json +1 -1
  96. package/manifest/components/announcement-bar.json +82 -0
  97. package/manifest/components/app-bar.json +3 -2
  98. package/manifest/components/app-shell.json +3 -0
  99. package/manifest/components/autocomplete.json +2 -0
  100. package/manifest/components/band.json +2 -1
  101. package/manifest/components/bento.json +13 -13
  102. package/manifest/components/button.json +1 -0
  103. package/manifest/components/channel-matrix.json +1 -0
  104. package/manifest/components/chart-tooltip-content.json +1 -0
  105. package/manifest/components/checkbox-group.json +1 -1
  106. package/manifest/components/checkbox.json +1 -1
  107. package/manifest/components/chip.json +1 -0
  108. package/manifest/components/color-area.json +10 -0
  109. package/manifest/components/color-field.json +3 -0
  110. package/manifest/components/color-picker.json +3 -0
  111. package/manifest/components/combobox.json +2 -0
  112. package/manifest/components/command-palette.json +1 -0
  113. package/manifest/components/composer.json +3 -0
  114. package/manifest/components/context-menu.json +1 -1
  115. package/manifest/components/data-table-pagination.json +3 -0
  116. package/manifest/components/data-table-toolbar.json +3 -0
  117. package/manifest/components/date-field.json +3 -0
  118. package/manifest/components/date-picker.json +3 -0
  119. package/manifest/components/date-range-picker.json +3 -0
  120. package/manifest/components/delegation-card.json +6 -0
  121. package/manifest/components/density.json +6 -2
  122. package/manifest/components/dialog.json +1 -1
  123. package/manifest/components/dmx-bar.json +1 -1
  124. package/manifest/components/dmx-strip.json +1 -1
  125. package/manifest/components/drawer.json +1 -1
  126. package/manifest/components/dropdown-menu.json +1 -0
  127. package/manifest/components/env-var-input.json +3 -0
  128. package/manifest/components/file-upload.json +5 -0
  129. package/manifest/components/font-scope.json +82 -0
  130. package/manifest/components/footer.json +0 -1
  131. package/manifest/components/gloss-object.json +81 -0
  132. package/manifest/components/grid.json +6 -6
  133. package/manifest/components/halftone.json +79 -0
  134. package/manifest/components/hero.json +204 -0
  135. package/manifest/components/hover-card.json +1 -1
  136. package/manifest/components/input-group.json +3 -0
  137. package/manifest/components/input.json +3 -0
  138. package/manifest/components/kbd.json +1 -0
  139. package/manifest/components/keyword.json +67 -0
  140. package/manifest/components/ledger.json +5 -5
  141. package/manifest/components/logo-strip.json +93 -0
  142. package/manifest/components/markdown-text.json +3 -3
  143. package/manifest/components/menubar.json +1 -1
  144. package/manifest/components/message.json +8 -0
  145. package/manifest/components/motif.json +90 -0
  146. package/manifest/components/multi-select.json +2 -0
  147. package/manifest/components/musical-time-input.json +3 -0
  148. package/manifest/components/navigation-menu.json +1 -0
  149. package/manifest/components/number-field.json +3 -0
  150. package/manifest/components/otp-field.json +3 -0
  151. package/manifest/components/page-shell.json +5 -0
  152. package/manifest/components/particle-logo.json +140 -0
  153. package/manifest/components/particle-mark.json +75 -0
  154. package/manifest/components/password-input.json +3 -0
  155. package/manifest/components/popover.json +1 -1
  156. package/manifest/components/preview.json +10 -4
  157. package/manifest/components/radio-group.json +0 -1
  158. package/manifest/components/radio.json +0 -1
  159. package/manifest/components/reveal.json +106 -0
  160. package/manifest/components/ribbon.json +65 -0
  161. package/manifest/components/scrollable-tabs-list.json +1 -0
  162. package/manifest/components/scrub-input.json +3 -0
  163. package/manifest/components/search-input.json +3 -0
  164. package/manifest/components/segmented-control.json +1 -0
  165. package/manifest/components/select.json +3 -0
  166. package/manifest/components/sheet.json +1 -1
  167. package/manifest/components/sidebar.json +1 -0
  168. package/manifest/components/skeleton.json +1 -0
  169. package/manifest/components/spectrum-visualizer.json +10 -0
  170. package/manifest/components/stack.json +4 -4
  171. package/manifest/components/stat-band.json +68 -0
  172. package/manifest/components/stat.json +1 -1
  173. package/manifest/components/still-provider.json +60 -0
  174. package/manifest/components/switch.json +0 -1
  175. package/manifest/components/table.json +2 -2
  176. package/manifest/components/tabs.json +1 -0
  177. package/manifest/components/tags-input.json +2 -0
  178. package/manifest/components/text-scramble.json +90 -0
  179. package/manifest/components/textarea.json +3 -0
  180. package/manifest/components/theme-configurator.json +1 -0
  181. package/manifest/components/theme-provider.json +10 -4
  182. package/manifest/components/time-field.json +3 -0
  183. package/manifest/components/toast.json +1 -0
  184. package/manifest/components/tooltip.json +1 -1
  185. package/manifest/fixtures.json +18 -0
  186. package/manifest/manifest.json +368 -80
  187. package/manifest/tokens.json +93 -3
  188. package/package.json +6 -6
  189. package/dist/system/_paint-ground-pattern.js +0 -30
@@ -230,12 +230,14 @@
230
230
  "--cue-paint-stroke-to",
231
231
  "--cue-paint-stroke-width",
232
232
  "--cue-radius-control",
233
+ "--cue-radius-scale",
233
234
  "--cue-space-2",
234
235
  "--cue-space-3",
235
236
  "--cue-space-4",
236
237
  "--cue-space-5",
237
238
  "--cue-style-body-weight",
238
239
  "--cue-style-check-edge",
240
+ "--cue-style-control-radius",
239
241
  "--cue-style-control-step-size",
240
242
  "--cue-style-disabled-edge",
241
243
  "--cue-style-disabled-fill",
@@ -244,6 +246,7 @@
244
246
  "--cue-style-field-focus-offset",
245
247
  "--cue-style-field-hover-edge",
246
248
  "--cue-style-field-pad",
249
+ "--cue-style-field-radius",
247
250
  "--cue-style-focus-edge",
248
251
  "--cue-style-focus-width",
249
252
  "--cue-style-glyph-ink",
@@ -230,12 +230,14 @@
230
230
  "--cue-paint-stroke-to",
231
231
  "--cue-paint-stroke-width",
232
232
  "--cue-radius-control",
233
+ "--cue-radius-scale",
233
234
  "--cue-space-2",
234
235
  "--cue-space-3",
235
236
  "--cue-space-4",
236
237
  "--cue-space-5",
237
238
  "--cue-style-body-weight",
238
239
  "--cue-style-check-edge",
240
+ "--cue-style-control-radius",
239
241
  "--cue-style-control-step-size",
240
242
  "--cue-style-disabled-edge",
241
243
  "--cue-style-disabled-fill",
@@ -244,6 +246,7 @@
244
246
  "--cue-style-field-focus-offset",
245
247
  "--cue-style-field-hover-edge",
246
248
  "--cue-style-field-pad",
249
+ "--cue-style-field-radius",
247
250
  "--cue-style-focus-edge",
248
251
  "--cue-style-focus-width",
249
252
  "--cue-style-glyph-ink",
@@ -153,6 +153,7 @@
153
153
  "defaultVariants": {},
154
154
  "tokensUsed": [
155
155
  "--cue-border",
156
+ "--cue-border-strong",
156
157
  "--cue-danger",
157
158
  "--cue-fg-muted",
158
159
  "--cue-fg-subtle",
@@ -162,10 +163,15 @@
162
163
  "--cue-icon-sm",
163
164
  "--cue-ok",
164
165
  "--cue-radius-control",
166
+ "--cue-radius-scale",
165
167
  "--cue-space-2",
166
168
  "--cue-space-3",
167
169
  "--cue-space-4",
168
170
  "--cue-space-5",
171
+ "--cue-style-control-radius",
172
+ "--cue-style-field-hover-edge",
173
+ "--cue-style-field-pad",
174
+ "--cue-style-field-radius",
169
175
  "--cue-style-focus-width",
170
176
  "--cue-text-micro",
171
177
  "--cue-text-ui"
@@ -48,13 +48,14 @@
48
48
  },
49
49
  {
50
50
  "name": "styleSet",
51
- "type": "\"console\" | \"editorial\" | \"marketing\" | \"graphite\" | \"tender\" | \"zine\" | \"kiln\" | \"porcelain\"",
51
+ "type": "\"command\" | \"console\" | \"editorial\" | \"marketing\" | \"graphite\" | \"tender\" | \"zine\" | \"kiln\" | \"porcelain\" | \"ledger\" | \"monolith\" | \"prism\"",
52
52
  "required": false,
53
53
  "defaultValue": null,
54
54
  "description": "A style set for this subtree: `console`, `editorial`, `marketing` or\n`graphite`.\n\nOptional, and **absent means inherit** — an island that names none stamps no\n`data-style` and passes the ambient set straight through, exactly as a bare\n`<Density>` does today. Naming one is what makes this the library's island\nform of the fourth axis, and there are two reasons to reach for it:\n\n- `console` inside a page that is not console. That is the whole job of the\n default set: it restates the `:root` defaults, so a subtree stamped with\n it renders the ordinary look inside a page under any other set.\n- Moving the band rhythm with the rung. `--cue-band-y` is\n `calc(var(--cue-space-7) * 2)` declared on the `[data-style]` element, and\n a custom property's `var()` references are substituted where they are\n declared — so a nested density island moves `--cue-space-*` but inherits\n the rhythm already resolved above it. Restating the set here re-resolves\n it against this island's rung, which is how a denser island gets a\n proportionally tighter band instead of the outer one's.\n\nThe library restates the set for you where an island changes what a set's\nvalues read besides the rung — the theme's inks, the pairing's faces: a\nnested `ThemeProvider` that names a theme or a mode, and a `Preview` stage\nwith a theme, a mode or a pairing, stamp the set and the pack in force\nbeside it. This island changes only the rung, so it does not, and the\nrhythm above stays the opt-in the second bullet describes.",
55
55
  "control": {
56
56
  "kind": "enum",
57
57
  "members": [
58
+ "command",
58
59
  "console",
59
60
  "editorial",
60
61
  "marketing",
@@ -62,7 +63,10 @@
62
63
  "tender",
63
64
  "zine",
64
65
  "kiln",
65
- "porcelain"
66
+ "porcelain",
67
+ "ledger",
68
+ "monolith",
69
+ "prism"
66
70
  ]
67
71
  }
68
72
  },
@@ -166,7 +166,6 @@
166
166
  "--cue-control-sm",
167
167
  "--cue-fg",
168
168
  "--cue-fg-muted",
169
- "--cue-fg-subtle",
170
169
  "--cue-font-mono",
171
170
  "--cue-leading-ui",
172
171
  "--cue-paint-rim-width",
@@ -195,6 +194,7 @@
195
194
  "--cue-style-body-size",
196
195
  "--cue-style-body-weight",
197
196
  "--cue-style-control-face",
197
+ "--cue-style-control-radius",
198
198
  "--cue-style-dialog-pad",
199
199
  "--cue-style-dialog-radius",
200
200
  "--cue-style-display-variation",
@@ -64,7 +64,6 @@
64
64
  "--cue-data-ground",
65
65
  "--cue-fg",
66
66
  "--cue-fg-muted",
67
- "--cue-fg-subtle",
68
67
  "--cue-font-mono",
69
68
  "--cue-leading-ui",
70
69
  "--cue-paint-rim-width",
@@ -91,6 +90,7 @@
91
90
  "--cue-style-body-size",
92
91
  "--cue-style-body-weight",
93
92
  "--cue-style-control-face",
93
+ "--cue-style-control-radius",
94
94
  "--cue-style-display-variation",
95
95
  "--cue-style-group-label-ink",
96
96
  "--cue-style-group-label-pad",
@@ -74,7 +74,6 @@
74
74
  "--cue-data-ground",
75
75
  "--cue-fg",
76
76
  "--cue-fg-muted",
77
- "--cue-fg-subtle",
78
77
  "--cue-font-mono",
79
78
  "--cue-leading-ui",
80
79
  "--cue-paint-rim-width",
@@ -101,6 +100,7 @@
101
100
  "--cue-style-body-size",
102
101
  "--cue-style-body-weight",
103
102
  "--cue-style-control-face",
103
+ "--cue-style-control-radius",
104
104
  "--cue-style-display-variation",
105
105
  "--cue-style-group-label-ink",
106
106
  "--cue-style-group-label-pad",
@@ -160,7 +160,6 @@
160
160
  "--cue-control-sm",
161
161
  "--cue-fg",
162
162
  "--cue-fg-muted",
163
- "--cue-fg-subtle",
164
163
  "--cue-font-mono",
165
164
  "--cue-leading-ui",
166
165
  "--cue-paint-rim-width",
@@ -189,6 +188,7 @@
189
188
  "--cue-style-body-size",
190
189
  "--cue-style-body-weight",
191
190
  "--cue-style-control-face",
191
+ "--cue-style-control-radius",
192
192
  "--cue-style-dialog-radius",
193
193
  "--cue-style-display-variation",
194
194
  "--cue-style-group-label-ink",
@@ -248,6 +248,7 @@
248
248
  "--cue-style-body-size",
249
249
  "--cue-style-body-weight",
250
250
  "--cue-style-control-face",
251
+ "--cue-style-control-radius",
251
252
  "--cue-style-display-variation",
252
253
  "--cue-style-group-label-ink",
253
254
  "--cue-style-group-label-pad",
@@ -167,12 +167,14 @@
167
167
  "--cue-paint-stroke-to",
168
168
  "--cue-paint-stroke-width",
169
169
  "--cue-radius-control",
170
+ "--cue-radius-scale",
170
171
  "--cue-space-2",
171
172
  "--cue-space-3",
172
173
  "--cue-space-4",
173
174
  "--cue-space-5",
174
175
  "--cue-style-body-weight",
175
176
  "--cue-style-check-edge",
177
+ "--cue-style-control-radius",
176
178
  "--cue-style-control-step-size",
177
179
  "--cue-style-disabled-edge",
178
180
  "--cue-style-disabled-fill",
@@ -181,6 +183,7 @@
181
183
  "--cue-style-field-focus-offset",
182
184
  "--cue-style-field-hover-edge",
183
185
  "--cue-style-field-pad",
186
+ "--cue-style-field-radius",
184
187
  "--cue-style-focus-edge",
185
188
  "--cue-style-focus-width",
186
189
  "--cue-style-input-face",
@@ -167,11 +167,16 @@
167
167
  "--cue-icon-sm",
168
168
  "--cue-ok",
169
169
  "--cue-radius-control",
170
+ "--cue-radius-scale",
170
171
  "--cue-space-1",
171
172
  "--cue-space-2",
172
173
  "--cue-space-3",
173
174
  "--cue-space-4",
174
175
  "--cue-space-5",
176
+ "--cue-style-control-radius",
177
+ "--cue-style-field-hover-edge",
178
+ "--cue-style-field-pad",
179
+ "--cue-style-field-radius",
175
180
  "--cue-style-focus-width",
176
181
  "--cue-sunken",
177
182
  "--cue-surface-2",
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "FontScope",
3
+ "slug": "font-scope",
4
+ "group": "system",
5
+ "importPath": "@cueplusplus/ui",
6
+ "peerDependencies": [],
7
+ "clientOnly": true,
8
+ "description": "A subtree set in another type pairing — and everything it opens with it.\n\n`ThemeProvider`'s `font` is root-level only: the pairing has no island, and a\nnested provider forwards it to the root. `data-font` on a `<div>` is enough\nfor the subtree's own tokens, and nothing more: a dialog or menu opened inside\nit mounts on `<body>`, stamped from the root's pairing, and unclassed text\nkeeps the family `<body>` computed, because a computed family does not follow\na token. `FontScope` does all three: it stamps `data-font`, asks for the\nfamily again on its own element, and republishes the pairing so every portal\nopened inside it is stamped with it and asks for the family too. It is what\n`Preview` does for a stage that names a pairing, as a component of its own.\n\nIt never calls `setFont`, so the root's pairing — and the visitor's stored\none — never moves. A gallery frame that draws a page in a Look of its own is\nthe case it exists for (structural Looks, spec 2026-10-02 §6.2).\n\nThe set and pack in force around it are restated beside `data-font`, once it\nmay restate, because their names read the pairing and a custom property's\n`var()`s are substituted where it is declared.",
9
+ "props": [
10
+ {
11
+ "name": "font",
12
+ "type": "\"source\" | \"system\" | \"geist\" | \"geist-mono\" | \"inter\" | \"plex\" | \"roboto\" | \"apple\" | \"office\" | \"inter-source\" | \"dm\" | \"calsans\" | \"fraunces-mono\" | \"jetbrains-mono\"",
13
+ "required": true,
14
+ "defaultValue": null,
15
+ "description": "The pairing this subtree is set in.",
16
+ "control": {
17
+ "kind": "enum",
18
+ "members": [
19
+ "source",
20
+ "system",
21
+ "geist",
22
+ "geist-mono",
23
+ "inter",
24
+ "plex",
25
+ "roboto",
26
+ "apple",
27
+ "office",
28
+ "inter-source",
29
+ "dm",
30
+ "calsans",
31
+ "fraunces-mono",
32
+ "jetbrains-mono"
33
+ ]
34
+ }
35
+ },
36
+ {
37
+ "name": "children",
38
+ "type": "ReactNode",
39
+ "required": true,
40
+ "defaultValue": null,
41
+ "description": "What is set in it. Every overlay opened inside it is set in it too.",
42
+ "control": {
43
+ "kind": "node",
44
+ "fixture": "children.text"
45
+ }
46
+ }
47
+ ],
48
+ "typeReferences": [
49
+ "Omit<React.ComponentPropsWithoutRef<\"div\">, \"children\">"
50
+ ],
51
+ "subcomponents": [],
52
+ "parts": [],
53
+ "variants": {},
54
+ "defaultVariants": {},
55
+ "tokensUsed": [
56
+ "--cue-font-sans"
57
+ ],
58
+ "summary": "A subtree set in another type pairing, and every dialog or menu it opens with it, without moving the root's.",
59
+ "examples": [
60
+ {
61
+ "title": "Usage",
62
+ "code": "<FontScope font=\"inter-source\">\n <Dialog.Root>…</Dialog.Root>\n</FontScope>",
63
+ "language": "tsx"
64
+ }
65
+ ],
66
+ "status": "stable",
67
+ "url": "/docs/components/font-scope",
68
+ "mdUrl": "/docs/components/font-scope.md",
69
+ "jsonUrl": "/r/components/font-scope.json",
70
+ "whenToUse": [
71
+ "A frame or specimen that draws a page in a Look of its own, where the pairing has to reach its overlays too.",
72
+ "A picker row or a comparison that shows one pairing beside the page's."
73
+ ],
74
+ "whenNotToUse": [
75
+ "Changing the page's own pairing. That is `ThemeProvider`'s `font`, at the root, or its `setFont`.",
76
+ "A heading in another face. A class on the element is enough; a scope re-sets everything under it."
77
+ ],
78
+ "commonMistakes": [
79
+ "Stamping `data-font` on a `<div>` and expecting a dialog opened inside it to follow. The dialog mounts on `<body>`; only the scope carries the pairing to it.",
80
+ "Passing `font` to a nested `ThemeProvider`. The pairing is root-level there, and a nested provider forwards it to the root."
81
+ ]
82
+ }
@@ -69,7 +69,6 @@
69
69
  "--cue-band-y",
70
70
  "--cue-border",
71
71
  "--cue-fg-muted",
72
- "--cue-fg-subtle",
73
72
  "--cue-font-mono",
74
73
  "--cue-space-3",
75
74
  "--cue-space-5",
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "GlossObject",
3
+ "slug": "gloss-object",
4
+ "group": "brand",
5
+ "importPath": "@cueplusplus/ui",
6
+ "peerDependencies": [],
7
+ "clientOnly": false,
8
+ "description": "A glossy, iridescent object for a marketing hero — the chrome-ring and gloss\nlettermark look (spec 2026-10-02 §3.4). Drawn with layered radial and linear\ngradients of the theme's accent against the foreground's mix, plus a specular\nhighlight in the accent's own ink (`--cue-accent-fg`), so it is the Look's own colour and never a copied render.\nDecorative: hidden from assistive technology.\n\nStatic markup — no `\"use client\"`.",
9
+ "props": [
10
+ {
11
+ "name": "shape",
12
+ "type": "\"mark\" | \"torus\" | \"knot\"",
13
+ "required": false,
14
+ "defaultValue": "torus",
15
+ "description": "The object: a ring, a knot of two rings, or a rounded mark. Defaults to `\"torus\"`.",
16
+ "control": {
17
+ "kind": "enum",
18
+ "members": [
19
+ "mark",
20
+ "torus",
21
+ "knot"
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "name": "seed",
27
+ "type": "number",
28
+ "required": false,
29
+ "defaultValue": "1",
30
+ "description": "Tilts the highlight. Defaults to `1`.",
31
+ "control": {
32
+ "kind": "number"
33
+ }
34
+ }
35
+ ],
36
+ "typeReferences": [
37
+ "React.SVGProps<SVGSVGElement>"
38
+ ],
39
+ "subcomponents": [],
40
+ "parts": [],
41
+ "variants": {},
42
+ "defaultVariants": {},
43
+ "tokensUsed": [
44
+ "--cue-accent",
45
+ "--cue-accent-fg",
46
+ "--cue-fg"
47
+ ],
48
+ "summary": "A glossy, iridescent object — a ring, two rings or a rounded mark — in the theme's accent.",
49
+ "examples": [
50
+ {
51
+ "title": "Usage",
52
+ "code": "<GlossObject shape=\"knot\" className=\"h-48 w-48\" />",
53
+ "language": "tsx"
54
+ }
55
+ ],
56
+ "status": "stable",
57
+ "url": "/docs/components/gloss-object",
58
+ "mdUrl": "/docs/components/gloss-object.md",
59
+ "jsonUrl": "/r/components/gloss-object.json",
60
+ "whenToUse": [
61
+ "A marketing hero's centrepiece, or art between sections."
62
+ ],
63
+ "whenNotToUse": [
64
+ "Icons or small UI marks. It is a hero-scale decoration."
65
+ ],
66
+ "commonMistakes": [
67
+ "Expecting a 3D render. It is layered gradients, drawn in the Look's own colour."
68
+ ],
69
+ "specimens": [
70
+ {
71
+ "title": "GlossObject",
72
+ "group": "brand",
73
+ "components": [
74
+ "GlossObject"
75
+ ],
76
+ "code": "<Specimens>\n {([\"torus\", \"knot\", \"mark\"] as const).map((shape) => (\n <Specimen key={shape} label={shape}>\n <GlossObject shape={shape} className=\"size-40\" />\n </Specimen>\n ))}\n</Specimens>",
77
+ "note": "A glossy object of layered gradients over an authored outline, lit in the accent.",
78
+ "interaction": "none."
79
+ }
80
+ ]
81
+ }
@@ -9,17 +9,17 @@
9
9
  "props": [
10
10
  {
11
11
  "name": "cols",
12
- "type": "4 | 1 | 2 | 3 | 5 | 6",
12
+ "type": "1 | 2 | 4 | 3 | 5 | 6",
13
13
  "required": false,
14
14
  "defaultValue": "1",
15
15
  "description": "How many equal columns. Defaults to `1`. Ignored when `minItemWidth` is set.",
16
16
  "control": {
17
17
  "kind": "enum",
18
18
  "members": [
19
- 4,
20
19
  1,
21
20
  2,
22
21
  3,
22
+ 4,
23
23
  5,
24
24
  6
25
25
  ],
@@ -29,7 +29,7 @@
29
29
  },
30
30
  {
31
31
  "name": "gap",
32
- "type": "0 | 4 | 8 | 1 | 2 | 3 | 5 | 6 | 7",
32
+ "type": "0 | 1 | 2 | 4 | 8 | 3 | 5 | 6 | 7",
33
33
  "required": false,
34
34
  "defaultValue": "4",
35
35
  "description": "Which rung of the density space ladder to spend between cells. Defaults to `4`.",
@@ -37,14 +37,14 @@
37
37
  "kind": "enum",
38
38
  "members": [
39
39
  0,
40
- 4,
41
- 8,
42
40
  1,
43
41
  2,
44
42
  3,
43
+ 4,
45
44
  5,
46
45
  6,
47
- 7
46
+ 7,
47
+ 8
48
48
  ],
49
49
  "min": 0,
50
50
  "max": 8
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "Halftone",
3
+ "slug": "halftone",
4
+ "group": "brand",
5
+ "importPath": "@cueplusplus/ui",
6
+ "peerDependencies": [],
7
+ "clientOnly": false,
8
+ "description": "A halftone dot screen over a generated form — the engraved, printed look of a\ndeveloper-tool landing page (spec 2026-10-02 §3.4). Every dot's size is the\nform's density at that cell, so the picture is drawn by the screen itself\nrather than filtered from an image, and nothing is fetched. Dots are the\nforeground ink. Decorative: hidden from assistive technology.\n\nStatic markup — no `\"use client\"`.",
9
+ "props": [
10
+ {
11
+ "name": "shape",
12
+ "type": "\"wave\" | \"orb\" | \"ridge\"",
13
+ "required": false,
14
+ "defaultValue": "ridge",
15
+ "description": "The generated form the dots describe. Defaults to `\"ridge\"`.",
16
+ "control": {
17
+ "kind": "enum",
18
+ "members": [
19
+ "wave",
20
+ "orb",
21
+ "ridge"
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "name": "seed",
27
+ "type": "number",
28
+ "required": false,
29
+ "defaultValue": "1",
30
+ "description": "Which variant of the form. Defaults to `1`.",
31
+ "control": {
32
+ "kind": "number"
33
+ }
34
+ }
35
+ ],
36
+ "typeReferences": [
37
+ "React.SVGProps<SVGSVGElement>"
38
+ ],
39
+ "subcomponents": [],
40
+ "parts": [],
41
+ "variants": {},
42
+ "defaultVariants": {},
43
+ "tokensUsed": [
44
+ "--cue-fg"
45
+ ],
46
+ "summary": "A halftone dot screen over a generated form: the engraved, printed developer-tool motif.",
47
+ "examples": [
48
+ {
49
+ "title": "Usage",
50
+ "code": "<Halftone shape=\"orb\" className=\"h-72 w-72\" />",
51
+ "language": "tsx"
52
+ }
53
+ ],
54
+ "status": "stable",
55
+ "url": "/docs/components/halftone",
56
+ "mdUrl": "/docs/components/halftone.md",
57
+ "jsonUrl": "/r/components/halftone.json",
58
+ "whenToUse": [
59
+ "Hero art on a developer-tool or documentation landing page."
60
+ ],
61
+ "whenNotToUse": [
62
+ "Turning a photograph into halftone. It draws only its generated forms and fetches nothing."
63
+ ],
64
+ "commonMistakes": [
65
+ "Using it at a few pixels. The dot screen needs room; below ~120px the form is lost."
66
+ ],
67
+ "specimens": [
68
+ {
69
+ "title": "Halftone",
70
+ "group": "brand",
71
+ "components": [
72
+ "Halftone"
73
+ ],
74
+ "code": "<Specimens>\n {([\"ridge\", \"wave\", \"orb\"] as const).map((shape) => (\n <Specimen key={shape} label={shape}>\n <Halftone shape={shape} className=\"size-40\" />\n </Specimen>\n ))}\n</Specimens>",
75
+ "note": "A dot screen over a generated form, drawn by the screen itself rather than filtered from an image. Nothing is fetched.",
76
+ "interaction": "none."
77
+ }
78
+ ]
79
+ }