@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,58 @@
|
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "What is being granted, named as a capability rather than an action."
|
|
17
|
+
"description": "What is being granted, named as a capability rather than an action.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "requester",
|
|
21
24
|
"type": "string",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Who is asking."
|
|
27
|
+
"description": "Who is asking.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "string"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "reach",
|
|
28
34
|
"type": "readonly string[]",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Exactly what the grant covers, and what it does not. Write the limits in too."
|
|
37
|
+
"description": "Exactly what the grant covers, and what it does not. Write the limits in too.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "array",
|
|
40
|
+
"fixture": "agent.transcript"
|
|
41
|
+
}
|
|
32
42
|
},
|
|
33
43
|
{
|
|
34
44
|
"name": "scope",
|
|
35
45
|
"type": "\"pending\" | \"always\" | \"denied\" | \"session\"",
|
|
36
46
|
"required": true,
|
|
37
47
|
"defaultValue": null,
|
|
38
|
-
"description": "pending shows the choices; anything else shows the settled outcome."
|
|
48
|
+
"description": "pending shows the choices; anything else shows the settled outcome.",
|
|
49
|
+
"control": {
|
|
50
|
+
"kind": "enum",
|
|
51
|
+
"members": [
|
|
52
|
+
"pending",
|
|
53
|
+
"always",
|
|
54
|
+
"denied",
|
|
55
|
+
"session"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
39
58
|
},
|
|
40
59
|
{
|
|
41
60
|
"name": "onGrant",
|
|
42
61
|
"type": "((scope: GrantScope) => void)",
|
|
43
62
|
"required": false,
|
|
44
63
|
"defaultValue": null,
|
|
45
|
-
"description": "Called with the scope the user chose."
|
|
64
|
+
"description": "Called with the scope the user chose.",
|
|
65
|
+
"control": {
|
|
66
|
+
"kind": "callback",
|
|
67
|
+
"fixture": "callback.log"
|
|
68
|
+
}
|
|
46
69
|
}
|
|
47
70
|
],
|
|
48
71
|
"typeReferences": [
|
|
@@ -12,84 +12,129 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The question, in the words of the thing being asked for: `Run this\ncommand?`, `Edit this file?`. One step up in size, as the reference sets\nit: it is the only sentence on the card that has to be read."
|
|
15
|
+
"description": "The question, in the words of the thing being asked for: `Run this\ncommand?`, `Edit this file?`. One step up in size, as the reference sets\nit: it is the only sentence on the card that has to be read.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "subject",
|
|
19
22
|
"type": "string",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "The file, host or command the question is about, set in mono beside it.\nOmit for a question that names its own subject."
|
|
25
|
+
"description": "The file, host or command the question is about, set in mono beside it.\nOmit for a question that names its own subject.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "string"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "input",
|
|
26
32
|
"type": "string",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "The exact input the call would run with, drawn in a recessed mono box —\nthe command, the patch, the URL. Shown verbatim and never parsed."
|
|
35
|
+
"description": "The exact input the call would run with, drawn in a recessed mono box —\nthe command, the patch, the URL. Shown verbatim and never parsed.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "string"
|
|
38
|
+
}
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
41
|
"name": "rules",
|
|
33
42
|
"type": "readonly string[]",
|
|
34
43
|
"required": false,
|
|
35
44
|
"defaultValue": "[]",
|
|
36
|
-
"description": "The rules a standing grant would write, exactly as they will be written.\nThe always-allow answer's label is built from these; when there are more\nthan the label can name, all of them are listed under it."
|
|
45
|
+
"description": "The rules a standing grant would write, exactly as they will be written.\nThe always-allow answer's label is built from these; when there are more\nthan the label can name, all of them are listed under it.",
|
|
46
|
+
"control": {
|
|
47
|
+
"kind": "array",
|
|
48
|
+
"fixture": "agent.transcript"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "ruleKind",
|
|
40
53
|
"type": "\"directory\" | \"rule\"",
|
|
41
54
|
"required": false,
|
|
42
55
|
"defaultValue": "rule",
|
|
43
|
-
"description": "Whether `rules` are rules or directories, which changes the phrasing."
|
|
56
|
+
"description": "Whether `rules` are rules or directories, which changes the phrasing.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "enum",
|
|
59
|
+
"members": [
|
|
60
|
+
"directory",
|
|
61
|
+
"rule"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
44
64
|
},
|
|
45
65
|
{
|
|
46
66
|
"name": "scopes",
|
|
47
67
|
"type": "readonly PermissionScope[]",
|
|
48
68
|
"required": false,
|
|
49
69
|
"defaultValue": "[]",
|
|
50
|
-
"description": "Where a standing grant can be written, in the order they are offered.\n**No scopes means no always-allow answer**: a permanent grant that cannot\nsay where it is saved is not one this element will offer."
|
|
70
|
+
"description": "Where a standing grant can be written, in the order they are offered.\n**No scopes means no always-allow answer**: a permanent grant that cannot\nsay where it is saved is not one this element will offer.",
|
|
71
|
+
"control": {
|
|
72
|
+
"kind": "array"
|
|
73
|
+
}
|
|
51
74
|
},
|
|
52
75
|
{
|
|
53
76
|
"name": "scope",
|
|
54
77
|
"type": "string",
|
|
55
78
|
"required": false,
|
|
56
79
|
"defaultValue": null,
|
|
57
|
-
"description": "Which scope is chosen, by `id`. Defaults to the first. Claude Code\npersists this choice across prompts and so should a console — which is why\nit is a prop here rather than state: this element never remembers anything."
|
|
80
|
+
"description": "Which scope is chosen, by `id`. Defaults to the first. Claude Code\npersists this choice across prompts and so should a console — which is why\nit is a prop here rather than state: this element never remembers anything.",
|
|
81
|
+
"control": {
|
|
82
|
+
"kind": "string"
|
|
83
|
+
}
|
|
58
84
|
},
|
|
59
85
|
{
|
|
60
86
|
"name": "onScopeChange",
|
|
61
87
|
"type": "((id: string) => void)",
|
|
62
88
|
"required": false,
|
|
63
89
|
"defaultValue": null,
|
|
64
|
-
"description": "Called with the next scope's `id` when the destination is cycled."
|
|
90
|
+
"description": "Called with the next scope's `id` when the destination is cycled.",
|
|
91
|
+
"control": {
|
|
92
|
+
"kind": "callback",
|
|
93
|
+
"fixture": "callback.log"
|
|
94
|
+
}
|
|
65
95
|
},
|
|
66
96
|
{
|
|
67
97
|
"name": "onAllowOnce",
|
|
68
98
|
"type": "(() => void)",
|
|
69
99
|
"required": false,
|
|
70
100
|
"defaultValue": null,
|
|
71
|
-
"description": "Yes, once. The answer exists only when this is given."
|
|
101
|
+
"description": "Yes, once. The answer exists only when this is given.",
|
|
102
|
+
"control": {
|
|
103
|
+
"kind": "callback",
|
|
104
|
+
"fixture": "callback.log"
|
|
105
|
+
}
|
|
72
106
|
},
|
|
73
107
|
{
|
|
74
108
|
"name": "onAlwaysAllow",
|
|
75
109
|
"type": "((scope: string) => void)",
|
|
76
110
|
"required": false,
|
|
77
111
|
"defaultValue": null,
|
|
78
|
-
"description": "Yes, and write the rules to the chosen scope — reported by `id`. The\nanswer exists only when this **and** at least one scope are given."
|
|
112
|
+
"description": "Yes, and write the rules to the chosen scope — reported by `id`. The\nanswer exists only when this **and** at least one scope are given.",
|
|
113
|
+
"control": {
|
|
114
|
+
"kind": "callback",
|
|
115
|
+
"fixture": "callback.log"
|
|
116
|
+
}
|
|
79
117
|
},
|
|
80
118
|
{
|
|
81
119
|
"name": "onDeny",
|
|
82
120
|
"type": "(() => void)",
|
|
83
121
|
"required": false,
|
|
84
122
|
"defaultValue": null,
|
|
85
|
-
"description": "No. Also what `Escape` does, while focus is inside the card. The answer\nexists only when this is given."
|
|
123
|
+
"description": "No. Also what `Escape` does, while focus is inside the card. The answer\nexists only when this is given.",
|
|
124
|
+
"control": {
|
|
125
|
+
"kind": "callback",
|
|
126
|
+
"fixture": "callback.log"
|
|
127
|
+
}
|
|
86
128
|
},
|
|
87
129
|
{
|
|
88
130
|
"name": "labels",
|
|
89
131
|
"type": "Partial<PermissionLabels>",
|
|
90
132
|
"required": false,
|
|
91
133
|
"defaultValue": null,
|
|
92
|
-
"description": "The card's own six strings, merged over `PERMISSION_LABELS`."
|
|
134
|
+
"description": "The card's own six strings, merged over `PERMISSION_LABELS`.",
|
|
135
|
+
"control": {
|
|
136
|
+
"kind": "opaque"
|
|
137
|
+
}
|
|
93
138
|
}
|
|
94
139
|
],
|
|
95
140
|
"typeReferences": [
|
|
@@ -12,63 +12,92 @@
|
|
|
12
12
|
"type": "NoteRange",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The selected range. Use with `onRangeChange` for a controlled widget."
|
|
15
|
+
"description": "The selected range. Use with `onRangeChange` for a controlled widget.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "opaque"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "defaultRange",
|
|
19
22
|
"type": "NoteRange",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "{ start: 48, end: 72 }",
|
|
22
|
-
"description": "Initial range for an uncontrolled widget. Defaults to C2–C4."
|
|
25
|
+
"description": "Initial range for an uncontrolled widget. Defaults to C2–C4.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "opaque"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "onRangeChange",
|
|
26
32
|
"type": "((range: NoteRange) => void)",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "Called with the range each edit produces."
|
|
35
|
+
"description": "Called with the range each edit produces.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "callback",
|
|
38
|
+
"fixture": "callback.log"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "octaves",
|
|
33
43
|
"type": "number",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "3",
|
|
36
|
-
"description": "How many octaves to draw. Defaults to `3`."
|
|
46
|
+
"description": "How many octaves to draw. Defaults to `3`.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "number"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "highlight",
|
|
40
53
|
"type": "readonly number[]",
|
|
41
54
|
"required": false,
|
|
42
55
|
"defaultValue": null,
|
|
43
|
-
"description": "Notes sounding right now, painted solid."
|
|
56
|
+
"description": "Notes sounding right now, painted solid.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "array",
|
|
59
|
+
"fixture": "chart.series"
|
|
60
|
+
}
|
|
44
61
|
},
|
|
45
62
|
{
|
|
46
63
|
"name": "keyHeight",
|
|
47
64
|
"type": "number",
|
|
48
65
|
"required": false,
|
|
49
66
|
"defaultValue": "48",
|
|
50
|
-
"description": "White-key height in px at the 16px root, emitted as `rem`. Defaults to `48`."
|
|
67
|
+
"description": "White-key height in px at the 16px root, emitted as `rem`. Defaults to `48`.",
|
|
68
|
+
"control": {
|
|
69
|
+
"kind": "number"
|
|
70
|
+
}
|
|
51
71
|
},
|
|
52
72
|
{
|
|
53
73
|
"name": "label",
|
|
54
74
|
"type": "string",
|
|
55
75
|
"required": false,
|
|
56
76
|
"defaultValue": "Note range",
|
|
57
|
-
"description": "What the range is *of*. Names the group and both markers. Defaults to `\"Note range\"`."
|
|
77
|
+
"description": "What the range is *of*. Names the group and both markers. Defaults to `\"Note range\"`.",
|
|
78
|
+
"control": {
|
|
79
|
+
"kind": "string"
|
|
80
|
+
}
|
|
58
81
|
},
|
|
59
82
|
{
|
|
60
83
|
"name": "readout",
|
|
61
84
|
"type": "boolean",
|
|
62
85
|
"required": false,
|
|
63
86
|
"defaultValue": "true",
|
|
64
|
-
"description": "Print the range and its size under the board. Defaults to `true`."
|
|
87
|
+
"description": "Print the range and its size under the board. Defaults to `true`.",
|
|
88
|
+
"control": {
|
|
89
|
+
"kind": "boolean"
|
|
90
|
+
}
|
|
65
91
|
},
|
|
66
92
|
{
|
|
67
93
|
"name": "disabled",
|
|
68
94
|
"type": "boolean",
|
|
69
95
|
"required": false,
|
|
70
96
|
"defaultValue": "false",
|
|
71
|
-
"description": "Refuse every edit. The board still draws."
|
|
97
|
+
"description": "Refuse every edit. The board still draws.",
|
|
98
|
+
"control": {
|
|
99
|
+
"kind": "boolean"
|
|
100
|
+
}
|
|
72
101
|
}
|
|
73
102
|
],
|
|
74
103
|
"typeReferences": [
|
|
@@ -12,35 +12,64 @@
|
|
|
12
12
|
"type": "\"default\" | \"blink\" | \"wink\" | \"look-left\" | \"look-right\" | \"look-up\" | \"look-down\"",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "default",
|
|
15
|
-
"description": "Which pose to hold. Defaults to `\"default\"`, eyes open and level.\n\nEvery pose is a still from the character's own animations rather than a\nnew drawing, so a screen that holds one and a video that plays through it\nagree."
|
|
15
|
+
"description": "Which pose to hold. Defaults to `\"default\"`, eyes open and level.\n\nEvery pose is a still from the character's own animations rather than a\nnew drawing, so a screen that holds one and a video that plays through it\nagree.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"default",
|
|
20
|
+
"blink",
|
|
21
|
+
"wink",
|
|
22
|
+
"look-left",
|
|
23
|
+
"look-right",
|
|
24
|
+
"look-up",
|
|
25
|
+
"look-down"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
16
28
|
},
|
|
17
29
|
{
|
|
18
30
|
"name": "idle",
|
|
19
31
|
"type": "boolean",
|
|
20
32
|
"required": false,
|
|
21
33
|
"defaultValue": "false",
|
|
22
|
-
"description": "Blink every few seconds, on a CSS keyframe. Defaults to `false`.\n\nOff by default because a mark that moves in the corner of the eye is a\ndistraction on a console screen, and off again for a reader who has asked\nfor reduced motion — the rule that drives it is inside a\n`prefers-reduced-motion` guard, so there is no state to keep and nothing to\nturn off a second time.\n\nIt composes with `expression`: a winking Plussie blinks its open eye."
|
|
34
|
+
"description": "Blink every few seconds, on a CSS keyframe. Defaults to `false`.\n\nOff by default because a mark that moves in the corner of the eye is a\ndistraction on a console screen, and off again for a reader who has asked\nfor reduced motion — the rule that drives it is inside a\n`prefers-reduced-motion` guard, so there is no state to keep and nothing to\nturn off a second time.\n\nIt composes with `expression`: a winking Plussie blinks its open eye.",
|
|
35
|
+
"control": {
|
|
36
|
+
"kind": "boolean"
|
|
37
|
+
}
|
|
23
38
|
},
|
|
24
39
|
{
|
|
25
40
|
"name": "size",
|
|
26
41
|
"type": "number | BrandSize",
|
|
27
42
|
"required": false,
|
|
28
43
|
"defaultValue": "md",
|
|
29
|
-
"description": "Rung of the density control ladder to draw at, or an explicit height in px.\nDefaults to `\"md\"`.\n\nHeight, always — every asset here keeps its own aspect ratio, so the width\nfollows from the artwork rather than from the caller."
|
|
44
|
+
"description": "Rung of the density control ladder to draw at, or an explicit height in px.\nDefaults to `\"md\"`.\n\nHeight, always — every asset here keeps its own aspect ratio, so the width\nfollows from the artwork rather than from the caller.",
|
|
45
|
+
"control": {
|
|
46
|
+
"kind": "opaque"
|
|
47
|
+
}
|
|
30
48
|
},
|
|
31
49
|
{
|
|
32
50
|
"name": "tone",
|
|
33
51
|
"type": "\"inherit\" | \"fg\" | \"accent\"",
|
|
34
52
|
"required": false,
|
|
35
53
|
"defaultValue": "inherit",
|
|
36
|
-
"description": "Where the ink comes from: `currentColor`, the foreground token, or the\naccent. Defaults to `\"inherit\"`."
|
|
54
|
+
"description": "Where the ink comes from: `currentColor`, the foreground token, or the\naccent. Defaults to `\"inherit\"`.",
|
|
55
|
+
"control": {
|
|
56
|
+
"kind": "enum",
|
|
57
|
+
"members": [
|
|
58
|
+
"inherit",
|
|
59
|
+
"fg",
|
|
60
|
+
"accent"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
37
63
|
},
|
|
38
64
|
{
|
|
39
65
|
"name": "title",
|
|
40
66
|
"type": "string",
|
|
41
67
|
"required": false,
|
|
42
68
|
"defaultValue": null,
|
|
43
|
-
"description": "The accessible name.\n\nOmit it and the asset is decorative — `aria-hidden`, announced by nothing.\nPass one only when the mark is the *only* thing naming what it sits on: a\nbare logo link, a splash screen with no heading."
|
|
69
|
+
"description": "The accessible name.\n\nOmit it and the asset is decorative — `aria-hidden`, announced by nothing.\nPass one only when the mark is the *only* thing naming what it sits on: a\nbare logo link, a splash screen with no heading.",
|
|
70
|
+
"control": {
|
|
71
|
+
"kind": "string"
|
|
72
|
+
}
|
|
44
73
|
}
|
|
45
74
|
],
|
|
46
75
|
"typeReferences": [
|
|
@@ -27,7 +27,10 @@
|
|
|
27
27
|
"type": "boolean",
|
|
28
28
|
"required": false,
|
|
29
29
|
"defaultValue": "true",
|
|
30
|
-
"description": "Close the popover when the viewport moves under it — a wheel anywhere\noutside the popup, or a window resize. Defaults to `true`.\n\nAn anchored popup is positioned from its trigger's rect. A canvas that pans\nby mutating a CSS transform fires no `scroll` event, so without this the\npopup silently detaches from the thing it belongs to. Set `false` when the\npopover must survive page scrolling (a pinned inspector, say)."
|
|
30
|
+
"description": "Close the popover when the viewport moves under it — a wheel anywhere\noutside the popup, or a window resize. Defaults to `true`.\n\nAn anchored popup is positioned from its trigger's rect. A canvas that pans\nby mutating a CSS transform fires no `scroll` event, so without this the\npopup silently detaches from the thing it belongs to. Set `false` when the\npopover must survive page scrolling (a pinned inspector, say).",
|
|
31
|
+
"control": {
|
|
32
|
+
"kind": "boolean"
|
|
33
|
+
}
|
|
31
34
|
}
|
|
32
35
|
],
|
|
33
36
|
"typeReferences": [
|
|
@@ -53,49 +56,83 @@
|
|
|
53
56
|
"type": "string",
|
|
54
57
|
"required": false,
|
|
55
58
|
"defaultValue": null,
|
|
56
|
-
"description": "Extra classes for the popup surface."
|
|
59
|
+
"description": "Extra classes for the popup surface.",
|
|
60
|
+
"control": {
|
|
61
|
+
"kind": "string"
|
|
62
|
+
}
|
|
57
63
|
},
|
|
58
64
|
{
|
|
59
65
|
"name": "align",
|
|
60
66
|
"type": "\"center\" | \"end\" | \"start\"",
|
|
61
67
|
"required": false,
|
|
62
68
|
"defaultValue": null,
|
|
63
|
-
"description": "Alignment along that side. Defaults to `\"center\"`."
|
|
69
|
+
"description": "Alignment along that side. Defaults to `\"center\"`.",
|
|
70
|
+
"control": {
|
|
71
|
+
"kind": "enum",
|
|
72
|
+
"members": [
|
|
73
|
+
"center",
|
|
74
|
+
"end",
|
|
75
|
+
"start"
|
|
76
|
+
]
|
|
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."
|
|
84
|
+
"description": "Keep the popup mounted while closed.",
|
|
85
|
+
"control": {
|
|
86
|
+
"kind": "boolean"
|
|
87
|
+
}
|
|
71
88
|
},
|
|
72
89
|
{
|
|
73
90
|
"name": "positionerClassName",
|
|
74
91
|
"type": "string",
|
|
75
92
|
"required": false,
|
|
76
93
|
"defaultValue": null,
|
|
77
|
-
"description": "Extra classes for the positioner that places the popup."
|
|
94
|
+
"description": "Extra classes for the positioner that places the popup.",
|
|
95
|
+
"control": {
|
|
96
|
+
"kind": "string"
|
|
97
|
+
}
|
|
78
98
|
},
|
|
79
99
|
{
|
|
80
100
|
"name": "sideOffset",
|
|
81
101
|
"type": "number | OffsetFunction",
|
|
82
102
|
"required": false,
|
|
83
103
|
"defaultValue": "4",
|
|
84
|
-
"description": "Gap in px between trigger and popup. Defaults to `4`."
|
|
104
|
+
"description": "Gap in px between trigger and popup. Defaults to `4`.",
|
|
105
|
+
"control": {
|
|
106
|
+
"kind": "opaque"
|
|
107
|
+
}
|
|
85
108
|
},
|
|
86
109
|
{
|
|
87
110
|
"name": "side",
|
|
88
111
|
"type": "\"left\" | \"right\" | \"bottom\" | \"top\" | \"inline-end\" | \"inline-start\"",
|
|
89
112
|
"required": false,
|
|
90
113
|
"defaultValue": null,
|
|
91
|
-
"description": "Preferred side of the trigger. Defaults to `\"bottom\"`."
|
|
114
|
+
"description": "Preferred side of the trigger. Defaults to `\"bottom\"`.",
|
|
115
|
+
"control": {
|
|
116
|
+
"kind": "enum",
|
|
117
|
+
"members": [
|
|
118
|
+
"left",
|
|
119
|
+
"right",
|
|
120
|
+
"bottom",
|
|
121
|
+
"top",
|
|
122
|
+
"inline-end",
|
|
123
|
+
"inline-start"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
92
126
|
},
|
|
93
127
|
{
|
|
94
128
|
"name": "alignOffset",
|
|
95
129
|
"type": "number | OffsetFunction",
|
|
96
130
|
"required": false,
|
|
97
131
|
"defaultValue": null,
|
|
98
|
-
"description": "Nudge along the alignment axis, in px."
|
|
132
|
+
"description": "Nudge along the alignment axis, in px.",
|
|
133
|
+
"control": {
|
|
134
|
+
"kind": "opaque"
|
|
135
|
+
}
|
|
99
136
|
}
|
|
100
137
|
],
|
|
101
138
|
"typeReferences": [
|
|
@@ -14,21 +14,30 @@
|
|
|
14
14
|
"type": "TokenEdits",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "The panel's edit surface."
|
|
17
|
+
"description": "The panel's edit surface.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "opaque"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "zoom",
|
|
21
24
|
"type": "ZoomValve",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "The root zoom valve the panel owns."
|
|
27
|
+
"description": "The root zoom valve the panel owns.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "opaque"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "className",
|
|
28
34
|
"type": "string",
|
|
29
35
|
"required": false,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Extra classes for the section."
|
|
37
|
+
"description": "Extra classes for the section.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "string"
|
|
40
|
+
}
|
|
32
41
|
}
|
|
33
42
|
],
|
|
34
43
|
"typeReferences": [],
|
|
@@ -46,9 +55,7 @@
|
|
|
46
55
|
"--cue-fg-subtle",
|
|
47
56
|
"--cue-font-mono",
|
|
48
57
|
"--cue-font-sans",
|
|
49
|
-
"--cue-font-scale",
|
|
50
58
|
"--cue-radius-control",
|
|
51
|
-
"--cue-radius-scale",
|
|
52
59
|
"--cue-space-1",
|
|
53
60
|
"--cue-space-2",
|
|
54
61
|
"--cue-space-4",
|
|
@@ -12,42 +12,61 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Caption above the bar. Rendered as Base UI's `Progress.Label`, so it also\nbecomes the bar's accessible name — pass one, or an `aria-label`."
|
|
15
|
+
"description": "Caption above the bar. Rendered as Base UI's `Progress.Label`, so it also\nbecomes the bar's accessible name — pass one, or an `aria-label`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "className",
|
|
19
23
|
"type": "string",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "Extra classes for the frame that holds the header and the track."
|
|
26
|
+
"description": "Extra classes for the frame that holds the header and the track.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "string"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "height",
|
|
26
33
|
"type": "number",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": "5",
|
|
29
|
-
"description": "Track height in px at the 16px root, emitted as `rem`. Defaults to `5`."
|
|
36
|
+
"description": "Track height in px at the 16px root, emitted as `rem`. Defaults to `5`.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "number"
|
|
39
|
+
}
|
|
30
40
|
},
|
|
31
41
|
{
|
|
32
42
|
"name": "showValue",
|
|
33
43
|
"type": "boolean",
|
|
34
44
|
"required": false,
|
|
35
45
|
"defaultValue": "false",
|
|
36
|
-
"description": "Show the formatted value opposite the label. Defaults to `false`."
|
|
46
|
+
"description": "Show the formatted value opposite the label. Defaults to `false`.",
|
|
47
|
+
"control": {
|
|
48
|
+
"kind": "boolean"
|
|
49
|
+
}
|
|
37
50
|
},
|
|
38
51
|
{
|
|
39
52
|
"name": "trackClassName",
|
|
40
53
|
"type": "string",
|
|
41
54
|
"required": false,
|
|
42
55
|
"defaultValue": null,
|
|
43
|
-
"description": "Extra classes for the track."
|
|
56
|
+
"description": "Extra classes for the track.",
|
|
57
|
+
"control": {
|
|
58
|
+
"kind": "string"
|
|
59
|
+
}
|
|
44
60
|
},
|
|
45
61
|
{
|
|
46
62
|
"name": "indicatorClassName",
|
|
47
63
|
"type": "string",
|
|
48
64
|
"required": false,
|
|
49
65
|
"defaultValue": null,
|
|
50
|
-
"description": "Extra classes for the fill."
|
|
66
|
+
"description": "Extra classes for the fill.",
|
|
67
|
+
"control": {
|
|
68
|
+
"kind": "string"
|
|
69
|
+
}
|
|
51
70
|
}
|
|
52
71
|
],
|
|
53
72
|
"typeReferences": [
|
|
@@ -14,42 +14,63 @@
|
|
|
14
14
|
"type": "readonly SavedPrompt[]",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Everything saved. Filtering happens inside against the name."
|
|
17
|
+
"description": "Everything saved. Filtering happens inside against the name.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "array"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "query",
|
|
21
24
|
"type": "string",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "Current search text."
|
|
27
|
+
"description": "Current search text.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "string"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "selectedId",
|
|
28
34
|
"type": "string",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Which prompt is previewed below the list."
|
|
37
|
+
"description": "Which prompt is previewed below the list.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "string"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "onQueryChange",
|
|
35
44
|
"type": "((query: string) => void)",
|
|
36
45
|
"required": false,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "Called as the search is typed."
|
|
47
|
+
"description": "Called as the search is typed.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "callback",
|
|
50
|
+
"fixture": "callback.log"
|
|
51
|
+
}
|
|
39
52
|
},
|
|
40
53
|
{
|
|
41
54
|
"name": "onSelect",
|
|
42
55
|
"type": "((id: string) => void)",
|
|
43
56
|
"required": false,
|
|
44
57
|
"defaultValue": null,
|
|
45
|
-
"description": "Called when a prompt is highlighted."
|
|
58
|
+
"description": "Called when a prompt is highlighted.",
|
|
59
|
+
"control": {
|
|
60
|
+
"kind": "callback",
|
|
61
|
+
"fixture": "callback.log"
|
|
62
|
+
}
|
|
46
63
|
},
|
|
47
64
|
{
|
|
48
65
|
"name": "onInsert",
|
|
49
66
|
"type": "((id: string) => void)",
|
|
50
67
|
"required": false,
|
|
51
68
|
"defaultValue": null,
|
|
52
|
-
"description": "Called on double click, to drop the prompt into the composer."
|
|
69
|
+
"description": "Called on double click, to drop the prompt into the composer.",
|
|
70
|
+
"control": {
|
|
71
|
+
"kind": "callback",
|
|
72
|
+
"fixture": "callback.log"
|
|
73
|
+
}
|
|
53
74
|
}
|
|
54
75
|
],
|
|
55
76
|
"typeReferences": [
|