@cueplusplus/ui 0.8.0 → 0.10.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 +457 -0
- package/README.md +131 -0
- package/dist/chat/message-list.js +2 -1
- package/dist/configurator/_export.d.ts +1 -1
- package/dist/configurator/_export.js +53 -13
- package/dist/configurator/_overrides.d.ts +25 -6
- package/dist/configurator/_overrides.js +30 -17
- package/dist/configurator/configurator.js +8 -3
- package/dist/configurator/panel-sections.js +43 -13
- package/dist/elements/command-palette.js +1 -1
- package/dist/elements/flow-graph.js +2 -2
- package/dist/elements/markdown.js +1 -1
- package/dist/elements/surfaces.js +4 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +5 -2
- 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 +3 -2
- package/dist/layout/index.js +3 -2
- package/dist/midi/piano-keyboard.js +5 -1
- package/dist/primitives/button.d.ts +12 -0
- package/dist/styles.css +23 -1
- package/dist/system/density.d.ts +17 -8
- package/dist/system/density.js +39 -16
- package/dist/system/index.d.ts +5 -2
- package/dist/system/index.js +3 -1
- package/dist/system/overrides.d.ts +80 -0
- package/dist/system/overrides.js +277 -0
- package/dist/system/portal.d.ts +4 -2
- package/dist/system/portal.js +34 -3
- package/dist/system/prepaint.d.ts +58 -7
- package/dist/system/prepaint.js +72 -20
- package/dist/system/theme-provider.d.ts +133 -8
- package/dist/system/theme-provider.js +203 -72
- package/dist/system/theme-registry.d.ts +53 -0
- package/dist/system/theme-registry.js +66 -0
- package/dist/system/use-density.d.ts +13 -5
- package/dist/system/use-density.js +142 -13
- package/dist/system/use-theme.d.ts +5 -3
- package/dist/system/use-theme.js +5 -3
- package/dist/system/vocabulary.d.ts +15 -0
- package/dist/system/vocabulary.js +111 -0
- package/dist/theming/contrast.d.ts +2 -122
- package/dist/theming/contrast.js +2 -194
- package/dist/theming/create-theme.d.ts +37 -11
- package/dist/theming/create-theme.js +54 -17
- package/dist/theming/index.d.ts +3 -4
- package/dist/theming/index.js +3 -4
- package/dist/theming/serialize.d.ts +24 -11
- package/dist/theming/serialize.js +16 -18
- 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-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 +10 -7
- 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 +14 -4
- 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 +25 -5
- 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 -11
- 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 +13 -3
- 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 +38 -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 +14 -8
- 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 +49 -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 +10 -7
- 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 +8 -3
- package/manifest/components/theme-configurator.json +47 -14
- package/manifest/components/theme-provider.json +97 -18
- 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 +23 -4
- package/manifest/components/token-editor.json +26 -10
- 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 +106 -0
- package/manifest/manifest.json +449 -310
- package/manifest/tokens.json +122 -12
- package/package.json +16 -6
- package/dist/theming/_presets.d.ts +0 -11
- package/dist/theming/_presets.js +0 -678
|
@@ -14,49 +14,71 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Text preceding the selection."
|
|
17
|
+
"description": "Text preceding the selection.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "selection",
|
|
21
24
|
"type": "string",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "The highlighted run the actions apply to."
|
|
27
|
+
"description": "The highlighted run the actions apply to.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "string"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "after",
|
|
28
34
|
"type": "string",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Text following the selection."
|
|
37
|
+
"description": "Text following the selection.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "string"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "actions",
|
|
35
44
|
"type": "readonly QuoteAction[]",
|
|
36
45
|
"required": true,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "What the toolbar offers. Each action names one of the three built-in icons."
|
|
47
|
+
"description": "What the toolbar offers. Each action names one of the three built-in icons.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "array"
|
|
50
|
+
}
|
|
39
51
|
},
|
|
40
52
|
{
|
|
41
53
|
"name": "toolbarVisible",
|
|
42
54
|
"type": "boolean",
|
|
43
55
|
"required": true,
|
|
44
56
|
"defaultValue": null,
|
|
45
|
-
"description": "Whether the floating toolbar is showing. Drive it from your own selection handler."
|
|
57
|
+
"description": "Whether the floating toolbar is showing. Drive it from your own selection handler.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "boolean"
|
|
60
|
+
}
|
|
46
61
|
},
|
|
47
62
|
{
|
|
48
63
|
"name": "quoted",
|
|
49
64
|
"type": "string",
|
|
50
65
|
"required": false,
|
|
51
66
|
"defaultValue": null,
|
|
52
|
-
"description": "Once quoted, the text carried into the composer, shown under a rule."
|
|
67
|
+
"description": "Once quoted, the text carried into the composer, shown under a rule.",
|
|
68
|
+
"control": {
|
|
69
|
+
"kind": "string"
|
|
70
|
+
}
|
|
53
71
|
},
|
|
54
72
|
{
|
|
55
73
|
"name": "onAction",
|
|
56
74
|
"type": "((key: string) => void)",
|
|
57
75
|
"required": false,
|
|
58
76
|
"defaultValue": null,
|
|
59
|
-
"description": "Called with the key of the action that was chosen."
|
|
77
|
+
"description": "Called with the key of the action that was chosen.",
|
|
78
|
+
"control": {
|
|
79
|
+
"kind": "callback",
|
|
80
|
+
"fixture": "callback.log"
|
|
81
|
+
}
|
|
60
82
|
}
|
|
61
83
|
],
|
|
62
84
|
"typeReferences": [
|
|
@@ -12,14 +12,24 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Extra classes, merged over the stack defaults."
|
|
15
|
+
"description": "Extra classes, merged over the stack defaults.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "orientation",
|
|
19
22
|
"type": "\"horizontal\" | \"vertical\"",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "vertical",
|
|
22
|
-
"description": "Lay the options out in a column (default) or a row."
|
|
25
|
+
"description": "Lay the options out in a column (default) or a row.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "enum",
|
|
28
|
+
"members": [
|
|
29
|
+
"horizontal",
|
|
30
|
+
"vertical"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
23
33
|
}
|
|
24
34
|
],
|
|
25
35
|
"typeReferences": [
|
|
@@ -12,21 +12,35 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Inline label rendered beside the dot and wrapped with it in a `<label>`, so\nthe text is both the accessible name and part of the hit target."
|
|
15
|
+
"description": "Inline label rendered beside the dot and wrapped with it in a `<label>`, so\nthe text is both the accessible name and part of the hit target.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "className",
|
|
19
23
|
"type": "string",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "Extra classes, merged over the dot defaults."
|
|
26
|
+
"description": "Extra classes, merged over the dot defaults.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "string"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "size",
|
|
26
33
|
"type": "\"sm\" | \"md\"",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": "md",
|
|
29
|
-
"description": "Rung of the density icon ladder for the dot. Defaults to `\"md\"`."
|
|
36
|
+
"description": "Rung of the density icon ladder for the dot. Defaults to `\"md\"`.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "enum",
|
|
39
|
+
"members": [
|
|
40
|
+
"sm",
|
|
41
|
+
"md"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
30
44
|
}
|
|
31
45
|
],
|
|
32
46
|
"typeReferences": [
|
|
@@ -12,91 +12,138 @@
|
|
|
12
12
|
"type": "number",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The rating, `0`–`count`. Use with `onValueChange` for a controlled widget."
|
|
15
|
+
"description": "The rating, `0`–`count`. Use with `onValueChange` for a controlled widget.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "number"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "defaultValue",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "0",
|
|
22
|
-
"description": "Initial rating for an uncontrolled widget. Defaults to `0`."
|
|
25
|
+
"description": "Initial rating for an uncontrolled widget. Defaults to `0`.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "onValueChange",
|
|
26
32
|
"type": "((value: number) => void)",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Called with the new rating; `0` means \"cleared\"."
|
|
35
|
+
"description": "Called with the new rating; `0` means \"cleared\".",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "callback",
|
|
38
|
+
"fixture": "callback.log"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "count",
|
|
33
43
|
"type": "number",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "5",
|
|
36
|
-
"description": "How many marks. Defaults to `5`."
|
|
46
|
+
"description": "How many marks. Defaults to `5`.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "number"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "size",
|
|
40
53
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
41
54
|
"required": false,
|
|
42
55
|
"defaultValue": "md",
|
|
43
|
-
"description": "Rung of the icon ladder. Defaults to `\"md\"`."
|
|
56
|
+
"description": "Rung of the icon ladder. Defaults to `\"md\"`.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "enum",
|
|
59
|
+
"members": [
|
|
60
|
+
"sm",
|
|
61
|
+
"md",
|
|
62
|
+
"lg"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
44
65
|
},
|
|
45
66
|
{
|
|
46
67
|
"name": "allowClear",
|
|
47
68
|
"type": "boolean",
|
|
48
69
|
"required": false,
|
|
49
70
|
"defaultValue": "true",
|
|
50
|
-
"description": "Picking the current value clears it back to `0`. Defaults to `true` — a\nrating you cannot take back is a trap, and there is no other affordance for\n\"actually, no opinion\"."
|
|
71
|
+
"description": "Picking the current value clears it back to `0`. Defaults to `true` — a\nrating you cannot take back is a trap, and there is no other affordance for\n\"actually, no opinion\".",
|
|
72
|
+
"control": {
|
|
73
|
+
"kind": "boolean"
|
|
74
|
+
}
|
|
51
75
|
},
|
|
52
76
|
{
|
|
53
77
|
"name": "readOnly",
|
|
54
78
|
"type": "boolean",
|
|
55
79
|
"required": false,
|
|
56
80
|
"defaultValue": "false",
|
|
57
|
-
"description": "Render a static readout with no controls."
|
|
81
|
+
"description": "Render a static readout with no controls.",
|
|
82
|
+
"control": {
|
|
83
|
+
"kind": "boolean"
|
|
84
|
+
}
|
|
58
85
|
},
|
|
59
86
|
{
|
|
60
87
|
"name": "disabled",
|
|
61
88
|
"type": "boolean",
|
|
62
89
|
"required": false,
|
|
63
90
|
"defaultValue": "false",
|
|
64
|
-
"description": "Grey the marks out and refuse interaction."
|
|
91
|
+
"description": "Grey the marks out and refuse interaction.",
|
|
92
|
+
"control": {
|
|
93
|
+
"kind": "boolean"
|
|
94
|
+
}
|
|
65
95
|
},
|
|
66
96
|
{
|
|
67
97
|
"name": "label",
|
|
68
98
|
"type": "string",
|
|
69
99
|
"required": false,
|
|
70
100
|
"defaultValue": null,
|
|
71
|
-
"description": "Accessible name for the group. Also the prefix of the read-only readout —\n`\"Signal quality: 4 of 5\"`. Synonym of `aria-label`, which wins if both are\ngiven."
|
|
101
|
+
"description": "Accessible name for the group. Also the prefix of the read-only readout —\n`\"Signal quality: 4 of 5\"`. Synonym of `aria-label`, which wins if both are\ngiven.",
|
|
102
|
+
"control": {
|
|
103
|
+
"kind": "string"
|
|
104
|
+
}
|
|
72
105
|
},
|
|
73
106
|
{
|
|
74
107
|
"name": "aria-label",
|
|
75
108
|
"type": "string",
|
|
76
109
|
"required": false,
|
|
77
110
|
"defaultValue": null,
|
|
78
|
-
"description": "Accessible name for the group, for callers who prefer the ARIA spelling."
|
|
111
|
+
"description": "Accessible name for the group, for callers who prefer the ARIA spelling.",
|
|
112
|
+
"control": {
|
|
113
|
+
"kind": "string"
|
|
114
|
+
}
|
|
79
115
|
},
|
|
80
116
|
{
|
|
81
117
|
"name": "icon",
|
|
82
118
|
"type": "ElementType<any, keyof IntrinsicElements>",
|
|
83
119
|
"required": false,
|
|
84
120
|
"defaultValue": "StarGlyph",
|
|
85
|
-
"description": "The mark component. Defaults to a filled star."
|
|
121
|
+
"description": "The mark component. Defaults to a filled star.",
|
|
122
|
+
"control": {
|
|
123
|
+
"kind": "opaque",
|
|
124
|
+
"fixture": "icon.play"
|
|
125
|
+
}
|
|
86
126
|
},
|
|
87
127
|
{
|
|
88
128
|
"name": "markLabel",
|
|
89
129
|
"type": "((index: number, count: number) => string)",
|
|
90
130
|
"required": false,
|
|
91
131
|
"defaultValue": "(index, total) => `${index} of ${total}`",
|
|
92
|
-
"description": "Accessible name for mark `index` (1-based) of `count`. Defaults to\n``(index, count) => `${index} of ${count}` ``."
|
|
132
|
+
"description": "Accessible name for mark `index` (1-based) of `count`. Defaults to\n``(index, count) => `${index} of ${count}` ``.",
|
|
133
|
+
"control": {
|
|
134
|
+
"kind": "callback",
|
|
135
|
+
"fixture": "callback.log"
|
|
136
|
+
}
|
|
93
137
|
},
|
|
94
138
|
{
|
|
95
139
|
"name": "className",
|
|
96
140
|
"type": "string",
|
|
97
141
|
"required": false,
|
|
98
142
|
"defaultValue": null,
|
|
99
|
-
"description": "Extra classes for the group."
|
|
143
|
+
"description": "Extra classes for the group.",
|
|
144
|
+
"control": {
|
|
145
|
+
"kind": "string"
|
|
146
|
+
}
|
|
100
147
|
}
|
|
101
148
|
],
|
|
102
149
|
"typeReferences": [
|
|
@@ -14,56 +14,83 @@
|
|
|
14
14
|
"type": "readonly string[]",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The answer split into words, so the spoken one can be lit without re-parsing the\ntext."
|
|
17
|
+
"description": "The answer split into words, so the spoken one can be lit without re-parsing the\ntext.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "array",
|
|
20
|
+
"fixture": "agent.transcript"
|
|
21
|
+
}
|
|
18
22
|
},
|
|
19
23
|
{
|
|
20
24
|
"name": "spokenIndex",
|
|
21
25
|
"type": "number",
|
|
22
26
|
"required": true,
|
|
23
27
|
"defaultValue": null,
|
|
24
|
-
"description": "Index of the word being spoken. Everything before it dims, everything after stays\nwaiting, and an index outside the text speaks none of it."
|
|
28
|
+
"description": "Index of the word being spoken. Everything before it dims, everything after stays\nwaiting, and an index outside the text speaks none of it.",
|
|
29
|
+
"control": {
|
|
30
|
+
"kind": "number"
|
|
31
|
+
}
|
|
25
32
|
},
|
|
26
33
|
{
|
|
27
34
|
"name": "playing",
|
|
28
35
|
"type": "boolean",
|
|
29
36
|
"required": true,
|
|
30
37
|
"defaultValue": null,
|
|
31
|
-
"description": "Swaps the transport button between play and pause."
|
|
38
|
+
"description": "Swaps the transport button between play and pause.",
|
|
39
|
+
"control": {
|
|
40
|
+
"kind": "boolean"
|
|
41
|
+
}
|
|
32
42
|
},
|
|
33
43
|
{
|
|
34
44
|
"name": "rate",
|
|
35
45
|
"type": "number",
|
|
36
46
|
"required": true,
|
|
37
47
|
"defaultValue": null,
|
|
38
|
-
"description": "Playback speed, printed on the rate control."
|
|
48
|
+
"description": "Playback speed, printed on the rate control.",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "number"
|
|
51
|
+
}
|
|
39
52
|
},
|
|
40
53
|
{
|
|
41
54
|
"name": "elapsed",
|
|
42
55
|
"type": "string",
|
|
43
56
|
"required": true,
|
|
44
57
|
"defaultValue": null,
|
|
45
|
-
"description": "Pre-formatted elapsed time."
|
|
58
|
+
"description": "Pre-formatted elapsed time.",
|
|
59
|
+
"control": {
|
|
60
|
+
"kind": "string"
|
|
61
|
+
}
|
|
46
62
|
},
|
|
47
63
|
{
|
|
48
64
|
"name": "duration",
|
|
49
65
|
"type": "string",
|
|
50
66
|
"required": true,
|
|
51
67
|
"defaultValue": null,
|
|
52
|
-
"description": "Pre-formatted total duration."
|
|
68
|
+
"description": "Pre-formatted total duration.",
|
|
69
|
+
"control": {
|
|
70
|
+
"kind": "string"
|
|
71
|
+
}
|
|
53
72
|
},
|
|
54
73
|
{
|
|
55
74
|
"name": "onToggle",
|
|
56
75
|
"type": "(() => void)",
|
|
57
76
|
"required": false,
|
|
58
77
|
"defaultValue": null,
|
|
59
|
-
"description": "Called when playback is started or paused."
|
|
78
|
+
"description": "Called when playback is started or paused.",
|
|
79
|
+
"control": {
|
|
80
|
+
"kind": "callback",
|
|
81
|
+
"fixture": "callback.log"
|
|
82
|
+
}
|
|
60
83
|
},
|
|
61
84
|
{
|
|
62
85
|
"name": "onRateChange",
|
|
63
86
|
"type": "(() => void)",
|
|
64
87
|
"required": false,
|
|
65
88
|
"defaultValue": null,
|
|
66
|
-
"description": "Called when the rate control is tapped; cycle the rate yourself."
|
|
89
|
+
"description": "Called when the rate control is tapped; cycle the rate yourself.",
|
|
90
|
+
"control": {
|
|
91
|
+
"kind": "callback",
|
|
92
|
+
"fixture": "callback.log"
|
|
93
|
+
}
|
|
67
94
|
}
|
|
68
95
|
],
|
|
69
96
|
"typeReferences": [
|
|
@@ -12,28 +12,41 @@
|
|
|
12
12
|
"type": "readonly EffortLevel[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Every tier on offer, each carrying its own token budget."
|
|
15
|
+
"description": "Every tier on offer, each carrying its own token budget.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "selectedKey",
|
|
19
22
|
"type": "string",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Which tier is active. Its budget becomes the denominator."
|
|
25
|
+
"description": "Which tier is active. Its budget becomes the denominator.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "string"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "spent",
|
|
26
32
|
"type": "number",
|
|
27
33
|
"required": true,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Thinking tokens used so far, filling the bar against the selected budget."
|
|
35
|
+
"description": "Thinking tokens used so far, filling the bar against the selected budget.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "number"
|
|
38
|
+
}
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
41
|
"name": "onSelect",
|
|
33
42
|
"type": "((key: string) => void)",
|
|
34
43
|
"required": false,
|
|
35
44
|
"defaultValue": null,
|
|
36
|
-
"description": "Called when a tier is picked."
|
|
45
|
+
"description": "Called when a tier is picked.",
|
|
46
|
+
"control": {
|
|
47
|
+
"kind": "callback",
|
|
48
|
+
"fixture": "callback.log"
|
|
49
|
+
}
|
|
37
50
|
}
|
|
38
51
|
],
|
|
39
52
|
"typeReferences": [
|
|
@@ -14,56 +14,81 @@
|
|
|
14
14
|
"type": "ReasoningStep[]",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Full list of reasoning steps available to reveal."
|
|
17
|
+
"description": "Full list of reasoning steps available to reveal.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "array"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "visibleSteps",
|
|
21
24
|
"type": "number",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "How many steps from the start are currently shown on the timeline."
|
|
27
|
+
"description": "How many steps from the start are currently shown on the timeline.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "number"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "streaming",
|
|
28
34
|
"type": "boolean",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "When true the trigger shows a shimmering Thinking label and the active step pulses."
|
|
37
|
+
"description": "When true the trigger shows a shimmering Thinking label and the active step pulses.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "boolean"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "open",
|
|
35
44
|
"type": "boolean",
|
|
36
45
|
"required": true,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "Whether the collapsible step list is expanded."
|
|
47
|
+
"description": "Whether the collapsible step list is expanded.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "boolean"
|
|
50
|
+
}
|
|
39
51
|
},
|
|
40
52
|
{
|
|
41
53
|
"name": "onOpenChange",
|
|
42
54
|
"type": "(open: boolean) => void",
|
|
43
55
|
"required": true,
|
|
44
56
|
"defaultValue": null,
|
|
45
|
-
"description": "Called when the user expands or collapses the panel."
|
|
57
|
+
"description": "Called when the user expands or collapses the panel.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "callback",
|
|
60
|
+
"fixture": "callback.log"
|
|
61
|
+
}
|
|
46
62
|
},
|
|
47
63
|
{
|
|
48
64
|
"name": "restingLabel",
|
|
49
65
|
"type": "string",
|
|
50
66
|
"required": true,
|
|
51
67
|
"defaultValue": null,
|
|
52
|
-
"description": "Trigger label once streaming finishes, for example a summary of how long it thought."
|
|
68
|
+
"description": "Trigger label once streaming finishes, for example a summary of how long it thought.",
|
|
69
|
+
"control": {
|
|
70
|
+
"kind": "string"
|
|
71
|
+
}
|
|
53
72
|
},
|
|
54
73
|
{
|
|
55
74
|
"name": "elapsed",
|
|
56
75
|
"type": "string",
|
|
57
76
|
"required": false,
|
|
58
77
|
"defaultValue": null,
|
|
59
|
-
"description": "Elapsed timer shown next to Thinking while streaming. Omit to hide it."
|
|
78
|
+
"description": "Elapsed timer shown next to Thinking while streaming. Omit to hide it.",
|
|
79
|
+
"control": {
|
|
80
|
+
"kind": "string"
|
|
81
|
+
}
|
|
60
82
|
},
|
|
61
83
|
{
|
|
62
84
|
"name": "className",
|
|
63
85
|
"type": "string",
|
|
64
86
|
"required": false,
|
|
65
87
|
"defaultValue": null,
|
|
66
|
-
"description": "Extra classes merged onto the root."
|
|
88
|
+
"description": "Extra classes merged onto the root.",
|
|
89
|
+
"control": {
|
|
90
|
+
"kind": "string"
|
|
91
|
+
}
|
|
67
92
|
}
|
|
68
93
|
],
|
|
69
94
|
"typeReferences": [],
|
|
@@ -14,49 +14,77 @@
|
|
|
14
14
|
"type": "\"idle\" | \"accepted\"",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "idle shows accept controls; accepted swaps in a confirmation row."
|
|
17
|
+
"description": "idle shows accept controls; accepted swaps in a confirmation row.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "enum",
|
|
20
|
+
"members": [
|
|
21
|
+
"idle",
|
|
22
|
+
"accepted"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
18
25
|
},
|
|
19
26
|
{
|
|
20
27
|
"name": "question",
|
|
21
28
|
"type": "string",
|
|
22
29
|
"required": true,
|
|
23
30
|
"defaultValue": null,
|
|
24
|
-
"description": "Proposal headline the agent is asking the user about."
|
|
31
|
+
"description": "Proposal headline the agent is asking the user about.",
|
|
32
|
+
"control": {
|
|
33
|
+
"kind": "string"
|
|
34
|
+
}
|
|
25
35
|
},
|
|
26
36
|
{
|
|
27
37
|
"name": "children",
|
|
28
38
|
"type": "ReactNode",
|
|
29
39
|
"required": true,
|
|
30
40
|
"defaultValue": null,
|
|
31
|
-
"description": "Supporting body explaining the recommendation."
|
|
41
|
+
"description": "Supporting body explaining the recommendation.",
|
|
42
|
+
"control": {
|
|
43
|
+
"kind": "node",
|
|
44
|
+
"fixture": "children.text"
|
|
45
|
+
}
|
|
32
46
|
},
|
|
33
47
|
{
|
|
34
48
|
"name": "confidenceLabel",
|
|
35
49
|
"type": "string",
|
|
36
50
|
"required": true,
|
|
37
51
|
"defaultValue": null,
|
|
38
|
-
"description": "Confidence copy shown next to the bar meter while idle."
|
|
52
|
+
"description": "Confidence copy shown next to the bar meter while idle.",
|
|
53
|
+
"control": {
|
|
54
|
+
"kind": "string"
|
|
55
|
+
}
|
|
39
56
|
},
|
|
40
57
|
{
|
|
41
58
|
"name": "acceptedLabel",
|
|
42
59
|
"type": "string",
|
|
43
60
|
"required": true,
|
|
44
61
|
"defaultValue": null,
|
|
45
|
-
"description": "Confirmation copy shown once the proposal is accepted."
|
|
62
|
+
"description": "Confirmation copy shown once the proposal is accepted.",
|
|
63
|
+
"control": {
|
|
64
|
+
"kind": "string"
|
|
65
|
+
}
|
|
46
66
|
},
|
|
47
67
|
{
|
|
48
68
|
"name": "onAccept",
|
|
49
69
|
"type": "(() => void)",
|
|
50
70
|
"required": false,
|
|
51
71
|
"defaultValue": null,
|
|
52
|
-
"description": "Called when the user clicks Accept."
|
|
72
|
+
"description": "Called when the user clicks Accept.",
|
|
73
|
+
"control": {
|
|
74
|
+
"kind": "callback",
|
|
75
|
+
"fixture": "callback.log"
|
|
76
|
+
}
|
|
53
77
|
},
|
|
54
78
|
{
|
|
55
79
|
"name": "onAlternatives",
|
|
56
80
|
"type": "(() => void)",
|
|
57
81
|
"required": false,
|
|
58
82
|
"defaultValue": null,
|
|
59
|
-
"description": "Called when the user clicks Alternatives."
|
|
83
|
+
"description": "Called when the user clicks Alternatives.",
|
|
84
|
+
"control": {
|
|
85
|
+
"kind": "callback",
|
|
86
|
+
"fixture": "callback.log"
|
|
87
|
+
}
|
|
60
88
|
}
|
|
61
89
|
],
|
|
62
90
|
"typeReferences": [
|
|
@@ -70,13 +98,10 @@
|
|
|
70
98
|
"--cue-fg",
|
|
71
99
|
"--cue-fg-muted",
|
|
72
100
|
"--cue-fg-subtle",
|
|
73
|
-
"--cue-font-mono",
|
|
74
101
|
"--cue-ok",
|
|
75
|
-
"--cue-radius-control",
|
|
76
102
|
"--cue-radius-overlay",
|
|
77
103
|
"--cue-surface-2",
|
|
78
104
|
"--cue-text-body",
|
|
79
|
-
"--cue-text-label",
|
|
80
105
|
"--cue-text-ui"
|
|
81
106
|
],
|
|
82
107
|
"summary": "The agent proposes a change with its confidence, and waits for a yes.",
|