@cueplusplus/ui 0.14.1 → 0.16.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 (182) hide show
  1. package/CHANGELOG.md +415 -0
  2. package/README.md +26 -0
  3. package/dist/agent-runtime/tool-call-card.js +1 -1
  4. package/dist/chat/message-list.js +2 -1
  5. package/dist/chat/message.js +1 -1
  6. package/dist/chrome/_tabs-scroll.d.ts +17 -1
  7. package/dist/chrome/_tabs-scroll.js +20 -3
  8. package/dist/chrome/app-bar.js +2 -1
  9. package/dist/chrome/band.js +13 -5
  10. package/dist/chrome/eyebrow.js +1 -1
  11. package/dist/chrome/footer.js +1 -1
  12. package/dist/chrome/panel.js +2 -1
  13. package/dist/chrome/section-header.js +1 -1
  14. package/dist/color/color-field.d.ts +2 -1
  15. package/dist/color/color-picker.d.ts +2 -1
  16. package/dist/configurator/configurator.js +1 -1
  17. package/dist/configurator/export-dialog.js +1 -1
  18. package/dist/configurator/panel-sections.js +1 -1
  19. package/dist/configurator/token-editor.js +1 -1
  20. package/dist/date/calendar.js +2 -2
  21. package/dist/date/date-field.d.ts +2 -1
  22. package/dist/date/date-picker.d.ts +2 -1
  23. package/dist/date/date-range-picker.d.ts +2 -1
  24. package/dist/date/time-field.d.ts +2 -1
  25. package/dist/elements/context-usage.js +3 -3
  26. package/dist/elements/transcript-rules.js +1 -1
  27. package/dist/forms/_chassis-size.d.ts +22 -0
  28. package/dist/forms/_chassis.d.ts +3 -10
  29. package/dist/forms/_chassis.js +2 -1
  30. package/dist/forms/autocomplete.d.ts +2 -1
  31. package/dist/forms/combobox.d.ts +2 -1
  32. package/dist/forms/env-var-input.d.ts +2 -1
  33. package/dist/forms/field.js +1 -1
  34. package/dist/forms/index.d.ts +2 -1
  35. package/dist/forms/input-group.d.ts +2 -1
  36. package/dist/forms/input.d.ts +2 -1
  37. package/dist/forms/multi-select.d.ts +2 -1
  38. package/dist/forms/otp-field.d.ts +2 -1
  39. package/dist/forms/password-input.d.ts +2 -1
  40. package/dist/forms/scrub-input.d.ts +2 -1
  41. package/dist/forms/search-input.d.ts +2 -1
  42. package/dist/forms/select.d.ts +2 -1
  43. package/dist/forms/select.js +2 -1
  44. package/dist/forms/slider.js +1 -1
  45. package/dist/forms/tags-input.d.ts +2 -1
  46. package/dist/forms/toggle-group.d.ts +1 -1
  47. package/dist/forms/toggle.d.ts +1 -1
  48. package/dist/index.d.ts +2 -1
  49. package/dist/instruments/code-block.js +1 -1
  50. package/dist/instruments/ledger.js +1 -1
  51. package/dist/instruments/log-viewer.js +2 -1
  52. package/dist/instruments/progress.js +1 -1
  53. package/dist/instruments/stat.js +1 -1
  54. package/dist/instruments/table.js +2 -2
  55. package/dist/instruments/terminal-frame.js +1 -1
  56. package/dist/layout/_ground.js +1 -1
  57. package/dist/layout/card.js +3 -1
  58. package/dist/layout/collapsible.js +1 -1
  59. package/dist/layout/description-list.js +1 -1
  60. package/dist/layout/preview.d.ts +13 -1
  61. package/dist/layout/preview.js +16 -9
  62. package/dist/layout/sidebar.js +1 -1
  63. package/dist/layout/stepper.js +1 -1
  64. package/dist/midi/musical-time-input.d.ts +2 -1
  65. package/dist/overlays/_surface.d.ts +2 -2
  66. package/dist/overlays/_surface.js +4 -2
  67. package/dist/overlays/command-palette.js +1 -1
  68. package/dist/overlays/toast.js +1 -1
  69. package/dist/primitives/button.js +2 -1
  70. package/dist/primitives/chip.d.ts +1 -1
  71. package/dist/primitives/chip.js +2 -2
  72. package/dist/system/_paint-elevation.js +9 -0
  73. package/dist/system/_paint-glass.js +46 -0
  74. package/dist/system/_paint-glow.js +32 -0
  75. package/dist/system/_paint-ground-pattern.js +30 -0
  76. package/dist/system/_paint-rim.js +41 -0
  77. package/dist/system/_paint-stroke-sunken.js +19 -0
  78. package/dist/system/_paint-stroke-surface-1.js +19 -0
  79. package/dist/system/_paint-stroke-surface-2.js +27 -0
  80. package/dist/system/_paint-texture.js +53 -0
  81. package/dist/system/density.d.ts +11 -2
  82. package/dist/system/density.js +29 -9
  83. package/dist/system/portal.js +8 -2
  84. package/dist/system/prepaint.d.ts +18 -1
  85. package/dist/system/prepaint.js +8 -2
  86. package/dist/system/theme-provider.d.ts +64 -38
  87. package/dist/system/theme-provider.js +70 -23
  88. package/dist/system/vocabulary.d.ts +1 -1
  89. package/dist/system/vocabulary.js +14 -2
  90. package/manifest/components/alert-dialog.json +13 -1
  91. package/manifest/components/app-bar.json +4 -0
  92. package/manifest/components/autocomplete.json +13 -1
  93. package/manifest/components/band.json +9 -2
  94. package/manifest/components/button.json +4 -0
  95. package/manifest/components/calendar.json +3 -1
  96. package/manifest/components/card.json +6 -0
  97. package/manifest/components/channel-matrix.json +13 -1
  98. package/manifest/components/chart-tooltip-content.json +13 -1
  99. package/manifest/components/chip.json +1 -0
  100. package/manifest/components/code-block.json +2 -1
  101. package/manifest/components/collapsible.json +2 -1
  102. package/manifest/components/color-field.json +4 -0
  103. package/manifest/components/color-picker.json +4 -0
  104. package/manifest/components/colors-section.json +2 -1
  105. package/manifest/components/combobox.json +13 -1
  106. package/manifest/components/command-palette.json +13 -1
  107. package/manifest/components/composer.json +4 -0
  108. package/manifest/components/context-menu.json +13 -1
  109. package/manifest/components/context-usage.json +1 -0
  110. package/manifest/components/date-field.json +4 -0
  111. package/manifest/components/date-picker.json +4 -0
  112. package/manifest/components/date-range-picker.json +4 -0
  113. package/manifest/components/density.json +19 -0
  114. package/manifest/components/description-list.json +2 -1
  115. package/manifest/components/dialog.json +13 -1
  116. package/manifest/components/disclosure.json +2 -1
  117. package/manifest/components/dmx-bar.json +13 -1
  118. package/manifest/components/dmx-strip.json +13 -1
  119. package/manifest/components/drawer.json +13 -1
  120. package/manifest/components/dropdown-menu.json +13 -1
  121. package/manifest/components/env-var-input.json +4 -0
  122. package/manifest/components/export-dialog.json +2 -1
  123. package/manifest/components/eyebrow.json +2 -1
  124. package/manifest/components/field-description.json +2 -1
  125. package/manifest/components/field-error.json +2 -1
  126. package/manifest/components/field-label.json +2 -1
  127. package/manifest/components/field.json +2 -1
  128. package/manifest/components/footer.json +1 -0
  129. package/manifest/components/frames.json +2 -1
  130. package/manifest/components/hover-card.json +13 -1
  131. package/manifest/components/input-group.json +4 -0
  132. package/manifest/components/input.json +4 -0
  133. package/manifest/components/ledger.json +2 -1
  134. package/manifest/components/log-viewer.json +7 -0
  135. package/manifest/components/menubar.json +13 -1
  136. package/manifest/components/message-list.json +7 -0
  137. package/manifest/components/message.json +2 -1
  138. package/manifest/components/multi-select.json +13 -1
  139. package/manifest/components/musical-time-input.json +4 -0
  140. package/manifest/components/navigation-menu.json +13 -1
  141. package/manifest/components/number-field.json +4 -0
  142. package/manifest/components/otp-field.json +4 -0
  143. package/manifest/components/panel-header.json +2 -0
  144. package/manifest/components/panel.json +2 -0
  145. package/manifest/components/password-input.json +4 -0
  146. package/manifest/components/popover.json +13 -1
  147. package/manifest/components/preset-section.json +2 -1
  148. package/manifest/components/preview.json +21 -1
  149. package/manifest/components/progress.json +2 -1
  150. package/manifest/components/scrollable-tabs-list.json +1 -0
  151. package/manifest/components/scrub-input.json +4 -0
  152. package/manifest/components/search-input.json +4 -0
  153. package/manifest/components/section-header.json +2 -1
  154. package/manifest/components/segmented-control.json +1 -0
  155. package/manifest/components/select.json +11 -0
  156. package/manifest/components/shape-section.json +2 -1
  157. package/manifest/components/sheet.json +13 -1
  158. package/manifest/components/sidebar.json +2 -1
  159. package/manifest/components/slider.json +2 -1
  160. package/manifest/components/stat.json +1 -0
  161. package/manifest/components/stepper.json +2 -1
  162. package/manifest/components/table-scroll-region.json +2 -1
  163. package/manifest/components/table.json +2 -1
  164. package/manifest/components/tabs.json +1 -0
  165. package/manifest/components/tags-input.json +13 -1
  166. package/manifest/components/terminal-frame.json +1 -0
  167. package/manifest/components/textarea.json +4 -0
  168. package/manifest/components/theme-configurator.json +13 -1
  169. package/manifest/components/theme-provider.json +20 -1
  170. package/manifest/components/time-boundary.json +2 -1
  171. package/manifest/components/time-field.json +4 -0
  172. package/manifest/components/toast.json +13 -0
  173. package/manifest/components/toggle-group.json +1 -19
  174. package/manifest/components/toggle.json +0 -6
  175. package/manifest/components/token-editor.json +2 -1
  176. package/manifest/components/tool-call-card.json +2 -1
  177. package/manifest/components/toolbar.json +1 -0
  178. package/manifest/components/tooltip.json +13 -1
  179. package/manifest/components/unread-divider.json +2 -1
  180. package/manifest/manifest.json +94 -94
  181. package/manifest/tokens.json +48 -2
  182. package/package.json +6 -6
