@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
|
@@ -14,28 +14,41 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Document name."
|
|
17
|
+
"description": "Document name.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "version",
|
|
21
24
|
"type": "number",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Which revision is on screen."
|
|
27
|
+
"description": "Which revision is on screen.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "number"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "saved",
|
|
28
34
|
"type": "boolean",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Swaps the status between editing and saved."
|
|
37
|
+
"description": "Swaps the status between editing and saved.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "boolean"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "onClose",
|
|
35
44
|
"type": "(() => void)",
|
|
36
45
|
"required": false,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "Called when the canvas is dismissed."
|
|
47
|
+
"description": "Called when the canvas is dismissed.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "callback",
|
|
50
|
+
"fixture": "callback.log"
|
|
51
|
+
}
|
|
39
52
|
}
|
|
40
53
|
],
|
|
41
54
|
"typeReferences": [
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"type": "boolean",
|
|
15
15
|
"required": false,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Renders the line as a heading rather than body text."
|
|
17
|
+
"description": "Renders the line as a heading rather than body text.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "boolean"
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
22
|
],
|
|
20
23
|
"typeReferences": [
|
|
@@ -14,7 +14,14 @@
|
|
|
14
14
|
"type": "\"user\" | \"assistant\"",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "User turns sit right in a bubble, assistant turns run flush left. Emitted as\ndata-speaker for styling from outside; it is deliberately not called role, so the\nARIA attribute stays yours to set."
|
|
17
|
+
"description": "User turns sit right in a bubble, assistant turns run flush left. Emitted as\ndata-speaker for styling from outside; it is deliberately not called role, so the\nARIA attribute stays yours to set.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "enum",
|
|
20
|
+
"members": [
|
|
21
|
+
"user",
|
|
22
|
+
"assistant"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
18
25
|
}
|
|
19
26
|
],
|
|
20
27
|
"typeReferences": [
|
|
@@ -27,7 +27,10 @@
|
|
|
27
27
|
"type": "boolean",
|
|
28
28
|
"required": false,
|
|
29
29
|
"defaultValue": "false",
|
|
30
|
-
"description": "Separate the card's sections with hairline seams instead of whitespace.\n\nThe card is then filled with the border colour and its sections sit `1px`\napart, each painting its own opaque ground — the same idiom as `SeamList`,\nwhere the gap *is* the rule and can never double up with a border."
|
|
30
|
+
"description": "Separate the card's sections with hairline seams instead of whitespace.\n\nThe card is then filled with the border colour and its sections sit `1px`\napart, each painting its own opaque ground — the same idiom as `SeamList`,\nwhere the gap *is* the rule and can never double up with a border.",
|
|
31
|
+
"control": {
|
|
32
|
+
"kind": "boolean"
|
|
33
|
+
}
|
|
31
34
|
}
|
|
32
35
|
],
|
|
33
36
|
"typeReferences": [
|
|
@@ -44,14 +47,22 @@
|
|
|
44
47
|
"type": "ReactNode",
|
|
45
48
|
"required": false,
|
|
46
49
|
"defaultValue": null,
|
|
47
|
-
"description": "Right-hand slot: the controls that act on the whole card (a menu, a status\nchip, a count)."
|
|
50
|
+
"description": "Right-hand slot: the controls that act on the whole card (a menu, a status\nchip, a count).",
|
|
51
|
+
"control": {
|
|
52
|
+
"kind": "node",
|
|
53
|
+
"fixture": "children.text"
|
|
54
|
+
}
|
|
48
55
|
},
|
|
49
56
|
{
|
|
50
57
|
"name": "children",
|
|
51
58
|
"type": "ReactNode",
|
|
52
59
|
"required": false,
|
|
53
60
|
"defaultValue": null,
|
|
54
|
-
"description": "The leading cluster — normally a {@link CardTitle} and a description."
|
|
61
|
+
"description": "The leading cluster — normally a {@link CardTitle} and a description.",
|
|
62
|
+
"control": {
|
|
63
|
+
"kind": "node",
|
|
64
|
+
"fixture": "children.text"
|
|
65
|
+
}
|
|
55
66
|
}
|
|
56
67
|
],
|
|
57
68
|
"typeReferences": [
|
|
@@ -29,35 +29,55 @@
|
|
|
29
29
|
"type": "Partial<OptionsType>",
|
|
30
30
|
"required": false,
|
|
31
31
|
"defaultValue": null,
|
|
32
|
-
"description": "embla options, merged over the axis this component derives from `orientation`."
|
|
32
|
+
"description": "embla options, merged over the axis this component derives from `orientation`.",
|
|
33
|
+
"control": {
|
|
34
|
+
"kind": "opaque"
|
|
35
|
+
}
|
|
33
36
|
},
|
|
34
37
|
{
|
|
35
38
|
"name": "plugins",
|
|
36
39
|
"type": "CreatePluginType<LoosePluginType, {}>[]",
|
|
37
40
|
"required": false,
|
|
38
41
|
"defaultValue": null,
|
|
39
|
-
"description": "embla plugins (autoplay, class names, wheel gestures…)."
|
|
42
|
+
"description": "embla plugins (autoplay, class names, wheel gestures…).",
|
|
43
|
+
"control": {
|
|
44
|
+
"kind": "array"
|
|
45
|
+
}
|
|
40
46
|
},
|
|
41
47
|
{
|
|
42
48
|
"name": "orientation",
|
|
43
49
|
"type": "\"horizontal\" | \"vertical\"",
|
|
44
50
|
"required": false,
|
|
45
51
|
"defaultValue": "horizontal",
|
|
46
|
-
"description": "Which way the slides travel. Defaults to `\"horizontal\"`."
|
|
52
|
+
"description": "Which way the slides travel. Defaults to `\"horizontal\"`.",
|
|
53
|
+
"control": {
|
|
54
|
+
"kind": "enum",
|
|
55
|
+
"members": [
|
|
56
|
+
"horizontal",
|
|
57
|
+
"vertical"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
47
60
|
},
|
|
48
61
|
{
|
|
49
62
|
"name": "label",
|
|
50
63
|
"type": "string",
|
|
51
64
|
"required": false,
|
|
52
65
|
"defaultValue": "Carousel",
|
|
53
|
-
"description": "The region's accessible name. Defaults to `\"Carousel\"`."
|
|
66
|
+
"description": "The region's accessible name. Defaults to `\"Carousel\"`.",
|
|
67
|
+
"control": {
|
|
68
|
+
"kind": "string"
|
|
69
|
+
}
|
|
54
70
|
},
|
|
55
71
|
{
|
|
56
72
|
"name": "setApi",
|
|
57
73
|
"type": "((api: EmblaCarouselType) => void)",
|
|
58
74
|
"required": false,
|
|
59
75
|
"defaultValue": null,
|
|
60
|
-
"description": "Receives the embla instance once mounted — the escape hatch to its full API."
|
|
76
|
+
"description": "Receives the embla instance once mounted — the escape hatch to its full API.",
|
|
77
|
+
"control": {
|
|
78
|
+
"kind": "callback",
|
|
79
|
+
"fixture": "callback.log"
|
|
80
|
+
}
|
|
61
81
|
}
|
|
62
82
|
],
|
|
63
83
|
"typeReferences": [
|
|
@@ -74,7 +94,10 @@
|
|
|
74
94
|
"type": "string",
|
|
75
95
|
"required": false,
|
|
76
96
|
"defaultValue": null,
|
|
77
|
-
"description": "Extra classes for the flex track inside the viewport."
|
|
97
|
+
"description": "Extra classes for the flex track inside the viewport.",
|
|
98
|
+
"control": {
|
|
99
|
+
"kind": "string"
|
|
100
|
+
}
|
|
78
101
|
}
|
|
79
102
|
],
|
|
80
103
|
"typeReferences": [
|
|
@@ -91,7 +114,10 @@
|
|
|
91
114
|
"type": "string",
|
|
92
115
|
"required": false,
|
|
93
116
|
"defaultValue": null,
|
|
94
|
-
"description": "Override the spoken name. Defaults to `\"Slide <n> of <total>\"`."
|
|
117
|
+
"description": "Override the spoken name. Defaults to `\"Slide <n> of <total>\"`.",
|
|
118
|
+
"control": {
|
|
119
|
+
"kind": "string"
|
|
120
|
+
}
|
|
95
121
|
}
|
|
96
122
|
],
|
|
97
123
|
"typeReferences": [
|
|
@@ -108,14 +134,20 @@
|
|
|
108
134
|
"type": "string",
|
|
109
135
|
"required": false,
|
|
110
136
|
"defaultValue": "Previous slide",
|
|
111
|
-
"description": "Override the spoken name."
|
|
137
|
+
"description": "Override the spoken name.",
|
|
138
|
+
"control": {
|
|
139
|
+
"kind": "string"
|
|
140
|
+
}
|
|
112
141
|
},
|
|
113
142
|
{
|
|
114
143
|
"name": "render",
|
|
115
144
|
"type": "RenderProp<Record<string, unknown>>",
|
|
116
145
|
"required": false,
|
|
117
146
|
"defaultValue": null,
|
|
118
|
-
"description": "Replace the rendered element (Base UI render prop)."
|
|
147
|
+
"description": "Replace the rendered element (Base UI render prop).",
|
|
148
|
+
"control": {
|
|
149
|
+
"kind": "opaque"
|
|
150
|
+
}
|
|
119
151
|
}
|
|
120
152
|
],
|
|
121
153
|
"typeReferences": [
|
|
@@ -132,14 +164,20 @@
|
|
|
132
164
|
"type": "string",
|
|
133
165
|
"required": false,
|
|
134
166
|
"defaultValue": "Next slide",
|
|
135
|
-
"description": "Override the spoken name."
|
|
167
|
+
"description": "Override the spoken name.",
|
|
168
|
+
"control": {
|
|
169
|
+
"kind": "string"
|
|
170
|
+
}
|
|
136
171
|
},
|
|
137
172
|
{
|
|
138
173
|
"name": "render",
|
|
139
174
|
"type": "RenderProp<Record<string, unknown>>",
|
|
140
175
|
"required": false,
|
|
141
176
|
"defaultValue": null,
|
|
142
|
-
"description": "Replace the rendered element (Base UI render prop)."
|
|
177
|
+
"description": "Replace the rendered element (Base UI render prop).",
|
|
178
|
+
"control": {
|
|
179
|
+
"kind": "opaque"
|
|
180
|
+
}
|
|
143
181
|
}
|
|
144
182
|
],
|
|
145
183
|
"typeReferences": [
|
|
@@ -156,7 +194,11 @@
|
|
|
156
194
|
"type": "((index: number) => string)",
|
|
157
195
|
"required": false,
|
|
158
196
|
"defaultValue": "(index) => `Go to slide ${index + 1}`",
|
|
159
|
-
"description": "Builds each dot's spoken name. Defaults to `\"Go to slide <n>\"`."
|
|
197
|
+
"description": "Builds each dot's spoken name. Defaults to `\"Go to slide <n>\"`.",
|
|
198
|
+
"control": {
|
|
199
|
+
"kind": "callback",
|
|
200
|
+
"fixture": "callback.log"
|
|
201
|
+
}
|
|
160
202
|
}
|
|
161
203
|
],
|
|
162
204
|
"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": "The catalogue itself: everything there is, before anything has been narrowed.",
|
|
25
19
|
"examples": [],
|
|
26
20
|
"status": "todo-docs",
|
|
@@ -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": "The beta channel: the same things, one merge earlier.",
|
|
25
19
|
"examples": [],
|
|
26
20
|
"status": "todo-docs",
|
|
@@ -12,105 +12,170 @@
|
|
|
12
12
|
"type": "Uint8Array<ArrayBufferLike>",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The frame buffer: `universes × 512` bytes, universe 0 first.\n\nRead on every animation frame rather than on every render, so mutating it\nin place is the intended usage — that is what makes a 40 Hz stream cost one\n`requestAnimationFrame` instead of one React render per packet. The one\nthing that does not follow an in-place write is the accessible summary,\nwhich is computed in render and so refreshes when a new reference arrives."
|
|
15
|
+
"description": "The frame buffer: `universes × 512` bytes, universe 0 first.\n\nRead on every animation frame rather than on every render, so mutating it\nin place is the intended usage — that is what makes a 40 Hz stream cost one\n`requestAnimationFrame` instead of one React render per packet. The one\nthing that does not follow an in-place write is the accessible summary,\nwhich is computed in render and so refreshes when a new reference arrives.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "opaque"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "universes",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "1",
|
|
22
|
-
"description": "How many universes the buffer holds. Defaults to `1`."
|
|
25
|
+
"description": "How many universes the buffer holds. Defaults to `1`.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "universe",
|
|
26
32
|
"type": "number",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Selected universe, 0-based. Use with `onUniverseChange` for a controlled widget."
|
|
35
|
+
"description": "Selected universe, 0-based. Use with `onUniverseChange` for a controlled widget.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "number"
|
|
38
|
+
}
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
41
|
"name": "defaultUniverse",
|
|
33
42
|
"type": "number",
|
|
34
43
|
"required": false,
|
|
35
44
|
"defaultValue": "0",
|
|
36
|
-
"description": "Initially selected universe for an uncontrolled widget. Defaults to `0`."
|
|
45
|
+
"description": "Initially selected universe for an uncontrolled widget. Defaults to `0`.",
|
|
46
|
+
"control": {
|
|
47
|
+
"kind": "number"
|
|
48
|
+
}
|
|
37
49
|
},
|
|
38
50
|
{
|
|
39
51
|
"name": "onUniverseChange",
|
|
40
52
|
"type": "((universe: number) => void)",
|
|
41
53
|
"required": false,
|
|
42
54
|
"defaultValue": null,
|
|
43
|
-
"description": "Called with the universe a drill-in selected."
|
|
55
|
+
"description": "Called with the universe a drill-in selected.",
|
|
56
|
+
"control": {
|
|
57
|
+
"kind": "callback",
|
|
58
|
+
"fixture": "callback.log"
|
|
59
|
+
}
|
|
44
60
|
},
|
|
45
61
|
{
|
|
46
62
|
"name": "mode",
|
|
47
63
|
"type": "\"detail\" | \"overview\"",
|
|
48
64
|
"required": false,
|
|
49
65
|
"defaultValue": null,
|
|
50
|
-
"description": "Current view. Use with `onModeChange` for a controlled widget."
|
|
66
|
+
"description": "Current view. Use with `onModeChange` for a controlled widget.",
|
|
67
|
+
"control": {
|
|
68
|
+
"kind": "enum",
|
|
69
|
+
"members": [
|
|
70
|
+
"detail",
|
|
71
|
+
"overview"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
51
74
|
},
|
|
52
75
|
{
|
|
53
76
|
"name": "defaultMode",
|
|
54
77
|
"type": "\"detail\" | \"overview\"",
|
|
55
78
|
"required": false,
|
|
56
79
|
"defaultValue": "detail",
|
|
57
|
-
"description": "Initial view for an uncontrolled widget. Defaults to `\"detail\"`."
|
|
80
|
+
"description": "Initial view for an uncontrolled widget. Defaults to `\"detail\"`.",
|
|
81
|
+
"control": {
|
|
82
|
+
"kind": "enum",
|
|
83
|
+
"members": [
|
|
84
|
+
"detail",
|
|
85
|
+
"overview"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
58
88
|
},
|
|
59
89
|
{
|
|
60
90
|
"name": "onModeChange",
|
|
61
91
|
"type": "((mode: ChannelMatrixMode) => void)",
|
|
62
92
|
"required": false,
|
|
63
93
|
"defaultValue": null,
|
|
64
|
-
"description": "Called when the view changes, including on a drill-in."
|
|
94
|
+
"description": "Called when the view changes, including on a drill-in.",
|
|
95
|
+
"control": {
|
|
96
|
+
"kind": "callback",
|
|
97
|
+
"fixture": "callback.log"
|
|
98
|
+
}
|
|
65
99
|
},
|
|
66
100
|
{
|
|
67
101
|
"name": "ramp",
|
|
68
102
|
"type": "\"value\" | \"mono\"",
|
|
69
103
|
"required": false,
|
|
70
104
|
"defaultValue": null,
|
|
71
|
-
"description": "Cell colouring. Use with `onRampChange` for a controlled widget."
|
|
105
|
+
"description": "Cell colouring. Use with `onRampChange` for a controlled widget.",
|
|
106
|
+
"control": {
|
|
107
|
+
"kind": "enum",
|
|
108
|
+
"members": [
|
|
109
|
+
"value",
|
|
110
|
+
"mono"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
72
113
|
},
|
|
73
114
|
{
|
|
74
115
|
"name": "defaultRamp",
|
|
75
116
|
"type": "\"value\" | \"mono\"",
|
|
76
117
|
"required": false,
|
|
77
118
|
"defaultValue": "mono",
|
|
78
|
-
"description": "Initial cell colouring for an uncontrolled widget. Defaults to `\"mono\"`."
|
|
119
|
+
"description": "Initial cell colouring for an uncontrolled widget. Defaults to `\"mono\"`.",
|
|
120
|
+
"control": {
|
|
121
|
+
"kind": "enum",
|
|
122
|
+
"members": [
|
|
123
|
+
"value",
|
|
124
|
+
"mono"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
79
127
|
},
|
|
80
128
|
{
|
|
81
129
|
"name": "onRampChange",
|
|
82
130
|
"type": "((ramp: \"value\" | \"mono\") => void)",
|
|
83
131
|
"required": false,
|
|
84
132
|
"defaultValue": null,
|
|
85
|
-
"description": "Called when the colouring changes."
|
|
133
|
+
"description": "Called when the colouring changes.",
|
|
134
|
+
"control": {
|
|
135
|
+
"kind": "callback",
|
|
136
|
+
"fixture": "callback.log"
|
|
137
|
+
}
|
|
86
138
|
},
|
|
87
139
|
{
|
|
88
140
|
"name": "live",
|
|
89
141
|
"type": "boolean",
|
|
90
142
|
"required": false,
|
|
91
143
|
"defaultValue": "true",
|
|
92
|
-
"description": "Whether frames are still arriving. Defaults to `true`; `false` stops the repaint loop."
|
|
144
|
+
"description": "Whether frames are still arriving. Defaults to `true`; `false` stops the repaint loop.",
|
|
145
|
+
"control": {
|
|
146
|
+
"kind": "boolean"
|
|
147
|
+
}
|
|
93
148
|
},
|
|
94
149
|
{
|
|
95
150
|
"name": "controls",
|
|
96
151
|
"type": "boolean",
|
|
97
152
|
"required": false,
|
|
98
153
|
"defaultValue": "true",
|
|
99
|
-
"description": "Show the view and colouring buttons. Defaults to `true`."
|
|
154
|
+
"description": "Show the view and colouring buttons. Defaults to `true`.",
|
|
155
|
+
"control": {
|
|
156
|
+
"kind": "boolean"
|
|
157
|
+
}
|
|
100
158
|
},
|
|
101
159
|
{
|
|
102
160
|
"name": "label",
|
|
103
161
|
"type": "string",
|
|
104
162
|
"required": false,
|
|
105
163
|
"defaultValue": null,
|
|
106
|
-
"description": "What this output is. Defaults to `\"DMX output\"`."
|
|
164
|
+
"description": "What this output is. Defaults to `\"DMX output\"`.",
|
|
165
|
+
"control": {
|
|
166
|
+
"kind": "string"
|
|
167
|
+
}
|
|
107
168
|
},
|
|
108
169
|
{
|
|
109
170
|
"name": "formatUniverse",
|
|
110
171
|
"type": "((universe: number) => string)",
|
|
111
172
|
"required": false,
|
|
112
173
|
"defaultValue": "(value) => `Universe ${value}`",
|
|
113
|
-
"description": "Name a universe for its button and card. Defaults to `\"Universe 3\"` / `U03`."
|
|
174
|
+
"description": "Name a universe for its button and card. Defaults to `\"Universe 3\"` / `U03`.",
|
|
175
|
+
"control": {
|
|
176
|
+
"kind": "callback",
|
|
177
|
+
"fixture": "callback.log"
|
|
178
|
+
}
|
|
114
179
|
}
|
|
115
180
|
],
|
|
116
181
|
"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": "The released channel: what a colleague gets when they install without asking for anything in particular.",
|
|
25
19
|
"examples": [],
|
|
26
20
|
"status": "todo-docs",
|
|
@@ -14,42 +14,61 @@
|
|
|
14
14
|
"type": "ReactElement<unknown, string | JSXElementConstructor<any>>",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The chart. Exactly one element — recharts' container takes a single child."
|
|
17
|
+
"description": "The chart. Exactly one element — recharts' container takes a single child.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "height",
|
|
21
24
|
"type": "number",
|
|
22
25
|
"required": false,
|
|
23
26
|
"defaultValue": "200",
|
|
24
|
-
"description": "Plot height in px at the 16px root. Defaults to `200`. Ignored when `aspect` is set."
|
|
27
|
+
"description": "Plot height in px at the 16px root. Defaults to `200`. Ignored when `aspect` is set.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "number"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "aspect",
|
|
28
34
|
"type": "number",
|
|
29
35
|
"required": false,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Width-to-height ratio, letting the plot size itself from its column instead."
|
|
37
|
+
"description": "Width-to-height ratio, letting the plot size itself from its column instead.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "number"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "label",
|
|
35
44
|
"type": "string",
|
|
36
45
|
"required": false,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "What the chart shows. Given, the box becomes a named `figure`; a shape is\nnot self-describing, so name the series."
|
|
47
|
+
"description": "What the chart shows. Given, the box becomes a named `figure`; a shape is\nnot self-describing, so name the series.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "string"
|
|
50
|
+
}
|
|
39
51
|
},
|
|
40
52
|
{
|
|
41
53
|
"name": "tones",
|
|
42
54
|
"type": "readonly string[]",
|
|
43
55
|
"required": false,
|
|
44
56
|
"defaultValue": "[\n ...CHART_TONE_TOKENS.map(tokenRef),\n ...CHART_EXTENDED_TONES,\n]",
|
|
45
|
-
"description": "The series palette, published as `--chart-1`…`--chart-N`. Defaults to\n{@link CHART_TONES}."
|
|
57
|
+
"description": "The series palette, published as `--chart-1`…`--chart-N`. Defaults to\n{@link CHART_TONES}.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "array",
|
|
60
|
+
"fixture": "agent.transcript"
|
|
61
|
+
}
|
|
46
62
|
},
|
|
47
63
|
{
|
|
48
64
|
"name": "debounce",
|
|
49
65
|
"type": "number",
|
|
50
66
|
"required": false,
|
|
51
67
|
"defaultValue": null,
|
|
52
|
-
"description": "Throttle for the resize observer, in ms. Defaults to none."
|
|
68
|
+
"description": "Throttle for the resize observer, in ms. Defaults to none.",
|
|
69
|
+
"control": {
|
|
70
|
+
"kind": "number"
|
|
71
|
+
}
|
|
53
72
|
}
|
|
54
73
|
],
|
|
55
74
|
"typeReferences": [
|
|
@@ -59,10 +78,7 @@
|
|
|
59
78
|
"parts": [],
|
|
60
79
|
"variants": {},
|
|
61
80
|
"defaultVariants": {},
|
|
62
|
-
"tokensUsed": [
|
|
63
|
-
"--cue-accent",
|
|
64
|
-
"--cue-info"
|
|
65
|
-
],
|
|
81
|
+
"tokensUsed": [],
|
|
66
82
|
"summary": "The box every chart in this system sits in.",
|
|
67
83
|
"examples": [
|
|
68
84
|
{
|
|
@@ -12,21 +12,31 @@
|
|
|
12
12
|
"type": "readonly string[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The ramp, in order. Any CSS colours."
|
|
15
|
+
"description": "The ramp, in order. Any CSS colours.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array",
|
|
18
|
+
"fixture": "agent.transcript"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "label",
|
|
19
23
|
"type": "string",
|
|
20
24
|
"required": true,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "What the ramp encodes. Required: it is the strip's accessible name."
|
|
26
|
+
"description": "What the ramp encodes. Required: it is the strip's accessible name.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "string"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "height",
|
|
26
33
|
"type": "number",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": "8",
|
|
29
|
-
"description": "Strip height in px at the 16px root, emitted as `rem`. Defaults to `8`."
|
|
36
|
+
"description": "Strip height in px at the 16px root, emitted as `rem`. Defaults to `8`.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "number"
|
|
39
|
+
}
|
|
30
40
|
}
|
|
31
41
|
],
|
|
32
42
|
"typeReferences": [
|
|
@@ -12,14 +12,21 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The colour to show. Any CSS colour, including a `var()` reference."
|
|
15
|
+
"description": "The colour to show. Any CSS colour, including a `var()` reference.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "label",
|
|
19
22
|
"type": "ReactNode",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "What the colour stands for. Omit for a bare chip."
|
|
25
|
+
"description": "What the colour stands for. Omit for a bare chip.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "node",
|
|
28
|
+
"fixture": "children.text"
|
|
29
|
+
}
|
|
23
30
|
}
|
|
24
31
|
],
|
|
25
32
|
"typeReferences": [
|