@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.
- package/CHANGELOG.md +415 -0
- package/README.md +26 -0
- package/dist/agent-runtime/tool-call-card.js +1 -1
- package/dist/chat/message-list.js +2 -1
- package/dist/chat/message.js +1 -1
- package/dist/chrome/_tabs-scroll.d.ts +17 -1
- package/dist/chrome/_tabs-scroll.js +20 -3
- package/dist/chrome/app-bar.js +2 -1
- package/dist/chrome/band.js +13 -5
- package/dist/chrome/eyebrow.js +1 -1
- package/dist/chrome/footer.js +1 -1
- package/dist/chrome/panel.js +2 -1
- package/dist/chrome/section-header.js +1 -1
- package/dist/color/color-field.d.ts +2 -1
- package/dist/color/color-picker.d.ts +2 -1
- package/dist/configurator/configurator.js +1 -1
- package/dist/configurator/export-dialog.js +1 -1
- package/dist/configurator/panel-sections.js +1 -1
- package/dist/configurator/token-editor.js +1 -1
- package/dist/date/calendar.js +2 -2
- package/dist/date/date-field.d.ts +2 -1
- package/dist/date/date-picker.d.ts +2 -1
- package/dist/date/date-range-picker.d.ts +2 -1
- package/dist/date/time-field.d.ts +2 -1
- package/dist/elements/context-usage.js +3 -3
- package/dist/elements/transcript-rules.js +1 -1
- package/dist/forms/_chassis-size.d.ts +22 -0
- package/dist/forms/_chassis.d.ts +3 -10
- package/dist/forms/_chassis.js +2 -1
- package/dist/forms/autocomplete.d.ts +2 -1
- package/dist/forms/combobox.d.ts +2 -1
- package/dist/forms/env-var-input.d.ts +2 -1
- package/dist/forms/field.js +1 -1
- package/dist/forms/index.d.ts +2 -1
- package/dist/forms/input-group.d.ts +2 -1
- package/dist/forms/input.d.ts +2 -1
- package/dist/forms/multi-select.d.ts +2 -1
- package/dist/forms/otp-field.d.ts +2 -1
- package/dist/forms/password-input.d.ts +2 -1
- package/dist/forms/scrub-input.d.ts +2 -1
- package/dist/forms/search-input.d.ts +2 -1
- package/dist/forms/select.d.ts +2 -1
- package/dist/forms/select.js +2 -1
- package/dist/forms/slider.js +1 -1
- package/dist/forms/tags-input.d.ts +2 -1
- package/dist/forms/toggle-group.d.ts +1 -1
- package/dist/forms/toggle.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/instruments/code-block.js +1 -1
- package/dist/instruments/ledger.js +1 -1
- package/dist/instruments/log-viewer.js +2 -1
- package/dist/instruments/progress.js +1 -1
- package/dist/instruments/stat.js +1 -1
- package/dist/instruments/table.js +2 -2
- package/dist/instruments/terminal-frame.js +1 -1
- package/dist/layout/_ground.js +1 -1
- package/dist/layout/card.js +3 -1
- package/dist/layout/collapsible.js +1 -1
- package/dist/layout/description-list.js +1 -1
- package/dist/layout/preview.d.ts +13 -1
- package/dist/layout/preview.js +16 -9
- package/dist/layout/sidebar.js +1 -1
- package/dist/layout/stepper.js +1 -1
- package/dist/midi/musical-time-input.d.ts +2 -1
- package/dist/overlays/_surface.d.ts +2 -2
- package/dist/overlays/_surface.js +4 -2
- package/dist/overlays/command-palette.js +1 -1
- package/dist/overlays/toast.js +1 -1
- package/dist/primitives/button.js +2 -1
- package/dist/primitives/chip.d.ts +1 -1
- package/dist/primitives/chip.js +2 -2
- package/dist/system/_paint-elevation.js +9 -0
- package/dist/system/_paint-glass.js +46 -0
- package/dist/system/_paint-glow.js +32 -0
- package/dist/system/_paint-ground-pattern.js +30 -0
- package/dist/system/_paint-rim.js +41 -0
- package/dist/system/_paint-stroke-sunken.js +19 -0
- package/dist/system/_paint-stroke-surface-1.js +19 -0
- package/dist/system/_paint-stroke-surface-2.js +27 -0
- package/dist/system/_paint-texture.js +53 -0
- package/dist/system/density.d.ts +11 -2
- package/dist/system/density.js +29 -9
- package/dist/system/portal.js +8 -2
- package/dist/system/prepaint.d.ts +18 -1
- package/dist/system/prepaint.js +8 -2
- package/dist/system/theme-provider.d.ts +64 -38
- package/dist/system/theme-provider.js +70 -23
- package/dist/system/vocabulary.d.ts +1 -1
- package/dist/system/vocabulary.js +14 -2
- package/manifest/components/alert-dialog.json +13 -1
- package/manifest/components/app-bar.json +4 -0
- package/manifest/components/autocomplete.json +13 -1
- package/manifest/components/band.json +9 -2
- package/manifest/components/button.json +4 -0
- package/manifest/components/calendar.json +3 -1
- package/manifest/components/card.json +6 -0
- package/manifest/components/channel-matrix.json +13 -1
- package/manifest/components/chart-tooltip-content.json +13 -1
- package/manifest/components/chip.json +1 -0
- package/manifest/components/code-block.json +2 -1
- package/manifest/components/collapsible.json +2 -1
- package/manifest/components/color-field.json +4 -0
- package/manifest/components/color-picker.json +4 -0
- package/manifest/components/colors-section.json +2 -1
- package/manifest/components/combobox.json +13 -1
- package/manifest/components/command-palette.json +13 -1
- package/manifest/components/composer.json +4 -0
- package/manifest/components/context-menu.json +13 -1
- package/manifest/components/context-usage.json +1 -0
- package/manifest/components/date-field.json +4 -0
- package/manifest/components/date-picker.json +4 -0
- package/manifest/components/date-range-picker.json +4 -0
- package/manifest/components/density.json +19 -0
- package/manifest/components/description-list.json +2 -1
- package/manifest/components/dialog.json +13 -1
- package/manifest/components/disclosure.json +2 -1
- package/manifest/components/dmx-bar.json +13 -1
- package/manifest/components/dmx-strip.json +13 -1
- package/manifest/components/drawer.json +13 -1
- package/manifest/components/dropdown-menu.json +13 -1
- package/manifest/components/env-var-input.json +4 -0
- package/manifest/components/export-dialog.json +2 -1
- package/manifest/components/eyebrow.json +2 -1
- package/manifest/components/field-description.json +2 -1
- package/manifest/components/field-error.json +2 -1
- package/manifest/components/field-label.json +2 -1
- package/manifest/components/field.json +2 -1
- package/manifest/components/footer.json +1 -0
- package/manifest/components/frames.json +2 -1
- package/manifest/components/hover-card.json +13 -1
- package/manifest/components/input-group.json +4 -0
- package/manifest/components/input.json +4 -0
- package/manifest/components/ledger.json +2 -1
- package/manifest/components/log-viewer.json +7 -0
- package/manifest/components/menubar.json +13 -1
- package/manifest/components/message-list.json +7 -0
- package/manifest/components/message.json +2 -1
- package/manifest/components/multi-select.json +13 -1
- package/manifest/components/musical-time-input.json +4 -0
- package/manifest/components/navigation-menu.json +13 -1
- package/manifest/components/number-field.json +4 -0
- package/manifest/components/otp-field.json +4 -0
- package/manifest/components/panel-header.json +2 -0
- package/manifest/components/panel.json +2 -0
- package/manifest/components/password-input.json +4 -0
- package/manifest/components/popover.json +13 -1
- package/manifest/components/preset-section.json +2 -1
- package/manifest/components/preview.json +21 -1
- package/manifest/components/progress.json +2 -1
- package/manifest/components/scrollable-tabs-list.json +1 -0
- package/manifest/components/scrub-input.json +4 -0
- package/manifest/components/search-input.json +4 -0
- package/manifest/components/section-header.json +2 -1
- package/manifest/components/segmented-control.json +1 -0
- package/manifest/components/select.json +11 -0
- package/manifest/components/shape-section.json +2 -1
- package/manifest/components/sheet.json +13 -1
- package/manifest/components/sidebar.json +2 -1
- package/manifest/components/slider.json +2 -1
- package/manifest/components/stat.json +1 -0
- package/manifest/components/stepper.json +2 -1
- package/manifest/components/table-scroll-region.json +2 -1
- package/manifest/components/table.json +2 -1
- package/manifest/components/tabs.json +1 -0
- package/manifest/components/tags-input.json +13 -1
- package/manifest/components/terminal-frame.json +1 -0
- package/manifest/components/textarea.json +4 -0
- package/manifest/components/theme-configurator.json +13 -1
- package/manifest/components/theme-provider.json +20 -1
- package/manifest/components/time-boundary.json +2 -1
- package/manifest/components/time-field.json +4 -0
- package/manifest/components/toast.json +13 -0
- package/manifest/components/toggle-group.json +1 -19
- package/manifest/components/toggle.json +0 -6
- package/manifest/components/token-editor.json +2 -1
- package/manifest/components/tool-call-card.json +2 -1
- package/manifest/components/toolbar.json +1 -0
- package/manifest/components/tooltip.json +13 -1
- package/manifest/components/unread-divider.json +2 -1
- package/manifest/manifest.json +94 -94
- package/manifest/tokens.json +48 -2
- package/package.json +6 -6
|
@@ -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",
|
|
@@ -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": [
|
|
@@ -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",
|
|
@@ -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": [
|
|
@@ -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-
|
|
236
|
+
"--cue-paint-screen",
|
|
237
|
+
"--cue-paint-screen-size",
|
|
218
238
|
"--cue-radius-control",
|
|
219
239
|
"--cue-radius-surface",
|
|
220
240
|
"--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": [
|
|
@@ -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": [
|
|
@@ -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": [
|
|
@@ -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": [
|
|
@@ -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": [
|
|
@@ -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
|
|
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
|
}
|