@@ -71,6 +71,10 @@
71
71
  "--cue-fg-subtle",
72
72
  "--cue-focus",
73
73
  "--cue-font-mono",
74
+ "--cue-paint-stroke-angle",
75
+ "--cue-paint-stroke-from",
76
+ "--cue-paint-stroke-to",
77
+ "--cue-paint-stroke-width",
74
78
  "--cue-radius-control",
75
79
  "--cue-space-3",
76
80
  "--cue-space-4",
@@ -259,7 +259,8 @@
259
259
  "--cue-space-2",
260
260
  "--cue-space-3",
261
261
  "--cue-text-label",
262
- "--cue-text-ui"
262
+ "--cue-text-ui",
263
+ "--cue-tracking-caps"
263
264
  ],
264
265
  "summary": "Grouped dense rows under sticky tier headings and gutter slugs, with an opt-in disclosure that folds a heading without leaving the outline.",
265
266
  "examples": [
@@ -133,6 +133,13 @@
133
133
  "--cue-info",
134
134
  "--cue-ok",
135
135
  "--cue-pad-row-x",
136
+ "--cue-paint-rim-width",
137
+ "--cue-paint-shade-far",
138
+ "--cue-paint-shade-hairline",
139
+ "--cue-paint-shade-near",
140
+ "--cue-paint-shadow-scale",
141
+ "--cue-paint-shadow-spread",
142
+ "--cue-paint-sheen-ink",
136
143
  "--cue-radius-control",
137
144
  "--cue-radius-surface",
138
145
  "--cue-space-2",
@@ -144,6 +144,17 @@
144
144
  "--cue-fg-subtle",
145
145
  "--cue-font-mono",
146
146
  "--cue-leading-ui",
147
+ "--cue-paint-rim-width",
148
+ "--cue-paint-shade-far",
149
+ "--cue-paint-shade-hairline",
150
+ "--cue-paint-shade-near",
151
+ "--cue-paint-shadow-scale",
152
+ "--cue-paint-shadow-spread",
153
+ "--cue-paint-sheen-ink",
154
+ "--cue-paint-stroke-angle",
155
+ "--cue-paint-stroke-from",
156
+ "--cue-paint-stroke-to",
157
+ "--cue-paint-stroke-width",
147
158
  "--cue-radius-control",
148
159
  "--cue-radius-overlay",
149
160
  "--cue-scrim",
@@ -154,7 +165,8 @@
154
165
  "--cue-surface-2",
155
166
  "--cue-text-emphasis",
156
167
  "--cue-text-label",
157
- "--cue-text-ui"
168
+ "--cue-text-ui",
169
+ "--cue-tracking-caps"
158
170
  ],
