@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
|
@@ -15,126 +15,189 @@
|
|
|
15
15
|
"type": "Date | null",
|
|
16
16
|
"required": false,
|
|
17
17
|
"defaultValue": null,
|
|
18
|
-
"description": "The chosen day. Use with `onValueChange` for a controlled field."
|
|
18
|
+
"description": "The chosen day. Use with `onValueChange` for a controlled field.",
|
|
19
|
+
"control": {
|
|
20
|
+
"kind": "opaque",
|
|
21
|
+
"nullable": true
|
|
22
|
+
}
|
|
19
23
|
},
|
|
20
24
|
{
|
|
21
25
|
"name": "defaultValue",
|
|
22
26
|
"type": "Date | null",
|
|
23
27
|
"required": false,
|
|
24
28
|
"defaultValue": null,
|
|
25
|
-
"description": "Initially chosen day for an uncontrolled field."
|
|
29
|
+
"description": "Initially chosen day for an uncontrolled field.",
|
|
30
|
+
"control": {
|
|
31
|
+
"kind": "opaque",
|
|
32
|
+
"nullable": true
|
|
33
|
+
}
|
|
26
34
|
},
|
|
27
35
|
{
|
|
28
36
|
"name": "onValueChange",
|
|
29
37
|
"type": "((value: Date) => void)",
|
|
30
38
|
"required": false,
|
|
31
39
|
"defaultValue": null,
|
|
32
|
-
"description": "Called with the new day, or `undefined` when the day is unpicked."
|
|
40
|
+
"description": "Called with the new day, or `undefined` when the day is unpicked.",
|
|
41
|
+
"control": {
|
|
42
|
+
"kind": "callback",
|
|
43
|
+
"fixture": "callback.log"
|
|
44
|
+
}
|
|
33
45
|
},
|
|
34
46
|
{
|
|
35
47
|
"name": "placeholder",
|
|
36
48
|
"type": "string",
|
|
37
49
|
"required": false,
|
|
38
50
|
"defaultValue": "Pick a date",
|
|
39
|
-
"description": "Read out while nothing is chosen. Defaults to `\"Pick a date\"`."
|
|
51
|
+
"description": "Read out while nothing is chosen. Defaults to `\"Pick a date\"`.",
|
|
52
|
+
"control": {
|
|
53
|
+
"kind": "string"
|
|
54
|
+
}
|
|
40
55
|
},
|
|
41
56
|
{
|
|
42
57
|
"name": "dateFormat",
|
|
43
58
|
"type": "string",
|
|
44
59
|
"required": false,
|
|
45
60
|
"defaultValue": "d MMM yyyy",
|
|
46
|
-
"description": "date-fns pattern for the readout. Defaults to `\"d MMM yyyy\"`."
|
|
61
|
+
"description": "date-fns pattern for the readout. Defaults to `\"d MMM yyyy\"`.",
|
|
62
|
+
"control": {
|
|
63
|
+
"kind": "string"
|
|
64
|
+
}
|
|
47
65
|
},
|
|
48
66
|
{
|
|
49
67
|
"name": "size",
|
|
50
68
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
51
69
|
"required": false,
|
|
52
70
|
"defaultValue": null,
|
|
53
|
-
"description": "Rung of the control ladder. Defaults to `\"md\"`."
|
|
71
|
+
"description": "Rung of the control ladder. Defaults to `\"md\"`.",
|
|
72
|
+
"control": {
|
|
73
|
+
"kind": "enum",
|
|
74
|
+
"members": [
|
|
75
|
+
"sm",
|
|
76
|
+
"md",
|
|
77
|
+
"lg"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
54
80
|
},
|
|
55
81
|
{
|
|
56
82
|
"name": "disabled",
|
|
57
83
|
"type": "boolean",
|
|
58
84
|
"required": false,
|
|
59
85
|
"defaultValue": null,
|
|
60
|
-
"description": "Prevent opening and grey the trigger out."
|
|
86
|
+
"description": "Prevent opening and grey the trigger out.",
|
|
87
|
+
"control": {
|
|
88
|
+
"kind": "boolean"
|
|
89
|
+
}
|
|
61
90
|
},
|
|
62
91
|
{
|
|
63
92
|
"name": "invalid",
|
|
64
93
|
"type": "boolean",
|
|
65
94
|
"required": false,
|
|
66
95
|
"defaultValue": null,
|
|
67
|
-
"description": "Paint the danger rim — pair it with a `FieldError`."
|
|
96
|
+
"description": "Paint the danger rim — pair it with a `FieldError`.",
|
|
97
|
+
"control": {
|
|
98
|
+
"kind": "boolean"
|
|
99
|
+
}
|
|
68
100
|
},
|
|
69
101
|
{
|
|
70
102
|
"name": "name",
|
|
71
103
|
"type": "string",
|
|
72
104
|
"required": false,
|
|
73
105
|
"defaultValue": null,
|
|
74
|
-
"description": "Name for the hidden input, when the field is part of a form. The submitted\nvalue is the ISO date (`yyyy-MM-dd`), never the formatted readout."
|
|
106
|
+
"description": "Name for the hidden input, when the field is part of a form. The submitted\nvalue is the ISO date (`yyyy-MM-dd`), never the formatted readout.",
|
|
107
|
+
"control": {
|
|
108
|
+
"kind": "string"
|
|
109
|
+
}
|
|
75
110
|
},
|
|
76
111
|
{
|
|
77
112
|
"name": "id",
|
|
78
113
|
"type": "string",
|
|
79
114
|
"required": false,
|
|
80
115
|
"defaultValue": null,
|
|
81
|
-
"description": "Id forwarded to the trigger."
|
|
116
|
+
"description": "Id forwarded to the trigger.",
|
|
117
|
+
"control": {
|
|
118
|
+
"kind": "string"
|
|
119
|
+
}
|
|
82
120
|
},
|
|
83
121
|
{
|
|
84
122
|
"name": "aria-label",
|
|
85
123
|
"type": "string",
|
|
86
124
|
"required": false,
|
|
87
125
|
"defaultValue": null,
|
|
88
|
-
"description": "Accessible name for the trigger, when no `FieldLabel` names it."
|
|
126
|
+
"description": "Accessible name for the trigger, when no `FieldLabel` names it.",
|
|
127
|
+
"control": {
|
|
128
|
+
"kind": "string"
|
|
129
|
+
}
|
|
89
130
|
},
|
|
90
131
|
{
|
|
91
132
|
"name": "aria-labelledby",
|
|
92
133
|
"type": "string",
|
|
93
134
|
"required": false,
|
|
94
135
|
"defaultValue": null,
|
|
95
|
-
"description": "Id of the element naming the trigger."
|
|
136
|
+
"description": "Id of the element naming the trigger.",
|
|
137
|
+
"control": {
|
|
138
|
+
"kind": "string"
|
|
139
|
+
}
|
|
96
140
|
},
|
|
97
141
|
{
|
|
98
142
|
"name": "className",
|
|
99
143
|
"type": "string",
|
|
100
144
|
"required": false,
|
|
101
145
|
"defaultValue": null,
|
|
102
|
-
"description": "Extra classes for the trigger."
|
|
146
|
+
"description": "Extra classes for the trigger.",
|
|
147
|
+
"control": {
|
|
148
|
+
"kind": "string"
|
|
149
|
+
}
|
|
103
150
|
},
|
|
104
151
|
{
|
|
105
152
|
"name": "popupClassName",
|
|
106
153
|
"type": "string",
|
|
107
154
|
"required": false,
|
|
108
155
|
"defaultValue": null,
|
|
109
|
-
"description": "Extra classes for the popup surface."
|
|
156
|
+
"description": "Extra classes for the popup surface.",
|
|
157
|
+
"control": {
|
|
158
|
+
"kind": "string"
|
|
159
|
+
}
|
|
110
160
|
},
|
|
111
161
|
{
|
|
112
162
|
"name": "calendarProps",
|
|
113
163
|
"type": "DatePickerCalendarProps",
|
|
114
164
|
"required": false,
|
|
115
165
|
"defaultValue": null,
|
|
116
|
-
"description": "Everything else the calendar takes — month bounds, disabled days, locale."
|
|
166
|
+
"description": "Everything else the calendar takes — month bounds, disabled days, locale.",
|
|
167
|
+
"control": {
|
|
168
|
+
"kind": "opaque"
|
|
169
|
+
}
|
|
117
170
|
},
|
|
118
171
|
{
|
|
119
172
|
"name": "open",
|
|
120
173
|
"type": "boolean",
|
|
121
174
|
"required": false,
|
|
122
175
|
"defaultValue": null,
|
|
123
|
-
"description": "Open state, for a controlled popover."
|
|
176
|
+
"description": "Open state, for a controlled popover.",
|
|
177
|
+
"control": {
|
|
178
|
+
"kind": "boolean"
|
|
179
|
+
}
|
|
124
180
|
},
|
|
125
181
|
{
|
|
126
182
|
"name": "defaultOpen",
|
|
127
183
|
"type": "boolean",
|
|
128
184
|
"required": false,
|
|
129
185
|
"defaultValue": null,
|
|
130
|
-
"description": "Initial open state."
|
|
186
|
+
"description": "Initial open state.",
|
|
187
|
+
"control": {
|
|
188
|
+
"kind": "boolean"
|
|
189
|
+
}
|
|
131
190
|
},
|
|
132
191
|
{
|
|
133
192
|
"name": "onOpenChange",
|
|
134
193
|
"type": "((open: boolean) => void)",
|
|
135
194
|
"required": false,
|
|
136
195
|
"defaultValue": null,
|
|
137
|
-
"description": "Called when the popover opens or closes."
|
|
196
|
+
"description": "Called when the popover opens or closes.",
|
|
197
|
+
"control": {
|
|
198
|
+
"kind": "callback",
|
|
199
|
+
"fixture": "callback.log"
|
|
200
|
+
}
|
|
138
201
|
}
|
|
139
202
|
],
|
|
140
203
|
"typeReferences": [],
|
|
@@ -143,7 +206,6 @@
|
|
|
143
206
|
"variants": {},
|
|
144
207
|
"defaultVariants": {},
|
|
145
208
|
"tokensUsed": [
|
|
146
|
-
"--cue-accent",
|
|
147
209
|
"--cue-border",
|
|
148
210
|
"--cue-border-strong",
|
|
149
211
|
"--cue-control-lg",
|
|
@@ -15,126 +15,189 @@
|
|
|
15
15
|
"type": "DateRange | null",
|
|
16
16
|
"required": false,
|
|
17
17
|
"defaultValue": null,
|
|
18
|
-
"description": "The chosen span. Use with `onValueChange` for a controlled field."
|
|
18
|
+
"description": "The chosen span. Use with `onValueChange` for a controlled field.",
|
|
19
|
+
"control": {
|
|
20
|
+
"kind": "opaque",
|
|
21
|
+
"nullable": true
|
|
22
|
+
}
|
|
19
23
|
},
|
|
20
24
|
{
|
|
21
25
|
"name": "defaultValue",
|
|
22
26
|
"type": "DateRange | null",
|
|
23
27
|
"required": false,
|
|
24
28
|
"defaultValue": null,
|
|
25
|
-
"description": "Initially chosen span for an uncontrolled field."
|
|
29
|
+
"description": "Initially chosen span for an uncontrolled field.",
|
|
30
|
+
"control": {
|
|
31
|
+
"kind": "opaque",
|
|
32
|
+
"nullable": true
|
|
33
|
+
}
|
|
26
34
|
},
|
|
27
35
|
{
|
|
28
36
|
"name": "onValueChange",
|
|
29
37
|
"type": "((value: DateRange) => void)",
|
|
30
38
|
"required": false,
|
|
31
39
|
"defaultValue": null,
|
|
32
|
-
"description": "Called after every click inside the calendar — once with `{ from }` when\nthe span opens, again with `{ from, to }` when it closes."
|
|
40
|
+
"description": "Called after every click inside the calendar — once with `{ from }` when\nthe span opens, again with `{ from, to }` when it closes.",
|
|
41
|
+
"control": {
|
|
42
|
+
"kind": "callback",
|
|
43
|
+
"fixture": "callback.log"
|
|
44
|
+
}
|
|
33
45
|
},
|
|
34
46
|
{
|
|
35
47
|
"name": "placeholder",
|
|
36
48
|
"type": "string",
|
|
37
49
|
"required": false,
|
|
38
50
|
"defaultValue": "Pick a range",
|
|
39
|
-
"description": "Read out while nothing is chosen. Defaults to `\"Pick a range\"`."
|
|
51
|
+
"description": "Read out while nothing is chosen. Defaults to `\"Pick a range\"`.",
|
|
52
|
+
"control": {
|
|
53
|
+
"kind": "string"
|
|
54
|
+
}
|
|
40
55
|
},
|
|
41
56
|
{
|
|
42
57
|
"name": "dateFormat",
|
|
43
58
|
"type": "string",
|
|
44
59
|
"required": false,
|
|
45
60
|
"defaultValue": "d MMM yyyy",
|
|
46
|
-
"description": "date-fns pattern for both ends of the readout. Defaults to `\"d MMM yyyy\"`."
|
|
61
|
+
"description": "date-fns pattern for both ends of the readout. Defaults to `\"d MMM yyyy\"`.",
|
|
62
|
+
"control": {
|
|
63
|
+
"kind": "string"
|
|
64
|
+
}
|
|
47
65
|
},
|
|
48
66
|
{
|
|
49
67
|
"name": "size",
|
|
50
68
|
"type": "\"sm\" | \"md\" | \"lg\"",
|
|
51
69
|
"required": false,
|
|
52
70
|
"defaultValue": null,
|
|
53
|
-
"description": "Rung of the control ladder. Defaults to `\"md\"`."
|
|
71
|
+
"description": "Rung of the control ladder. Defaults to `\"md\"`.",
|
|
72
|
+
"control": {
|
|
73
|
+
"kind": "enum",
|
|
74
|
+
"members": [
|
|
75
|
+
"sm",
|
|
76
|
+
"md",
|
|
77
|
+
"lg"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
54
80
|
},
|
|
55
81
|
{
|
|
56
82
|
"name": "disabled",
|
|
57
83
|
"type": "boolean",
|
|
58
84
|
"required": false,
|
|
59
85
|
"defaultValue": null,
|
|
60
|
-
"description": "Prevent opening and grey the trigger out."
|
|
86
|
+
"description": "Prevent opening and grey the trigger out.",
|
|
87
|
+
"control": {
|
|
88
|
+
"kind": "boolean"
|
|
89
|
+
}
|
|
61
90
|
},
|
|
62
91
|
{
|
|
63
92
|
"name": "invalid",
|
|
64
93
|
"type": "boolean",
|
|
65
94
|
"required": false,
|
|
66
95
|
"defaultValue": null,
|
|
67
|
-
"description": "Paint the danger rim — pair it with a `FieldError`."
|
|
96
|
+
"description": "Paint the danger rim — pair it with a `FieldError`.",
|
|
97
|
+
"control": {
|
|
98
|
+
"kind": "boolean"
|
|
99
|
+
}
|
|
68
100
|
},
|
|
69
101
|
{
|
|
70
102
|
"name": "name",
|
|
71
103
|
"type": "string",
|
|
72
104
|
"required": false,
|
|
73
105
|
"defaultValue": null,
|
|
74
|
-
"description": "Base name for the hidden inputs; they submit `<name>From` / `<name>To`."
|
|
106
|
+
"description": "Base name for the hidden inputs; they submit `<name>From` / `<name>To`.",
|
|
107
|
+
"control": {
|
|
108
|
+
"kind": "string"
|
|
109
|
+
}
|
|
75
110
|
},
|
|
76
111
|
{
|
|
77
112
|
"name": "id",
|
|
78
113
|
"type": "string",
|
|
79
114
|
"required": false,
|
|
80
115
|
"defaultValue": null,
|
|
81
|
-
"description": "Id forwarded to the trigger."
|
|
116
|
+
"description": "Id forwarded to the trigger.",
|
|
117
|
+
"control": {
|
|
118
|
+
"kind": "string"
|
|
119
|
+
}
|
|
82
120
|
},
|
|
83
121
|
{
|
|
84
122
|
"name": "aria-label",
|
|
85
123
|
"type": "string",
|
|
86
124
|
"required": false,
|
|
87
125
|
"defaultValue": null,
|
|
88
|
-
"description": "Accessible name for the trigger, when no `FieldLabel` names it."
|
|
126
|
+
"description": "Accessible name for the trigger, when no `FieldLabel` names it.",
|
|
127
|
+
"control": {
|
|
128
|
+
"kind": "string"
|
|
129
|
+
}
|
|
89
130
|
},
|
|
90
131
|
{
|
|
91
132
|
"name": "aria-labelledby",
|
|
92
133
|
"type": "string",
|
|
93
134
|
"required": false,
|
|
94
135
|
"defaultValue": null,
|
|
95
|
-
"description": "Id of the element naming the trigger."
|
|
136
|
+
"description": "Id of the element naming the trigger.",
|
|
137
|
+
"control": {
|
|
138
|
+
"kind": "string"
|
|
139
|
+
}
|
|
96
140
|
},
|
|
97
141
|
{
|
|
98
142
|
"name": "className",
|
|
99
143
|
"type": "string",
|
|
100
144
|
"required": false,
|
|
101
145
|
"defaultValue": null,
|
|
102
|
-
"description": "Extra classes for the trigger."
|
|
146
|
+
"description": "Extra classes for the trigger.",
|
|
147
|
+
"control": {
|
|
148
|
+
"kind": "string"
|
|
149
|
+
}
|
|
103
150
|
},
|
|
104
151
|
{
|
|
105
152
|
"name": "popupClassName",
|
|
106
153
|
"type": "string",
|
|
107
154
|
"required": false,
|
|
108
155
|
"defaultValue": null,
|
|
109
|
-
"description": "Extra classes for the popup surface."
|
|
156
|
+
"description": "Extra classes for the popup surface.",
|
|
157
|
+
"control": {
|
|
158
|
+
"kind": "string"
|
|
159
|
+
}
|
|
110
160
|
},
|
|
111
161
|
{
|
|
112
162
|
"name": "calendarProps",
|
|
113
163
|
"type": "DateRangePickerCalendarProps",
|
|
114
164
|
"required": false,
|
|
115
165
|
"defaultValue": null,
|
|
116
|
-
"description": "Everything else the calendar takes. `numberOfMonths` defaults to `2`."
|
|
166
|
+
"description": "Everything else the calendar takes. `numberOfMonths` defaults to `2`.",
|
|
167
|
+
"control": {
|
|
168
|
+
"kind": "opaque"
|
|
169
|
+
}
|
|
117
170
|
},
|
|
118
171
|
{
|
|
119
172
|
"name": "open",
|
|
120
173
|
"type": "boolean",
|
|
121
174
|
"required": false,
|
|
122
175
|
"defaultValue": null,
|
|
123
|
-
"description": "Open state, for a controlled popover."
|
|
176
|
+
"description": "Open state, for a controlled popover.",
|
|
177
|
+
"control": {
|
|
178
|
+
"kind": "boolean"
|
|
179
|
+
}
|
|
124
180
|
},
|
|
125
181
|
{
|
|
126
182
|
"name": "defaultOpen",
|
|
127
183
|
"type": "boolean",
|
|
128
184
|
"required": false,
|
|
129
185
|
"defaultValue": null,
|
|
130
|
-
"description": "Initial open state."
|
|
186
|
+
"description": "Initial open state.",
|
|
187
|
+
"control": {
|
|
188
|
+
"kind": "boolean"
|
|
189
|
+
}
|
|
131
190
|
},
|
|
132
191
|
{
|
|
133
192
|
"name": "onOpenChange",
|
|
134
193
|
"type": "((open: boolean) => void)",
|
|
135
194
|
"required": false,
|
|
136
195
|
"defaultValue": null,
|
|
137
|
-
"description": "Called when the popover opens or closes."
|
|
196
|
+
"description": "Called when the popover opens or closes.",
|
|
197
|
+
"control": {
|
|
198
|
+
"kind": "callback",
|
|
199
|
+
"fixture": "callback.log"
|
|
200
|
+
}
|
|
138
201
|
}
|
|
139
202
|
],
|
|
140
203
|
"typeReferences": [],
|
|
@@ -143,7 +206,6 @@
|
|
|
143
206
|
"variants": {},
|
|
144
207
|
"defaultVariants": {},
|
|
145
208
|
"tokensUsed": [
|
|
146
|
-
"--cue-accent",
|
|
147
209
|
"--cue-border",
|
|
148
210
|
"--cue-border-strong",
|
|
149
211
|
"--cue-control-lg",
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
"type": "readonly DatedMessage[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Turns in order. A separator is inserted wherever day changes from the previous\nmessage, so grouping needs no pre-processing."
|
|
15
|
+
"description": "Turns in order. A separator is inserted wherever day changes from the previous\nmessage, so grouping needs no pre-processing.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
],
|
|
18
21
|
"typeReferences": [
|
|
@@ -12,84 +12,136 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Slug of the agent on the other end of the delegation."
|
|
15
|
+
"description": "Slug of the agent on the other end of the delegation.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "rootAgent",
|
|
19
22
|
"type": "string",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Slug of the orchestrator, so its lane takes the theme accent."
|
|
25
|
+
"description": "Slug of the orchestrator, so its lane takes the theme accent.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "string"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "direction",
|
|
26
32
|
"type": "\"outbound\" | \"inbound\"",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": "outbound",
|
|
29
|
-
"description": "`outbound` (we asked them) or `inbound` (they asked us). Defaults to `\"outbound\"`."
|
|
35
|
+
"description": "`outbound` (we asked them) or `inbound` (they asked us). Defaults to `\"outbound\"`.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "enum",
|
|
38
|
+
"members": [
|
|
39
|
+
"outbound",
|
|
40
|
+
"inbound"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
30
43
|
},
|
|
31
44
|
{
|
|
32
45
|
"name": "task",
|
|
33
46
|
"type": "ReactNode",
|
|
34
47
|
"required": false,
|
|
35
48
|
"defaultValue": null,
|
|
36
|
-
"description": "What the delegate was asked to do — one line, already summarised."
|
|
49
|
+
"description": "What the delegate was asked to do — one line, already summarised.",
|
|
50
|
+
"control": {
|
|
51
|
+
"kind": "node",
|
|
52
|
+
"fixture": "children.text"
|
|
53
|
+
}
|
|
37
54
|
},
|
|
38
55
|
{
|
|
39
56
|
"name": "status",
|
|
40
57
|
"type": "\"done\" | \"working\" | \"failed\" | \"idle\"",
|
|
41
58
|
"required": false,
|
|
42
59
|
"defaultValue": null,
|
|
43
|
-
"description": "Where the work has got to. Omit to draw no status line at all."
|
|
60
|
+
"description": "Where the work has got to. Omit to draw no status line at all.",
|
|
61
|
+
"control": {
|
|
62
|
+
"kind": "enum",
|
|
63
|
+
"members": [
|
|
64
|
+
"done",
|
|
65
|
+
"working",
|
|
66
|
+
"failed",
|
|
67
|
+
"idle"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
44
70
|
},
|
|
45
71
|
{
|
|
46
72
|
"name": "activity",
|
|
47
73
|
"type": "ReactNode",
|
|
48
74
|
"required": false,
|
|
49
75
|
"defaultValue": null,
|
|
50
|
-
"description": "What the delegate is doing right now. Shown beside the spinner while `working`."
|
|
76
|
+
"description": "What the delegate is doing right now. Shown beside the spinner while `working`.",
|
|
77
|
+
"control": {
|
|
78
|
+
"kind": "node",
|
|
79
|
+
"fixture": "children.text"
|
|
80
|
+
}
|
|
51
81
|
},
|
|
52
82
|
{
|
|
53
83
|
"name": "open",
|
|
54
84
|
"type": "boolean",
|
|
55
85
|
"required": false,
|
|
56
86
|
"defaultValue": null,
|
|
57
|
-
"description": "Open state when controlled. Pass with `onOpenChange`."
|
|
87
|
+
"description": "Open state when controlled. Pass with `onOpenChange`.",
|
|
88
|
+
"control": {
|
|
89
|
+
"kind": "boolean"
|
|
90
|
+
}
|
|
58
91
|
},
|
|
59
92
|
{
|
|
60
93
|
"name": "defaultOpen",
|
|
61
94
|
"type": "boolean",
|
|
62
95
|
"required": false,
|
|
63
96
|
"defaultValue": null,
|
|
64
|
-
"description": "Initial open state. Defaults to open for an inbound card, shut for an outbound one."
|
|
97
|
+
"description": "Initial open state. Defaults to open for an inbound card, shut for an outbound one.",
|
|
98
|
+
"control": {
|
|
99
|
+
"kind": "boolean"
|
|
100
|
+
}
|
|
65
101
|
},
|
|
66
102
|
{
|
|
67
103
|
"name": "onOpenChange",
|
|
68
104
|
"type": "((open: boolean) => void)",
|
|
69
105
|
"required": false,
|
|
70
106
|
"defaultValue": null,
|
|
71
|
-
"description": "Called with the state the card is asking to move to."
|
|
107
|
+
"description": "Called with the state the card is asking to move to.",
|
|
108
|
+
"control": {
|
|
109
|
+
"kind": "callback",
|
|
110
|
+
"fixture": "callback.log"
|
|
111
|
+
}
|
|
72
112
|
},
|
|
73
113
|
{
|
|
74
114
|
"name": "doneLabel",
|
|
75
115
|
"type": "ReactNode",
|
|
76
116
|
"required": false,
|
|
77
117
|
"defaultValue": "Completed",
|
|
78
|
-
"description": "What a finished delegation says. Defaults to `\"Completed\"`."
|
|
118
|
+
"description": "What a finished delegation says. Defaults to `\"Completed\"`.",
|
|
119
|
+
"control": {
|
|
120
|
+
"kind": "node",
|
|
121
|
+
"fixture": "children.text"
|
|
122
|
+
}
|
|
79
123
|
},
|
|
80
124
|
{
|
|
81
125
|
"name": "failedLabel",
|
|
82
126
|
"type": "ReactNode",
|
|
83
127
|
"required": false,
|
|
84
128
|
"defaultValue": "Failed",
|
|
85
|
-
"description": "What a failed delegation says. Defaults to `\"Failed\"`."
|
|
129
|
+
"description": "What a failed delegation says. Defaults to `\"Failed\"`.",
|
|
130
|
+
"control": {
|
|
131
|
+
"kind": "node",
|
|
132
|
+
"fixture": "children.text"
|
|
133
|
+
}
|
|
86
134
|
},
|
|
87
135
|
{
|
|
88
136
|
"name": "children",
|
|
89
137
|
"type": "ReactNode",
|
|
90
138
|
"required": false,
|
|
91
139
|
"defaultValue": null,
|
|
92
|
-
"description": "The nested transcript."
|
|
140
|
+
"description": "The nested transcript.",
|
|
141
|
+
"control": {
|
|
142
|
+
"kind": "node",
|
|
143
|
+
"fixture": "children.text"
|
|
144
|
+
}
|
|
93
145
|
}
|
|
94
146
|
],
|
|
95
147
|
"typeReferences": [
|
|
@@ -5,35 +5,55 @@
|
|
|
5
5
|
"importPath": "@cueplusplus/ui",
|
|
6
6
|
"peerDependencies": [],
|
|
7
7
|
"clientOnly": true,
|
|
8
|
-
"description": "Re-scope any subtree to a different density level.\n\nRenders a plain `<div data-density=\"…\">`: the geometry
|
|
8
|
+
"description": "Re-scope any subtree to a different density level.\n\nRenders a plain `<div data-density=\"…\" data-cue-theme=\"…\">`: the geometry\ncustom properties are re-declared by the attribute selector and inherit\ndown, so nesting is free and needs no JS. The matching React context is\npublished alongside for the rare JS reads (`useDensity()`,\n`useControlHeight()`, portal stamping) — the DOM attributes, not the\ncontext, are what actually restyle the tree.\n\n`data-cue-theme` carries the nearest `<ThemeProvider>`'s name, or is\nomitted where there is none. It is read by nothing this island does —\ntheme and mode are deliberately *not* re-scoped here, density is the only\naxis an island may override (spec §6) — it exists so a theme's own\ngenerated CSS can address exactly this island regardless of how many\n*other* themed providers sit between it and the one it belongs to. A CSS\nancestor selector can only ask \"does some ancestor carry theme `x`\", never\n\"is `x` the *nearest* one\"; this stamp answers that question the way\n`useContext` already does, at render time, and hands the answer to CSS as\nan attribute rather than leaving it unanswerable there.",
|
|
9
9
|
"props": [
|
|
10
10
|
{
|
|
11
11
|
"name": "density",
|
|
12
12
|
"type": "\"normal\" | \"large\" | \"compact\" | \"ultra-compact\" | \"ultra-large\"",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Level to apply to this subtree: `ultra-compact`, `compact`, `normal`,\n`large` or `ultra-large`."
|
|
15
|
+
"description": "Level to apply to this subtree: `ultra-compact`, `compact`, `normal`,\n`large` or `ultra-large`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"normal",
|
|
20
|
+
"large",
|
|
21
|
+
"compact",
|
|
22
|
+
"ultra-compact",
|
|
23
|
+
"ultra-large"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
16
26
|
},
|
|
17
27
|
{
|
|
18
28
|
"name": "children",
|
|
19
29
|
"type": "ReactNode",
|
|
20
30
|
"required": true,
|
|
21
31
|
"defaultValue": null,
|
|
22
|
-
"description": "Subtree that should render at `density`."
|
|
32
|
+
"description": "Subtree that should render at `density`.",
|
|
33
|
+
"control": {
|
|
34
|
+
"kind": "node",
|
|
35
|
+
"fixture": "children.text"
|
|
36
|
+
}
|
|
23
37
|
},
|
|
24
38
|
{
|
|
25
39
|
"name": "className",
|
|
26
40
|
"type": "string",
|
|
27
41
|
"required": false,
|
|
28
42
|
"defaultValue": null,
|
|
29
|
-
"description": "Extra classes for the island element. It is an ordinary `<div>` — style it like one."
|
|
43
|
+
"description": "Extra classes for the island element. It is an ordinary `<div>` — style it like one.",
|
|
44
|
+
"control": {
|
|
45
|
+
"kind": "string"
|
|
46
|
+
}
|
|
30
47
|
},
|
|
31
48
|
{
|
|
32
49
|
"name": "style",
|
|
33
50
|
"type": "CSSProperties",
|
|
34
51
|
"required": false,
|
|
35
52
|
"defaultValue": null,
|
|
36
|
-
"description": "Inline styles for the island element."
|
|
53
|
+
"description": "Inline styles for the island element.",
|
|
54
|
+
"control": {
|
|
55
|
+
"kind": "opaque"
|
|
56
|
+
}
|
|
37
57
|
}
|
|
38
58
|
],
|
|
39
59
|
"typeReferences": [],
|
|
@@ -24,7 +24,14 @@
|
|
|
24
24
|
"type": "\"inline\" | \"stacked\"",
|
|
25
25
|
"required": false,
|
|
26
26
|
"defaultValue": "inline",
|
|
27
|
-
"description": "`\"inline\"` (default) puts the detail beside its term in a two-column grid;\n`\"stacked\"` puts it underneath. Stack when the details are long enough to\nwrap, which turns the aligned column into ragged text anyway."
|
|
27
|
+
"description": "`\"inline\"` (default) puts the detail beside its term in a two-column grid;\n`\"stacked\"` puts it underneath. Stack when the details are long enough to\nwrap, which turns the aligned column into ragged text anyway.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "enum",
|
|
30
|
+
"members": [
|
|
31
|
+
"inline",
|
|
32
|
+
"stacked"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
28
35
|
}
|
|
29
36
|
],
|
|
30
37
|
"typeReferences": [
|