@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
|
@@ -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": [
|
|
@@ -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": [
|