159
171
  "summary": "The desktop-application menu bar: a row of words, each dropping a menu.",
160
172
  "examples": [
@@ -85,6 +85,13 @@
85
85
  "--cue-fg-subtle",
86
86
  "--cue-font-mono",
87
87
  "--cue-icon-sm",
88
+ "--cue-paint-rim-width",
89
+ "--cue-paint-shade-far",
90
+ "--cue-paint-shade-hairline",
91
+ "--cue-paint-shade-near",
92
+ "--cue-paint-shadow-scale",
93
+ "--cue-paint-shadow-spread",
94
+ "--cue-paint-sheen-ink",
88
95
  "--cue-radius-control",
89
96
  "--cue-space-2",
90
97
  "--cue-space-4",
@@ -119,7 +119,8 @@
119
119
  "--cue-space-4",
120
120
  "--cue-surface-1",
121
121
  "--cue-text-body",
122
- "--cue-text-micro"
122
+ "--cue-text-micro",
123
+ "--cue-tracking-caps"
123
124
  ],
124
125
  "summary": "One turn in a conversation.",
125
126
  "examples": [
@@ -212,6 +212,17 @@
212
212
  "--cue-font-mono",
213
213
  "--cue-icon-sm",
214
214
  "--cue-leading-ui",
215
+ "--cue-paint-rim-width",
216
+ "--cue-paint-shade-far",
217
+ "--cue-paint-shade-hairline",
218
+ "--cue-paint-shade-near",
219
+ "--cue-paint-shadow-scale",
220
+ "--cue-paint-shadow-spread",
221
+ "--cue-paint-sheen-ink",
222
+ "--cue-paint-stroke-angle",
223
+ "--cue-paint-stroke-from",
224
+ "--cue-paint-stroke-to",
225
+ "--cue-paint-stroke-width",
215
226
  "--cue-radius-control",
216
227
  "--cue-radius-overlay",
217
228
  "--cue-scrim",
@@ -225,7 +236,8 @@
225
236
  "--cue-text-body",
226
237
  "--cue-text-emphasis",
227
238
  "--cue-text-label",
228
- "--cue-text-ui"
239
+ "--cue-text-ui",
240
+ "--cue-tracking-caps"
229
241
  ],
