@cueplusplus/ui 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +195 -0
- package/README.md +91 -9
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -2
- package/dist/instruments/meter.d.ts +5 -1
- package/dist/layout/bento.d.ts +144 -0
- package/dist/layout/bento.js +266 -0
- package/dist/layout/index.d.ts +3 -2
- package/dist/layout/index.js +3 -2
- package/dist/primitives/button.d.ts +12 -0
- package/dist/primitives/chip.d.ts +1 -1
- package/dist/system/index.d.ts +2 -2
- package/dist/system/index.js +2 -1
- package/dist/system/overrides.d.ts +38 -1
- package/dist/system/overrides.js +40 -1
- package/manifest/components/accordion.json +24 -6
- package/manifest/components/activity-graph.json +20 -5
- package/manifest/components/agent-card.json +37 -9
- package/manifest/components/agent-handoff.json +21 -5
- package/manifest/components/agent-mode-badge.json +22 -4
- package/manifest/components/agent-pile.json +38 -8
- package/manifest/components/agent-plan.json +9 -2
- package/manifest/components/agent-status.json +17 -3
- package/manifest/components/agent-surface.json +26 -11
- package/manifest/components/alert-dialog.json +29 -5
- package/manifest/components/animated-number.json +14 -6
- package/manifest/components/app-bar.json +66 -13
- package/manifest/components/app-shell.json +133 -31
- package/manifest/components/app-window-frame.json +28 -6
- package/manifest/components/approval-card.json +37 -7
- package/manifest/components/artifact-card.json +16 -4
- package/manifest/components/ask-box.json +99 -21
- package/manifest/components/audience-icon.json +1 -7
- package/manifest/components/autocomplete.json +80 -18
- package/manifest/components/avatar-group.json +13 -2
- package/manifest/components/avatar.json +22 -4
- package/manifest/components/background-inbox.json +9 -2
- package/manifest/components/bento.json +306 -0
- package/manifest/components/branch-picker.json +29 -7
- package/manifest/components/breadcrumb.json +13 -3
- package/manifest/components/button-group.json +21 -4
- package/manifest/components/button.json +41 -4
- package/manifest/components/canvas-split-body.json +4 -1
- package/manifest/components/canvas-split-header.json +17 -4
- package/manifest/components/canvas-split-line.json +4 -1
- package/manifest/components/canvas-split-message.json +8 -1
- package/manifest/components/card.json +14 -3
- package/manifest/components/carousel.json +54 -12
- package/manifest/components/catalogue-icon.json +1 -7
- package/manifest/components/channel-beta-icon.json +1 -7
- package/manifest/components/channel-matrix.json +80 -15
- package/manifest/components/channel-released-icon.json +1 -7
- package/manifest/components/chart-container.json +26 -10
- package/manifest/components/chart-ramp.json +13 -3
- package/manifest/components/chart-swatch.json +9 -2
- package/manifest/components/chart-tooltip-content.json +31 -7
- package/manifest/components/chart.json +30 -6
- package/manifest/components/chat-panel-composer.json +9 -2
- package/manifest/components/checkbox-group.json +4 -2
- package/manifest/components/checkbox.json +17 -4
- package/manifest/components/checkpoint-history.json +13 -3
- package/manifest/components/chip.json +35 -5
- package/manifest/components/clamp.json +30 -7
- package/manifest/components/cli-tool-icon.json +1 -7
- package/manifest/components/code-diff.json +20 -5
- package/manifest/components/code-runner.json +32 -6
- package/manifest/components/collapsible.json +16 -4
- package/manifest/components/color-area.json +4 -1
- package/manifest/components/color-field.json +13 -3
- package/manifest/components/color-picker.json +75 -17
- package/manifest/components/color-slider.json +12 -3
- package/manifest/components/color-swatch.json +13 -2
- package/manifest/components/colors-section.json +8 -4
- package/manifest/components/combobox.json +81 -18
- package/manifest/components/command-palette.json +57 -13
- package/manifest/components/compaction-row.json +35 -7
- package/manifest/components/comparison-card.json +17 -4
- package/manifest/components/composer-attachment-chip.json +9 -2
- package/manifest/components/composer-bar.json +4 -1
- package/manifest/components/composer-command-item.json +8 -2
- package/manifest/components/composer-context.json +4 -1
- package/manifest/components/composer-input.json +5 -1
- package/manifest/components/composer-menu-item.json +4 -1
- package/manifest/components/composer-menu.json +12 -2
- package/manifest/components/composer-model-item.json +8 -2
- package/manifest/components/composer-model-trigger.json +8 -2
- package/manifest/components/composer-person-item.json +8 -2
- package/manifest/components/composer-send.json +8 -2
- package/manifest/components/composer-voice-button.json +4 -1
- package/manifest/components/composer-voice.json +8 -2
- package/manifest/components/composer.json +76 -17
- package/manifest/components/computer-use.json +17 -4
- package/manifest/components/confidence-marker.json +13 -3
- package/manifest/components/connection-state.json +23 -4
- package/manifest/components/container.json +14 -2
- package/manifest/components/context-breakdown.json +8 -2
- package/manifest/components/context-menu.json +16 -4
- package/manifest/components/context-usage.json +16 -4
- package/manifest/components/conversation-search.json +22 -5
- package/manifest/components/copy-button.json +32 -7
- package/manifest/components/cost-meter.json +12 -3
- package/manifest/components/cue-logotype.json +17 -3
- package/manifest/components/cue-mark.json +17 -3
- package/manifest/components/cue-portal-frame.json +13 -3
- package/manifest/components/data-row.json +21 -7
- package/manifest/components/data-table-pagination.json +18 -4
- package/manifest/components/data-table-toolbar.json +30 -7
- package/manifest/components/data-tree.json +42 -9
- package/manifest/components/date-field.json +13 -2
- package/manifest/components/date-picker.json +81 -19
- package/manifest/components/date-range-picker.json +81 -19
- package/manifest/components/day-separator.json +4 -1
- package/manifest/components/delegation-card.json +64 -12
- package/manifest/components/density.json +24 -4
- package/manifest/components/description-list.json +8 -1
- package/manifest/components/diagram.json +33 -7
- package/manifest/components/dialog.json +29 -6
- package/manifest/components/disclosure.json +31 -7
- package/manifest/components/dmx-bar.json +16 -4
- package/manifest/components/dmx-strip.json +20 -5
- package/manifest/components/document-reference.json +21 -5
- package/manifest/components/draft-restore.json +18 -4
- package/manifest/components/drawer.json +30 -6
- package/manifest/components/dropdown-menu.json +55 -10
- package/manifest/components/edit-message.json +32 -7
- package/manifest/components/elements-command-palette.json +27 -6
- package/manifest/components/elements-data-table.json +9 -2
- package/manifest/components/elements-timeline.json +8 -2
- package/manifest/components/elicitation-form.json +31 -6
- package/manifest/components/empty-state-composer.json +9 -2
- package/manifest/components/empty-state-suggestion.json +4 -1
- package/manifest/components/empty-state.json +25 -5
- package/manifest/components/end-of-turn-summary.json +16 -4
- package/manifest/components/env-var-input.json +54 -12
- package/manifest/components/error-state.json +17 -4
- package/manifest/components/export-dialog.json +27 -8
- package/manifest/components/eyebrow.json +4 -1
- package/manifest/components/feedback-dialog.json +33 -7
- package/manifest/components/field-description.json +4 -1
- package/manifest/components/field-error.json +13 -3
- package/manifest/components/field-label.json +4 -1
- package/manifest/components/field.json +4 -1
- package/manifest/components/file-tree.json +16 -4
- package/manifest/components/file-upload.json +58 -13
- package/manifest/components/flow-graph.json +12 -3
- package/manifest/components/folder-icon.json +1 -7
- package/manifest/components/footer.json +24 -4
- package/manifest/components/frac.json +10 -2
- package/manifest/components/generation-loader.json +17 -3
- package/manifest/components/generative-ui.json +39 -7
- package/manifest/components/grid.json +56 -5
- package/manifest/components/group-bar.json +25 -6
- package/manifest/components/guardrail-notice.json +22 -5
- package/manifest/components/hover-card.json +45 -8
- package/manifest/components/icon-button.json +22 -4
- package/manifest/components/image-generation.json +8 -2
- package/manifest/components/info-tip.json +42 -7
- package/manifest/components/inline-citation.json +14 -3
- package/manifest/components/input-group.json +24 -5
- package/manifest/components/input.json +13 -3
- package/manifest/components/item.json +42 -8
- package/manifest/components/job-progress.json +25 -6
- package/manifest/components/launcher-bubble.json +32 -7
- package/manifest/components/ledger.json +87 -19
- package/manifest/components/link.json +16 -3
- package/manifest/components/live-region-announcer.json +21 -5
- package/manifest/components/log-viewer.json +42 -10
- package/manifest/components/map-answer.json +17 -4
- package/manifest/components/markdown-text.json +36 -5
- package/manifest/components/math-block.json +12 -3
- package/manifest/components/mcp-server-icon.json +1 -7
- package/manifest/components/mcp-server-panel.json +18 -4
- package/manifest/components/memory-chips.json +9 -2
- package/manifest/components/menubar.json +33 -7
- package/manifest/components/message-actions.json +32 -7
- package/manifest/components/message-attachments.json +9 -2
- package/manifest/components/message-branches.json +14 -3
- package/manifest/components/message-list.json +27 -6
- package/manifest/components/message-pair.json +25 -5
- package/manifest/components/message-queue.json +13 -3
- package/manifest/components/message-timing.json +8 -2
- package/manifest/components/message.json +41 -9
- package/manifest/components/meter.json +43 -7
- package/manifest/components/mobile-composer.json +47 -10
- package/manifest/components/model-picker.json +13 -3
- package/manifest/components/multi-select.json +78 -17
- package/manifest/components/musical-time-input.json +34 -8
- package/manifest/components/navigation-menu.json +54 -12
- package/manifest/components/node-card.json +42 -7
- package/manifest/components/node-handle.json +17 -2
- package/manifest/components/number-field.json +28 -6
- package/manifest/components/number-ticker.json +8 -2
- package/manifest/components/onboarding.json +18 -4
- package/manifest/components/otp-field.json +43 -10
- package/manifest/components/page-shell.json +35 -6
- package/manifest/components/pagination.json +21 -5
- package/manifest/components/panel-header.json +15 -3
- package/manifest/components/password-input.json +38 -8
- package/manifest/components/permission-grant.json +28 -5
- package/manifest/components/permission-scopes.json +57 -12
- package/manifest/components/piano-keyboard.json +38 -9
- package/manifest/components/plussie.json +34 -5
- package/manifest/components/popover.json +45 -8
- package/manifest/components/preset-section.json +12 -5
- package/manifest/components/progress.json +25 -6
- package/manifest/components/prompt-library.json +27 -6
- package/manifest/components/queue-dock.json +36 -8
- package/manifest/components/quota-banner.json +25 -6
- package/manifest/components/quote-reply.json +29 -7
- package/manifest/components/radio-group.json +12 -2
- package/manifest/components/radio.json +17 -3
- package/manifest/components/rating.json +60 -13
- package/manifest/components/read-aloud.json +35 -8
- package/manifest/components/reasoning-effort.json +17 -4
- package/manifest/components/reasoning-panel.json +33 -8
- package/manifest/components/recommendation-card.json +35 -10
- package/manifest/components/regenerate-menu.json +22 -5
- package/manifest/components/replay-player.json +29 -7
- package/manifest/components/research-report.json +12 -3
- package/manifest/components/resizable.json +4 -1
- package/manifest/components/retrieval-chunks.json +16 -4
- package/manifest/components/revert-dock.json +61 -14
- package/manifest/components/reviewable-diff.json +23 -5
- package/manifest/components/risk-badge.json +18 -3
- package/manifest/components/row.json +17 -4
- package/manifest/components/schedule-card.json +25 -6
- package/manifest/components/score-breakdown.json +20 -5
- package/manifest/components/scroll-anchor.json +13 -3
- package/manifest/components/scroll-area.json +31 -8
- package/manifest/components/scrollable-tabs-list.json +12 -4
- package/manifest/components/scrub-input.json +84 -18
- package/manifest/components/seam-cell.json +19 -3
- package/manifest/components/seam-grid.json +12 -3
- package/manifest/components/search-input.json +49 -10
- package/manifest/components/section-header.json +36 -8
- package/manifest/components/segmented-control.json +50 -11
- package/manifest/components/select.json +74 -16
- package/manifest/components/separator.json +4 -1
- package/manifest/components/settings-panel.json +41 -9
- package/manifest/components/shape-section.json +8 -4
- package/manifest/components/shared-conversation.json +21 -5
- package/manifest/components/sheet.json +29 -6
- package/manifest/components/shimmer-label.json +4 -2
- package/manifest/components/sidebar.json +60 -13
- package/manifest/components/skill-icon.json +1 -7
- package/manifest/components/slider.json +22 -5
- package/manifest/components/sources.json +17 -4
- package/manifest/components/sparkline.json +17 -4
- package/manifest/components/speaker-identity.json +4 -1
- package/manifest/components/spec-sheet.json +16 -4
- package/manifest/components/spectrum-visualizer.json +41 -10
- package/manifest/components/spinner.json +12 -2
- package/manifest/components/stack-icon.json +1 -7
- package/manifest/components/stack.json +54 -7
- package/manifest/components/stacks-matrix-icon.json +1 -7
- package/manifest/components/stat.json +28 -4
- package/manifest/components/status-bar.json +50 -9
- package/manifest/components/status-dot.json +23 -4
- package/manifest/components/stepper.json +22 -5
- package/manifest/components/stopped-run.json +19 -4
- package/manifest/components/streaming-text.json +12 -3
- package/manifest/components/subagent-list.json +21 -5
- package/manifest/components/suggestions.json +27 -5
- package/manifest/components/swap-label.json +18 -4
- package/manifest/components/switch.json +18 -3
- package/manifest/components/table-scroll-region.json +4 -1
- package/manifest/components/table.json +54 -11
- package/manifest/components/tabs.json +16 -5
- package/manifest/components/tags-input.json +79 -17
- package/manifest/components/tail-status.json +37 -8
- package/manifest/components/terminal-block.json +25 -5
- package/manifest/components/terminal-frame.json +34 -8
- package/manifest/components/textarea.json +8 -3
- package/manifest/components/theme-configurator.json +47 -11
- package/manifest/components/theme-provider.json +79 -15
- package/manifest/components/thinking-indicator.json +8 -2
- package/manifest/components/thread-list.json +13 -3
- package/manifest/components/thread-search.json +22 -5
- package/manifest/components/threshold-rail.json +77 -14
- package/manifest/components/time-boundary.json +8 -2
- package/manifest/components/time-field.json +13 -2
- package/manifest/components/timeline-ruler.json +51 -12
- package/manifest/components/timeline.json +19 -3
- package/manifest/components/title-bar.json +19 -4
- package/manifest/components/toast.json +12 -3
- package/manifest/components/todo-list.json +8 -2
- package/manifest/components/toggle-group.json +33 -7
- package/manifest/components/toggle.json +23 -4
- package/manifest/components/token-editor.json +26 -7
- package/manifest/components/tool-call-card.json +83 -16
- package/manifest/components/tool-call.json +37 -9
- package/manifest/components/tool-error.json +34 -8
- package/manifest/components/tool-group.json +17 -4
- package/manifest/components/tool-timeline.json +37 -9
- package/manifest/components/toolbar.json +37 -8
- package/manifest/components/tooltip.json +41 -7
- package/manifest/components/trace-waterfall.json +12 -3
- package/manifest/components/tree-visibility-toggle.json +18 -3
- package/manifest/components/tree.json +52 -11
- package/manifest/components/turn-footer.json +36 -8
- package/manifest/components/two-step-button.json +46 -9
- package/manifest/components/typing-indicator.json +8 -1
- package/manifest/components/universe-grid.json +37 -10
- package/manifest/components/unread-divider.json +4 -1
- package/manifest/components/usage-chart.json +46 -9
- package/manifest/components/verdict-row.json +20 -5
- package/manifest/components/voice-conversation.json +37 -7
- package/manifest/components/web-preview.json +23 -5
- package/manifest/components/web-search.json +20 -5
- package/manifest/components/work-collapse.json +30 -7
- package/manifest/fixtures.json +106 -0
- package/manifest/manifest.json +315 -297
- package/manifest/tokens.json +2 -2
- package/package.json +7 -6
|
@@ -12,49 +12,84 @@
|
|
|
12
12
|
"type": "\"input\" | \"output\" | \"processing\"",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Where the node sits in the signal path. Inks the frame at rest."
|
|
15
|
+
"description": "Where the node sits in the signal path. Inks the frame at rest.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"input",
|
|
20
|
+
"output",
|
|
21
|
+
"processing"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
16
24
|
},
|
|
17
25
|
{
|
|
18
26
|
"name": "state",
|
|
19
27
|
"type": "\"disabled\" | \"idle\" | \"selected\" | \"live\"",
|
|
20
28
|
"required": false,
|
|
21
29
|
"defaultValue": null,
|
|
22
|
-
"description": "What the node is doing right now. Outranks `tone`.\n\nPass React Flow's own `selected` through:\n`state={selected ? \"selected\" : \"idle\"}`."
|
|
30
|
+
"description": "What the node is doing right now. Outranks `tone`.\n\nPass React Flow's own `selected` through:\n`state={selected ? \"selected\" : \"idle\"}`.",
|
|
31
|
+
"control": {
|
|
32
|
+
"kind": "enum",
|
|
33
|
+
"members": [
|
|
34
|
+
"disabled",
|
|
35
|
+
"idle",
|
|
36
|
+
"selected",
|
|
37
|
+
"live"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
23
40
|
},
|
|
24
41
|
{
|
|
25
42
|
"name": "header",
|
|
26
43
|
"type": "ReactNode",
|
|
27
44
|
"required": false,
|
|
28
45
|
"defaultValue": null,
|
|
29
|
-
"description": "The summary band: a label, a toggle, a badge. Also the drag handle."
|
|
46
|
+
"description": "The summary band: a label, a toggle, a badge. Also the drag handle.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "node",
|
|
49
|
+
"fixture": "children.text"
|
|
50
|
+
}
|
|
30
51
|
},
|
|
31
52
|
{
|
|
32
53
|
"name": "expanded",
|
|
33
54
|
"type": "boolean",
|
|
34
55
|
"required": false,
|
|
35
56
|
"defaultValue": "true",
|
|
36
|
-
"description": "Whether the body is shown. Defaults to `true`; `false` renders the band alone."
|
|
57
|
+
"description": "Whether the body is shown. Defaults to `true`; `false` renders the band alone.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "boolean"
|
|
60
|
+
}
|
|
37
61
|
},
|
|
38
62
|
{
|
|
39
63
|
"name": "onExpandedChange",
|
|
40
64
|
"type": "((expanded: boolean) => void)",
|
|
41
65
|
"required": false,
|
|
42
66
|
"defaultValue": null,
|
|
43
|
-
"description": "Called with the requested state when the caret is clicked. Supplying it is\nwhat makes the caret appear — a card nobody can collapse should not offer to."
|
|
67
|
+
"description": "Called with the requested state when the caret is clicked. Supplying it is\nwhat makes the caret appear — a card nobody can collapse should not offer to.",
|
|
68
|
+
"control": {
|
|
69
|
+
"kind": "callback",
|
|
70
|
+
"fixture": "callback.log"
|
|
71
|
+
}
|
|
44
72
|
},
|
|
45
73
|
{
|
|
46
74
|
"name": "toggleLabel",
|
|
47
75
|
"type": "string",
|
|
48
76
|
"required": false,
|
|
49
77
|
"defaultValue": null,
|
|
50
|
-
"description": "Accessible name for the caret. Defaults to `\"Collapse\"` / `\"Expand\"`."
|
|
78
|
+
"description": "Accessible name for the caret. Defaults to `\"Collapse\"` / `\"Expand\"`.",
|
|
79
|
+
"control": {
|
|
80
|
+
"kind": "string"
|
|
81
|
+
}
|
|
51
82
|
},
|
|
52
83
|
{
|
|
53
84
|
"name": "children",
|
|
54
85
|
"type": "ReactNode",
|
|
55
86
|
"required": false,
|
|
56
87
|
"defaultValue": null,
|
|
57
|
-
"description": "The body: rows, bars, fields. Full-bleed — rows own their own padding."
|
|
88
|
+
"description": "The body: rows, bars, fields. Full-bleed — rows own their own padding.",
|
|
89
|
+
"control": {
|
|
90
|
+
"kind": "node",
|
|
91
|
+
"fixture": "children.text"
|
|
92
|
+
}
|
|
58
93
|
}
|
|
59
94
|
],
|
|
60
95
|
"typeReferences": [
|
|
@@ -14,14 +14,29 @@
|
|
|
14
14
|
"type": "\"danger\" | \"accent\" | \"busy\" | \"muted\" | \"ok\" | \"warn\" | \"info\"",
|
|
15
15
|
"required": false,
|
|
16
16
|
"defaultValue": "accent",
|
|
17
|
-
"description": "What the connection carries. Defaults to `\"accent\"`."
|
|
17
|
+
"description": "What the connection carries. Defaults to `\"accent\"`.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "enum",
|
|
20
|
+
"members": [
|
|
21
|
+
"danger",
|
|
22
|
+
"accent",
|
|
23
|
+
"busy",
|
|
24
|
+
"muted",
|
|
25
|
+
"ok",
|
|
26
|
+
"warn",
|
|
27
|
+
"info"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
18
30
|
},
|
|
19
31
|
{
|
|
20
32
|
"name": "size",
|
|
21
33
|
"type": "number",
|
|
22
34
|
"required": false,
|
|
23
35
|
"defaultValue": "9",
|
|
24
|
-
"description": "Diameter in px at the 16px root, emitted as `rem`. Defaults to `9`."
|
|
36
|
+
"description": "Diameter in px at the 16px root, emitted as `rem`. Defaults to `9`.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "number"
|
|
39
|
+
}
|
|
25
40
|
}
|
|
26
41
|
],
|
|
27
42
|
"typeReferences": [
|
|
@@ -12,42 +12,64 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Extra classes, merged over the group chassis."
|
|
15
|
+
"description": "Extra classes, merged over the group chassis.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "aria-label",
|
|
19
22
|
"type": "string",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Accessible name for the text control, when no {@link FieldLabel } names it."
|
|
25
|
+
"description": "Accessible name for the text control, when no {@link FieldLabel } names it.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "string"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "size",
|
|
26
32
|
"type": "\"sm\" | \"md\"",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": "md",
|
|
29
|
-
"description": "Rung of the control ladder. Defaults to `\"md\"`."
|
|
35
|
+
"description": "Rung of the control ladder. Defaults to `\"md\"`.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "enum",
|
|
38
|
+
"members": [
|
|
39
|
+
"sm",
|
|
40
|
+
"md"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
30
43
|
},
|
|
31
44
|
{
|
|
32
45
|
"name": "placeholder",
|
|
33
46
|
"type": "string",
|
|
34
47
|
"required": false,
|
|
35
48
|
"defaultValue": null,
|
|
36
|
-
"description": "Placeholder shown while the field is empty."
|
|
49
|
+
"description": "Placeholder shown while the field is empty.",
|
|
50
|
+
"control": {
|
|
51
|
+
"kind": "string"
|
|
52
|
+
}
|
|
37
53
|
},
|
|
38
54
|
{
|
|
39
55
|
"name": "decrementLabel",
|
|
40
56
|
"type": "string",
|
|
41
57
|
"required": false,
|
|
42
58
|
"defaultValue": "Decrease",
|
|
43
|
-
"description": "Accessible name for the decrement button. Defaults to `\"Decrease\"`."
|
|
59
|
+
"description": "Accessible name for the decrement button. Defaults to `\"Decrease\"`.",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "string"
|
|
62
|
+
}
|
|
44
63
|
},
|
|
45
64
|
{
|
|
46
65
|
"name": "incrementLabel",
|
|
47
66
|
"type": "string",
|
|
48
67
|
"required": false,
|
|
49
68
|
"defaultValue": "Increase",
|
|
50
|
-
"description": "Accessible name for the increment button. Defaults to `\"Increase\"`."
|
|
69
|
+
"description": "Accessible name for the increment button. Defaults to `\"Increase\"`.",
|
|
70
|
+
"control": {
|
|
71
|
+
"kind": "string"
|
|
72
|
+
}
|
|
51
73
|
}
|
|
52
74
|
],
|
|
53
75
|
"typeReferences": [
|
|
@@ -12,14 +12,20 @@
|
|
|
12
12
|
"type": "number",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Numeric value whose digits roll into place as it changes."
|
|
15
|
+
"description": "Numeric value whose digits roll into place as it changes.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "number"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "label",
|
|
19
22
|
"type": "string",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Mono caption rendered under the rolling number."
|
|
25
|
+
"description": "Mono caption rendered under the rolling number.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "string"
|
|
28
|
+
}
|
|
23
29
|
}
|
|
24
30
|
],
|
|
25
31
|
"typeReferences": [
|
|
@@ -12,28 +12,42 @@
|
|
|
12
12
|
"type": "readonly OnboardingStep[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "What to teach, in order. Three is usually the limit before it is skipped."
|
|
15
|
+
"description": "What to teach, in order. Three is usually the limit before it is skipped.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "index",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Which step is showing. The final step's action reads Start instead of Next."
|
|
25
|
+
"description": "Which step is showing. The final step's action reads Start instead of Next.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "onNext",
|
|
26
32
|
"type": "(() => void)",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Called to advance."
|
|
35
|
+
"description": "Called to advance.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "callback",
|
|
38
|
+
"fixture": "callback.log"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "onSkip",
|
|
33
43
|
"type": "(() => void)",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": null,
|
|
36
|
-
"description": "Called to dismiss. Always offer it."
|
|
46
|
+
"description": "Called to dismiss. Always offer it.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "callback",
|
|
49
|
+
"fixture": "callback.log"
|
|
50
|
+
}
|
|
37
51
|
}
|
|
38
52
|
],
|
|
39
53
|
"typeReferences": [
|
|
@@ -12,63 +12,97 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Extra classes for the row."
|
|
15
|
+
"description": "Extra classes for the row.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "id",
|
|
19
22
|
"type": "string",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Id of the first slot. Generated when omitted, so the hidden label can target it."
|
|
25
|
+
"description": "Id of the first slot. Generated when omitted, so the hidden label can target it.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "string"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "aria-label",
|
|
26
32
|
"type": "string",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Accessible name for the field. Names the group *and*, through a visually\nhidden `<label>`, the first slot — the ARIA pattern for a code field. Leave\nit off inside a {@link Field }, which supplies a real label."
|
|
35
|
+
"description": "Accessible name for the field. Names the group *and*, through a visually\nhidden `<label>`, the first slot — the ARIA pattern for a code field. Leave\nit off inside a {@link Field }, which supplies a real label.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "string"
|
|
38
|
+
}
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
41
|
"name": "separator",
|
|
33
42
|
"type": "ReactNode",
|
|
34
43
|
"required": false,
|
|
35
44
|
"defaultValue": "–",
|
|
36
|
-
"description": "What sits between groups. Defaults to `\"–\"`. Always `aria-hidden`."
|
|
45
|
+
"description": "What sits between groups. Defaults to `\"–\"`. Always `aria-hidden`.",
|
|
46
|
+
"control": {
|
|
47
|
+
"kind": "node",
|
|
48
|
+
"fixture": "children.text"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "size",
|
|
40
53
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
41
54
|
"required": false,
|
|
42
55
|
"defaultValue": "md",
|
|
43
|
-
"description": "Rung of the control ladder. Defaults to `\"md\"`."
|
|
56
|
+
"description": "Rung of the control ladder. Defaults to `\"md\"`.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "enum",
|
|
59
|
+
"members": [
|
|
60
|
+
"sm",
|
|
61
|
+
"md",
|
|
62
|
+
"lg"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
44
65
|
},
|
|
45
66
|
{
|
|
46
67
|
"name": "length",
|
|
47
68
|
"type": "number",
|
|
48
69
|
"required": false,
|
|
49
70
|
"defaultValue": "6",
|
|
50
|
-
"description": "How many characters the code has. Defaults to `6`."
|
|
71
|
+
"description": "How many characters the code has. Defaults to `6`.",
|
|
72
|
+
"control": {
|
|
73
|
+
"kind": "number"
|
|
74
|
+
}
|
|
51
75
|
},
|
|
52
76
|
{
|
|
53
77
|
"name": "groupSize",
|
|
54
78
|
"type": "number",
|
|
55
79
|
"required": false,
|
|
56
80
|
"defaultValue": null,
|
|
57
|
-
"description": "Insert a separator after every `groupSize` slots — `groupSize={3}` renders a\nsix-character code as `123 456`, which is how people read one off a screen."
|
|
81
|
+
"description": "Insert a separator after every `groupSize` slots — `groupSize={3}` renders a\nsix-character code as `123 456`, which is how people read one off a screen.",
|
|
82
|
+
"control": {
|
|
83
|
+
"kind": "number"
|
|
84
|
+
}
|
|
58
85
|
},
|
|
59
86
|
{
|
|
60
87
|
"name": "slotLabel",
|
|
61
88
|
"type": "((index: number, length: number) => string)",
|
|
62
89
|
"required": false,
|
|
63
90
|
"defaultValue": "(index, total) => `Character ${index + 1} of ${total}`",
|
|
64
|
-
"description": "Accessible name for slot `index` (1-based here, since slot 0 is named by the\nfield label) of `length`. Defaults to\n``(index, length) => `Character ${index + 1} of ${length}` ``."
|
|
91
|
+
"description": "Accessible name for slot `index` (1-based here, since slot 0 is named by the\nfield label) of `length`. Defaults to\n``(index, length) => `Character ${index + 1} of ${length}` ``.",
|
|
92
|
+
"control": {
|
|
93
|
+
"kind": "callback",
|
|
94
|
+
"fixture": "callback.log"
|
|
95
|
+
}
|
|
65
96
|
},
|
|
66
97
|
{
|
|
67
98
|
"name": "slotClassName",
|
|
68
99
|
"type": "string",
|
|
69
100
|
"required": false,
|
|
70
101
|
"defaultValue": null,
|
|
71
|
-
"description": "Extra classes for every slot."
|
|
102
|
+
"description": "Extra classes for every slot.",
|
|
103
|
+
"control": {
|
|
104
|
+
"kind": "string"
|
|
105
|
+
}
|
|
72
106
|
}
|
|
73
107
|
],
|
|
74
108
|
"typeReferences": [
|
|
@@ -79,7 +113,6 @@
|
|
|
79
113
|
"variants": {},
|
|
80
114
|
"defaultVariants": {},
|
|
81
115
|
"tokensUsed": [
|
|
82
|
-
"--cue-accent",
|
|
83
116
|
"--cue-border",
|
|
84
117
|
"--cue-border-strong",
|
|
85
118
|
"--cue-control-lg",
|
|
@@ -12,42 +12,71 @@
|
|
|
12
12
|
"type": "\"narrow\" | \"wide\" | \"broad\" | \"full\"",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "narrow",
|
|
15
|
-
"description": "Which measure the content column takes. Defaults to `\"narrow\"`."
|
|
15
|
+
"description": "Which measure the content column takes. Defaults to `\"narrow\"`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"narrow",
|
|
20
|
+
"wide",
|
|
21
|
+
"broad",
|
|
22
|
+
"full"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
16
25
|
},
|
|
17
26
|
{
|
|
18
27
|
"name": "title",
|
|
19
28
|
"type": "ReactNode",
|
|
20
29
|
"required": false,
|
|
21
30
|
"defaultValue": null,
|
|
22
|
-
"description": "The page heading. Rendered as the `<h1>`."
|
|
31
|
+
"description": "The page heading. Rendered as the `<h1>`.",
|
|
32
|
+
"control": {
|
|
33
|
+
"kind": "node",
|
|
34
|
+
"fixture": "children.text"
|
|
35
|
+
}
|
|
23
36
|
},
|
|
24
37
|
{
|
|
25
38
|
"name": "subtitle",
|
|
26
39
|
"type": "ReactNode",
|
|
27
40
|
"required": false,
|
|
28
41
|
"defaultValue": null,
|
|
29
|
-
"description": "One supporting line under the title."
|
|
42
|
+
"description": "One supporting line under the title.",
|
|
43
|
+
"control": {
|
|
44
|
+
"kind": "node",
|
|
45
|
+
"fixture": "children.text"
|
|
46
|
+
}
|
|
30
47
|
},
|
|
31
48
|
{
|
|
32
49
|
"name": "eyebrow",
|
|
33
50
|
"type": "ReactNode",
|
|
34
51
|
"required": false,
|
|
35
52
|
"defaultValue": null,
|
|
36
|
-
"description": "Accent kicker above the title — normally an `<Eyebrow>`."
|
|
53
|
+
"description": "Accent kicker above the title — normally an `<Eyebrow>`.",
|
|
54
|
+
"control": {
|
|
55
|
+
"kind": "node",
|
|
56
|
+
"fixture": "children.text"
|
|
57
|
+
}
|
|
37
58
|
},
|
|
38
59
|
{
|
|
39
60
|
"name": "actions",
|
|
40
61
|
"type": "ReactNode",
|
|
41
62
|
"required": false,
|
|
42
63
|
"defaultValue": null,
|
|
43
|
-
"description": "Page-level actions, aligned with the title."
|
|
64
|
+
"description": "Page-level actions, aligned with the title.",
|
|
65
|
+
"control": {
|
|
66
|
+
"kind": "node",
|
|
67
|
+
"fixture": "children.text"
|
|
68
|
+
}
|
|
44
69
|
},
|
|
45
70
|
{
|
|
46
71
|
"name": "children",
|
|
47
72
|
"type": "ReactNode",
|
|
48
73
|
"required": false,
|
|
49
74
|
"defaultValue": null,
|
|
50
|
-
"description": "The page body."
|
|
75
|
+
"description": "The page body.",
|
|
76
|
+
"control": {
|
|
77
|
+
"kind": "node",
|
|
78
|
+
"fixture": "children.text"
|
|
79
|
+
}
|
|
51
80
|
}
|
|
52
81
|
],
|
|
53
82
|
"typeReferences": [
|
|
@@ -12,35 +12,51 @@
|
|
|
12
12
|
"type": "number",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The current page, 1-based."
|
|
15
|
+
"description": "The current page, 1-based.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "number"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "pageCount",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "How many pages there are in total."
|
|
25
|
+
"description": "How many pages there are in total.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "onPageChange",
|
|
26
32
|
"type": "(page: number) => void",
|
|
27
33
|
"required": true,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Called with the page a control asked for. Always within `1..pageCount`."
|
|
35
|
+
"description": "Called with the page a control asked for. Always within `1..pageCount`.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "callback",
|
|
38
|
+
"fixture": "callback.log"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "siblingCount",
|
|
33
43
|
"type": "number",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "1",
|
|
36
|
-
"description": "How many pages to show either side of the current one. Defaults to `1`."
|
|
46
|
+
"description": "How many pages to show either side of the current one. Defaults to `1`.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "number"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "label",
|
|
40
53
|
"type": "string",
|
|
41
54
|
"required": false,
|
|
42
55
|
"defaultValue": "Pagination",
|
|
43
|
-
"description": "The nav's accessible name. Defaults to `\"Pagination\"`."
|
|
56
|
+
"description": "The nav's accessible name. Defaults to `\"Pagination\"`.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "string"
|
|
59
|
+
}
|
|
44
60
|
}
|
|
45
61
|
],
|
|
46
62
|
"typeReferences": [
|
|
@@ -12,21 +12,33 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The header's label. Rendered one type rung above body text — the panel's\nown name, not a page heading."
|
|
15
|
+
"description": "The header's label. Rendered one type rung above body text — the panel's\nown name, not a page heading.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "actions",
|
|
19
23
|
"type": "ReactNode",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "Right-hand slot: the controls that act on the whole panel (a menu, a\nrefresh button, a count chip)."
|
|
26
|
+
"description": "Right-hand slot: the controls that act on the whole panel (a menu, a\nrefresh button, a count chip).",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "node",
|
|
29
|
+
"fixture": "children.text"
|
|
30
|
+
}
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
"name": "children",
|
|
26
34
|
"type": "ReactNode",
|
|
27
35
|
"required": false,
|
|
28
36
|
"defaultValue": null,
|
|
29
|
-
"description": "Extra content in the leading cluster, after the title."
|
|
37
|
+
"description": "Extra content in the leading cluster, after the title.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "node",
|
|
40
|
+
"fixture": "children.text"
|
|
41
|
+
}
|
|
30
42
|
}
|
|
31
43
|
],
|
|
32
44
|
"typeReferences": [
|
|
@@ -12,56 +12,86 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Extra classes for the group that wraps the input and the reveal button."
|
|
15
|
+
"description": "Extra classes for the group that wraps the input and the reveal button.",
|
|
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\"`."
|
|
25
|
+
"description": "Rung of the control ladder. Defaults to `\"md\"`.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "enum",
|
|
28
|
+
"members": [
|
|
29
|
+
"sm",
|
|
30
|
+
"md",
|
|
31
|
+
"lg"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
23
34
|
},
|
|
24
35
|
{
|
|
25
36
|
"name": "hideLabel",
|
|
26
37
|
"type": "string",
|
|
27
38
|
"required": false,
|
|
28
39
|
"defaultValue": "Hide password",
|
|
29
|
-
"description": "Accessible name while revealed. Defaults to `\"Hide password\"`."
|
|
40
|
+
"description": "Accessible name while revealed. Defaults to `\"Hide password\"`.",
|
|
41
|
+
"control": {
|
|
42
|
+
"kind": "string"
|
|
43
|
+
}
|
|
30
44
|
},
|
|
31
45
|
{
|
|
32
46
|
"name": "revealed",
|
|
33
47
|
"type": "boolean",
|
|
34
48
|
"required": false,
|
|
35
49
|
"defaultValue": null,
|
|
36
|
-
"description": "Reveal the value. Use with `onRevealedChange` for a controlled toggle."
|
|
50
|
+
"description": "Reveal the value. Use with `onRevealedChange` for a controlled toggle.",
|
|
51
|
+
"control": {
|
|
52
|
+
"kind": "boolean"
|
|
53
|
+
}
|
|
37
54
|
},
|
|
38
55
|
{
|
|
39
56
|
"name": "defaultRevealed",
|
|
40
57
|
"type": "boolean",
|
|
41
58
|
"required": false,
|
|
42
59
|
"defaultValue": "false",
|
|
43
|
-
"description": "Initially revealed, for an uncontrolled toggle. Defaults to `false`."
|
|
60
|
+
"description": "Initially revealed, for an uncontrolled toggle. Defaults to `false`.",
|
|
61
|
+
"control": {
|
|
62
|
+
"kind": "boolean"
|
|
63
|
+
}
|
|
44
64
|
},
|
|
45
65
|
{
|
|
46
66
|
"name": "onRevealedChange",
|
|
47
67
|
"type": "((revealed: boolean) => void)",
|
|
48
68
|
"required": false,
|
|
49
69
|
"defaultValue": null,
|
|
50
|
-
"description": "Called with the new reveal state."
|
|
70
|
+
"description": "Called with the new reveal state.",
|
|
71
|
+
"control": {
|
|
72
|
+
"kind": "callback",
|
|
73
|
+
"fixture": "callback.log"
|
|
74
|
+
}
|
|
51
75
|
},
|
|
52
76
|
{
|
|
53
77
|
"name": "showReveal",
|
|
54
78
|
"type": "boolean",
|
|
55
79
|
"required": false,
|
|
56
80
|
"defaultValue": "true",
|
|
57
|
-
"description": "Offer the reveal affordance at all. Defaults to `true`. Switch it off for a\nvalue the product must never re-display — a stored secret the user is\nreplacing rather than reading."
|
|
81
|
+
"description": "Offer the reveal affordance at all. Defaults to `true`. Switch it off for a\nvalue the product must never re-display — a stored secret the user is\nreplacing rather than reading.",
|
|
82
|
+
"control": {
|
|
83
|
+
"kind": "boolean"
|
|
84
|
+
}
|
|
58
85
|
},
|
|
59
86
|
{
|
|
60
87
|
"name": "revealLabel",
|
|
61
88
|
"type": "string",
|
|
62
89
|
"required": false,
|
|
63
90
|
"defaultValue": "Show password",
|
|
64
|
-
"description": "Accessible name while masked. Defaults to `\"Show password\"`."
|
|
91
|
+
"description": "Accessible name while masked. Defaults to `\"Show password\"`.",
|
|
92
|
+
"control": {
|
|
93
|
+
"kind": "string"
|
|
94
|
+
}
|
|
65
95
|
}
|
|
66
96
|
],
|
|
67
97
|
"typeReferences": [
|