@cueplusplus/ui 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +457 -0
- package/README.md +131 -0
- package/dist/chat/message-list.js +2 -1
- package/dist/configurator/_export.d.ts +1 -1
- package/dist/configurator/_export.js +53 -13
- package/dist/configurator/_overrides.d.ts +25 -6
- package/dist/configurator/_overrides.js +30 -17
- package/dist/configurator/configurator.js +8 -3
- package/dist/configurator/panel-sections.js +43 -13
- package/dist/elements/command-palette.js +1 -1
- package/dist/elements/flow-graph.js +2 -2
- package/dist/elements/markdown.js +1 -1
- package/dist/elements/surfaces.js +4 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +5 -2
- package/dist/instruments/meter.d.ts +5 -1
- package/dist/layout/bento.d.ts +144 -0
- package/dist/layout/bento.js +266 -0
- package/dist/layout/index.d.ts +3 -2
- package/dist/layout/index.js +3 -2
- package/dist/midi/piano-keyboard.js +5 -1
- package/dist/primitives/button.d.ts +12 -0
- package/dist/styles.css +23 -1
- package/dist/system/density.d.ts +17 -8
- package/dist/system/density.js +39 -16
- package/dist/system/index.d.ts +5 -2
- package/dist/system/index.js +3 -1
- package/dist/system/overrides.d.ts +80 -0
- package/dist/system/overrides.js +277 -0
- package/dist/system/portal.d.ts +4 -2
- package/dist/system/portal.js +34 -3
- package/dist/system/prepaint.d.ts +58 -7
- package/dist/system/prepaint.js +72 -20
- package/dist/system/theme-provider.d.ts +133 -8
- package/dist/system/theme-provider.js +203 -72
- package/dist/system/theme-registry.d.ts +53 -0
- package/dist/system/theme-registry.js +66 -0
- package/dist/system/use-density.d.ts +13 -5
- package/dist/system/use-density.js +142 -13
- package/dist/system/use-theme.d.ts +5 -3
- package/dist/system/use-theme.js +5 -3
- package/dist/system/vocabulary.d.ts +15 -0
- package/dist/system/vocabulary.js +111 -0
- package/dist/theming/contrast.d.ts +2 -122
- package/dist/theming/contrast.js +2 -194
- package/dist/theming/create-theme.d.ts +37 -11
- package/dist/theming/create-theme.js +54 -17
- package/dist/theming/index.d.ts +3 -4
- package/dist/theming/index.js +3 -4
- package/dist/theming/serialize.d.ts +24 -11
- package/dist/theming/serialize.js +16 -18
- package/manifest/components/accordion.json +24 -6
- package/manifest/components/activity-graph.json +20 -5
- package/manifest/components/agent-card.json +37 -9
- package/manifest/components/agent-handoff.json +21 -5
- package/manifest/components/agent-mode-badge.json +22 -4
- package/manifest/components/agent-pile.json +38 -8
- package/manifest/components/agent-plan.json +9 -2
- package/manifest/components/agent-status.json +17 -3
- package/manifest/components/agent-surface.json +26 -11
- package/manifest/components/alert-dialog.json +29 -5
- package/manifest/components/animated-number.json +14 -6
- package/manifest/components/app-bar.json +66 -13
- package/manifest/components/app-shell.json +133 -31
- package/manifest/components/app-window-frame.json +28 -6
- package/manifest/components/approval-card.json +37 -7
- package/manifest/components/artifact-card.json +16 -4
- package/manifest/components/ask-box.json +99 -21
- package/manifest/components/audience-icon.json +1 -7
- package/manifest/components/autocomplete.json +80 -18
- package/manifest/components/avatar-group.json +13 -2
- package/manifest/components/avatar.json +22 -4
- package/manifest/components/background-inbox.json +9 -2
- package/manifest/components/bento.json +306 -0
- package/manifest/components/branch-picker.json +29 -7
- package/manifest/components/breadcrumb.json +13 -3
- package/manifest/components/button-group.json +21 -4
- package/manifest/components/button.json +41 -4
- package/manifest/components/canvas-split-body.json +4 -1
- package/manifest/components/canvas-split-header.json +17 -4
- package/manifest/components/canvas-split-line.json +4 -1
- package/manifest/components/canvas-split-message.json +8 -1
- package/manifest/components/card.json +14 -3
- package/manifest/components/carousel.json +54 -12
- package/manifest/components/catalogue-icon.json +1 -7
- package/manifest/components/channel-beta-icon.json +1 -7
- package/manifest/components/channel-matrix.json +80 -15
- package/manifest/components/channel-released-icon.json +1 -7
- package/manifest/components/chart-container.json +26 -10
- package/manifest/components/chart-ramp.json +13 -3
- package/manifest/components/chart-swatch.json +9 -2
- package/manifest/components/chart-tooltip-content.json +31 -7
- package/manifest/components/chart.json +30 -6
- package/manifest/components/chat-panel-composer.json +9 -2
- package/manifest/components/checkbox-group.json +4 -2
- package/manifest/components/checkbox.json +17 -4
- package/manifest/components/checkpoint-history.json +13 -3
- package/manifest/components/chip.json +35 -5
- package/manifest/components/clamp.json +30 -7
- package/manifest/components/cli-tool-icon.json +1 -7
- package/manifest/components/code-diff.json +20 -5
- package/manifest/components/code-runner.json +32 -6
- package/manifest/components/collapsible.json +16 -4
- package/manifest/components/color-area.json +4 -1
- package/manifest/components/color-field.json +13 -3
- package/manifest/components/color-picker.json +75 -17
- package/manifest/components/color-slider.json +12 -3
- package/manifest/components/color-swatch.json +13 -2
- package/manifest/components/colors-section.json +10 -7
- package/manifest/components/combobox.json +81 -18
- package/manifest/components/command-palette.json +57 -13
- package/manifest/components/compaction-row.json +35 -7
- package/manifest/components/comparison-card.json +17 -4
- package/manifest/components/composer-attachment-chip.json +9 -2
- package/manifest/components/composer-bar.json +4 -1
- package/manifest/components/composer-command-item.json +8 -2
- package/manifest/components/composer-context.json +4 -1
- package/manifest/components/composer-input.json +5 -1
- package/manifest/components/composer-menu-item.json +4 -1
- package/manifest/components/composer-menu.json +12 -2
- package/manifest/components/composer-model-item.json +8 -2
- package/manifest/components/composer-model-trigger.json +8 -2
- package/manifest/components/composer-person-item.json +8 -2
- package/manifest/components/composer-send.json +8 -2
- package/manifest/components/composer-voice-button.json +4 -1
- package/manifest/components/composer-voice.json +8 -2
- package/manifest/components/composer.json +76 -17
- package/manifest/components/computer-use.json +17 -4
- package/manifest/components/confidence-marker.json +13 -3
- package/manifest/components/connection-state.json +23 -4
- package/manifest/components/container.json +14 -2
- package/manifest/components/context-breakdown.json +8 -2
- package/manifest/components/context-menu.json +16 -4
- package/manifest/components/context-usage.json +16 -4
- package/manifest/components/conversation-search.json +22 -5
- package/manifest/components/copy-button.json +32 -7
- package/manifest/components/cost-meter.json +12 -3
- package/manifest/components/cue-logotype.json +17 -3
- package/manifest/components/cue-mark.json +17 -3
- package/manifest/components/cue-portal-frame.json +14 -4
- package/manifest/components/data-row.json +21 -7
- package/manifest/components/data-table-pagination.json +18 -4
- package/manifest/components/data-table-toolbar.json +30 -7
- package/manifest/components/data-tree.json +42 -9
- package/manifest/components/date-field.json +13 -2
- package/manifest/components/date-picker.json +81 -19
- package/manifest/components/date-range-picker.json +81 -19
- package/manifest/components/day-separator.json +4 -1
- package/manifest/components/delegation-card.json +64 -12
- package/manifest/components/density.json +25 -5
- package/manifest/components/description-list.json +8 -1
- package/manifest/components/diagram.json +33 -7
- package/manifest/components/dialog.json +29 -6
- package/manifest/components/disclosure.json +31 -7
- package/manifest/components/dmx-bar.json +16 -4
- package/manifest/components/dmx-strip.json +20 -5
- package/manifest/components/document-reference.json +21 -5
- package/manifest/components/draft-restore.json +18 -4
- package/manifest/components/drawer.json +30 -6
- package/manifest/components/dropdown-menu.json +55 -10
- package/manifest/components/edit-message.json +32 -7
- package/manifest/components/elements-command-palette.json +27 -6
- package/manifest/components/elements-data-table.json +9 -2
- package/manifest/components/elements-timeline.json +8 -2
- package/manifest/components/elicitation-form.json +31 -6
- package/manifest/components/empty-state-composer.json +9 -2
- package/manifest/components/empty-state-suggestion.json +4 -1
- package/manifest/components/empty-state.json +25 -5
- package/manifest/components/end-of-turn-summary.json +16 -4
- package/manifest/components/env-var-input.json +54 -12
- package/manifest/components/error-state.json +17 -4
- package/manifest/components/export-dialog.json +27 -11
- package/manifest/components/eyebrow.json +4 -1
- package/manifest/components/feedback-dialog.json +33 -7
- package/manifest/components/field-description.json +4 -1
- package/manifest/components/field-error.json +13 -3
- package/manifest/components/field-label.json +4 -1
- package/manifest/components/field.json +4 -1
- package/manifest/components/file-tree.json +16 -4
- package/manifest/components/file-upload.json +58 -13
- package/manifest/components/flow-graph.json +12 -3
- package/manifest/components/folder-icon.json +1 -7
- package/manifest/components/footer.json +24 -4
- package/manifest/components/frac.json +10 -2
- package/manifest/components/generation-loader.json +17 -3
- package/manifest/components/generative-ui.json +39 -7
- package/manifest/components/grid.json +56 -5
- package/manifest/components/group-bar.json +25 -6
- package/manifest/components/guardrail-notice.json +22 -5
- package/manifest/components/hover-card.json +45 -8
- package/manifest/components/icon-button.json +22 -4
- package/manifest/components/image-generation.json +8 -2
- package/manifest/components/info-tip.json +42 -7
- package/manifest/components/inline-citation.json +14 -3
- package/manifest/components/input-group.json +24 -5
- package/manifest/components/input.json +13 -3
- package/manifest/components/item.json +42 -8
- package/manifest/components/job-progress.json +25 -6
- package/manifest/components/launcher-bubble.json +32 -7
- package/manifest/components/ledger.json +87 -19
- package/manifest/components/link.json +16 -3
- package/manifest/components/live-region-announcer.json +21 -5
- package/manifest/components/log-viewer.json +42 -10
- package/manifest/components/map-answer.json +17 -4
- package/manifest/components/markdown-text.json +36 -5
- package/manifest/components/math-block.json +12 -3
- package/manifest/components/mcp-server-icon.json +1 -7
- package/manifest/components/mcp-server-panel.json +18 -4
- package/manifest/components/memory-chips.json +9 -2
- package/manifest/components/menubar.json +33 -7
- package/manifest/components/message-actions.json +32 -7
- package/manifest/components/message-attachments.json +9 -2
- package/manifest/components/message-branches.json +14 -3
- package/manifest/components/message-list.json +27 -6
- package/manifest/components/message-pair.json +25 -5
- package/manifest/components/message-queue.json +13 -3
- package/manifest/components/message-timing.json +8 -2
- package/manifest/components/message.json +41 -9
- package/manifest/components/meter.json +43 -7
- package/manifest/components/mobile-composer.json +47 -10
- package/manifest/components/model-picker.json +13 -3
- package/manifest/components/multi-select.json +78 -17
- package/manifest/components/musical-time-input.json +34 -8
- package/manifest/components/navigation-menu.json +54 -12
- package/manifest/components/node-card.json +42 -7
- package/manifest/components/node-handle.json +17 -2
- package/manifest/components/number-field.json +28 -6
- package/manifest/components/number-ticker.json +8 -2
- package/manifest/components/onboarding.json +18 -4
- package/manifest/components/otp-field.json +43 -10
- package/manifest/components/page-shell.json +35 -6
- package/manifest/components/pagination.json +21 -5
- package/manifest/components/panel-header.json +15 -3
- package/manifest/components/password-input.json +38 -8
- package/manifest/components/permission-grant.json +28 -5
- package/manifest/components/permission-scopes.json +57 -12
- package/manifest/components/piano-keyboard.json +38 -9
- package/manifest/components/plussie.json +34 -5
- package/manifest/components/popover.json +45 -8
- package/manifest/components/preset-section.json +14 -8
- package/manifest/components/progress.json +25 -6
- package/manifest/components/prompt-library.json +27 -6
- package/manifest/components/queue-dock.json +36 -8
- package/manifest/components/quota-banner.json +25 -6
- package/manifest/components/quote-reply.json +29 -7
- package/manifest/components/radio-group.json +12 -2
- package/manifest/components/radio.json +17 -3
- package/manifest/components/rating.json +60 -13
- package/manifest/components/read-aloud.json +35 -8
- package/manifest/components/reasoning-effort.json +17 -4
- package/manifest/components/reasoning-panel.json +33 -8
- package/manifest/components/recommendation-card.json +35 -10
- package/manifest/components/regenerate-menu.json +22 -5
- package/manifest/components/replay-player.json +29 -7
- package/manifest/components/research-report.json +12 -3
- package/manifest/components/resizable.json +4 -1
- package/manifest/components/retrieval-chunks.json +16 -4
- package/manifest/components/revert-dock.json +61 -14
- package/manifest/components/reviewable-diff.json +23 -5
- package/manifest/components/risk-badge.json +18 -3
- package/manifest/components/row.json +17 -4
- package/manifest/components/schedule-card.json +25 -6
- package/manifest/components/score-breakdown.json +20 -5
- package/manifest/components/scroll-anchor.json +13 -3
- package/manifest/components/scroll-area.json +31 -8
- package/manifest/components/scrollable-tabs-list.json +12 -4
- package/manifest/components/scrub-input.json +84 -18
- package/manifest/components/seam-cell.json +19 -3
- package/manifest/components/seam-grid.json +12 -3
- package/manifest/components/search-input.json +49 -10
- package/manifest/components/section-header.json +36 -8
- package/manifest/components/segmented-control.json +50 -11
- package/manifest/components/select.json +74 -16
- package/manifest/components/separator.json +4 -1
- package/manifest/components/settings-panel.json +41 -9
- package/manifest/components/shape-section.json +10 -7
- package/manifest/components/shared-conversation.json +21 -5
- package/manifest/components/sheet.json +29 -6
- package/manifest/components/shimmer-label.json +4 -2
- package/manifest/components/sidebar.json +60 -13
- package/manifest/components/skill-icon.json +1 -7
- package/manifest/components/slider.json +22 -5
- package/manifest/components/sources.json +17 -4
- package/manifest/components/sparkline.json +17 -4
- package/manifest/components/speaker-identity.json +4 -1
- package/manifest/components/spec-sheet.json +16 -4
- package/manifest/components/spectrum-visualizer.json +41 -10
- package/manifest/components/spinner.json +12 -2
- package/manifest/components/stack-icon.json +1 -7
- package/manifest/components/stack.json +54 -7
- package/manifest/components/stacks-matrix-icon.json +1 -7
- package/manifest/components/stat.json +28 -4
- package/manifest/components/status-bar.json +50 -9
- package/manifest/components/status-dot.json +23 -4
- package/manifest/components/stepper.json +22 -5
- package/manifest/components/stopped-run.json +19 -4
- package/manifest/components/streaming-text.json +12 -3
- package/manifest/components/subagent-list.json +21 -5
- package/manifest/components/suggestions.json +27 -5
- package/manifest/components/swap-label.json +18 -4
- package/manifest/components/switch.json +18 -3
- package/manifest/components/table-scroll-region.json +4 -1
- package/manifest/components/table.json +54 -11
- package/manifest/components/tabs.json +16 -5
- package/manifest/components/tags-input.json +79 -17
- package/manifest/components/tail-status.json +37 -8
- package/manifest/components/terminal-block.json +25 -5
- package/manifest/components/terminal-frame.json +34 -8
- package/manifest/components/textarea.json +8 -3
- package/manifest/components/theme-configurator.json +47 -14
- package/manifest/components/theme-provider.json +97 -18
- package/manifest/components/thinking-indicator.json +8 -2
- package/manifest/components/thread-list.json +13 -3
- package/manifest/components/thread-search.json +22 -5
- package/manifest/components/threshold-rail.json +77 -14
- package/manifest/components/time-boundary.json +8 -2
- package/manifest/components/time-field.json +13 -2
- package/manifest/components/timeline-ruler.json +51 -12
- package/manifest/components/timeline.json +19 -3
- package/manifest/components/title-bar.json +19 -4
- package/manifest/components/toast.json +12 -3
- package/manifest/components/todo-list.json +8 -2
- package/manifest/components/toggle-group.json +33 -7
- package/manifest/components/toggle.json +23 -4
- package/manifest/components/token-editor.json +26 -10
- package/manifest/components/tool-call-card.json +83 -16
- package/manifest/components/tool-call.json +37 -9
- package/manifest/components/tool-error.json +34 -8
- package/manifest/components/tool-group.json +17 -4
- package/manifest/components/tool-timeline.json +37 -9
- package/manifest/components/toolbar.json +37 -8
- package/manifest/components/tooltip.json +41 -7
- package/manifest/components/trace-waterfall.json +12 -3
- package/manifest/components/tree-visibility-toggle.json +18 -3
- package/manifest/components/tree.json +52 -11
- package/manifest/components/turn-footer.json +36 -8
- package/manifest/components/two-step-button.json +46 -9
- package/manifest/components/typing-indicator.json +8 -1
- package/manifest/components/universe-grid.json +37 -10
- package/manifest/components/unread-divider.json +4 -1
- package/manifest/components/usage-chart.json +46 -9
- package/manifest/components/verdict-row.json +20 -5
- package/manifest/components/voice-conversation.json +37 -7
- package/manifest/components/web-preview.json +23 -5
- package/manifest/components/web-search.json +20 -5
- package/manifest/components/work-collapse.json +30 -7
- package/manifest/fixtures.json +106 -0
- package/manifest/manifest.json +449 -310
- package/manifest/tokens.json +122 -12
- package/package.json +16 -6
- package/dist/theming/_presets.d.ts +0 -11
- package/dist/theming/_presets.js +0 -678
|
@@ -14,49 +14,75 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "What the diagram shows."
|
|
17
|
+
"description": "What the diagram shows.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "zoom",
|
|
21
24
|
"type": "number",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Scale factor applied to the content. 1 is fit; the header prints it as a percentage."
|
|
27
|
+
"description": "Scale factor applied to the content. 1 is fit; the header prints it as a percentage.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "number"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "children",
|
|
28
34
|
"type": "ReactNode",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "The rendered graphic. The element owns the frame and never parses or injects\nmarkup itself, so whatever renders your chart stays your choice."
|
|
37
|
+
"description": "The rendered graphic. The element owns the frame and never parses or injects\nmarkup itself, so whatever renders your chart stays your choice.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "node",
|
|
40
|
+
"fixture": "children.text"
|
|
41
|
+
}
|
|
32
42
|
},
|
|
33
43
|
{
|
|
34
44
|
"name": "onZoomIn",
|
|
35
45
|
"type": "(() => void)",
|
|
36
46
|
"required": false,
|
|
37
47
|
"defaultValue": null,
|
|
38
|
-
"description": "Called from the zoom-in control. Clamp the range yourself."
|
|
48
|
+
"description": "Called from the zoom-in control. Clamp the range yourself.",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "callback",
|
|
51
|
+
"fixture": "callback.log"
|
|
52
|
+
}
|
|
39
53
|
},
|
|
40
54
|
{
|
|
41
55
|
"name": "onZoomOut",
|
|
42
56
|
"type": "(() => void)",
|
|
43
57
|
"required": false,
|
|
44
58
|
"defaultValue": null,
|
|
45
|
-
"description": "Called from the zoom-out control."
|
|
59
|
+
"description": "Called from the zoom-out control.",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "callback",
|
|
62
|
+
"fixture": "callback.log"
|
|
63
|
+
}
|
|
46
64
|
},
|
|
47
65
|
{
|
|
48
66
|
"name": "onReset",
|
|
49
67
|
"type": "(() => void)",
|
|
50
68
|
"required": false,
|
|
51
69
|
"defaultValue": null,
|
|
52
|
-
"description": "Called to return to the default view."
|
|
70
|
+
"description": "Called to return to the default view.",
|
|
71
|
+
"control": {
|
|
72
|
+
"kind": "callback",
|
|
73
|
+
"fixture": "callback.log"
|
|
74
|
+
}
|
|
53
75
|
},
|
|
54
76
|
{
|
|
55
77
|
"name": "onExpand",
|
|
56
78
|
"type": "(() => void)",
|
|
57
79
|
"required": false,
|
|
58
80
|
"defaultValue": null,
|
|
59
|
-
"description": "Called to open the diagram full screen."
|
|
81
|
+
"description": "Called to open the diagram full screen.",
|
|
82
|
+
"control": {
|
|
83
|
+
"kind": "callback",
|
|
84
|
+
"fixture": "callback.log"
|
|
85
|
+
}
|
|
60
86
|
}
|
|
61
87
|
],
|
|
62
88
|
"typeReferences": [
|
|
@@ -46,42 +46,65 @@
|
|
|
46
46
|
"type": "string",
|
|
47
47
|
"required": false,
|
|
48
48
|
"defaultValue": null,
|
|
49
|
-
"description": "Extra classes for the popup surface."
|
|
49
|
+
"description": "Extra classes for the popup surface.",
|
|
50
|
+
"control": {
|
|
51
|
+
"kind": "string"
|
|
52
|
+
}
|
|
50
53
|
},
|
|
51
54
|
{
|
|
52
55
|
"name": "width",
|
|
53
56
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
54
57
|
"required": false,
|
|
55
58
|
"defaultValue": "md",
|
|
56
|
-
"description": ""
|
|
59
|
+
"description": "",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "enum",
|
|
62
|
+
"members": [
|
|
63
|
+
"sm",
|
|
64
|
+
"md",
|
|
65
|
+
"lg"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
57
68
|
},
|
|
58
69
|
{
|
|
59
70
|
"name": "closeLabel",
|
|
60
71
|
"type": "string",
|
|
61
72
|
"required": false,
|
|
62
73
|
"defaultValue": "Close",
|
|
63
|
-
"description": "Accessible name for the corner close affordance. Defaults to `\"Close\"`."
|
|
74
|
+
"description": "Accessible name for the corner close affordance. Defaults to `\"Close\"`.",
|
|
75
|
+
"control": {
|
|
76
|
+
"kind": "string"
|
|
77
|
+
}
|
|
64
78
|
},
|
|
65
79
|
{
|
|
66
80
|
"name": "keepMounted",
|
|
67
81
|
"type": "boolean",
|
|
68
82
|
"required": false,
|
|
69
83
|
"defaultValue": null,
|
|
70
|
-
"description": "Keep the popup mounted while closed, so its content is not re-created."
|
|
84
|
+
"description": "Keep the popup mounted while closed, so its content is not re-created.",
|
|
85
|
+
"control": {
|
|
86
|
+
"kind": "boolean"
|
|
87
|
+
}
|
|
71
88
|
},
|
|
72
89
|
{
|
|
73
90
|
"name": "backdropClassName",
|
|
74
91
|
"type": "string",
|
|
75
92
|
"required": false,
|
|
76
93
|
"defaultValue": null,
|
|
77
|
-
"description": "Extra classes for the scrim behind it."
|
|
94
|
+
"description": "Extra classes for the scrim behind it.",
|
|
95
|
+
"control": {
|
|
96
|
+
"kind": "string"
|
|
97
|
+
}
|
|
78
98
|
},
|
|
79
99
|
{
|
|
80
100
|
"name": "showCloseButton",
|
|
81
101
|
"type": "boolean",
|
|
82
102
|
"required": false,
|
|
83
103
|
"defaultValue": "true",
|
|
84
|
-
"description": "Show the corner close affordance. Defaults to `true`."
|
|
104
|
+
"description": "Show the corner close affordance. Defaults to `true`.",
|
|
105
|
+
"control": {
|
|
106
|
+
"kind": "boolean"
|
|
107
|
+
}
|
|
85
108
|
}
|
|
86
109
|
],
|
|
87
110
|
"typeReferences": [
|
|
@@ -12,49 +12,73 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "advanced",
|
|
15
|
-
"description": "What the toggle says. Defaults to `\"advanced\"`."
|
|
15
|
+
"description": "What the toggle says. Defaults to `\"advanced\"`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "open",
|
|
19
23
|
"type": "boolean",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "Open state when controlled. Pass with `onOpenChange`."
|
|
26
|
+
"description": "Open state when controlled. Pass with `onOpenChange`.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "boolean"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "defaultOpen",
|
|
26
33
|
"type": "boolean",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": null,
|
|
29
|
-
"description": "Initial open state when uncontrolled."
|
|
36
|
+
"description": "Initial open state when uncontrolled.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "boolean"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "onOpenChange",
|
|
33
43
|
"type": "((open: boolean, eventDetails: CollapsibleRootChangeEventDetails) => void)",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": null,
|
|
36
|
-
"description": "Called with the new open state."
|
|
46
|
+
"description": "Called with the new open state.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "callback",
|
|
49
|
+
"fixture": "callback.log"
|
|
50
|
+
}
|
|
37
51
|
},
|
|
38
52
|
{
|
|
39
53
|
"name": "rootClassName",
|
|
40
54
|
"type": "string",
|
|
41
55
|
"required": false,
|
|
42
56
|
"defaultValue": null,
|
|
43
|
-
"description": "Extra classes for the frame around toggle and body."
|
|
57
|
+
"description": "Extra classes for the frame around toggle and body.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "string"
|
|
60
|
+
}
|
|
44
61
|
},
|
|
45
62
|
{
|
|
46
63
|
"name": "bodyClassName",
|
|
47
64
|
"type": "string",
|
|
48
65
|
"required": false,
|
|
49
66
|
"defaultValue": null,
|
|
50
|
-
"description": "Extra classes for the revealed body."
|
|
67
|
+
"description": "Extra classes for the revealed body.",
|
|
68
|
+
"control": {
|
|
69
|
+
"kind": "string"
|
|
70
|
+
}
|
|
51
71
|
},
|
|
52
72
|
{
|
|
53
73
|
"name": "children",
|
|
54
74
|
"type": "ReactNode",
|
|
55
75
|
"required": false,
|
|
56
76
|
"defaultValue": null,
|
|
57
|
-
"description": "The rarely-used fields to reveal."
|
|
77
|
+
"description": "The rarely-used fields to reveal.",
|
|
78
|
+
"control": {
|
|
79
|
+
"kind": "node",
|
|
80
|
+
"fixture": "children.text"
|
|
81
|
+
}
|
|
58
82
|
}
|
|
59
83
|
],
|
|
60
84
|
"typeReferences": [
|
|
@@ -12,28 +12,40 @@
|
|
|
12
12
|
"type": "Uint8Array<ArrayBufferLike>",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The current frame: one byte per channel, 512 long.\n\nRepainting is keyed on the array's *identity*, which is what a frame decoder\nnaturally produces (a fresh buffer per packet). A buffer mutated in place\nwill not repaint — hand a new view, or use `ChannelMatrix`, which owns an\nanimation loop for exactly that case."
|
|
15
|
+
"description": "The current frame: one byte per channel, 512 long.\n\nRepainting is keyed on the array's *identity*, which is what a frame decoder\nnaturally produces (a fresh buffer per packet). A buffer mutated in place\nwill not repaint — hand a new view, or use `ChannelMatrix`, which owns an\nanimation loop for exactly that case.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "opaque"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "height",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "12",
|
|
22
|
-
"description": "Bar height in px at the 16px root, emitted as `rem`. Defaults to `12`."
|
|
25
|
+
"description": "Bar height in px at the 16px root, emitted as `rem`. Defaults to `12`.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "live",
|
|
26
32
|
"type": "boolean",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": "true",
|
|
29
|
-
"description": "Whether frames are still arriving. Defaults to `true`. When `false` the bar\ndims and says so in its accessible name — a stalled stream and a blacked-out\nuniverse look identical otherwise."
|
|
35
|
+
"description": "Whether frames are still arriving. Defaults to `true`. When `false` the bar\ndims and says so in its accessible name — a stalled stream and a blacked-out\nuniverse look identical otherwise.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "boolean"
|
|
38
|
+
}
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
41
|
"name": "label",
|
|
33
42
|
"type": "string",
|
|
34
43
|
"required": false,
|
|
35
44
|
"defaultValue": null,
|
|
36
|
-
"description": "What this universe is. Defaults to `\"DMX output\"`."
|
|
45
|
+
"description": "What this universe is. Defaults to `\"DMX output\"`.",
|
|
46
|
+
"control": {
|
|
47
|
+
"kind": "string"
|
|
48
|
+
}
|
|
37
49
|
}
|
|
38
50
|
],
|
|
39
51
|
"typeReferences": [
|
|
@@ -12,35 +12,50 @@
|
|
|
12
12
|
"type": "number",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "128",
|
|
15
|
-
"description": "Columns, one per simulated channel. Defaults to `128`."
|
|
15
|
+
"description": "Columns, one per simulated channel. Defaults to `128`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "number"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "height",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "14",
|
|
22
|
-
"description": "Strip height in px at the 16px root, emitted as `rem`. Defaults to `14`."
|
|
25
|
+
"description": "Strip height in px at the 16px root, emitted as `rem`. Defaults to `14`.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "seed",
|
|
26
32
|
"type": "number",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": "1",
|
|
29
|
-
"description": "Seed for the whole simulation. The same seed always plays the same way. Defaults to `1`."
|
|
35
|
+
"description": "Seed for the whole simulation. The same seed always plays the same way. Defaults to `1`.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "number"
|
|
38
|
+
}
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
41
|
"name": "simulate",
|
|
33
42
|
"type": "boolean",
|
|
34
43
|
"required": false,
|
|
35
44
|
"defaultValue": "true",
|
|
36
|
-
"description": "Run the simulation. Defaults to `true`; `false` holds the seeded first frame."
|
|
45
|
+
"description": "Run the simulation. Defaults to `true`; `false` holds the seeded first frame.",
|
|
46
|
+
"control": {
|
|
47
|
+
"kind": "boolean"
|
|
48
|
+
}
|
|
37
49
|
},
|
|
38
50
|
{
|
|
39
51
|
"name": "label",
|
|
40
52
|
"type": "string",
|
|
41
53
|
"required": false,
|
|
42
54
|
"defaultValue": null,
|
|
43
|
-
"description": "What the strip depicts. Defaults to `\"Simulated DMX activity\"`."
|
|
55
|
+
"description": "What the strip depicts. Defaults to `\"Simulated DMX activity\"`.",
|
|
56
|
+
"control": {
|
|
57
|
+
"kind": "string"
|
|
58
|
+
}
|
|
44
59
|
}
|
|
45
60
|
],
|
|
46
61
|
"typeReferences": [
|
|
@@ -14,35 +14,51 @@
|
|
|
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": "pages",
|
|
21
24
|
"type": "number",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Total page count."
|
|
27
|
+
"description": "Total page count.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "number"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "anchors",
|
|
28
34
|
"type": "readonly DocumentAnchor[]",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "The passages the answer drew on, each pinned to a page."
|
|
37
|
+
"description": "The passages the answer drew on, each pinned to a page.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "array"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "activePage",
|
|
35
44
|
"type": "number",
|
|
36
45
|
"required": true,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "Which anchor is highlighted. A page with no anchor highlights nothing."
|
|
47
|
+
"description": "Which anchor is highlighted. A page with no anchor highlights nothing.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "number"
|
|
50
|
+
}
|
|
39
51
|
},
|
|
40
52
|
{
|
|
41
53
|
"name": "onJump",
|
|
42
54
|
"type": "((page: number) => void)",
|
|
43
55
|
"required": false,
|
|
44
56
|
"defaultValue": null,
|
|
45
|
-
"description": "Called with the page to open."
|
|
57
|
+
"description": "Called with the page to open.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "callback",
|
|
60
|
+
"fixture": "callback.log"
|
|
61
|
+
}
|
|
46
62
|
}
|
|
47
63
|
],
|
|
48
64
|
"typeReferences": [
|
|
@@ -14,28 +14,42 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The unsent text, truncated to one line."
|
|
17
|
+
"description": "The unsent text, truncated to one line.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "savedAt",
|
|
21
24
|
"type": "string",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "When it was last touched, pre-formatted."
|
|
27
|
+
"description": "When it was last touched, pre-formatted.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "string"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "onRestore",
|
|
28
34
|
"type": "(() => void)",
|
|
29
35
|
"required": false,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Called to put the draft back in the composer."
|
|
37
|
+
"description": "Called to put the draft back in the composer.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "callback",
|
|
40
|
+
"fixture": "callback.log"
|
|
41
|
+
}
|
|
32
42
|
},
|
|
33
43
|
{
|
|
34
44
|
"name": "onDiscard",
|
|
35
45
|
"type": "(() => void)",
|
|
36
46
|
"required": false,
|
|
37
47
|
"defaultValue": null,
|
|
38
|
-
"description": "Called to throw the draft away."
|
|
48
|
+
"description": "Called to throw the draft away.",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "callback",
|
|
51
|
+
"fixture": "callback.log"
|
|
52
|
+
}
|
|
39
53
|
}
|
|
40
54
|
],
|
|
41
55
|
"typeReferences": [
|
|
@@ -28,7 +28,16 @@
|
|
|
28
28
|
"type": "\"left\" | \"right\" | \"up\" | \"down\"",
|
|
29
29
|
"required": false,
|
|
30
30
|
"defaultValue": "down",
|
|
31
|
-
"description": "Which way the drawer is dragged to dismiss it, which also decides the edge\nit lives on. Defaults to `\"down\"` — the bottom sheet."
|
|
31
|
+
"description": "Which way the drawer is dragged to dismiss it, which also decides the edge\nit lives on. Defaults to `\"down\"` — the bottom sheet.",
|
|
32
|
+
"control": {
|
|
33
|
+
"kind": "enum",
|
|
34
|
+
"members": [
|
|
35
|
+
"left",
|
|
36
|
+
"right",
|
|
37
|
+
"up",
|
|
38
|
+
"down"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
32
41
|
}
|
|
33
42
|
],
|
|
34
43
|
"typeReferences": [
|
|
@@ -54,35 +63,50 @@
|
|
|
54
63
|
"type": "string",
|
|
55
64
|
"required": false,
|
|
56
65
|
"defaultValue": null,
|
|
57
|
-
"description": "Extra classes for the popup surface."
|
|
66
|
+
"description": "Extra classes for the popup surface.",
|
|
67
|
+
"control": {
|
|
68
|
+
"kind": "string"
|
|
69
|
+
}
|
|
58
70
|
},
|
|
59
71
|
{
|
|
60
72
|
"name": "keepMounted",
|
|
61
73
|
"type": "boolean",
|
|
62
74
|
"required": false,
|
|
63
75
|
"defaultValue": null,
|
|
64
|
-
"description": "Keep the popup mounted while closed, so its content is not re-created."
|
|
76
|
+
"description": "Keep the popup mounted while closed, so its content is not re-created.",
|
|
77
|
+
"control": {
|
|
78
|
+
"kind": "boolean"
|
|
79
|
+
}
|
|
65
80
|
},
|
|
66
81
|
{
|
|
67
82
|
"name": "viewportClassName",
|
|
68
83
|
"type": "string",
|
|
69
84
|
"required": false,
|
|
70
85
|
"defaultValue": null,
|
|
71
|
-
"description": "Extra classes for the full-viewport box that parks the popup on its edge."
|
|
86
|
+
"description": "Extra classes for the full-viewport box that parks the popup on its edge.",
|
|
87
|
+
"control": {
|
|
88
|
+
"kind": "string"
|
|
89
|
+
}
|
|
72
90
|
},
|
|
73
91
|
{
|
|
74
92
|
"name": "backdropClassName",
|
|
75
93
|
"type": "string",
|
|
76
94
|
"required": false,
|
|
77
95
|
"defaultValue": null,
|
|
78
|
-
"description": "Extra classes for the scrim behind it."
|
|
96
|
+
"description": "Extra classes for the scrim behind it.",
|
|
97
|
+
"control": {
|
|
98
|
+
"kind": "string"
|
|
99
|
+
}
|
|
79
100
|
},
|
|
80
101
|
{
|
|
81
102
|
"name": "grabHandle",
|
|
82
103
|
"type": "boolean",
|
|
83
104
|
"required": false,
|
|
84
105
|
"defaultValue": "true",
|
|
85
|
-
"description": "Draw the grab bar that advertises the swipe. Defaults to `true`.\n\nPurely decorative — the whole popup is draggable — so it is `aria-hidden`\nand there is no keyboard equivalent to lose by turning it off."
|
|
106
|
+
"description": "Draw the grab bar that advertises the swipe. Defaults to `true`.\n\nPurely decorative — the whole popup is draggable — so it is `aria-hidden`\nand there is no keyboard equivalent to lose by turning it off.",
|
|
107
|
+
"control": {
|
|
108
|
+
"kind": "boolean"
|
|
109
|
+
}
|
|
86
110
|
}
|
|
87
111
|
],
|
|
88
112
|
"typeReferences": [
|
|
@@ -29,7 +29,10 @@
|
|
|
29
29
|
"type": "boolean",
|
|
30
30
|
"required": false,
|
|
31
31
|
"defaultValue": "true",
|
|
32
|
-
"description": "Close the menu when the viewport moves under it — a wheel anywhere outside\nthe popup, or a window resize. Defaults to `true`.\n\nThe menu is positioned from its trigger's rect, and a canvas that pans by\nmutating a CSS transform fires no `scroll` event, so without this a menu\nover the patch grid detaches from its button the moment the user scrolls.\nA wheel *inside* the popup is left alone — that is a long menu scrolling."
|
|
32
|
+
"description": "Close the menu when the viewport moves under it — a wheel anywhere outside\nthe popup, or a window resize. Defaults to `true`.\n\nThe menu is positioned from its trigger's rect, and a canvas that pans by\nmutating a CSS transform fires no `scroll` event, so without this a menu\nover the patch grid detaches from its button the moment the user scrolls.\nA wheel *inside* the popup is left alone — that is a long menu scrolling.",
|
|
33
|
+
"control": {
|
|
34
|
+
"kind": "boolean"
|
|
35
|
+
}
|
|
33
36
|
}
|
|
34
37
|
],
|
|
35
38
|
"typeReferences": [
|
|
@@ -55,49 +58,83 @@
|
|
|
55
58
|
"type": "string",
|
|
56
59
|
"required": false,
|
|
57
60
|
"defaultValue": null,
|
|
58
|
-
"description": "Extra classes for the popup surface."
|
|
61
|
+
"description": "Extra classes for the popup surface.",
|
|
62
|
+
"control": {
|
|
63
|
+
"kind": "string"
|
|
64
|
+
}
|
|
59
65
|
},
|
|
60
66
|
{
|
|
61
67
|
"name": "align",
|
|
62
68
|
"type": "\"center\" | \"end\" | \"start\"",
|
|
63
69
|
"required": false,
|
|
64
70
|
"defaultValue": "start",
|
|
65
|
-
"description": "Alignment along that side. Defaults to `\"start\"`."
|
|
71
|
+
"description": "Alignment along that side. Defaults to `\"start\"`.",
|
|
72
|
+
"control": {
|
|
73
|
+
"kind": "enum",
|
|
74
|
+
"members": [
|
|
75
|
+
"center",
|
|
76
|
+
"end",
|
|
77
|
+
"start"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
66
80
|
},
|
|
67
81
|
{
|
|
68
82
|
"name": "keepMounted",
|
|
69
83
|
"type": "boolean",
|
|
70
84
|
"required": false,
|
|
71
85
|
"defaultValue": null,
|
|
72
|
-
"description": "Keep the popup mounted while closed."
|
|
86
|
+
"description": "Keep the popup mounted while closed.",
|
|
87
|
+
"control": {
|
|
88
|
+
"kind": "boolean"
|
|
89
|
+
}
|
|
73
90
|
},
|
|
74
91
|
{
|
|
75
92
|
"name": "positionerClassName",
|
|
76
93
|
"type": "string",
|
|
77
94
|
"required": false,
|
|
78
95
|
"defaultValue": null,
|
|
79
|
-
"description": "Extra classes for the positioner that places the popup."
|
|
96
|
+
"description": "Extra classes for the positioner that places the popup.",
|
|
97
|
+
"control": {
|
|
98
|
+
"kind": "string"
|
|
99
|
+
}
|
|
80
100
|
},
|
|
81
101
|
{
|
|
82
102
|
"name": "sideOffset",
|
|
83
103
|
"type": "number | OffsetFunction",
|
|
84
104
|
"required": false,
|
|
85
105
|
"defaultValue": "4",
|
|
86
|
-
"description": "Gap in px between trigger and popup. Defaults to `4`."
|
|
106
|
+
"description": "Gap in px between trigger and popup. Defaults to `4`.",
|
|
107
|
+
"control": {
|
|
108
|
+
"kind": "opaque"
|
|
109
|
+
}
|
|
87
110
|
},
|
|
88
111
|
{
|
|
89
112
|
"name": "side",
|
|
90
113
|
"type": "\"left\" | \"right\" | \"bottom\" | \"top\" | \"inline-end\" | \"inline-start\"",
|
|
91
114
|
"required": false,
|
|
92
115
|
"defaultValue": null,
|
|
93
|
-
"description": "Preferred side of the trigger. Defaults to `\"bottom\"`."
|
|
116
|
+
"description": "Preferred side of the trigger. Defaults to `\"bottom\"`.",
|
|
117
|
+
"control": {
|
|
118
|
+
"kind": "enum",
|
|
119
|
+
"members": [
|
|
120
|
+
"left",
|
|
121
|
+
"right",
|
|
122
|
+
"bottom",
|
|
123
|
+
"top",
|
|
124
|
+
"inline-end",
|
|
125
|
+
"inline-start"
|
|
126
|
+
]
|
|
127
|
+
}
|
|
94
128
|
},
|
|
95
129
|
{
|
|
96
130
|
"name": "alignOffset",
|
|
97
131
|
"type": "number | OffsetFunction",
|
|
98
132
|
"required": false,
|
|
99
133
|
"defaultValue": null,
|
|
100
|
-
"description": "Nudge along the alignment axis, in px."
|
|
134
|
+
"description": "Nudge along the alignment axis, in px.",
|
|
135
|
+
"control": {
|
|
136
|
+
"kind": "opaque"
|
|
137
|
+
}
|
|
101
138
|
}
|
|
102
139
|
],
|
|
103
140
|
"typeReferences": [
|
|
@@ -132,14 +169,22 @@
|
|
|
132
169
|
"type": "ElementType<any, keyof IntrinsicElements>",
|
|
133
170
|
"required": false,
|
|
134
171
|
"defaultValue": null,
|
|
135
|
-
"description": "Optional leading icon component, sized to the density icon token."
|
|
172
|
+
"description": "Optional leading icon component, sized to the density icon token.",
|
|
173
|
+
"control": {
|
|
174
|
+
"kind": "opaque",
|
|
175
|
+
"fixture": "icon.play"
|
|
176
|
+
}
|
|
136
177
|
},
|
|
137
178
|
{
|
|
138
179
|
"name": "trailing",
|
|
139
180
|
"type": "ReactNode",
|
|
140
181
|
"required": false,
|
|
141
182
|
"defaultValue": null,
|
|
142
|
-
"description": "Trailing slot — a `Kbd` shortcut hint, a count, a chevron."
|
|
183
|
+
"description": "Trailing slot — a `Kbd` shortcut hint, a count, a chevron.",
|
|
184
|
+
"control": {
|
|
185
|
+
"kind": "node",
|
|
186
|
+
"fixture": "children.text"
|
|
187
|
+
}
|
|
143
188
|
}
|
|
144
189
|
],
|
|
145
190
|
"typeReferences": [
|