230
242
  "summary": "Several values out of a known set, each shown as a removable chip inside the field.",
231
243
  "examples": [
@@ -102,6 +102,10 @@
102
102
  "--cue-fg-subtle",
103
103
  "--cue-focus",
104
104
  "--cue-font-mono",
105
+ "--cue-paint-stroke-angle",
106
+ "--cue-paint-stroke-from",
107
+ "--cue-paint-stroke-to",
108
+ "--cue-paint-stroke-width",
105
109
  "--cue-radius-control",
106
110
  "--cue-space-2",
107
111
  "--cue-space-3",
@@ -229,6 +229,17 @@
229
229
  "--cue-font-mono",
230
230
  "--cue-icon-sm",
231
231
  "--cue-leading-ui",
232
+ "--cue-paint-rim-width",
233
+ "--cue-paint-shade-far",
234
+ "--cue-paint-shade-hairline",
235
+ "--cue-paint-shade-near",
236
+ "--cue-paint-shadow-scale",
237
+ "--cue-paint-shadow-spread",
238
+ "--cue-paint-sheen-ink",
239
+ "--cue-paint-stroke-angle",
240
+ "--cue-paint-stroke-from",
241
+ "--cue-paint-stroke-to",
242
+ "--cue-paint-stroke-width",
232
243
  "--cue-radius-control",
233
244
  "--cue-radius-overlay",
234
245
  "--cue-scrim",
@@ -239,7 +250,8 @@
239
250
  "--cue-surface-3",
240
251
  "--cue-text-emphasis",
241
252
  "--cue-text-label",
242
- "--cue-text-ui"
253
+ "--cue-text-ui",
254
+ "--cue-tracking-caps"
243
255
  ],
244
256
  "summary": "The marketing-shaped navigation header: a strip of words, each opening a panel of destinations.",
245
257
  "examples": [
@@ -92,6 +92,10 @@
92
92
  "--cue-fg-subtle",
93
93
  "--cue-focus",
94
94
  "--cue-font-mono",
95
+ "--cue-paint-stroke-angle",
96
+ "--cue-paint-stroke-from",
97
+ "--cue-paint-stroke-to",
98
+ "--cue-paint-stroke-width",
95
99
  "--cue-radius-control",
96
100
  "--cue-space-2",
97
101
  "--cue-space-3",
@@ -123,6 +123,10 @@
123
123
  "--cue-fg-subtle",
124
124
  "--cue-focus",
125
125
  "--cue-font-mono",
126
+ "--cue-paint-stroke-angle",
127
+ "--cue-paint-stroke-from",
128
+ "--cue-paint-stroke-to",
129
+ "--cue-paint-stroke-width",
126
130
  "--cue-radius-control",
127
131
  "--cue-space-1",
128
132
  "--cue-space-2",
@@ -54,6 +54,8 @@
54
54
  "--cue-font-mono",
55
55
  "--cue-pad-row-x",
56
56
  "--cue-pad-row-y",
57
+ "--cue-paint-rim-ink",
58
+ "--cue-paint-rim-width",
57
59
  "--cue-radius-surface",
58
60
  "--cue-space-2",
59
61
  "--cue-space-3",
@@ -20,6 +20,8 @@
20
20
  "--cue-font-mono",
21
21
  "--cue-pad-row-x",
22
22
  "--cue-pad-row-y",
23
+ "--cue-paint-rim-ink",
24
+ "--cue-paint-rim-width",
23
25
  "--cue-radius-surface",
24
26
  "--cue-space-2",
25
27
  "--cue-space-3",
@@ -134,6 +134,10 @@
134
134
  "--cue-focus",
135
135
  "--cue-font-mono",
136
136
  "--cue-icon-md",
137
+ "--cue-paint-stroke-angle",
138
+ "--cue-paint-stroke-from",
139
+ "--cue-paint-stroke-to",
140
+ "--cue-paint-stroke-width",
137
141
  "--cue-radius-control",
138
142
  "--cue-space-3",
139
143
  "--cue-space-4",
@@ -179,6 +179,17 @@
179
179
  "--cue-fg-subtle",
180
180
  "--cue-font-mono",
181
181
  "--cue-leading-ui",
182
+ "--cue-paint-rim-width",
183
+ "--cue-paint-shade-far",
184
+ "--cue-paint-shade-hairline",
185
+ "--cue-paint-shade-near",
186
+ "--cue-paint-shadow-scale",
187
+ "--cue-paint-shadow-spread",
188
+ "--cue-paint-sheen-ink",
189
+ "--cue-paint-stroke-angle",
190
+ "--cue-paint-stroke-from",
191
+ "--cue-paint-stroke-to",
192
+ "--cue-paint-stroke-width",
182
193
  "--cue-radius-control",
183
194
  "--cue-radius-overlay",
184
195
  "--cue-scrim",
@@ -189,7 +200,8 @@
189
200
  "--cue-surface-2",
190
201
  "--cue-text-emphasis",
191
202
  "--cue-text-label",
192
- "--cue-text-ui"
203
+ "--cue-text-ui",
204
+ "--cue-tracking-caps"
193
205
  ],
