@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,35 +14,52 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The refusal in one line, stated plainly rather than apologetically."
|
|
17
|
+
"description": "The refusal in one line, stated plainly rather than apologetically.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "explanation",
|
|
21
24
|
"type": "string",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Why, and where the line actually sits."
|
|
27
|
+
"description": "Why, and where the line actually sits.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "string"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "policy",
|
|
28
34
|
"type": "string",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Short label for the rule that applied."
|
|
37
|
+
"description": "Short label for the rule that applied.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "string"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "alternatives",
|
|
35
44
|
"type": "readonly string[]",
|
|
36
45
|
"required": true,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "The nearest things it can do. Pass an empty array to hide the section."
|
|
47
|
+
"description": "The nearest things it can do. Pass an empty array to hide the section.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "array",
|
|
50
|
+
"fixture": "agent.transcript"
|
|
51
|
+
}
|
|
39
52
|
},
|
|
40
53
|
{
|
|
41
54
|
"name": "onPick",
|
|
42
55
|
"type": "((alternative: string) => void)",
|
|
43
56
|
"required": false,
|
|
44
57
|
"defaultValue": null,
|
|
45
|
-
"description": "Called when an alternative is chosen."
|
|
58
|
+
"description": "Called when an alternative is chosen.",
|
|
59
|
+
"control": {
|
|
60
|
+
"kind": "callback",
|
|
61
|
+
"fixture": "callback.log"
|
|
62
|
+
}
|
|
46
63
|
}
|
|
47
64
|
],
|
|
48
65
|
"typeReferences": [
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
"type": "boolean",
|
|
25
25
|
"required": false,
|
|
26
26
|
"defaultValue": "true",
|
|
27
|
-
"description": "Close the card when the viewport moves under it — a wheel anywhere outside\nthe popup, or a window resize. Defaults to `true`, for the same reason as\n`Popover`: an anchored popup is placed from its trigger's rect, and a canvas\nthat pans by CSS transform fires no `scroll` event."
|
|
27
|
+
"description": "Close the card when the viewport moves under it — a wheel anywhere outside\nthe popup, or a window resize. Defaults to `true`, for the same reason as\n`Popover`: an anchored popup is placed from its trigger's rect, and a canvas\nthat pans by CSS transform fires no `scroll` event.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "boolean"
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
32
|
],
|
|
30
33
|
"typeReferences": [
|
|
@@ -50,49 +53,83 @@
|
|
|
50
53
|
"type": "string",
|
|
51
54
|
"required": false,
|
|
52
55
|
"defaultValue": null,
|
|
53
|
-
"description": "Extra classes for the popup surface."
|
|
56
|
+
"description": "Extra classes for the popup surface.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "string"
|
|
59
|
+
}
|
|
54
60
|
},
|
|
55
61
|
{
|
|
56
62
|
"name": "align",
|
|
57
63
|
"type": "\"center\" | \"end\" | \"start\"",
|
|
58
64
|
"required": false,
|
|
59
65
|
"defaultValue": null,
|
|
60
|
-
"description": "Alignment along that side. Defaults to `\"center\"`."
|
|
66
|
+
"description": "Alignment along that side. Defaults to `\"center\"`.",
|
|
67
|
+
"control": {
|
|
68
|
+
"kind": "enum",
|
|
69
|
+
"members": [
|
|
70
|
+
"center",
|
|
71
|
+
"end",
|
|
72
|
+
"start"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
61
75
|
},
|
|
62
76
|
{
|
|
63
77
|
"name": "keepMounted",
|
|
64
78
|
"type": "boolean",
|
|
65
79
|
"required": false,
|
|
66
80
|
"defaultValue": null,
|
|
67
|
-
"description": "Keep the popup mounted while closed."
|
|
81
|
+
"description": "Keep the popup mounted while closed.",
|
|
82
|
+
"control": {
|
|
83
|
+
"kind": "boolean"
|
|
84
|
+
}
|
|
68
85
|
},
|
|
69
86
|
{
|
|
70
87
|
"name": "positionerClassName",
|
|
71
88
|
"type": "string",
|
|
72
89
|
"required": false,
|
|
73
90
|
"defaultValue": null,
|
|
74
|
-
"description": "Extra classes for the positioner that places the popup."
|
|
91
|
+
"description": "Extra classes for the positioner that places the popup.",
|
|
92
|
+
"control": {
|
|
93
|
+
"kind": "string"
|
|
94
|
+
}
|
|
75
95
|
},
|
|
76
96
|
{
|
|
77
97
|
"name": "sideOffset",
|
|
78
98
|
"type": "number | OffsetFunction",
|
|
79
99
|
"required": false,
|
|
80
100
|
"defaultValue": "4",
|
|
81
|
-
"description": "Gap in px between trigger and popup. Defaults to `4`."
|
|
101
|
+
"description": "Gap in px between trigger and popup. Defaults to `4`.",
|
|
102
|
+
"control": {
|
|
103
|
+
"kind": "opaque"
|
|
104
|
+
}
|
|
82
105
|
},
|
|
83
106
|
{
|
|
84
107
|
"name": "side",
|
|
85
108
|
"type": "\"left\" | \"right\" | \"bottom\" | \"top\" | \"inline-end\" | \"inline-start\"",
|
|
86
109
|
"required": false,
|
|
87
110
|
"defaultValue": null,
|
|
88
|
-
"description": "Preferred side of the trigger. Defaults to `\"bottom\"`."
|
|
111
|
+
"description": "Preferred side of the trigger. Defaults to `\"bottom\"`.",
|
|
112
|
+
"control": {
|
|
113
|
+
"kind": "enum",
|
|
114
|
+
"members": [
|
|
115
|
+
"left",
|
|
116
|
+
"right",
|
|
117
|
+
"bottom",
|
|
118
|
+
"top",
|
|
119
|
+
"inline-end",
|
|
120
|
+
"inline-start"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
89
123
|
},
|
|
90
124
|
{
|
|
91
125
|
"name": "alignOffset",
|
|
92
126
|
"type": "number | OffsetFunction",
|
|
93
127
|
"required": false,
|
|
94
128
|
"defaultValue": null,
|
|
95
|
-
"description": "Nudge along the alignment axis, in px."
|
|
129
|
+
"description": "Nudge along the alignment axis, in px.",
|
|
130
|
+
"control": {
|
|
131
|
+
"kind": "opaque"
|
|
132
|
+
}
|
|
96
133
|
}
|
|
97
134
|
],
|
|
98
135
|
"typeReferences": [
|
|
@@ -12,28 +12,46 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Required. An icon-only control has no text to name it, so the label is not\noptional — the type makes forgetting it a compile error."
|
|
15
|
+
"description": "Required. An icon-only control has no text to name it, so the label is not\noptional — the type makes forgetting it a compile error.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "icon",
|
|
19
22
|
"type": "ElementType<any, keyof IntrinsicElements>",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "The icon component to render (e.g. a lucide icon). Rendered `aria-hidden`\nand sized to the density icon token."
|
|
25
|
+
"description": "The icon component to render (e.g. a lucide icon). Rendered `aria-hidden`\nand sized to the density icon token.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "opaque",
|
|
28
|
+
"fixture": "icon.play"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "render",
|
|
26
33
|
"type": "RenderProp<Record<string, unknown>>",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": null,
|
|
29
|
-
"description": "Replace the rendered element (Base UI render prop)."
|
|
36
|
+
"description": "Replace the rendered element (Base UI render prop).",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "opaque"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "size",
|
|
33
43
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "md",
|
|
36
|
-
"description": ""
|
|
46
|
+
"description": "",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "enum",
|
|
49
|
+
"members": [
|
|
50
|
+
"sm",
|
|
51
|
+
"md",
|
|
52
|
+
"lg"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
37
55
|
}
|
|
38
56
|
],
|
|
39
57
|
"typeReferences": [
|
|
@@ -14,14 +14,20 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Prompt text shown under the image frame."
|
|
17
|
+
"description": "Prompt text shown under the image frame.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "generating",
|
|
21
24
|
"type": "boolean",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "When true the frame holds a pulsing dot grid; otherwise the image resolves."
|
|
27
|
+
"description": "When true the frame holds a pulsing dot grid; otherwise the image resolves.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "boolean"
|
|
30
|
+
}
|
|
25
31
|
}
|
|
26
32
|
],
|
|
27
33
|
"typeReferences": [
|
|
@@ -12,49 +12,84 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The explanation to reveal. One or two sentences; longer belongs in a `Popover`."
|
|
15
|
+
"description": "The explanation to reveal. One or two sentences; longer belongs in a `Popover`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "width",
|
|
19
23
|
"type": "number",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": "224",
|
|
22
|
-
"description": "Width of the revealed panel in px, applied as rem so it scales with the\nroot font size. Defaults to `224`."
|
|
26
|
+
"description": "Width of the revealed panel in px, applied as rem so it scales with the\nroot font size. Defaults to `224`.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "number"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "label",
|
|
26
33
|
"type": "string",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": "More information",
|
|
29
|
-
"description": "Accessible name for the badge. Defaults to `\"More information\"`."
|
|
36
|
+
"description": "Accessible name for the badge. Defaults to `\"More information\"`.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "string"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "side",
|
|
33
43
|
"type": "\"left\" | \"right\" | \"bottom\" | \"top\" | \"inline-end\" | \"inline-start\"",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "top",
|
|
36
|
-
"description": "Preferred side of the badge. Defaults to `\"top\"`."
|
|
46
|
+
"description": "Preferred side of the badge. Defaults to `\"top\"`.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "enum",
|
|
49
|
+
"members": [
|
|
50
|
+
"left",
|
|
51
|
+
"right",
|
|
52
|
+
"bottom",
|
|
53
|
+
"top",
|
|
54
|
+
"inline-end",
|
|
55
|
+
"inline-start"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
37
58
|
},
|
|
38
59
|
{
|
|
39
60
|
"name": "align",
|
|
40
61
|
"type": "\"center\" | \"end\" | \"start\"",
|
|
41
62
|
"required": false,
|
|
42
63
|
"defaultValue": null,
|
|
43
|
-
"description": "Alignment along that side. Defaults to `\"center\"`."
|
|
64
|
+
"description": "Alignment along that side. Defaults to `\"center\"`.",
|
|
65
|
+
"control": {
|
|
66
|
+
"kind": "enum",
|
|
67
|
+
"members": [
|
|
68
|
+
"center",
|
|
69
|
+
"end",
|
|
70
|
+
"start"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
44
73
|
},
|
|
45
74
|
{
|
|
46
75
|
"name": "delay",
|
|
47
76
|
"type": "number",
|
|
48
77
|
"required": false,
|
|
49
78
|
"defaultValue": "200",
|
|
50
|
-
"description": "Hover delay in ms before the panel appears. Defaults to `200`."
|
|
79
|
+
"description": "Hover delay in ms before the panel appears. Defaults to `200`.",
|
|
80
|
+
"control": {
|
|
81
|
+
"kind": "number"
|
|
82
|
+
}
|
|
51
83
|
},
|
|
52
84
|
{
|
|
53
85
|
"name": "className",
|
|
54
86
|
"type": "string",
|
|
55
87
|
"required": false,
|
|
56
88
|
"defaultValue": null,
|
|
57
|
-
"description": "Extra classes for the badge."
|
|
89
|
+
"description": "Extra classes for the badge.",
|
|
90
|
+
"control": {
|
|
91
|
+
"kind": "string"
|
|
92
|
+
}
|
|
58
93
|
}
|
|
59
94
|
],
|
|
60
95
|
"typeReferences": [],
|
|
@@ -12,21 +12,32 @@
|
|
|
12
12
|
"type": "CitationSource[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Sources attached to the numbered reference markers in the sentence."
|
|
15
|
+
"description": "Sources attached to the numbered reference markers in the sentence.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "openIndex",
|
|
19
22
|
"type": "number | null",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Which citation preview is open, or null when none is open."
|
|
25
|
+
"description": "Which citation preview is open, or null when none is open.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number",
|
|
28
|
+
"nullable": true
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "onOpenIndexChange",
|
|
26
33
|
"type": "(index: number | null) => void",
|
|
27
34
|
"required": true,
|
|
28
35
|
"defaultValue": null,
|
|
29
|
-
"description": "Called when a citation marker opens or closes its preview."
|
|
36
|
+
"description": "Called when a citation marker opens or closes its preview.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "callback",
|
|
39
|
+
"fixture": "callback.log"
|
|
40
|
+
}
|
|
30
41
|
}
|
|
31
42
|
],
|
|
32
43
|
"typeReferences": [
|
|
@@ -12,28 +12,48 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Content pinned to the left gutter — a glyph, a unit prefix, a protocol."
|
|
15
|
+
"description": "Content pinned to the left gutter — a glyph, a unit prefix, a protocol.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "trailing",
|
|
19
23
|
"type": "ReactNode",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "Content pinned to the right gutter — a unit suffix, a `Kbd`, a clear button."
|
|
26
|
+
"description": "Content pinned to the right gutter — a unit suffix, a `Kbd`, a clear button.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "node",
|
|
29
|
+
"fixture": "children.text"
|
|
30
|
+
}
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
"name": "size",
|
|
26
34
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
27
35
|
"required": false,
|
|
28
36
|
"defaultValue": null,
|
|
29
|
-
"description": "Rung of the control ladder for the whole cluster. Defaults to `\"md\"`."
|
|
37
|
+
"description": "Rung of the control ladder for the whole cluster. Defaults to `\"md\"`.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "enum",
|
|
40
|
+
"members": [
|
|
41
|
+
"sm",
|
|
42
|
+
"md",
|
|
43
|
+
"lg"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
30
46
|
},
|
|
31
47
|
{
|
|
32
48
|
"name": "children",
|
|
33
49
|
"type": "ReactNode",
|
|
34
50
|
"required": true,
|
|
35
51
|
"defaultValue": null,
|
|
36
|
-
"description": "The control. An {@link Input } here renders bare and fills the middle."
|
|
52
|
+
"description": "The control. An {@link Input } here renders bare and fills the middle.",
|
|
53
|
+
"control": {
|
|
54
|
+
"kind": "node",
|
|
55
|
+
"fixture": "children.text"
|
|
56
|
+
}
|
|
37
57
|
}
|
|
38
58
|
],
|
|
39
59
|
"typeReferences": [
|
|
@@ -44,7 +64,6 @@
|
|
|
44
64
|
"variants": {},
|
|
45
65
|
"defaultVariants": {},
|
|
46
66
|
"tokensUsed": [
|
|
47
|
-
"--cue-accent",
|
|
48
67
|
"--cue-border",
|
|
49
68
|
"--cue-border-strong",
|
|
50
69
|
"--cue-control-lg",
|
|
@@ -12,14 +12,25 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Extra classes, merged over the chassis."
|
|
15
|
+
"description": "Extra classes, merged over the chassis.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "size",
|
|
19
22
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Rung of the control ladder. Defaults to `\"md\"`. Shadows the native `size`\nattribute (a character count), which nothing in a token-driven layout wants."
|
|
25
|
+
"description": "Rung of the control ladder. Defaults to `\"md\"`. Shadows the native `size`\nattribute (a character count), which nothing in a token-driven layout wants.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "enum",
|
|
28
|
+
"members": [
|
|
29
|
+
"sm",
|
|
30
|
+
"md",
|
|
31
|
+
"lg"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
23
34
|
}
|
|
24
35
|
],
|
|
25
36
|
"typeReferences": [
|
|
@@ -30,7 +41,6 @@
|
|
|
30
41
|
"variants": {},
|
|
31
42
|
"defaultVariants": {},
|
|
32
43
|
"tokensUsed": [
|
|
33
|
-
"--cue-accent",
|
|
34
44
|
"--cue-border",
|
|
35
45
|
"--cue-border-strong",
|
|
36
46
|
"--cue-control-lg",
|
|
@@ -12,56 +12,90 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Leading slot: an icon, an avatar, a status dot."
|
|
15
|
+
"description": "Leading slot: an icon, an avatar, a status dot.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "title",
|
|
19
23
|
"type": "ReactNode",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "The item's name — one line, truncated rather than wrapped."
|
|
26
|
+
"description": "The item's name — one line, truncated rather than wrapped.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "node",
|
|
29
|
+
"fixture": "children.text"
|
|
30
|
+
}
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
"name": "description",
|
|
26
34
|
"type": "ReactNode",
|
|
27
35
|
"required": false,
|
|
28
36
|
"defaultValue": null,
|
|
29
|
-
"description": "One supporting line under the title, a rung smaller and muted."
|
|
37
|
+
"description": "One supporting line under the title, a rung smaller and muted.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "node",
|
|
40
|
+
"fixture": "children.text"
|
|
41
|
+
}
|
|
30
42
|
},
|
|
31
43
|
{
|
|
32
44
|
"name": "actions",
|
|
33
45
|
"type": "ReactNode",
|
|
34
46
|
"required": false,
|
|
35
47
|
"defaultValue": null,
|
|
36
|
-
"description": "Trailing slot: a value, a chip, a control.\n\nDo not combine with `interactive` — the whole item is then a `<button>`,\nand a button may not contain another one. Put the controls beside the item\ninstead, or drop `interactive` and make the title itself the link."
|
|
48
|
+
"description": "Trailing slot: a value, a chip, a control.\n\nDo not combine with `interactive` — the whole item is then a `<button>`,\nand a button may not contain another one. Put the controls beside the item\ninstead, or drop `interactive` and make the title itself the link.",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "node",
|
|
51
|
+
"fixture": "children.text"
|
|
52
|
+
}
|
|
37
53
|
},
|
|
38
54
|
{
|
|
39
55
|
"name": "variant",
|
|
40
56
|
"type": "\"plain\" | \"outline\" | \"soft\"",
|
|
41
57
|
"required": false,
|
|
42
58
|
"defaultValue": null,
|
|
43
|
-
"description": "Which framing to paint. Defaults to `\"plain\"`."
|
|
59
|
+
"description": "Which framing to paint. Defaults to `\"plain\"`.",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "enum",
|
|
62
|
+
"members": [
|
|
63
|
+
"plain",
|
|
64
|
+
"outline",
|
|
65
|
+
"soft"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
44
68
|
},
|
|
45
69
|
{
|
|
46
70
|
"name": "interactive",
|
|
47
71
|
"type": "boolean",
|
|
48
72
|
"required": false,
|
|
49
73
|
"defaultValue": "false",
|
|
50
|
-
"description": "Render as a `<button>` with hover feedback and a focus ring instead of a\nstatic `<div>`. Use for items that select, open or toggle something."
|
|
74
|
+
"description": "Render as a `<button>` with hover feedback and a focus ring instead of a\nstatic `<div>`. Use for items that select, open or toggle something.",
|
|
75
|
+
"control": {
|
|
76
|
+
"kind": "boolean"
|
|
77
|
+
}
|
|
51
78
|
},
|
|
52
79
|
{
|
|
53
80
|
"name": "disabled",
|
|
54
81
|
"type": "boolean",
|
|
55
82
|
"required": false,
|
|
56
83
|
"defaultValue": null,
|
|
57
|
-
"description": "Disable the interactive form. Ignored when `interactive` is not set."
|
|
84
|
+
"description": "Disable the interactive form. Ignored when `interactive` is not set.",
|
|
85
|
+
"control": {
|
|
86
|
+
"kind": "boolean"
|
|
87
|
+
}
|
|
58
88
|
},
|
|
59
89
|
{
|
|
60
90
|
"name": "children",
|
|
61
91
|
"type": "ReactNode",
|
|
62
92
|
"required": false,
|
|
63
93
|
"defaultValue": null,
|
|
64
|
-
"description": "Extra content between the text column and the action slot."
|
|
94
|
+
"description": "Extra content between the text column and the action slot.",
|
|
95
|
+
"control": {
|
|
96
|
+
"kind": "node",
|
|
97
|
+
"fixture": "children.text"
|
|
98
|
+
}
|
|
65
99
|
}
|
|
66
100
|
],
|
|
67
101
|
"typeReferences": [
|
|
@@ -14,42 +14,61 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "What the job is doing."
|
|
17
|
+
"description": "What the job is doing.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "stages",
|
|
21
24
|
"type": "readonly JobStage[]",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Stages with relative weights, so a long install does not read the same as a fast\nclone."
|
|
27
|
+
"description": "Stages with relative weights, so a long install does not read the same as a fast\nclone.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "array"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "stageIndex",
|
|
28
34
|
"type": "number",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Which stage is running. Passing stages.length marks the job finished, and the bar\nnever runs past its track."
|
|
37
|
+
"description": "Which stage is running. Passing stages.length marks the job finished, and the bar\nnever runs past its track.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "number"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "stageProgress",
|
|
35
44
|
"type": "number",
|
|
36
45
|
"required": true,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "Progress inside the current stage, 0 to 1."
|
|
47
|
+
"description": "Progress inside the current stage, 0 to 1.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "number"
|
|
50
|
+
}
|
|
39
51
|
},
|
|
40
52
|
{
|
|
41
53
|
"name": "eta",
|
|
42
54
|
"type": "string",
|
|
43
55
|
"required": true,
|
|
44
56
|
"defaultValue": null,
|
|
45
|
-
"description": "Pre-formatted estimate. Replaced by done once finished."
|
|
57
|
+
"description": "Pre-formatted estimate. Replaced by done once finished.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "string"
|
|
60
|
+
}
|
|
46
61
|
},
|
|
47
62
|
{
|
|
48
63
|
"name": "onCancel",
|
|
49
64
|
"type": "(() => void)",
|
|
50
65
|
"required": false,
|
|
51
66
|
"defaultValue": null,
|
|
52
|
-
"description": "Called to stop the job. Hidden once it finishes."
|
|
67
|
+
"description": "Called to stop the job. Hidden once it finishes.",
|
|
68
|
+
"control": {
|
|
69
|
+
"kind": "callback",
|
|
70
|
+
"fixture": "callback.log"
|
|
71
|
+
}
|
|
53
72
|
}
|
|
54
73
|
],
|
|
55
74
|
"typeReferences": [
|