@mastra/playground-ui 7.0.0-beta.21 → 7.0.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +124 -0
- package/dist/index.cjs.js +2676 -2397
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +81 -44
- package/dist/index.es.js +2637 -2412
- package/dist/index.es.js.map +1 -1
- package/dist/src/domains/agents/hooks/__tests__/use-agent-settings-state.test.d.ts +1 -0
- package/dist/src/domains/agents/hooks/use-agent-settings-state.d.ts +1 -0
- package/dist/src/domains/agents/hooks/use-sampling-restriction.d.ts +15 -0
- package/dist/src/domains/agents/utils/model-restrictions.d.ts +6 -0
- package/dist/src/domains/observability/components/span-dialog.d.ts +1 -1
- package/dist/src/domains/scores/components/score-dialog.d.ts +1 -1
- package/dist/src/domains/templates/template-info.d.ts +1 -1
- package/dist/src/domains/templates/template-success.d.ts +1 -1
- package/dist/src/domains/workflows/workflow/utils.d.ts +0 -1
- package/dist/src/ds/components/Alert/Alert.d.ts +1 -1
- package/dist/src/ds/components/Alert/alert.stories.d.ts +10 -0
- package/dist/src/ds/components/AlertDialog/alert-dialog.stories.d.ts +9 -0
- package/dist/src/ds/components/AlertDialog/index.d.ts +1 -0
- package/dist/src/ds/components/Avatar/avatar.stories.d.ts +11 -0
- package/dist/src/ds/components/Badge/badge.stories.d.ts +12 -0
- package/dist/src/ds/components/Breadcrumb/breadcrumb.stories.d.ts +10 -0
- package/dist/src/ds/components/Button/Button.d.ts +2 -1
- package/dist/src/ds/components/Button/button.stories.d.ts +15 -0
- package/dist/src/{components/ui/containers → ds/components/ButtonsGroup}/buttons-group.d.ts +1 -2
- package/dist/src/ds/components/ButtonsGroup/buttons-group.stories.d.ts +9 -0
- package/dist/src/ds/components/ButtonsGroup/index.d.ts +1 -0
- package/dist/src/ds/components/Checkbox/checkbox.stories.d.ts +11 -0
- package/dist/src/ds/components/Checkbox/index.d.ts +1 -0
- package/dist/src/ds/components/CodeEditor/code-editor.stories.d.ts +11 -0
- package/dist/src/ds/components/Collapsible/collapsible.d.ts +5 -0
- package/dist/src/ds/components/Collapsible/collapsible.stories.d.ts +9 -0
- package/dist/src/ds/components/Collapsible/index.d.ts +1 -0
- package/dist/src/{components/ui/elements/buttons → ds/components/CombinedButtons}/combined-buttons.d.ts +1 -1
- package/dist/src/ds/components/CombinedButtons/combined-buttons.stories.d.ts +10 -0
- package/dist/src/{components/ui → ds/components/Combobox}/combobox.d.ts +4 -3
- package/dist/src/ds/components/Combobox/combobox.stories.d.ts +13 -0
- package/dist/src/ds/components/Combobox/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/CopyButton}/copy-button.d.ts +3 -4
- package/dist/src/ds/components/CopyButton/copy-button.stories.d.ts +12 -0
- package/dist/src/ds/components/CopyButton/index.d.ts +1 -0
- package/dist/src/ds/components/DateTimePicker/date-time-picker.stories.d.ts +11 -0
- package/dist/src/ds/components/DateTimePicker/index.d.ts +3 -0
- package/dist/src/{components/ui/elements/date-time-picker → ds/components/DateTimePicker}/time-picker.d.ts +1 -2
- package/dist/src/{components/ui → ds/components/Dialog}/dialog.d.ts +5 -1
- package/dist/src/ds/components/Dialog/dialog.stories.d.ts +9 -0
- package/dist/src/ds/components/Dialog/index.d.ts +1 -0
- package/dist/src/ds/components/EmptyState/empty-state.stories.d.ts +11 -0
- package/dist/src/ds/components/Entity/entity.stories.d.ts +10 -0
- package/dist/src/{components/ui → ds/components/EntityHeader}/entity-header.d.ts +2 -2
- package/dist/src/ds/components/EntityHeader/entity-header.stories.d.ts +11 -0
- package/dist/src/ds/components/EntityHeader/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/Entry}/entry.d.ts +3 -3
- package/dist/src/ds/components/Entry/entry.stories.d.ts +11 -0
- package/dist/src/ds/components/Entry/index.d.ts +1 -0
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-entries.d.ts +2 -3
- package/dist/src/ds/components/EntryList/entry-list-entry-col.d.ts +9 -0
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-entry.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-header.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-message.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-next-page-loading.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-pagination.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-root.d.ts +2 -3
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-trim.d.ts +2 -3
- package/dist/src/ds/components/EntryList/entry-list.stories.d.ts +10 -0
- package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/input-field.d.ts +4 -2
- package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/search-field.d.ts +1 -1
- package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/select-field.d.ts +4 -3
- package/dist/src/ds/components/Header/header.stories.d.ts +10 -0
- package/dist/src/ds/components/Input/index.d.ts +1 -0
- package/dist/src/ds/components/Input/input.d.ts +16 -0
- package/dist/src/ds/components/Input/input.stories.d.ts +17 -0
- package/dist/src/ds/components/Kbd/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/Kbd}/kbd.d.ts +2 -2
- package/dist/src/ds/components/Kbd/kbd.stories.d.ts +11 -0
- package/dist/src/{components/ui/elements/key-value-list → ds/components/KeyValueList}/key-value-list.d.ts +2 -2
- package/dist/src/ds/components/Label/index.d.ts +1 -0
- package/dist/src/ds/components/Label/label.stories.d.ts +8 -0
- package/dist/src/ds/components/MainContent/index.d.ts +1 -0
- package/dist/src/{components/ui/containers/MainContent.d.ts → ds/components/MainContent/main-content.d.ts} +3 -2
- package/dist/src/ds/components/MainContent/main-content.stories.d.ts +10 -0
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-bottom.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-context.d.ts +1 -1
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-header.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-link.d.ts +2 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-list.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-section.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-separator.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-root.d.ts +1 -2
- package/dist/src/ds/components/MainSidebar/main-sidebar.stories.d.ts +9 -0
- package/dist/src/ds/components/MarkdownRenderer/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/MarkdownRenderer}/markdown-renderer.d.ts +2 -2
- package/dist/src/ds/components/MarkdownRenderer/markdown-renderer.stories.d.ts +14 -0
- package/dist/src/{components/ui/elements/notification → ds/components/Notification}/notification.d.ts +2 -3
- package/dist/src/ds/components/Notification/notification.stories.d.ts +12 -0
- package/dist/src/{components/ui/elements/headers → ds/components/PageHeader}/page-header.d.ts +3 -3
- package/dist/src/ds/components/PageHeader/page-header.stories.d.ts +13 -0
- package/dist/src/ds/components/Popover/index.d.ts +1 -0
- package/dist/src/ds/components/Popover/popover.stories.d.ts +12 -0
- package/dist/src/ds/components/RadioGroup/index.d.ts +1 -0
- package/dist/src/ds/components/RadioGroup/radio-group.stories.d.ts +9 -0
- package/dist/src/ds/components/ScrollArea/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/ScrollArea}/scroll-area.d.ts +7 -3
- package/dist/src/ds/components/ScrollArea/scroll-area.stories.d.ts +10 -0
- package/dist/src/ds/components/ScrollableContainer/index.d.ts +1 -0
- package/dist/src/{components → ds/components/ScrollableContainer}/scrollable-container.d.ts +1 -1
- package/dist/src/ds/components/ScrollableContainer/scrollable-container.stories.d.ts +10 -0
- package/dist/src/ds/components/Searchbar/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/Searchbar}/searchbar.d.ts +5 -3
- package/dist/src/ds/components/Searchbar/searchbar.stories.d.ts +11 -0
- package/dist/src/{components/ui/elements/section → ds/components/Section}/section-header.d.ts +2 -3
- package/dist/src/{components/ui/elements/section → ds/components/Section}/section-heading.d.ts +2 -3
- package/dist/src/ds/components/Section/section.stories.d.ts +9 -0
- package/dist/src/ds/components/Sections/index.d.ts +1 -0
- package/dist/src/{components/ui/containers → ds/components/Sections}/sections.d.ts +1 -2
- package/dist/src/ds/components/Sections/sections.stories.d.ts +8 -0
- package/dist/src/{components/ui → ds/components/Select}/select.d.ts +7 -1
- package/dist/src/ds/components/Select/select.stories.d.ts +11 -0
- package/dist/src/ds/components/SelectElement/index.d.ts +1 -0
- package/dist/src/ds/components/SelectElement/select-element.stories.d.ts +10 -0
- package/dist/src/ds/components/SelectElement/select.d.ts +8 -0
- package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-code-section.d.ts +0 -1
- package/dist/src/ds/components/SideDialog/side-dialog.stories.d.ts +10 -0
- package/dist/src/ds/components/Skeleton/index.d.ts +1 -0
- package/dist/src/ds/components/Skeleton/skeleton.stories.d.ts +11 -0
- package/dist/src/ds/components/Slider/index.d.ts +1 -0
- package/dist/src/ds/components/Slider/slider.stories.d.ts +11 -0
- package/dist/src/ds/components/Spinner/index.d.ts +1 -0
- package/dist/src/ds/components/Spinner/spinner.d.ts +6 -0
- package/dist/src/ds/components/Spinner/spinner.stories.d.ts +13 -0
- package/dist/src/{components/ui/elements/steps → ds/components/Steps}/process-step-list-item.d.ts +1 -2
- package/dist/src/{components/ui/elements/steps → ds/components/Steps}/process-step-list.d.ts +1 -2
- package/dist/src/ds/components/Steps/process-step-progress-bar.d.ts +5 -0
- package/dist/src/ds/components/Steps/steps.stories.d.ts +11 -0
- package/dist/src/ds/components/Switch/index.d.ts +1 -0
- package/dist/src/ds/components/Switch/switch.stories.d.ts +12 -0
- package/dist/src/ds/components/Table/table.stories.d.ts +11 -0
- package/dist/src/{components/ui/elements/tabs → ds/components/Tabs}/tabs-content.d.ts +1 -2
- package/dist/src/{components/ui/elements/tabs → ds/components/Tabs}/tabs-list.d.ts +1 -2
- package/dist/src/{components/ui/elements/tabs → ds/components/Tabs}/tabs-root.d.ts +1 -2
- package/dist/src/{components/ui/elements/tabs → ds/components/Tabs}/tabs-tab.d.ts +1 -2
- package/dist/src/ds/components/Tabs/tabs.stories.d.ts +10 -0
- package/dist/src/{components/ui/elements/text → ds/components/Text}/text-and-icon.d.ts +1 -2
- package/dist/src/ds/components/Text/text.stories.d.ts +11 -0
- package/dist/src/ds/components/Threads/index.d.ts +1 -0
- package/dist/src/{components → ds/components/Threads}/threads.d.ts +1 -1
- package/dist/src/ds/components/Threads/threads.stories.d.ts +12 -0
- package/dist/src/ds/components/Tooltip/index.d.ts +1 -0
- package/dist/src/ds/components/Tooltip/tooltip.stories.d.ts +12 -0
- package/dist/src/ds/components/Txt/txt.stories.d.ts +16 -0
- package/dist/src/ds/icons/icons.stories.d.ts +14 -0
- package/dist/src/ds/primitives/form-element.d.ts +9 -0
- package/dist/src/ds/tokens/borders.d.ts +0 -3
- package/dist/src/ds/tokens/colors.d.ts +6 -8
- package/dist/src/ds/tokens/fonts.d.ts +14 -8
- package/dist/src/ds/tokens/sizes.d.ts +3 -2
- package/dist/src/ds/tokens/spacings.d.ts +36 -3
- package/dist/src/index.d.ts +51 -20
- package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/attachment.d.ts +0 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/agent-badge-wrapper.d.ts +3 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/agent-badge.d.ts +3 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/tool-approval-buttons.d.ts +4 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/tool-badge.d.ts +2 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/workflow-badge.d.ts +2 -1
- package/dist/src/{components/ui/autoform/AutoForm.d.ts → lib/form/auto-form.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/ArrayElementWrapper.d.ts → lib/form/components/array-element-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/ArrayWrapper.d.ts → lib/form/components/array-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/BooleanField.d.ts → lib/form/components/boolean-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/CustomArrayField.d.ts → lib/form/components/custom-array-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/CustomAutoFormField.d.ts → lib/form/components/custom-auto-form-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/CustomObjectField.d.ts → lib/form/components/custom-object-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/DateField.d.ts → lib/form/components/date-field.d.ts} +1 -1
- package/dist/src/lib/form/components/error-message.d.ts +4 -0
- package/dist/src/{components/ui/autoform/components/FieldWrapper.d.ts → lib/form/components/field-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/Form.d.ts → lib/form/components/form.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/NumberField.d.ts → lib/form/components/number-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/ObjectWrapper.d.ts → lib/form/components/object-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/SelectField.d.ts → lib/form/components/select-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/StringField.d.ts → lib/form/components/string-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/SubmitButton.d.ts → lib/form/components/submit-button.d.ts} +1 -1
- package/dist/src/lib/form/index.d.ts +4 -0
- package/dist/src/{components/dynamic-form → lib/form}/utils.d.ts +4 -1
- package/dist/src/lib/mastra-platform/hooks/use-mastra-platform.d.ts +12 -0
- package/dist/src/lib/mastra-platform/index.d.ts +1 -0
- package/dist/src/lib/object.d.ts +0 -44
- package/dist/src/lib/string.d.ts +0 -1
- package/dist/src/lib/tw-merge-config.d.ts +1 -0
- package/dist/src/services/tool-call-provider.d.ts +15 -1
- package/dist/tailwind.preset.cjs.js +159 -0
- package/dist/tailwind.preset.cjs.js.map +1 -0
- package/dist/tailwind.preset.d.ts +1 -0
- package/dist/tailwind.preset.es.js +157 -0
- package/dist/tailwind.preset.es.js.map +1 -0
- package/dist/tokens.cjs.js +146 -32
- package/dist/tokens.cjs.js.map +1 -1
- package/dist/tokens.es.js +145 -29
- package/dist/tokens.es.js.map +1 -1
- package/package.json +20 -11
- package/dist/colors-B_l6leHd.cjs +0 -42
- package/dist/colors-B_l6leHd.cjs.map +0 -1
- package/dist/colors-Br49332d.js +0 -38
- package/dist/colors-Br49332d.js.map +0 -1
- package/dist/src/components/ui/alert.d.ts +0 -8
- package/dist/src/components/ui/autoform/components/ErrorMessage.d.ts +0 -4
- package/dist/src/components/ui/autoform/index.d.ts +0 -3
- package/dist/src/components/ui/autoform/utils.d.ts +0 -3
- package/dist/src/components/ui/code-block.d.ts +0 -7
- package/dist/src/components/ui/code-mirror-block.d.ts +0 -2
- package/dist/src/components/ui/collapsible.d.ts +0 -5
- package/dist/src/components/ui/containers/index.d.ts +0 -3
- package/dist/src/components/ui/elements/date-time-picker/index.d.ts +0 -1
- package/dist/src/components/ui/elements/entry-list/entry-list-entry-col.d.ts +0 -7
- package/dist/src/components/ui/elements/index.d.ts +0 -10
- package/dist/src/components/ui/elements/select/select.d.ts +0 -10
- package/dist/src/components/ui/elements/steps/process-step-progress-bar.d.ts +0 -4
- package/dist/src/components/ui/input.d.ts +0 -11
- package/dist/src/components/ui/spinner.d.ts +0 -5
- package/dist/src/components/ui/text.d.ts +0 -12
- package/dist/src/domains/workflows/context/workflow-nested-graph-context.d.ts +0 -14
- /package/dist/src/{components/ui → ds/components/AlertDialog}/alert-dialog.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Checkbox}/checkbox.d.ts +0 -0
- /package/dist/src/{components/ui/elements/buttons → ds/components/CombinedButtons}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/date-time-picker → ds/components/DateTimePicker}/date-picker.d.ts +0 -0
- /package/dist/src/{components/ui/elements/date-time-picker → ds/components/DateTimePicker}/date-time-picker.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-entries-skeleton.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-skeleton.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/helpers.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/shared.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/types.d.ts +0 -0
- /package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/input-field.stories.d.ts +0 -0
- /package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/select-field.stories.d.ts +0 -0
- /package/dist/src/{components/ui/elements/key-value-list → ds/components/KeyValueList}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/key-value-list → ds/components/KeyValueList}/key-value-list.stories.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Label}/label.d.ts +0 -0
- /package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar.d.ts +0 -0
- /package/dist/src/{components/ui/elements/notification → ds/components/Notification}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/headers → ds/components/PageHeader}/index.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Popover}/popover.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/RadioGroup}/radio-group.d.ts +0 -0
- /package/dist/src/{components/ui/elements/section → ds/components/Section}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/section → ds/components/Section}/section-root.d.ts +0 -0
- /package/dist/src/{components/ui/elements/section → ds/components/Section}/section.d.ts +0 -0
- /package/dist/src/{components/ui/elements/select → ds/components/Select}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-content.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-header.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-heading.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-nav.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-root.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-top.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Skeleton}/skeleton.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Slider}/slider.d.ts +0 -0
- /package/dist/src/{components/ui/elements/steps → ds/components/Steps}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/steps → ds/components/Steps}/shared.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Switch}/switch.d.ts +0 -0
- /package/dist/src/{components/ui/elements/tabs → ds/components/Tabs}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/text → ds/components/Text}/formatters/get-short-id.d.ts +0 -0
- /package/dist/src/{components/ui/elements/text → ds/components/Text}/index.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Tooltip}/tooltip.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/attach-file-dialog.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/attachment-preview-dialog.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/pdfs-adapter.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/voice-adapter.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-adapters.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-attachment-src.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-composer-add-attachment.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-file-src.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-has-attachments.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-load-browser-file.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/memory-search.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/assistant-message.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/error-aware-text.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/markdown-text.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/reasoning.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/tripwire-notice.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/user-messages.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/thread.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/badge-wrapper.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/loading-badge.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/network-choice-metadata-dialog.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/tool-fallback.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tooltip-icon-button.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/components/DiscriminatedUnionField.d.ts → lib/form/components/discriminated-union-field.d.ts} +0 -0
- /package/dist/src/{components/ui/autoform/components/RecordField.d.ts → lib/form/components/record-field.d.ts} +0 -0
- /package/dist/src/{components/ui/autoform/components/UnionField.d.ts → lib/form/components/union-field.d.ts} +0 -0
- /package/dist/src/{components/ui/autoform/CustomAutoForm.d.ts → lib/form/custom-auto-form.d.ts} +0 -0
- /package/dist/src/{components/dynamic-form/index.d.ts → lib/form/dynamic-form.d.ts} +0 -0
- /package/dist/src/{components/ui/autoform → lib/form}/types.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/zodProvider → lib/form/zod-provider}/default-values.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/zodProvider → lib/form/zod-provider}/field-type-inference.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/zodProvider → lib/form/zod-provider}/index.d.ts +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Slider } from './slider';
|
|
3
|
+
declare const meta: Meta<typeof Slider>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Slider>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithRange: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const CustomRange: Story;
|
|
10
|
+
export declare const FineGrained: Story;
|
|
11
|
+
export declare const WithLabel: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './spinner';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Spinner } from './spinner';
|
|
3
|
+
declare const meta: Meta<typeof Spinner>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Spinner>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const White: Story;
|
|
8
|
+
export declare const Blue: Story;
|
|
9
|
+
export declare const Green: Story;
|
|
10
|
+
export declare const Small: Story;
|
|
11
|
+
export declare const Large: Story;
|
|
12
|
+
export declare const InButton: Story;
|
|
13
|
+
export declare const AllSizes: Story;
|
package/dist/src/{components/ui/elements/steps → ds/components/Steps}/process-step-list-item.d.ts
RENAMED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ProcessStep } from './shared';
|
|
2
|
-
type ProcessStepListItemProps = {
|
|
2
|
+
export type ProcessStepListItemProps = {
|
|
3
3
|
stepId: string;
|
|
4
4
|
step: ProcessStep;
|
|
5
5
|
isActive: boolean;
|
|
6
6
|
position: number;
|
|
7
7
|
};
|
|
8
8
|
export declare function ProcessStepListItem({ stepId, step, isActive, position }: ProcessStepListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
package/dist/src/{components/ui/elements/steps → ds/components/Steps}/process-step-list.d.ts
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ProcessStep } from './shared';
|
|
2
|
-
type ProcessStepListProps = {
|
|
2
|
+
export type ProcessStepListProps = {
|
|
3
3
|
currentStep: ProcessStep | null;
|
|
4
4
|
steps: ProcessStep[];
|
|
5
5
|
className?: string;
|
|
6
6
|
};
|
|
7
7
|
export declare function ProcessStepList({ currentStep, steps, className }: ProcessStepListProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { ProcessStepList } from './process-step-list';
|
|
3
|
+
declare const meta: Meta<typeof ProcessStepList>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ProcessStepList>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const InProgress: Story;
|
|
8
|
+
export declare const AllCompleted: Story;
|
|
9
|
+
export declare const WithFailure: Story;
|
|
10
|
+
export declare const ManySteps: Story;
|
|
11
|
+
export declare const SingleStep: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './switch';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Switch } from './switch';
|
|
3
|
+
declare const meta: Meta<typeof Switch>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Switch>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Checked: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const DisabledChecked: Story;
|
|
10
|
+
export declare const WithLabel: Story;
|
|
11
|
+
export declare const SettingsList: Story;
|
|
12
|
+
export declare const WithDescription: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Table } from './Table';
|
|
3
|
+
declare const meta: Meta<typeof Table>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Table>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const SmallSize: Story;
|
|
8
|
+
export declare const WithDateTimeCell: Story;
|
|
9
|
+
export declare const WithEntryCell: Story;
|
|
10
|
+
export declare const ClickableRows: Story;
|
|
11
|
+
export declare const SelectedRow: Story;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
type TabContentProps = {
|
|
1
|
+
export type TabContentProps = {
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
value: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const TabContent: ({ children, value, className }: TabContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
type TabListProps = {
|
|
1
|
+
export type TabListProps = {
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
className?: string;
|
|
4
4
|
variant?: 'default' | 'buttons';
|
|
5
5
|
};
|
|
6
6
|
export declare const TabList: ({ children, variant, className }: TabListProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type TabsRootProps<T extends string> = {
|
|
1
|
+
export type TabsRootProps<T extends string> = {
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
defaultTab: T;
|
|
4
4
|
value?: T;
|
|
@@ -6,4 +6,3 @@ type TabsRootProps<T extends string> = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
8
|
export declare const Tabs: <T extends string>({ children, defaultTab, value, onValueChange, className }: TabsRootProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type TabProps = {
|
|
1
|
+
export type TabProps = {
|
|
2
2
|
children: React.ReactNode;
|
|
3
3
|
value: string;
|
|
4
4
|
onClick?: () => void;
|
|
@@ -6,4 +6,3 @@ type TabProps = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
8
|
export declare const Tab: ({ children, value, onClick, onClose, className }: TabProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Tabs } from './tabs-root';
|
|
3
|
+
declare const meta: Meta<typeof Tabs>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Tabs>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ButtonsVariant: Story;
|
|
8
|
+
export declare const TwoTabs: Story;
|
|
9
|
+
export declare const ManyTabs: Story;
|
|
10
|
+
export declare const WithClosableTabs: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { TextAndIcon } from './text-and-icon';
|
|
3
|
+
declare const meta: Meta<typeof TextAndIcon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof TextAndIcon>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithUser: Story;
|
|
8
|
+
export declare const WithLocation: Story;
|
|
9
|
+
export declare const WithEmail: Story;
|
|
10
|
+
export declare const AllExamples: Story;
|
|
11
|
+
export declare const CustomClassName: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './threads';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Threads } from './threads';
|
|
3
|
+
declare const meta: Meta<typeof Threads>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Threads>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithActiveThread: Story;
|
|
8
|
+
export declare const WithDeleteButtons: Story;
|
|
9
|
+
export declare const LongThreadNames: Story;
|
|
10
|
+
export declare const EmptyThreadList: Story;
|
|
11
|
+
export declare const ManyThreads: Story;
|
|
12
|
+
export declare const WithTimestamps: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tooltip';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Tooltip } from './tooltip';
|
|
3
|
+
declare const meta: Meta<typeof Tooltip>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Tooltip>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithIcon: Story;
|
|
8
|
+
export declare const TopSide: Story;
|
|
9
|
+
export declare const RightSide: Story;
|
|
10
|
+
export declare const BottomSide: Story;
|
|
11
|
+
export declare const LeftSide: Story;
|
|
12
|
+
export declare const LongContent: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Txt } from './Txt';
|
|
3
|
+
declare const meta: Meta<typeof Txt>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Txt>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const HeaderMd: Story;
|
|
8
|
+
export declare const UiLg: Story;
|
|
9
|
+
export declare const UiMd: Story;
|
|
10
|
+
export declare const UiSm: Story;
|
|
11
|
+
export declare const UiXs: Story;
|
|
12
|
+
export declare const Monospace: Story;
|
|
13
|
+
export declare const AsHeading: Story;
|
|
14
|
+
export declare const AsLabel: Story;
|
|
15
|
+
export declare const AllVariants: Story;
|
|
16
|
+
export declare const MonospaceVariants: Story;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Icon } from './Icon';
|
|
3
|
+
declare const meta: Meta<typeof Icon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Icon>;
|
|
6
|
+
export declare const AllIcons: Story;
|
|
7
|
+
export declare const SmallIcons: Story;
|
|
8
|
+
export declare const LargeIcons: Story;
|
|
9
|
+
export declare const IconSizes: Story;
|
|
10
|
+
export declare const IconColors: Story;
|
|
11
|
+
export declare const AgentIcons: Story;
|
|
12
|
+
export declare const WorkflowIcons: Story;
|
|
13
|
+
export declare const ToolIcons: Story;
|
|
14
|
+
export declare const BrandIcons: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const formElementSizes: {
|
|
2
|
+
readonly sm: "h-form-sm";
|
|
3
|
+
readonly md: "h-form-md";
|
|
4
|
+
readonly lg: "h-form-lg";
|
|
5
|
+
};
|
|
6
|
+
export declare const formElementFocus = "focus:outline focus:outline-1 focus:outline-accent1";
|
|
7
|
+
export declare const formElementFocusWithin = "focus-within:outline focus-within:outline-1 focus-within:outline-accent1 focus-within:-outline-offset-2";
|
|
8
|
+
export declare const formElementRadius = "rounded-md";
|
|
9
|
+
export type FormElementSize = keyof typeof formElementSizes;
|
|
@@ -20,16 +20,14 @@ export declare const Colors: {
|
|
|
20
20
|
accent3Darker: string;
|
|
21
21
|
accent5Darker: string;
|
|
22
22
|
accent6Darker: string;
|
|
23
|
+
neutral1: string;
|
|
24
|
+
neutral2: string;
|
|
25
|
+
neutral3: string;
|
|
26
|
+
neutral4: string;
|
|
27
|
+
neutral5: string;
|
|
28
|
+
neutral6: string;
|
|
23
29
|
};
|
|
24
30
|
export declare const BorderColors: {
|
|
25
31
|
border1: string;
|
|
26
32
|
border2: string;
|
|
27
33
|
};
|
|
28
|
-
export declare const IconColors: {
|
|
29
|
-
icon1: string;
|
|
30
|
-
icon2: string;
|
|
31
|
-
icon3: string;
|
|
32
|
-
icon4: string;
|
|
33
|
-
icon5: string;
|
|
34
|
-
icon6: string;
|
|
35
|
-
};
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
export declare const FontSizes: {
|
|
2
|
-
'header-md': string;
|
|
3
|
-
'ui-lg': string;
|
|
4
|
-
'ui-md': string;
|
|
5
|
-
'ui-sm': string;
|
|
6
2
|
'ui-xs': string;
|
|
3
|
+
'ui-sm': string;
|
|
4
|
+
'ui-md': string;
|
|
5
|
+
'ui-lg': string;
|
|
6
|
+
'header-sm': string;
|
|
7
|
+
'header-md': string;
|
|
8
|
+
'header-lg': string;
|
|
9
|
+
'header-xl': string;
|
|
7
10
|
};
|
|
8
11
|
export declare const LineHeights: {
|
|
9
|
-
'header-md': string;
|
|
10
|
-
'ui-lg': string;
|
|
11
|
-
'ui-md': string;
|
|
12
|
-
'ui-sm': string;
|
|
13
12
|
'ui-xs': string;
|
|
13
|
+
'ui-sm': string;
|
|
14
|
+
'ui-md': string;
|
|
15
|
+
'ui-lg': string;
|
|
16
|
+
'header-sm': string;
|
|
17
|
+
'header-md': string;
|
|
18
|
+
'header-lg': string;
|
|
19
|
+
'header-xl': string;
|
|
14
20
|
};
|
|
@@ -2,8 +2,9 @@ export declare const Sizes: {
|
|
|
2
2
|
'icon-default': string;
|
|
3
3
|
'icon-lg': string;
|
|
4
4
|
'icon-sm': string;
|
|
5
|
-
'
|
|
6
|
-
'
|
|
5
|
+
'form-sm': string;
|
|
6
|
+
'form-md': string;
|
|
7
|
+
'form-lg': string;
|
|
7
8
|
'header-default': string;
|
|
8
9
|
'table-header': string;
|
|
9
10
|
'table-row': string;
|
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
export declare const Spacings: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
readonly '0': "0rem";
|
|
3
|
+
readonly px: "0.0625rem";
|
|
4
|
+
readonly '0.5': "0.125rem";
|
|
5
|
+
readonly '1': "0.25rem";
|
|
6
|
+
readonly '1.5': "0.375rem";
|
|
7
|
+
readonly '2': "0.5rem";
|
|
8
|
+
readonly '2.5': "0.625rem";
|
|
9
|
+
readonly '3': "0.75rem";
|
|
10
|
+
readonly '3.5': "0.875rem";
|
|
11
|
+
readonly '4': "1rem";
|
|
12
|
+
readonly '5': "1.25rem";
|
|
13
|
+
readonly '6': "1.5rem";
|
|
14
|
+
readonly '7': "1.75rem";
|
|
15
|
+
readonly '8': "2rem";
|
|
16
|
+
readonly '9': "2.25rem";
|
|
17
|
+
readonly '10': "2.5rem";
|
|
18
|
+
readonly '11': "2.75rem";
|
|
19
|
+
readonly '12': "3rem";
|
|
20
|
+
readonly '14': "3.5rem";
|
|
21
|
+
readonly '16': "4rem";
|
|
22
|
+
readonly '20': "5rem";
|
|
23
|
+
readonly '24': "6rem";
|
|
24
|
+
readonly '28': "7rem";
|
|
25
|
+
readonly '32': "8rem";
|
|
26
|
+
readonly '36': "9rem";
|
|
27
|
+
readonly '40': "10rem";
|
|
28
|
+
readonly '44': "11rem";
|
|
29
|
+
readonly '48': "12rem";
|
|
30
|
+
readonly '52': "13rem";
|
|
31
|
+
readonly '56': "14rem";
|
|
32
|
+
readonly '60': "15rem";
|
|
33
|
+
readonly '64': "16rem";
|
|
34
|
+
readonly '72': "18rem";
|
|
35
|
+
readonly '80': "20rem";
|
|
36
|
+
readonly '96': "24rem";
|
|
5
37
|
};
|
|
38
|
+
export type Spacing = keyof typeof Spacings;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -4,43 +4,74 @@ export * from './domains/tools/index';
|
|
|
4
4
|
export * from './domains/workflows/index';
|
|
5
5
|
export * from './domains/templates/index';
|
|
6
6
|
export * from './domains/observability/index';
|
|
7
|
-
export * from './components/
|
|
8
|
-
export * from './components/ui/containers';
|
|
9
|
-
export * from './components/ui/elements';
|
|
10
|
-
export * from './components/threads';
|
|
11
|
-
export * from './components/ui/entity-header';
|
|
7
|
+
export * from './ds/components/Threads';
|
|
12
8
|
export * from './types';
|
|
9
|
+
export * from './ds/components/Alert';
|
|
10
|
+
export * from './ds/components/Avatar';
|
|
13
11
|
export * from './ds/components/Badge/index';
|
|
14
|
-
export * from './ds/components/Button/index';
|
|
15
12
|
export * from './ds/components/Breadcrumb/index';
|
|
13
|
+
export * from './ds/components/Button/index';
|
|
14
|
+
export * from './ds/components/CodeEditor/index';
|
|
15
|
+
export * from './ds/components/EmptyState/index';
|
|
16
|
+
export * from './ds/components/Entity/index';
|
|
16
17
|
export * from './ds/components/Header/index';
|
|
17
18
|
export * from './ds/components/Logo/index';
|
|
18
19
|
export * from './ds/components/Table/index';
|
|
19
20
|
export * from './ds/components/Txt/index';
|
|
20
|
-
export * from './ds/components/
|
|
21
|
-
export * from './ds/components/
|
|
21
|
+
export * from './ds/components/AlertDialog';
|
|
22
|
+
export * from './ds/components/Checkbox';
|
|
23
|
+
export * from './ds/components/Collapsible';
|
|
24
|
+
export * from './ds/components/Combobox';
|
|
25
|
+
export * from './ds/components/CopyButton';
|
|
26
|
+
export * from './ds/components/Dialog';
|
|
27
|
+
export * from './ds/components/Entry';
|
|
28
|
+
export * from './ds/components/EntityHeader';
|
|
29
|
+
export * from './ds/components/Input';
|
|
30
|
+
export * from './ds/components/Kbd';
|
|
31
|
+
export * from './ds/components/Label';
|
|
32
|
+
export * from './ds/components/MarkdownRenderer';
|
|
33
|
+
export * from './ds/components/Popover';
|
|
34
|
+
export * from './ds/components/RadioGroup';
|
|
35
|
+
export * from './ds/components/ScrollArea';
|
|
36
|
+
export * from './ds/components/Searchbar';
|
|
37
|
+
export * from './ds/components/Select';
|
|
38
|
+
export * from './ds/components/Skeleton';
|
|
39
|
+
export * from './ds/components/Slider';
|
|
40
|
+
export * from './ds/components/Spinner';
|
|
41
|
+
export * from './ds/components/Switch';
|
|
42
|
+
export * from './ds/components/Tooltip';
|
|
43
|
+
export * from './ds/components/ButtonsGroup';
|
|
44
|
+
export * from './ds/components/MainContent';
|
|
45
|
+
export * from './ds/components/Sections';
|
|
46
|
+
export * from './ds/components/CombinedButtons';
|
|
47
|
+
export * from './ds/components/DateTimePicker';
|
|
48
|
+
export * from './ds/components/EntryList';
|
|
49
|
+
export * from './ds/components/FormFields';
|
|
50
|
+
export * from './ds/components/KeyValueList';
|
|
51
|
+
export * from './ds/components/MainSidebar';
|
|
52
|
+
export * from './ds/components/Notification';
|
|
53
|
+
export * from './ds/components/PageHeader';
|
|
54
|
+
export * from './ds/components/Section';
|
|
55
|
+
export * from './ds/components/SelectElement';
|
|
56
|
+
export * from './ds/components/SideDialog';
|
|
57
|
+
export * from './ds/components/Steps';
|
|
58
|
+
export * from './ds/components/Tabs';
|
|
59
|
+
export * from './ds/components/Text';
|
|
60
|
+
export * from './lib/form';
|
|
22
61
|
export * from './ds/icons/index';
|
|
23
|
-
export * from './ds/components/Alert';
|
|
24
62
|
export * from './domains/voice/hooks/use-speech-recognition';
|
|
25
|
-
export * from './components/ui/radio-group';
|
|
26
|
-
export * from './components/ui/entry';
|
|
27
63
|
export * from './hooks';
|
|
28
64
|
export * from './lib/tanstack-query';
|
|
29
65
|
export * from './domains/memory/hooks';
|
|
30
66
|
export * from './store/playground-store';
|
|
31
67
|
export * from './lib/framework';
|
|
32
|
-
export { MemorySearch } from './
|
|
33
|
-
export * from './components/ui/alert-dialog';
|
|
34
|
-
export * from './components/ui/searchbar';
|
|
35
|
-
export * from './components/ui/tooltip';
|
|
36
|
-
export * from './components/ui/kbd';
|
|
37
|
-
export * from './components/ui/collapsible';
|
|
38
|
-
export * from './components/ui/combobox';
|
|
39
|
-
export * from './components/ui/skeleton';
|
|
68
|
+
export { MemorySearch } from './lib/ai-ui/memory-search';
|
|
40
69
|
export * from './domains/conversation/index';
|
|
41
70
|
export * from './lib/errors';
|
|
42
|
-
export
|
|
71
|
+
export { cn } from './lib/utils';
|
|
72
|
+
export * from './lib/ai-ui/tools/tool-fallback';
|
|
43
73
|
export * from './domains/workflows/runs/workflow-run-list';
|
|
44
74
|
export * from './domains/mcps/index';
|
|
45
75
|
export * from './lib/toast';
|
|
46
76
|
export * from './domains/configuration/index';
|
|
77
|
+
export * from './lib/mastra-platform';
|
package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/agent-badge-wrapper.d.ts
RENAMED
|
@@ -9,6 +9,8 @@ interface AgentBadgeWrapperProps extends Omit<ToolApprovalButtonsProps, 'toolCal
|
|
|
9
9
|
subAgentThreadId?: string;
|
|
10
10
|
};
|
|
11
11
|
metadata?: MastraUIMessage['metadata'];
|
|
12
|
+
suspendPayload?: any;
|
|
13
|
+
toolCalled?: boolean;
|
|
12
14
|
}
|
|
13
|
-
export declare const AgentBadgeWrapper: ({ agentId, result, metadata, toolCallId, toolApprovalMetadata, }: AgentBadgeWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const AgentBadgeWrapper: ({ agentId, result, metadata, toolCallId, toolApprovalMetadata, toolName, isNetwork, suspendPayload, toolCalled, }: AgentBadgeWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
export {};
|
|
@@ -17,6 +17,8 @@ export interface AgentBadgeProps extends Omit<ToolApprovalButtonsProps, 'toolCal
|
|
|
17
17
|
agentId: string;
|
|
18
18
|
messages: AgentMessage[];
|
|
19
19
|
metadata?: MastraUIMessage['metadata'];
|
|
20
|
+
suspendPayload?: any;
|
|
21
|
+
toolCalled?: boolean;
|
|
20
22
|
}
|
|
21
|
-
export declare const AgentBadge: ({ agentId, messages, metadata, toolCallId, toolApprovalMetadata }: AgentBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const AgentBadge: ({ agentId, messages, metadata, toolCallId, toolApprovalMetadata, toolName, isNetwork, suspendPayload, toolCalled: toolCalledProp, }: AgentBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
24
|
export {};
|
package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/tool-approval-buttons.d.ts
RENAMED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export interface ToolApprovalButtonsProps {
|
|
2
2
|
toolCallId: string;
|
|
3
|
+
toolName: string;
|
|
3
4
|
toolCalled: boolean;
|
|
4
5
|
toolApprovalMetadata: {
|
|
5
6
|
toolCallId: string;
|
|
6
7
|
toolName: string;
|
|
7
8
|
args: Record<string, any>;
|
|
9
|
+
runId?: string;
|
|
8
10
|
} | undefined;
|
|
11
|
+
isNetwork: boolean;
|
|
9
12
|
}
|
|
10
|
-
export declare const ToolApprovalButtons: ({ toolCalled, toolCallId, toolApprovalMetadata }: ToolApprovalButtonsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export declare const ToolApprovalButtons: ({ toolCalled, toolCallId, toolApprovalMetadata, toolName, isNetwork, }: ToolApprovalButtonsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -9,5 +9,6 @@ export interface ToolBadgeProps extends Omit<ToolApprovalButtonsProps, 'toolCall
|
|
|
9
9
|
toolId: string;
|
|
10
10
|
}>;
|
|
11
11
|
suspendPayload?: any;
|
|
12
|
+
toolCalled?: boolean;
|
|
12
13
|
}
|
|
13
|
-
export declare const ToolBadge: ({ toolName, args, result, metadata, toolOutput, toolCallId, toolApprovalMetadata, suspendPayload, }: ToolBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ToolBadge: ({ toolName, args, result, metadata, toolOutput, toolCallId, toolApprovalMetadata, suspendPayload, isNetwork, toolCalled: toolCalledProp, }: ToolBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,6 +7,7 @@ export interface WorkflowBadgeProps extends Omit<ToolApprovalButtonsProps, 'tool
|
|
|
7
7
|
isStreaming?: boolean;
|
|
8
8
|
metadata?: MastraUIMessage['metadata'];
|
|
9
9
|
suspendPayload?: any;
|
|
10
|
+
toolCalled?: boolean;
|
|
10
11
|
}
|
|
11
|
-
export declare const WorkflowBadge: ({ result, workflowId, isStreaming, metadata, toolCallId, toolApprovalMetadata, suspendPayload, }: WorkflowBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const WorkflowBadge: ({ result, workflowId, isStreaming, metadata, toolCallId, toolApprovalMetadata, suspendPayload, toolName, isNetwork, toolCalled, }: WorkflowBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export declare const useWorkflowStream: (workflowFullState?: WorkflowRunStreamResult) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from '../../../node_modules/@types/react';
|
|
2
2
|
import { AutoFormProps } from './types';
|
|
3
3
|
export declare const ShadcnAutoFormFieldComponents: {
|
|
4
4
|
string: React.FC<import('@autoform/react').AutoFormFieldProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { ArrayElementWrapperProps } from '@autoform/react';
|
|
3
3
|
export declare const ArrayElementWrapper: React.FC<ArrayElementWrapperProps>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { AutoFormFieldProps } from '@autoform/react';
|
|
3
3
|
export declare const BooleanField: React.FC<AutoFormFieldProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { ParsedField } from '@autoform/core';
|
|
3
3
|
export declare const CustomArrayField: React.FC<{
|
|
4
4
|
field: ParsedField;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { ParsedField } from '@autoform/core';
|
|
3
3
|
export declare const CustomAutoFormField: React.FC<{
|
|
4
4
|
field: ParsedField;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
import { ParsedField } from '@autoform/core';
|
|
3
3
|
export declare const CustomObjectField: React.FC<{
|
|
4
4
|
field: ParsedField;
|
package/dist/src/{components/ui/autoform/components/Form.d.ts → lib/form/components/form.d.ts}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { default as React } from '
|
|
1
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
2
2
|
export declare const Form: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & React.RefAttributes<HTMLFormElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { AutoFormFieldProps } from '@autoform/react';
|
|
2
|
-
import { default as React } from '
|
|
2
|
+
import { default as React } from '../../../../node_modules/@types/react';
|
|
3
3
|
export declare const NumberField: React.FC<AutoFormFieldProps>;
|