194
206
  "summary": "A panel anchored to the control that opened it.",
195
207
  "examples": [
@@ -62,7 +62,8 @@
62
62
  "--cue-space-4",
63
63
  "--cue-text-label",
64
64
  "--cue-text-micro",
65
- "--cue-text-ui"
65
+ "--cue-text-ui",
66
+ "--cue-tracking-caps"
66
67
  ],
67
68
  "summary": "Section 1 of the configurator — the four choices that are not token edits at all.",
68
69
  "examples": [
@@ -105,6 +105,25 @@
105
105
  ]
106
106
  }
107
107
  },
108
+ {
109
+ "name": "paint",
110
+ "type": "\"none\" | \"bevel\" | \"halo\" | \"hatch\" | \"lift\" | \"frost\" | \"grain\"",
111
+ "required": false,
112
+ "defaultValue": null,
113
+ "description": "A look pack for the stage: the finish its surfaces wear.\n\nStamped as `data-paint` on the stage element, and republished to React for\nthe same reason `styleSet` is — a popover opened on the stage mounts on\n`<body>` and inherits nothing from the stage's DOM, so it has to be told.\n\nAbsent means inherit. `none` is a value that opts OUT of an ambient pack,\nwhich is what a stage uses to show a component unpainted inside a page that\nis not.",
114
+ "control": {
115
+ "kind": "enum",
116
+ "members": [
117
+ "none",
118
+ "bevel",
119
+ "halo",
120
+ "hatch",
121
+ "lift",
122
+ "frost",
123
+ "grain"
124
+ ]
125
+ }
126
+ },
108
127
  {
109
128
  "name": "resizable",
110
129
  "type": "boolean | PreviewResizeOptions",
@@ -214,7 +233,8 @@
214
233
  "--cue-fg-muted",
215
234
  "--cue-fg-subtle",
216
235
  "--cue-font-mono",
217
- "--cue-hair-strong",
236
+ "--cue-paint-screen",
237
+ "--cue-paint-screen-size",
218
238
  "--cue-radius-control",
219
239
  "--cue-radius-surface",
220
240
  "--cue-space-2",
@@ -84,7 +84,8 @@
84
84
  "--cue-space-2",
85
85
  "--cue-space-3",
86
86
  "--cue-surface-3",
87
- "--cue-text-label"
87
+ "--cue-text-label",
88
+ "--cue-tracking-caps"
88
89
  ],
89
90
  "summary": "Determinate work, drawn as a filling rule.",
90
91
  "examples": [
@@ -54,6 +54,7 @@
54
54
  "--cue-fg-muted",
55
55
  "--cue-font-mono",
56
56
  "--cue-icon-sm",
57
+ "--cue-paint-fade-length",
57
58
  "--cue-radius-control",
58
59
  "--cue-space-1",
59
60
  "--cue-space-2",
@@ -219,6 +219,10 @@
219
219
  "--cue-fg-subtle",
220
220
  "--cue-focus",
221
221
  "--cue-font-mono",
222
+ "--cue-paint-stroke-angle",
223
+ "--cue-paint-stroke-from",
224
+ "--cue-paint-stroke-to",
225
+ "--cue-paint-stroke-width",
222
226
  "--cue-radius-control",
223
227
  "--cue-space-2",
224
228
  "--cue-space-3",
@@ -158,6 +158,10 @@
158
158
  "--cue-font-mono",
159
159
  "--cue-icon-md",
160
160
  "--cue-icon-sm",
161
+ "--cue-paint-stroke-angle",
162
+ "--cue-paint-stroke-from",
163
+ "--cue-paint-stroke-to",
164
+ "--cue-paint-stroke-width",
161
165
  "--cue-radius-control",
162
166
  "--cue-space-3",
163
167
  "--cue-space-4",
@@ -110,7 +110,8 @@
110
110
  "--cue-space-2",
111
111
  "--cue-space-3",
112
112
  "--cue-space-4",
113
- "--cue-text-label"
113
+ "--cue-text-label",
114
+ "--cue-tracking-caps"
114
115
  ],
115
116
  "summary": "A faint label with a rule running off it — the heading for a group of rows.",
