@mastra/playground-ui 7.0.0-beta.20 → 7.0.0-beta.22
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 +130 -0
- package/dist/index.cjs.js +2677 -2398
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +81 -44
- package/dist/index.es.js +2638 -2413
- 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 +21 -12
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,135 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 7.0.0-beta.22
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added consistent sizing, radius, and focus effects across all form elements. ([#11970](https://github.com/mastra-ai/mastra/pull/11970))
|
|
8
|
+
|
|
9
|
+
**New size prop** for form elements with unified values:
|
|
10
|
+
- `sm` (24px)
|
|
11
|
+
- `md` (32px)
|
|
12
|
+
- `lg` (40px)
|
|
13
|
+
|
|
14
|
+
Components now share a consistent `size` prop: Button, Input, SelectTrigger, Searchbar, InputField, SelectField, and Combobox.
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
// Before - inconsistent props
|
|
18
|
+
<Input customSize="default" />
|
|
19
|
+
<Button size="md" /> // was 24px
|
|
20
|
+
|
|
21
|
+
// After - unified size prop
|
|
22
|
+
<Input size="md" />
|
|
23
|
+
<Button size="md" /> // now 32px
|
|
24
|
+
<SelectTrigger size="lg" />
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Breaking changes:**
|
|
28
|
+
- Input: `customSize` prop renamed to `size`
|
|
29
|
+
- Button: `size="md"` now renders at 32px (was 24px). Use `size="sm"` for 24px height.
|
|
30
|
+
|
|
31
|
+
**Other changes:**
|
|
32
|
+
- All form elements now use `rounded-md` radius
|
|
33
|
+
- All form elements now use `focus:outline focus:outline-accent1` focus effect
|
|
34
|
+
- Removed `button-md` and `button-lg` size tokens (use `form-sm`, `form-md`, `form-lg` instead)
|
|
35
|
+
|
|
36
|
+
- Added platform-aware navigation filtering using `useMastraPlatform` hook. Nav links now include an `isOnMastraPlatform` property that controls visibility based on whether the app is running on Mastra Platform or locally. ([#11990](https://github.com/mastra-ai/mastra/pull/11990))
|
|
37
|
+
|
|
38
|
+
- consolidate duplicated components between ds and ui directories ([#11876](https://github.com/mastra-ai/mastra/pull/11876))
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Add Storybook stories for all design system components. Includes stories for 48 components organized by category (Elements, Feedback, Navigation, DataDisplay, Layout, Composite) plus an Icons showcase displaying all 41 icons. ([#11921](https://github.com/mastra-ai/mastra/pull/11921))
|
|
43
|
+
|
|
44
|
+
- Consolidate UI components into design system folder. Moves all UI primitives from `src/components/ui/` to `src/ds/components/` to establish a single source of truth for UI components. Import paths updated across the codebase. No API changes - all exports remain the same. ([#11886](https://github.com/mastra-ai/mastra/pull/11886))
|
|
45
|
+
|
|
46
|
+
- Consolidate Tailwind config as the single source of truth. The playground package now imports the config via a preset export instead of duplicating all theme definitions. ([#11916](https://github.com/mastra-ai/mastra/pull/11916))
|
|
47
|
+
|
|
48
|
+
- Aligned border, background, and radius styles across Dialog, AlertDialog, Popover, and Select components for visual consistency. All overlay components now use border-border1, bg-surface3, and rounded-md. ([#11974](https://github.com/mastra-ai/mastra/pull/11974))
|
|
49
|
+
|
|
50
|
+
- Add human-in-the-loop (HITL) support to agent networks ([#11678](https://github.com/mastra-ai/mastra/pull/11678))
|
|
51
|
+
- Add suspend/resume capabilities to agent network
|
|
52
|
+
- Enable auto-resume for suspended network execution via `autoResumeSuspendedTools`
|
|
53
|
+
|
|
54
|
+
`agent.resumeNetwork`, `agent.approveNetworkToolCall`, `agent.declineNetworkToolCall`
|
|
55
|
+
|
|
56
|
+
- fix(playground-ui): prevent temperature and topP conflict for Anthropic Claude 4.5+ models ([#11777](https://github.com/mastra-ai/mastra/pull/11777))
|
|
57
|
+
- Auto-clear topP for Claude 4.5+ models when both temperature and topP are set
|
|
58
|
+
- Show warning banner when user manually sets both values for restricted models
|
|
59
|
+
- Non-restricted models (OpenAI, Google, Claude 3.5) keep both defaults
|
|
60
|
+
|
|
61
|
+
Fixes #11760
|
|
62
|
+
|
|
63
|
+
- Removed legacy spacing tokens (sm, md, lg) from the design system. These tokens were deprecated aliases that mapped to standard Tailwind spacing values (0.5, 1, 2). All components have been updated to use the standard spacing tokens directly. ([#11978](https://github.com/mastra-ai/mastra/pull/11978))
|
|
64
|
+
|
|
65
|
+
- Move AutoForm from ds/components to lib/form for better organization ([#11915](https://github.com/mastra-ai/mastra/pull/11915))
|
|
66
|
+
|
|
67
|
+
- Merge `IconColors` into `Colors` object in design tokens. Icon color tokens (`icon1` through `icon6`) are now part of the main `Colors` export. ([#11932](https://github.com/mastra-ai/mastra/pull/11932))
|
|
68
|
+
|
|
69
|
+
- Remove legacy `colors.mastra` from Tailwind config and migrate to design system tokens (`Colors`, `IconColors`). ([#11925](https://github.com/mastra-ai/mastra/pull/11925))
|
|
70
|
+
|
|
71
|
+
- Rollback color of sidebar cloud cta ([#11877](https://github.com/mastra-ai/mastra/pull/11877))
|
|
72
|
+
|
|
73
|
+
- Remove unused keyframes and animations from tailwind config ([#11930](https://github.com/mastra-ai/mastra/pull/11930))
|
|
74
|
+
|
|
75
|
+
- Rename icon color tokens to neutral for better semantic naming ([#11933](https://github.com/mastra-ai/mastra/pull/11933))
|
|
76
|
+
|
|
77
|
+
- Replaced arbitrary Tailwind CSS values with standard utility classes for better consistency and maintainability. ([#11965](https://github.com/mastra-ai/mastra/pull/11965))
|
|
78
|
+
- Changed arbitrary spacing values like `gap-[1rem]`, `p-[1.5rem]`, `px-[2rem]` to standard classes (`gap-4`, `p-6`, `px-8`)
|
|
79
|
+
- Updated z-index values from `z-[1]` and `z-[100]` to standard `z-10` and `z-50`
|
|
80
|
+
- Replaced arbitrary gap values like `gap-[6px]` with `gap-1.5`
|
|
81
|
+
- Updated duration values from `duration-[1s]` to `duration-1000`
|
|
82
|
+
|
|
83
|
+
- Replaced arbitrary Tailwind text sizes with semantic design tokens for consistent typography. ([#11956](https://github.com/mastra-ai/mastra/pull/11956))
|
|
84
|
+
|
|
85
|
+
**Changes:**
|
|
86
|
+
- Consolidated font size tokens from 5 fractional rem values to 8 clean sizes
|
|
87
|
+
- Replaced 129 occurrences of arbitrary `text-[...]` patterns across 44 files
|
|
88
|
+
- Added new header size tokens (`header-sm`, `header-lg`, `header-xl`)
|
|
89
|
+
|
|
90
|
+
**New token scale:**
|
|
91
|
+
- `ui-xs`: 10px
|
|
92
|
+
- `ui-sm`: 12px (was 11px)
|
|
93
|
+
- `ui-md`: 14px (was 12px)
|
|
94
|
+
- `ui-lg`: 16px (was 13px)
|
|
95
|
+
- `header-sm`: 18px
|
|
96
|
+
- `header-md`: 20px (was 16px)
|
|
97
|
+
- `header-lg`: 24px
|
|
98
|
+
- `header-xl`: 28px
|
|
99
|
+
|
|
100
|
+
- Replaced direct `clsx` imports with the `cn` utility across all components for consistent Tailwind class merging. ([#11938](https://github.com/mastra-ai/mastra/pull/11938))
|
|
101
|
+
|
|
102
|
+
- Replace CSS variable colors with design tokens ([#11928](https://github.com/mastra-ai/mastra/pull/11928))
|
|
103
|
+
|
|
104
|
+
- Removed unused files, dependencies, and exports from playground packages. Deleted orphaned tool-list.tsx and workflow-list.tsx components, removed unused react-code-block dependency, and cleaned up 12 unused exports across object utilities, string helpers, and hooks. ([#11979](https://github.com/mastra-ai/mastra/pull/11979))
|
|
105
|
+
|
|
106
|
+
- Converted spacing design tokens from pixels to REM units for better accessibility. Spacing now scales with the user's browser font size settings. All existing Tailwind spacing classes (`p-4`, `gap-2`, `m-8`, etc.) continue to work unchanged. ([#11968](https://github.com/mastra-ai/mastra/pull/11968))
|
|
107
|
+
|
|
108
|
+
- Simplify Storybook configuration by removing Radix UI module resolution hacks and creating a dedicated CSS file for Storybook ([#11920](https://github.com/mastra-ai/mastra/pull/11920))
|
|
109
|
+
|
|
110
|
+
- Agent's right sidebar is now 30% wide before resizing. It makes it easier to read the information at a first glance ([#11803](https://github.com/mastra-ai/mastra/pull/11803))
|
|
111
|
+
|
|
112
|
+
- Updated dependencies [[`ebae12a`](https://github.com/mastra-ai/mastra/commit/ebae12a2dd0212e75478981053b148a2c246962d), [`c61a0a5`](https://github.com/mastra-ai/mastra/commit/c61a0a5de4904c88fd8b3718bc26d1be1c2ec6e7), [`69136e7`](https://github.com/mastra-ai/mastra/commit/69136e748e32f57297728a4e0f9a75988462f1a7), [`449aed2`](https://github.com/mastra-ai/mastra/commit/449aed2ba9d507b75bf93d427646ea94f734dfd1), [`eb648a2`](https://github.com/mastra-ai/mastra/commit/eb648a2cc1728f7678768dd70cd77619b448dab9), [`0131105`](https://github.com/mastra-ai/mastra/commit/0131105532e83bdcbb73352fc7d0879eebf140dc), [`9d5059e`](https://github.com/mastra-ai/mastra/commit/9d5059eae810829935fb08e81a9bb7ecd5b144a7), [`ef756c6`](https://github.com/mastra-ai/mastra/commit/ef756c65f82d16531c43f49a27290a416611e526), [`b00ccd3`](https://github.com/mastra-ai/mastra/commit/b00ccd325ebd5d9e37e34dd0a105caae67eb568f), [`e09a788`](https://github.com/mastra-ai/mastra/commit/e09a788e01698a711c7f705ce8d64ef8a20c3582), [`3bdfa75`](https://github.com/mastra-ai/mastra/commit/3bdfa7507a91db66f176ba8221aa28dd546e464a), [`e770de9`](https://github.com/mastra-ai/mastra/commit/e770de941a287a49b1964d44db5a5763d19890a6), [`52e2716`](https://github.com/mastra-ai/mastra/commit/52e2716b42df6eff443de72360ae83e86ec23993), [`27b4040`](https://github.com/mastra-ai/mastra/commit/27b4040bfa1a95d92546f420a02a626b1419a1d6), [`610a70b`](https://github.com/mastra-ai/mastra/commit/610a70bdad282079f0c630e0d7bb284578f20151), [`8dc7f55`](https://github.com/mastra-ai/mastra/commit/8dc7f55900395771da851dc7d78d53ae84fe34ec), [`8379099`](https://github.com/mastra-ai/mastra/commit/8379099fc467af6bef54dd7f80c9bd75bf8bbddf), [`8c0ec25`](https://github.com/mastra-ai/mastra/commit/8c0ec25646c8a7df253ed1e5ff4863a0d3f1316c), [`ff4d9a6`](https://github.com/mastra-ai/mastra/commit/ff4d9a6704fc87b31a380a76ed22736fdedbba5a), [`69821ef`](https://github.com/mastra-ai/mastra/commit/69821ef806482e2c44e2197ac0b050c3fe3a5285), [`1ed5716`](https://github.com/mastra-ai/mastra/commit/1ed5716830867b3774c4a1b43cc0d82935f32b96), [`4186bdd`](https://github.com/mastra-ai/mastra/commit/4186bdd00731305726fa06adba0b076a1d50b49f), [`7aaf973`](https://github.com/mastra-ai/mastra/commit/7aaf973f83fbbe9521f1f9e7a4fd99b8de464617)]:
|
|
113
|
+
- @mastra/core@1.0.0-beta.22
|
|
114
|
+
- @mastra/react@0.1.0-beta.22
|
|
115
|
+
- @mastra/client-js@1.0.0-beta.22
|
|
116
|
+
- @mastra/ai-sdk@1.0.0-beta.15
|
|
117
|
+
|
|
118
|
+
## 7.0.0-beta.21
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- Replace deprecated client.getTraces with a client.listTraces ([#11711](https://github.com/mastra-ai/mastra/pull/11711))
|
|
123
|
+
|
|
124
|
+
- Make initialState optional in studio ([#11744](https://github.com/mastra-ai/mastra/pull/11744))
|
|
125
|
+
|
|
126
|
+
- Updated dependencies [[`08766f1`](https://github.com/mastra-ai/mastra/commit/08766f15e13ac0692fde2a8bd366c2e16e4321df), [`ae8baf7`](https://github.com/mastra-ai/mastra/commit/ae8baf7d8adcb0ff9dac11880400452bc49b33ff), [`cfabdd4`](https://github.com/mastra-ai/mastra/commit/cfabdd4aae7a726b706942d6836eeca110fb6267), [`3bf08bf`](https://github.com/mastra-ai/mastra/commit/3bf08bf9c7c73818ac937b5a69d90e205653115f), [`a0e437f`](https://github.com/mastra-ai/mastra/commit/a0e437fac561b28ee719e0302d72b2f9b4c138f0), [`bec5efd`](https://github.com/mastra-ai/mastra/commit/bec5efde96653ccae6604e68c696d1bc6c1a0bf5), [`9eedf7d`](https://github.com/mastra-ai/mastra/commit/9eedf7de1d6e0022a2f4e5e9e6fe1ec468f9b43c)]:
|
|
127
|
+
- @mastra/core@1.0.0-beta.21
|
|
128
|
+
- @mastra/schema-compat@1.0.0-beta.6
|
|
129
|
+
- @mastra/ai-sdk@1.0.0-beta.14
|
|
130
|
+
- @mastra/client-js@1.0.0-beta.21
|
|
131
|
+
- @mastra/react@0.1.0-beta.21
|
|
132
|
+
|
|
3
133
|
## 7.0.0-beta.20
|
|
4
134
|
|
|
5
135
|
### Patch Changes
|