@chatsdk-dev/ui 0.1.2 → 0.2.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/dist/atoms/accordion.d.ts +4 -4
- package/dist/atoms/accordion.d.ts.map +1 -1
- package/dist/atoms/alert-dialog.d.ts +22 -14
- package/dist/atoms/alert-dialog.d.ts.map +1 -1
- package/dist/atoms/alert-dialog.js +13 -8
- package/dist/atoms/alert.d.ts +4 -4
- package/dist/atoms/alert.d.ts.map +1 -1
- package/dist/atoms/attachment.d.ts +24 -0
- package/dist/atoms/attachment.d.ts.map +1 -0
- package/dist/atoms/attachment.js +76 -0
- package/dist/atoms/avatar.d.ts +6 -6
- package/dist/atoms/avatar.d.ts.map +1 -1
- package/dist/atoms/badge.d.ts +1 -1
- package/dist/atoms/bubble.d.ts +17 -0
- package/dist/atoms/bubble.d.ts.map +1 -0
- package/dist/atoms/bubble.js +59 -0
- package/dist/atoms/button-group.d.ts +2 -2
- package/dist/atoms/button-group.d.ts.map +1 -1
- package/dist/atoms/button-loader.d.ts +2 -2
- package/dist/atoms/button-loader.d.ts.map +1 -1
- package/dist/atoms/button.d.ts +2 -2
- package/dist/atoms/button.d.ts.map +1 -1
- package/dist/atoms/button.js +2 -1
- package/dist/atoms/card.d.ts +7 -7
- package/dist/atoms/card.d.ts.map +1 -1
- package/dist/atoms/carousel.d.ts +5 -5
- package/dist/atoms/carousel.d.ts.map +1 -1
- package/dist/atoms/carousel.js +1 -0
- package/dist/atoms/collapsible.d.ts +3 -3
- package/dist/atoms/collapsible.d.ts.map +1 -1
- package/dist/atoms/command.d.ts +9 -9
- package/dist/atoms/command.d.ts.map +1 -1
- package/dist/atoms/container.d.ts +1 -1
- package/dist/atoms/container.d.ts.map +1 -1
- package/dist/atoms/dialog.d.ts +10 -10
- package/dist/atoms/dialog.d.ts.map +1 -1
- package/dist/atoms/dialog.js +4 -2
- package/dist/atoms/dots-loader.d.ts +1 -1
- package/dist/atoms/dots-loader.d.ts.map +1 -1
- package/dist/atoms/drawer.d.ts +10 -10
- package/dist/atoms/drawer.d.ts.map +1 -1
- package/dist/atoms/drawer.js +6 -4
- package/dist/atoms/dropdown-menu.d.ts +15 -15
- package/dist/atoms/dropdown-menu.d.ts.map +1 -1
- package/dist/atoms/dropdown-menu.js +8 -5
- package/dist/atoms/empty.d.ts +6 -6
- package/dist/atoms/empty.d.ts.map +1 -1
- package/dist/atoms/field.d.ts +10 -10
- package/dist/atoms/field.d.ts.map +1 -1
- package/dist/atoms/form.d.ts +6 -6
- package/dist/atoms/form.d.ts.map +1 -1
- package/dist/atoms/form.js +4 -2
- package/dist/atoms/header.d.ts +1 -1
- package/dist/atoms/header.d.ts.map +1 -1
- package/dist/atoms/hover-card.d.ts +3 -3
- package/dist/atoms/hover-card.d.ts.map +1 -1
- package/dist/atoms/hover-card.js +3 -1
- package/dist/atoms/input-group.d.ts +7 -7
- package/dist/atoms/input-group.d.ts.map +1 -1
- package/dist/atoms/input.d.ts +1 -1
- package/dist/atoms/input.d.ts.map +1 -1
- package/dist/atoms/input.js +1 -1
- package/dist/atoms/label.d.ts +1 -1
- package/dist/atoms/label.d.ts.map +1 -1
- package/dist/atoms/logo.d.ts +1 -1
- package/dist/atoms/logo.d.ts.map +1 -1
- package/dist/atoms/marker.d.ts +11 -0
- package/dist/atoms/marker.d.ts.map +1 -0
- package/dist/atoms/marker.js +34 -0
- package/dist/atoms/message-scroller.d.ts +11 -0
- package/dist/atoms/message-scroller.d.ts.map +1 -0
- package/dist/atoms/message-scroller.js +25 -0
- package/dist/atoms/message.d.ts +11 -0
- package/dist/atoms/message.d.ts.map +1 -0
- package/dist/atoms/message.js +21 -0
- package/dist/atoms/number-flow.d.ts +1 -1
- package/dist/atoms/number-flow.d.ts.map +1 -1
- package/dist/atoms/popover.d.ts +6 -6
- package/dist/atoms/popover.d.ts.map +1 -1
- package/dist/atoms/popover.js +3 -1
- package/dist/atoms/progress.d.ts +5 -5
- package/dist/atoms/progress.d.ts.map +1 -1
- package/dist/atoms/radio-group.d.ts +2 -2
- package/dist/atoms/radio-group.d.ts.map +1 -1
- package/dist/atoms/scroll-area.d.ts +2 -2
- package/dist/atoms/scroll-area.d.ts.map +1 -1
- package/dist/atoms/select.d.ts +9 -9
- package/dist/atoms/select.d.ts.map +1 -1
- package/dist/atoms/select.js +5 -3
- package/dist/atoms/separator.d.ts +1 -1
- package/dist/atoms/separator.d.ts.map +1 -1
- package/dist/atoms/sheet.d.ts +8 -8
- package/dist/atoms/sheet.d.ts.map +1 -1
- package/dist/atoms/sheet.js +5 -3
- package/dist/atoms/sidebar.d.ts +19 -19
- package/dist/atoms/sidebar.d.ts.map +1 -1
- package/dist/atoms/sidebar.js +1 -1
- package/dist/atoms/skeleton.d.ts +1 -1
- package/dist/atoms/skeleton.d.ts.map +1 -1
- package/dist/atoms/spinner.d.ts +1 -1
- package/dist/atoms/spinner.d.ts.map +1 -1
- package/dist/atoms/switch.d.ts +1 -1
- package/dist/atoms/switch.d.ts.map +1 -1
- package/dist/atoms/table.d.ts +8 -8
- package/dist/atoms/table.d.ts.map +1 -1
- package/dist/atoms/table.js +1 -1
- package/dist/atoms/tabs.d.ts +8 -5
- package/dist/atoms/tabs.d.ts.map +1 -1
- package/dist/atoms/tabs.js +10 -6
- package/dist/atoms/textarea.d.ts +1 -1
- package/dist/atoms/textarea.d.ts.map +1 -1
- package/dist/atoms/toggle.d.ts +2 -2
- package/dist/atoms/toggle.d.ts.map +1 -1
- package/dist/atoms/toggle.js +1 -0
- package/dist/atoms/tooltip.d.ts +7 -5
- package/dist/atoms/tooltip.d.ts.map +1 -1
- package/dist/atoms/tooltip.js +6 -4
- package/dist/atoms/typography/h1.d.ts +1 -1
- package/dist/atoms/typography/h1.d.ts.map +1 -1
- package/dist/atoms/typography/paragraph.d.ts +1 -1
- package/dist/atoms/typography/paragraph.d.ts.map +1 -1
- package/dist/hooks/use-breakpoint.d.ts.map +1 -1
- package/dist/hooks/use-breakpoint.js +1 -0
- package/dist/hooks/use-controllable-state.js +1 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +9 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -1
- package/dist/hooks/use-copy-to-clipboard.js +9 -6
- package/dist/index.css +1693 -996
- package/dist/lib/portal-container.d.ts +12 -0
- package/dist/lib/portal-container.d.ts.map +1 -0
- package/dist/lib/portal-container.js +15 -0
- package/dist/lib/utils.d.ts +8 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +27 -0
- package/dist/molecules/ai/action.d.ts +7 -0
- package/dist/molecules/ai/action.d.ts.map +1 -0
- package/dist/molecules/ai/action.js +13 -0
- package/dist/molecules/ai/agent.d.ts +7 -7
- package/dist/molecules/ai/agent.d.ts.map +1 -1
- package/dist/molecules/ai/artifact.d.ts +8 -8
- package/dist/molecules/ai/artifact.d.ts.map +1 -1
- package/dist/molecules/ai/artifact.js +2 -2
- package/dist/molecules/ai/audio-player.d.ts +11 -11
- package/dist/molecules/ai/audio-player.d.ts.map +1 -1
- package/dist/molecules/ai/audio-player.js +1 -3
- package/dist/molecules/ai/canvas.d.ts +1 -2
- package/dist/molecules/ai/canvas.d.ts.map +1 -1
- package/dist/molecules/ai/canvas.js +0 -1
- package/dist/molecules/ai/chain-of-thought.d.ts +7 -7
- package/dist/molecules/ai/chain-of-thought.d.ts.map +1 -1
- package/dist/molecules/ai/checkpoint.d.ts +3 -3
- package/dist/molecules/ai/checkpoint.d.ts.map +1 -1
- package/dist/molecules/ai/code-block.d.ts +13 -13
- package/dist/molecules/ai/code-block.d.ts.map +1 -1
- package/dist/molecules/ai/commit.d.ts +22 -22
- package/dist/molecules/ai/commit.d.ts.map +1 -1
- package/dist/molecules/ai/confirmation.d.ts +4 -12
- package/dist/molecules/ai/confirmation.d.ts.map +1 -1
- package/dist/molecules/ai/context.d.ts +10 -10
- package/dist/molecules/ai/context.d.ts.map +1 -1
- package/dist/molecules/ai/controls.d.ts +1 -1
- package/dist/molecules/ai/controls.d.ts.map +1 -1
- package/dist/molecules/ai/edge.d.ts +2 -2
- package/dist/molecules/ai/environment-variables.d.ts +11 -11
- package/dist/molecules/ai/environment-variables.d.ts.map +1 -1
- package/dist/molecules/ai/file-tree.d.ts +6 -6
- package/dist/molecules/ai/file-tree.d.ts.map +1 -1
- package/dist/molecules/ai/image.d.ts +1 -1
- package/dist/molecules/ai/image.d.ts.map +1 -1
- package/dist/molecules/ai/inline-citation.d.ts +14 -14
- package/dist/molecules/ai/inline-citation.d.ts.map +1 -1
- package/dist/molecules/ai/jsx-preview.d.ts +3 -3
- package/dist/molecules/ai/jsx-preview.d.ts.map +1 -1
- package/dist/molecules/ai/loader.d.ts +1 -1
- package/dist/molecules/ai/loader.d.ts.map +1 -1
- package/dist/molecules/ai/mic-selector.d.ts +9 -9
- package/dist/molecules/ai/mic-selector.d.ts.map +1 -1
- package/dist/molecules/ai/model-selector.d.ts +14 -14
- package/dist/molecules/ai/model-selector.d.ts.map +1 -1
- package/dist/molecules/ai/node.d.ts +7 -7
- package/dist/molecules/ai/node.d.ts.map +1 -1
- package/dist/molecules/ai/open-in-chat.d.ts +12 -12
- package/dist/molecules/ai/open-in-chat.d.ts.map +1 -1
- package/dist/molecules/ai/package-info.d.ts +9 -9
- package/dist/molecules/ai/package-info.d.ts.map +1 -1
- package/dist/molecules/ai/panel.d.ts +1 -1
- package/dist/molecules/ai/panel.d.ts.map +1 -1
- package/dist/molecules/ai/persona.d.ts.map +1 -1
- package/dist/molecules/ai/plan.d.ts +8 -8
- package/dist/molecules/ai/plan.d.ts.map +1 -1
- package/dist/molecules/ai/plan.js +3 -4
- package/dist/molecules/ai/prompt-input.d.ts +35 -35
- package/dist/molecules/ai/prompt-input.d.ts.map +1 -1
- package/dist/molecules/ai/prompt-input.js +5 -15
- package/dist/molecules/ai/queue.d.ts +15 -15
- package/dist/molecules/ai/queue.d.ts.map +1 -1
- package/dist/molecules/ai/reasoning.d.ts +3 -3
- package/dist/molecules/ai/reasoning.d.ts.map +1 -1
- package/dist/molecules/ai/reasoning.js +7 -34
- package/dist/molecules/ai/response.d.ts +3 -4
- package/dist/molecules/ai/response.d.ts.map +1 -1
- package/dist/molecules/ai/response.js +10 -14
- package/dist/molecules/ai/sandbox.d.ts +8 -8
- package/dist/molecules/ai/sandbox.d.ts.map +1 -1
- package/dist/molecules/ai/sandbox.js +1 -1
- package/dist/molecules/ai/schema-display.d.ts +13 -13
- package/dist/molecules/ai/schema-display.d.ts.map +1 -1
- package/dist/molecules/ai/snippet.d.ts +5 -5
- package/dist/molecules/ai/snippet.d.ts.map +1 -1
- package/dist/molecules/ai/sources.d.ts +6 -5
- package/dist/molecules/ai/sources.d.ts.map +1 -1
- package/dist/molecules/ai/sources.js +2 -2
- package/dist/molecules/ai/speech-input.d.ts +1 -1
- package/dist/molecules/ai/speech-input.d.ts.map +1 -1
- package/dist/molecules/ai/stack-trace.d.ts +10 -10
- package/dist/molecules/ai/stack-trace.d.ts.map +1 -1
- package/dist/molecules/ai/stack-trace.js +1 -1
- package/dist/molecules/ai/suggestion.d.ts +2 -2
- package/dist/molecules/ai/suggestion.d.ts.map +1 -1
- package/dist/molecules/ai/task.d.ts +5 -5
- package/dist/molecules/ai/task.d.ts.map +1 -1
- package/dist/molecules/ai/terminal.d.ts +8 -8
- package/dist/molecules/ai/terminal.d.ts.map +1 -1
- package/dist/molecules/ai/test-results.d.ts +17 -17
- package/dist/molecules/ai/test-results.d.ts.map +1 -1
- package/dist/molecules/ai/tool.d.ts +21 -8
- package/dist/molecules/ai/tool.d.ts.map +1 -1
- package/dist/molecules/ai/tool.js +15 -11
- package/dist/molecules/ai/toolbar.d.ts +1 -1
- package/dist/molecules/ai/toolbar.d.ts.map +1 -1
- package/dist/molecules/ai/transcription.d.ts +2 -2
- package/dist/molecules/ai/transcription.d.ts.map +1 -1
- package/dist/molecules/ai/voice-selector.d.ts +19 -19
- package/dist/molecules/ai/voice-selector.d.ts.map +1 -1
- package/dist/molecules/ai/web-preview.d.ts +6 -6
- package/dist/molecules/ai/web-preview.d.ts.map +1 -1
- package/dist/molecules/ai/web-preview.js +2 -2
- package/package.json +27 -27
- package/dist/components/accordion.d.ts +0 -7
- package/dist/components/accordion.d.ts.map +0 -1
- package/dist/components/accordion.js +0 -18
- package/dist/components/alert-dialog.d.ts +0 -19
- package/dist/components/alert-dialog.d.ts.map +0 -1
- package/dist/components/alert-dialog.js +0 -42
- package/dist/components/alert.d.ts +0 -11
- package/dist/components/alert.d.ts.map +0 -1
- package/dist/components/alert.js +0 -27
- package/dist/components/avatar.d.ts +0 -12
- package/dist/components/avatar.d.ts.map +0 -1
- package/dist/components/avatar.js +0 -23
- package/dist/components/badge.d.ts +0 -8
- package/dist/components/badge.d.ts.map +0 -1
- package/dist/components/badge.js +0 -44
- package/dist/components/button-group.d.ts +0 -11
- package/dist/components/button-group.d.ts.map +0 -1
- package/dist/components/button-group.js +0 -36
- package/dist/components/button-loader.d.ts +0 -9
- package/dist/components/button-loader.d.ts.map +0 -1
- package/dist/components/button-loader.js +0 -10
- package/dist/components/button.d.ts +0 -9
- package/dist/components/button.d.ts.map +0 -1
- package/dist/components/button.js +0 -32
- package/dist/components/card.d.ts +0 -12
- package/dist/components/card.d.ts.map +0 -1
- package/dist/components/card.js +0 -25
- package/dist/components/carousel.d.ts +0 -29
- package/dist/components/carousel.d.ts.map +0 -1
- package/dist/components/carousel.js +0 -91
- package/dist/components/collapsible.d.ts +0 -6
- package/dist/components/collapsible.d.ts.map +0 -1
- package/dist/components/collapsible.js +0 -13
- package/dist/components/command.d.ts +0 -20
- package/dist/components/command.d.ts.map +0 -1
- package/dist/components/command.js +0 -35
- package/dist/components/container.d.ts +0 -8
- package/dist/components/container.d.ts.map +0 -1
- package/dist/components/container.js +0 -5
- package/dist/components/dialog.d.ts +0 -19
- package/dist/components/dialog.d.ts.map +0 -1
- package/dist/components/dialog.js +0 -38
- package/dist/components/dots-loader.d.ts +0 -15
- package/dist/components/dots-loader.d.ts.map +0 -1
- package/dist/components/dots-loader.js +0 -21
- package/dist/components/drawer.d.ts +0 -14
- package/dist/components/drawer.d.ts.map +0 -1
- package/dist/components/drawer.js +0 -35
- package/dist/components/dropdown-menu.d.ts +0 -26
- package/dist/components/dropdown-menu.d.ts.map +0 -1
- package/dist/components/dropdown-menu.js +0 -51
- package/dist/components/empty.d.ts +0 -12
- package/dist/components/empty.d.ts.map +0 -1
- package/dist/components/empty.js +0 -33
- package/dist/components/field.d.ts +0 -25
- package/dist/components/field.d.ts.map +0 -1
- package/dist/components/field.js +0 -68
- package/dist/components/form.d.ts +0 -23
- package/dist/components/form.d.ts.map +0 -1
- package/dist/components/form.js +0 -68
- package/dist/components/header.d.ts +0 -6
- package/dist/components/header.d.ts.map +0 -1
- package/dist/components/header.js +0 -6
- package/dist/components/hover-card.d.ts +0 -6
- package/dist/components/hover-card.d.ts.map +0 -1
- package/dist/components/hover-card.js +0 -14
- package/dist/components/index.d.ts +0 -5
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -5
- package/dist/components/input-group.d.ts +0 -19
- package/dist/components/input-group.d.ts.map +0 -1
- package/dist/components/input-group.js +0 -57
- package/dist/components/input.d.ts +0 -7
- package/dist/components/input.d.ts.map +0 -1
- package/dist/components/input.js +0 -6
- package/dist/components/label.d.ts +0 -3
- package/dist/components/label.d.ts.map +0 -1
- package/dist/components/label.js +0 -7
- package/dist/components/logo.d.ts +0 -7
- package/dist/components/logo.d.ts.map +0 -1
- package/dist/components/logo.js +0 -6
- package/dist/components/number-flow.d.ts +0 -3
- package/dist/components/number-flow.d.ts.map +0 -1
- package/dist/components/number-flow.js +0 -6
- package/dist/components/popover.d.ts +0 -10
- package/dist/components/popover.d.ts.map +0 -1
- package/dist/components/popover.js +0 -23
- package/dist/components/progress.d.ts +0 -8
- package/dist/components/progress.d.ts.map +0 -1
- package/dist/components/progress.js +0 -20
- package/dist/components/radio-group.d.ts +0 -6
- package/dist/components/radio-group.d.ts.map +0 -1
- package/dist/components/radio-group.js +0 -13
- package/dist/components/responsive-alert-dialog.d.ts +0 -16
- package/dist/components/responsive-alert-dialog.d.ts.map +0 -1
- package/dist/components/responsive-alert-dialog.js +0 -20
- package/dist/components/responsive-dialog.d.ts +0 -11
- package/dist/components/responsive-dialog.d.ts.map +0 -1
- package/dist/components/responsive-dialog.js +0 -21
- package/dist/components/scroll-area.d.ts +0 -5
- package/dist/components/scroll-area.d.ts.map +0 -1
- package/dist/components/scroll-area.js +0 -11
- package/dist/components/select.d.ts +0 -17
- package/dist/components/select.d.ts.map +0 -1
- package/dist/components/select.js +0 -34
- package/dist/components/separator.d.ts +0 -3
- package/dist/components/separator.d.ts.map +0 -1
- package/dist/components/separator.js +0 -7
- package/dist/components/sheet.d.ts +0 -15
- package/dist/components/sheet.d.ts.map +0 -1
- package/dist/components/sheet.js +0 -37
- package/dist/components/sidebar.d.ts +0 -65
- package/dist/components/sidebar.d.ts.map +0 -1
- package/dist/components/sidebar.js +0 -258
- package/dist/components/skeleton.d.ts +0 -2
- package/dist/components/skeleton.d.ts.map +0 -1
- package/dist/components/skeleton.js +0 -5
- package/dist/components/spinner.d.ts +0 -3
- package/dist/components/spinner.d.ts.map +0 -1
- package/dist/components/spinner.js +0 -7
- package/dist/components/switch.d.ts +0 -5
- package/dist/components/switch.d.ts.map +0 -1
- package/dist/components/switch.js +0 -7
- package/dist/components/table.d.ts +0 -13
- package/dist/components/table.d.ts.map +0 -1
- package/dist/components/table.js +0 -28
- package/dist/components/tabs.d.ts +0 -12
- package/dist/components/tabs.d.ts.map +0 -1
- package/dist/components/tabs.js +0 -32
- package/dist/components/textarea.d.ts +0 -3
- package/dist/components/textarea.d.ts.map +0 -1
- package/dist/components/textarea.js +0 -5
- package/dist/components/toggle.d.ts +0 -9
- package/dist/components/toggle.d.ts.map +0 -1
- package/dist/components/toggle.js +0 -26
- package/dist/components/tooltip.d.ts +0 -7
- package/dist/components/tooltip.d.ts.map +0 -1
- package/dist/components/tooltip.js +0 -17
- package/dist/components/typography/h1.d.ts +0 -10
- package/dist/components/typography/h1.d.ts.map +0 -1
- package/dist/components/typography/h1.js +0 -6
- package/dist/components/typography/paragraph.d.ts +0 -6
- package/dist/components/typography/paragraph.d.ts.map +0 -1
- package/dist/components/typography/paragraph.js +0 -6
- package/dist/components/typography/text.d.ts +0 -14
- package/dist/components/typography/text.d.ts.map +0 -1
- package/dist/components/typography/text.js +0 -41
- package/dist/molecules/actions.d.ts +0 -10
- package/dist/molecules/actions.d.ts.map +0 -1
- package/dist/molecules/actions.js +0 -13
- package/dist/molecules/agent.d.ts +0 -27
- package/dist/molecules/agent.d.ts.map +0 -1
- package/dist/molecules/agent.js +0 -27
- package/dist/molecules/ai/actions.d.ts +0 -10
- package/dist/molecules/ai/actions.d.ts.map +0 -1
- package/dist/molecules/ai/actions.js +0 -13
- package/dist/molecules/ai/attachments.d.ts +0 -55
- package/dist/molecules/ai/attachments.d.ts.map +0 -1
- package/dist/molecules/ai/attachments.js +0 -125
- package/dist/molecules/ai/conversation.d.ts +0 -24
- package/dist/molecules/ai/conversation.d.ts.map +0 -1
- package/dist/molecules/ai/conversation.js +0 -41
- package/dist/molecules/ai/message.d.ts +0 -38
- package/dist/molecules/ai/message.d.ts.map +0 -1
- package/dist/molecules/ai/message.js +0 -92
- package/dist/molecules/ai/shimmer.d.ts +0 -10
- package/dist/molecules/ai/shimmer.d.ts.map +0 -1
- package/dist/molecules/ai/shimmer.js +0 -28
- package/dist/molecules/artifact.d.ts +0 -24
- package/dist/molecules/artifact.d.ts.map +0 -1
- package/dist/molecules/artifact.js +0 -20
- package/dist/molecules/attachments.d.ts +0 -55
- package/dist/molecules/attachments.d.ts.map +0 -1
- package/dist/molecules/attachments.js +0 -125
- package/dist/molecules/audio-player.d.ts +0 -30
- package/dist/molecules/audio-player.d.ts.map +0 -1
- package/dist/molecules/audio-player.js +0 -43
- package/dist/molecules/canvas.d.ts +0 -9
- package/dist/molecules/canvas.d.ts.map +0 -1
- package/dist/molecules/canvas.js +0 -5
- package/dist/molecules/chain-of-thought.d.ts +0 -30
- package/dist/molecules/chain-of-thought.d.ts.map +0 -1
- package/dist/molecules/chain-of-thought.js +0 -49
- package/dist/molecules/chat-message.d.ts +0 -10
- package/dist/molecules/chat-message.d.ts.map +0 -1
- package/dist/molecules/chat-message.js +0 -53
- package/dist/molecules/checkpoint.d.ts +0 -12
- package/dist/molecules/checkpoint.d.ts.map +0 -1
- package/dist/molecules/checkpoint.js +0 -10
- package/dist/molecules/code-block.d.ts +0 -46
- package/dist/molecules/code-block.d.ts.map +0 -1
- package/dist/molecules/code-block.js +0 -216
- package/dist/molecules/commit.d.ts +0 -65
- package/dist/molecules/commit.d.ts.map +0 -1
- package/dist/molecules/commit.js +0 -95
- package/dist/molecules/confirmation.d.ts +0 -50
- package/dist/molecules/confirmation.d.ts.map +0 -1
- package/dist/molecules/confirmation.js +0 -61
- package/dist/molecules/connection.d.ts +0 -3
- package/dist/molecules/connection.d.ts.map +0 -1
- package/dist/molecules/connection.js +0 -3
- package/dist/molecules/context.d.ts +0 -33
- package/dist/molecules/context.d.ts.map +0 -1
- package/dist/molecules/context.js +0 -164
- package/dist/molecules/controls.d.ts +0 -5
- package/dist/molecules/controls.d.ts.map +0 -1
- package/dist/molecules/controls.js +0 -5
- package/dist/molecules/conversation.d.ts +0 -24
- package/dist/molecules/conversation.d.ts.map +0 -1
- package/dist/molecules/conversation.js +0 -41
- package/dist/molecules/edge.d.ts +0 -6
- package/dist/molecules/edge.d.ts.map +0 -1
- package/dist/molecules/edge.js +0 -87
- package/dist/molecules/environment-variables.d.ts +0 -39
- package/dist/molecules/environment-variables.d.ts.map +0 -1
- package/dist/molecules/environment-variables.js +0 -87
- package/dist/molecules/file-tree.d.ts +0 -27
- package/dist/molecules/file-tree.d.ts.map +0 -1
- package/dist/molecules/file-tree.js +0 -71
- package/dist/molecules/image.d.ts +0 -7
- package/dist/molecules/image.d.ts.map +0 -1
- package/dist/molecules/image.js +0 -3
- package/dist/molecules/inline-citation.d.ts +0 -39
- package/dist/molecules/inline-citation.d.ts.map +0 -1
- package/dist/molecules/inline-citation.js +0 -68
- package/dist/molecules/jsx-preview.d.ts +0 -30
- package/dist/molecules/jsx-preview.d.ts.map +0 -1
- package/dist/molecules/jsx-preview.js +0 -167
- package/dist/molecules/loader.d.ts +0 -6
- package/dist/molecules/loader.d.ts.map +0 -1
- package/dist/molecules/loader.js +0 -4
- package/dist/molecules/message.d.ts +0 -38
- package/dist/molecules/message.d.ts.map +0 -1
- package/dist/molecules/message.js +0 -92
- package/dist/molecules/mic-selector.d.ts +0 -46
- package/dist/molecules/mic-selector.d.ts.map +0 -1
- package/dist/molecules/mic-selector.js +0 -184
- package/dist/molecules/model-selector.d.ts +0 -36
- package/dist/molecules/model-selector.d.ts.map +0 -1
- package/dist/molecules/model-selector.js +0 -18
- package/dist/molecules/node.d.ts +0 -22
- package/dist/molecules/node.d.ts.map +0 -1
- package/dist/molecules/node.js +0 -11
- package/dist/molecules/open-in-chat.d.ts +0 -29
- package/dist/molecules/open-in-chat.d.ts.map +0 -1
- package/dist/molecules/open-in-chat.js +0 -100
- package/dist/molecules/package-info.d.ts +0 -30
- package/dist/molecules/package-info.d.ts.map +0 -1
- package/dist/molecules/package-info.js +0 -50
- package/dist/molecules/panel.d.ts +0 -6
- package/dist/molecules/panel.d.ts.map +0 -1
- package/dist/molecules/panel.js +0 -4
- package/dist/molecules/persona.d.ts +0 -49
- package/dist/molecules/persona.d.ts.map +0 -1
- package/dist/molecules/persona.js +0 -189
- package/dist/molecules/plan.d.ts +0 -26
- package/dist/molecules/plan.d.ts.map +0 -1
- package/dist/molecules/plan.js +0 -34
- package/dist/molecules/prompt-input.d.ts +0 -149
- package/dist/molecules/prompt-input.d.ts.map +0 -1
- package/dist/molecules/prompt-input.js +0 -702
- package/dist/molecules/queue.d.ts +0 -62
- package/dist/molecules/queue.d.ts.map +0 -1
- package/dist/molecules/queue.js +0 -28
- package/dist/molecules/reasoning.d.ts +0 -27
- package/dist/molecules/reasoning.d.ts.map +0 -1
- package/dist/molecules/reasoning.js +0 -95
- package/dist/molecules/response.d.ts +0 -6
- package/dist/molecules/response.d.ts.map +0 -1
- package/dist/molecules/response.js +0 -18
- package/dist/molecules/responsive-alert-dialog.d.ts +0 -16
- package/dist/molecules/responsive-alert-dialog.d.ts.map +0 -1
- package/dist/molecules/responsive-alert-dialog.js +0 -20
- package/dist/molecules/responsive-dialog.d.ts +0 -11
- package/dist/molecules/responsive-dialog.d.ts.map +0 -1
- package/dist/molecules/responsive-dialog.js +0 -21
- package/dist/molecules/sandbox.d.ts +0 -25
- package/dist/molecules/sandbox.d.ts.map +0 -1
- package/dist/molecules/sandbox.js +0 -15
- package/dist/molecules/schema-display.d.ts +0 -56
- package/dist/molecules/schema-display.d.ts.map +0 -1
- package/dist/molecules/schema-display.js +0 -73
- package/dist/molecules/shimmer.d.ts +0 -10
- package/dist/molecules/shimmer.d.ts.map +0 -1
- package/dist/molecules/shimmer.js +0 -28
- package/dist/molecules/snippet.d.ts +0 -19
- package/dist/molecules/snippet.d.ts.map +0 -1
- package/dist/molecules/snippet.js +0 -46
- package/dist/molecules/sources.d.ts +0 -13
- package/dist/molecules/sources.d.ts.map +0 -1
- package/dist/molecules/sources.js +0 -9
- package/dist/molecules/speech-input.d.ts +0 -55
- package/dist/molecules/speech-input.d.ts.map +0 -1
- package/dist/molecules/speech-input.js +0 -187
- package/dist/molecules/stack-trace.d.ts +0 -38
- package/dist/molecules/stack-trace.d.ts.map +0 -1
- package/dist/molecules/stack-trace.js +0 -194
- package/dist/molecules/suggestion.d.ts +0 -11
- package/dist/molecules/suggestion.d.ts.map +0 -1
- package/dist/molecules/suggestion.js +0 -13
- package/dist/molecules/task.d.ts +0 -15
- package/dist/molecules/task.d.ts.map +0 -1
- package/dist/molecules/task.js +0 -10
- package/dist/molecules/terminal.d.ts +0 -28
- package/dist/molecules/terminal.d.ts.map +0 -1
- package/dist/molecules/terminal.js +0 -68
- package/dist/molecules/test-results.d.ts +0 -59
- package/dist/molecules/test-results.d.ts.map +0 -1
- package/dist/molecules/test-results.js +0 -97
- package/dist/molecules/tool.d.ts +0 -32
- package/dist/molecules/tool.d.ts.map +0 -1
- package/dist/molecules/tool.js +0 -49
- package/dist/molecules/toolbar.d.ts +0 -6
- package/dist/molecules/toolbar.d.ts.map +0 -1
- package/dist/molecules/toolbar.js +0 -4
- package/dist/molecules/transcription.d.ts +0 -17
- package/dist/molecules/transcription.d.ts.map +0 -1
- package/dist/molecules/transcription.js +0 -36
- package/dist/molecules/voice-selector.d.ts +0 -64
- package/dist/molecules/voice-selector.d.ts.map +0 -1
- package/dist/molecules/voice-selector.js +0 -224
- package/dist/molecules/web-preview.d.ts +0 -35
- package/dist/molecules/web-preview.d.ts.map +0 -1
- package/dist/molecules/web-preview.js +0 -65
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "@chatsdk-dev/ui/lib/utils";
|
|
4
|
+
import { cjk } from "@streamdown/cjk";
|
|
5
|
+
import { code } from "@streamdown/code";
|
|
6
|
+
import { math } from "@streamdown/math";
|
|
7
|
+
import { mermaid } from "@streamdown/mermaid";
|
|
3
8
|
import { memo } from "react";
|
|
4
9
|
import { Streamdown } from "streamdown";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
// "[&_h2]:mt-3 [&_h2]:mb-2 [&_h2]:text-xs! [&_h2]:font-bold [&_h2:first-child]:mt-0",
|
|
11
|
-
// "[&_h3]:mt-2 [&_h3]:mb-1 [&_h3]:text-xs! [&_h3]:font-semibold [&_h3:first-child]:mt-0",
|
|
12
|
-
// "[&_h4]:mt-2 [&_h4]:mb-1 [&_h4]:text-xs! [&_h4]:font-medium [&_h4:first-child]:mt-0",
|
|
13
|
-
"[&_ul]:list-disc [&_ul]:pl-4", "[&_ol]:list-decimal [&_ol]:pl-4", "[&_li]:pl-1 [&_li]:leading-relaxed [&_li_p]:inline",
|
|
14
|
-
// "[&_table]:my-2 [&_table]:w-full [&_table]:border-collapse [&_table]:text-[12px]",
|
|
15
|
-
// "[&_th]:border-border [&_th]:border-b [&_th]:p-1.5 [&_th]:text-left [&_th]:text-[12px] [&_th]:font-semibold",
|
|
16
|
-
// "[&_td]:border-border [&_td]:border-b [&_td]:p-1.5 [&_td]:text-[12px]",
|
|
17
|
-
className), ...props })), (prevProps, nextProps) => prevProps.children === nextProps.children);
|
|
18
|
-
Response.displayName = "Response";
|
|
10
|
+
const streamdownPlugins = { cjk, code, math, mermaid };
|
|
11
|
+
// Markdown/streaming renderer for assistant content. Not part of the shadcn
|
|
12
|
+
// message/bubble anatomy — those are presentation; this is the content.
|
|
13
|
+
export const MessageResponse = memo(({ className, ...props }) => (_jsx(Streamdown, { className: cn("size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0", "[&_ul]:list-disc [&_ul]:ml-6 [&_ul]:pl-0", "[&_ol]:list-decimal [&_ol]:pl-4", "[&_li]:pl-0 [&_li]:leading-relaxed [&_li_p]:inline", className), plugins: streamdownPlugins, ...props })));
|
|
14
|
+
MessageResponse.displayName = "MessageResponse";
|
|
@@ -3,23 +3,23 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@chatsdk-dev/ui/atoms/
|
|
|
3
3
|
import type { ToolUIPart } from "ai";
|
|
4
4
|
import type { ComponentProps } from "react";
|
|
5
5
|
export type SandboxRootProps = ComponentProps<typeof Collapsible>;
|
|
6
|
-
export declare const Sandbox: ({ className, ...props }: SandboxRootProps) => import("react
|
|
6
|
+
export declare const Sandbox: ({ className, ...props }: SandboxRootProps) => import("react").JSX.Element;
|
|
7
7
|
export interface SandboxHeaderProps {
|
|
8
8
|
title?: string;
|
|
9
9
|
state: ToolUIPart["state"];
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare const SandboxHeader: ({ className, title, state, ...props }: SandboxHeaderProps) => import("react
|
|
12
|
+
export declare const SandboxHeader: ({ className, title, state, ...props }: SandboxHeaderProps) => import("react").JSX.Element;
|
|
13
13
|
export type SandboxContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
14
|
-
export declare const SandboxContent: ({ className, ...props }: SandboxContentProps) => import("react
|
|
14
|
+
export declare const SandboxContent: ({ className, ...props }: SandboxContentProps) => import("react").JSX.Element;
|
|
15
15
|
export type SandboxTabsProps = ComponentProps<typeof Tabs>;
|
|
16
|
-
export declare const SandboxTabs: ({ className, ...props }: SandboxTabsProps) => import("react
|
|
16
|
+
export declare const SandboxTabs: ({ className, ...props }: SandboxTabsProps) => import("react").JSX.Element;
|
|
17
17
|
export type SandboxTabsBarProps = ComponentProps<"div">;
|
|
18
|
-
export declare const SandboxTabsBar: ({ className, ...props }: SandboxTabsBarProps) => import("react
|
|
18
|
+
export declare const SandboxTabsBar: ({ className, ...props }: SandboxTabsBarProps) => import("react").JSX.Element;
|
|
19
19
|
export type SandboxTabsListProps = ComponentProps<typeof TabsList>;
|
|
20
|
-
export declare const SandboxTabsList: ({ className, ...props }: SandboxTabsListProps) => import("react
|
|
20
|
+
export declare const SandboxTabsList: ({ className, ...props }: SandboxTabsListProps) => import("react").JSX.Element;
|
|
21
21
|
export type SandboxTabsTriggerProps = ComponentProps<typeof TabsTrigger>;
|
|
22
|
-
export declare const SandboxTabsTrigger: ({ className, ...props }: SandboxTabsTriggerProps) => import("react
|
|
22
|
+
export declare const SandboxTabsTrigger: ({ className, ...props }: SandboxTabsTriggerProps) => import("react").JSX.Element;
|
|
23
23
|
export type SandboxTabContentProps = ComponentProps<typeof TabsContent>;
|
|
24
|
-
export declare const SandboxTabContent: ({ className, ...props }: SandboxTabContentProps) => import("react
|
|
24
|
+
export declare const SandboxTabContent: ({ className, ...props }: SandboxTabContentProps) => import("react").JSX.Element;
|
|
25
25
|
//# sourceMappingURL=sandbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../src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AAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAE3D,eAAO,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,gCAEpE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAExD,eAAO,MAAM,cAAc,GAAI,yBAG5B,mBAAmB,gCAQrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEnE,eAAO,MAAM,eAAe,GAAI,yBAG7B,oBAAoB,gCAKtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzE,eAAO,MAAM,kBAAkB,GAAI,yBAGhC,uBAAuB,gCAQzB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB,GAAI,yBAG/B,sBAAsB,gCAExB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { cn } from "@chatsdk-dev/ui/lib/utils";
|
|
|
6
6
|
import { ChevronDownIcon, Code } from "lucide-react";
|
|
7
7
|
import { getStatusBadge } from "./tool";
|
|
8
8
|
export const Sandbox = ({ className, ...props }) => (_jsx(Collapsible, { className: cn("not-prose group mb-4 w-full overflow-hidden rounded-md border", className), defaultOpen: true, ...props }));
|
|
9
|
-
export const SandboxHeader = ({ className, title, state, ...props }) => (_jsxs(CollapsibleTrigger, { className: cn("flex w-full items-center justify-between gap-4 p-3", className), ...props, children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Code, { className: "size-4 text-muted-foreground" }), _jsx("span", { className: "font-medium text-sm", children: title }), getStatusBadge(state)] }), _jsx(ChevronDownIcon, { className: "size-4 text-muted-foreground transition-transform group-data-[state=open]:rotate-180" })] }));
|
|
9
|
+
export const SandboxHeader = ({ className, title, state, ...props }) => (_jsxs(CollapsibleTrigger, { className: cn("flex w-full items-center justify-between gap-4 p-3", className), ...props, children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Code, { className: "size-4 text-muted-foreground" }), _jsx("span", { className: "font-medium text-sm", children: title }), getStatusBadge({ status: state })] }), _jsx(ChevronDownIcon, { className: "size-4 text-muted-foreground transition-transform group-data-[state=open]:rotate-180" })] }));
|
|
10
10
|
export const SandboxContent = ({ className, ...props }) => (_jsx(CollapsibleContent, { className: cn("data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 outline-none data-[state=closed]:animate-out data-[state=open]:animate-in", className), ...props }));
|
|
11
11
|
export const SandboxTabs = ({ className, ...props }) => (_jsx(Tabs, { className: cn("w-full gap-0", className), ...props }));
|
|
12
12
|
export const SandboxTabsBar = ({ className, ...props }) => (_jsx("div", { className: cn("flex w-full items-center border-border border-t border-b", className), ...props }));
|
|
@@ -18,27 +18,27 @@ interface SchemaProperty {
|
|
|
18
18
|
items?: SchemaProperty;
|
|
19
19
|
}
|
|
20
20
|
export type SchemaDisplayHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
21
|
-
export declare const SchemaDisplayHeader: ({ className, children, ...props }: SchemaDisplayHeaderProps) => import("react
|
|
21
|
+
export declare const SchemaDisplayHeader: ({ className, children, ...props }: SchemaDisplayHeaderProps) => import("react").JSX.Element;
|
|
22
22
|
export type SchemaDisplayMethodProps = ComponentProps<typeof Badge>;
|
|
23
|
-
export declare const SchemaDisplayMethod: ({ className, children, ...props }: SchemaDisplayMethodProps) => import("react
|
|
23
|
+
export declare const SchemaDisplayMethod: ({ className, children, ...props }: SchemaDisplayMethodProps) => import("react").JSX.Element;
|
|
24
24
|
export type SchemaDisplayPathProps = HTMLAttributes<HTMLSpanElement>;
|
|
25
|
-
export declare const SchemaDisplayPath: ({ className, children, ...props }: SchemaDisplayPathProps) => import("react
|
|
25
|
+
export declare const SchemaDisplayPath: ({ className, children, ...props }: SchemaDisplayPathProps) => import("react").JSX.Element;
|
|
26
26
|
export type SchemaDisplayDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
27
|
-
export declare const SchemaDisplayDescription: ({ className, children, ...props }: SchemaDisplayDescriptionProps) => import("react
|
|
27
|
+
export declare const SchemaDisplayDescription: ({ className, children, ...props }: SchemaDisplayDescriptionProps) => import("react").JSX.Element;
|
|
28
28
|
export type SchemaDisplayContentProps = HTMLAttributes<HTMLDivElement>;
|
|
29
|
-
export declare const SchemaDisplayContent: ({ className, children, ...props }: SchemaDisplayContentProps) => import("react
|
|
29
|
+
export declare const SchemaDisplayContent: ({ className, children, ...props }: SchemaDisplayContentProps) => import("react").JSX.Element;
|
|
30
30
|
export type SchemaDisplayParameterProps = HTMLAttributes<HTMLDivElement> & SchemaParameter;
|
|
31
|
-
export declare const SchemaDisplayParameter: ({ name, type, required, description, location, className, ...props }: SchemaDisplayParameterProps) => import("react
|
|
31
|
+
export declare const SchemaDisplayParameter: ({ name, type, required, description, location, className, ...props }: SchemaDisplayParameterProps) => import("react").JSX.Element;
|
|
32
32
|
export type SchemaDisplayParametersProps = ComponentProps<typeof Collapsible>;
|
|
33
|
-
export declare const SchemaDisplayParameters: ({ className, children, ...props }: SchemaDisplayParametersProps) => import("react
|
|
33
|
+
export declare const SchemaDisplayParameters: ({ className, children, ...props }: SchemaDisplayParametersProps) => import("react").JSX.Element;
|
|
34
34
|
export type SchemaDisplayPropertyProps = HTMLAttributes<HTMLDivElement> & SchemaProperty & {
|
|
35
35
|
depth?: number;
|
|
36
36
|
};
|
|
37
|
-
export declare const SchemaDisplayProperty: ({ name, type, required, description, properties, items, depth, className, ...props }: SchemaDisplayPropertyProps) => import("react
|
|
37
|
+
export declare const SchemaDisplayProperty: ({ name, type, required, description, properties, items, depth, className, ...props }: SchemaDisplayPropertyProps) => import("react").JSX.Element;
|
|
38
38
|
export type SchemaDisplayRequestProps = ComponentProps<typeof Collapsible>;
|
|
39
|
-
export declare const SchemaDisplayRequest: ({ className, children, ...props }: SchemaDisplayRequestProps) => import("react
|
|
39
|
+
export declare const SchemaDisplayRequest: ({ className, children, ...props }: SchemaDisplayRequestProps) => import("react").JSX.Element;
|
|
40
40
|
export type SchemaDisplayResponseProps = ComponentProps<typeof Collapsible>;
|
|
41
|
-
export declare const SchemaDisplayResponse: ({ className, children, ...props }: SchemaDisplayResponseProps) => import("react
|
|
41
|
+
export declare const SchemaDisplayResponse: ({ className, children, ...props }: SchemaDisplayResponseProps) => import("react").JSX.Element;
|
|
42
42
|
export type SchemaDisplayProps = HTMLAttributes<HTMLDivElement> & {
|
|
43
43
|
method: HttpMethod;
|
|
44
44
|
path: string;
|
|
@@ -47,10 +47,10 @@ export type SchemaDisplayProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
47
47
|
requestBody?: SchemaProperty[];
|
|
48
48
|
responseBody?: SchemaProperty[];
|
|
49
49
|
};
|
|
50
|
-
export declare const SchemaDisplay: ({ method, path, description, parameters, requestBody, responseBody, className, children, ...props }: SchemaDisplayProps) => import("react
|
|
50
|
+
export declare const SchemaDisplay: ({ method, path, description, parameters, requestBody, responseBody, className, children, ...props }: SchemaDisplayProps) => import("react").JSX.Element;
|
|
51
51
|
export type SchemaDisplayBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
52
|
-
export declare const SchemaDisplayBody: ({ className, children, ...props }: SchemaDisplayBodyProps) => import("react
|
|
52
|
+
export declare const SchemaDisplayBody: ({ className, children, ...props }: SchemaDisplayBodyProps) => import("react").JSX.Element;
|
|
53
53
|
export type SchemaDisplayExampleProps = HTMLAttributes<HTMLPreElement>;
|
|
54
|
-
export declare const SchemaDisplayExample: ({ className, children, ...props }: SchemaDisplayExampleProps) => import("react
|
|
54
|
+
export declare const SchemaDisplayExample: ({ className, children, ...props }: SchemaDisplayExampleProps) => import("react").JSX.Element;
|
|
55
55
|
export {};
|
|
56
56
|
//# sourceMappingURL=schema-display.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-display.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/schema-display.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EACL,WAAW,EAGZ,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5D,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE9D,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;CACxC;AAED,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAyBD,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEtE,eAAO,MAAM,mBAAmB,GAAI,mCAIjC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"schema-display.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/schema-display.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EACL,WAAW,EAGZ,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5D,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,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
@@ -3,17 +3,17 @@ import type { ComponentProps } from "react";
|
|
|
3
3
|
export type SnippetProps = ComponentProps<typeof InputGroup> & {
|
|
4
4
|
code: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const Snippet: ({ code, className, children, ...props }: SnippetProps) => import("react
|
|
6
|
+
export declare const Snippet: ({ code, className, children, ...props }: SnippetProps) => import("react").JSX.Element;
|
|
7
7
|
export type SnippetAddonProps = ComponentProps<typeof InputGroupAddon>;
|
|
8
|
-
export declare const SnippetAddon: (props: SnippetAddonProps) => import("react
|
|
8
|
+
export declare const SnippetAddon: (props: SnippetAddonProps) => import("react").JSX.Element;
|
|
9
9
|
export type SnippetTextProps = ComponentProps<typeof InputGroupText>;
|
|
10
|
-
export declare const SnippetText: ({ className, ...props }: SnippetTextProps) => import("react
|
|
10
|
+
export declare const SnippetText: ({ className, ...props }: SnippetTextProps) => import("react").JSX.Element;
|
|
11
11
|
export type SnippetInputProps = Omit<ComponentProps<typeof InputGroupInput>, "readOnly" | "value">;
|
|
12
|
-
export declare const SnippetInput: ({ className, ...props }: SnippetInputProps) => import("react
|
|
12
|
+
export declare const SnippetInput: ({ className, ...props }: SnippetInputProps) => import("react").JSX.Element;
|
|
13
13
|
export type SnippetCopyButtonProps = ComponentProps<typeof InputGroupButton> & {
|
|
14
14
|
onCopy?: () => void;
|
|
15
15
|
onError?: (error: Error) => void;
|
|
16
16
|
timeout?: number;
|
|
17
17
|
};
|
|
18
|
-
export declare const SnippetCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: SnippetCopyButtonProps) => import("react
|
|
18
|
+
export declare const SnippetCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: SnippetCopyButtonProps) => import("react").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=snippet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippet.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/snippet.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EAC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C;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,6DAO/B,sBAAsB,gCA+CxB,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { CollapsibleContent, CollapsibleTrigger } from "@chatsdk-dev/ui/atoms/collapsible";
|
|
2
|
-
import type { ComponentProps } from "react";
|
|
2
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
3
3
|
export type SourcesProps = ComponentProps<"div">;
|
|
4
|
-
export declare const Sources: ({ className, ...props }: SourcesProps) => import("react
|
|
4
|
+
export declare const Sources: ({ className, ...props }: SourcesProps) => import("react").JSX.Element;
|
|
5
5
|
export type SourcesTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
6
6
|
count: number;
|
|
7
|
+
label?: ReactNode;
|
|
7
8
|
};
|
|
8
|
-
export declare const SourcesTrigger: ({ className, count, children, ...props }: SourcesTriggerProps) => import("react
|
|
9
|
+
export declare const SourcesTrigger: ({ className, count, label, children, ...props }: SourcesTriggerProps) => import("react").JSX.Element;
|
|
9
10
|
export type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
10
|
-
export declare const SourcesContent: ({ className, ...props }: SourcesContentProps) => import("react
|
|
11
|
+
export declare const SourcesContent: ({ className, ...props }: SourcesContentProps) => import("react").JSX.Element;
|
|
11
12
|
export type SourceProps = ComponentProps<"a">;
|
|
12
|
-
export declare const Source: ({ href, title, children, ...props }: SourceProps) => import("react
|
|
13
|
+
export declare const Source: ({ href, title, children, ...props }: SourceProps) => import("react").JSX.Element;
|
|
13
14
|
//# sourceMappingURL=sources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/sources.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/sources.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,GAAI,yBAAyB,YAAY,gCAK5D,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAAG;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,iDAM5B,mBAAmB,gCAYrB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE5E,eAAO,MAAM,cAAc,GAAI,yBAG5B,mBAAmB,gCASrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;AAE9C,eAAO,MAAM,MAAM,GAAI,qCAAqC,WAAW,gCAetE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as _jsx,
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@chatsdk-dev/ui/atoms/collapsible";
|
|
4
4
|
import { cn } from "@chatsdk-dev/ui/lib/utils";
|
|
5
5
|
import { BookIcon, ChevronDownIcon } from "lucide-react";
|
|
6
6
|
export const Sources = ({ className, ...props }) => (_jsx(Collapsible, { className: cn("not-prose mb-4 text-primary text-xs", className), ...props }));
|
|
7
|
-
export const SourcesTrigger = ({ className, count, children, ...props }) => (_jsx(CollapsibleTrigger, { className: cn("flex items-center gap-2", className), ...props, children: children ?? (_jsxs(_Fragment, { children: [
|
|
7
|
+
export const SourcesTrigger = ({ className, count, label, children, ...props }) => (_jsx(CollapsibleTrigger, { className: cn("flex items-center gap-2", className), ...props, children: children ?? (_jsxs(_Fragment, { children: [_jsx("p", { className: "font-medium", children: label ?? `Used ${count} sources` }), _jsx(ChevronDownIcon, { className: "h-4 w-4" })] })) }));
|
|
8
8
|
export const SourcesContent = ({ className, ...props }) => (_jsx(CollapsibleContent, { className: cn("mt-3 flex w-fit flex-col gap-2", "data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 outline-none data-[state=closed]:animate-out data-[state=open]:animate-in", className), ...props }));
|
|
9
9
|
export const Source = ({ href, title, children, ...props }) => (_jsx("a", { className: "flex items-center gap-2", href: href, rel: "noreferrer", target: "_blank", ...props, children: children ?? (_jsxs(_Fragment, { children: [_jsx(BookIcon, { className: "h-4 w-4" }), _jsx("span", { className: "block font-medium", children: title })] })) }));
|
|
@@ -50,6 +50,6 @@ export type SpeechInputProps = ComponentProps<typeof Button> & {
|
|
|
50
50
|
onAudioRecorded?: (audioBlob: Blob) => Promise<string>;
|
|
51
51
|
lang?: string;
|
|
52
52
|
};
|
|
53
|
-
export declare const SpeechInput: ({ className, onTranscriptionChange, onAudioRecorded, lang, ...props }: SpeechInputProps) => import("react
|
|
53
|
+
export declare const SpeechInput: ({ className, onTranscriptionChange, onAudioRecorded, lang, ...props }: SpeechInputProps) => import("react").JSX.Element;
|
|
54
54
|
export {};
|
|
55
55
|
//# sourceMappingURL=speech-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speech-input.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/speech-input.tsx"],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GAAI,uEAMzB,gBAAgB,gCAmOlB,CAAC"}
|
|
@@ -8,31 +8,31 @@ export type StackTraceProps = ComponentProps<"div"> & {
|
|
|
8
8
|
onOpenChange?: (open: boolean) => void;
|
|
9
9
|
onFilePathClick?: (filePath: string, line?: number, column?: number) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare const StackTrace: import("react").MemoExoticComponent<({ trace, className, open, defaultOpen, onOpenChange, onFilePathClick, children, ...props }: StackTraceProps) => import("react
|
|
11
|
+
export declare const StackTrace: import("react").MemoExoticComponent<({ trace, className, open, defaultOpen, onOpenChange, onFilePathClick, children, ...props }: StackTraceProps) => import("react").JSX.Element>;
|
|
12
12
|
export type StackTraceHeaderProps = ComponentProps<typeof CollapsibleTrigger>;
|
|
13
|
-
export declare const StackTraceHeader: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceHeaderProps) => import("react
|
|
13
|
+
export declare const StackTraceHeader: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceHeaderProps) => import("react").JSX.Element>;
|
|
14
14
|
export type StackTraceErrorProps = ComponentProps<"div">;
|
|
15
|
-
export declare const StackTraceError: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceErrorProps) => import("react
|
|
15
|
+
export declare const StackTraceError: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceErrorProps) => import("react").JSX.Element>;
|
|
16
16
|
export type StackTraceErrorTypeProps = ComponentProps<"span">;
|
|
17
|
-
export declare const StackTraceErrorType: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceErrorTypeProps) => import("react
|
|
17
|
+
export declare const StackTraceErrorType: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceErrorTypeProps) => import("react").JSX.Element>;
|
|
18
18
|
export type StackTraceErrorMessageProps = ComponentProps<"span">;
|
|
19
|
-
export declare const StackTraceErrorMessage: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceErrorMessageProps) => import("react
|
|
19
|
+
export declare const StackTraceErrorMessage: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceErrorMessageProps) => import("react").JSX.Element>;
|
|
20
20
|
export type StackTraceActionsProps = ComponentProps<"div">;
|
|
21
|
-
export declare const StackTraceActions: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceActionsProps) => import("react
|
|
21
|
+
export declare const StackTraceActions: import("react").MemoExoticComponent<({ className, children, ...props }: StackTraceActionsProps) => import("react").JSX.Element>;
|
|
22
22
|
export type StackTraceCopyButtonProps = ComponentProps<typeof Button> & {
|
|
23
23
|
onCopy?: () => void;
|
|
24
24
|
onError?: (error: Error) => void;
|
|
25
25
|
timeout?: number;
|
|
26
26
|
};
|
|
27
|
-
export declare const StackTraceCopyButton: import("react").MemoExoticComponent<({ onCopy, onError, timeout, className, children, ...props }: StackTraceCopyButtonProps) => import("react
|
|
27
|
+
export declare const StackTraceCopyButton: import("react").MemoExoticComponent<({ onCopy, onError, timeout, className, children, ...props }: StackTraceCopyButtonProps) => import("react").JSX.Element>;
|
|
28
28
|
export type StackTraceExpandButtonProps = ComponentProps<"div">;
|
|
29
|
-
export declare const StackTraceExpandButton: import("react").MemoExoticComponent<({ className, ...props }: StackTraceExpandButtonProps) => import("react
|
|
29
|
+
export declare const StackTraceExpandButton: import("react").MemoExoticComponent<({ className, ...props }: StackTraceExpandButtonProps) => import("react").JSX.Element>;
|
|
30
30
|
export type StackTraceContentProps = ComponentProps<typeof CollapsibleContent> & {
|
|
31
31
|
maxHeight?: number;
|
|
32
32
|
};
|
|
33
|
-
export declare const StackTraceContent: import("react").MemoExoticComponent<({ className, maxHeight, children, ...props }: StackTraceContentProps) => import("react
|
|
33
|
+
export declare const StackTraceContent: import("react").MemoExoticComponent<({ className, maxHeight, children, ...props }: StackTraceContentProps) => import("react").JSX.Element>;
|
|
34
34
|
export type StackTraceFramesProps = ComponentProps<"div"> & {
|
|
35
35
|
showInternalFrames?: boolean;
|
|
36
36
|
};
|
|
37
|
-
export declare const StackTraceFrames: import("react").MemoExoticComponent<({ className, showInternalFrames, ...props }: StackTraceFramesProps) => import("react
|
|
37
|
+
export declare const StackTraceFrames: import("react").MemoExoticComponent<({ className, showInternalFrames, ...props }: StackTraceFramesProps) => import("react").JSX.Element>;
|
|
38
38
|
//# sourceMappingURL=stack-trace.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-trace.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/stack-trace.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAQ3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AA4I5C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9E,CAAC;AAEF,eAAO,MAAM,UAAU,mIAUlB,eAAe,
|
|
1
|
+
{"version":3,"file":"stack-trace.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/stack-trace.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAQ3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AA4I5C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CA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GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhE,eAAO,MAAM,sBAAsB,gEACP,2BAA2B,iCAiBtD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,cAAc,CACjD,OAAO,kBAAkB,CAC1B,GAAG;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qFAMzB,sBAAsB,iCAmB1B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC1D,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AA2CF,eAAO,MAAM,gBAAgB,oFAKxB,qBAAqB,iCA8CzB,CAAC"}
|
|
@@ -113,7 +113,7 @@ export const StackTrace = memo(({ trace, className, open, defaultOpen = false, o
|
|
|
113
113
|
});
|
|
114
114
|
export const StackTraceHeader = memo(({ className, children, ...props }) => {
|
|
115
115
|
const { isOpen, setIsOpen } = useStackTrace();
|
|
116
|
-
return (_jsx(Collapsible, { onOpenChange: setIsOpen, open: isOpen, children: _jsx(CollapsibleTrigger, { render: () => (_jsx("button", { className: cn("flex w-full cursor-pointer items-center gap-3 p-3 text-left transition-colors hover:bg-muted/50", className), ...
|
|
116
|
+
return (_jsx(Collapsible, { onOpenChange: setIsOpen, open: isOpen, children: _jsx(CollapsibleTrigger, { render: (triggerProps) => (_jsx("button", { className: cn("flex w-full cursor-pointer items-center gap-3 p-3 text-left transition-colors hover:bg-muted/50", className), ...triggerProps, children: children })) }) }));
|
|
117
117
|
});
|
|
118
118
|
export const StackTraceError = memo(({ className, children, ...props }) => (_jsxs("div", { className: cn("flex flex-1 items-center gap-2 overflow-hidden", className), ...props, children: [_jsx(AlertTriangleIcon, { className: "size-4 shrink-0 text-destructive" }), children] })));
|
|
119
119
|
export const StackTraceErrorType = memo(({ className, children, ...props }) => {
|
|
@@ -2,10 +2,10 @@ import { Button } from "@chatsdk-dev/ui/atoms/button";
|
|
|
2
2
|
import { ScrollArea } from "@chatsdk-dev/ui/atoms/scroll-area";
|
|
3
3
|
import type { ComponentProps } from "react";
|
|
4
4
|
export type SuggestionsProps = ComponentProps<typeof ScrollArea>;
|
|
5
|
-
export declare const Suggestions: ({ className, children, ...props }: SuggestionsProps) => import("react
|
|
5
|
+
export declare const Suggestions: ({ className, children, ...props }: SuggestionsProps) => import("react").JSX.Element;
|
|
6
6
|
export type SuggestionProps = Omit<ComponentProps<typeof Button>, "onClick"> & {
|
|
7
7
|
suggestion: string;
|
|
8
8
|
onClick?: (suggestion: string) => void;
|
|
9
9
|
};
|
|
10
|
-
export declare const Suggestion: ({ suggestion, onClick, className, variant, size, children, ...props }: SuggestionProps) => import("react
|
|
10
|
+
export declare const Suggestion: ({ suggestion, onClick, className, variant, size, children, ...props }: SuggestionProps) => import("react").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=suggestion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestion.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/suggestion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAa,MAAM,mCAAmC,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAEjE,eAAO,MAAM,WAAW,GAAI,mCAIzB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"suggestion.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/suggestion.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAa,MAAM,mCAAmC,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAEjE,eAAO,MAAM,WAAW,GAAI,mCAIzB,gBAAgB,gCAOlB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,SAAS,CAAC,GAAG;IAC7E,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,uEAQxB,eAAe,gCAiBjB,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@chatsdk-dev/ui/atoms/collapsible";
|
|
2
2
|
import type { ComponentProps } from "react";
|
|
3
3
|
export type TaskItemFileProps = ComponentProps<"div">;
|
|
4
|
-
export declare const TaskItemFile: ({ children, className, ...props }: TaskItemFileProps) => import("react
|
|
4
|
+
export declare const TaskItemFile: ({ children, className, ...props }: TaskItemFileProps) => import("react").JSX.Element;
|
|
5
5
|
export type TaskItemProps = ComponentProps<"div">;
|
|
6
|
-
export declare const TaskItem: ({ children, className, ...props }: TaskItemProps) => import("react
|
|
6
|
+
export declare const TaskItem: ({ children, className, ...props }: TaskItemProps) => import("react").JSX.Element;
|
|
7
7
|
export type TaskProps = ComponentProps<typeof Collapsible>;
|
|
8
|
-
export declare const Task: ({ defaultOpen, className, ...props }: TaskProps) => import("react
|
|
8
|
+
export declare const Task: ({ defaultOpen, className, ...props }: TaskProps) => import("react").JSX.Element;
|
|
9
9
|
export type TaskTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
10
10
|
title: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const TaskTrigger: ({ children, className, title, ...props }: TaskTriggerProps) => import("react
|
|
12
|
+
export declare const TaskTrigger: ({ children, className, title, ...props }: TaskTriggerProps) => import("react").JSX.Element;
|
|
13
13
|
export type TaskContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
14
|
-
export declare const TaskContent: ({ children, className, ...props }: TaskContentProps) => import("react
|
|
14
|
+
export declare const TaskContent: ({ children, className, ...props }: TaskContentProps) => import("react").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=task.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/task.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,GAAI,mCAI1B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/task.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,GAAI,mCAI1B,iBAAiB,gCAUnB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ,GAAI,mCAAmC,aAAa,gCAIxE,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,eAAO,MAAM,IAAI,GAAI,sCAIlB,SAAS,gCAEX,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAAG;IACzE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,0CAKzB,gBAAgB,gCAgBlB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEzE,eAAO,MAAM,WAAW,GAAI,mCAIzB,gBAAgB,gCAYlB,CAAC"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { Button } from "@chatsdk-dev/ui/atoms/button";
|
|
2
2
|
import type { ComponentProps, HTMLAttributes } from "react";
|
|
3
3
|
export type TerminalHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
4
|
-
export declare const TerminalHeader: ({ className, children, ...props }: TerminalHeaderProps) => import("react
|
|
4
|
+
export declare const TerminalHeader: ({ className, children, ...props }: TerminalHeaderProps) => import("react").JSX.Element;
|
|
5
5
|
export type TerminalTitleProps = HTMLAttributes<HTMLDivElement>;
|
|
6
|
-
export declare const TerminalTitle: ({ className, children, ...props }: TerminalTitleProps) => import("react
|
|
6
|
+
export declare const TerminalTitle: ({ className, children, ...props }: TerminalTitleProps) => import("react").JSX.Element;
|
|
7
7
|
export type TerminalStatusProps = HTMLAttributes<HTMLDivElement>;
|
|
8
|
-
export declare const TerminalStatus: ({ className, children, ...props }: TerminalStatusProps) => import("react
|
|
8
|
+
export declare const TerminalStatus: ({ className, children, ...props }: TerminalStatusProps) => import("react").JSX.Element | null;
|
|
9
9
|
export type TerminalActionsProps = HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
export declare const TerminalActions: ({ className, children, ...props }: TerminalActionsProps) => import("react
|
|
10
|
+
export declare const TerminalActions: ({ className, children, ...props }: TerminalActionsProps) => import("react").JSX.Element;
|
|
11
11
|
export type TerminalCopyButtonProps = ComponentProps<typeof Button> & {
|
|
12
12
|
onCopy?: () => void;
|
|
13
13
|
onError?: (error: Error) => void;
|
|
14
14
|
timeout?: number;
|
|
15
15
|
};
|
|
16
|
-
export declare const TerminalCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: TerminalCopyButtonProps) => import("react
|
|
16
|
+
export declare const TerminalCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: TerminalCopyButtonProps) => import("react").JSX.Element;
|
|
17
17
|
export type TerminalClearButtonProps = ComponentProps<typeof Button>;
|
|
18
|
-
export declare const TerminalClearButton: ({ children, className, ...props }: TerminalClearButtonProps) => import("react
|
|
18
|
+
export declare const TerminalClearButton: ({ children, className, ...props }: TerminalClearButtonProps) => import("react").JSX.Element | null;
|
|
19
19
|
export type TerminalContentProps = HTMLAttributes<HTMLDivElement>;
|
|
20
|
-
export declare const TerminalContent: ({ className, children, ...props }: TerminalContentProps) => import("react
|
|
20
|
+
export declare const TerminalContent: ({ className, children, ...props }: TerminalContentProps) => import("react").JSX.Element;
|
|
21
21
|
export type TerminalProps = HTMLAttributes<HTMLDivElement> & {
|
|
22
22
|
output: string;
|
|
23
23
|
isStreaming?: boolean;
|
|
24
24
|
autoScroll?: boolean;
|
|
25
25
|
onClear?: () => void;
|
|
26
26
|
};
|
|
27
|
-
export declare const Terminal: ({ output, isStreaming, autoScroll, onClear, className, children, ...props }: TerminalProps) => import("react
|
|
27
|
+
export declare const Terminal: ({ output, isStreaming, autoScroll, onClear, className, children, ...props }: TerminalProps) => import("react").JSX.Element;
|
|
28
28
|
//# sourceMappingURL=terminal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminal.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/terminal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAItD,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAwB5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjE,eAAO,MAAM,cAAc,GAAI,mCAI5B,mBAAmB,
|
|
1
|
+
{"version":3,"file":"terminal.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/terminal.tsx"],"names":[],"mappings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D,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,6EAQtB,aAAa,gCAiCf,CAAC"}
|
|
@@ -9,51 +9,51 @@ interface TestResultsSummary {
|
|
|
9
9
|
duration?: number;
|
|
10
10
|
}
|
|
11
11
|
export type TestResultsHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
12
|
-
export declare const TestResultsHeader: ({ className, children, ...props }: TestResultsHeaderProps) => import("react
|
|
12
|
+
export declare const TestResultsHeader: ({ className, children, ...props }: TestResultsHeaderProps) => import("react").JSX.Element;
|
|
13
13
|
export type TestResultsDurationProps = HTMLAttributes<HTMLSpanElement>;
|
|
14
|
-
export declare const TestResultsDuration: ({ className, children, ...props }: TestResultsDurationProps) => import("react
|
|
14
|
+
export declare const TestResultsDuration: ({ className, children, ...props }: TestResultsDurationProps) => import("react").JSX.Element | null;
|
|
15
15
|
export type TestResultsSummaryProps = HTMLAttributes<HTMLDivElement>;
|
|
16
|
-
export declare const TestResultsSummary: ({ className, children, ...props }: TestResultsSummaryProps) => import("react
|
|
16
|
+
export declare const TestResultsSummary: ({ className, children, ...props }: TestResultsSummaryProps) => import("react").JSX.Element | null;
|
|
17
17
|
export type TestResultsProps = HTMLAttributes<HTMLDivElement> & {
|
|
18
18
|
summary?: TestResultsSummary;
|
|
19
19
|
};
|
|
20
|
-
export declare const TestResults: ({ summary, className, children, ...props }: TestResultsProps) => import("react
|
|
20
|
+
export declare const TestResults: ({ summary, className, children, ...props }: TestResultsProps) => import("react").JSX.Element;
|
|
21
21
|
export type TestResultsProgressProps = HTMLAttributes<HTMLDivElement>;
|
|
22
|
-
export declare const TestResultsProgress: ({ className, children, ...props }: TestResultsProgressProps) => import("react
|
|
22
|
+
export declare const TestResultsProgress: ({ className, children, ...props }: TestResultsProgressProps) => import("react").JSX.Element | null;
|
|
23
23
|
export type TestResultsContentProps = HTMLAttributes<HTMLDivElement>;
|
|
24
|
-
export declare const TestResultsContent: ({ className, children, ...props }: TestResultsContentProps) => import("react
|
|
24
|
+
export declare const TestResultsContent: ({ className, children, ...props }: TestResultsContentProps) => import("react").JSX.Element;
|
|
25
25
|
export type TestSuiteProps = ComponentProps<typeof Collapsible> & {
|
|
26
26
|
name: string;
|
|
27
27
|
status: TestStatus;
|
|
28
28
|
};
|
|
29
|
-
export declare const TestSuite: ({ name, status, className, children, ...props }: TestSuiteProps) => import("react
|
|
29
|
+
export declare const TestSuite: ({ name, status, className, children, ...props }: TestSuiteProps) => import("react").JSX.Element;
|
|
30
30
|
export type TestSuiteNameProps = ComponentProps<typeof CollapsibleTrigger>;
|
|
31
|
-
export declare const TestSuiteName: ({ className, children, ...props }: TestSuiteNameProps) => import("react
|
|
31
|
+
export declare const TestSuiteName: ({ className, children, ...props }: TestSuiteNameProps) => import("react").JSX.Element;
|
|
32
32
|
export type TestSuiteStatsProps = HTMLAttributes<HTMLDivElement> & {
|
|
33
33
|
passed?: number;
|
|
34
34
|
failed?: number;
|
|
35
35
|
skipped?: number;
|
|
36
36
|
};
|
|
37
|
-
export declare const TestSuiteStats: ({ passed, failed, skipped, className, children, ...props }: TestSuiteStatsProps) => import("react
|
|
37
|
+
export declare const TestSuiteStats: ({ passed, failed, skipped, className, children, ...props }: TestSuiteStatsProps) => import("react").JSX.Element;
|
|
38
38
|
export type TestSuiteContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
39
|
-
export declare const TestSuiteContent: ({ className, children, ...props }: TestSuiteContentProps) => import("react
|
|
39
|
+
export declare const TestSuiteContent: ({ className, children, ...props }: TestSuiteContentProps) => import("react").JSX.Element;
|
|
40
40
|
export type TestNameProps = HTMLAttributes<HTMLSpanElement>;
|
|
41
|
-
export declare const TestName: ({ className, children, ...props }: TestNameProps) => import("react
|
|
41
|
+
export declare const TestName: ({ className, children, ...props }: TestNameProps) => import("react").JSX.Element;
|
|
42
42
|
export type TestDurationProps = HTMLAttributes<HTMLSpanElement>;
|
|
43
|
-
export declare const TestDuration: ({ className, children, ...props }: TestDurationProps) => import("react
|
|
43
|
+
export declare const TestDuration: ({ className, children, ...props }: TestDurationProps) => import("react").JSX.Element | null;
|
|
44
44
|
export type TestStatusProps = HTMLAttributes<HTMLSpanElement>;
|
|
45
|
-
export declare const TestStatus: ({ className, children, ...props }: TestStatusProps) => import("react
|
|
45
|
+
export declare const TestStatus: ({ className, children, ...props }: TestStatusProps) => import("react").JSX.Element;
|
|
46
46
|
export type TestProps = HTMLAttributes<HTMLDivElement> & {
|
|
47
47
|
name: string;
|
|
48
48
|
status: TestStatus;
|
|
49
49
|
duration?: number;
|
|
50
50
|
};
|
|
51
|
-
export declare const Test: ({ name, status, duration, className, children, ...props }: TestProps) => import("react
|
|
51
|
+
export declare const Test: ({ name, status, duration, className, children, ...props }: TestProps) => import("react").JSX.Element;
|
|
52
52
|
export type TestErrorProps = HTMLAttributes<HTMLDivElement>;
|
|
53
|
-
export declare const TestError: ({ className, children, ...props }: TestErrorProps) => import("react
|
|
53
|
+
export declare const TestError: ({ className, children, ...props }: TestErrorProps) => import("react").JSX.Element;
|
|
54
54
|
export type TestErrorMessageProps = HTMLAttributes<HTMLParagraphElement>;
|
|
55
|
-
export declare const TestErrorMessage: ({ className, children, ...props }: TestErrorMessageProps) => import("react
|
|
55
|
+
export declare const TestErrorMessage: ({ className, children, ...props }: TestErrorMessageProps) => import("react").JSX.Element;
|
|
56
56
|
export type TestErrorStackProps = HTMLAttributes<HTMLPreElement>;
|
|
57
|
-
export declare const TestErrorStack: ({ className, children, ...props }: TestErrorStackProps) => import("react
|
|
57
|
+
export declare const TestErrorStack: ({ className, children, ...props }: TestErrorStackProps) => import("react").JSX.Element;
|
|
58
58
|
export {};
|
|
59
59
|
//# sourceMappingURL=test-results.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-results.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/test-results.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAS3C,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5D,KAAK,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9D,UAAU,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAeD,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEpE,eAAO,MAAM,iBAAiB,GAAI,mCAI/B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"test-results.d.ts","sourceRoot":"","sources":["../../../src/molecules/ai/test-results.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAS3C,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5D,KAAK,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9D,UAAU,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAeD,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEpE,eAAO,MAAM,iBAAiB,GAAI,mCAI/B,sBAAsB,gCAUxB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,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Part } from "ai";
|
|
3
|
-
import type
|
|
2
|
+
import { type ComponentProps, type ReactNode } from "react";
|
|
3
|
+
import { Collapsible, CollapsibleContent } from "@chatsdk-dev/ui/atoms/collapsible";
|
|
4
4
|
export type ToolProps = ComponentProps<typeof Collapsible>;
|
|
5
|
-
export declare const Tool: ({ className, ...props }: ToolProps) => import("react
|
|
5
|
+
export declare const Tool: ({ className, ...props }: ToolProps) => import("react").JSX.Element;
|
|
6
6
|
export type ToolPart = ToolUIPart | DynamicToolUIPart;
|
|
7
7
|
export type ToolHeaderProps = {
|
|
8
8
|
title?: string;
|
|
@@ -10,23 +10,36 @@ export type ToolHeaderProps = {
|
|
|
10
10
|
} & ({
|
|
11
11
|
type: ToolUIPart["type"];
|
|
12
12
|
state: ToolUIPart["state"];
|
|
13
|
+
statusLabels?: Record<ToolPart["state"], string>;
|
|
14
|
+
statusIcons?: Record<ToolPart["state"], ReactNode>;
|
|
13
15
|
toolName?: never;
|
|
14
16
|
} | {
|
|
15
17
|
type: DynamicToolUIPart["type"];
|
|
16
18
|
state: DynamicToolUIPart["state"];
|
|
19
|
+
statusLabels?: Record<ToolPart["state"], string>;
|
|
20
|
+
statusIcons?: Record<ToolPart["state"], ReactNode>;
|
|
17
21
|
toolName: string;
|
|
18
22
|
});
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
interface GetStatusBadgeParams {
|
|
24
|
+
status: ToolPart["state"];
|
|
25
|
+
statusLabels?: ToolHeaderProps["statusLabels"];
|
|
26
|
+
statusIcons?: ToolHeaderProps["statusIcons"];
|
|
27
|
+
}
|
|
28
|
+
export declare function getStatusBadge({ status, statusLabels, statusIcons, }: GetStatusBadgeParams): import("react").JSX.Element;
|
|
29
|
+
export declare const ToolHeader: ({ className, title, type, state, toolName, statusLabels, statusIcons, ...props }: ToolHeaderProps) => import("react").JSX.Element;
|
|
21
30
|
export type ToolContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
22
|
-
export declare const ToolContent: ({ className, ...props }: ToolContentProps) => import("react
|
|
31
|
+
export declare const ToolContent: ({ className, ...props }: ToolContentProps) => import("react").JSX.Element;
|
|
23
32
|
export type ToolInputProps = ComponentProps<"div"> & {
|
|
24
33
|
input: ToolPart["input"];
|
|
34
|
+
label?: string;
|
|
25
35
|
};
|
|
26
|
-
export declare const ToolInput: ({ className, input, ...props }: ToolInputProps) => import("react
|
|
36
|
+
export declare const ToolInput: ({ className, input, label, ...props }: ToolInputProps) => import("react").JSX.Element;
|
|
27
37
|
export type ToolOutputProps = ComponentProps<"div"> & {
|
|
28
38
|
output: ToolPart["output"];
|
|
29
39
|
errorText: ToolPart["errorText"];
|
|
40
|
+
outputLabel?: string;
|
|
41
|
+
errorLabel?: string;
|
|
30
42
|
};
|
|
31
|
-
export declare const ToolOutput: ({ className, output, errorText, ...props }: ToolOutputProps) => import("react
|
|
43
|
+
export declare const ToolOutput: ({ className, output, errorText, outputLabel, errorLabel, ...props }: ToolOutputProps) => import("react").JSX.Element | null;
|
|
44
|
+
export {};
|
|
32
45
|
//# sourceMappingURL=tool.d.ts.map
|