116
117
  "examples": [
@@ -139,6 +139,7 @@
139
139
  "--cue-font-mono",
140
140
  "--cue-icon-md",
141
141
  "--cue-icon-sm",
142
+ "--cue-paint-fade-length",
142
143
  "--cue-radius-control",
143
144
  "--cue-space-1",
144
145
  "--cue-space-2",
@@ -200,6 +200,17 @@
200
200
  "--cue-font-mono",
201
201
  "--cue-icon-md",
202
202
  "--cue-icon-sm",
203
+ "--cue-paint-rim-width",
204
+ "--cue-paint-shade-far",
205
+ "--cue-paint-shade-hairline",
206
+ "--cue-paint-shade-near",
207
+ "--cue-paint-shadow-scale",
208
+ "--cue-paint-shadow-spread",
209
+ "--cue-paint-sheen-ink",
210
+ "--cue-paint-stroke-angle",
211
+ "--cue-paint-stroke-from",
212
+ "--cue-paint-stroke-to",
213
+ "--cue-paint-stroke-width",
203
214
  "--cue-radius-control",
204
215
  "--cue-radius-overlay",
205
216
  "--cue-space-1",
@@ -52,7 +52,8 @@
52
52
  "--cue-space-4",
53
53
  "--cue-text-label",
54
54
  "--cue-text-micro",
55
- "--cue-text-ui"
55
+ "--cue-text-ui",
56
+ "--cue-tracking-caps"
56
57
  ],
57
58
  "summary": "Section 3 of the configurator — geometry and type, which belong to the density axis rather than the theme.",
58
59
  "examples": [
@@ -169,6 +169,17 @@
169
169
  "--cue-fg-subtle",
170
170
  "--cue-font-mono",
171
171
  "--cue-leading-ui",
172
+ "--cue-paint-rim-width",
173
+ "--cue-paint-shade-far",
174
+ "--cue-paint-shade-hairline",
175
+ "--cue-paint-shade-near",
176
+ "--cue-paint-shadow-scale",
177
+ "--cue-paint-shadow-spread",
178
+ "--cue-paint-sheen-ink",
179
+ "--cue-paint-stroke-angle",
180
+ "--cue-paint-stroke-from",
181
+ "--cue-paint-stroke-to",
182
+ "--cue-paint-stroke-width",
172
183
  "--cue-radius-control",
173
184
  "--cue-radius-overlay",
174
185
  "--cue-scrim",
@@ -180,7 +191,8 @@
180
191
  "--cue-surface-2",
181
192
  "--cue-text-emphasis",
182
193
  "--cue-text-label",
183
- "--cue-text-ui"
194
+ "--cue-text-ui",
195
+ "--cue-tracking-caps"
184
196
  ],
185
197
  "summary": "A modal panel that slides in from an edge: an inspector, a filter drawer, a details pane.",
186
198
  "examples": [
@@ -215,7 +215,8 @@
215
215
  "--cue-surface-1",
216
216
  "--cue-surface-2",
217
217
  "--cue-text-label",
218
- "--cue-text-ui"
218
+ "--cue-text-ui",
219
+ "--cue-tracking-caps"
219
220
  ],
220
221
  "summary": "The console's navigation column: sections of items, its own scroller, and a rail that collapses it to icons.",
221
222
  "examples": [
@@ -76,7 +76,8 @@
76
76
  "--cue-font-mono",
77
77
  "--cue-space-2",
78
78
  "--cue-space-3",
79
- "--cue-text-label"
79
+ "--cue-text-label",
80
+ "--cue-tracking-caps-tight"
80
81
  ],
81
82
  "summary": "A continuous value control: one thumb, or several for a range.",
82
83
  "examples": [
@@ -81,6 +81,7 @@
81
81
  "--cue-text-label",
82
82
  "--cue-text-micro",
83
83
  "--cue-text-title",
84
+ "--cue-tracking-caps",
84
85
  "--cue-warn"
85
86
  ],
86
87
  "summary": "One number, named: the console's KPI tile.",
@@ -77,7 +77,8 @@
77
77
  "--cue-radius-control",
78
78
  "--cue-space-2",
79
79
  "--cue-space-3",
80
- "--cue-text-label"
80
+ "--cue-text-label",
81
+ "--cue-tracking-caps-tight"
81
82
  ],
82
83
  "summary": "The step trail: `1 target · 2 preview · 3 apply`, as one line of mono text.",
83
84
  "examples": [
@@ -42,7 +42,8 @@
42
42
  "--cue-surface-1",
43
43
  "--cue-table-group-top",
44
44
  "--cue-text-label",
45
- "--cue-text-ui"
45
+ "--cue-text-ui",
46
+ "--cue-tracking-caps"
46
47
  ],
47
48
  "summary": "A named keyboard-focusable horizontal viewport for wide semantic tables.",
48
49
  "examples": [],
@@ -235,7 +235,8 @@
235
235
  "--cue-surface-1",
236
236
  "--cue-table-group-top",
237
237
  "--cue-text-label",
238
- "--cue-text-ui"
238
+ "--cue-text-ui",
239
+ "--cue-tracking-caps"
239
240
  ],
240
241
  "summary": "The semantic table: mono uppercase headers, hairline rows, tabular numerals.",
