@cueplusplus/ui 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +195 -0
- package/README.md +91 -9
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -2
- package/dist/instruments/meter.d.ts +5 -1
- package/dist/layout/bento.d.ts +144 -0
- package/dist/layout/bento.js +266 -0
- package/dist/layout/index.d.ts +3 -2
- package/dist/layout/index.js +3 -2
- package/dist/primitives/button.d.ts +12 -0
- package/dist/primitives/chip.d.ts +1 -1
- package/dist/system/index.d.ts +2 -2
- package/dist/system/index.js +2 -1
- package/dist/system/overrides.d.ts +38 -1
- package/dist/system/overrides.js +40 -1
- package/manifest/components/accordion.json +24 -6
- package/manifest/components/activity-graph.json +20 -5
- package/manifest/components/agent-card.json +37 -9
- package/manifest/components/agent-handoff.json +21 -5
- package/manifest/components/agent-mode-badge.json +22 -4
- package/manifest/components/agent-pile.json +38 -8
- package/manifest/components/agent-plan.json +9 -2
- package/manifest/components/agent-status.json +17 -3
- package/manifest/components/agent-surface.json +26 -11
- package/manifest/components/alert-dialog.json +29 -5
- package/manifest/components/animated-number.json +14 -6
- package/manifest/components/app-bar.json +66 -13
- package/manifest/components/app-shell.json +133 -31
- package/manifest/components/app-window-frame.json +28 -6
- package/manifest/components/approval-card.json +37 -7
- package/manifest/components/artifact-card.json +16 -4
- package/manifest/components/ask-box.json +99 -21
- package/manifest/components/audience-icon.json +1 -7
- package/manifest/components/autocomplete.json +80 -18
- package/manifest/components/avatar-group.json +13 -2
- package/manifest/components/avatar.json +22 -4
- package/manifest/components/background-inbox.json +9 -2
- package/manifest/components/bento.json +306 -0
- package/manifest/components/branch-picker.json +29 -7
- package/manifest/components/breadcrumb.json +13 -3
- package/manifest/components/button-group.json +21 -4
- package/manifest/components/button.json +41 -4
- package/manifest/components/canvas-split-body.json +4 -1
- package/manifest/components/canvas-split-header.json +17 -4
- package/manifest/components/canvas-split-line.json +4 -1
- package/manifest/components/canvas-split-message.json +8 -1
- package/manifest/components/card.json +14 -3
- package/manifest/components/carousel.json +54 -12
- package/manifest/components/catalogue-icon.json +1 -7
- package/manifest/components/channel-beta-icon.json +1 -7
- package/manifest/components/channel-matrix.json +80 -15
- package/manifest/components/channel-released-icon.json +1 -7
- package/manifest/components/chart-container.json +26 -10
- package/manifest/components/chart-ramp.json +13 -3
- package/manifest/components/chart-swatch.json +9 -2
- package/manifest/components/chart-tooltip-content.json +31 -7
- package/manifest/components/chart.json +30 -6
- package/manifest/components/chat-panel-composer.json +9 -2
- package/manifest/components/checkbox-group.json +4 -2
- package/manifest/components/checkbox.json +17 -4
- package/manifest/components/checkpoint-history.json +13 -3
- package/manifest/components/chip.json +35 -5
- package/manifest/components/clamp.json +30 -7
- package/manifest/components/cli-tool-icon.json +1 -7
- package/manifest/components/code-diff.json +20 -5
- package/manifest/components/code-runner.json +32 -6
- package/manifest/components/collapsible.json +16 -4
- package/manifest/components/color-area.json +4 -1
- package/manifest/components/color-field.json +13 -3
- package/manifest/components/color-picker.json +75 -17
- package/manifest/components/color-slider.json +12 -3
- package/manifest/components/color-swatch.json +13 -2
- package/manifest/components/colors-section.json +8 -4
- package/manifest/components/combobox.json +81 -18
- package/manifest/components/command-palette.json +57 -13
- package/manifest/components/compaction-row.json +35 -7
- package/manifest/components/comparison-card.json +17 -4
- package/manifest/components/composer-attachment-chip.json +9 -2
- package/manifest/components/composer-bar.json +4 -1
- package/manifest/components/composer-command-item.json +8 -2
- package/manifest/components/composer-context.json +4 -1
- package/manifest/components/composer-input.json +5 -1
- package/manifest/components/composer-menu-item.json +4 -1
- package/manifest/components/composer-menu.json +12 -2
- package/manifest/components/composer-model-item.json +8 -2
- package/manifest/components/composer-model-trigger.json +8 -2
- package/manifest/components/composer-person-item.json +8 -2
- package/manifest/components/composer-send.json +8 -2
- package/manifest/components/composer-voice-button.json +4 -1
- package/manifest/components/composer-voice.json +8 -2
- package/manifest/components/composer.json +76 -17
- package/manifest/components/computer-use.json +17 -4
- package/manifest/components/confidence-marker.json +13 -3
- package/manifest/components/connection-state.json +23 -4
- package/manifest/components/container.json +14 -2
- package/manifest/components/context-breakdown.json +8 -2
- package/manifest/components/context-menu.json +16 -4
- package/manifest/components/context-usage.json +16 -4
- package/manifest/components/conversation-search.json +22 -5
- package/manifest/components/copy-button.json +32 -7
- package/manifest/components/cost-meter.json +12 -3
- package/manifest/components/cue-logotype.json +17 -3
- package/manifest/components/cue-mark.json +17 -3
- package/manifest/components/cue-portal-frame.json +13 -3
- package/manifest/components/data-row.json +21 -7
- package/manifest/components/data-table-pagination.json +18 -4
- package/manifest/components/data-table-toolbar.json +30 -7
- package/manifest/components/data-tree.json +42 -9
- package/manifest/components/date-field.json +13 -2
- package/manifest/components/date-picker.json +81 -19
- package/manifest/components/date-range-picker.json +81 -19
- package/manifest/components/day-separator.json +4 -1
- package/manifest/components/delegation-card.json +64 -12
- package/manifest/components/density.json +24 -4
- package/manifest/components/description-list.json +8 -1
- package/manifest/components/diagram.json +33 -7
- package/manifest/components/dialog.json +29 -6
- package/manifest/components/disclosure.json +31 -7
- package/manifest/components/dmx-bar.json +16 -4
- package/manifest/components/dmx-strip.json +20 -5
- package/manifest/components/document-reference.json +21 -5
- package/manifest/components/draft-restore.json +18 -4
- package/manifest/components/drawer.json +30 -6
- package/manifest/components/dropdown-menu.json +55 -10
- package/manifest/components/edit-message.json +32 -7
- package/manifest/components/elements-command-palette.json +27 -6
- package/manifest/components/elements-data-table.json +9 -2
- package/manifest/components/elements-timeline.json +8 -2
- package/manifest/components/elicitation-form.json +31 -6
- package/manifest/components/empty-state-composer.json +9 -2
- package/manifest/components/empty-state-suggestion.json +4 -1
- package/manifest/components/empty-state.json +25 -5
- package/manifest/components/end-of-turn-summary.json +16 -4
- package/manifest/components/env-var-input.json +54 -12
- package/manifest/components/error-state.json +17 -4
- package/manifest/components/export-dialog.json +27 -8
- package/manifest/components/eyebrow.json +4 -1
- package/manifest/components/feedback-dialog.json +33 -7
- package/manifest/components/field-description.json +4 -1
- package/manifest/components/field-error.json +13 -3
- package/manifest/components/field-label.json +4 -1
- package/manifest/components/field.json +4 -1
- package/manifest/components/file-tree.json +16 -4
- package/manifest/components/file-upload.json +58 -13
- package/manifest/components/flow-graph.json +12 -3
- package/manifest/components/folder-icon.json +1 -7
- package/manifest/components/footer.json +24 -4
- package/manifest/components/frac.json +10 -2
- package/manifest/components/generation-loader.json +17 -3
- package/manifest/components/generative-ui.json +39 -7
- package/manifest/components/grid.json +56 -5
- package/manifest/components/group-bar.json +25 -6
- package/manifest/components/guardrail-notice.json +22 -5
- package/manifest/components/hover-card.json +45 -8
- package/manifest/components/icon-button.json +22 -4
- package/manifest/components/image-generation.json +8 -2
- package/manifest/components/info-tip.json +42 -7
- package/manifest/components/inline-citation.json +14 -3
- package/manifest/components/input-group.json +24 -5
- package/manifest/components/input.json +13 -3
- package/manifest/components/item.json +42 -8
- package/manifest/components/job-progress.json +25 -6
- package/manifest/components/launcher-bubble.json +32 -7
- package/manifest/components/ledger.json +87 -19
- package/manifest/components/link.json +16 -3
- package/manifest/components/live-region-announcer.json +21 -5
- package/manifest/components/log-viewer.json +42 -10
- package/manifest/components/map-answer.json +17 -4
- package/manifest/components/markdown-text.json +36 -5
- package/manifest/components/math-block.json +12 -3
- package/manifest/components/mcp-server-icon.json +1 -7
- package/manifest/components/mcp-server-panel.json +18 -4
- package/manifest/components/memory-chips.json +9 -2
- package/manifest/components/menubar.json +33 -7
- package/manifest/components/message-actions.json +32 -7
- package/manifest/components/message-attachments.json +9 -2
- package/manifest/components/message-branches.json +14 -3
- package/manifest/components/message-list.json +27 -6
- package/manifest/components/message-pair.json +25 -5
- package/manifest/components/message-queue.json +13 -3
- package/manifest/components/message-timing.json +8 -2
- package/manifest/components/message.json +41 -9
- package/manifest/components/meter.json +43 -7
- package/manifest/components/mobile-composer.json +47 -10
- package/manifest/components/model-picker.json +13 -3
- package/manifest/components/multi-select.json +78 -17
- package/manifest/components/musical-time-input.json +34 -8
- package/manifest/components/navigation-menu.json +54 -12
- package/manifest/components/node-card.json +42 -7
- package/manifest/components/node-handle.json +17 -2
- package/manifest/components/number-field.json +28 -6
- package/manifest/components/number-ticker.json +8 -2
- package/manifest/components/onboarding.json +18 -4
- package/manifest/components/otp-field.json +43 -10
- package/manifest/components/page-shell.json +35 -6
- package/manifest/components/pagination.json +21 -5
- package/manifest/components/panel-header.json +15 -3
- package/manifest/components/password-input.json +38 -8
- package/manifest/components/permission-grant.json +28 -5
- package/manifest/components/permission-scopes.json +57 -12
- package/manifest/components/piano-keyboard.json +38 -9
- package/manifest/components/plussie.json +34 -5
- package/manifest/components/popover.json +45 -8
- package/manifest/components/preset-section.json +12 -5
- package/manifest/components/progress.json +25 -6
- package/manifest/components/prompt-library.json +27 -6
- package/manifest/components/queue-dock.json +36 -8
- package/manifest/components/quota-banner.json +25 -6
- package/manifest/components/quote-reply.json +29 -7
- package/manifest/components/radio-group.json +12 -2
- package/manifest/components/radio.json +17 -3
- package/manifest/components/rating.json +60 -13
- package/manifest/components/read-aloud.json +35 -8
- package/manifest/components/reasoning-effort.json +17 -4
- package/manifest/components/reasoning-panel.json +33 -8
- package/manifest/components/recommendation-card.json +35 -10
- package/manifest/components/regenerate-menu.json +22 -5
- package/manifest/components/replay-player.json +29 -7
- package/manifest/components/research-report.json +12 -3
- package/manifest/components/resizable.json +4 -1
- package/manifest/components/retrieval-chunks.json +16 -4
- package/manifest/components/revert-dock.json +61 -14
- package/manifest/components/reviewable-diff.json +23 -5
- package/manifest/components/risk-badge.json +18 -3
- package/manifest/components/row.json +17 -4
- package/manifest/components/schedule-card.json +25 -6
- package/manifest/components/score-breakdown.json +20 -5
- package/manifest/components/scroll-anchor.json +13 -3
- package/manifest/components/scroll-area.json +31 -8
- package/manifest/components/scrollable-tabs-list.json +12 -4
- package/manifest/components/scrub-input.json +84 -18
- package/manifest/components/seam-cell.json +19 -3
- package/manifest/components/seam-grid.json +12 -3
- package/manifest/components/search-input.json +49 -10
- package/manifest/components/section-header.json +36 -8
- package/manifest/components/segmented-control.json +50 -11
- package/manifest/components/select.json +74 -16
- package/manifest/components/separator.json +4 -1
- package/manifest/components/settings-panel.json +41 -9
- package/manifest/components/shape-section.json +8 -4
- package/manifest/components/shared-conversation.json +21 -5
- package/manifest/components/sheet.json +29 -6
- package/manifest/components/shimmer-label.json +4 -2
- package/manifest/components/sidebar.json +60 -13
- package/manifest/components/skill-icon.json +1 -7
- package/manifest/components/slider.json +22 -5
- package/manifest/components/sources.json +17 -4
- package/manifest/components/sparkline.json +17 -4
- package/manifest/components/speaker-identity.json +4 -1
- package/manifest/components/spec-sheet.json +16 -4
- package/manifest/components/spectrum-visualizer.json +41 -10
- package/manifest/components/spinner.json +12 -2
- package/manifest/components/stack-icon.json +1 -7
- package/manifest/components/stack.json +54 -7
- package/manifest/components/stacks-matrix-icon.json +1 -7
- package/manifest/components/stat.json +28 -4
- package/manifest/components/status-bar.json +50 -9
- package/manifest/components/status-dot.json +23 -4
- package/manifest/components/stepper.json +22 -5
- package/manifest/components/stopped-run.json +19 -4
- package/manifest/components/streaming-text.json +12 -3
- package/manifest/components/subagent-list.json +21 -5
- package/manifest/components/suggestions.json +27 -5
- package/manifest/components/swap-label.json +18 -4
- package/manifest/components/switch.json +18 -3
- package/manifest/components/table-scroll-region.json +4 -1
- package/manifest/components/table.json +54 -11
- package/manifest/components/tabs.json +16 -5
- package/manifest/components/tags-input.json +79 -17
- package/manifest/components/tail-status.json +37 -8
- package/manifest/components/terminal-block.json +25 -5
- package/manifest/components/terminal-frame.json +34 -8
- package/manifest/components/textarea.json +8 -3
- package/manifest/components/theme-configurator.json +47 -11
- package/manifest/components/theme-provider.json +79 -15
- package/manifest/components/thinking-indicator.json +8 -2
- package/manifest/components/thread-list.json +13 -3
- package/manifest/components/thread-search.json +22 -5
- package/manifest/components/threshold-rail.json +77 -14
- package/manifest/components/time-boundary.json +8 -2
- package/manifest/components/time-field.json +13 -2
- package/manifest/components/timeline-ruler.json +51 -12
- package/manifest/components/timeline.json +19 -3
- package/manifest/components/title-bar.json +19 -4
- package/manifest/components/toast.json +12 -3
- package/manifest/components/todo-list.json +8 -2
- package/manifest/components/toggle-group.json +33 -7
- package/manifest/components/toggle.json +23 -4
- package/manifest/components/token-editor.json +26 -7
- package/manifest/components/tool-call-card.json +83 -16
- package/manifest/components/tool-call.json +37 -9
- package/manifest/components/tool-error.json +34 -8
- package/manifest/components/tool-group.json +17 -4
- package/manifest/components/tool-timeline.json +37 -9
- package/manifest/components/toolbar.json +37 -8
- package/manifest/components/tooltip.json +41 -7
- package/manifest/components/trace-waterfall.json +12 -3
- package/manifest/components/tree-visibility-toggle.json +18 -3
- package/manifest/components/tree.json +52 -11
- package/manifest/components/turn-footer.json +36 -8
- package/manifest/components/two-step-button.json +46 -9
- package/manifest/components/typing-indicator.json +8 -1
- package/manifest/components/universe-grid.json +37 -10
- package/manifest/components/unread-divider.json +4 -1
- package/manifest/components/usage-chart.json +46 -9
- package/manifest/components/verdict-row.json +20 -5
- package/manifest/components/voice-conversation.json +37 -7
- package/manifest/components/web-preview.json +23 -5
- package/manifest/components/web-search.json +20 -5
- package/manifest/components/work-collapse.json +30 -7
- package/manifest/fixtures.json +106 -0
- package/manifest/manifest.json +315 -297
- package/manifest/tokens.json +2 -2
- package/package.json +7 -6
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Extra classes, merged over the vertical stack defaults."
|
|
15
|
+
"description": "Extra classes, merged over the vertical stack defaults.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
],
|
|
18
21
|
"typeReferences": [
|
|
@@ -14,28 +14,40 @@
|
|
|
14
14
|
"type": "readonly FileTreeNode[]",
|
|
15
15
|
"required": true,
|
|
16
16
|
"defaultValue": null,
|
|
17
|
-
"description": "Flat list in display order. Nesting comes from each node's depth, not from\nchildren arrays."
|
|
17
|
+
"description": "Flat list in display order. Nesting comes from each node's depth, not from\nchildren arrays.",
|
|
18
|
+
"control": {
|
|
19
|
+
"kind": "array"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
"name": "visibleCount",
|
|
21
24
|
"type": "number",
|
|
22
25
|
"required": true,
|
|
23
26
|
"defaultValue": null,
|
|
24
|
-
"description": "How many nodes have landed. Raise it as the run touches more files."
|
|
27
|
+
"description": "How many nodes have landed. Raise it as the run touches more files.",
|
|
28
|
+
"control": {
|
|
29
|
+
"kind": "number"
|
|
30
|
+
}
|
|
25
31
|
},
|
|
26
32
|
{
|
|
27
33
|
"name": "totalAdditions",
|
|
28
34
|
"type": "number",
|
|
29
35
|
"required": true,
|
|
30
36
|
"defaultValue": null,
|
|
31
|
-
"description": "Added lines across the whole change."
|
|
37
|
+
"description": "Added lines across the whole change.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "number"
|
|
40
|
+
}
|
|
32
41
|
},
|
|
33
42
|
{
|
|
34
43
|
"name": "totalDeletions",
|
|
35
44
|
"type": "number",
|
|
36
45
|
"required": true,
|
|
37
46
|
"defaultValue": null,
|
|
38
|
-
"description": "Removed lines across the whole change."
|
|
47
|
+
"description": "Removed lines across the whole change.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "number"
|
|
50
|
+
}
|
|
39
51
|
}
|
|
40
52
|
],
|
|
41
53
|
"typeReferences": [
|
|
@@ -12,91 +12,136 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "Drop files",
|
|
15
|
-
"description": "The zone's own copy, and its accessible name. Defaults to `\"Drop files\"`."
|
|
15
|
+
"description": "The zone's own copy, and its accessible name. Defaults to `\"Drop files\"`.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "hint",
|
|
19
23
|
"type": "ReactNode",
|
|
20
24
|
"required": false,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "A second line under the label — the rules, in plain words."
|
|
26
|
+
"description": "A second line under the label — the rules, in plain words.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "node",
|
|
29
|
+
"fixture": "children.text"
|
|
30
|
+
}
|
|
23
31
|
},
|
|
24
32
|
{
|
|
25
33
|
"name": "accept",
|
|
26
34
|
"type": "string",
|
|
27
35
|
"required": false,
|
|
28
36
|
"defaultValue": null,
|
|
29
|
-
"description": "`accept` string forwarded to the input and used for rejection."
|
|
37
|
+
"description": "`accept` string forwarded to the input and used for rejection.",
|
|
38
|
+
"control": {
|
|
39
|
+
"kind": "string"
|
|
40
|
+
}
|
|
30
41
|
},
|
|
31
42
|
{
|
|
32
43
|
"name": "multiple",
|
|
33
44
|
"type": "boolean",
|
|
34
45
|
"required": false,
|
|
35
46
|
"defaultValue": "false",
|
|
36
|
-
"description": "Allow more than one file per drop."
|
|
47
|
+
"description": "Allow more than one file per drop.",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "boolean"
|
|
50
|
+
}
|
|
37
51
|
},
|
|
38
52
|
{
|
|
39
53
|
"name": "maxSize",
|
|
40
54
|
"type": "number",
|
|
41
55
|
"required": false,
|
|
42
56
|
"defaultValue": null,
|
|
43
|
-
"description": "Largest accepted file, in bytes."
|
|
57
|
+
"description": "Largest accepted file, in bytes.",
|
|
58
|
+
"control": {
|
|
59
|
+
"kind": "number"
|
|
60
|
+
}
|
|
44
61
|
},
|
|
45
62
|
{
|
|
46
63
|
"name": "maxFiles",
|
|
47
64
|
"type": "number",
|
|
48
65
|
"required": false,
|
|
49
66
|
"defaultValue": null,
|
|
50
|
-
"description": "How many files may be accepted per drop."
|
|
67
|
+
"description": "How many files may be accepted per drop.",
|
|
68
|
+
"control": {
|
|
69
|
+
"kind": "number"
|
|
70
|
+
}
|
|
51
71
|
},
|
|
52
72
|
{
|
|
53
73
|
"name": "disabled",
|
|
54
74
|
"type": "boolean",
|
|
55
75
|
"required": false,
|
|
56
76
|
"defaultValue": "false",
|
|
57
|
-
"description": "Refuse drops and grey the zone out."
|
|
77
|
+
"description": "Refuse drops and grey the zone out.",
|
|
78
|
+
"control": {
|
|
79
|
+
"kind": "boolean"
|
|
80
|
+
}
|
|
58
81
|
},
|
|
59
82
|
{
|
|
60
83
|
"name": "files",
|
|
61
84
|
"type": "readonly UploadFile[]",
|
|
62
85
|
"required": false,
|
|
63
86
|
"defaultValue": null,
|
|
64
|
-
"description": "Rows to render under the zone. The caller owns upload state."
|
|
87
|
+
"description": "Rows to render under the zone. The caller owns upload state.",
|
|
88
|
+
"control": {
|
|
89
|
+
"kind": "array"
|
|
90
|
+
}
|
|
65
91
|
},
|
|
66
92
|
{
|
|
67
93
|
"name": "onFilesAccepted",
|
|
68
94
|
"type": "((files: File[]) => void)",
|
|
69
95
|
"required": false,
|
|
70
96
|
"defaultValue": null,
|
|
71
|
-
"description": "Called with the files that passed the rules."
|
|
97
|
+
"description": "Called with the files that passed the rules.",
|
|
98
|
+
"control": {
|
|
99
|
+
"kind": "callback",
|
|
100
|
+
"fixture": "callback.log"
|
|
101
|
+
}
|
|
72
102
|
},
|
|
73
103
|
{
|
|
74
104
|
"name": "onFilesRejected",
|
|
75
105
|
"type": "((rejections: FileRejection[]) => void)",
|
|
76
106
|
"required": false,
|
|
77
107
|
"defaultValue": null,
|
|
78
|
-
"description": "Called with the files that did not, each with its reason."
|
|
108
|
+
"description": "Called with the files that did not, each with its reason.",
|
|
109
|
+
"control": {
|
|
110
|
+
"kind": "callback",
|
|
111
|
+
"fixture": "callback.log"
|
|
112
|
+
}
|
|
79
113
|
},
|
|
80
114
|
{
|
|
81
115
|
"name": "onRemove",
|
|
82
116
|
"type": "((id: string) => void)",
|
|
83
117
|
"required": false,
|
|
84
118
|
"defaultValue": null,
|
|
85
|
-
"description": "Called with a row's `id` when its remove control is pressed."
|
|
119
|
+
"description": "Called with a row's `id` when its remove control is pressed.",
|
|
120
|
+
"control": {
|
|
121
|
+
"kind": "callback",
|
|
122
|
+
"fixture": "callback.log"
|
|
123
|
+
}
|
|
86
124
|
},
|
|
87
125
|
{
|
|
88
126
|
"name": "removeLabel",
|
|
89
127
|
"type": "((file: UploadFile) => string)",
|
|
90
128
|
"required": false,
|
|
91
129
|
"defaultValue": "(file) => `Remove ${file.name}`",
|
|
92
|
-
"description": "Spoken name of a row's remove control. Defaults to `Remove <name>`."
|
|
130
|
+
"description": "Spoken name of a row's remove control. Defaults to `Remove <name>`.",
|
|
131
|
+
"control": {
|
|
132
|
+
"kind": "callback",
|
|
133
|
+
"fixture": "callback.log"
|
|
134
|
+
}
|
|
93
135
|
},
|
|
94
136
|
{
|
|
95
137
|
"name": "zoneClassName",
|
|
96
138
|
"type": "string",
|
|
97
139
|
"required": false,
|
|
98
140
|
"defaultValue": null,
|
|
99
|
-
"description": "Extra classes for the drop zone."
|
|
141
|
+
"description": "Extra classes for the drop zone.",
|
|
142
|
+
"control": {
|
|
143
|
+
"kind": "string"
|
|
144
|
+
}
|
|
100
145
|
}
|
|
101
146
|
],
|
|
102
147
|
"typeReferences": [
|
|
@@ -12,21 +12,30 @@
|
|
|
12
12
|
"type": "readonly FlowNode[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Every node with its grid position. Layout is explicit; the element runs no solver."
|
|
15
|
+
"description": "Every node with its grid position. Layout is explicit; the element runs no solver.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "edges",
|
|
19
22
|
"type": "readonly FlowEdge[]",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Connections by node id. An edge dims until both of its ends are visible."
|
|
25
|
+
"description": "Connections by node id. An edge dims until both of its ends are visible.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "array"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "visibleCount",
|
|
26
32
|
"type": "number",
|
|
27
33
|
"required": true,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "How many nodes have been reached so far."
|
|
35
|
+
"description": "How many nodes have been reached so far.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "number"
|
|
38
|
+
}
|
|
30
39
|
}
|
|
31
40
|
],
|
|
32
41
|
"typeReferences": [
|
|
@@ -14,13 +14,7 @@
|
|
|
14
14
|
"parts": [],
|
|
15
15
|
"variants": {},
|
|
16
16
|
"defaultVariants": {},
|
|
17
|
-
"tokensUsed": [
|
|
18
|
-
"--cue-danger",
|
|
19
|
-
"--cue-fg",
|
|
20
|
-
"--cue-icon-",
|
|
21
|
-
"--cue-icon-md",
|
|
22
|
-
"--cue-icon-sm"
|
|
23
|
-
],
|
|
17
|
+
"tokensUsed": [],
|
|
24
18
|
"summary": "A folder somebody made: a shelf of bookmarks, filed by hand.",
|
|
25
19
|
"examples": [],
|
|
26
20
|
"status": "todo-docs",
|
|
@@ -12,28 +12,48 @@
|
|
|
12
12
|
"type": "\"narrow\" | \"wide\" | \"broad\" | \"full\"",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "broad",
|
|
15
|
-
"description": "Which measure the footer's column takes. Defaults to `\"broad\"`.\n\nThe same four rungs `Container` and `PageShell` offer, so a footer lines up\nwith the page above it by naming the same width — `broad` rather than\n`narrow` by default because a footer is usually the widest thing on a page,\nand a row of columns inside a 42rem reading measure is four squeezed lists."
|
|
15
|
+
"description": "Which measure the footer's column takes. Defaults to `\"broad\"`.\n\nThe same four rungs `Container` and `PageShell` offer, so a footer lines up\nwith the page above it by naming the same width — `broad` rather than\n`narrow` by default because a footer is usually the widest thing on a page,\nand a row of columns inside a 42rem reading measure is four squeezed lists.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
"narrow",
|
|
20
|
+
"wide",
|
|
21
|
+
"broad",
|
|
22
|
+
"full"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
16
25
|
},
|
|
17
26
|
{
|
|
18
27
|
"name": "meta",
|
|
19
28
|
"type": "ReactNode",
|
|
20
29
|
"required": false,
|
|
21
30
|
"defaultValue": null,
|
|
22
|
-
"description": "The fine print, under a hairline of its own: copyright, a licence, a build\nnumber.\n\nA slot rather than a component, because that row is a sentence and a couple\nof links — but it is a *separated* sentence, and hand-rolling the rule and\nthe space above it in every app is exactly the kind of repetition this\ncomponent exists to end."
|
|
31
|
+
"description": "The fine print, under a hairline of its own: copyright, a licence, a build\nnumber.\n\nA slot rather than a component, because that row is a sentence and a couple\nof links — but it is a *separated* sentence, and hand-rolling the rule and\nthe space above it in every app is exactly the kind of repetition this\ncomponent exists to end.",
|
|
32
|
+
"control": {
|
|
33
|
+
"kind": "node",
|
|
34
|
+
"fixture": "children.text"
|
|
35
|
+
}
|
|
23
36
|
},
|
|
24
37
|
{
|
|
25
38
|
"name": "columnClassName",
|
|
26
39
|
"type": "string",
|
|
27
40
|
"required": false,
|
|
28
41
|
"defaultValue": null,
|
|
29
|
-
"description": "Extra classes for the centred column inside the landmark."
|
|
42
|
+
"description": "Extra classes for the centred column inside the landmark.",
|
|
43
|
+
"control": {
|
|
44
|
+
"kind": "string"
|
|
45
|
+
}
|
|
30
46
|
},
|
|
31
47
|
{
|
|
32
48
|
"name": "children",
|
|
33
49
|
"type": "ReactNode",
|
|
34
50
|
"required": false,
|
|
35
51
|
"defaultValue": null,
|
|
36
|
-
"description": "The footer's body — normally a `Grid` of `Stack`s of `Link`s."
|
|
52
|
+
"description": "The footer's body — normally a `Grid` of `Stack`s of `Link`s.",
|
|
53
|
+
"control": {
|
|
54
|
+
"kind": "node",
|
|
55
|
+
"fixture": "children.text"
|
|
56
|
+
}
|
|
37
57
|
}
|
|
38
58
|
],
|
|
39
59
|
"typeReferences": [
|
|
@@ -12,14 +12,22 @@
|
|
|
12
12
|
"type": "ReactNode",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Numerator."
|
|
15
|
+
"description": "Numerator.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "node",
|
|
18
|
+
"fixture": "children.text"
|
|
19
|
+
}
|
|
16
20
|
},
|
|
17
21
|
{
|
|
18
22
|
"name": "under",
|
|
19
23
|
"type": "ReactNode",
|
|
20
24
|
"required": true,
|
|
21
25
|
"defaultValue": null,
|
|
22
|
-
"description": "Denominator."
|
|
26
|
+
"description": "Denominator.",
|
|
27
|
+
"control": {
|
|
28
|
+
"kind": "node",
|
|
29
|
+
"fixture": "children.text"
|
|
30
|
+
}
|
|
23
31
|
}
|
|
24
32
|
],
|
|
25
33
|
"typeReferences": [],
|
|
@@ -12,21 +12,35 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "Status copy shown under the pixel grid while the model has nothing else to show."
|
|
15
|
+
"description": "Status copy shown under the pixel grid while the model has nothing else to show.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "string"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "tick",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": true,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Animation clock that advances the pixel pattern and the elapsed seconds counter."
|
|
25
|
+
"description": "Animation clock that advances the pixel pattern and the elapsed seconds counter.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "variant",
|
|
26
32
|
"type": "\"dots\" | \"squares\" | \"rounded\"",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": "dots",
|
|
29
|
-
"description": "Cell shape of the pixel matrix."
|
|
35
|
+
"description": "Cell shape of the pixel matrix.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "enum",
|
|
38
|
+
"members": [
|
|
39
|
+
"dots",
|
|
40
|
+
"squares",
|
|
41
|
+
"rounded"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
30
44
|
}
|
|
31
45
|
],
|
|
32
46
|
"typeReferences": [
|
|
@@ -12,49 +12,81 @@
|
|
|
12
12
|
"type": "unknown",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The tree to draw, exactly as it arrived.\n\nTyped `unknown` rather than `GenerativeNode` on purpose. A caller who has\njust parsed a tool result holds a `JSON.parse` return, and a signature that\ndemanded a node would push every consumer into the same cast — which is a\nclaim about the bytes that nobody is in a position to make. The renderer\nreads what it was given and reports what it could not use."
|
|
15
|
+
"description": "The tree to draw, exactly as it arrived.\n\nTyped `unknown` rather than `GenerativeNode` on purpose. A caller who has\njust parsed a tool result holds a `JSON.parse` return, and a signature that\ndemanded a node would push every consumer into the same cast — which is a\nclaim about the bytes that nobody is in a position to make. The renderer\nreads what it was given and reports what it could not use.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "opaque"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "onAction",
|
|
19
22
|
"type": "((action: GenerativeAction) => void)",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": null,
|
|
22
|
-
"description": "Where a control's press goes: a button, a form submit, a list row, a\ncheckbox, a card's confirm.\n\nCalled with the `$action` string the model put on the node, the intrinsic\nthat fired it, and — where the control has one — its own value. Omit it and\nevery control is inert, which is the right default for a transcript that is\nbeing re-read rather than used."
|
|
25
|
+
"description": "Where a control's press goes: a button, a form submit, a list row, a\ncheckbox, a card's confirm.\n\nCalled with the `$action` string the model put on the node, the intrinsic\nthat fired it, and — where the control has one — its own value. Omit it and\nevery control is inert, which is the right default for a transcript that is\nbeing re-read rather than used.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "callback",
|
|
28
|
+
"fixture": "callback.log"
|
|
29
|
+
}
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
"name": "onFault",
|
|
26
33
|
"type": "((fault: GenerativeFault) => void)",
|
|
27
34
|
"required": false,
|
|
28
35
|
"defaultValue": null,
|
|
29
|
-
"description": "Told about every node the renderer refused to guess at, after the render\nthat refused it.\n\nThe counterpart of never throwing. A fallback is legible on screen, but the\nperson who needs to know that this console is a version behind the model\ndriving it is usually not the person looking at it — so the faults are also\na stream, one call per refusal, suitable for a counter or a log line."
|
|
36
|
+
"description": "Told about every node the renderer refused to guess at, after the render\nthat refused it.\n\nThe counterpart of never throwing. A fallback is legible on screen, but the\nperson who needs to know that this console is a version behind the model\ndriving it is usually not the person looking at it — so the faults are also\na stream, one call per refusal, suitable for a counter or a log line.",
|
|
37
|
+
"control": {
|
|
38
|
+
"kind": "callback",
|
|
39
|
+
"fixture": "callback.log"
|
|
40
|
+
}
|
|
30
41
|
},
|
|
31
42
|
{
|
|
32
43
|
"name": "renderMarkdown",
|
|
33
44
|
"type": "((value: string) => ReactNode)",
|
|
34
45
|
"required": false,
|
|
35
46
|
"defaultValue": null,
|
|
36
|
-
"description": "Turns a `Markdown` node's source into elements.\n\nWithout it the source renders verbatim, as characters, because this subpath\nships no parser and will not acquire one: `@cueplusplus/ui/elements/markdown`\nis the sanitized renderer this prop is shaped for, and it carries two peers\nthat a console drawing a weather card should not have to install.\n\n```tsx\nimport { MarkdownText } from \"@cueplusplus/ui/elements/markdown\";\n\n<GenerativeUI spec={spec} renderMarkdown={(md) => <MarkdownText>{md}</MarkdownText>} />\n```"
|
|
47
|
+
"description": "Turns a `Markdown` node's source into elements.\n\nWithout it the source renders verbatim, as characters, because this subpath\nships no parser and will not acquire one: `@cueplusplus/ui/elements/markdown`\nis the sanitized renderer this prop is shaped for, and it carries two peers\nthat a console drawing a weather card should not have to install.\n\n```tsx\nimport { MarkdownText } from \"@cueplusplus/ui/elements/markdown\";\n\n<GenerativeUI spec={spec} renderMarkdown={(md) => <MarkdownText>{md}</MarkdownText>} />\n```",
|
|
48
|
+
"control": {
|
|
49
|
+
"kind": "callback",
|
|
50
|
+
"fixture": "callback.log"
|
|
51
|
+
}
|
|
37
52
|
},
|
|
38
53
|
{
|
|
39
54
|
"name": "maxDepth",
|
|
40
55
|
"type": "number",
|
|
41
56
|
"required": false,
|
|
42
57
|
"defaultValue": null,
|
|
43
|
-
"description": "How many levels to walk before drawing the depth notice. Defaults to\n{@link GENERATIVE_MAX_DEPTH}; anything below one level is read as one,\nsince a tree with no levels is not a tree."
|
|
58
|
+
"description": "How many levels to walk before drawing the depth notice. Defaults to\n{@link GENERATIVE_MAX_DEPTH}; anything below one level is read as one,\nsince a tree with no levels is not a tree.",
|
|
59
|
+
"control": {
|
|
60
|
+
"kind": "number"
|
|
61
|
+
}
|
|
44
62
|
},
|
|
45
63
|
{
|
|
46
64
|
"name": "skin",
|
|
47
65
|
"type": "\"cue\" | \"aui\"",
|
|
48
66
|
"required": false,
|
|
49
67
|
"defaultValue": null,
|
|
50
|
-
"description": "Which value-set paints this tree: `cue` (the default) or `aui`, which\ninstalls assistant-ui's own surface language. Leave it off inside an\n{@link AgentSurface }, which has stamped the subtree already."
|
|
68
|
+
"description": "Which value-set paints this tree: `cue` (the default) or `aui`, which\ninstalls assistant-ui's own surface language. Leave it off inside an\n{@link AgentSurface }, which has stamped the subtree already.",
|
|
69
|
+
"control": {
|
|
70
|
+
"kind": "enum",
|
|
71
|
+
"members": [
|
|
72
|
+
"cue",
|
|
73
|
+
"aui"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
51
76
|
},
|
|
52
77
|
{
|
|
53
78
|
"name": "fidelity",
|
|
54
79
|
"type": "\"upstream\" | \"cue-metrics\"",
|
|
55
80
|
"required": false,
|
|
56
81
|
"defaultValue": null,
|
|
57
|
-
"description": "Whether the density knobs follow cue's ladder (`cue-metrics`, the default)\nor pin assistant-ui's own numbers (`upstream`)."
|
|
82
|
+
"description": "Whether the density knobs follow cue's ladder (`cue-metrics`, the default)\nor pin assistant-ui's own numbers (`upstream`).",
|
|
83
|
+
"control": {
|
|
84
|
+
"kind": "enum",
|
|
85
|
+
"members": [
|
|
86
|
+
"upstream",
|
|
87
|
+
"cue-metrics"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
58
90
|
}
|
|
59
91
|
],
|
|
60
92
|
"typeReferences": [
|
|
@@ -12,35 +12,86 @@
|
|
|
12
12
|
"type": "4 | 1 | 2 | 3 | 5 | 6",
|
|
13
13
|
"required": false,
|
|
14
14
|
"defaultValue": "1",
|
|
15
|
-
"description": "How many equal columns. Defaults to `1`. Ignored when `minItemWidth` is set."
|
|
15
|
+
"description": "How many equal columns. Defaults to `1`. Ignored when `minItemWidth` is set.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "enum",
|
|
18
|
+
"members": [
|
|
19
|
+
4,
|
|
20
|
+
1,
|
|
21
|
+
2,
|
|
22
|
+
3,
|
|
23
|
+
5,
|
|
24
|
+
6
|
|
25
|
+
],
|
|
26
|
+
"min": 1,
|
|
27
|
+
"max": 6
|
|
28
|
+
}
|
|
16
29
|
},
|
|
17
30
|
{
|
|
18
31
|
"name": "gap",
|
|
19
32
|
"type": "0 | 4 | 8 | 1 | 2 | 3 | 5 | 6 | 7",
|
|
20
33
|
"required": false,
|
|
21
34
|
"defaultValue": "4",
|
|
22
|
-
"description": "Which rung of the density space ladder to spend between cells. Defaults to `4`."
|
|
35
|
+
"description": "Which rung of the density space ladder to spend between cells. Defaults to `4`.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "enum",
|
|
38
|
+
"members": [
|
|
39
|
+
0,
|
|
40
|
+
4,
|
|
41
|
+
8,
|
|
42
|
+
1,
|
|
43
|
+
2,
|
|
44
|
+
3,
|
|
45
|
+
5,
|
|
46
|
+
6,
|
|
47
|
+
7
|
|
48
|
+
],
|
|
49
|
+
"min": 0,
|
|
50
|
+
"max": 8
|
|
51
|
+
}
|
|
23
52
|
},
|
|
24
53
|
{
|
|
25
54
|
"name": "minItemWidth",
|
|
26
55
|
"type": "string",
|
|
27
56
|
"required": false,
|
|
28
57
|
"defaultValue": null,
|
|
29
|
-
"description": "Fill the row with as many columns of at least this width as fit, instead of\na fixed count. Any CSS length (`\"12rem\"`, `\"200px\"`).\n\nPrefer this over a column count wherever the content has a natural minimum\nmeasure — it is responsive without a single breakpoint."
|
|
58
|
+
"description": "Fill the row with as many columns of at least this width as fit, instead of\na fixed count. Any CSS length (`\"12rem\"`, `\"200px\"`).\n\nPrefer this over a column count wherever the content has a natural minimum\nmeasure — it is responsive without a single breakpoint.",
|
|
59
|
+
"control": {
|
|
60
|
+
"kind": "string"
|
|
61
|
+
}
|
|
30
62
|
},
|
|
31
63
|
{
|
|
32
64
|
"name": "align",
|
|
33
65
|
"type": "\"center\" | \"end\" | \"baseline\" | \"start\" | \"stretch\"",
|
|
34
66
|
"required": false,
|
|
35
67
|
"defaultValue": null,
|
|
36
|
-
"description": "Cross-axis alignment of the cells."
|
|
68
|
+
"description": "Cross-axis alignment of the cells.",
|
|
69
|
+
"control": {
|
|
70
|
+
"kind": "enum",
|
|
71
|
+
"members": [
|
|
72
|
+
"center",
|
|
73
|
+
"end",
|
|
74
|
+
"baseline",
|
|
75
|
+
"start",
|
|
76
|
+
"stretch"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
37
79
|
},
|
|
38
80
|
{
|
|
39
81
|
"name": "justify",
|
|
40
82
|
"type": "\"center\" | \"end\" | \"start\" | \"between\"",
|
|
41
83
|
"required": false,
|
|
42
84
|
"defaultValue": null,
|
|
43
|
-
"description": "Main-axis distribution of the tracks."
|
|
85
|
+
"description": "Main-axis distribution of the tracks.",
|
|
86
|
+
"control": {
|
|
87
|
+
"kind": "enum",
|
|
88
|
+
"members": [
|
|
89
|
+
"center",
|
|
90
|
+
"end",
|
|
91
|
+
"start",
|
|
92
|
+
"between"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
44
95
|
}
|
|
45
96
|
],
|
|
46
97
|
"typeReferences": [
|
|
@@ -12,42 +12,61 @@
|
|
|
12
12
|
"type": "readonly GroupBarItem[]",
|
|
13
13
|
"required": true,
|
|
14
14
|
"defaultValue": null,
|
|
15
|
-
"description": "The slices, in display order."
|
|
15
|
+
"description": "The slices, in display order.",
|
|
16
|
+
"control": {
|
|
17
|
+
"kind": "array"
|
|
18
|
+
}
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
"name": "height",
|
|
19
22
|
"type": "number",
|
|
20
23
|
"required": false,
|
|
21
24
|
"defaultValue": "6",
|
|
22
|
-
"description": "Strip height in px at the 16px root, emitted as `rem`. Defaults to `6`."
|
|
25
|
+
"description": "Strip height in px at the 16px root, emitted as `rem`. Defaults to `6`.",
|
|
26
|
+
"control": {
|
|
27
|
+
"kind": "number"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
{
|
|
25
31
|
"name": "label",
|
|
26
32
|
"type": "string",
|
|
27
33
|
"required": false,
|
|
28
34
|
"defaultValue": null,
|
|
29
|
-
"description": "What the distribution is *of*. Required in practice — it names the graphic."
|
|
35
|
+
"description": "What the distribution is *of*. Required in practice — it names the graphic.",
|
|
36
|
+
"control": {
|
|
37
|
+
"kind": "string"
|
|
38
|
+
}
|
|
30
39
|
},
|
|
31
40
|
{
|
|
32
41
|
"name": "legend",
|
|
33
42
|
"type": "boolean",
|
|
34
43
|
"required": false,
|
|
35
44
|
"defaultValue": "false",
|
|
36
|
-
"description": "List the slices with their shares underneath the strip."
|
|
45
|
+
"description": "List the slices with their shares underneath the strip.",
|
|
46
|
+
"control": {
|
|
47
|
+
"kind": "boolean"
|
|
48
|
+
}
|
|
37
49
|
},
|
|
38
50
|
{
|
|
39
51
|
"name": "formatShare",
|
|
40
52
|
"type": "((share: number, item: GroupBarItem) => string)",
|
|
41
53
|
"required": false,
|
|
42
54
|
"defaultValue": "(share) => `${share}%`",
|
|
43
|
-
"description": "Format one share for the summary and the legend. Defaults to `\"42%\"`."
|
|
55
|
+
"description": "Format one share for the summary and the legend. Defaults to `\"42%\"`.",
|
|
56
|
+
"control": {
|
|
57
|
+
"kind": "callback",
|
|
58
|
+
"fixture": "callback.log"
|
|
59
|
+
}
|
|
44
60
|
},
|
|
45
61
|
{
|
|
46
62
|
"name": "emptyLabel",
|
|
47
63
|
"type": "string",
|
|
48
64
|
"required": false,
|
|
49
65
|
"defaultValue": "no data",
|
|
50
|
-
"description": "What to say when every slice is empty. Defaults to `\"no data\"`."
|
|
66
|
+
"description": "What to say when every slice is empty. Defaults to `\"no data\"`.",
|
|
67
|
+
"control": {
|
|
68
|
+
"kind": "string"
|
|
69
|
+
}
|
|
51
70
|
}
|
|
52
71
|
],
|
|
53
72
|
"typeReferences": [
|