@cueplusplus/ui 0.9.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 +195 -0
- package/README.md +91 -9
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -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/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-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 +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 +12 -5
- 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 +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 +8 -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 +23 -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 +106 -0
- package/manifest/manifest.json +315 -297
- package/manifest/tokens.json +2 -2
- package/package.json +7 -6
|
@@ -12,63 +12,95 @@
|
|
|
12
12
|
"type": "readonly number[] | Float32Array<ArrayBufferLike>",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "One level per band, `0`–`1`, in the ramp's own order.\n\nPositional rather than keyed by band id: an FFT hands back an array forty\ntimes a second, and building a lookup per frame to match it up is work for\nno information."
|
|
15
|
+
"description": "One level per band, `0`–`1`, in the ramp's own order.\n\nPositional rather than keyed by band id: an FFT hands back an array forty\ntimes a second, and building a lookup per frame to match it up is work for\nno information.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "opaque"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "ramp",
|
|
19
22
|
"type": "readonly FrequencyBand[] | \"bands-7\" | \"bands-10\" | \"bands-16\" | \"bands-31\"",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "bands-7",
|
|
22
|
-
"description": "The bands: a ramp from `/charts` by name, or a band list. Defaults to `\"bands-7\"`."
|
|
25
|
+
"description": "The bands: a ramp from `/charts` by name, or a band list. Defaults to `\"bands-7\"`.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "opaque"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "mode",
|
|
26
32
|
"type": "\"line\" | \"bars\"",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": "bars",
|
|
29
|
-
"description": "Bars or a line trace. Defaults to `\"bars\"`."
|
|
35
|
+
"description": "Bars or a line trace. Defaults to `\"bars\"`.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "enum",
|
|
38
|
+
"members": [
|
|
39
|
+
"line",
|
|
40
|
+
"bars"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
30
43
|
},
|
|
31
44
|
{
|
|
32
45
|
"name": "thresholds",
|
|
33
46
|
"type": "number | readonly number[]",
|
|
34
47
|
"required": false,
|
|
35
48
|
"defaultValue": null,
|
|
36
|
-
"description": "Trigger levels to rule, one per band or one for all of them."
|
|
49
|
+
"description": "Trigger levels to rule, one per band or one for all of them.",
|
|
50
|
+
"control": {
|
|
51
|
+
"kind": "opaque"
|
|
52
|
+
}
|
|
37
53
|
},
|
|
38
54
|
{
|
|
39
55
|
"name": "selected",
|
|
40
56
|
"type": "readonly string[]",
|
|
41
57
|
"required": false,
|
|
42
58
|
"defaultValue": null,
|
|
43
|
-
"description": "Band ids to keep bright. Empty or absent means every band is bright."
|
|
59
|
+
"description": "Band ids to keep bright. Empty or absent means every band is bright.",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "array",
|
|
62
|
+
"fixture": "agent.transcript"
|
|
63
|
+
}
|
|
44
64
|
},
|
|
45
65
|
{
|
|
46
66
|
"name": "sensitivity",
|
|
47
67
|
"type": "number",
|
|
48
68
|
"required": false,
|
|
49
69
|
"defaultValue": "1",
|
|
50
|
-
"description": "Display gain applied to every level before drawing. Defaults to `1`."
|
|
70
|
+
"description": "Display gain applied to every level before drawing. Defaults to `1`.",
|
|
71
|
+
"control": {
|
|
72
|
+
"kind": "number"
|
|
73
|
+
}
|
|
51
74
|
},
|
|
52
75
|
{
|
|
53
76
|
"name": "height",
|
|
54
77
|
"type": "number",
|
|
55
78
|
"required": false,
|
|
56
79
|
"defaultValue": "96",
|
|
57
|
-
"description": "Graph height in px at the 16px root, emitted as `rem`. Defaults to `96`."
|
|
80
|
+
"description": "Graph height in px at the 16px root, emitted as `rem`. Defaults to `96`.",
|
|
81
|
+
"control": {
|
|
82
|
+
"kind": "number"
|
|
83
|
+
}
|
|
58
84
|
},
|
|
59
85
|
{
|
|
60
86
|
"name": "labels",
|
|
61
87
|
"type": "boolean",
|
|
62
88
|
"required": false,
|
|
63
89
|
"defaultValue": "true",
|
|
64
|
-
"description": "List the band names under the graph. Defaults to `true`."
|
|
90
|
+
"description": "List the band names under the graph. Defaults to `true`.",
|
|
91
|
+
"control": {
|
|
92
|
+
"kind": "boolean"
|
|
93
|
+
}
|
|
65
94
|
},
|
|
66
95
|
{
|
|
67
96
|
"name": "label",
|
|
68
97
|
"type": "string",
|
|
69
98
|
"required": false,
|
|
70
99
|
"defaultValue": "Spectrum",
|
|
71
|
-
"description": "What is being analysed. Defaults to `\"Spectrum\"`."
|
|
100
|
+
"description": "What is being analysed. Defaults to `\"Spectrum\"`.",
|
|
101
|
+
"control": {
|
|
102
|
+
"kind": "string"
|
|
103
|
+
}
|
|
72
104
|
}
|
|
73
105
|
],
|
|
74
106
|
"typeReferences": [
|
|
@@ -79,7 +111,6 @@
|
|
|
79
111
|
"variants": {},
|
|
80
112
|
"defaultVariants": {},
|
|
81
113
|
"tokensUsed": [
|
|
82
|
-
"--cue-accent",
|
|
83
114
|
"--cue-border",
|
|
84
115
|
"--cue-data-ground",
|
|
85
116
|
"--cue-font-mono",
|
|
@@ -12,14 +12,24 @@
|
|
|
12
12
|
"type": "\"sm\" | \"md\"",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "md",
|
|
15
|
-
"description": "Rung of the density icon ladder to draw at. Defaults to `\"md\"`."
|
|
15
|
+
"description": "Rung of the density icon ladder to draw at. Defaults to `\"md\"`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"sm",
|
|
20
|
+
"md"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
16
23
|
},
|
|
17
24
|
{
|
|
18
25
|
"name": "label",
|
|
19
26
|
"type": "string",
|
|
20
27
|
"required": false,
|
|
21
28
|
"defaultValue": "Loading",
|
|
22
|
-
"description": "Accessible label announced while the spinner is on screen. Defaults to `\"Loading\"`."
|
|
29
|
+
"description": "Accessible label announced while the spinner is on screen. Defaults to `\"Loading\"`.",
|
|
30
|
+
"control": {
|
|
31
|
+
"kind": "string"
|
|
32
|
+
}
|
|
23
33
|
}
|
|
24
34
|
],
|
|
25
35
|
"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": "One person's stack: the set of things they have actually installed.",
|
|
25
19
|
"examples": [],
|
|
26
20
|
"status": "todo-docs",
|
|
@@ -12,42 +12,90 @@
|
|
|
12
12
|
"type": "\"row\" | \"column\"",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "column",
|
|
15
|
-
"description": "`\"column\"` (default) or `\"row\"`."
|
|
15
|
+
"description": "`\"column\"` (default) or `\"row\"`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"row",
|
|
20
|
+
"column"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
16
23
|
},
|
|
17
24
|
{
|
|
18
25
|
"name": "gap",
|
|
19
26
|
"type": "0 | 4 | 8 | 1 | 2 | 3 | 5 | 6 | 7",
|
|
20
27
|
"required": false,
|
|
21
28
|
"defaultValue": "4",
|
|
22
|
-
"description": "Which rung of the density space ladder to spend between children. Defaults to `4`."
|
|
29
|
+
"description": "Which rung of the density space ladder to spend between children. Defaults to `4`.",
|
|
30
|
+
"control": {
|
|
31
|
+
"kind": "enum",
|
|
32
|
+
"members": [
|
|
33
|
+
0,
|
|
34
|
+
4,
|
|
35
|
+
8,
|
|
36
|
+
1,
|
|
37
|
+
2,
|
|
38
|
+
3,
|
|
39
|
+
5,
|
|
40
|
+
6,
|
|
41
|
+
7
|
|
42
|
+
],
|
|
43
|
+
"min": 0,
|
|
44
|
+
"max": 8
|
|
45
|
+
}
|
|
23
46
|
},
|
|
24
47
|
{
|
|
25
48
|
"name": "align",
|
|
26
49
|
"type": "\"center\" | \"end\" | \"baseline\" | \"start\" | \"stretch\"",
|
|
27
50
|
"required": false,
|
|
28
51
|
"defaultValue": null,
|
|
29
|
-
"description": "Cross-axis alignment. Omit to inherit the flex default (`stretch`)."
|
|
52
|
+
"description": "Cross-axis alignment. Omit to inherit the flex default (`stretch`).",
|
|
53
|
+
"control": {
|
|
54
|
+
"kind": "enum",
|
|
55
|
+
"members": [
|
|
56
|
+
"center",
|
|
57
|
+
"end",
|
|
58
|
+
"baseline",
|
|
59
|
+
"start",
|
|
60
|
+
"stretch"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
30
63
|
},
|
|
31
64
|
{
|
|
32
65
|
"name": "justify",
|
|
33
66
|
"type": "\"center\" | \"end\" | \"start\" | \"between\"",
|
|
34
67
|
"required": false,
|
|
35
68
|
"defaultValue": null,
|
|
36
|
-
"description": "Main-axis distribution. Omit to inherit the flex default (`start`)."
|
|
69
|
+
"description": "Main-axis distribution. Omit to inherit the flex default (`start`).",
|
|
70
|
+
"control": {
|
|
71
|
+
"kind": "enum",
|
|
72
|
+
"members": [
|
|
73
|
+
"center",
|
|
74
|
+
"end",
|
|
75
|
+
"start",
|
|
76
|
+
"between"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
37
79
|
},
|
|
38
80
|
{
|
|
39
81
|
"name": "wrap",
|
|
40
82
|
"type": "boolean",
|
|
41
83
|
"required": false,
|
|
42
84
|
"defaultValue": "false",
|
|
43
|
-
"description": "Let a row wrap onto more lines."
|
|
85
|
+
"description": "Let a row wrap onto more lines.",
|
|
86
|
+
"control": {
|
|
87
|
+
"kind": "boolean"
|
|
88
|
+
}
|
|
44
89
|
},
|
|
45
90
|
{
|
|
46
91
|
"name": "inline",
|
|
47
92
|
"type": "boolean",
|
|
48
93
|
"required": false,
|
|
49
94
|
"defaultValue": "false",
|
|
50
|
-
"description": "Lay out as `inline-flex`, so the stack sits in a line of text."
|
|
95
|
+
"description": "Lay out as `inline-flex`, so the stack sits in a line of text.",
|
|
96
|
+
"control": {
|
|
97
|
+
"kind": "boolean"
|
|
98
|
+
}
|
|
51
99
|
}
|
|
52
100
|
],
|
|
53
101
|
"typeReferences": [
|
|
@@ -58,7 +106,6 @@
|
|
|
58
106
|
"variants": {},
|
|
59
107
|
"defaultVariants": {},
|
|
60
108
|
"tokensUsed": [
|
|
61
|
-
"--cue-space-",
|
|
62
109
|
"--cue-space-1",
|
|
63
110
|
"--cue-space-2",
|
|
64
111
|
"--cue-space-3",
|
|
@@ -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": "Every stack at once, one column each: who has what, read across.",
|
|
25
19
|
"examples": [],
|
|
26
20
|
"status": "todo-docs",
|
|
@@ -12,28 +12,52 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "What is being measured. Rendered as a micro uppercase caption."
|
|
15
|
+
"description": "What is being measured. Rendered as a micro uppercase caption.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "value",
|
|
19
23
|
"type": "ReactNode",
|
|
20
24
|
"required": true,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "The reading itself — the one thing the eye should land on."
|
|
26
|
+
"description": "The reading itself — the one thing the eye should land on.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "node",
|
|
29
|
+
"fixture": "children.text"
|
|
30
|
+
}
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
"name": "detail",
|
|
26
34
|
"type": "ReactNode",
|
|
27
35
|
"required": false,
|
|
28
36
|
"defaultValue": null,
|
|
29
|
-
"description": "Optional second line: a delta, a window, a unit."
|
|
37
|
+
"description": "Optional second line: a delta, a window, a unit.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "node",
|
|
40
|
+
"fixture": "children.text"
|
|
41
|
+
}
|
|
30
42
|
},
|
|
31
43
|
{
|
|
32
44
|
"name": "tone",
|
|
33
45
|
"type": "\"danger\" | \"accent\" | \"busy\" | \"neutral\" | \"ok\" | \"warn\" | \"info\"",
|
|
34
46
|
"required": false,
|
|
35
47
|
"defaultValue": "neutral",
|
|
36
|
-
"description": "Tints the value only. Defaults to `\"neutral\"`."
|
|
48
|
+
"description": "Tints the value only. Defaults to `\"neutral\"`.",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "enum",
|
|
51
|
+
"members": [
|
|
52
|
+
"danger",
|
|
53
|
+
"accent",
|
|
54
|
+
"busy",
|
|
55
|
+
"neutral",
|
|
56
|
+
"ok",
|
|
57
|
+
"warn",
|
|
58
|
+
"info"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
37
61
|
}
|
|
38
62
|
],
|
|
39
63
|
"typeReferences": [
|
|
@@ -25,49 +25,84 @@
|
|
|
25
25
|
"type": "\"accent\" | \"danger\" | \"busy\" | \"neutral\" | \"ok\" | \"warn\" | \"info\"",
|
|
26
26
|
"required": false,
|
|
27
27
|
"defaultValue": "neutral",
|
|
28
|
-
"description": "Ink for this item. Defaults to the bar's own subtle grey."
|
|
28
|
+
"description": "Ink for this item. Defaults to the bar's own subtle grey.",
|
|
29
|
+
"control": {
|
|
30
|
+
"kind": "enum",
|
|
31
|
+
"members": [
|
|
32
|
+
"accent",
|
|
33
|
+
"danger",
|
|
34
|
+
"busy",
|
|
35
|
+
"neutral",
|
|
36
|
+
"ok",
|
|
37
|
+
"warn",
|
|
38
|
+
"info"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
29
41
|
},
|
|
30
42
|
{
|
|
31
43
|
"name": "push",
|
|
32
44
|
"type": "boolean",
|
|
33
45
|
"required": false,
|
|
34
46
|
"defaultValue": "false",
|
|
35
|
-
"description": "Start the trailing cluster here: pushes this item and everything after it\nto the far edge. Cheaper and more robust than a spacer element, which a\ncaller has to remember to keep in the right place."
|
|
47
|
+
"description": "Start the trailing cluster here: pushes this item and everything after it\nto the far edge. Cheaper and more robust than a spacer element, which a\ncaller has to remember to keep in the right place.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "boolean"
|
|
50
|
+
}
|
|
36
51
|
},
|
|
37
52
|
{
|
|
38
53
|
"name": "icon",
|
|
39
54
|
"type": "ElementType<any, keyof IntrinsicElements>",
|
|
40
55
|
"required": false,
|
|
41
56
|
"defaultValue": null,
|
|
42
|
-
"description": "Optional leading icon (e.g. a lucide icon), drawn `aria-hidden`."
|
|
57
|
+
"description": "Optional leading icon (e.g. a lucide icon), drawn `aria-hidden`.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "opaque",
|
|
60
|
+
"fixture": "icon.play"
|
|
61
|
+
}
|
|
43
62
|
},
|
|
44
63
|
{
|
|
45
64
|
"name": "interactive",
|
|
46
65
|
"type": "boolean",
|
|
47
66
|
"required": false,
|
|
48
67
|
"defaultValue": "false",
|
|
49
|
-
"description": "Make the item a real control: a `<button type=\"button\">` with hover, press\nand keyboard-focus feedback. Defaults to `false`.\n\nA native button, not a `<div>` with an `onClick` — keyboard order is DOM\norder, `Enter` and `Space` work because the platform makes them work, and\nassistive technology is told what the thing is by the element rather than\nby a role attribute that has to be kept honest by hand.\n\n**An icon-only interactive item needs an `aria-label`.** There is no text\nfor a screen reader to read and the icon is drawn `aria-hidden`, so without\none the control announces as \"button\" and nothing else."
|
|
68
|
+
"description": "Make the item a real control: a `<button type=\"button\">` with hover, press\nand keyboard-focus feedback. Defaults to `false`.\n\nA native button, not a `<div>` with an `onClick` — keyboard order is DOM\norder, `Enter` and `Space` work because the platform makes them work, and\nassistive technology is told what the thing is by the element rather than\nby a role attribute that has to be kept honest by hand.\n\n**An icon-only interactive item needs an `aria-label`.** There is no text\nfor a screen reader to read and the icon is drawn `aria-hidden`, so without\none the control announces as \"button\" and nothing else.",
|
|
69
|
+
"control": {
|
|
70
|
+
"kind": "boolean"
|
|
71
|
+
}
|
|
50
72
|
},
|
|
51
73
|
{
|
|
52
74
|
"name": "prominence",
|
|
53
75
|
"type": "\"quiet\" | \"filled\"",
|
|
54
76
|
"required": false,
|
|
55
77
|
"defaultValue": "quiet",
|
|
56
|
-
"description": "How loudly the item states itself. Defaults to `\"quiet\"`.\n\n`quiet` is a reading: tone ink on the bar's own ground. `filled` is a chip\n— a full-height tone wash behind tone ink — for the small set of states\nthat earn a colour of their own: a warning, an error, the remote you are\nattached to. It is loud deliberately, and a bar of five filled items is a\nbar nobody reads."
|
|
78
|
+
"description": "How loudly the item states itself. Defaults to `\"quiet\"`.\n\n`quiet` is a reading: tone ink on the bar's own ground. `filled` is a chip\n— a full-height tone wash behind tone ink — for the small set of states\nthat earn a colour of their own: a warning, an error, the remote you are\nattached to. It is loud deliberately, and a bar of five filled items is a\nbar nobody reads.",
|
|
79
|
+
"control": {
|
|
80
|
+
"kind": "enum",
|
|
81
|
+
"members": [
|
|
82
|
+
"quiet",
|
|
83
|
+
"filled"
|
|
84
|
+
]
|
|
85
|
+
}
|
|
57
86
|
},
|
|
58
87
|
{
|
|
59
88
|
"name": "render",
|
|
60
89
|
"type": "RenderProp<Record<string, unknown>>",
|
|
61
90
|
"required": false,
|
|
62
91
|
"defaultValue": null,
|
|
63
|
-
"description": "Replace the rendered element (Base UI render prop) — `render={<a href=\"…\" />}`\nfor a status item that navigates.\n\nImplies {@link StatusBarItemProps.interactive}: whatever is rendered gets\nthe control chassis, because an element a reader can click has to look like\none whether it is a button or a link."
|
|
92
|
+
"description": "Replace the rendered element (Base UI render prop) — `render={<a href=\"…\" />}`\nfor a status item that navigates.\n\nImplies {@link StatusBarItemProps.interactive}: whatever is rendered gets\nthe control chassis, because an element a reader can click has to look like\none whether it is a button or a link.",
|
|
93
|
+
"control": {
|
|
94
|
+
"kind": "opaque"
|
|
95
|
+
}
|
|
64
96
|
},
|
|
65
97
|
{
|
|
66
98
|
"name": "disabled",
|
|
67
99
|
"type": "boolean",
|
|
68
100
|
"required": false,
|
|
69
101
|
"defaultValue": null,
|
|
70
|
-
"description": "Grey the control out, take it out of the pointer's reach and announce it as\ndisabled. Defaults to `false`. Ignored by a static item, which is a reading\nand not a control.\n\nHonoured whatever {@link StatusBarItemProps.render} renders, but by two\nroutes: the `disabled` attribute where it means something — the default\n`<button>`, a form control, a component that takes a `disabled` prop of its\nown — and `aria-disabled` plus `data-disabled` everywhere, which is all an\nanchor gets. There is no such thing as a disabled link; a link that should\nnot be followed should not be a link, and this states the intent rather\nthan pretending to enforce it."
|
|
102
|
+
"description": "Grey the control out, take it out of the pointer's reach and announce it as\ndisabled. Defaults to `false`. Ignored by a static item, which is a reading\nand not a control.\n\nHonoured whatever {@link StatusBarItemProps.render} renders, but by two\nroutes: the `disabled` attribute where it means something — the default\n`<button>`, a form control, a component that takes a `disabled` prop of its\nown — and `aria-disabled` plus `data-disabled` everywhere, which is all an\nanchor gets. There is no such thing as a disabled link; a link that should\nnot be followed should not be a link, and this states the intent rather\nthan pretending to enforce it.",
|
|
103
|
+
"control": {
|
|
104
|
+
"kind": "boolean"
|
|
105
|
+
}
|
|
71
106
|
}
|
|
72
107
|
],
|
|
73
108
|
"typeReferences": [
|
|
@@ -84,14 +119,20 @@
|
|
|
84
119
|
"type": "boolean",
|
|
85
120
|
"required": false,
|
|
86
121
|
"defaultValue": "false",
|
|
87
|
-
"description": "Start the trailing cluster at this group: pushes it and everything after it\nto the far edge, exactly as `push` does on a single item."
|
|
122
|
+
"description": "Start the trailing cluster at this group: pushes it and everything after it\nto the far edge, exactly as `push` does on a single item.",
|
|
123
|
+
"control": {
|
|
124
|
+
"kind": "boolean"
|
|
125
|
+
}
|
|
88
126
|
},
|
|
89
127
|
{
|
|
90
128
|
"name": "aria-label",
|
|
91
129
|
"type": "string",
|
|
92
130
|
"required": false,
|
|
93
131
|
"defaultValue": null,
|
|
94
|
-
"description": "What the cluster is called. Optional, and worth giving whenever the members\nonly make sense together — \"Repository\", \"Connection\" — because a `group`\nwith no name is a landmark a screen reader reads straight past."
|
|
132
|
+
"description": "What the cluster is called. Optional, and worth giving whenever the members\nonly make sense together — \"Repository\", \"Connection\" — because a `group`\nwith no name is a landmark a screen reader reads straight past.",
|
|
133
|
+
"control": {
|
|
134
|
+
"kind": "string"
|
|
135
|
+
}
|
|
95
136
|
}
|
|
96
137
|
],
|
|
97
138
|
"typeReferences": [
|
|
@@ -12,28 +12,47 @@
|
|
|
12
12
|
"type": "\"danger\" | \"idle\" | \"busy\" | \"ok\" | \"warn\"",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Which state to paint. `idle` renders a hollow ring."
|
|
15
|
+
"description": "Which state to paint. `idle` renders a hollow ring.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"danger",
|
|
20
|
+
"idle",
|
|
21
|
+
"busy",
|
|
22
|
+
"ok",
|
|
23
|
+
"warn"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
16
26
|
},
|
|
17
27
|
{
|
|
18
28
|
"name": "pulse",
|
|
19
29
|
"type": "boolean",
|
|
20
30
|
"required": false,
|
|
21
31
|
"defaultValue": "false",
|
|
22
|
-
"description": "Pulse the dot to signal live activity. Automatically stilled under\n`prefers-reduced-motion`."
|
|
32
|
+
"description": "Pulse the dot to signal live activity. Automatically stilled under\n`prefers-reduced-motion`.",
|
|
33
|
+
"control": {
|
|
34
|
+
"kind": "boolean"
|
|
35
|
+
}
|
|
23
36
|
},
|
|
24
37
|
{
|
|
25
38
|
"name": "size",
|
|
26
39
|
"type": "number",
|
|
27
40
|
"required": false,
|
|
28
41
|
"defaultValue": "6",
|
|
29
|
-
"description": "Diameter in px at the default 16px root font size. Emitted as `rem`, so it\nscales with browser zoom and the user's font size. Defaults to `6`."
|
|
42
|
+
"description": "Diameter in px at the default 16px root font size. Emitted as `rem`, so it\nscales with browser zoom and the user's font size. Defaults to `6`.",
|
|
43
|
+
"control": {
|
|
44
|
+
"kind": "number"
|
|
45
|
+
}
|
|
30
46
|
},
|
|
31
47
|
{
|
|
32
48
|
"name": "label",
|
|
33
49
|
"type": "string",
|
|
34
50
|
"required": false,
|
|
35
51
|
"defaultValue": null,
|
|
36
|
-
"description": "Screen-reader text. Defaults to the tone name, which is usually the honest\nanswer; pass something specific when the surrounding row does not say it."
|
|
52
|
+
"description": "Screen-reader text. Defaults to the tone name, which is usually the honest\nanswer; pass something specific when the surrounding row does not say it.",
|
|
53
|
+
"control": {
|
|
54
|
+
"kind": "string"
|
|
55
|
+
}
|
|
37
56
|
}
|
|
38
57
|
],
|
|
39
58
|
"typeReferences": [
|
|
@@ -12,35 +12,52 @@
|
|
|
12
12
|
"type": "readonly StepperStep[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The steps, in order."
|
|
15
|
+
"description": "The steps, in order.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "current",
|
|
19
22
|
"type": "string",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "The `id` of the step in progress. An unknown id leaves every step upcoming."
|
|
25
|
+
"description": "The `id` of the step in progress. An unknown id leaves every step upcoming.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "string"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "onStepChange",
|
|
26
32
|
"type": "((id: string) => void)",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Called with the `id` of a step the user asked to go back to. Passing it\nturns the finished steps into buttons; leaving it off keeps the trail\nstatic, which is the honest rendering when the earlier steps cannot be\nrevisited."
|
|
35
|
+
"description": "Called with the `id` of a step the user asked to go back to. Passing it\nturns the finished steps into buttons; leaving it off keeps the trail\nstatic, which is the honest rendering when the earlier steps cannot be\nrevisited.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "callback",
|
|
38
|
+
"fixture": "callback.log"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "separator",
|
|
33
43
|
"type": "ReactNode",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "·",
|
|
36
|
-
"description": "What sits between steps. Defaults to `\"·\"`."
|
|
46
|
+
"description": "What sits between steps. Defaults to `\"·\"`.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "node",
|
|
49
|
+
"fixture": "children.text"
|
|
50
|
+
}
|
|
37
51
|
},
|
|
38
52
|
{
|
|
39
53
|
"name": "label",
|
|
40
54
|
"type": "string",
|
|
41
55
|
"required": false,
|
|
42
56
|
"defaultValue": "Progress",
|
|
43
|
-
"description": "The nav's accessible name. Defaults to `\"Progress\"`."
|
|
57
|
+
"description": "The nav's accessible name. Defaults to `\"Progress\"`.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "string"
|
|
60
|
+
}
|
|
44
61
|
}
|
|
45
62
|
],
|
|
46
63
|
"typeReferences": [
|
|
@@ -14,28 +14,43 @@
|
|
|
14
14
|
"type": "readonly string[]",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The partial answer as it stood when the run stopped. It stays on screen."
|
|
17
|
+
"description": "The partial answer as it stood when the run stopped. It stays on screen.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "array",
|
|
20
|
+
"fixture": "agent.transcript"
|
|
21
|
+
}
|
|
18
22
|
},
|
|
19
23
|
{
|
|
20
24
|
"name": "reason",
|
|
21
25
|
"type": "string",
|
|
22
26
|
"required": true,
|
|
23
27
|
"defaultValue": null,
|
|
24
|
-
"description": "Why it ended: stopped by you, hit the token limit, timed out."
|
|
28
|
+
"description": "Why it ended: stopped by you, hit the token limit, timed out.",
|
|
29
|
+
"control": {
|
|
30
|
+
"kind": "string"
|
|
31
|
+
}
|
|
25
32
|
},
|
|
26
33
|
{
|
|
27
34
|
"name": "onContinue",
|
|
28
35
|
"type": "(() => void)",
|
|
29
36
|
"required": false,
|
|
30
37
|
"defaultValue": null,
|
|
31
|
-
"description": "Called to resume from where the answer left off."
|
|
38
|
+
"description": "Called to resume from where the answer left off.",
|
|
39
|
+
"control": {
|
|
40
|
+
"kind": "callback",
|
|
41
|
+
"fixture": "callback.log"
|
|
42
|
+
}
|
|
32
43
|
},
|
|
33
44
|
{
|
|
34
45
|
"name": "onDiscard",
|
|
35
46
|
"type": "(() => void)",
|
|
36
47
|
"required": false,
|
|
37
48
|
"defaultValue": null,
|
|
38
|
-
"description": "Called to drop the partial answer."
|
|
49
|
+
"description": "Called to drop the partial answer.",
|
|
50
|
+
"control": {
|
|
51
|
+
"kind": "callback",
|
|
52
|
+
"fixture": "callback.log"
|
|
53
|
+
}
|
|
39
54
|
}
|
|
40
55
|
],
|
|
41
56
|
"typeReferences": [
|
|
@@ -12,21 +12,30 @@
|
|
|
12
12
|
"type": "Segment[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Text chunks to stream, optionally marked mono for inline code chips."
|
|
15
|
+
"description": "Text chunks to stream, optionally marked mono for inline code chips.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "count",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "How many words from the flattened segments are visible."
|
|
25
|
+
"description": "How many words from the flattened segments are visible.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "streaming",
|
|
26
32
|
"type": "boolean",
|
|
27
33
|
"required": true,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "When true the newest words tint blue and a caret blinks at the end."
|
|
35
|
+
"description": "When true the newest words tint blue and a caret blinks at the end.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "boolean"
|
|
38
|
+
}
|
|
30
39
|
}
|
|
31
40
|
],
|
|
32
41
|
"typeReferences": [
|