241
242
  "examples": [
@@ -107,6 +107,7 @@
107
107
  "--cue-fg-muted",
108
108
  "--cue-font-mono",
109
109
  "--cue-icon-sm",
110
+ "--cue-paint-fade-length",
110
111
  "--cue-radius-control",
111
112
  "--cue-space-1",
112
113
  "--cue-space-2",
@@ -212,6 +212,17 @@
212
212
  "--cue-font-mono",
213
213
  "--cue-icon-sm",
214
214
  "--cue-leading-ui",
215
+ "--cue-paint-rim-width",
216
+ "--cue-paint-shade-far",
217
+ "--cue-paint-shade-hairline",
218
+ "--cue-paint-shade-near",
219
+ "--cue-paint-shadow-scale",
220
+ "--cue-paint-shadow-spread",
221
+ "--cue-paint-sheen-ink",
222
+ "--cue-paint-stroke-angle",
223
+ "--cue-paint-stroke-from",
224
+ "--cue-paint-stroke-to",
225
+ "--cue-paint-stroke-width",
215
226
  "--cue-radius-control",
216
227
  "--cue-radius-overlay",
217
228
  "--cue-scrim",
@@ -225,7 +236,8 @@
225
236
  "--cue-text-body",
226
237
  "--cue-text-emphasis",
227
238
  "--cue-text-label",
228
- "--cue-text-ui"
239
+ "--cue-text-ui",
240
+ "--cue-tracking-caps"
229
241
  ],
230
242
  "summary": "Free-form tags, each a removable chip. Enter or a separator key commits what is in the box.",
231
243
  "examples": [
@@ -116,6 +116,7 @@
116
116
  "--cue-sunken",
117
117
  "--cue-text-label",
118
118
  "--cue-text-ui",
119
+ "--cue-tracking-caps",
119
120
  "--cue-warn"
120
121
  ],
121
122
  "summary": "A recessed terminal: mono, `$`-prefixed commands, optional typed playback.",
@@ -67,6 +67,10 @@
67
67
  "--cue-focus",
68
68
  "--cue-font-mono",
69
69
  "--cue-leading-ui",
70
+ "--cue-paint-stroke-angle",
71
+ "--cue-paint-stroke-from",
72
+ "--cue-paint-stroke-to",
73
+ "--cue-paint-stroke-width",
70
74
  "--cue-radius-control",
71
75
  "--cue-space-3",
72
76
  "--cue-space-4",
@@ -129,6 +129,17 @@
129
129
  "--cue-font-sans",
130
130
  "--cue-icon-sm",
131
131
  "--cue-leading-ui",
132
+ "--cue-paint-rim-width",
133
+ "--cue-paint-shade-far",
134
+ "--cue-paint-shade-hairline",
135
+ "--cue-paint-shade-near",
136
+ "--cue-paint-shadow-scale",
137
+ "--cue-paint-shadow-spread",
138
+ "--cue-paint-sheen-ink",
139
+ "--cue-paint-stroke-angle",
140
+ "--cue-paint-stroke-from",
141
+ "--cue-paint-stroke-to",
142
+ "--cue-paint-stroke-width",
132
143
  "--cue-radius-control",
133
144
  "--cue-radius-overlay",
134
145
  "--cue-scrim",
@@ -140,7 +151,8 @@
140
151
  "--cue-surface-2",
141
152
  "--cue-text-emphasis",
142
153
  "--cue-text-label",
143
- "--cue-text-ui"
154
+ "--cue-text-ui",
155
+ "--cue-tracking-caps"
144
156
  ],
145
157
  "summary": "The floating panel that edits the design system it is drawn with.",
146
158
  "examples": [
@@ -94,6 +94,25 @@
94
94
  ]
95
95
  }
96
96
  },
