@cueplusplus/ui 0.9.0 → 0.11.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 +337 -0
- package/README.md +197 -9
- package/dist/chrome/index.d.ts +2 -1
- package/dist/chrome/index.js +3 -2
- package/dist/chrome/inspector.d.ts +61 -0
- package/dist/chrome/inspector.js +121 -0
- package/dist/forms/input.d.ts +12 -0
- package/dist/forms/textarea.d.ts +12 -0
- package/dist/forms/toggle.d.ts +6 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.js +8 -3
- package/dist/instruments/code-block.d.ts +35 -0
- package/dist/instruments/code-block.js +173 -0
- package/dist/instruments/index.d.ts +2 -1
- package/dist/instruments/index.js +2 -1
- package/dist/instruments/meter.d.ts +5 -1
- package/dist/layout/bento.d.ts +144 -0
- package/dist/layout/bento.js +266 -0
- package/dist/layout/index.d.ts +4 -2
- package/dist/layout/index.js +4 -2
- package/dist/layout/preview.d.ts +110 -0
- package/dist/layout/preview.js +459 -0
- package/dist/primitives/button.d.ts +12 -0
- package/dist/primitives/chip.d.ts +1 -1
- package/dist/system/index.d.ts +2 -2
- package/dist/system/index.js +2 -1
- package/dist/system/overrides.d.ts +38 -1
- package/dist/system/overrides.js +40 -1
- package/manifest/components/accordion.json +24 -6
- package/manifest/components/activity-graph.json +20 -5
- package/manifest/components/agent-card.json +37 -9
- package/manifest/components/agent-handoff.json +21 -5
- package/manifest/components/agent-mode-badge.json +22 -4
- package/manifest/components/agent-pile.json +38 -8
- package/manifest/components/agent-plan.json +9 -2
- package/manifest/components/agent-status.json +17 -3
- package/manifest/components/agent-surface.json +26 -11
- package/manifest/components/alert-dialog.json +29 -5
- package/manifest/components/animated-number.json +14 -6
- package/manifest/components/app-bar.json +66 -13
- package/manifest/components/app-shell.json +133 -31
- package/manifest/components/app-window-frame.json +28 -6
- package/manifest/components/approval-card.json +37 -7
- package/manifest/components/artifact-card.json +16 -4
- package/manifest/components/ask-box.json +99 -21
- package/manifest/components/audience-icon.json +1 -7
- package/manifest/components/autocomplete.json +80 -18
- package/manifest/components/avatar-group.json +13 -2
- package/manifest/components/avatar.json +22 -4
- package/manifest/components/background-inbox.json +9 -2
- package/manifest/components/bento.json +306 -0
- package/manifest/components/branch-picker.json +29 -7
- package/manifest/components/breadcrumb.json +13 -3
- package/manifest/components/button-group.json +21 -4
- package/manifest/components/button.json +41 -4
- package/manifest/components/canvas-split-body.json +4 -1
- package/manifest/components/canvas-split-header.json +17 -4
- package/manifest/components/canvas-split-line.json +4 -1
- package/manifest/components/canvas-split-message.json +8 -1
- package/manifest/components/card.json +14 -3
- package/manifest/components/carousel.json +54 -12
- package/manifest/components/catalogue-icon.json +1 -7
- package/manifest/components/channel-beta-icon.json +1 -7
- package/manifest/components/channel-matrix.json +80 -15
- package/manifest/components/channel-released-icon.json +1 -7
- package/manifest/components/chart-container.json +26 -10
- package/manifest/components/chart-ramp.json +13 -3
- package/manifest/components/chart-swatch.json +9 -2
- package/manifest/components/chart-tooltip-content.json +31 -7
- package/manifest/components/chart.json +30 -6
- package/manifest/components/chat-panel-composer.json +9 -2
- package/manifest/components/checkbox-group.json +4 -2
- package/manifest/components/checkbox.json +17 -4
- package/manifest/components/checkpoint-history.json +13 -3
- package/manifest/components/chip.json +35 -5
- package/manifest/components/clamp.json +30 -7
- package/manifest/components/cli-tool-icon.json +1 -7
- package/manifest/components/code-block.json +106 -0
- package/manifest/components/code-diff.json +20 -5
- package/manifest/components/code-runner.json +32 -6
- package/manifest/components/collapsible.json +16 -4
- package/manifest/components/color-area.json +4 -1
- package/manifest/components/color-field.json +13 -3
- package/manifest/components/color-picker.json +75 -17
- package/manifest/components/color-slider.json +12 -3
- package/manifest/components/color-swatch.json +13 -2
- package/manifest/components/colors-section.json +8 -4
- package/manifest/components/combobox.json +81 -18
- package/manifest/components/command-palette.json +57 -13
- package/manifest/components/compaction-row.json +35 -7
- package/manifest/components/comparison-card.json +17 -4
- package/manifest/components/composer-attachment-chip.json +9 -2
- package/manifest/components/composer-bar.json +4 -1
- package/manifest/components/composer-command-item.json +8 -2
- package/manifest/components/composer-context.json +4 -1
- package/manifest/components/composer-input.json +5 -1
- package/manifest/components/composer-menu-item.json +4 -1
- package/manifest/components/composer-menu.json +12 -2
- package/manifest/components/composer-model-item.json +8 -2
- package/manifest/components/composer-model-trigger.json +8 -2
- package/manifest/components/composer-person-item.json +8 -2
- package/manifest/components/composer-send.json +8 -2
- package/manifest/components/composer-voice-button.json +4 -1
- package/manifest/components/composer-voice.json +8 -2
- package/manifest/components/composer.json +76 -17
- package/manifest/components/computer-use.json +17 -4
- package/manifest/components/confidence-marker.json +13 -3
- package/manifest/components/connection-state.json +23 -4
- package/manifest/components/container.json +14 -2
- package/manifest/components/context-breakdown.json +8 -2
- package/manifest/components/context-menu.json +16 -4
- package/manifest/components/context-usage.json +16 -4
- package/manifest/components/conversation-search.json +22 -5
- package/manifest/components/copy-button.json +32 -7
- package/manifest/components/cost-meter.json +12 -3
- package/manifest/components/cue-logotype.json +17 -3
- package/manifest/components/cue-mark.json +17 -3
- package/manifest/components/cue-portal-frame.json +13 -3
- package/manifest/components/data-row.json +21 -7
- package/manifest/components/data-table-pagination.json +18 -4
- package/manifest/components/data-table-toolbar.json +30 -7
- package/manifest/components/data-tree.json +42 -9
- package/manifest/components/date-field.json +13 -2
- package/manifest/components/date-picker.json +81 -19
- package/manifest/components/date-range-picker.json +81 -19
- package/manifest/components/day-separator.json +4 -1
- package/manifest/components/delegation-card.json +64 -12
- package/manifest/components/density.json +24 -4
- package/manifest/components/description-list.json +8 -1
- package/manifest/components/diagram.json +33 -7
- package/manifest/components/dialog.json +29 -6
- package/manifest/components/disclosure.json +31 -7
- package/manifest/components/dmx-bar.json +16 -4
- package/manifest/components/dmx-strip.json +20 -5
- package/manifest/components/document-reference.json +21 -5
- package/manifest/components/draft-restore.json +18 -4
- package/manifest/components/drawer.json +30 -6
- package/manifest/components/dropdown-menu.json +55 -10
- package/manifest/components/edit-message.json +32 -7
- package/manifest/components/elements-command-palette.json +27 -6
- package/manifest/components/elements-data-table.json +9 -2
- package/manifest/components/elements-timeline.json +8 -2
- package/manifest/components/elicitation-form.json +31 -6
- package/manifest/components/empty-state-composer.json +9 -2
- package/manifest/components/empty-state-suggestion.json +4 -1
- package/manifest/components/empty-state.json +25 -5
- package/manifest/components/end-of-turn-summary.json +16 -4
- package/manifest/components/env-var-input.json +54 -12
- package/manifest/components/error-state.json +17 -4
- package/manifest/components/export-dialog.json +27 -8
- package/manifest/components/eyebrow.json +4 -1
- package/manifest/components/feedback-dialog.json +33 -7
- package/manifest/components/field-description.json +4 -1
- package/manifest/components/field-error.json +13 -3
- package/manifest/components/field-label.json +4 -1
- package/manifest/components/field.json +4 -1
- package/manifest/components/file-tree.json +16 -4
- package/manifest/components/file-upload.json +58 -13
- package/manifest/components/flow-graph.json +12 -3
- package/manifest/components/folder-icon.json +1 -7
- package/manifest/components/footer.json +24 -4
- package/manifest/components/frac.json +10 -2
- package/manifest/components/generation-loader.json +17 -3
- package/manifest/components/generative-ui.json +39 -7
- package/manifest/components/grid.json +56 -5
- package/manifest/components/group-bar.json +25 -6
- package/manifest/components/guardrail-notice.json +22 -5
- package/manifest/components/hover-card.json +45 -8
- package/manifest/components/icon-button.json +22 -4
- package/manifest/components/image-generation.json +8 -2
- package/manifest/components/info-tip.json +42 -7
- package/manifest/components/inline-citation.json +14 -3
- package/manifest/components/input-group.json +24 -5
- package/manifest/components/input.json +33 -3
- package/manifest/components/inspector.json +199 -0
- package/manifest/components/item.json +42 -8
- package/manifest/components/job-progress.json +25 -6
- package/manifest/components/launcher-bubble.json +32 -7
- package/manifest/components/ledger.json +87 -19
- package/manifest/components/link.json +16 -3
- package/manifest/components/live-region-announcer.json +21 -5
- package/manifest/components/log-viewer.json +42 -10
- package/manifest/components/map-answer.json +17 -4
- package/manifest/components/markdown-text.json +36 -5
- package/manifest/components/math-block.json +12 -3
- package/manifest/components/mcp-server-icon.json +1 -7
- package/manifest/components/mcp-server-panel.json +18 -4
- package/manifest/components/memory-chips.json +9 -2
- package/manifest/components/menubar.json +33 -7
- package/manifest/components/message-actions.json +32 -7
- package/manifest/components/message-attachments.json +9 -2
- package/manifest/components/message-branches.json +14 -3
- package/manifest/components/message-list.json +27 -6
- package/manifest/components/message-pair.json +25 -5
- package/manifest/components/message-queue.json +13 -3
- package/manifest/components/message-timing.json +8 -2
- package/manifest/components/message.json +41 -9
- package/manifest/components/meter.json +43 -7
- package/manifest/components/mobile-composer.json +47 -10
- package/manifest/components/model-picker.json +13 -3
- package/manifest/components/multi-select.json +78 -17
- package/manifest/components/musical-time-input.json +34 -8
- package/manifest/components/navigation-menu.json +54 -12
- package/manifest/components/node-card.json +42 -7
- package/manifest/components/node-handle.json +17 -2
- package/manifest/components/number-field.json +28 -6
- package/manifest/components/number-ticker.json +8 -2
- package/manifest/components/onboarding.json +18 -4
- package/manifest/components/otp-field.json +43 -10
- package/manifest/components/page-shell.json +35 -6
- package/manifest/components/pagination.json +21 -5
- package/manifest/components/panel-header.json +15 -3
- package/manifest/components/password-input.json +58 -8
- package/manifest/components/permission-grant.json +28 -5
- package/manifest/components/permission-scopes.json +57 -12
- package/manifest/components/piano-keyboard.json +38 -9
- package/manifest/components/plussie.json +34 -5
- package/manifest/components/popover.json +45 -8
- package/manifest/components/preset-section.json +12 -5
- package/manifest/components/preview.json +202 -0
- package/manifest/components/progress.json +25 -6
- package/manifest/components/prompt-library.json +27 -6
- package/manifest/components/queue-dock.json +36 -8
- package/manifest/components/quota-banner.json +25 -6
- package/manifest/components/quote-reply.json +29 -7
- package/manifest/components/radio-group.json +12 -2
- package/manifest/components/radio.json +17 -3
- package/manifest/components/rating.json +60 -13
- package/manifest/components/read-aloud.json +35 -8
- package/manifest/components/reasoning-effort.json +17 -4
- package/manifest/components/reasoning-panel.json +33 -8
- package/manifest/components/recommendation-card.json +35 -10
- package/manifest/components/regenerate-menu.json +22 -5
- package/manifest/components/replay-player.json +29 -7
- package/manifest/components/research-report.json +12 -3
- package/manifest/components/resizable.json +4 -1
- package/manifest/components/retrieval-chunks.json +16 -4
- package/manifest/components/revert-dock.json +61 -14
- package/manifest/components/reviewable-diff.json +23 -5
- package/manifest/components/risk-badge.json +18 -3
- package/manifest/components/row.json +17 -4
- package/manifest/components/schedule-card.json +25 -6
- package/manifest/components/score-breakdown.json +20 -5
- package/manifest/components/scroll-anchor.json +13 -3
- package/manifest/components/scroll-area.json +31 -8
- package/manifest/components/scrollable-tabs-list.json +12 -4
- package/manifest/components/scrub-input.json +84 -18
- package/manifest/components/seam-cell.json +19 -3
- package/manifest/components/seam-grid.json +12 -3
- package/manifest/components/search-input.json +69 -10
- package/manifest/components/section-header.json +36 -8
- package/manifest/components/segmented-control.json +50 -11
- package/manifest/components/select.json +74 -16
- package/manifest/components/separator.json +4 -1
- package/manifest/components/settings-panel.json +41 -9
- package/manifest/components/shape-section.json +8 -4
- package/manifest/components/shared-conversation.json +21 -5
- package/manifest/components/sheet.json +29 -6
- package/manifest/components/shimmer-label.json +4 -2
- package/manifest/components/sidebar.json +60 -13
- package/manifest/components/skill-icon.json +1 -7
- package/manifest/components/slider.json +22 -5
- package/manifest/components/sources.json +17 -4
- package/manifest/components/sparkline.json +17 -4
- package/manifest/components/speaker-identity.json +4 -1
- package/manifest/components/spec-sheet.json +16 -4
- package/manifest/components/spectrum-visualizer.json +41 -10
- package/manifest/components/spinner.json +12 -2
- package/manifest/components/stack-icon.json +1 -7
- package/manifest/components/stack.json +54 -7
- package/manifest/components/stacks-matrix-icon.json +1 -7
- package/manifest/components/stat.json +28 -4
- package/manifest/components/status-bar.json +50 -9
- package/manifest/components/status-dot.json +23 -4
- package/manifest/components/stepper.json +22 -5
- package/manifest/components/stopped-run.json +19 -4
- package/manifest/components/streaming-text.json +12 -3
- package/manifest/components/subagent-list.json +21 -5
- package/manifest/components/suggestions.json +27 -5
- package/manifest/components/swap-label.json +18 -4
- package/manifest/components/switch.json +18 -3
- package/manifest/components/table-scroll-region.json +4 -1
- package/manifest/components/table.json +54 -11
- package/manifest/components/tabs.json +16 -5
- package/manifest/components/tags-input.json +79 -17
- package/manifest/components/tail-status.json +37 -8
- package/manifest/components/terminal-block.json +25 -5
- package/manifest/components/terminal-frame.json +34 -8
- package/manifest/components/textarea.json +28 -3
- package/manifest/components/theme-configurator.json +47 -11
- package/manifest/components/theme-provider.json +79 -15
- package/manifest/components/thinking-indicator.json +8 -2
- package/manifest/components/thread-list.json +13 -3
- package/manifest/components/thread-search.json +22 -5
- package/manifest/components/threshold-rail.json +77 -14
- package/manifest/components/time-boundary.json +8 -2
- package/manifest/components/time-field.json +13 -2
- package/manifest/components/timeline-ruler.json +51 -12
- package/manifest/components/timeline.json +19 -3
- package/manifest/components/title-bar.json +19 -4
- package/manifest/components/toast.json +12 -3
- package/manifest/components/todo-list.json +8 -2
- package/manifest/components/toggle-group.json +33 -7
- package/manifest/components/toggle.json +33 -4
- package/manifest/components/token-editor.json +26 -7
- package/manifest/components/tool-call-card.json +83 -16
- package/manifest/components/tool-call.json +37 -9
- package/manifest/components/tool-error.json +34 -8
- package/manifest/components/tool-group.json +17 -4
- package/manifest/components/tool-timeline.json +37 -9
- package/manifest/components/toolbar.json +37 -8
- package/manifest/components/tooltip.json +41 -7
- package/manifest/components/trace-waterfall.json +12 -3
- package/manifest/components/tree-visibility-toggle.json +18 -3
- package/manifest/components/tree.json +52 -11
- package/manifest/components/turn-footer.json +36 -8
- package/manifest/components/two-step-button.json +46 -9
- package/manifest/components/typing-indicator.json +8 -1
- package/manifest/components/universe-grid.json +37 -10
- package/manifest/components/unread-divider.json +4 -1
- package/manifest/components/usage-chart.json +46 -9
- package/manifest/components/verdict-row.json +20 -5
- package/manifest/components/voice-conversation.json +37 -7
- package/manifest/components/web-preview.json +23 -5
- package/manifest/components/web-search.json +20 -5
- package/manifest/components/work-collapse.json +30 -7
- package/manifest/fixtures.json +111 -0
- package/manifest/manifest.json +354 -297
- package/manifest/tokens.json +2 -2
- package/package.json +8 -7
|
@@ -12,112 +12,170 @@
|
|
|
12
12
|
"type": "readonly SelectOption[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The rows, in display order."
|
|
15
|
+
"description": "The rows, in display order.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array",
|
|
18
|
+
"fixture": "sample.blend-modes"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "value",
|
|
19
23
|
"type": "string | null",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "Selected value. Use with `onValueChange` for a controlled select."
|
|
26
|
+
"description": "Selected value. Use with `onValueChange` for a controlled select.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "string",
|
|
29
|
+
"nullable": true
|
|
30
|
+
}
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
"name": "defaultValue",
|
|
26
34
|
"type": "string | null",
|
|
27
35
|
"required": false,
|
|
28
36
|
"defaultValue": null,
|
|
29
|
-
"description": "Initially selected value for an uncontrolled select."
|
|
37
|
+
"description": "Initially selected value for an uncontrolled select.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "string",
|
|
40
|
+
"nullable": true
|
|
41
|
+
}
|
|
30
42
|
},
|
|
31
43
|
{
|
|
32
44
|
"name": "onValueChange",
|
|
33
45
|
"type": "((value: string | null) => void)",
|
|
34
46
|
"required": false,
|
|
35
47
|
"defaultValue": null,
|
|
36
|
-
"description": "Called with the newly selected value (`null` when cleared)."
|
|
48
|
+
"description": "Called with the newly selected value (`null` when cleared).",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "callback",
|
|
51
|
+
"fixture": "callback.log"
|
|
52
|
+
}
|
|
37
53
|
},
|
|
38
54
|
{
|
|
39
55
|
"name": "placeholder",
|
|
40
56
|
"type": "ReactNode",
|
|
41
57
|
"required": false,
|
|
42
58
|
"defaultValue": null,
|
|
43
|
-
"description": "Shown in the trigger while nothing is selected."
|
|
59
|
+
"description": "Shown in the trigger while nothing is selected.",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "node",
|
|
62
|
+
"fixture": "children.text"
|
|
63
|
+
}
|
|
44
64
|
},
|
|
45
65
|
{
|
|
46
66
|
"name": "size",
|
|
47
67
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
48
68
|
"required": false,
|
|
49
69
|
"defaultValue": null,
|
|
50
|
-
"description": "Rung of the control ladder for the trigger. Defaults to `\"md\"`."
|
|
70
|
+
"description": "Rung of the control ladder for the trigger. Defaults to `\"md\"`.",
|
|
71
|
+
"control": {
|
|
72
|
+
"kind": "enum",
|
|
73
|
+
"members": [
|
|
74
|
+
"sm",
|
|
75
|
+
"md",
|
|
76
|
+
"lg"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
51
79
|
},
|
|
52
80
|
{
|
|
53
81
|
"name": "disabled",
|
|
54
82
|
"type": "boolean",
|
|
55
83
|
"required": false,
|
|
56
84
|
"defaultValue": null,
|
|
57
|
-
"description": "Prevent opening and grey the trigger out."
|
|
85
|
+
"description": "Prevent opening and grey the trigger out.",
|
|
86
|
+
"control": {
|
|
87
|
+
"kind": "boolean"
|
|
88
|
+
}
|
|
58
89
|
},
|
|
59
90
|
{
|
|
60
91
|
"name": "required",
|
|
61
92
|
"type": "boolean",
|
|
62
93
|
"required": false,
|
|
63
94
|
"defaultValue": null,
|
|
64
|
-
"description": "Require a value before the owning form submits."
|
|
95
|
+
"description": "Require a value before the owning form submits.",
|
|
96
|
+
"control": {
|
|
97
|
+
"kind": "boolean"
|
|
98
|
+
}
|
|
65
99
|
},
|
|
66
100
|
{
|
|
67
101
|
"name": "name",
|
|
68
102
|
"type": "string",
|
|
69
103
|
"required": false,
|
|
70
104
|
"defaultValue": null,
|
|
71
|
-
"description": "Name for the hidden input, when the select is part of a form."
|
|
105
|
+
"description": "Name for the hidden input, when the select is part of a form.",
|
|
106
|
+
"control": {
|
|
107
|
+
"kind": "string"
|
|
108
|
+
}
|
|
72
109
|
},
|
|
73
110
|
{
|
|
74
111
|
"name": "id",
|
|
75
112
|
"type": "string",
|
|
76
113
|
"required": false,
|
|
77
114
|
"defaultValue": null,
|
|
78
|
-
"description": "Id forwarded to the select's hidden input."
|
|
115
|
+
"description": "Id forwarded to the select's hidden input.",
|
|
116
|
+
"control": {
|
|
117
|
+
"kind": "string"
|
|
118
|
+
}
|
|
79
119
|
},
|
|
80
120
|
{
|
|
81
121
|
"name": "aria-label",
|
|
82
122
|
"type": "string",
|
|
83
123
|
"required": false,
|
|
84
124
|
"defaultValue": null,
|
|
85
|
-
"description": "Accessible name for the trigger, when no {@link FieldLabel } names it."
|
|
125
|
+
"description": "Accessible name for the trigger, when no {@link FieldLabel } names it.",
|
|
126
|
+
"control": {
|
|
127
|
+
"kind": "string"
|
|
128
|
+
}
|
|
86
129
|
},
|
|
87
130
|
{
|
|
88
131
|
"name": "aria-labelledby",
|
|
89
132
|
"type": "string",
|
|
90
133
|
"required": false,
|
|
91
134
|
"defaultValue": null,
|
|
92
|
-
"description": "Id of the element naming the trigger."
|
|
135
|
+
"description": "Id of the element naming the trigger.",
|
|
136
|
+
"control": {
|
|
137
|
+
"kind": "string"
|
|
138
|
+
}
|
|
93
139
|
},
|
|
94
140
|
{
|
|
95
141
|
"name": "modal",
|
|
96
142
|
"type": "boolean",
|
|
97
143
|
"required": false,
|
|
98
144
|
"defaultValue": null,
|
|
99
|
-
"description": "Lock interaction to the popup while it is open. Defaults to `true`, matching\nBase UI; set `false` inside a canvas or a drag surface that must keep\nreceiving pointer events."
|
|
145
|
+
"description": "Lock interaction to the popup while it is open. Defaults to `true`, matching\nBase UI; set `false` inside a canvas or a drag surface that must keep\nreceiving pointer events.",
|
|
146
|
+
"control": {
|
|
147
|
+
"kind": "boolean"
|
|
148
|
+
}
|
|
100
149
|
},
|
|
101
150
|
{
|
|
102
151
|
"name": "className",
|
|
103
152
|
"type": "string",
|
|
104
153
|
"required": false,
|
|
105
154
|
"defaultValue": null,
|
|
106
|
-
"description": "Extra classes for the trigger."
|
|
155
|
+
"description": "Extra classes for the trigger.",
|
|
156
|
+
"control": {
|
|
157
|
+
"kind": "string"
|
|
158
|
+
}
|
|
107
159
|
},
|
|
108
160
|
{
|
|
109
161
|
"name": "popupClassName",
|
|
110
162
|
"type": "string",
|
|
111
163
|
"required": false,
|
|
112
164
|
"defaultValue": null,
|
|
113
|
-
"description": "Extra classes for the popup surface."
|
|
165
|
+
"description": "Extra classes for the popup surface.",
|
|
166
|
+
"control": {
|
|
167
|
+
"kind": "string"
|
|
168
|
+
}
|
|
114
169
|
},
|
|
115
170
|
{
|
|
116
171
|
"name": "sideOffset",
|
|
117
172
|
"type": "number",
|
|
118
173
|
"required": false,
|
|
119
174
|
"defaultValue": "4",
|
|
120
|
-
"description": "Distance in px between the trigger and the popup. Defaults to `4`."
|
|
175
|
+
"description": "Distance in px between the trigger and the popup. Defaults to `4`.",
|
|
176
|
+
"control": {
|
|
177
|
+
"kind": "number"
|
|
178
|
+
}
|
|
121
179
|
}
|
|
122
180
|
],
|
|
123
181
|
"typeReferences": [],
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Extra classes, merged over the hairline defaults."
|
|
15
|
+
"description": "Extra classes, merged over the hairline defaults.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
],
|
|
18
21
|
"typeReferences": [
|
|
@@ -12,63 +12,95 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Selected model."
|
|
15
|
+
"description": "Selected model.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "models",
|
|
19
22
|
"type": "readonly string[]",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Models offered in the segmented control. Keep it to a few; more wants the model\npicker."
|
|
25
|
+
"description": "Models offered in the segmented control. Keep it to a few; more wants the model\npicker.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "array",
|
|
28
|
+
"fixture": "agent.transcript"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "systemPrompt",
|
|
26
33
|
"type": "string",
|
|
27
34
|
"required": true,
|
|
28
35
|
"defaultValue": null,
|
|
29
|
-
"description": "Current system prompt."
|
|
36
|
+
"description": "Current system prompt.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "string"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "temperature",
|
|
33
43
|
"type": "number",
|
|
34
44
|
"required": true,
|
|
35
45
|
"defaultValue": null,
|
|
36
|
-
"description": "Current temperature, 0 to 2."
|
|
46
|
+
"description": "Current temperature, 0 to 2.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "number"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "toggles",
|
|
40
53
|
"type": "readonly SettingToggle[]",
|
|
41
54
|
"required": true,
|
|
42
55
|
"defaultValue": null,
|
|
43
|
-
"description": "Capability switches with a line each explaining what they turn on."
|
|
56
|
+
"description": "Capability switches with a line each explaining what they turn on.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "array"
|
|
59
|
+
}
|
|
44
60
|
},
|
|
45
61
|
{
|
|
46
62
|
"name": "onModelChange",
|
|
47
63
|
"type": "((model: string) => void)",
|
|
48
64
|
"required": false,
|
|
49
65
|
"defaultValue": null,
|
|
50
|
-
"description": "Called when the model changes."
|
|
66
|
+
"description": "Called when the model changes.",
|
|
67
|
+
"control": {
|
|
68
|
+
"kind": "callback",
|
|
69
|
+
"fixture": "callback.log"
|
|
70
|
+
}
|
|
51
71
|
},
|
|
52
72
|
{
|
|
53
73
|
"name": "onSystemPromptChange",
|
|
54
74
|
"type": "((prompt: string) => void)",
|
|
55
75
|
"required": false,
|
|
56
76
|
"defaultValue": null,
|
|
57
|
-
"description": "Called as the prompt is edited."
|
|
77
|
+
"description": "Called as the prompt is edited.",
|
|
78
|
+
"control": {
|
|
79
|
+
"kind": "callback",
|
|
80
|
+
"fixture": "callback.log"
|
|
81
|
+
}
|
|
58
82
|
},
|
|
59
83
|
{
|
|
60
84
|
"name": "onTemperatureChange",
|
|
61
85
|
"type": "((temperature: number) => void)",
|
|
62
86
|
"required": false,
|
|
63
87
|
"defaultValue": null,
|
|
64
|
-
"description": "Called as the slider moves."
|
|
88
|
+
"description": "Called as the slider moves.",
|
|
89
|
+
"control": {
|
|
90
|
+
"kind": "callback",
|
|
91
|
+
"fixture": "callback.log"
|
|
92
|
+
}
|
|
65
93
|
},
|
|
66
94
|
{
|
|
67
95
|
"name": "onToggle",
|
|
68
96
|
"type": "((key: string) => void)",
|
|
69
97
|
"required": false,
|
|
70
98
|
"defaultValue": null,
|
|
71
|
-
"description": "Called with the switched capability's key."
|
|
99
|
+
"description": "Called with the switched capability's key.",
|
|
100
|
+
"control": {
|
|
101
|
+
"kind": "callback",
|
|
102
|
+
"fixture": "callback.log"
|
|
103
|
+
}
|
|
72
104
|
}
|
|
73
105
|
],
|
|
74
106
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "TokenEdits",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The panel's edit surface."
|
|
17
|
+
"description": "The panel's edit surface.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "className",
|
|
21
24
|
"type": "string",
|
|
22
25
|
"required": false,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Extra classes for the section."
|
|
27
|
+
"description": "Extra classes for the section.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "string"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [],
|
|
@@ -39,9 +45,7 @@
|
|
|
39
45
|
"--cue-fg-subtle",
|
|
40
46
|
"--cue-font-mono",
|
|
41
47
|
"--cue-font-sans",
|
|
42
|
-
"--cue-font-scale",
|
|
43
48
|
"--cue-radius-control",
|
|
44
|
-
"--cue-radius-scale",
|
|
45
49
|
"--cue-space-1",
|
|
46
50
|
"--cue-space-2",
|
|
47
51
|
"--cue-space-4",
|
|
@@ -14,35 +14,51 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Name of the shared thread."
|
|
17
|
+
"description": "Name of the shared thread.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "sharedBy",
|
|
21
24
|
"type": "string",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Who shared it."
|
|
27
|
+
"description": "Who shared it.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "string"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "sharedAt",
|
|
28
34
|
"type": "string",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Pre-formatted share time."
|
|
37
|
+
"description": "Pre-formatted share time.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "string"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "turns",
|
|
35
44
|
"type": "readonly SharedTurn[]",
|
|
36
45
|
"required": true,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "The transcript, read only."
|
|
47
|
+
"description": "The transcript, read only.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "array"
|
|
50
|
+
}
|
|
39
51
|
},
|
|
40
52
|
{
|
|
41
53
|
"name": "onContinue",
|
|
42
54
|
"type": "(() => void)",
|
|
43
55
|
"required": false,
|
|
44
56
|
"defaultValue": null,
|
|
45
|
-
"description": "Called to fork the transcript into the reader's own thread."
|
|
57
|
+
"description": "Called to fork the transcript into the reader's own thread.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "callback",
|
|
60
|
+
"fixture": "callback.log"
|
|
61
|
+
}
|
|
46
62
|
}
|
|
47
63
|
],
|
|
48
64
|
"typeReferences": [
|
|
@@ -46,42 +46,65 @@
|
|
|
46
46
|
"type": "string",
|
|
47
47
|
"required": false,
|
|
48
48
|
"defaultValue": null,
|
|
49
|
-
"description": "Extra classes for the popup surface."
|
|
49
|
+
"description": "Extra classes for the popup surface.",
|
|
50
|
+
"control": {
|
|
51
|
+
"kind": "string"
|
|
52
|
+
}
|
|
50
53
|
},
|
|
51
54
|
{
|
|
52
55
|
"name": "closeLabel",
|
|
53
56
|
"type": "string",
|
|
54
57
|
"required": false,
|
|
55
58
|
"defaultValue": "Close",
|
|
56
|
-
"description": "Accessible name for the corner close affordance. Defaults to `\"Close\"`."
|
|
59
|
+
"description": "Accessible name for the corner close affordance. Defaults to `\"Close\"`.",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "string"
|
|
62
|
+
}
|
|
57
63
|
},
|
|
58
64
|
{
|
|
59
65
|
"name": "keepMounted",
|
|
60
66
|
"type": "boolean",
|
|
61
67
|
"required": false,
|
|
62
68
|
"defaultValue": null,
|
|
63
|
-
"description": "Keep the popup mounted while closed, so its content is not re-created."
|
|
69
|
+
"description": "Keep the popup mounted while closed, so its content is not re-created.",
|
|
70
|
+
"control": {
|
|
71
|
+
"kind": "boolean"
|
|
72
|
+
}
|
|
64
73
|
},
|
|
65
74
|
{
|
|
66
75
|
"name": "backdropClassName",
|
|
67
76
|
"type": "string",
|
|
68
77
|
"required": false,
|
|
69
78
|
"defaultValue": null,
|
|
70
|
-
"description": "Extra classes for the scrim behind it."
|
|
79
|
+
"description": "Extra classes for the scrim behind it.",
|
|
80
|
+
"control": {
|
|
81
|
+
"kind": "string"
|
|
82
|
+
}
|
|
71
83
|
},
|
|
72
84
|
{
|
|
73
85
|
"name": "side",
|
|
74
86
|
"type": "\"left\" | \"right\" | \"bottom\"",
|
|
75
87
|
"required": false,
|
|
76
88
|
"defaultValue": "right",
|
|
77
|
-
"description": ""
|
|
89
|
+
"description": "",
|
|
90
|
+
"control": {
|
|
91
|
+
"kind": "enum",
|
|
92
|
+
"members": [
|
|
93
|
+
"right",
|
|
94
|
+
"left",
|
|
95
|
+
"bottom"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
78
98
|
},
|
|
79
99
|
{
|
|
80
100
|
"name": "showCloseButton",
|
|
81
101
|
"type": "boolean",
|
|
82
102
|
"required": false,
|
|
83
103
|
"defaultValue": "true",
|
|
84
|
-
"description": "Show the corner close affordance. Defaults to `true`."
|
|
104
|
+
"description": "Show the corner close affordance. Defaults to `true`.",
|
|
105
|
+
"control": {
|
|
106
|
+
"kind": "boolean"
|
|
107
|
+
}
|
|
85
108
|
}
|
|
86
109
|
],
|
|
87
110
|
"typeReferences": [
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
"type": "boolean",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "true",
|
|
15
|
-
"description": "Whether the sweep is running. Defaults to `true`."
|
|
15
|
+
"description": "Whether the sweep is running. Defaults to `true`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "boolean"
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
],
|
|
18
21
|
"typeReferences": [
|
|
@@ -32,7 +35,6 @@
|
|
|
32
35
|
"--cue-fg-muted",
|
|
33
36
|
"--cue-font-mono",
|
|
34
37
|
"--cue-stream",
|
|
35
|
-
"--cue-sunken",
|
|
36
38
|
"--cue-surface-1",
|
|
37
39
|
"--cue-surface-2",
|
|
38
40
|
"--cue-text-label"
|
|
@@ -25,42 +25,65 @@
|
|
|
25
25
|
"type": "\"complementary\" | \"navigation\"",
|
|
26
26
|
"required": false,
|
|
27
27
|
"defaultValue": "navigation",
|
|
28
|
-
"description": "Which landmark the column is. Defaults to `\"navigation\"`, rendering\n`<nav>`; `\"complementary\"` renders `<aside>` instead.\n\nA column of `Sidebar.Item`s is a list of destinations, one of which carries\n`aria-current=\"page\"` — that is primary navigation, and announcing it as\ncomplementary tells a screen-reader user the site's main map is an aside.\n`\"complementary\"` is there for the column that genuinely is one: a filter\nrail, an inspector, a related-links strip."
|
|
28
|
+
"description": "Which landmark the column is. Defaults to `\"navigation\"`, rendering\n`<nav>`; `\"complementary\"` renders `<aside>` instead.\n\nA column of `Sidebar.Item`s is a list of destinations, one of which carries\n`aria-current=\"page\"` — that is primary navigation, and announcing it as\ncomplementary tells a screen-reader user the site's main map is an aside.\n`\"complementary\"` is there for the column that genuinely is one: a filter\nrail, an inspector, a related-links strip.",
|
|
29
|
+
"control": {
|
|
30
|
+
"kind": "enum",
|
|
31
|
+
"members": [
|
|
32
|
+
"complementary",
|
|
33
|
+
"navigation"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
29
36
|
},
|
|
30
37
|
{
|
|
31
38
|
"name": "collapsed",
|
|
32
39
|
"type": "boolean",
|
|
33
40
|
"required": false,
|
|
34
41
|
"defaultValue": null,
|
|
35
|
-
"description": "Collapsed state when controlled. Pass with `onCollapsedChange`."
|
|
42
|
+
"description": "Collapsed state when controlled. Pass with `onCollapsedChange`.",
|
|
43
|
+
"control": {
|
|
44
|
+
"kind": "boolean"
|
|
45
|
+
}
|
|
36
46
|
},
|
|
37
47
|
{
|
|
38
48
|
"name": "defaultCollapsed",
|
|
39
49
|
"type": "boolean",
|
|
40
50
|
"required": false,
|
|
41
51
|
"defaultValue": "false",
|
|
42
|
-
"description": "Initial collapsed state when uncontrolled. Defaults to `false`."
|
|
52
|
+
"description": "Initial collapsed state when uncontrolled. Defaults to `false`.",
|
|
53
|
+
"control": {
|
|
54
|
+
"kind": "boolean"
|
|
55
|
+
}
|
|
43
56
|
},
|
|
44
57
|
{
|
|
45
58
|
"name": "onCollapsedChange",
|
|
46
59
|
"type": "((collapsed: boolean) => void)",
|
|
47
60
|
"required": false,
|
|
48
61
|
"defaultValue": null,
|
|
49
|
-
"description": "Called with the new collapsed state whenever the rail is pressed."
|
|
62
|
+
"description": "Called with the new collapsed state whenever the rail is pressed.",
|
|
63
|
+
"control": {
|
|
64
|
+
"kind": "callback",
|
|
65
|
+
"fixture": "callback.log"
|
|
66
|
+
}
|
|
50
67
|
},
|
|
51
68
|
{
|
|
52
69
|
"name": "width",
|
|
53
70
|
"type": "string",
|
|
54
71
|
"required": false,
|
|
55
72
|
"defaultValue": "14rem",
|
|
56
|
-
"description": "Width while expanded. Any CSS length. Defaults to `\"14rem\"`."
|
|
73
|
+
"description": "Width while expanded. Any CSS length. Defaults to `\"14rem\"`.",
|
|
74
|
+
"control": {
|
|
75
|
+
"kind": "string"
|
|
76
|
+
}
|
|
57
77
|
},
|
|
58
78
|
{
|
|
59
79
|
"name": "collapsedWidth",
|
|
60
80
|
"type": "string",
|
|
61
81
|
"required": false,
|
|
62
82
|
"defaultValue": "3rem",
|
|
63
|
-
"description": "Width while collapsed. Any CSS length. Defaults to `\"3rem\"`."
|
|
83
|
+
"description": "Width while collapsed. Any CSS length. Defaults to `\"3rem\"`.",
|
|
84
|
+
"control": {
|
|
85
|
+
"kind": "string"
|
|
86
|
+
}
|
|
64
87
|
}
|
|
65
88
|
],
|
|
66
89
|
"typeReferences": [
|
|
@@ -77,7 +100,11 @@
|
|
|
77
100
|
"type": "ReactNode",
|
|
78
101
|
"required": false,
|
|
79
102
|
"defaultValue": null,
|
|
80
|
-
"description": "The group caption, in the mono micro idiom. Dropped entirely while the\nsidebar is collapsed — at rail width a caption has nothing left to caption."
|
|
103
|
+
"description": "The group caption, in the mono micro idiom. Dropped entirely while the\nsidebar is collapsed — at rail width a caption has nothing left to caption.",
|
|
104
|
+
"control": {
|
|
105
|
+
"kind": "node",
|
|
106
|
+
"fixture": "children.text"
|
|
107
|
+
}
|
|
81
108
|
}
|
|
82
109
|
],
|
|
83
110
|
"typeReferences": [
|
|
@@ -94,28 +121,42 @@
|
|
|
94
121
|
"type": "ElementType<any, keyof IntrinsicElements>",
|
|
95
122
|
"required": false,
|
|
96
123
|
"defaultValue": null,
|
|
97
|
-
"description": "Optional leading icon component (e.g. a lucide icon), drawn `aria-hidden`."
|
|
124
|
+
"description": "Optional leading icon component (e.g. a lucide icon), drawn `aria-hidden`.",
|
|
125
|
+
"control": {
|
|
126
|
+
"kind": "opaque",
|
|
127
|
+
"fixture": "icon.play"
|
|
128
|
+
}
|
|
98
129
|
},
|
|
99
130
|
{
|
|
100
131
|
"name": "active",
|
|
101
132
|
"type": "boolean",
|
|
102
133
|
"required": false,
|
|
103
134
|
"defaultValue": "false",
|
|
104
|
-
"description": "Mark this item as the current destination."
|
|
135
|
+
"description": "Mark this item as the current destination.",
|
|
136
|
+
"control": {
|
|
137
|
+
"kind": "boolean"
|
|
138
|
+
}
|
|
105
139
|
},
|
|
106
140
|
{
|
|
107
141
|
"name": "badge",
|
|
108
142
|
"type": "ReactNode",
|
|
109
143
|
"required": false,
|
|
110
144
|
"defaultValue": null,
|
|
111
|
-
"description": "Trailing slot: a count, a status dot. Hidden while collapsed."
|
|
145
|
+
"description": "Trailing slot: a count, a status dot. Hidden while collapsed.",
|
|
146
|
+
"control": {
|
|
147
|
+
"kind": "node",
|
|
148
|
+
"fixture": "children.text"
|
|
149
|
+
}
|
|
112
150
|
},
|
|
113
151
|
{
|
|
114
152
|
"name": "render",
|
|
115
153
|
"type": "RenderProp<Record<string, unknown>>",
|
|
116
154
|
"required": false,
|
|
117
155
|
"defaultValue": null,
|
|
118
|
-
"description": "Replace the rendered element (Base UI render prop) — normally a router\nlink: `render={<NextLink href=\"/patch\" />}`."
|
|
156
|
+
"description": "Replace the rendered element (Base UI render prop) — normally a router\nlink: `render={<NextLink href=\"/patch\" />}`.",
|
|
157
|
+
"control": {
|
|
158
|
+
"kind": "opaque"
|
|
159
|
+
}
|
|
119
160
|
}
|
|
120
161
|
],
|
|
121
162
|
"typeReferences": [
|
|
@@ -132,14 +173,20 @@
|
|
|
132
173
|
"type": "string",
|
|
133
174
|
"required": false,
|
|
134
175
|
"defaultValue": "Collapse sidebar",
|
|
135
|
-
"description": "Accessible name while expanded. Defaults to `\"Collapse sidebar\"`."
|
|
176
|
+
"description": "Accessible name while expanded. Defaults to `\"Collapse sidebar\"`.",
|
|
177
|
+
"control": {
|
|
178
|
+
"kind": "string"
|
|
179
|
+
}
|
|
136
180
|
},
|
|
137
181
|
{
|
|
138
182
|
"name": "expandLabel",
|
|
139
183
|
"type": "string",
|
|
140
184
|
"required": false,
|
|
141
185
|
"defaultValue": "Expand sidebar",
|
|
142
|
-
"description": "Accessible name while collapsed. Defaults to `\"Expand sidebar\"`."
|
|
186
|
+
"description": "Accessible name while collapsed. Defaults to `\"Expand sidebar\"`.",
|
|
187
|
+
"control": {
|
|
188
|
+
"kind": "string"
|
|
189
|
+
}
|
|
143
190
|
}
|
|
144
191
|
],
|
|
145
192
|
"typeReferences": [
|
|
@@ -14,13 +14,7 @@
|
|
|
14
14
|
"parts": [],
|
|
15
15
|
"variants": {},
|
|
16
16
|
"defaultVariants": {},
|
|
17
|
-
"tokensUsed": [
|
|
18
|
-
"--cue-danger",
|
|
19
|
-
"--cue-fg",
|
|
20
|
-
"--cue-icon-",
|
|
21
|
-
"--cue-icon-md",
|
|
22
|
-
"--cue-icon-sm"
|
|
23
|
-
],
|
|
17
|
+
"tokensUsed": [],
|
|
24
18
|
"summary": "A skill: the thing every other container in this set holds.",
|
|
25
19
|
"examples": [],
|
|
26
20
|
"status": "todo-docs",
|