@zovaris/sephiro 0.12.1 → 0.14.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/README.md +43 -1
- package/dist/Chart-CDJ3a_FJ.js +359 -0
- package/dist/Chart-CDJ3a_FJ.js.map +1 -0
- package/dist/MenuContent-D0HouXwm.d.ts +14 -0
- package/dist/MenuContent-D0HouXwm.d.ts.map +1 -0
- package/dist/MenuContent-Dk33jAIL.js +59 -0
- package/dist/MenuContent-Dk33jAIL.js.map +1 -0
- package/dist/Table-BxURefYb.js +269 -0
- package/dist/Table-BxURefYb.js.map +1 -0
- package/dist/Tooltip-Clb5PoSN.js +204 -0
- package/dist/Tooltip-Clb5PoSN.js.map +1 -0
- package/dist/accordion.d.ts +23 -0
- package/dist/accordion.d.ts.map +1 -0
- package/dist/accordion.js +56 -0
- package/dist/accordion.js.map +1 -0
- package/dist/animated-number.d.ts +11 -0
- package/dist/animated-number.d.ts.map +1 -0
- package/dist/animated-number.js +49 -0
- package/dist/animated-number.js.map +1 -0
- package/dist/approval-card.d.ts +20 -0
- package/dist/approval-card.d.ts.map +1 -0
- package/dist/approval-card.js +80 -0
- package/dist/approval-card.js.map +1 -0
- package/dist/artifact-card.d.ts +19 -0
- package/dist/artifact-card.d.ts.map +1 -0
- package/dist/artifact-card.js +64 -0
- package/dist/artifact-card.js.map +1 -0
- package/dist/attachment.d.ts +23 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.js +148 -0
- package/dist/attachment.js.map +1 -0
- package/dist/avatar-group.d.ts +14 -0
- package/dist/avatar-group.d.ts.map +1 -0
- package/dist/avatar-group.js +27 -0
- package/dist/avatar-group.js.map +1 -0
- package/dist/avatar.d.ts +14 -0
- package/dist/avatar.d.ts.map +1 -0
- package/dist/avatar.js +37 -0
- package/dist/avatar.js.map +1 -0
- package/dist/badge.d.ts +14 -0
- package/dist/badge.d.ts.map +1 -0
- package/dist/badge.js +28 -0
- package/dist/badge.js.map +1 -0
- package/dist/breadcrumb.d.ts +22 -0
- package/dist/breadcrumb.d.ts.map +1 -0
- package/dist/breadcrumb.js +57 -0
- package/dist/breadcrumb.js.map +1 -0
- package/dist/button.d.ts +15 -0
- package/dist/button.d.ts.map +1 -0
- package/dist/button.js +39 -0
- package/dist/button.js.map +1 -0
- package/dist/calendar.d.ts +43 -0
- package/dist/calendar.d.ts.map +1 -0
- package/dist/calendar.js +316 -0
- package/dist/calendar.js.map +1 -0
- package/dist/card.d.ts +15 -0
- package/dist/card.d.ts.map +1 -0
- package/dist/card.js +41 -0
- package/dist/card.js.map +1 -0
- package/dist/carousel.d.ts +17 -0
- package/dist/carousel.d.ts.map +1 -0
- package/dist/carousel.js +96 -0
- package/dist/carousel.js.map +1 -0
- package/dist/chart.d.ts +30 -0
- package/dist/chart.d.ts.map +1 -0
- package/dist/chart.js +2 -0
- package/dist/chat-input.d.ts +92 -0
- package/dist/chat-input.d.ts.map +1 -0
- package/dist/chat-input.js +460 -0
- package/dist/chat-input.js.map +1 -0
- package/dist/chat-scroller.d.ts +24 -0
- package/dist/chat-scroller.d.ts.map +1 -0
- package/dist/chat-scroller.js +193 -0
- package/dist/chat-scroller.js.map +1 -0
- package/dist/checkbox.d.ts +12 -0
- package/dist/checkbox.d.ts.map +1 -0
- package/dist/checkbox.js +34 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/citation.d.ts +23 -0
- package/dist/citation.d.ts.map +1 -0
- package/dist/citation.js +277 -0
- package/dist/citation.js.map +1 -0
- package/dist/cn-M4U2-Tak.js +2 -0
- package/dist/code-block.d.ts +17 -0
- package/dist/code-block.d.ts.map +1 -0
- package/dist/code-block.js +58 -0
- package/dist/code-block.js.map +1 -0
- package/dist/collapsible.d.ts +14 -0
- package/dist/collapsible.d.ts.map +1 -0
- package/dist/collapsible.js +49 -0
- package/dist/collapsible.js.map +1 -0
- package/dist/combobox.d.ts +32 -0
- package/dist/combobox.d.ts.map +1 -0
- package/dist/combobox.js +336 -0
- package/dist/combobox.js.map +1 -0
- package/dist/command-palette.d.ts +31 -0
- package/dist/command-palette.d.ts.map +1 -0
- package/dist/command-palette.js +467 -0
- package/dist/command-palette.js.map +1 -0
- package/dist/context-menu.d.ts +19 -0
- package/dist/context-menu.d.ts.map +1 -0
- package/dist/context-menu.js +125 -0
- package/dist/context-menu.js.map +1 -0
- package/dist/control-Cgma3uYI.d.ts +6 -0
- package/dist/control-Cgma3uYI.d.ts.map +1 -0
- package/dist/css/accordion.css +1 -0
- package/dist/css/animated-number.css +2 -0
- package/dist/css/approval-card.css +3 -0
- package/dist/css/artifact-card.css +3 -0
- package/dist/css/attachment.css +73 -0
- package/dist/css/avatar-group.css +6 -0
- package/dist/css/avatar.css +1 -0
- package/dist/css/badge.css +1 -0
- package/dist/css/breadcrumb.css +73 -0
- package/dist/css/button.css +2 -0
- package/dist/css/calendar.css +51 -0
- package/dist/css/card.css +1 -0
- package/dist/css/carousel.css +14 -0
- package/dist/css/chart.css +84 -0
- package/dist/css/chat-input.css +97 -0
- package/dist/css/chat-scroller.css +1 -0
- package/dist/css/checkbox.css +1 -0
- package/dist/css/citation.css +1 -0
- package/dist/css/code-block.css +14 -0
- package/dist/css/collapsible.css +1 -0
- package/dist/css/combobox.css +121 -0
- package/dist/css/command-palette.css +135 -0
- package/dist/css/context-menu.css +47 -0
- package/dist/css/date-range-field.css +56 -0
- package/dist/css/dialog.css +1 -0
- package/dist/css/diff-view.css +3 -0
- package/dist/css/drawer.css +1 -0
- package/dist/css/empty-state.css +73 -0
- package/dist/css/field-message.css +4 -0
- package/dist/css/field.css +2 -0
- package/dist/css/hold-button.css +12 -0
- package/dist/css/hover-card.css +44 -0
- package/dist/css/icon-button.css +2 -0
- package/dist/css/input.css +15 -0
- package/dist/css/kbd.css +1 -0
- package/dist/css/magnetic-dropzone.css +23 -0
- package/dist/css/menu.css +116 -0
- package/dist/css/menubar.css +45 -0
- package/dist/css/message.css +14 -0
- package/dist/css/metadata-list.css +1 -0
- package/dist/css/notice.css +1 -0
- package/dist/css/number-input.css +3 -0
- package/dist/css/otp-input.css +1 -0
- package/dist/css/overflow-list.css +116 -0
- package/dist/css/pagination.css +1 -0
- package/dist/css/plan-card.css +78 -0
- package/dist/css/popover.css +43 -0
- package/dist/css/progress.css +10 -0
- package/dist/css/question-card.css +73 -0
- package/dist/css/radio-group.css +1 -0
- package/dist/css/reasoning-steps.css +137 -0
- package/dist/css/resizable.css +15 -0
- package/dist/css/reveal.css +6 -0
- package/dist/css/scroll-area.css +17 -0
- package/dist/css/segmented-control.css +1 -0
- package/dist/css/select.css +112 -0
- package/dist/css/separator.css +1 -0
- package/dist/css/side-panel.css +12 -0
- package/dist/css/sidebar.css +70 -0
- package/dist/css/skeleton.css +7 -0
- package/dist/css/slider.css +1 -0
- package/dist/css/spinner.css +1 -0
- package/dist/css/stat.css +2 -0
- package/dist/css/status-mark.css +24 -0
- package/dist/css/stepper.css +1 -0
- package/dist/css/streaming-text.css +7 -0
- package/dist/css/surface.css +8 -0
- package/dist/css/table.css +2 -0
- package/dist/css/tabs.css +1 -0
- package/dist/css/task-list.css +73 -0
- package/dist/css/textarea.css +15 -0
- package/dist/css/theme-asterism.css +1 -0
- package/dist/css/theme-curie.css +1 -0
- package/dist/css/theme-dark.css +1 -0
- package/dist/css/theme-default.css +1 -0
- package/dist/css/theme-fizza.css +1 -0
- package/dist/css/theme-light.css +1 -0
- package/dist/css/theme-pulso.css +1 -0
- package/dist/css/timeline.css +73 -0
- package/dist/css/timestamp.css +2 -0
- package/dist/css/toast.css +1 -0
- package/dist/css/toggle.css +1 -0
- package/dist/css/tool-calls.css +2 -0
- package/dist/css/toolbar.css +1 -0
- package/dist/css/tooltip.css +1 -0
- package/dist/css/tree-view.css +13 -0
- package/dist/date-range-field.d.ts +44 -0
- package/dist/date-range-field.d.ts.map +1 -0
- package/dist/date-range-field.js +231 -0
- package/dist/date-range-field.js.map +1 -0
- package/dist/dialog.d.ts +20 -0
- package/dist/dialog.d.ts.map +1 -0
- package/dist/dialog.js +111 -0
- package/dist/dialog.js.map +1 -0
- package/dist/diff-view.d.ts +30 -0
- package/dist/diff-view.d.ts.map +1 -0
- package/dist/diff-view.js +108 -0
- package/dist/diff-view.js.map +1 -0
- package/dist/drawer.d.ts +24 -0
- package/dist/drawer.d.ts.map +1 -0
- package/dist/drawer.js +114 -0
- package/dist/drawer.js.map +1 -0
- package/dist/empty-state.d.ts +13 -0
- package/dist/empty-state.d.ts.map +1 -0
- package/dist/empty-state.js +36 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/field-message.d.ts +10 -0
- package/dist/field-message.d.ts.map +1 -0
- package/dist/field-message.js +18 -0
- package/dist/field-message.js.map +1 -0
- package/dist/field.d.ts +16 -0
- package/dist/field.d.ts.map +1 -0
- package/dist/field.js +51 -0
- package/dist/field.js.map +1 -0
- package/dist/focus-YjWtfgLp.js +247 -0
- package/dist/focus-YjWtfgLp.js.map +1 -0
- package/dist/highlight-DnD7eZw8.js +88 -0
- package/dist/highlight-DnD7eZw8.js.map +1 -0
- package/dist/hold-button.d.ts +19 -0
- package/dist/hold-button.d.ts.map +1 -0
- package/dist/hold-button.js +210 -0
- package/dist/hold-button.js.map +1 -0
- package/dist/hover-card.d.ts +18 -0
- package/dist/hover-card.d.ts.map +1 -0
- package/dist/hover-card.js +138 -0
- package/dist/hover-card.js.map +1 -0
- package/dist/icon-button.d.ts +15 -0
- package/dist/icon-button.d.ts.map +1 -0
- package/dist/icon-button.js +39 -0
- package/dist/icon-button.js.map +1 -0
- package/dist/index-CdXWK1oU.d.ts +54 -0
- package/dist/index-CdXWK1oU.d.ts.map +1 -0
- package/dist/index-Dw2Vi3H2.d.ts +48 -0
- package/dist/index-Dw2Vi3H2.d.ts.map +1 -0
- package/dist/index.css +87 -0
- package/dist/index.d.ts +83 -1473
- package/dist/index.js +80 -8970
- package/dist/input.d.ts +10 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/input.js +16 -0
- package/dist/input.js.map +1 -0
- package/dist/kbd.d.ts +15 -0
- package/dist/kbd.d.ts.map +1 -0
- package/dist/kbd.js +19 -0
- package/dist/kbd.js.map +1 -0
- package/dist/magnetic-dropzone.d.ts +48 -0
- package/dist/magnetic-dropzone.d.ts.map +1 -0
- package/dist/magnetic-dropzone.js +220 -0
- package/dist/magnetic-dropzone.js.map +1 -0
- package/dist/menu.d.ts +21 -0
- package/dist/menu.d.ts.map +1 -0
- package/dist/menu.js +111 -0
- package/dist/menu.js.map +1 -0
- package/dist/menubar.d.ts +27 -0
- package/dist/menubar.d.ts.map +1 -0
- package/dist/menubar.js +85 -0
- package/dist/menubar.js.map +1 -0
- package/dist/message.d.ts +20 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.js +69 -0
- package/dist/message.js.map +1 -0
- package/dist/metadata-list.d.ts +20 -0
- package/dist/metadata-list.d.ts.map +1 -0
- package/dist/metadata-list.js +39 -0
- package/dist/metadata-list.js.map +1 -0
- package/dist/node-CcE0pv56.d.ts +10 -0
- package/dist/node-CcE0pv56.d.ts.map +1 -0
- package/dist/node-Dr67KnBr.js +6 -0
- package/dist/node-Dr67KnBr.js.map +1 -0
- package/dist/notice.d.ts +13 -0
- package/dist/notice.d.ts.map +1 -0
- package/dist/notice.js +75 -0
- package/dist/notice.js.map +1 -0
- package/dist/number-input.d.ts +28 -0
- package/dist/number-input.d.ts.map +1 -0
- package/dist/number-input.js +315 -0
- package/dist/number-input.js.map +1 -0
- package/dist/otp-input.d.ts +34 -0
- package/dist/otp-input.d.ts.map +1 -0
- package/dist/otp-input.js +232 -0
- package/dist/otp-input.js.map +1 -0
- package/dist/overflow-list.d.ts +27 -0
- package/dist/overflow-list.d.ts.map +1 -0
- package/dist/overflow-list.js +218 -0
- package/dist/overflow-list.js.map +1 -0
- package/dist/overlay-BkKSjEES.js +245 -0
- package/dist/overlay-BkKSjEES.js.map +1 -0
- package/dist/overlay-DuKK5362.d.ts +6 -0
- package/dist/overlay-DuKK5362.d.ts.map +1 -0
- package/dist/pagination.d.ts +18 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +83 -0
- package/dist/pagination.js.map +1 -0
- package/dist/plan-card.d.ts +27 -0
- package/dist/plan-card.d.ts.map +1 -0
- package/dist/plan-card.js +221 -0
- package/dist/plan-card.js.map +1 -0
- package/dist/popover.d.ts +17 -0
- package/dist/popover.d.ts.map +1 -0
- package/dist/popover.js +112 -0
- package/dist/popover.js.map +1 -0
- package/dist/presence-DWS40fJL.js +82 -0
- package/dist/presence-DWS40fJL.js.map +1 -0
- package/dist/progress.d.ts +12 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/progress.js +31 -0
- package/dist/progress.js.map +1 -0
- package/dist/question-card.d.ts +29 -0
- package/dist/question-card.d.ts.map +1 -0
- package/dist/question-card.js +85 -0
- package/dist/question-card.js.map +1 -0
- package/dist/radio-group.d.ts +24 -0
- package/dist/radio-group.d.ts.map +1 -0
- package/dist/radio-group.js +69 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/reasoning-steps.d.ts +19 -0
- package/dist/reasoning-steps.d.ts.map +1 -0
- package/dist/reasoning-steps.js +74 -0
- package/dist/reasoning-steps.js.map +1 -0
- package/dist/resizable.d.ts +18 -0
- package/dist/resizable.d.ts.map +1 -0
- package/dist/resizable.js +106 -0
- package/dist/resizable.js.map +1 -0
- package/dist/reveal.d.ts +2 -0
- package/dist/reveal.js +74 -0
- package/dist/reveal.js.map +1 -0
- package/dist/scroll-area.d.ts +10 -0
- package/dist/scroll-area.d.ts.map +1 -0
- package/dist/scroll-area.js +16 -0
- package/dist/scroll-area.js.map +1 -0
- package/dist/segmented-control.d.ts +25 -0
- package/dist/segmented-control.d.ts.map +1 -0
- package/dist/segmented-control.js +89 -0
- package/dist/segmented-control.js.map +1 -0
- package/dist/select.d.ts +23 -0
- package/dist/select.d.ts.map +1 -0
- package/dist/select.js +138 -0
- package/dist/select.js.map +1 -0
- package/dist/separator.d.ts +9 -0
- package/dist/separator.d.ts.map +1 -0
- package/dist/separator.js +17 -0
- package/dist/separator.js.map +1 -0
- package/dist/side-panel.d.ts +21 -0
- package/dist/side-panel.d.ts.map +1 -0
- package/dist/side-panel.js +37 -0
- package/dist/side-panel.js.map +1 -0
- package/dist/sidebar.d.ts +34 -0
- package/dist/sidebar.d.ts.map +1 -0
- package/dist/sidebar.js +96 -0
- package/dist/sidebar.js.map +1 -0
- package/dist/skeleton.d.ts +9 -0
- package/dist/skeleton.d.ts.map +1 -0
- package/dist/skeleton.js +22 -0
- package/dist/skeleton.js.map +1 -0
- package/dist/slider.d.ts +18 -0
- package/dist/slider.d.ts.map +1 -0
- package/dist/slider.js +53 -0
- package/dist/slider.js.map +1 -0
- package/dist/spinner.d.ts +11 -0
- package/dist/spinner.d.ts.map +1 -0
- package/dist/spinner.js +19 -0
- package/dist/spinner.js.map +1 -0
- package/dist/stat.d.ts +21 -0
- package/dist/stat.d.ts.map +1 -0
- package/dist/stat.js +62 -0
- package/dist/stat.js.map +1 -0
- package/dist/status-mark.d.ts +14 -0
- package/dist/status-mark.d.ts.map +1 -0
- package/dist/status-mark.js +62 -0
- package/dist/status-mark.js.map +1 -0
- package/dist/stepper.d.ts +23 -0
- package/dist/stepper.d.ts.map +1 -0
- package/dist/stepper.js +74 -0
- package/dist/stepper.js.map +1 -0
- package/dist/streaming-text.d.ts +17 -0
- package/dist/streaming-text.d.ts.map +1 -0
- package/dist/streaming-text.js +32 -0
- package/dist/streaming-text.js.map +1 -0
- package/dist/surface.d.ts +11 -0
- package/dist/surface.d.ts.map +1 -0
- package/dist/surface.js +17 -0
- package/dist/surface.js.map +1 -0
- package/dist/table.d.ts +2 -0
- package/dist/table.js +3 -0
- package/dist/tabs.d.ts +23 -0
- package/dist/tabs.d.ts.map +1 -0
- package/dist/tabs.js +116 -0
- package/dist/tabs.js.map +1 -0
- package/dist/task-list.d.ts +26 -0
- package/dist/task-list.d.ts.map +1 -0
- package/dist/task-list.js +61 -0
- package/dist/task-list.js.map +1 -0
- package/dist/textarea.d.ts +10 -0
- package/dist/textarea.d.ts.map +1 -0
- package/dist/textarea.js +16 -0
- package/dist/textarea.js.map +1 -0
- package/dist/themes.css +60 -0
- package/dist/timeline.d.ts +24 -0
- package/dist/timeline.d.ts.map +1 -0
- package/dist/timeline.js +43 -0
- package/dist/timeline.js.map +1 -0
- package/dist/timestamp.d.ts +20 -0
- package/dist/timestamp.d.ts.map +1 -0
- package/dist/timestamp.js +133 -0
- package/dist/timestamp.js.map +1 -0
- package/dist/toast.d.ts +24 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/toast.js +76 -0
- package/dist/toast.js.map +1 -0
- package/dist/toggle.d.ts +15 -0
- package/dist/toggle.d.ts.map +1 -0
- package/dist/toggle.js +29 -0
- package/dist/toggle.js.map +1 -0
- package/dist/tool-calls.d.ts +23 -0
- package/dist/tool-calls.d.ts.map +1 -0
- package/dist/tool-calls.js +219 -0
- package/dist/tool-calls.js.map +1 -0
- package/dist/toolbar.d.ts +15 -0
- package/dist/toolbar.d.ts.map +1 -0
- package/dist/toolbar.js +33 -0
- package/dist/toolbar.js.map +1 -0
- package/dist/tooltip.d.ts +19 -0
- package/dist/tooltip.d.ts.map +1 -0
- package/dist/tooltip.js +2 -0
- package/dist/tree-view.d.ts +41 -0
- package/dist/tree-view.d.ts.map +1 -0
- package/dist/tree-view.js +159 -0
- package/dist/tree-view.js.map +1 -0
- package/dist/trigger-BXLDz5Zo.js +111 -0
- package/dist/trigger-BXLDz5Zo.js.map +1 -0
- package/package.json +322 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,1473 +1,83 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
type KbdProps
|
|
84
|
-
/**
|
|
85
|
-
* Key caps to render. An array draws one cap per entry (`["⌘", "K"]`);
|
|
86
|
-
* a single value draws one cap (`"Esc"`).
|
|
87
|
-
*/
|
|
88
|
-
keys: Renderable;
|
|
89
|
-
/** Solid key cap (default) or a transparent shortcut hint. */
|
|
90
|
-
variant?: "solid" | "ghost";
|
|
91
|
-
className?: string;
|
|
92
|
-
};
|
|
93
|
-
export declare function Kbd({ keys, variant, className }: KbdProps): import("react").JSX.Element;
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region src/atoms/Progress/index.d.ts
|
|
96
|
-
type ProgressProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
97
|
-
/** Completion from 0 to 100. Omit it for the indeterminate sweep. */
|
|
98
|
-
value?: number;
|
|
99
|
-
label?: string;
|
|
100
|
-
size?: ControlSize;
|
|
101
|
-
};
|
|
102
|
-
export declare function Progress({ value, label, size, className, ...props }: ProgressProps): import("react").JSX.Element;
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region src/atoms/ScrollArea/index.d.ts
|
|
105
|
-
type ScrollAreaProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
106
|
-
orientation?: "vertical" | "horizontal" | "both";
|
|
107
|
-
children?: Renderable;
|
|
108
|
-
};
|
|
109
|
-
export declare function ScrollArea({ orientation, className, children, ...props }: ScrollAreaProps): import("react").JSX.Element;
|
|
110
|
-
//#endregion
|
|
111
|
-
//#region src/atoms/Separator/index.d.ts
|
|
112
|
-
type SeparatorProps = Omit<HTMLAttributes<HTMLHRElement>, "children"> & {
|
|
113
|
-
orientation?: "horizontal" | "vertical";
|
|
114
|
-
decorative?: boolean;
|
|
115
|
-
};
|
|
116
|
-
export declare function Separator({ orientation, decorative, className, ...props }: SeparatorProps): import("react").JSX.Element;
|
|
117
|
-
//#endregion
|
|
118
|
-
//#region src/atoms/Skeleton/index.d.ts
|
|
119
|
-
type SkeletonProps = HTMLAttributes<HTMLSpanElement> & {
|
|
120
|
-
width?: string | number;
|
|
121
|
-
height?: string | number;
|
|
122
|
-
};
|
|
123
|
-
export declare function Skeleton({ width, height, className, style, "aria-label": ariaLabel, ...props }: SkeletonProps): import("react").JSX.Element;
|
|
124
|
-
//#endregion
|
|
125
|
-
//#region src/atoms/Slider/index.d.ts
|
|
126
|
-
type SliderProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "children" | "min" | "max" | "step"> & {
|
|
127
|
-
value: number;
|
|
128
|
-
onValueChange: (value: number) => void;
|
|
129
|
-
label: Renderable;
|
|
130
|
-
min?: number;
|
|
131
|
-
max?: number;
|
|
132
|
-
step?: number;
|
|
133
|
-
size?: ControlSize;
|
|
134
|
-
valueLabel?: Renderable;
|
|
135
|
-
invalid?: boolean;
|
|
136
|
-
};
|
|
137
|
-
export declare function Slider({ value, onValueChange, label, min, max, step, size, valueLabel, invalid, className, disabled, style, id, "aria-label": ariaLabel, "aria-valuetext": ariaValueText, "aria-invalid": ariaInvalid, ...props }: SliderProps): import("react").JSX.Element;
|
|
138
|
-
//#endregion
|
|
139
|
-
//#region src/atoms/Spinner/index.d.ts
|
|
140
|
-
type SpinnerProps = HTMLAttributes<HTMLSpanElement> & {
|
|
141
|
-
size?: ControlSize;
|
|
142
|
-
label?: string;
|
|
143
|
-
variant?: "ring" | "dots";
|
|
144
|
-
};
|
|
145
|
-
export declare function Spinner({ size, label, variant, className, ...props }: SpinnerProps): import("react").JSX.Element;
|
|
146
|
-
//#endregion
|
|
147
|
-
//#region src/atoms/Surface/index.d.ts
|
|
148
|
-
type SurfaceProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
149
|
-
children?: Renderable;
|
|
150
|
-
tone?: "base" | "elevated" | "raised";
|
|
151
|
-
padding?: "none" | "sm" | "md" | "lg";
|
|
152
|
-
};
|
|
153
|
-
export declare function Surface({ tone, padding, className, children, ...props }: SurfaceProps): import("react").JSX.Element;
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/atoms/Textarea/index.d.ts
|
|
156
|
-
type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
157
|
-
invalid?: boolean;
|
|
158
|
-
size?: ControlSize;
|
|
159
|
-
};
|
|
160
|
-
export declare function Textarea({ invalid, size, className, "aria-invalid": ariaInvalid, ...props }: TextareaProps): import("react").JSX.Element;
|
|
161
|
-
//#endregion
|
|
162
|
-
//#region src/atoms/Toggle/index.d.ts
|
|
163
|
-
type ToggleProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onClick"> & {
|
|
164
|
-
checked: boolean;
|
|
165
|
-
onCheckedChange: (checked: boolean) => void;
|
|
166
|
-
label: string;
|
|
167
|
-
size?: ControlSize;
|
|
168
|
-
onClick?: (event: {
|
|
169
|
-
preventDefault(): void;
|
|
170
|
-
}) => void;
|
|
171
|
-
};
|
|
172
|
-
export declare function Toggle({ checked, onCheckedChange, label, className, disabled, onClick, size, "aria-checked": ariaChecked, "aria-label": ariaLabel, ...props }: ToggleProps): import("react").JSX.Element;
|
|
173
|
-
//#endregion
|
|
174
|
-
//#region src/lib/presence.d.ts
|
|
175
|
-
type MotionSpeed = "fast" | "normal" | "slow";
|
|
176
|
-
/**
|
|
177
|
-
* Parses a CSS time string ("180ms", "0.18s", "0ms") into milliseconds.
|
|
178
|
-
*
|
|
179
|
-
* The leading digit is optional because a minifier shortens `180ms` to `.18s`
|
|
180
|
-
* in production, and that is what `getComputedStyle` gives back there.
|
|
181
|
-
*/
|
|
182
|
-
export declare function parseDurationMs(value: string): number;
|
|
183
|
-
/**
|
|
184
|
-
* Reads the motion token in effect for an element, honouring theme
|
|
185
|
-
* overrides, `prefers-reduced-motion`, and `data-sephiro-motion="off"`.
|
|
186
|
-
* Returns 0 when there is nothing to wait for.
|
|
187
|
-
*/
|
|
188
|
-
export declare function motionDurationMs(element: HTMLElement | null, speed: MotionSpeed): number;
|
|
189
|
-
type Presence<E extends HTMLElement = HTMLElement> = {
|
|
190
|
-
/** Keep rendering the overlay while its exit animation plays. */
|
|
191
|
-
present: boolean;
|
|
192
|
-
/** True once the overlay has begun leaving; drive exit styles with it. */
|
|
193
|
-
leaving: boolean;
|
|
194
|
-
/** `open` while settled, `closed` once leaving. */
|
|
195
|
-
state: "open" | "closed";
|
|
196
|
-
/** Attach to the overlay element so its exit duration can be measured. */
|
|
197
|
-
ref: RefObject<E | null>;
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* Holds an overlay mounted for exactly as long as its exit animation runs.
|
|
201
|
-
*
|
|
202
|
-
* Enter animations replay on mount, so the component only needs to render
|
|
203
|
-
* while `present` and style itself with `state`:
|
|
204
|
-
*
|
|
205
|
-
* ```tsx
|
|
206
|
-
* const { present, state, ref } = usePresence(open, "fast");
|
|
207
|
-
* return present ? <div ref={ref} data-state={state} /> : null;
|
|
208
|
-
* ```
|
|
209
|
-
*/
|
|
210
|
-
export declare function usePresence<E extends HTMLElement = HTMLElement>(open: boolean, speed?: MotionSpeed): Presence<E>;
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region src/molecules/Accordion/index.d.ts
|
|
213
|
-
type AccordionItem = {
|
|
214
|
-
/** Identifies the panel across `value` and `defaultValue`. */
|
|
215
|
-
value: string;
|
|
216
|
-
trigger: Renderable;
|
|
217
|
-
children?: Renderable;
|
|
218
|
-
disabled?: boolean;
|
|
219
|
-
};
|
|
220
|
-
type AccordionProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "value" | "defaultValue"> & {
|
|
221
|
-
items: AccordionItem[];
|
|
222
|
-
/** `single` (default) keeps one panel open; `multiple` allows many. */
|
|
223
|
-
type?: "single" | "multiple";
|
|
224
|
-
/** Controlled set of open panels. */
|
|
225
|
-
value?: string[];
|
|
226
|
-
/** Panels open on first render. */
|
|
227
|
-
defaultValue?: string[];
|
|
228
|
-
onValueChange?: (value: string[]) => void;
|
|
229
|
-
};
|
|
230
|
-
export declare function Accordion({ items, type, value, defaultValue, onValueChange, className, ...props }: AccordionProps): import("react").JSX.Element;
|
|
231
|
-
//#endregion
|
|
232
|
-
//#region src/molecules/Notice/index.d.ts
|
|
233
|
-
type NoticeProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "title"> & {
|
|
234
|
-
variant?: "info" | "success" | "warning" | "danger";
|
|
235
|
-
title?: Renderable;
|
|
236
|
-
children?: Renderable;
|
|
237
|
-
dismissible?: boolean;
|
|
238
|
-
onDismiss?: () => void;
|
|
239
|
-
};
|
|
240
|
-
export declare function Notice({ variant, title, children, dismissible, onDismiss, className, role, ...props }: NoticeProps): import("react").JSX.Element | null;
|
|
241
|
-
//#endregion
|
|
242
|
-
//#region src/molecules/Attachment/index.d.ts
|
|
243
|
-
type AttachmentStatus = "uploading" | "done" | "error";
|
|
244
|
-
type AttachmentFile = {
|
|
245
|
-
id: string;
|
|
246
|
-
name: string;
|
|
247
|
-
size: string;
|
|
248
|
-
status?: AttachmentStatus;
|
|
249
|
-
progress?: number;
|
|
250
|
-
hint?: string;
|
|
251
|
-
href?: string;
|
|
252
|
-
};
|
|
253
|
-
type AttachmentProps = {
|
|
254
|
-
files: AttachmentFile[];
|
|
255
|
-
onRemove?: (id: string) => void;
|
|
256
|
-
ariaLabel?: string;
|
|
257
|
-
className?: string;
|
|
258
|
-
};
|
|
259
|
-
/** Exit delay that lets the leave transition run before the row unmounts. */
|
|
260
|
-
export declare function Attachment({ files, onRemove, ariaLabel, className }: AttachmentProps): import("react").JSX.Element;
|
|
261
|
-
//#endregion
|
|
262
|
-
//#region src/molecules/AvatarGroup/index.d.ts
|
|
263
|
-
type AvatarGroupItem = Pick<AvatarProps, "src" | "name" | "status">;
|
|
264
|
-
type AvatarGroupProps = Omit<HTMLAttributes<HTMLSpanElement>, "children"> & {
|
|
265
|
-
avatars: AvatarGroupItem[];
|
|
266
|
-
/** Avatars shown before collapsing the rest into a `+N` chip. */
|
|
267
|
-
max?: number;
|
|
268
|
-
size?: ControlSize;
|
|
269
|
-
};
|
|
270
|
-
export declare function AvatarGroup({ avatars, max, size, className, ...props }: AvatarGroupProps): import("react").JSX.Element;
|
|
271
|
-
//#endregion
|
|
272
|
-
//#region src/molecules/Breadcrumb/index.d.ts
|
|
273
|
-
type BreadcrumbItem = {
|
|
274
|
-
label: Renderable;
|
|
275
|
-
/** Renders the crumb as a link. Wins over `onClick`. */
|
|
276
|
-
href?: string;
|
|
277
|
-
/** Renders the crumb as a button when there is no `href`. */
|
|
278
|
-
onClick?: () => void;
|
|
279
|
-
/** Leading icon shown before the label. */
|
|
280
|
-
icon?: Renderable;
|
|
281
|
-
};
|
|
282
|
-
type BreadcrumbProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
283
|
-
items: BreadcrumbItem[];
|
|
284
|
-
/** Separator drawn between crumbs. Defaults to a caret. */
|
|
285
|
-
separator?: Renderable;
|
|
286
|
-
/** Accessible name for the navigation landmark. */
|
|
287
|
-
label?: string;
|
|
288
|
-
};
|
|
289
|
-
export declare function Breadcrumb({ items, separator, label, className, ...props }: BreadcrumbProps): import("react").JSX.Element;
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region src/molecules/Calendar/index.d.ts
|
|
292
|
-
type CalendarRange = {
|
|
293
|
-
start: string | null;
|
|
294
|
-
end: string | null;
|
|
295
|
-
};
|
|
296
|
-
type CalendarProps = {
|
|
297
|
-
/** Selected day as `YYYY-MM-DD`. */
|
|
298
|
-
value?: string;
|
|
299
|
-
onValueChange?: (value: string) => void;
|
|
300
|
-
/** Displayed month as `YYYY-MM`. Uncontrolled pages keep their own state. */
|
|
301
|
-
month?: string;
|
|
302
|
-
onMonthChange?: (month: string) => void;
|
|
303
|
-
/** Earliest / latest selectable day (inclusive), as `YYYY-MM-DD`. */
|
|
304
|
-
min?: string;
|
|
305
|
-
max?: string;
|
|
306
|
-
/** First weekday: 0 = Sunday, 1 = Monday. Defaults to Monday. */
|
|
307
|
-
weekStartsOn?: 0 | 1;
|
|
308
|
-
mode?: "single" | "range";
|
|
309
|
-
range?: CalendarRange;
|
|
310
|
-
defaultRange?: CalendarRange;
|
|
311
|
-
onRangeChange?: (range: CalendarRange) => void;
|
|
312
|
-
months?: 1 | 2;
|
|
313
|
-
ariaLabel?: string;
|
|
314
|
-
className?: string;
|
|
315
|
-
};
|
|
316
|
-
export declare function Calendar({ value, onValueChange, month, onMonthChange, min, max, weekStartsOn, mode, range, defaultRange, onRangeChange, months, ariaLabel, className }: CalendarProps): import("react").JSX.Element;
|
|
317
|
-
//#endregion
|
|
318
|
-
//#region src/molecules/Card/index.d.ts
|
|
319
|
-
type CardProps = Omit<HTMLAttributes<HTMLElement>, "children" | "title"> & {
|
|
320
|
-
title?: Renderable;
|
|
321
|
-
description?: Renderable;
|
|
322
|
-
header?: Renderable;
|
|
323
|
-
footer?: Renderable;
|
|
324
|
-
children?: Renderable;
|
|
325
|
-
interactive?: boolean;
|
|
326
|
-
selected?: boolean;
|
|
327
|
-
};
|
|
328
|
-
export declare function Card({ title, description, header, footer, children, interactive, selected, className, ...props }: CardProps): import("react").JSX.Element;
|
|
329
|
-
//#endregion
|
|
330
|
-
//#region src/molecules/Collapsible/index.d.ts
|
|
331
|
-
type CollapsibleProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
332
|
-
trigger: Renderable;
|
|
333
|
-
children?: Renderable;
|
|
334
|
-
open?: boolean;
|
|
335
|
-
defaultOpen?: boolean;
|
|
336
|
-
onOpenChange?: (open: boolean) => void;
|
|
337
|
-
disabled?: boolean;
|
|
338
|
-
};
|
|
339
|
-
export declare function Collapsible({ trigger, children, open, defaultOpen, onOpenChange, disabled, className, ...props }: CollapsibleProps): import("react").JSX.Element;
|
|
340
|
-
//#endregion
|
|
341
|
-
//#region src/molecules/Combobox/index.d.ts
|
|
342
|
-
type ComboboxOption = {
|
|
343
|
-
value: string;
|
|
344
|
-
label: Renderable;
|
|
345
|
-
disabled?: boolean;
|
|
346
|
-
/** Groups options under a heading; ungrouped options come first. */
|
|
347
|
-
group?: string;
|
|
348
|
-
/** Extra terms matched by the filter but never highlighted. */
|
|
349
|
-
keywords?: string;
|
|
350
|
-
};
|
|
351
|
-
type ComboboxProps = {
|
|
352
|
-
options: ComboboxOption[];
|
|
353
|
-
/** Single-select value. Omit it and pass `values` for multi-select. */
|
|
354
|
-
value?: string;
|
|
355
|
-
/** Multi-select values; selecting keeps the popup open. */
|
|
356
|
-
values?: string[];
|
|
357
|
-
onValueChange?: (value: string) => void;
|
|
358
|
-
onValuesChange?: (values: string[]) => void;
|
|
359
|
-
placeholder?: Renderable;
|
|
360
|
-
searchPlaceholder?: string;
|
|
361
|
-
emptyMessage?: Renderable;
|
|
362
|
-
disabled?: boolean;
|
|
363
|
-
size?: ControlSize;
|
|
364
|
-
id?: string;
|
|
365
|
-
ariaLabel?: string;
|
|
366
|
-
className?: string;
|
|
367
|
-
};
|
|
368
|
-
export declare function Combobox({ options, value, values, onValueChange, onValuesChange, placeholder, searchPlaceholder, emptyMessage, disabled, size, id, ariaLabel, className }: ComboboxProps): import("react").JSX.Element;
|
|
369
|
-
//#endregion
|
|
370
|
-
//#region src/molecules/Menu/MenuContent.d.ts
|
|
371
|
-
type MenuItem = {
|
|
372
|
-
value?: string;
|
|
373
|
-
label?: Renderable;
|
|
374
|
-
icon?: Renderable;
|
|
375
|
-
shortcut?: Renderable;
|
|
376
|
-
disabled?: boolean;
|
|
377
|
-
danger?: boolean;
|
|
378
|
-
separator?: boolean;
|
|
379
|
-
};
|
|
380
|
-
//#endregion
|
|
381
|
-
//#region src/molecules/ContextMenu/index.d.ts
|
|
382
|
-
type ContextMenuProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "onContextMenu" | "onSelect"> & {
|
|
383
|
-
children: Renderable;
|
|
384
|
-
items: MenuItem[];
|
|
385
|
-
onSelect?: (value: string) => void;
|
|
386
|
-
disabled?: boolean;
|
|
387
|
-
label?: string;
|
|
388
|
-
};
|
|
389
|
-
/**
|
|
390
|
-
* A menu that opens under the pointer: right-click (or the ContextMenu key)
|
|
391
|
-
* on the surface, the popup clamps itself to the viewport and hands focus to
|
|
392
|
-
* its first item. Escape and selection return focus to the surface.
|
|
393
|
-
*/
|
|
394
|
-
export declare function ContextMenu({ children, items, onSelect, disabled, label, className, ...props }: ContextMenuProps): import("react").JSX.Element;
|
|
395
|
-
//#endregion
|
|
396
|
-
//#region src/molecules/Dialog/index.d.ts
|
|
397
|
-
type DialogProps = {
|
|
398
|
-
open: boolean;
|
|
399
|
-
onClose: () => void;
|
|
400
|
-
title: Renderable;
|
|
401
|
-
description?: Renderable;
|
|
402
|
-
children?: Renderable;
|
|
403
|
-
footer?: Renderable;
|
|
404
|
-
closeLabel?: string;
|
|
405
|
-
closeOnOverlayClick?: boolean;
|
|
406
|
-
closeOnEscape?: boolean;
|
|
407
|
-
initialFocus?: () => HTMLElement | null;
|
|
408
|
-
returnFocus?: boolean | (() => HTMLElement | null);
|
|
409
|
-
scope?: "page" | "local";
|
|
410
|
-
className?: string;
|
|
411
|
-
};
|
|
412
|
-
export declare function Dialog({ open, onClose, title, description, children, footer, closeLabel, closeOnOverlayClick, closeOnEscape, initialFocus, returnFocus, scope, className }: DialogProps): import("react").JSX.Element | null;
|
|
413
|
-
//#endregion
|
|
414
|
-
//#region src/molecules/Drawer/index.d.ts
|
|
415
|
-
type DrawerSide = "left" | "right" | "bottom";
|
|
416
|
-
type DrawerProps = {
|
|
417
|
-
open: boolean;
|
|
418
|
-
onClose: () => void;
|
|
419
|
-
title: Renderable;
|
|
420
|
-
description?: Renderable;
|
|
421
|
-
children?: Renderable;
|
|
422
|
-
footer?: Renderable;
|
|
423
|
-
side?: DrawerSide;
|
|
424
|
-
size?: "sm" | "md" | "lg";
|
|
425
|
-
closeLabel?: string;
|
|
426
|
-
closeOnOverlayClick?: boolean;
|
|
427
|
-
closeOnEscape?: boolean;
|
|
428
|
-
initialFocus?: () => HTMLElement | null;
|
|
429
|
-
returnFocus?: boolean | (() => HTMLElement | null);
|
|
430
|
-
/** Page modal by default; local previews only cover their positioned scope. */
|
|
431
|
-
scope?: "page" | "local";
|
|
432
|
-
className?: string;
|
|
433
|
-
};
|
|
434
|
-
export declare function Drawer({ open, onClose, title, description, children, footer, side, size, closeLabel, closeOnOverlayClick, closeOnEscape, initialFocus, returnFocus, scope, className }: DrawerProps): import("react").JSX.Element | null;
|
|
435
|
-
//#endregion
|
|
436
|
-
//#region src/molecules/FieldMessage/index.d.ts
|
|
437
|
-
type FieldMessageProps = Omit<HTMLAttributes<HTMLParagraphElement>, "children"> & {
|
|
438
|
-
variant?: "hint" | "error" | "success";
|
|
439
|
-
children?: Renderable;
|
|
440
|
-
};
|
|
441
|
-
export declare function FieldMessage({ variant, className, children, ...props }: FieldMessageProps): import("react").JSX.Element | null;
|
|
442
|
-
//#endregion
|
|
443
|
-
//#region src/molecules/Field/index.d.ts
|
|
444
|
-
type FieldProps = {
|
|
445
|
-
label?: Renderable;
|
|
446
|
-
htmlFor?: string;
|
|
447
|
-
description?: Renderable;
|
|
448
|
-
message?: Renderable;
|
|
449
|
-
messageType?: FieldMessageProps["variant"];
|
|
450
|
-
required?: boolean;
|
|
451
|
-
className?: string;
|
|
452
|
-
children?: Renderable;
|
|
453
|
-
};
|
|
454
|
-
export declare function Field({ label, htmlFor, description, message, messageType, required, className, children }: FieldProps): import("react").JSX.Element;
|
|
455
|
-
//#endregion
|
|
456
|
-
//#region src/lib/overlay.d.ts
|
|
457
|
-
type OverlaySide = "top" | "bottom" | "left" | "right";
|
|
458
|
-
//#endregion
|
|
459
|
-
//#region src/molecules/HoverCard/index.d.ts
|
|
460
|
-
type HoverCardProps = {
|
|
461
|
-
trigger: Renderable;
|
|
462
|
-
children: Renderable;
|
|
463
|
-
/** Grace before opening, so passing the trigger never flickers. */
|
|
464
|
-
openDelay?: number;
|
|
465
|
-
/** Grace before closing, so the pointer can travel into the card. */
|
|
466
|
-
closeDelay?: number;
|
|
467
|
-
placement?: OverlaySide;
|
|
468
|
-
ariaLabel?: string;
|
|
469
|
-
asChild?: boolean;
|
|
470
|
-
className?: string;
|
|
471
|
-
};
|
|
472
|
-
export declare function HoverCard({ trigger, children, openDelay, closeDelay, placement, ariaLabel, asChild, className }: HoverCardProps): import("react").JSX.Element;
|
|
473
|
-
//#endregion
|
|
474
|
-
//#region src/molecules/Menu/index.d.ts
|
|
475
|
-
type MenuProps = {
|
|
476
|
-
trigger: Renderable;
|
|
477
|
-
items: MenuItem[];
|
|
478
|
-
onSelect?: (value: string) => void;
|
|
479
|
-
/** Controlled open state. */
|
|
480
|
-
open?: boolean;
|
|
481
|
-
/** Fires whenever the menu asks to open or close. */
|
|
482
|
-
onOpenChange?: (open: boolean) => void;
|
|
483
|
-
label?: string;
|
|
484
|
-
align?: "start" | "end";
|
|
485
|
-
disabled?: boolean;
|
|
486
|
-
asChild?: boolean;
|
|
487
|
-
className?: string;
|
|
488
|
-
};
|
|
489
|
-
export declare function Menu({ trigger, items, onSelect, label, align, open: openProp, onOpenChange, disabled, asChild, className }: MenuProps): import("react").JSX.Element;
|
|
490
|
-
//#endregion
|
|
491
|
-
//#region src/molecules/OTPInput/index.d.ts
|
|
492
|
-
type OTPPattern = "numeric" | "alphanumeric" | RegExp;
|
|
493
|
-
type OTPState = "idle" | "verifying" | "success" | "error";
|
|
494
|
-
type OTPInputProps = {
|
|
495
|
-
/** The full code, owned by the parent. */
|
|
496
|
-
value: string;
|
|
497
|
-
onChange?: (value: string) => void;
|
|
498
|
-
/** Fires once when the last cell fills. */
|
|
499
|
-
onComplete?: (value: string) => void;
|
|
500
|
-
/** Number of cells. Defaults to 6. */
|
|
501
|
-
length?: number;
|
|
502
|
-
groups?: number[];
|
|
503
|
-
pattern?: OTPPattern;
|
|
504
|
-
state?: OTPState;
|
|
505
|
-
placeholder?: string;
|
|
506
|
-
clearOnError?: boolean;
|
|
507
|
-
disabled?: boolean;
|
|
508
|
-
invalid?: boolean;
|
|
509
|
-
autoFocus?: boolean;
|
|
510
|
-
ariaLabel?: string;
|
|
511
|
-
id?: string;
|
|
512
|
-
name?: string;
|
|
513
|
-
"aria-describedby"?: string;
|
|
514
|
-
className?: string;
|
|
515
|
-
};
|
|
516
|
-
export declare function OTPInput({ value, onChange, onComplete, length, groups, pattern, state, placeholder, clearOnError, disabled, invalid, autoFocus, ariaLabel, id, name, "aria-describedby": describedBy, className }: OTPInputProps): import("react").JSX.Element;
|
|
517
|
-
//#endregion
|
|
518
|
-
//#region src/molecules/Pagination/index.d.ts
|
|
519
|
-
type PaginationProps = Omit<HTMLAttributes<HTMLElement>, "onChange"> & {
|
|
520
|
-
/** Current page, 1-based. */
|
|
521
|
-
page: number;
|
|
522
|
-
pageCount: number;
|
|
523
|
-
onPageChange?: (page: number) => void;
|
|
524
|
-
/** Numbers shown either side of the current page. Default 1. */
|
|
525
|
-
siblings?: number;
|
|
526
|
-
/** Readout drawn on the right: "1–20 of 340". */
|
|
527
|
-
status?: Renderable;
|
|
528
|
-
/** Accessible name for the nav landmark. */
|
|
529
|
-
label?: string;
|
|
530
|
-
};
|
|
531
|
-
export declare function Pagination({ page, pageCount, onPageChange, siblings, status, label, className, ...props }: PaginationProps): import("react").JSX.Element | null;
|
|
532
|
-
//#endregion
|
|
533
|
-
//#region src/molecules/Popover/index.d.ts
|
|
534
|
-
type PopoverProps = {
|
|
535
|
-
trigger: Renderable;
|
|
536
|
-
children: Renderable;
|
|
537
|
-
open?: boolean;
|
|
538
|
-
defaultOpen?: boolean;
|
|
539
|
-
onOpenChange?: (open: boolean) => void;
|
|
540
|
-
ariaLabel?: string;
|
|
541
|
-
placement?: "start" | "end";
|
|
542
|
-
disabled?: boolean;
|
|
543
|
-
asChild?: boolean;
|
|
544
|
-
className?: string;
|
|
545
|
-
};
|
|
546
|
-
export declare function Popover({ trigger, children, open, defaultOpen, onOpenChange, ariaLabel, placement, disabled, asChild, className }: PopoverProps): import("react").JSX.Element;
|
|
547
|
-
//#endregion
|
|
548
|
-
//#region src/molecules/QuestionCard/index.d.ts
|
|
549
|
-
type QuestionOption = {
|
|
550
|
-
value: string;
|
|
551
|
-
label: Renderable;
|
|
552
|
-
/** Secondary line under the label. */
|
|
553
|
-
hint?: Renderable;
|
|
554
|
-
disabled?: boolean;
|
|
555
|
-
};
|
|
556
|
-
type QuestionCardProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "value" | "defaultValue"> & {
|
|
557
|
-
question: Renderable;
|
|
558
|
-
/** Helper line under the question. */
|
|
559
|
-
description?: Renderable;
|
|
560
|
-
options: QuestionOption[];
|
|
561
|
-
/** Controlled selected option. */
|
|
562
|
-
value?: string;
|
|
563
|
-
/** Selected option on first render. */
|
|
564
|
-
defaultValue?: string;
|
|
565
|
-
onValueChange?: (value: string) => void;
|
|
566
|
-
/** Correct option. Setting it locks the card and shows the verdict. */
|
|
567
|
-
answer?: string;
|
|
568
|
-
/** Row under the options: submit buttons, hints, score. */
|
|
569
|
-
footer?: Renderable;
|
|
570
|
-
disabled?: boolean;
|
|
571
|
-
};
|
|
572
|
-
export declare function QuestionCard({ question, description, options, value, defaultValue, onValueChange, answer, footer, disabled, className, ...props }: QuestionCardProps): import("react").JSX.Element;
|
|
573
|
-
//#endregion
|
|
574
|
-
//#region src/molecules/RadioGroup/index.d.ts
|
|
575
|
-
type RadioOption = {
|
|
576
|
-
value: string;
|
|
577
|
-
label: Renderable;
|
|
578
|
-
description?: Renderable;
|
|
579
|
-
disabled?: boolean;
|
|
580
|
-
};
|
|
581
|
-
type RadioGroupProps = {
|
|
582
|
-
value: string;
|
|
583
|
-
options: RadioOption[];
|
|
584
|
-
onValueChange: (value: string) => void;
|
|
585
|
-
name: string;
|
|
586
|
-
label?: Renderable;
|
|
587
|
-
description?: Renderable;
|
|
588
|
-
size?: ControlSize;
|
|
589
|
-
orientation?: "horizontal" | "vertical";
|
|
590
|
-
disabled?: boolean;
|
|
591
|
-
className?: string;
|
|
592
|
-
};
|
|
593
|
-
export declare function RadioGroup({ value, options, onValueChange, name, label, description, size, orientation, disabled, className }: RadioGroupProps): import("react").JSX.Element;
|
|
594
|
-
//#endregion
|
|
595
|
-
//#region src/molecules/Reveal/index.d.ts
|
|
596
|
-
type RevealProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
597
|
-
children: Renderable;
|
|
598
|
-
trigger?: "mount" | "scroll";
|
|
599
|
-
direction?: "up" | "down" | "left" | "right" | "none";
|
|
600
|
-
distance?: number;
|
|
601
|
-
delay?: number;
|
|
602
|
-
speed?: MotionSpeed;
|
|
603
|
-
once?: boolean;
|
|
604
|
-
};
|
|
605
|
-
export declare function Reveal({ children, trigger, direction, distance, delay, speed, once, className, style, ...props }: RevealProps): import("react").JSX.Element;
|
|
606
|
-
//#endregion
|
|
607
|
-
//#region src/molecules/Select/index.d.ts
|
|
608
|
-
type SelectOption = {
|
|
609
|
-
value: string;
|
|
610
|
-
label: Renderable;
|
|
611
|
-
disabled?: boolean;
|
|
612
|
-
};
|
|
613
|
-
type SelectProps = {
|
|
614
|
-
value: string;
|
|
615
|
-
options: SelectOption[];
|
|
616
|
-
onValueChange: (value: string) => void;
|
|
617
|
-
id?: string;
|
|
618
|
-
className?: string;
|
|
619
|
-
placeholder?: Renderable;
|
|
620
|
-
ariaLabel?: string;
|
|
621
|
-
ariaLabelledBy?: string;
|
|
622
|
-
disabled?: boolean;
|
|
623
|
-
size?: ControlSize;
|
|
624
|
-
};
|
|
625
|
-
export declare function Select({ value, options, onValueChange, id, className, placeholder, ariaLabel, ariaLabelledBy, disabled, size }: SelectProps): import("react").JSX.Element;
|
|
626
|
-
//#endregion
|
|
627
|
-
//#region src/molecules/Stat/index.d.ts
|
|
628
|
-
type StatProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
629
|
-
label: Renderable;
|
|
630
|
-
value: Renderable;
|
|
631
|
-
hint?: Renderable;
|
|
632
|
-
};
|
|
633
|
-
export declare function Stat({ label, value, hint, className, ...props }: StatProps): import("react").JSX.Element;
|
|
634
|
-
type StatGroupProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
635
|
-
children: Renderable;
|
|
636
|
-
columns?: number;
|
|
637
|
-
};
|
|
638
|
-
export declare function StatGroup({ children, columns, className, style, ...props }: StatGroupProps): import("react").JSX.Element;
|
|
639
|
-
type DeltaProps = Omit<HTMLAttributes<HTMLSpanElement>, "children" | "title"> & {
|
|
640
|
-
value: number;
|
|
641
|
-
format?: (value: number) => string;
|
|
642
|
-
};
|
|
643
|
-
export declare function Delta({ value, format, className, ...props }: DeltaProps): import("react").JSX.Element;
|
|
644
|
-
//#endregion
|
|
645
|
-
//#region src/molecules/Tabs/index.d.ts
|
|
646
|
-
type TabItem = {
|
|
647
|
-
value: string;
|
|
648
|
-
label: Renderable;
|
|
649
|
-
disabled?: boolean;
|
|
650
|
-
content?: Renderable;
|
|
651
|
-
};
|
|
652
|
-
type TabsProps = {
|
|
653
|
-
items: TabItem[];
|
|
654
|
-
value?: string;
|
|
655
|
-
defaultValue?: string;
|
|
656
|
-
onValueChange?: (value: string) => void;
|
|
657
|
-
children?: Renderable;
|
|
658
|
-
ariaLabel?: string;
|
|
659
|
-
orientation?: "horizontal" | "vertical";
|
|
660
|
-
className?: string;
|
|
661
|
-
};
|
|
662
|
-
export declare function Tabs({ items, value, defaultValue, onValueChange, children, ariaLabel, orientation, className }: TabsProps): import("react").JSX.Element;
|
|
663
|
-
//#endregion
|
|
664
|
-
//#region src/molecules/TaskList/index.d.ts
|
|
665
|
-
type TaskState = "todo" | "doing" | "done";
|
|
666
|
-
type TaskListItem = {
|
|
667
|
-
/** Stable id reported back through `onStateChange`. */
|
|
668
|
-
id: string;
|
|
669
|
-
label: Renderable;
|
|
670
|
-
state?: TaskState;
|
|
671
|
-
/** Trailing meta: due date, assignee, counters. */
|
|
672
|
-
meta?: Renderable;
|
|
673
|
-
disabled?: boolean;
|
|
674
|
-
};
|
|
675
|
-
type TaskListProps = Omit<HTMLAttributes<HTMLUListElement>, "children" | "onChange"> & {
|
|
676
|
-
items: TaskListItem[];
|
|
677
|
-
/**
|
|
678
|
-
* Fires with the next state when a row's check is pressed:
|
|
679
|
-
* todo → doing → done → todo.
|
|
680
|
-
*/
|
|
681
|
-
onStateChange?: (id: string, state: TaskState) => void;
|
|
682
|
-
/** Accessible name for the list. */
|
|
683
|
-
label?: string;
|
|
684
|
-
};
|
|
685
|
-
export declare function TaskList({ items, onStateChange, label, className, ...props }: TaskListProps): import("react").JSX.Element;
|
|
686
|
-
//#endregion
|
|
687
|
-
//#region src/molecules/Timeline/index.d.ts
|
|
688
|
-
type TimelineItem = {
|
|
689
|
-
/** Event title. */
|
|
690
|
-
title: Renderable;
|
|
691
|
-
/** Body rendered under the head. */
|
|
692
|
-
children?: Renderable;
|
|
693
|
-
/** Right-aligned time or meta. */
|
|
694
|
-
timestamp?: Renderable;
|
|
695
|
-
/** Leading icon in place of the default dot. */
|
|
696
|
-
icon?: Renderable;
|
|
697
|
-
tone?: "default" | "accent" | "success" | "danger";
|
|
698
|
-
/** Marks the latest event: its marker keeps breathing. */
|
|
699
|
-
current?: boolean;
|
|
700
|
-
};
|
|
701
|
-
type TimelineProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
702
|
-
items: TimelineItem[];
|
|
703
|
-
/** Accessible name for the list. */
|
|
704
|
-
label?: string;
|
|
705
|
-
};
|
|
706
|
-
export declare function Timeline({ items, label, className, ...props }: TimelineProps): import("react").JSX.Element;
|
|
707
|
-
//#endregion
|
|
708
|
-
//#region src/molecules/TreeView/index.d.ts
|
|
709
|
-
type TreeItem = {
|
|
710
|
-
value: string;
|
|
711
|
-
label: Renderable;
|
|
712
|
-
children?: TreeItem[];
|
|
713
|
-
disabled?: boolean;
|
|
714
|
-
};
|
|
715
|
-
type TreeViewProps = Omit<HTMLAttributes<HTMLUListElement>, "children" | "defaultValue" | "onSelect"> & {
|
|
716
|
-
items: TreeItem[];
|
|
717
|
-
/** Accessible name for the tree. */
|
|
718
|
-
label: string;
|
|
719
|
-
/** Branch values open on first render. */
|
|
720
|
-
defaultExpanded?: string[];
|
|
721
|
-
/** Selected item value; omit to let the tree manage it. */
|
|
722
|
-
selected?: string;
|
|
723
|
-
defaultSelected?: string;
|
|
724
|
-
onSelect?: (value: string) => void;
|
|
725
|
-
};
|
|
726
|
-
export declare function TreeView({ items, label, defaultExpanded, selected, defaultSelected, onSelect, className, ...props }: TreeViewProps): import("react").JSX.Element;
|
|
727
|
-
//#endregion
|
|
728
|
-
//#region src/molecules/Carousel/index.d.ts
|
|
729
|
-
/** The slide a key press moves to, or undefined if the key does nothing. Slides wrap at both ends. */
|
|
730
|
-
export declare function slideAfter(current: number, count: number, key: string): number | undefined;
|
|
731
|
-
type CarouselProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
732
|
-
slides: Renderable[];
|
|
733
|
-
/** Accessible name of the carousel, such as Release notes. */
|
|
734
|
-
label: string;
|
|
735
|
-
/** Index of the visible slide. Omit it to let the carousel keep its own. */
|
|
736
|
-
index?: number;
|
|
737
|
-
defaultIndex?: number;
|
|
738
|
-
onIndexChange?: (index: number) => void;
|
|
739
|
-
};
|
|
740
|
-
export declare function Carousel({ slides, label, index, defaultIndex, onIndexChange, className, ...props }: CarouselProps): import("react").JSX.Element;
|
|
741
|
-
//#endregion
|
|
742
|
-
//#region src/molecules/DateRangeField/index.d.ts
|
|
743
|
-
/** Day, month and year text for a `YYYY-MM-DD` value, or blanks. */
|
|
744
|
-
export declare function segmentsOf(day: string | null): string[];
|
|
745
|
-
/** The `YYYY-MM-DD` value when all three segments form a real date. */
|
|
746
|
-
export declare function dayFromSegments(parts: string[]): string | null;
|
|
747
|
-
/**
|
|
748
|
-
* Types one digit into a segment. A segment advances once it is full, or
|
|
749
|
-
* when a lone first digit cannot start a longer value (4 to 9 for days,
|
|
750
|
-
* 2 to 9 for months).
|
|
751
|
-
*/
|
|
752
|
-
export declare function typeSegment(parts: string[], part: number, digit: string): {
|
|
753
|
-
parts: string[];
|
|
754
|
-
advance: boolean;
|
|
755
|
-
};
|
|
756
|
-
/**
|
|
757
|
-
* Steps one segment up or down. Days and months wrap, years move by one, and
|
|
758
|
-
* the day is clamped to the length of the resulting month. Blank parts start
|
|
759
|
-
* from the first day, January, or this year.
|
|
760
|
-
*/
|
|
761
|
-
export declare function stepSegment(parts: string[], part: number, delta: number, today?: Date): string[];
|
|
762
|
-
/** Keeps the earlier date first, the way Calendar orders a picked range. */
|
|
763
|
-
export declare function orderRange(range: CalendarRange): CalendarRange;
|
|
764
|
-
type DateRangeFieldProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "defaultValue"> & {
|
|
765
|
-
/** Selected start and end as `YYYY-MM-DD`. Omit it to let the field keep its own. */
|
|
766
|
-
range?: CalendarRange;
|
|
767
|
-
defaultRange?: CalendarRange;
|
|
768
|
-
onRangeChange?: (range: CalendarRange) => void;
|
|
769
|
-
/** Earliest / latest selectable day (inclusive), as `YYYY-MM-DD`. */
|
|
770
|
-
min?: string;
|
|
771
|
-
max?: string;
|
|
772
|
-
/** Accessible name of the field, such as Stay dates. */
|
|
773
|
-
label: string;
|
|
774
|
-
/**
|
|
775
|
-
* How the endpoints are boxed. `split` gives each date and the calendar
|
|
776
|
-
* trigger their own control; `unified` keeps all of it inside one field.
|
|
777
|
-
* Default: split.
|
|
778
|
-
*/
|
|
779
|
-
layout?: "split" | "unified";
|
|
780
|
-
};
|
|
781
|
-
export declare function DateRangeField({ range, defaultRange, onRangeChange, min, max, label, layout, className, ...props }: DateRangeFieldProps): import("react").JSX.Element;
|
|
782
|
-
//#endregion
|
|
783
|
-
//#region src/molecules/Toast/index.d.ts
|
|
784
|
-
type ToastProps = {
|
|
785
|
-
open?: boolean;
|
|
786
|
-
id?: string | number;
|
|
787
|
-
title: Renderable;
|
|
788
|
-
description?: Renderable;
|
|
789
|
-
variant?: "neutral" | "success" | "warning" | "danger";
|
|
790
|
-
action?: ExternalToast["action"];
|
|
791
|
-
duration?: number;
|
|
792
|
-
closeButton?: boolean;
|
|
793
|
-
className?: string;
|
|
794
|
-
};
|
|
795
|
-
export declare function Toast({ open, id, title, description, variant, action, duration, closeButton, className }: ToastProps): null;
|
|
796
|
-
type ToastViewportProps = Omit<ToasterProps, "className" | "containerAriaLabel" | "icons" | "toastOptions"> & {
|
|
797
|
-
label?: string;
|
|
798
|
-
className?: string;
|
|
799
|
-
toastOptions?: ToasterProps["toastOptions"];
|
|
800
|
-
};
|
|
801
|
-
export declare function ToastViewport({ label, className, toastOptions, theme, position, closeButton, expand, ...props }: ToastViewportProps): import("react").JSX.Element;
|
|
802
|
-
//#endregion
|
|
803
|
-
//#region src/molecules/Toolbar/index.d.ts
|
|
804
|
-
type ToolbarProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
805
|
-
label?: string;
|
|
806
|
-
orientation?: "horizontal" | "vertical";
|
|
807
|
-
size?: ControlSize;
|
|
808
|
-
start?: Renderable;
|
|
809
|
-
end?: Renderable;
|
|
810
|
-
children?: Renderable;
|
|
811
|
-
};
|
|
812
|
-
export declare function Toolbar({ label, orientation, size, start, end, children, className, ...props }: ToolbarProps): import("react").JSX.Element;
|
|
813
|
-
//#endregion
|
|
814
|
-
//#region src/molecules/Tooltip/index.d.ts
|
|
815
|
-
type TooltipProps = {
|
|
816
|
-
content: Renderable;
|
|
817
|
-
children: Renderable;
|
|
818
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
819
|
-
delay?: number;
|
|
820
|
-
disabled?: boolean;
|
|
821
|
-
className?: string;
|
|
822
|
-
};
|
|
823
|
-
type TooltipGroupProps = {
|
|
824
|
-
delay?: number;
|
|
825
|
-
skipDelay?: number;
|
|
826
|
-
children?: Renderable;
|
|
827
|
-
};
|
|
828
|
-
export declare function TooltipGroup({ delay, skipDelay, children }: TooltipGroupProps): import("react").JSX.Element;
|
|
829
|
-
export declare function Tooltip({ content, children, side, delay, disabled, className }: TooltipProps): import("react").JSX.Element;
|
|
830
|
-
//#endregion
|
|
831
|
-
//#region src/organisms/Chart/index.d.ts
|
|
832
|
-
type ChartSeries = {
|
|
833
|
-
name: string;
|
|
834
|
-
/** One entry per category; `null` breaks the line into segments. */
|
|
835
|
-
values: (number | null)[];
|
|
836
|
-
tone?: "accent" | "success" | "danger" | "muted";
|
|
837
|
-
};
|
|
838
|
-
type ChartProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
839
|
-
/** Labels along the x-axis. */
|
|
840
|
-
categories: string[];
|
|
841
|
-
series: ChartSeries[];
|
|
842
|
-
/** Marks drawn on the plot. Default "line". */
|
|
843
|
-
variant?: "line" | "bar" | "area";
|
|
844
|
-
/** Plot height in pixels. Default 160. */
|
|
845
|
-
height?: number;
|
|
846
|
-
/** Curve the line (Catmull-Rom). Default false. */
|
|
847
|
-
smooth?: boolean;
|
|
848
|
-
/** Target y-axis ticks; nice numbers win. Default 4. */
|
|
849
|
-
ticks?: number;
|
|
850
|
-
/** Formats axis and tooltip values. Trims decimals by default. */
|
|
851
|
-
format?: (value: number) => string;
|
|
852
|
-
/** Show the legend. Defaults to shown for more than one series. */
|
|
853
|
-
legend?: boolean;
|
|
854
|
-
/** Accessible summary for the plot. */
|
|
855
|
-
label?: string;
|
|
856
|
-
};
|
|
857
|
-
export declare function Chart({ categories, series, variant, height, smooth, ticks, format, legend, label, className, ...props }: ChartProps): import("react").JSX.Element;
|
|
858
|
-
//#endregion
|
|
859
|
-
//#region src/organisms/CommandPalette/index.d.ts
|
|
860
|
-
type CommandItem = {
|
|
861
|
-
id?: string;
|
|
862
|
-
label: Renderable;
|
|
863
|
-
value?: string;
|
|
864
|
-
icon?: Renderable;
|
|
865
|
-
group?: string;
|
|
866
|
-
hint?: Renderable;
|
|
867
|
-
badge?: Renderable;
|
|
868
|
-
shortcut?: string[];
|
|
869
|
-
keywords?: string;
|
|
870
|
-
disabled?: boolean;
|
|
871
|
-
children?: CommandItem[];
|
|
872
|
-
};
|
|
873
|
-
type CommandPaletteProps = {
|
|
874
|
-
open: boolean;
|
|
875
|
-
onOpenChange: (open: boolean) => void;
|
|
876
|
-
items: CommandItem[];
|
|
877
|
-
onSelect?: (item: CommandItem) => void;
|
|
878
|
-
placeholder?: string;
|
|
879
|
-
emptyMessage?: Renderable;
|
|
880
|
-
homeLabel?: string;
|
|
881
|
-
ariaLabel?: string;
|
|
882
|
-
hotkey?: boolean;
|
|
883
|
-
className?: string;
|
|
884
|
-
filter?: (item: CommandItem, query: string) => boolean;
|
|
885
|
-
};
|
|
886
|
-
export declare function CommandPalette({ open, onOpenChange, items, onSelect, placeholder, emptyMessage, homeLabel, ariaLabel, hotkey, className, filter }: CommandPaletteProps): import("react").ReactPortal | null;
|
|
887
|
-
//#endregion
|
|
888
|
-
//#region src/organisms/EmptyState/index.d.ts
|
|
889
|
-
type EmptyStateProps = Omit<HTMLAttributes<HTMLElement>, "children" | "title"> & {
|
|
890
|
-
title: Renderable;
|
|
891
|
-
description?: Renderable;
|
|
892
|
-
icon?: Renderable;
|
|
893
|
-
action?: Renderable;
|
|
894
|
-
compact?: boolean;
|
|
895
|
-
};
|
|
896
|
-
export declare function EmptyState({ title, description, icon, action, compact, className, ...props }: EmptyStateProps): import("react").JSX.Element;
|
|
897
|
-
//#endregion
|
|
898
|
-
//#region src/organisms/MagneticDropzone/index.d.ts
|
|
899
|
-
type DropzoneRejectReason = "type" | "size" | "count";
|
|
900
|
-
type DropzoneFileLike = {
|
|
901
|
-
name: string;
|
|
902
|
-
type: string;
|
|
903
|
-
size: number;
|
|
904
|
-
};
|
|
905
|
-
type DropzoneValidation = {
|
|
906
|
-
accept?: string;
|
|
907
|
-
multiple?: boolean;
|
|
908
|
-
maxFiles?: number;
|
|
909
|
-
maxSize?: number;
|
|
910
|
-
};
|
|
911
|
-
type DropzoneValidationResult<T extends DropzoneFileLike> = {
|
|
912
|
-
accepted: T[];
|
|
913
|
-
rejected: {
|
|
914
|
-
reason: DropzoneRejectReason;
|
|
915
|
-
files: T[];
|
|
916
|
-
}[];
|
|
917
|
-
};
|
|
918
|
-
type MagneticDropzoneProps = Omit<React.HTMLAttributes<HTMLDivElement>, "onDrop" | "onDragOver" | "children"> & {
|
|
919
|
-
/** Idle content: an icon, instructions, a choose-file button. */
|
|
920
|
-
children?: Renderable;
|
|
921
|
-
/** Replaces `children` while files hover over the zone. */
|
|
922
|
-
activeContent?: Renderable;
|
|
923
|
-
onFiles?: (files: File[]) => void;
|
|
924
|
-
onReject?: (files: File[], reason: DropzoneRejectReason) => void;
|
|
925
|
-
/** Forwarded to the hidden file input, e.g. "image/*,.pdf". */
|
|
926
|
-
accept?: string;
|
|
927
|
-
multiple?: boolean;
|
|
928
|
-
maxFiles?: number;
|
|
929
|
-
maxSize?: number;
|
|
930
|
-
disabled?: boolean;
|
|
931
|
-
label?: string;
|
|
932
|
-
trigger?: "zone" | "children";
|
|
933
|
-
className?: string;
|
|
934
|
-
};
|
|
935
|
-
export declare function validateDropzoneFiles<T extends DropzoneFileLike>(files: readonly T[], { accept, multiple, maxFiles, maxSize }?: DropzoneValidation): DropzoneValidationResult<T>;
|
|
936
|
-
export declare function describeDropzoneResult(result: DropzoneValidationResult<DropzoneFileLike>): string;
|
|
937
|
-
/**
|
|
938
|
-
* A drop zone whose content leans toward the pointer while files hover —
|
|
939
|
-
* the pull is a CSS variable updated on dragover, so the attraction stays
|
|
940
|
-
* cheap and collapses with the motion tokens.
|
|
941
|
-
*/
|
|
942
|
-
export declare function MagneticDropzone({ children, activeContent, onFiles, onReject, accept, multiple, maxFiles, maxSize, disabled, label, trigger, className, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, onPaste, ...props }: MagneticDropzoneProps): import("react").JSX.Element;
|
|
943
|
-
//#endregion
|
|
944
|
-
//#region src/organisms/Menubar/index.d.ts
|
|
945
|
-
type MenubarMenu = {
|
|
946
|
-
/** Accessible name for the menu and its trigger. */
|
|
947
|
-
label: string;
|
|
948
|
-
/** Rich trigger content; falls back to the label. */
|
|
949
|
-
trigger?: Renderable;
|
|
950
|
-
items: MenuItem[];
|
|
951
|
-
disabled?: boolean;
|
|
952
|
-
};
|
|
953
|
-
type MenubarProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "onSelect"> & {
|
|
954
|
-
menus: MenubarMenu[];
|
|
955
|
-
onSelect?: (value: string) => void;
|
|
956
|
-
/** Accessible name for the bar itself. */
|
|
957
|
-
label?: string;
|
|
958
|
-
};
|
|
959
|
-
/**
|
|
960
|
-
* The classic application menu bar. Menus run controlled off a single
|
|
961
|
-
* `openIndex`: hovering a closed bar opens after a short intent delay, an
|
|
962
|
-
* already-open bar slides straight across, and the arrow keys walk the
|
|
963
|
-
* triggers with wrap-around.
|
|
964
|
-
*/
|
|
965
|
-
export declare function Menubar({ menus, onSelect, label, className, ...props }: MenubarProps): import("react").JSX.Element;
|
|
966
|
-
//#endregion
|
|
967
|
-
//#region src/organisms/ReasoningSteps/index.d.ts
|
|
968
|
-
type ReasoningStep = {
|
|
969
|
-
id?: string;
|
|
970
|
-
title: Renderable;
|
|
971
|
-
detail?: Renderable;
|
|
972
|
-
status?: "pending" | "active" | "done";
|
|
973
|
-
};
|
|
974
|
-
type ReasoningStepsProps = {
|
|
975
|
-
steps: ReasoningStep[];
|
|
976
|
-
label?: Renderable;
|
|
977
|
-
open?: boolean;
|
|
978
|
-
defaultOpen?: boolean;
|
|
979
|
-
onOpenChange?: (open: boolean) => void;
|
|
980
|
-
className?: string;
|
|
981
|
-
};
|
|
982
|
-
export declare function ReasoningSteps({ steps, label, open, defaultOpen, onOpenChange, className }: ReasoningStepsProps): import("react").JSX.Element;
|
|
983
|
-
//#endregion
|
|
984
|
-
//#region src/organisms/Resizable/index.d.ts
|
|
985
|
-
type ResizableProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
986
|
-
/** The panes, in visual order. A handle is rendered between each pair. */
|
|
987
|
-
panes: Renderable[];
|
|
988
|
-
direction?: "horizontal" | "vertical";
|
|
989
|
-
/** Controlled pane sizes in percent; they should sum to 100. */
|
|
990
|
-
sizes?: number[];
|
|
991
|
-
defaultSizes?: number[];
|
|
992
|
-
onSizesChange?: (sizes: number[]) => void;
|
|
993
|
-
/** Smallest share a pane may keep, in percent. Default: 10. */
|
|
994
|
-
min?: number;
|
|
995
|
-
handleLabel?: string;
|
|
996
|
-
};
|
|
997
|
-
export declare function Resizable({ panes, direction, sizes, defaultSizes, onSizesChange, min, handleLabel, className, ...props }: ResizableProps): import("react").JSX.Element;
|
|
998
|
-
//#endregion
|
|
999
|
-
//#region src/organisms/SidePanel/index.d.ts
|
|
1000
|
-
type SidePanelSide = "left" | "right";
|
|
1001
|
-
type SidePanelState = {
|
|
1002
|
-
collapsed: boolean;
|
|
1003
|
-
setCollapsed: (collapsed: boolean) => void;
|
|
1004
|
-
toggle: () => void;
|
|
1005
|
-
};
|
|
1006
|
-
type SidePanelProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
1007
|
-
children?: Renderable | ((state: SidePanelState) => Renderable);
|
|
1008
|
-
side?: SidePanelSide;
|
|
1009
|
-
width?: number | string;
|
|
1010
|
-
collapsed?: boolean;
|
|
1011
|
-
defaultCollapsed?: boolean;
|
|
1012
|
-
onCollapsedChange?: (collapsed: boolean) => void;
|
|
1013
|
-
peek?: boolean;
|
|
1014
|
-
};
|
|
1015
|
-
export declare function SidePanel({ children, side, width, collapsed, defaultCollapsed, onCollapsedChange, peek, className, style, ...props }: SidePanelProps): import("react").JSX.Element;
|
|
1016
|
-
//#endregion
|
|
1017
|
-
//#region src/organisms/Sidebar/index.d.ts
|
|
1018
|
-
type SidebarItem = {
|
|
1019
|
-
value: string;
|
|
1020
|
-
label: Renderable;
|
|
1021
|
-
icon?: Renderable;
|
|
1022
|
-
badge?: Renderable;
|
|
1023
|
-
disabled?: boolean;
|
|
1024
|
-
};
|
|
1025
|
-
type SidebarSection = {
|
|
1026
|
-
title?: string;
|
|
1027
|
-
items: SidebarItem[];
|
|
1028
|
-
};
|
|
1029
|
-
type SidebarSide = "left" | "right";
|
|
1030
|
-
type SidebarCollapsedMode = "rail" | "hover" | "hidden";
|
|
1031
|
-
type SidebarProps = Omit<HTMLAttributes<HTMLElement>, "children" | "onSelect"> & {
|
|
1032
|
-
sections: SidebarSection[];
|
|
1033
|
-
value?: string;
|
|
1034
|
-
defaultValue?: string;
|
|
1035
|
-
onSelect?: (value: string) => void;
|
|
1036
|
-
header?: Renderable;
|
|
1037
|
-
footer?: Renderable;
|
|
1038
|
-
side?: SidebarSide;
|
|
1039
|
-
collapsible?: boolean;
|
|
1040
|
-
collapsed?: boolean;
|
|
1041
|
-
defaultCollapsed?: boolean;
|
|
1042
|
-
collapsedMode?: SidebarCollapsedMode;
|
|
1043
|
-
onCollapsedChange?: (collapsed: boolean) => void;
|
|
1044
|
-
ariaLabel?: string;
|
|
1045
|
-
};
|
|
1046
|
-
export declare function Sidebar({ sections, value, defaultValue, onSelect, header, footer, side, collapsible, collapsed, collapsedMode, defaultCollapsed, onCollapsedChange, ariaLabel, className, ...props }: SidebarProps): import("react").JSX.Element;
|
|
1047
|
-
//#endregion
|
|
1048
|
-
//#region src/organisms/StreamingText/index.d.ts
|
|
1049
|
-
type StreamingTextProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1050
|
-
text: string;
|
|
1051
|
-
/** Delay between word entrances, in ms. Default: 30. */
|
|
1052
|
-
speed?: number;
|
|
1053
|
-
/** Reveal words progressively. Default: true. */
|
|
1054
|
-
animated?: boolean;
|
|
1055
|
-
};
|
|
1056
|
-
/**
|
|
1057
|
-
* Words arrive one at a time — and because each word animates only when it
|
|
1058
|
-
* mounts, appending to `text` streams naturally without any JS timing: the
|
|
1059
|
-
* new words cascade in while finished ones stay put.
|
|
1060
|
-
*/
|
|
1061
|
-
export declare function StreamingText({ text, speed, animated, className, ...props }: StreamingTextProps): import("react").JSX.Element;
|
|
1062
|
-
//#endregion
|
|
1063
|
-
//#region src/organisms/Table/rows.d.ts
|
|
1064
|
-
type TableSortDirection = "asc" | "desc";
|
|
1065
|
-
type TableSort = {
|
|
1066
|
-
key: string;
|
|
1067
|
-
direction: TableSortDirection;
|
|
1068
|
-
};
|
|
1069
|
-
//#endregion
|
|
1070
|
-
//#region src/organisms/Table/index.d.ts
|
|
1071
|
-
type TableColumn<Row extends Record<string, unknown> = Record<string, unknown>> = {
|
|
1072
|
-
key: string;
|
|
1073
|
-
label: Renderable;
|
|
1074
|
-
align?: "start" | "center" | "end";
|
|
1075
|
-
width?: string;
|
|
1076
|
-
render?: (row: Row, index: number) => Renderable;
|
|
1077
|
-
sortable?: boolean;
|
|
1078
|
-
sortValue?: (row: Row) => unknown;
|
|
1079
|
-
compare?: (a: Row, b: Row) => number;
|
|
1080
|
-
};
|
|
1081
|
-
type TableProps<Row extends Record<string, unknown> = Record<string, unknown>> = Omit<TableHTMLAttributes<HTMLTableElement>, "children" | "rows" | "className" | "cellPadding" | "cellSpacing"> & {
|
|
1082
|
-
columns: TableColumn<Row>[];
|
|
1083
|
-
rows: Row[];
|
|
1084
|
-
caption?: Renderable;
|
|
1085
|
-
emptyMessage?: Renderable;
|
|
1086
|
-
rowKey?: keyof Row & string;
|
|
1087
|
-
getRowId?: (row: Row, index: number) => string;
|
|
1088
|
-
density?: "compact" | "comfortable";
|
|
1089
|
-
striped?: boolean;
|
|
1090
|
-
stickyHeader?: boolean;
|
|
1091
|
-
stickyFirstColumn?: boolean;
|
|
1092
|
-
sort?: TableSort[];
|
|
1093
|
-
defaultSort?: TableSort[];
|
|
1094
|
-
onSortChange?: (sort: TableSort[]) => void;
|
|
1095
|
-
multiSort?: boolean;
|
|
1096
|
-
manualSort?: boolean;
|
|
1097
|
-
selectable?: boolean;
|
|
1098
|
-
selected?: ReadonlySet<string> | readonly string[];
|
|
1099
|
-
defaultSelected?: ReadonlySet<string> | readonly string[];
|
|
1100
|
-
onSelectedChange?: (selected: string[]) => void;
|
|
1101
|
-
rowLabel?: (row: Row, index: number) => string;
|
|
1102
|
-
selectAllLabel?: string;
|
|
1103
|
-
className?: string;
|
|
1104
|
-
};
|
|
1105
|
-
export declare function Table<Row extends Record<string, unknown> = Record<string, unknown>>({ columns, rows, caption, emptyMessage, rowKey, getRowId, density, striped, stickyHeader, stickyFirstColumn, sort, defaultSort, onSortChange, multiSort, manualSort, selectable, selected, defaultSelected, onSelectedChange, rowLabel, selectAllLabel, className, ...props }: TableProps<Row>): import("react").JSX.Element;
|
|
1106
|
-
//#endregion
|
|
1107
|
-
//#region src/atoms/StatusMark/index.d.ts
|
|
1108
|
-
type StatusMarkState = "idle" | "running" | "progress" | "success" | "error";
|
|
1109
|
-
type StatusMarkProps = Omit<HTMLAttributes<HTMLSpanElement>, "children" | "role" | "aria-label"> & {
|
|
1110
|
-
state?: StatusMarkState;
|
|
1111
|
-
value?: number;
|
|
1112
|
-
label: string;
|
|
1113
|
-
size?: ControlSize;
|
|
1114
|
-
className?: string;
|
|
1115
|
-
};
|
|
1116
|
-
export declare function StatusMark({ state, value, label, size, className, style, ...props }: StatusMarkProps): import("react").JSX.Element;
|
|
1117
|
-
//#endregion
|
|
1118
|
-
//#region src/atoms/Timestamp/index.d.ts
|
|
1119
|
-
type TimestampFormat = "relative" | "absolute" | "auto";
|
|
1120
|
-
type TimestampProps = Omit<TimeHTMLAttributes<HTMLTimeElement>, "children" | "dateTime"> & {
|
|
1121
|
-
date: Date | string | number;
|
|
1122
|
-
format?: TimestampFormat;
|
|
1123
|
-
locale?: string | string[];
|
|
1124
|
-
absoluteOptions?: Intl.DateTimeFormatOptions;
|
|
1125
|
-
live?: boolean;
|
|
1126
|
-
now?: Date | number;
|
|
1127
|
-
};
|
|
1128
|
-
export declare function Timestamp({ date, format, locale, absoluteOptions, live, now, className, ...props }: TimestampProps): import("react").JSX.Element;
|
|
1129
|
-
//#endregion
|
|
1130
|
-
//#region src/atoms/NumberInput/index.d.ts
|
|
1131
|
-
type NumberInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "min" | "max" | "step" | "children"> & {
|
|
1132
|
-
value?: number | null;
|
|
1133
|
-
defaultValue?: number | null;
|
|
1134
|
-
onValueChange?: (value: number | null) => void;
|
|
1135
|
-
min?: number;
|
|
1136
|
-
max?: number;
|
|
1137
|
-
step?: number;
|
|
1138
|
-
largeStep?: number;
|
|
1139
|
-
precision?: number;
|
|
1140
|
-
format?: Intl.NumberFormatOptions;
|
|
1141
|
-
locale?: string;
|
|
1142
|
-
size?: ControlSize;
|
|
1143
|
-
invalid?: boolean;
|
|
1144
|
-
scrub?: boolean;
|
|
1145
|
-
label?: string;
|
|
1146
|
-
decrementLabel?: string;
|
|
1147
|
-
incrementLabel?: string;
|
|
1148
|
-
};
|
|
1149
|
-
export declare function NumberInput({ value, defaultValue, onValueChange, min, max, step, largeStep, precision, format, locale, size, invalid, disabled, readOnly, scrub, label, decrementLabel, incrementLabel, className, style, name, onKeyDown, onBlur, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-invalid": ariaInvalid, ...props }: NumberInputProps): import("react").JSX.Element;
|
|
1150
|
-
//#endregion
|
|
1151
|
-
//#region src/atoms/HoldButton/index.d.ts
|
|
1152
|
-
type HoldButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "type"> & {
|
|
1153
|
-
onConfirm: () => void;
|
|
1154
|
-
children?: Renderable;
|
|
1155
|
-
holdLabel?: Renderable;
|
|
1156
|
-
confirmedLabel?: Renderable;
|
|
1157
|
-
hint?: string;
|
|
1158
|
-
duration?: number;
|
|
1159
|
-
variant?: "danger" | "primary" | "secondary";
|
|
1160
|
-
size?: ControlSize;
|
|
1161
|
-
};
|
|
1162
|
-
export declare function HoldButton({ onConfirm, children, holdLabel, confirmedLabel, hint, duration, variant, size, disabled, className, style, onPointerDown, onPointerUp, onPointerCancel, onPointerMove, onKeyDown, onKeyUp, onBlur, onContextMenu, onClick, "aria-describedby": ariaDescribedBy, ...props }: HoldButtonProps): import("react").JSX.Element;
|
|
1163
|
-
//#endregion
|
|
1164
|
-
//#region src/molecules/SegmentedControl/index.d.ts
|
|
1165
|
-
type SegmentedOption = {
|
|
1166
|
-
value: string;
|
|
1167
|
-
label: Renderable;
|
|
1168
|
-
icon?: Renderable;
|
|
1169
|
-
disabled?: boolean;
|
|
1170
|
-
};
|
|
1171
|
-
type SegmentedControlProps = {
|
|
1172
|
-
options: SegmentedOption[];
|
|
1173
|
-
ariaLabel: string;
|
|
1174
|
-
value?: string;
|
|
1175
|
-
defaultValue?: string;
|
|
1176
|
-
onValueChange?: (value: string) => void;
|
|
1177
|
-
size?: ControlSize;
|
|
1178
|
-
density?: ControlDensity;
|
|
1179
|
-
fullWidth?: boolean;
|
|
1180
|
-
disabled?: boolean;
|
|
1181
|
-
className?: string;
|
|
1182
|
-
};
|
|
1183
|
-
export declare function SegmentedControl({ options, ariaLabel, value, defaultValue, onValueChange, size, density, fullWidth, disabled, className }: SegmentedControlProps): import("react").JSX.Element;
|
|
1184
|
-
//#endregion
|
|
1185
|
-
//#region src/molecules/Stepper/index.d.ts
|
|
1186
|
-
type StepperStep = {
|
|
1187
|
-
id?: string;
|
|
1188
|
-
label: Renderable;
|
|
1189
|
-
description?: Renderable;
|
|
1190
|
-
};
|
|
1191
|
-
type StepperProps = {
|
|
1192
|
-
steps: StepperStep[];
|
|
1193
|
-
current: number;
|
|
1194
|
-
orientation?: "horizontal" | "vertical";
|
|
1195
|
-
size?: ControlSize;
|
|
1196
|
-
onStepSelect?: (index: number) => void;
|
|
1197
|
-
ariaLabel?: string;
|
|
1198
|
-
completedLabel?: string;
|
|
1199
|
-
className?: string;
|
|
1200
|
-
};
|
|
1201
|
-
export declare function Stepper({ steps, current, orientation, size, onStepSelect, ariaLabel, completedLabel, className }: StepperProps): import("react").JSX.Element;
|
|
1202
|
-
//#endregion
|
|
1203
|
-
//#region src/molecules/MetadataList/index.d.ts
|
|
1204
|
-
type MetadataEntry = {
|
|
1205
|
-
label: Renderable;
|
|
1206
|
-
value: Renderable;
|
|
1207
|
-
hint?: Renderable;
|
|
1208
|
-
id?: string;
|
|
1209
|
-
};
|
|
1210
|
-
type MetadataListLayout = "columns" | "stacked" | "inline";
|
|
1211
|
-
type MetadataListProps = Omit<HTMLAttributes<HTMLDListElement>, "children"> & {
|
|
1212
|
-
items: MetadataEntry[];
|
|
1213
|
-
layout?: MetadataListLayout;
|
|
1214
|
-
size?: ControlSize;
|
|
1215
|
-
dividers?: boolean;
|
|
1216
|
-
};
|
|
1217
|
-
export declare function MetadataList({ items, layout, size, dividers, className, ...props }: MetadataListProps): import("react").JSX.Element;
|
|
1218
|
-
//#endregion
|
|
1219
|
-
//#region src/molecules/OverflowList/index.d.ts
|
|
1220
|
-
type OverflowCollapse = "end" | "start";
|
|
1221
|
-
type OverflowListProps<T = unknown> = Omit<HTMLAttributes<HTMLUListElement>, "children"> & {
|
|
1222
|
-
items: T[];
|
|
1223
|
-
renderItem: (item: T, index: number) => Renderable;
|
|
1224
|
-
renderOverflow?: (hidden: T[]) => Renderable;
|
|
1225
|
-
renderOverflowItem?: (item: T, index: number) => Renderable;
|
|
1226
|
-
getKey?: (item: T, index: number) => string | number;
|
|
1227
|
-
minVisible?: number;
|
|
1228
|
-
collapseFrom?: OverflowCollapse;
|
|
1229
|
-
overflowLabel?: (count: number) => string;
|
|
1230
|
-
onRemove?: (item: T, index: number) => void;
|
|
1231
|
-
removeLabel?: (item: T, index: number) => string;
|
|
1232
|
-
};
|
|
1233
|
-
export declare function OverflowList<T>({ items, renderItem, renderOverflow, renderOverflowItem, getKey, minVisible, collapseFrom, overflowLabel, onRemove, removeLabel, className, ...props }: OverflowListProps<T>): import("react").JSX.Element;
|
|
1234
|
-
//#endregion
|
|
1235
|
-
//#region src/molecules/Citation/index.d.ts
|
|
1236
|
-
type CitationSource = {
|
|
1237
|
-
title: string;
|
|
1238
|
-
url?: string;
|
|
1239
|
-
site?: string;
|
|
1240
|
-
snippet?: string;
|
|
1241
|
-
favicon?: string;
|
|
1242
|
-
};
|
|
1243
|
-
type CitationProps = {
|
|
1244
|
-
sources: CitationSource[];
|
|
1245
|
-
index?: number;
|
|
1246
|
-
max?: number;
|
|
1247
|
-
placement?: OverlaySide;
|
|
1248
|
-
openDelay?: number;
|
|
1249
|
-
closeDelay?: number;
|
|
1250
|
-
className?: string;
|
|
1251
|
-
};
|
|
1252
|
-
export declare function Citation({ sources, index, max, placement, openDelay, closeDelay, className }: CitationProps): import("react").JSX.Element | null;
|
|
1253
|
-
//#endregion
|
|
1254
|
-
//#region src/molecules/ToolCalls/index.d.ts
|
|
1255
|
-
type ToolCall = {
|
|
1256
|
-
id: string;
|
|
1257
|
-
name: string;
|
|
1258
|
-
title?: Renderable;
|
|
1259
|
-
state: StatusMarkState;
|
|
1260
|
-
input?: Renderable;
|
|
1261
|
-
output?: Renderable;
|
|
1262
|
-
duration?: number;
|
|
1263
|
-
};
|
|
1264
|
-
type ToolCallsProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1265
|
-
calls: ToolCall[];
|
|
1266
|
-
open?: boolean;
|
|
1267
|
-
defaultOpen?: boolean;
|
|
1268
|
-
onOpenChange?: (open: boolean) => void;
|
|
1269
|
-
label?: Renderable;
|
|
1270
|
-
};
|
|
1271
|
-
export declare function ToolCalls({ calls, open, defaultOpen, onOpenChange, label, className, ...props }: ToolCallsProps): import("react").JSX.Element;
|
|
1272
|
-
//#endregion
|
|
1273
|
-
//#region src/molecules/PlanCard/index.d.ts
|
|
1274
|
-
type PlanStep = {
|
|
1275
|
-
id: string;
|
|
1276
|
-
label: Renderable;
|
|
1277
|
-
detail?: Renderable;
|
|
1278
|
-
state?: StatusMarkState;
|
|
1279
|
-
};
|
|
1280
|
-
type PlanCardState = "pending" | "approved" | "rejected" | "running";
|
|
1281
|
-
type PlanCardProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "title"> & {
|
|
1282
|
-
title: Renderable;
|
|
1283
|
-
description?: Renderable;
|
|
1284
|
-
steps: PlanStep[];
|
|
1285
|
-
editable?: boolean;
|
|
1286
|
-
onApprove: (steps: PlanStep[]) => void;
|
|
1287
|
-
onReject?: () => void;
|
|
1288
|
-
approveLabel?: Renderable;
|
|
1289
|
-
rejectLabel?: Renderable;
|
|
1290
|
-
state?: PlanCardState;
|
|
1291
|
-
hotkey?: boolean;
|
|
1292
|
-
autoFocus?: boolean;
|
|
1293
|
-
};
|
|
1294
|
-
export declare function PlanCard({ title, description, steps, editable, onApprove, onReject, approveLabel, rejectLabel, state, hotkey, autoFocus, className, ...props }: PlanCardProps): import("react").JSX.Element;
|
|
1295
|
-
//#endregion
|
|
1296
|
-
//#region src/organisms/ChatScroller/index.d.ts
|
|
1297
|
-
type ChatScrollerProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1298
|
-
children?: Renderable;
|
|
1299
|
-
itemCount?: number;
|
|
1300
|
-
newCount?: number;
|
|
1301
|
-
threshold?: number;
|
|
1302
|
-
ariaLabel?: string;
|
|
1303
|
-
jumpLabel?: string;
|
|
1304
|
-
contentClassName?: string;
|
|
1305
|
-
onPinnedChange?: (pinned: boolean) => void;
|
|
1306
|
-
};
|
|
1307
|
-
export declare function ChatScroller({ children, itemCount, newCount, threshold, ariaLabel, jumpLabel, contentClassName, onPinnedChange, className, ...props }: ChatScrollerProps): import("react").JSX.Element;
|
|
1308
|
-
//#endregion
|
|
1309
|
-
//#region src/organisms/ChatInput/index.d.ts
|
|
1310
|
-
type ChatInputState = "ready" | "submitting" | "streaming" | "error";
|
|
1311
|
-
type ChatInputMessage = {
|
|
1312
|
-
text: string;
|
|
1313
|
-
files: File[];
|
|
1314
|
-
};
|
|
1315
|
-
type ChatInputSuggestion = {
|
|
1316
|
-
id: string;
|
|
1317
|
-
label: string;
|
|
1318
|
-
description?: string;
|
|
1319
|
-
keywords?: string;
|
|
1320
|
-
disabled?: boolean;
|
|
1321
|
-
/** Mention token body or optional text inserted by a slash command. */
|
|
1322
|
-
insertText?: string;
|
|
1323
|
-
};
|
|
1324
|
-
type ChatInputTrigger = {
|
|
1325
|
-
kind: "mention" | "command";
|
|
1326
|
-
query: string;
|
|
1327
|
-
start: number;
|
|
1328
|
-
end: number;
|
|
1329
|
-
};
|
|
1330
|
-
export declare function findChatInputTrigger(value: string, cursor: number): ChatInputTrigger | null;
|
|
1331
|
-
type ChatInputMatch = {
|
|
1332
|
-
item: ChatInputSuggestion;
|
|
1333
|
-
/** Character positions the query matched inside the label, for highlighting. */
|
|
1334
|
-
indexes: number[];
|
|
1335
|
-
};
|
|
1336
|
-
/**
|
|
1337
|
-
* Keeps the suggestions that match the query, ordered for the tray: recently
|
|
1338
|
-
* used entries first, then the strongest fuzzy match, then the caller's order.
|
|
1339
|
-
*
|
|
1340
|
-
* Labels win over ids, descriptions and keywords, and only label hits are
|
|
1341
|
-
* highlighted, matching CommandPalette and Combobox.
|
|
1342
|
-
*/
|
|
1343
|
-
export declare function matchChatInputSuggestions(items: ChatInputSuggestion[], query: string, recents?: readonly string[]): ChatInputMatch[];
|
|
1344
|
-
export declare function filterChatInputSuggestions(items: ChatInputSuggestion[], query: string, recents?: readonly string[]): ChatInputSuggestion[];
|
|
1345
|
-
export declare function replaceChatInputTrigger(value: string, trigger: ChatInputTrigger, replacement: string): {
|
|
1346
|
-
value: string;
|
|
1347
|
-
cursor: number;
|
|
1348
|
-
};
|
|
1349
|
-
type ChatInputProps = Omit<HTMLAttributes<HTMLFormElement>, "children" | "onSubmit" | "onChange" | "onError" | "onPaste"> & {
|
|
1350
|
-
value?: string;
|
|
1351
|
-
defaultValue?: string;
|
|
1352
|
-
onValueChange?: (value: string) => void;
|
|
1353
|
-
files?: File[];
|
|
1354
|
-
onFilesChange?: (files: File[]) => void;
|
|
1355
|
-
onSend: (message: ChatInputMessage) => void;
|
|
1356
|
-
onPaste?: (event: {
|
|
1357
|
-
clipboardData: DataTransfer | null;
|
|
1358
|
-
defaultPrevented: boolean;
|
|
1359
|
-
preventDefault(): void;
|
|
1360
|
-
}) => void;
|
|
1361
|
-
onStop?: () => void;
|
|
1362
|
-
mentions?: ChatInputSuggestion[];
|
|
1363
|
-
commands?: ChatInputSuggestion[];
|
|
1364
|
-
onMentionSelect?: (mention: ChatInputSuggestion) => void;
|
|
1365
|
-
onCommandSelect?: (command: ChatInputSuggestion) => void;
|
|
1366
|
-
mentionLabel?: string;
|
|
1367
|
-
commandLabel?: string;
|
|
1368
|
-
state?: ChatInputState;
|
|
1369
|
-
disabled?: boolean;
|
|
1370
|
-
placeholder?: string;
|
|
1371
|
-
label?: string;
|
|
1372
|
-
sendLabel?: string;
|
|
1373
|
-
stopLabel?: string;
|
|
1374
|
-
addFilesLabel?: string;
|
|
1375
|
-
tools?: Renderable;
|
|
1376
|
-
hint?: Renderable;
|
|
1377
|
-
error?: Renderable;
|
|
1378
|
-
accept?: string;
|
|
1379
|
-
maxFiles?: number;
|
|
1380
|
-
maxSize?: number;
|
|
1381
|
-
onReject?: (files: File[], reason: DropzoneRejectReason) => void;
|
|
1382
|
-
};
|
|
1383
|
-
export declare function ChatInput({ value, defaultValue, onValueChange, files, onFilesChange, onSend, onStop, state, disabled, placeholder, label, sendLabel, stopLabel, addFilesLabel, mentions, commands, onMentionSelect, onCommandSelect, mentionLabel, commandLabel, tools, hint, error, accept, maxFiles, maxSize, onReject, className, onPaste, ...props }: ChatInputProps): import("react").JSX.Element;
|
|
1384
|
-
//#endregion
|
|
1385
|
-
//#region src/molecules/Message/index.d.ts
|
|
1386
|
-
type MessageState = "streaming" | "complete" | "stopped" | "error";
|
|
1387
|
-
type MessageProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
1388
|
-
author: string;
|
|
1389
|
-
role?: "user" | "assistant" | "tool";
|
|
1390
|
-
state?: MessageState;
|
|
1391
|
-
children?: Renderable;
|
|
1392
|
-
avatar?: Renderable;
|
|
1393
|
-
metadata?: Renderable;
|
|
1394
|
-
actions?: Renderable;
|
|
1395
|
-
error?: Renderable;
|
|
1396
|
-
onRetry?: () => void;
|
|
1397
|
-
retryLabel?: string;
|
|
1398
|
-
statusLabel?: string;
|
|
1399
|
-
};
|
|
1400
|
-
export declare function Message({ author, role, state, children, avatar, metadata, actions, error, onRetry, retryLabel, statusLabel, className, ...props }: MessageProps): import("react").JSX.Element;
|
|
1401
|
-
//#endregion
|
|
1402
|
-
//#region src/molecules/ApprovalCard/index.d.ts
|
|
1403
|
-
type ApprovalState = "pending" | "submitting" | "approved" | "rejected" | "expired" | "error";
|
|
1404
|
-
type ApprovalCardProps = Omit<HTMLAttributes<HTMLDivElement>, "children" | "title" | "onError"> & {
|
|
1405
|
-
title: Renderable;
|
|
1406
|
-
action: Renderable;
|
|
1407
|
-
target?: Renderable;
|
|
1408
|
-
description?: Renderable;
|
|
1409
|
-
state?: ApprovalState;
|
|
1410
|
-
onApprove: () => void;
|
|
1411
|
-
onReject: () => void;
|
|
1412
|
-
approveLabel?: string;
|
|
1413
|
-
rejectLabel?: string;
|
|
1414
|
-
statusLabel?: string;
|
|
1415
|
-
error?: Renderable;
|
|
1416
|
-
};
|
|
1417
|
-
export declare function ApprovalCard({ title, action, target, description, state, onApprove, onReject, approveLabel, rejectLabel, statusLabel, error, className, ...props }: ApprovalCardProps): import("react").JSX.Element;
|
|
1418
|
-
//#endregion
|
|
1419
|
-
//#region src/molecules/CodeBlock/index.d.ts
|
|
1420
|
-
type CodeBlockProps = Omit<HTMLAttributes<HTMLElement>, "children" | "onCopy" | "onError"> & {
|
|
1421
|
-
code: string;
|
|
1422
|
-
language?: string;
|
|
1423
|
-
filename?: string;
|
|
1424
|
-
wrap?: boolean;
|
|
1425
|
-
renderCode?: (code: string, language?: string) => Renderable;
|
|
1426
|
-
onCopy?: (code: string) => void | Promise<void>;
|
|
1427
|
-
copyLabel?: string;
|
|
1428
|
-
copiedLabel?: string;
|
|
1429
|
-
copyErrorLabel?: string;
|
|
1430
|
-
};
|
|
1431
|
-
export declare function CodeBlock({ code, language, filename, wrap, renderCode, onCopy, copyLabel, copiedLabel, copyErrorLabel, className, ...props }: CodeBlockProps): import("react").JSX.Element;
|
|
1432
|
-
//#endregion
|
|
1433
|
-
//#region src/molecules/DiffView/index.d.ts
|
|
1434
|
-
type DiffLine = {
|
|
1435
|
-
type: "context" | "added" | "removed";
|
|
1436
|
-
text: string;
|
|
1437
|
-
oldLine?: number;
|
|
1438
|
-
newLine?: number;
|
|
1439
|
-
};
|
|
1440
|
-
type DiffHunk = {
|
|
1441
|
-
id: string;
|
|
1442
|
-
header: string;
|
|
1443
|
-
lines: DiffLine[];
|
|
1444
|
-
};
|
|
1445
|
-
type DiffViewProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
|
|
1446
|
-
filename: string;
|
|
1447
|
-
hunks: DiffHunk[];
|
|
1448
|
-
contextLimit?: number;
|
|
1449
|
-
actions?: Renderable;
|
|
1450
|
-
emptyLabel?: string;
|
|
1451
|
-
expandLabel?: string;
|
|
1452
|
-
collapseLabel?: string;
|
|
1453
|
-
};
|
|
1454
|
-
export declare function DiffView({ filename, hunks, contextLimit, actions, emptyLabel, expandLabel, collapseLabel, className, ...props }: DiffViewProps): import("react").JSX.Element;
|
|
1455
|
-
//#endregion
|
|
1456
|
-
//#region src/molecules/ArtifactCard/index.d.ts
|
|
1457
|
-
type ArtifactState = "generating" | "ready" | "error";
|
|
1458
|
-
type ArtifactCardProps = Omit<HTMLAttributes<HTMLElement>, "children" | "title"> & {
|
|
1459
|
-
title: Renderable;
|
|
1460
|
-
kind?: Renderable;
|
|
1461
|
-
description?: Renderable;
|
|
1462
|
-
version?: string;
|
|
1463
|
-
state?: ArtifactState;
|
|
1464
|
-
children?: Renderable;
|
|
1465
|
-
actions?: Renderable;
|
|
1466
|
-
onOpen?: () => void;
|
|
1467
|
-
openLabel?: string;
|
|
1468
|
-
statusLabel?: string;
|
|
1469
|
-
};
|
|
1470
|
-
export declare function ArtifactCard({ title, kind, description, version, state, children, actions, onOpen, openLabel, statusLabel, className, ...props }: ArtifactCardProps): import("react").JSX.Element;
|
|
1471
|
-
//#endregion
|
|
1472
|
-
export { type AccordionItem, type AccordionProps, type AnimatedNumberProps, type ApprovalCardProps, type ApprovalState, type ArtifactCardProps, type ArtifactState, type AttachmentFile, type AttachmentProps, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarStatus, type BadgeProps, type BreadcrumbItem, type BreadcrumbProps, type ButtonProps, type CalendarProps, type CalendarRange, type CardProps, type CarouselProps, type ChartProps, type ChartSeries, type ChatInputMatch, type ChatInputMessage, type ChatInputProps, type ChatInputState, type ChatInputSuggestion, type ChatInputTrigger, type ChatScrollerProps, type CheckboxProps, type CitationProps, type CitationSource, type CodeBlockProps, type CollapsibleProps, type ComboboxOption, type ComboboxProps, type CommandItem, type CommandPaletteProps, type ContextMenuProps, type ControlDensity, type ControlSize, type DateRangeFieldProps, type DeltaProps, type DialogProps, type DiffHunk, type DiffLine, type DiffViewProps, type DrawerProps, type DrawerSide, type DropzoneRejectReason, type DropzoneValidation, type DropzoneValidationResult, type EmptyStateProps, type FieldMessageProps, type FieldProps, type HoldButtonProps, type HoverCardProps, type IconButtonProps, type InputProps, type KbdProps, type MagneticDropzoneProps, type MenuItem, type MenuProps, type MenubarMenu, type MenubarProps, type MessageProps, type MessageState, type MetadataEntry, type MetadataListLayout, type MetadataListProps, type MotionSpeed, type NoticeProps, type NumberInputProps, type OTPInputProps, type OTPPattern, type OTPState, type OverflowListProps, type PaginationProps, type PlanCardProps, type PlanCardState, type PlanStep, type PopoverProps, type Presence, type ProgressProps, type QuestionCardProps, type QuestionOption, type RadioGroupProps, type RadioOption, type ReasoningStep, type ReasoningStepsProps, type Renderable, type RenderableElement, type ResizableProps, type RevealProps, type ScrollAreaProps, type SegmentedControlProps, type SegmentedOption, type SelectOption, type SelectProps, type SeparatorProps, type SidePanelProps, type SidePanelSide, type SidePanelState, type SidebarCollapsedMode, type SidebarItem, type SidebarProps, type SidebarSection, type SidebarSide, type SkeletonProps, type SliderProps, type SpinnerProps, type StatGroupProps, type StatProps, type StatusMarkProps, type StatusMarkState, type StepperProps, type StepperStep, type StreamingTextProps, type SurfaceProps, type TabItem, type TableColumn, type TableProps, type TableSort, type TableSortDirection, type TabsProps, type TaskListItem, type TaskListProps, type TaskState, type TextareaProps, type TimelineItem, type TimelineProps, type TimestampFormat, type TimestampProps, type ToastProps, type ToastViewportProps, type ToggleProps, type ToolCall, type ToolCallsProps, type ToolbarProps, type TooltipGroupProps, type TooltipProps, type TreeItem, type TreeViewProps, toast };
|
|
1473
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
import { AnimatedNumber, AnimatedNumberProps } from "./animated-number.js";
|
|
2
|
+
import { n as ControlSize, t as ControlDensity } from "./control-Cgma3uYI.js";
|
|
3
|
+
import { Avatar, AvatarProps, AvatarStatus } from "./avatar.js";
|
|
4
|
+
import { n as RenderableElement, t as Renderable } from "./node-CcE0pv56.js";
|
|
5
|
+
import { Badge, BadgeProps } from "./badge.js";
|
|
6
|
+
import { Button, ButtonProps } from "./button.js";
|
|
7
|
+
import { Checkbox, CheckboxProps } from "./checkbox.js";
|
|
8
|
+
import { HoldButton, HoldButtonProps } from "./hold-button.js";
|
|
9
|
+
import { IconButton, IconButtonProps } from "./icon-button.js";
|
|
10
|
+
import { Input, InputProps } from "./input.js";
|
|
11
|
+
import { Kbd, KbdProps } from "./kbd.js";
|
|
12
|
+
import { NumberInput, NumberInputProps } from "./number-input.js";
|
|
13
|
+
import { Progress, ProgressProps } from "./progress.js";
|
|
14
|
+
import { ScrollArea, ScrollAreaProps } from "./scroll-area.js";
|
|
15
|
+
import { Separator, SeparatorProps } from "./separator.js";
|
|
16
|
+
import { Skeleton, SkeletonProps } from "./skeleton.js";
|
|
17
|
+
import { Slider, SliderProps } from "./slider.js";
|
|
18
|
+
import { Spinner, SpinnerProps } from "./spinner.js";
|
|
19
|
+
import { StatusMark, StatusMarkProps, StatusMarkState } from "./status-mark.js";
|
|
20
|
+
import { Surface, SurfaceProps } from "./surface.js";
|
|
21
|
+
import { Textarea, TextareaProps } from "./textarea.js";
|
|
22
|
+
import { Timestamp, TimestampFormat, TimestampProps } from "./timestamp.js";
|
|
23
|
+
import { Toggle, ToggleProps } from "./toggle.js";
|
|
24
|
+
import { a as motionDurationMs, i as Presence, n as RevealProps, o as parseDurationMs, r as MotionSpeed, s as usePresence, t as Reveal } from "./index-CdXWK1oU.js";
|
|
25
|
+
import { Accordion, AccordionItem, AccordionProps } from "./accordion.js";
|
|
26
|
+
import { Notice, NoticeProps } from "./notice.js";
|
|
27
|
+
import { Attachment, AttachmentFile, AttachmentProps } from "./attachment.js";
|
|
28
|
+
import { AvatarGroup, AvatarGroupItem, AvatarGroupProps } from "./avatar-group.js";
|
|
29
|
+
import { Breadcrumb, BreadcrumbItem, BreadcrumbProps } from "./breadcrumb.js";
|
|
30
|
+
import { Calendar, CalendarProps, CalendarRange } from "./calendar.js";
|
|
31
|
+
import { Card, CardProps } from "./card.js";
|
|
32
|
+
import { Collapsible, CollapsibleProps } from "./collapsible.js";
|
|
33
|
+
import { Combobox, ComboboxOption, ComboboxProps } from "./combobox.js";
|
|
34
|
+
import { t as MenuItem } from "./MenuContent-D0HouXwm.js";
|
|
35
|
+
import { ContextMenu, ContextMenuProps } from "./context-menu.js";
|
|
36
|
+
import { Dialog, DialogProps } from "./dialog.js";
|
|
37
|
+
import { Drawer, DrawerProps, DrawerSide } from "./drawer.js";
|
|
38
|
+
import { FieldMessage, FieldMessageProps } from "./field-message.js";
|
|
39
|
+
import { Field, FieldProps } from "./field.js";
|
|
40
|
+
import { HoverCard, HoverCardProps } from "./hover-card.js";
|
|
41
|
+
import { Menu, MenuProps } from "./menu.js";
|
|
42
|
+
import { OTPInput, OTPInputProps, OTPPattern, OTPState } from "./otp-input.js";
|
|
43
|
+
import { Pagination, PaginationProps } from "./pagination.js";
|
|
44
|
+
import { Popover, PopoverProps } from "./popover.js";
|
|
45
|
+
import { QuestionCard, QuestionCardProps, QuestionOption } from "./question-card.js";
|
|
46
|
+
import { RadioGroup, RadioGroupProps, RadioOption } from "./radio-group.js";
|
|
47
|
+
import { Select, SelectOption, SelectProps } from "./select.js";
|
|
48
|
+
import { Delta, DeltaProps, Stat, StatGroup, StatGroupProps, StatProps } from "./stat.js";
|
|
49
|
+
import { TabItem, Tabs, TabsProps } from "./tabs.js";
|
|
50
|
+
import { TaskList, TaskListItem, TaskListProps, TaskState } from "./task-list.js";
|
|
51
|
+
import { Timeline, TimelineItem, TimelineProps } from "./timeline.js";
|
|
52
|
+
import { TreeItem, TreeView, TreeViewProps } from "./tree-view.js";
|
|
53
|
+
import { Carousel, CarouselProps, slideAfter } from "./carousel.js";
|
|
54
|
+
import { DateRangeField, DateRangeFieldProps, dayFromSegments, orderRange, segmentsOf, stepSegment, typeSegment } from "./date-range-field.js";
|
|
55
|
+
import { Toast, ToastProps, ToastViewport, ToastViewportProps, toast } from "./toast.js";
|
|
56
|
+
import { Toolbar, ToolbarProps } from "./toolbar.js";
|
|
57
|
+
import { Tooltip, TooltipGroup, TooltipGroupProps, TooltipProps } from "./tooltip.js";
|
|
58
|
+
import { Chart, ChartProps, ChartSeries } from "./chart.js";
|
|
59
|
+
import { CommandItem, CommandPalette, CommandPaletteProps } from "./command-palette.js";
|
|
60
|
+
import { EmptyState, EmptyStateProps } from "./empty-state.js";
|
|
61
|
+
import { DropzoneRejectReason, DropzoneValidation, DropzoneValidationResult, MagneticDropzone, MagneticDropzoneProps, describeDropzoneResult, validateDropzoneFiles } from "./magnetic-dropzone.js";
|
|
62
|
+
import { Menubar, MenubarMenu, MenubarProps } from "./menubar.js";
|
|
63
|
+
import { ReasoningStep, ReasoningSteps, ReasoningStepsProps } from "./reasoning-steps.js";
|
|
64
|
+
import { Resizable, ResizableProps } from "./resizable.js";
|
|
65
|
+
import { SidePanel, SidePanelProps, SidePanelSide, SidePanelState } from "./side-panel.js";
|
|
66
|
+
import { Sidebar, SidebarCollapsedMode, SidebarItem, SidebarProps, SidebarSection, SidebarSide } from "./sidebar.js";
|
|
67
|
+
import { StreamingText, StreamingTextProps } from "./streaming-text.js";
|
|
68
|
+
import { a as TableSortDirection, i as TableSort, n as TableColumn, r as TableProps, t as Table } from "./index-Dw2Vi3H2.js";
|
|
69
|
+
import { SegmentedControl, SegmentedControlProps, SegmentedOption } from "./segmented-control.js";
|
|
70
|
+
import { Stepper, StepperProps, StepperStep } from "./stepper.js";
|
|
71
|
+
import { MetadataEntry, MetadataList, MetadataListLayout, MetadataListProps } from "./metadata-list.js";
|
|
72
|
+
import { OverflowList, OverflowListProps } from "./overflow-list.js";
|
|
73
|
+
import { Citation, CitationProps, CitationSource } from "./citation.js";
|
|
74
|
+
import { ToolCall, ToolCalls, ToolCallsProps } from "./tool-calls.js";
|
|
75
|
+
import { PlanCard, PlanCardProps, PlanCardState, PlanStep } from "./plan-card.js";
|
|
76
|
+
import { ChatScroller, ChatScrollerProps } from "./chat-scroller.js";
|
|
77
|
+
import { ChatInput, ChatInputMatch, ChatInputMessage, ChatInputProps, ChatInputState, ChatInputSuggestion, ChatInputTrigger, filterChatInputSuggestions, findChatInputTrigger, matchChatInputSuggestions, replaceChatInputTrigger } from "./chat-input.js";
|
|
78
|
+
import { Message, MessageProps, MessageState } from "./message.js";
|
|
79
|
+
import { ApprovalCard, ApprovalCardProps, ApprovalState } from "./approval-card.js";
|
|
80
|
+
import { CodeBlock, CodeBlockProps } from "./code-block.js";
|
|
81
|
+
import { DiffHunk, DiffLine, DiffView, DiffViewProps } from "./diff-view.js";
|
|
82
|
+
import { ArtifactCard, ArtifactCardProps, ArtifactState } from "./artifact-card.js";
|
|
83
|
+
export { Accordion, type AccordionItem, type AccordionProps, AnimatedNumber, type AnimatedNumberProps, ApprovalCard, type ApprovalCardProps, type ApprovalState, ArtifactCard, type ArtifactCardProps, type ArtifactState, Attachment, type AttachmentFile, type AttachmentProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Calendar, type CalendarProps, type CalendarRange, Card, type CardProps, Carousel, type CarouselProps, Chart, type ChartProps, type ChartSeries, ChatInput, type ChatInputMatch, type ChatInputMessage, type ChatInputProps, type ChatInputState, type ChatInputSuggestion, type ChatInputTrigger, ChatScroller, type ChatScrollerProps, Checkbox, type CheckboxProps, Citation, type CitationProps, type CitationSource, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, Combobox, type ComboboxOption, type ComboboxProps, type CommandItem, CommandPalette, type CommandPaletteProps, ContextMenu, type ContextMenuProps, type ControlDensity, type ControlSize, DateRangeField, type DateRangeFieldProps, Delta, type DeltaProps, Dialog, type DialogProps, type DiffHunk, type DiffLine, DiffView, type DiffViewProps, Drawer, type DrawerProps, type DrawerSide, type DropzoneRejectReason, type DropzoneValidation, type DropzoneValidationResult, EmptyState, type EmptyStateProps, Field, FieldMessage, type FieldMessageProps, type FieldProps, HoldButton, type HoldButtonProps, HoverCard, type HoverCardProps, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, MagneticDropzone, type MagneticDropzoneProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarMenu, type MenubarProps, Message, type MessageProps, type MessageState, type MetadataEntry, MetadataList, type MetadataListLayout, type MetadataListProps, type MotionSpeed, Notice, type NoticeProps, NumberInput, type NumberInputProps, OTPInput, type OTPInputProps, type OTPPattern, type OTPState, OverflowList, type OverflowListProps, Pagination, type PaginationProps, PlanCard, type PlanCardProps, type PlanCardState, type PlanStep, Popover, type PopoverProps, type Presence, Progress, type ProgressProps, QuestionCard, type QuestionCardProps, type QuestionOption, RadioGroup, type RadioGroupProps, type RadioOption, type ReasoningStep, ReasoningSteps, type ReasoningStepsProps, type Renderable, type RenderableElement, Resizable, type ResizableProps, Reveal, type RevealProps, ScrollArea, type ScrollAreaProps, SegmentedControl, type SegmentedControlProps, type SegmentedOption, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, SidePanel, type SidePanelProps, type SidePanelSide, type SidePanelState, Sidebar, type SidebarCollapsedMode, type SidebarItem, type SidebarProps, type SidebarSection, type SidebarSide, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, Stat, StatGroup, type StatGroupProps, type StatProps, StatusMark, type StatusMarkProps, type StatusMarkState, Stepper, type StepperProps, type StepperStep, StreamingText, type StreamingTextProps, Surface, type SurfaceProps, type TabItem, Table, type TableColumn, type TableProps, type TableSort, type TableSortDirection, Tabs, type TabsProps, TaskList, type TaskListItem, type TaskListProps, type TaskState, Textarea, type TextareaProps, Timeline, type TimelineItem, type TimelineProps, Timestamp, type TimestampFormat, type TimestampProps, Toast, type ToastProps, ToastViewport, type ToastViewportProps, Toggle, type ToggleProps, type ToolCall, ToolCalls, type ToolCallsProps, Toolbar, type ToolbarProps, Tooltip, TooltipGroup, type TooltipGroupProps, type TooltipProps, type TreeItem, TreeView, type TreeViewProps, dayFromSegments, describeDropzoneResult, filterChatInputSuggestions, findChatInputTrigger, matchChatInputSuggestions, motionDurationMs, orderRange, parseDurationMs, replaceChatInputTrigger, segmentsOf, slideAfter, stepSegment, toast, typeSegment, usePresence, validateDropzoneFiles };
|