97
+ {
98
+ "name": "paint",
99
+ "type": "\"none\" | \"bevel\" | \"halo\" | \"hatch\" | \"lift\" | \"frost\" | \"grain\"",
100
+ "required": false,
101
+ "defaultValue": null,
102
+ "description": "A look pack for this subtree. Opt-in: a provider that names none stamps no\n`data-paint`, and a nested one inherits the pack stamped around it.",
103
+ "control": {
104
+ "kind": "enum",
105
+ "members": [
106
+ "none",
107
+ "bevel",
108
+ "halo",
109
+ "hatch",
110
+ "lift",
111
+ "frost",
112
+ "grain"
113
+ ]
114
+ }
115
+ },
97
116
  {
98
117
  "name": "fontScale",
99
118
  "type": "number",
@@ -149,7 +168,7 @@
149
168
  "type": "string",
150
169
  "required": false,
151
170
  "defaultValue": null,
152
- "description": "The Content-Security-Policy nonce for every `<style>` element this tree\nrenders — this library's and Base UI's.\n\nWhen `overrides.densities` is set this provider emits one `<style>`\nelement (see {@link ThemeProviderProps.overrides}). Under a policy of\n`style-src-elem 'self' 'nonce-<per-request>'` the browser refuses that\nelement on every page load, because an element React renders on the client\ncannot pick up a server nonce by itself. Pass the request's nonce here and\nit is set on the element.\n\nIt also reaches **Base UI**. Given a nonce, this provider renders\n`@base-ui/react`'s own `CSPProvider` around the tree, so the hoisted\n`<style>` that `ScrollAreaRoot` and `SelectPopup` emit carries it too.\nWithout that, a strict policy refuses it by content hash on every page\nrendering a Select, a Popover or a ScrollArea — and a consumer has no way\nto guess the remedy lives in a peer dependency's provider. An outer\n`CSPProvider` a consumer renders itself is left alone: no nonce here means\nno provider here, rather than one that overwrites theirs with `undefined`.\n\n`prepaintScript()` returns a *string* the application renders in a\n`<script>` of its own — so the application already controls that element's\nnonce, and between it and this prop a strict policy needs nothing else\nfrom here.\n\n**Pass this OR render your own `CSPProvider` — not both.** Base UI's\ncontext carries a second value beside the nonce, `disableStyleElements`,\nand its provider is the only public way to set either: the package exports\n`CSPProvider` and no hook, so a provider rendered here *replaces* an outer\none rather than extending it. Given a nonce this provider therefore sets\n`disableStyleElements` back to its default, and a consumer who had turned\nit on outside loses it silently — Base UI resumes emitting the very style\nelement they suppressed. An application already rendering its own\n`CSPProvider` needs nothing from this prop: leave it unset and the outer\ncontext survives untouched, which is the case\n`base-ui-nonce-outer-provider.test.tsx` pins.\n\n**A nonce cannot rescue a style ATTRIBUTE**, and this provider always sets\none on its root: `color-scheme` and `--cue-font-scale`, plus the font\nfamilies and overrides where they are given. CSP has no nonce form for\n`style-src-attr` — it is `'unsafe-inline'` or `'none'` — so an application\nserving `style-src-attr 'none'` loses those declarations, silently. That is\na policy decision rather than something this prop can change.",
171
+ "description": "The Content-Security-Policy nonce this provider hands on: to its own\ndensity-layer `<style>`, and — through Base UI's `CSPProvider` — to Base\nUI's scrollbar `<style>` and to the pre-hydration `<script>` a\n`<Slider thumbAlignment=\"edge\">` renders. List it in `script-src`, and in\nwhichever directive governs style elements: `style-src-elem` if the policy\nhas one, otherwise `style-src`. It does not reach `ThemeConfigurator`'s\n`<style>` or the application's pre-paint `<script>`.\n\nThe density layer — one `<style data-cue-overrides>` when\n`overrides.densities` yields a valid declaration (see\n{@link ThemeProviderProps.overrides}) — takes its nonce **from this prop\nalone**: not from an outer `CSPProvider`, and not from an outer\n`ThemeProvider`. A nested provider that sets its own `overrides.densities`\nneeds its own `nonce`.\n\nBase UI's scrollbar rule gets the nonce wherever React creates it in the\nbrowser. **It does not get it in server-rendered HTML** under a framework\nthat hands React a script-only nonce, which includes Next.js 16: React's\nserver renderer (19.2, and the canary Next.js 16 bundles) writes a\n`precedence` style's nonce only from its render option `nonce: { style }`.\nAllow that rule by hash, or turn on Base\nUI's `disableStyleElements` and ship the rule yourself;\n`docs/CONSUMING.md` §4.5 has both, with the hash.\n\n`prepaintScript()` returns a *string* the application renders in a\n`<script>` of its own, so put the same nonce on that element yourself.\n\n**An outer `CSPProvider` that sets `disableStyleElements` is switched off\ninside this provider once a nonce is given.** Base UI's `CSPProvider`\nbuilds its context from its own props alone, so the one rendered here\n*replaces* an outer one rather than extending it. Either leave this prop\nunset — only when no `overrides.densities` needs it and, wherever a\n`<Slider thumbAlignment=\"edge\">` renders, the outer provider carries the\nnonce — or render\n`<CSPProvider nonce={nonce} disableStyleElements>` again inside this\nprovider's children (with the nonce, or Base UI's pre-hydration script\nthere loses it), and again inside any nested provider given a nonce. An\napplication already rendering its own `CSPProvider` can leave this prop\nunset: Base UI's pre-hydration script takes the outer nonce, and so does\nits scrollbar rule wherever React creates it in the browser — the case\n`base-ui-nonce-outer-provider.test.tsx` pins — but the density layer then\nhas none.\n\n**A nonce cannot rescue a style ATTRIBUTE.** This provider's root always\ncarries one — `color-scheme` and `--cue-font-scale`, plus `fontFamilies`,\n`overrides.colors`, `overrides.fonts` and `style` where given — and many\ncomponents, and Base UI's form roots, render their own. A policy whose\n`style-src` (or, without one, `default-src`) does not allow all inline\nstyle — a nonce or a hash in it, or no `'unsafe-inline'` — therefore needs\nan explicit `style-src-attr 'unsafe-inline'`: a nonce or hash in the\ngoverning list makes the browser ignore `'unsafe-inline'`. The browser\nreports a refused attribute as a CSP violation; this library adds no\nwarning of its own.",
153
172
  "control": {
154
173
  "kind": "string"
155
174
  }
@@ -38,7 +38,8 @@
38
38
  "tokensUsed": [
39
39
  "--cue-accent",
40
40
  "--cue-border",
41
- "--cue-fg-subtle"
41
+ "--cue-fg-subtle",
42
+ "--cue-tracking-caps"
42
43
  ],
43
44
  "summary": "The rule that says the day changed: a label centred between two hairlines.",
44
45
  "examples": [