@lobb-js/studio 0.1.31 → 0.1.32
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/{src/lib/components → dist}/LlmButton.svelte +2 -2
- package/dist/LlmButton.svelte.d.ts +17 -0
- package/{src → dist}/Studio.svelte +15 -15
- package/dist/Studio.svelte.d.ts +6 -0
- package/{src/lib/components → dist}/alertView.svelte +1 -1
- package/dist/alertView.svelte.d.ts +8 -0
- package/{src/lib/components → dist}/breadCrumbs.svelte +2 -2
- package/dist/breadCrumbs.svelte.d.ts +3 -0
- package/{src/lib/components → dist}/combobox.svelte +4 -4
- package/dist/combobox.svelte.d.ts +15 -0
- package/{src/lib/components → dist}/confirmationDialog/confirmationDialog.svelte +1 -1
- package/dist/confirmationDialog/confirmationDialog.svelte.d.ts +8 -0
- package/dist/confirmationDialog/store.svelte.d.ts +1 -0
- package/dist/confirmationDialog/store.svelte.js +69 -0
- package/{src/lib/components → dist}/createManyButton.svelte +2 -2
- package/dist/createManyButton.svelte.d.ts +8 -0
- package/{src/lib/components → dist}/dataTable/childRecords.svelte +2 -2
- package/dist/dataTable/childRecords.svelte.d.ts +9 -0
- package/{src/lib/components → dist}/dataTable/dataTable.svelte +3 -3
- package/dist/dataTable/dataTable.svelte.d.ts +15 -0
- package/{src/lib/components → dist}/dataTable/fieldCell.svelte +1 -1
- package/dist/dataTable/fieldCell.svelte.d.ts +10 -0
- package/{src/lib/components → dist}/dataTable/filter.svelte +2 -2
- package/dist/dataTable/filter.svelte.d.ts +10 -0
- package/{src/lib/components → dist}/dataTable/filterButton.svelte +1 -1
- package/dist/dataTable/filterButton.svelte.d.ts +8 -0
- package/dist/dataTable/footer.svelte.d.ts +8 -0
- package/{src/lib/components → dist}/dataTable/header.svelte +2 -2
- package/dist/dataTable/header.svelte.d.ts +10 -0
- package/{src/lib/components → dist}/dataTable/sort.svelte +2 -2
- package/dist/dataTable/sort.svelte.d.ts +8 -0
- package/{src/lib/components → dist}/dataTable/sortButton.svelte +2 -2
- package/dist/dataTable/sortButton.svelte.d.ts +8 -0
- package/dist/dataTable/table.svelte.d.ts +32 -0
- package/dist/dataTable/utils.d.ts +7 -0
- package/dist/dataTable/utils.js +111 -0
- package/{src/lib/components → dist}/detailView/create/children.svelte +3 -3
- package/dist/detailView/create/children.svelte.d.ts +8 -0
- package/{src/lib/components → dist}/detailView/create/createDetailView.svelte +6 -6
- package/dist/detailView/create/createDetailView.svelte.d.ts +18 -0
- package/{src/lib/components → dist}/detailView/create/createDetailViewButton.svelte +2 -2
- package/dist/detailView/create/createDetailViewButton.svelte.d.ts +11 -0
- package/{src/lib/components → dist}/detailView/create/createManyView.svelte +5 -5
- package/dist/detailView/create/createManyView.svelte.d.ts +16 -0
- package/{src/lib/components → dist}/detailView/create/subRecords.svelte +1 -1
- package/dist/detailView/create/subRecords.svelte.d.ts +8 -0
- package/dist/detailView/detailViewForm.svelte.d.ts +48 -0
- package/dist/detailView/fieldCustomInput.svelte.d.ts +10 -0
- package/{src/lib/components → dist}/detailView/fieldInput.svelte +4 -4
- package/dist/detailView/fieldInput.svelte.d.ts +10 -0
- package/{src/lib/components → dist}/detailView/fieldInputReplacement.svelte +1 -1
- package/dist/detailView/fieldInputReplacement.svelte.d.ts +11 -0
- package/dist/detailView/store.svelte.d.ts +4 -0
- package/dist/detailView/store.svelte.js +125 -0
- package/{src/lib/components → dist}/detailView/update/children.svelte +4 -4
- package/dist/detailView/update/children.svelte.d.ts +7 -0
- package/{src/lib/components → dist}/detailView/update/updateDetailView.svelte +6 -6
- package/dist/detailView/update/updateDetailView.svelte.d.ts +19 -0
- package/{src/lib/components → dist}/detailView/update/updateDetailViewButton.svelte +2 -2
- package/dist/detailView/update/updateDetailViewButton.svelte.d.ts +11 -0
- package/dist/detailView/utils.d.ts +8 -0
- package/dist/detailView/utils.js +165 -0
- package/{src/lib/components → dist}/diffViewer.svelte +1 -1
- package/dist/diffViewer.svelte.d.ts +9 -0
- package/{src/lib/components → dist}/drawer.svelte +1 -1
- package/dist/drawer.svelte.d.ts +8 -0
- package/{src/lib/components → dist}/extensionsComponents.svelte +1 -2
- package/dist/extensionsComponents.svelte.d.ts +11 -0
- package/dist/foreingKeyInput.svelte.d.ts +11 -0
- package/{src/lib/components → dist}/header.svelte +1 -1
- package/dist/header.svelte.d.ts +6 -0
- package/dist/loadingTypesForMonacoEditor.d.ts +7 -0
- package/dist/loadingTypesForMonacoEditor.js +72 -0
- package/{src/lib/components → dist}/miniSidebar.svelte +7 -7
- package/dist/miniSidebar.svelte.d.ts +20 -0
- package/{src/lib/components → dist}/monacoEditor.svelte +1 -1
- package/dist/monacoEditor.svelte.d.ts +13 -0
- package/{src/lib/components → dist}/rangeCalendarButton.svelte +4 -4
- package/dist/rangeCalendarButton.svelte.d.ts +7 -0
- package/{src/lib/components → dist}/selectRecord.svelte +1 -1
- package/dist/selectRecord.svelte.d.ts +15 -0
- package/{src/lib/components → dist}/setServerPage.svelte +2 -2
- package/dist/setServerPage.svelte.d.ts +18 -0
- package/{src/lib/components/sidebar/index.ts → dist/sidebar/index.d.ts} +1 -2
- package/dist/sidebar/index.js +3 -0
- package/{src/lib/components → dist}/sidebar/sidebar.svelte +1 -1
- package/dist/sidebar/sidebar.svelte.d.ts +17 -0
- package/dist/sidebar/sidebarElements.svelte.d.ts +19 -0
- package/dist/sidebar/sidebarTrigger.svelte.d.ts +7 -0
- package/{src/lib/components → dist}/singletone.svelte +1 -1
- package/dist/singletone.svelte.d.ts +6 -0
- package/{src/lib/components → dist}/ui/accordion/accordion-content.svelte +1 -1
- package/dist/ui/accordion/accordion-content.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/accordion/accordion-item.svelte +1 -1
- package/dist/ui/accordion/accordion-item.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/accordion/accordion-trigger.svelte +1 -1
- package/dist/ui/accordion/accordion-trigger.svelte.d.ts +7 -0
- package/dist/ui/accordion/index.d.ts +6 -0
- package/{src/lib/components/ui/accordion/index.ts → dist/ui/accordion/index.js} +4 -13
- package/{src/lib/components → dist}/ui/alert/alert-description.svelte +1 -1
- package/dist/ui/alert/alert-description.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/alert/alert-title.svelte +1 -1
- package/dist/ui/alert/alert-title.svelte.d.ts +8 -0
- package/{src/lib/components → dist}/ui/alert/alert.svelte +1 -1
- package/dist/ui/alert/alert.svelte.d.ts +26 -0
- package/{src/lib/components/ui/alert/index.ts → dist/ui/alert/index.d.ts} +1 -10
- package/dist/ui/alert/index.js +7 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-action.svelte +2 -2
- package/dist/ui/alert-dialog/alert-dialog-action.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-cancel.svelte +2 -2
- package/dist/ui/alert-dialog/alert-dialog-cancel.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-content.svelte +1 -1
- package/dist/ui/alert-dialog/alert-dialog-content.svelte.d.ts +7 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-description.svelte +1 -1
- package/dist/ui/alert-dialog/alert-dialog-description.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-footer.svelte +1 -1
- package/dist/ui/alert-dialog/alert-dialog-footer.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-header.svelte +1 -1
- package/dist/ui/alert-dialog/alert-dialog-header.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-overlay.svelte +1 -1
- package/dist/ui/alert-dialog/alert-dialog-overlay.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/alert-dialog/alert-dialog-title.svelte +1 -1
- package/dist/ui/alert-dialog/alert-dialog-title.svelte.d.ts +4 -0
- package/dist/ui/alert-dialog/index.d.ts +13 -0
- package/dist/ui/alert-dialog/index.js +15 -0
- package/{src/lib/components → dist}/ui/breadcrumb/breadcrumb-ellipsis.svelte +1 -1
- package/dist/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/breadcrumb/breadcrumb-item.svelte +1 -1
- package/dist/ui/breadcrumb/breadcrumb-item.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/breadcrumb/breadcrumb-link.svelte +1 -1
- package/dist/ui/breadcrumb/breadcrumb-link.svelte.d.ts +11 -0
- package/{src/lib/components → dist}/ui/breadcrumb/breadcrumb-list.svelte +1 -1
- package/dist/ui/breadcrumb/breadcrumb-list.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/breadcrumb/breadcrumb-page.svelte +1 -1
- package/dist/ui/breadcrumb/breadcrumb-page.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/breadcrumb/breadcrumb-separator.svelte +1 -1
- package/dist/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +5 -0
- package/dist/ui/breadcrumb/breadcrumb.svelte.d.ts +5 -0
- package/{src/lib/components/ui/breadcrumb/index.ts → dist/ui/breadcrumb/index.d.ts} +1 -18
- package/dist/ui/breadcrumb/index.js +10 -0
- package/{src/lib/components → dist}/ui/button/button.svelte +1 -1
- package/dist/ui/button/button.svelte.d.ts +60 -0
- package/dist/ui/button/index.d.ts +2 -0
- package/dist/ui/button/index.js +4 -0
- package/{src/lib/components → dist}/ui/checkbox/checkbox.svelte +1 -1
- package/dist/ui/checkbox/checkbox.svelte.d.ts +4 -0
- package/dist/ui/checkbox/index.d.ts +2 -0
- package/dist/ui/checkbox/index.js +4 -0
- package/{src/lib/components → dist}/ui/command/command-dialog.svelte +1 -1
- package/dist/ui/command/command-dialog.svelte.d.ts +9 -0
- package/{src/lib/components → dist}/ui/command/command-empty.svelte +1 -1
- package/dist/ui/command/command-empty.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/command/command-group.svelte +1 -1
- package/dist/ui/command/command-group.svelte.d.ts +7 -0
- package/{src/lib/components → dist}/ui/command/command-input.svelte +1 -1
- package/dist/ui/command/command-input.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/command/command-item.svelte +1 -1
- package/dist/ui/command/command-item.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/command/command-link-item.svelte +1 -1
- package/dist/ui/command/command-link-item.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/command/command-list.svelte +1 -1
- package/dist/ui/command/command-list.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/command/command-separator.svelte +1 -1
- package/dist/ui/command/command-separator.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/command/command-shortcut.svelte +1 -1
- package/dist/ui/command/command-shortcut.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/command/command.svelte +1 -1
- package/dist/ui/command/command.svelte.d.ts +4 -0
- package/{src/lib/components/ui/command/index.ts → dist/ui/command/index.d.ts} +2 -29
- package/dist/ui/command/index.js +15 -0
- package/{src/lib/components → dist}/ui/dialog/dialog-content.svelte +1 -1
- package/dist/ui/dialog/dialog-content.svelte.d.ts +9 -0
- package/{src/lib/components → dist}/ui/dialog/dialog-description.svelte +1 -1
- package/dist/ui/dialog/dialog-description.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/dialog/dialog-footer.svelte +1 -1
- package/dist/ui/dialog/dialog-footer.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/dialog/dialog-header.svelte +1 -1
- package/dist/ui/dialog/dialog-header.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/dialog/dialog-overlay.svelte +1 -1
- package/dist/ui/dialog/dialog-overlay.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/dialog/dialog-title.svelte +1 -1
- package/dist/ui/dialog/dialog-title.svelte.d.ts +4 -0
- package/dist/ui/dialog/index.d.ts +12 -0
- package/dist/ui/dialog/index.js +14 -0
- package/dist/ui/input/index.d.ts +2 -0
- package/dist/ui/input/index.js +4 -0
- package/{src/lib/components → dist}/ui/input/input.svelte +1 -1
- package/dist/ui/input/input.svelte.d.ts +13 -0
- package/dist/ui/label/index.d.ts +2 -0
- package/dist/ui/label/index.js +4 -0
- package/{src/lib/components → dist}/ui/label/label.svelte +1 -1
- package/dist/ui/label/label.svelte.d.ts +4 -0
- package/dist/ui/popover/index.d.ts +6 -0
- package/dist/ui/popover/index.js +8 -0
- package/{src/lib/components → dist}/ui/popover/popover-content.svelte +1 -1
- package/dist/ui/popover/popover-content.svelte.d.ts +7 -0
- package/{src/lib/components/ui/range-calendar/index.ts → dist/ui/range-calendar/index.d.ts} +1 -17
- package/dist/ui/range-calendar/index.js +16 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-cell.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-cell.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-day.svelte +2 -2
- package/dist/ui/range-calendar/range-calendar-day.svelte.d.ts +6 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-grid-body.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-grid-body.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-grid-head.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-grid-head.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-grid-row.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-grid.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-grid.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-head-cell.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-header.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-header.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-heading.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-heading.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-months.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar-months.svelte.d.ts +5 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-next-button.svelte +2 -2
- package/dist/ui/range-calendar/range-calendar-next-button.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar-prev-button.svelte +2 -2
- package/dist/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/range-calendar/range-calendar.svelte +1 -1
- package/dist/ui/range-calendar/range-calendar.svelte.d.ts +5 -0
- package/dist/ui/select/index.d.ts +11 -0
- package/dist/ui/select/index.js +13 -0
- package/{src/lib/components → dist}/ui/select/select-content.svelte +1 -1
- package/dist/ui/select/select-content.svelte.d.ts +7 -0
- package/{src/lib/components → dist}/ui/select/select-group-heading.svelte +1 -1
- package/dist/ui/select/select-group-heading.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/select/select-item.svelte +1 -1
- package/dist/ui/select/select-item.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/select/select-scroll-down-button.svelte +1 -1
- package/dist/ui/select/select-scroll-down-button.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/select/select-scroll-up-button.svelte +1 -1
- package/dist/ui/select/select-scroll-up-button.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/select/select-separator.svelte +2 -2
- package/dist/ui/select/select-separator.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/ui/select/select-trigger.svelte +1 -1
- package/dist/ui/select/select-trigger.svelte.d.ts +4 -0
- package/dist/ui/separator/index.d.ts +2 -0
- package/dist/ui/separator/index.js +4 -0
- package/{src/lib/components → dist}/ui/separator/separator.svelte +1 -1
- package/dist/ui/separator/separator.svelte.d.ts +4 -0
- package/dist/ui/skeleton/index.d.ts +2 -0
- package/dist/ui/skeleton/index.js +4 -0
- package/{src/lib/components → dist}/ui/skeleton/skeleton.svelte +1 -1
- package/dist/ui/skeleton/skeleton.svelte.d.ts +5 -0
- package/dist/ui/sonner/index.js +1 -0
- package/dist/ui/sonner/sonner.svelte.d.ts +4 -0
- package/dist/ui/switch/index.d.ts +2 -0
- package/dist/ui/switch/index.js +4 -0
- package/{src/lib/components → dist}/ui/switch/switch.svelte +1 -1
- package/dist/ui/switch/switch.svelte.d.ts +4 -0
- package/dist/ui/textarea/index.d.ts +2 -0
- package/dist/ui/textarea/index.js +4 -0
- package/{src/lib/components → dist}/ui/textarea/textarea.svelte +1 -1
- package/dist/ui/textarea/textarea.svelte.d.ts +5 -0
- package/dist/ui/tooltip/index.d.ts +6 -0
- package/dist/ui/tooltip/index.js +8 -0
- package/{src/lib/components → dist}/ui/tooltip/tooltip-content.svelte +1 -1
- package/dist/ui/tooltip/tooltip-content.svelte.d.ts +4 -0
- package/{src/lib/components → dist}/workflowEditor.svelte +5 -5
- package/dist/workflowEditor.svelte.d.ts +16 -0
- package/package.json +24 -14
- package/{vite-plugin-contextual-lib.js → vite-plugins/contextual-lib-alias.js} +2 -7
- package/vite-plugins/index.js +21 -0
- package/vite-plugins/studio-source-resolver.js +41 -0
- package/.env.example +0 -1
- package/.storybook/main.ts +0 -31
- package/.storybook/preview.ts +0 -21
- package/.storybook/vitest.setup.ts +0 -7
- package/components.json +0 -16
- package/docker-entrypoint.sh +0 -7
- package/dockerfile +0 -27
- package/index.html +0 -13
- package/public/lobb.svg +0 -15
- package/src/app.css +0 -121
- package/src/components-export.ts +0 -21
- package/src/extensions/extension.types.ts +0 -93
- package/src/extensions/extensionUtils.ts +0 -192
- package/src/lib/Lobb.ts +0 -241
- package/src/lib/components/confirmationDialog/store.svelte.ts +0 -28
- package/src/lib/components/dataTable/utils.ts +0 -127
- package/src/lib/components/detailView/store.svelte.ts +0 -61
- package/src/lib/components/detailView/utils.ts +0 -177
- package/src/lib/components/loadingTypesForMonacoEditor.ts +0 -36
- package/src/lib/components/ui/alert-dialog/index.ts +0 -40
- package/src/lib/components/ui/button/index.ts +0 -17
- package/src/lib/components/ui/checkbox/index.ts +0 -6
- package/src/lib/components/ui/dialog/index.ts +0 -37
- package/src/lib/components/ui/input/index.ts +0 -7
- package/src/lib/components/ui/label/index.ts +0 -7
- package/src/lib/components/ui/popover/index.ts +0 -17
- package/src/lib/components/ui/select/index.ts +0 -34
- package/src/lib/components/ui/separator/index.ts +0 -7
- package/src/lib/components/ui/skeleton/index.ts +0 -7
- package/src/lib/components/ui/switch/index.ts +0 -7
- package/src/lib/components/ui/textarea/index.ts +0 -7
- package/src/lib/components/ui/tooltip/index.ts +0 -18
- package/src/lib/eventSystem.ts +0 -38
- package/src/lib/index.ts +0 -40
- package/src/lib/store.svelte.ts +0 -21
- package/src/lib/store.types.ts +0 -28
- package/src/lib/utils.ts +0 -84
- package/src/main.ts +0 -18
- package/src/routes/collections/collection.svelte +0 -46
- package/src/routes/collections/collections.svelte +0 -43
- package/src/routes/data_model/dataModel.svelte +0 -40
- package/src/routes/data_model/flow.css +0 -22
- package/src/routes/data_model/flow.svelte +0 -82
- package/src/routes/data_model/syncManager.svelte +0 -93
- package/src/routes/data_model/utils.ts +0 -35
- package/src/routes/extensions/extension.svelte +0 -16
- package/src/routes/home.svelte +0 -36
- package/src/routes/workflows/workflows.svelte +0 -135
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +0 -1
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +0 -1
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +0 -1
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +0 -1
- package/src/stories/assets/youtube.svg +0 -1
- package/src/stories/detailView/detailViewForm.stories.svelte +0 -79
- package/src/stories/examples/Button.stories.svelte +0 -31
- package/src/stories/examples/Button.svelte +0 -30
- package/src/stories/examples/Header.stories.svelte +0 -26
- package/src/stories/examples/Header.svelte +0 -45
- package/src/stories/examples/Page.stories.svelte +0 -29
- package/src/stories/examples/Page.svelte +0 -70
- package/src/stories/examples/button.css +0 -30
- package/src/stories/examples/header.css +0 -32
- package/src/stories/examples/page.css +0 -68
- package/src/vite-env.d.ts +0 -2
- package/svelte.config.js +0 -7
- package/todo.md +0 -24
- package/tsconfig.app.json +0 -25
- package/tsconfig.json +0 -14
- package/tsconfig.node.json +0 -24
- package/vite.build.svelte.config.ts +0 -18
- package/vite.config.ts +0 -84
- package/vite.extension.config.ts +0 -81
- package/vite_utils.ts +0 -28
- package/vitest.shims.d.ts +0 -1
- /package/{src/lib/components → dist}/dataTable/footer.svelte +0 -0
- /package/{src/lib/components → dist}/dataTable/table.svelte +0 -0
- /package/{src/lib/components → dist}/detailView/detailViewForm.svelte +0 -0
- /package/{src/lib/components → dist}/detailView/fieldCustomInput.svelte +0 -0
- /package/{src/lib/components → dist}/foreingKeyInput.svelte +0 -0
- /package/{src/lib/components → dist}/sidebar/sidebarElements.svelte +0 -0
- /package/{src/lib/components → dist}/sidebar/sidebarTrigger.svelte +0 -0
- /package/{src/lib/components → dist}/ui/breadcrumb/breadcrumb.svelte +0 -0
- /package/{src/lib/components/ui/sonner/index.ts → dist/ui/sonner/index.d.ts} +0 -0
- /package/{src/lib/components → dist}/ui/sonner/sonner.svelte +0 -0
|
@@ -2,16 +2,7 @@ import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
|
2
2
|
import Content from "./accordion-content.svelte";
|
|
3
3
|
import Item from "./accordion-item.svelte";
|
|
4
4
|
import Trigger from "./accordion-trigger.svelte";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Content,
|
|
10
|
-
Item,
|
|
11
|
-
Trigger,
|
|
12
|
-
//
|
|
13
|
-
Root as Accordion,
|
|
14
|
-
Content as AccordionContent,
|
|
15
|
-
Item as AccordionItem,
|
|
16
|
-
Trigger as AccordionTrigger,
|
|
17
|
-
};
|
|
5
|
+
var Root = AccordionPrimitive.Root;
|
|
6
|
+
export { Root, Content, Item, Trigger,
|
|
7
|
+
//
|
|
8
|
+
Root as Accordion, Content as AccordionContent, Item as AccordionItem, Trigger as AccordionTrigger, };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
declare const AlertDescription: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
|
+
type AlertDescription = ReturnType<typeof AlertDescription>;
|
|
5
|
+
export default AlertDescription;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
|
+
import type { WithElementRef } from "bits-ui";
|
|
3
|
+
type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
|
|
4
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
5
|
+
};
|
|
6
|
+
declare const AlertTitle: import("svelte").Component<$$ComponentProps, {}, "ref">;
|
|
7
|
+
type AlertTitle = ReturnType<typeof AlertTitle>;
|
|
8
|
+
export default AlertTitle;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type VariantProps } from "tailwind-variants";
|
|
2
|
+
export declare const alertVariants: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
default: string;
|
|
5
|
+
destructive: string;
|
|
6
|
+
};
|
|
7
|
+
}, undefined, "[&>svg]:text-foreground relative w-full rounded-lg border px-4 py-3 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7", {
|
|
8
|
+
variant: {
|
|
9
|
+
default: string;
|
|
10
|
+
destructive: string;
|
|
11
|
+
};
|
|
12
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
13
|
+
variant: {
|
|
14
|
+
default: string;
|
|
15
|
+
destructive: string;
|
|
16
|
+
};
|
|
17
|
+
}, undefined, "[&>svg]:text-foreground relative w-full rounded-lg border px-4 py-3 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7", unknown, unknown, undefined>>;
|
|
18
|
+
export type AlertVariant = VariantProps<typeof alertVariants>["variant"];
|
|
19
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
20
|
+
import type { WithElementRef } from "bits-ui";
|
|
21
|
+
type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
|
|
22
|
+
variant?: AlertVariant;
|
|
23
|
+
};
|
|
24
|
+
declare const Alert: import("svelte").Component<$$ComponentProps, {}, "ref">;
|
|
25
|
+
type Alert = ReturnType<typeof Alert>;
|
|
26
|
+
export default Alert;
|
|
@@ -2,13 +2,4 @@ import Root from "./alert.svelte";
|
|
|
2
2
|
import Description from "./alert-description.svelte";
|
|
3
3
|
import Title from "./alert-title.svelte";
|
|
4
4
|
export { alertVariants, type AlertVariant } from "./alert.svelte";
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
Root,
|
|
8
|
-
Description,
|
|
9
|
-
Title,
|
|
10
|
-
//
|
|
11
|
-
Root as Alert,
|
|
12
|
-
Description as AlertDescription,
|
|
13
|
-
Title as AlertTitle,
|
|
14
|
-
};
|
|
5
|
+
export { Root, Description, Title, Root as Alert, Description as AlertDescription, Title as AlertTitle, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import Root from "./alert.svelte";
|
|
2
|
+
import Description from "./alert-description.svelte";
|
|
3
|
+
import Title from "./alert-title.svelte";
|
|
4
|
+
export { alertVariants } from "./alert.svelte";
|
|
5
|
+
export { Root, Description, Title,
|
|
6
|
+
//
|
|
7
|
+
Root as Alert, Description as AlertDescription, Title as AlertTitle, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
3
|
-
import { buttonVariants } from "
|
|
4
|
-
import { cn } from "
|
|
3
|
+
import { buttonVariants } from "../button/index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
class: className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
3
|
-
import { buttonVariants } from "
|
|
4
|
-
import { cn } from "
|
|
3
|
+
import { buttonVariants } from "../button/index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
class: className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { AlertDialog as AlertDialogPrimitive, type WithoutChild } from "bits-ui";
|
|
3
3
|
import AlertDialogOverlay from "./alert-dialog-overlay.svelte";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialogPrimitive, type WithoutChild } from "bits-ui";
|
|
2
|
+
type $$ComponentProps = WithoutChild<AlertDialogPrimitive.ContentProps> & {
|
|
3
|
+
portalProps?: AlertDialogPrimitive.PortalProps;
|
|
4
|
+
};
|
|
5
|
+
declare const AlertDialogContent: import("svelte").Component<$$ComponentProps, {}, "ref">;
|
|
6
|
+
type AlertDialogContent = ReturnType<typeof AlertDialogContent>;
|
|
7
|
+
export default AlertDialogContent;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
2
|
+
declare const AlertDialogDescription: import("svelte").Component<AlertDialogPrimitive.DescriptionProps, {}, "ref">;
|
|
3
|
+
type AlertDialogDescription = ReturnType<typeof AlertDialogDescription>;
|
|
4
|
+
export default AlertDialogDescription;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
declare const AlertDialogFooter: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
|
+
type AlertDialogFooter = ReturnType<typeof AlertDialogFooter>;
|
|
5
|
+
export default AlertDialogFooter;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
declare const AlertDialogHeader: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
|
+
type AlertDialogHeader = ReturnType<typeof AlertDialogHeader>;
|
|
5
|
+
export default AlertDialogHeader;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
2
|
+
declare const AlertDialogOverlay: import("svelte").Component<AlertDialogPrimitive.OverlayProps, {}, "ref">;
|
|
3
|
+
type AlertDialogOverlay = ReturnType<typeof AlertDialogOverlay>;
|
|
4
|
+
export default AlertDialogOverlay;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
2
|
+
import Title from "./alert-dialog-title.svelte";
|
|
3
|
+
import Action from "./alert-dialog-action.svelte";
|
|
4
|
+
import Cancel from "./alert-dialog-cancel.svelte";
|
|
5
|
+
import Footer from "./alert-dialog-footer.svelte";
|
|
6
|
+
import Header from "./alert-dialog-header.svelte";
|
|
7
|
+
import Overlay from "./alert-dialog-overlay.svelte";
|
|
8
|
+
import Content from "./alert-dialog-content.svelte";
|
|
9
|
+
import Description from "./alert-dialog-description.svelte";
|
|
10
|
+
declare const Root: import("svelte").Component<import("bits-ui").AlertDialogRootPropsWithoutHTML, {}, "open">;
|
|
11
|
+
declare const Trigger: import("svelte").Component<AlertDialogPrimitive.TriggerProps, {}, "ref">;
|
|
12
|
+
declare const Portal: import("svelte").Component<import("bits-ui").PortalProps, {}, "">;
|
|
13
|
+
export { Root, Title, Action, Cancel, Portal, Footer, Header, Trigger, Overlay, Content, Description, Root as AlertDialog, Title as AlertDialogTitle, Action as AlertDialogAction, Cancel as AlertDialogCancel, Portal as AlertDialogPortal, Footer as AlertDialogFooter, Header as AlertDialogHeader, Trigger as AlertDialogTrigger, Overlay as AlertDialogOverlay, Content as AlertDialogContent, Description as AlertDialogDescription, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
|
|
2
|
+
import Title from "./alert-dialog-title.svelte";
|
|
3
|
+
import Action from "./alert-dialog-action.svelte";
|
|
4
|
+
import Cancel from "./alert-dialog-cancel.svelte";
|
|
5
|
+
import Footer from "./alert-dialog-footer.svelte";
|
|
6
|
+
import Header from "./alert-dialog-header.svelte";
|
|
7
|
+
import Overlay from "./alert-dialog-overlay.svelte";
|
|
8
|
+
import Content from "./alert-dialog-content.svelte";
|
|
9
|
+
import Description from "./alert-dialog-description.svelte";
|
|
10
|
+
var Root = AlertDialogPrimitive.Root;
|
|
11
|
+
var Trigger = AlertDialogPrimitive.Trigger;
|
|
12
|
+
var Portal = AlertDialogPrimitive.Portal;
|
|
13
|
+
export { Root, Title, Action, Cancel, Portal, Footer, Header, Trigger, Overlay, Content, Description,
|
|
14
|
+
//
|
|
15
|
+
Root as AlertDialog, Title as AlertDialogTitle, Action as AlertDialogAction, Cancel as AlertDialogCancel, Portal as AlertDialogPortal, Footer as AlertDialogFooter, Header as AlertDialogHeader, Trigger as AlertDialogTrigger, Overlay as AlertDialogOverlay, Content as AlertDialogContent, Description as AlertDialogDescription, };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import Ellipsis from "@lucide/svelte/icons/ellipsis";
|
|
3
3
|
import type { WithElementRef, WithoutChildren } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../../../utils.js";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
declare const BreadcrumbEllipsis: import("svelte").Component<Omit<WithElementRef<HTMLAttributes<HTMLSpanElement>>, "children">, {}, "ref">;
|
|
4
|
+
type BreadcrumbEllipsis = ReturnType<typeof BreadcrumbEllipsis>;
|
|
5
|
+
export default BreadcrumbEllipsis;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLLiAttributes } from "svelte/elements";
|
|
3
|
+
declare const BreadcrumbItem: import("svelte").Component<WithElementRef<HTMLLiAttributes>, {}, "ref">;
|
|
4
|
+
type BreadcrumbItem = ReturnType<typeof BreadcrumbItem>;
|
|
5
|
+
export default BreadcrumbItem;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
type $$ComponentProps = WithElementRef<HTMLAnchorAttributes> & {
|
|
5
|
+
child?: Snippet<[{
|
|
6
|
+
props: HTMLAnchorAttributes;
|
|
7
|
+
}]>;
|
|
8
|
+
};
|
|
9
|
+
declare const BreadcrumbLink: import("svelte").Component<$$ComponentProps, {}, "ref">;
|
|
10
|
+
type BreadcrumbLink = ReturnType<typeof BreadcrumbLink>;
|
|
11
|
+
export default BreadcrumbLink;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLOlAttributes } from "svelte/elements";
|
|
3
|
+
declare const BreadcrumbList: import("svelte").Component<WithElementRef<HTMLOlAttributes>, {}, "ref">;
|
|
4
|
+
type BreadcrumbList = ReturnType<typeof BreadcrumbList>;
|
|
5
|
+
export default BreadcrumbList;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
declare const BreadcrumbPage: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLSpanElement>>, {}, "ref">;
|
|
4
|
+
type BreadcrumbPage = ReturnType<typeof BreadcrumbPage>;
|
|
5
|
+
export default BreadcrumbPage;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import ChevronRight from "@lucide/svelte/icons/chevron-right";
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLLiAttributes } from "svelte/elements";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../../../utils.js";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLLiAttributes } from "svelte/elements";
|
|
3
|
+
declare const BreadcrumbSeparator: import("svelte").Component<WithElementRef<HTMLLiAttributes>, {}, "ref">;
|
|
4
|
+
type BreadcrumbSeparator = ReturnType<typeof BreadcrumbSeparator>;
|
|
5
|
+
export default BreadcrumbSeparator;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
declare const Breadcrumb: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLElement>>, {}, "ref">;
|
|
4
|
+
type Breadcrumb = ReturnType<typeof Breadcrumb>;
|
|
5
|
+
export default Breadcrumb;
|
|
@@ -5,21 +5,4 @@ import Separator from "./breadcrumb-separator.svelte";
|
|
|
5
5
|
import Link from "./breadcrumb-link.svelte";
|
|
6
6
|
import List from "./breadcrumb-list.svelte";
|
|
7
7
|
import Page from "./breadcrumb-page.svelte";
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
Root,
|
|
11
|
-
Ellipsis,
|
|
12
|
-
Item,
|
|
13
|
-
Separator,
|
|
14
|
-
Link,
|
|
15
|
-
List,
|
|
16
|
-
Page,
|
|
17
|
-
//
|
|
18
|
-
Root as Breadcrumb,
|
|
19
|
-
Ellipsis as BreadcrumbEllipsis,
|
|
20
|
-
Item as BreadcrumbItem,
|
|
21
|
-
Separator as BreadcrumbSeparator,
|
|
22
|
-
Link as BreadcrumbLink,
|
|
23
|
-
List as BreadcrumbList,
|
|
24
|
-
Page as BreadcrumbPage,
|
|
25
|
-
};
|
|
8
|
+
export { Root, Ellipsis, Item, Separator, Link, List, Page, Root as Breadcrumb, Ellipsis as BreadcrumbEllipsis, Item as BreadcrumbItem, Separator as BreadcrumbSeparator, Link as BreadcrumbLink, List as BreadcrumbList, Page as BreadcrumbPage, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Root from "./breadcrumb.svelte";
|
|
2
|
+
import Ellipsis from "./breadcrumb-ellipsis.svelte";
|
|
3
|
+
import Item from "./breadcrumb-item.svelte";
|
|
4
|
+
import Separator from "./breadcrumb-separator.svelte";
|
|
5
|
+
import Link from "./breadcrumb-link.svelte";
|
|
6
|
+
import List from "./breadcrumb-list.svelte";
|
|
7
|
+
import Page from "./breadcrumb-page.svelte";
|
|
8
|
+
export { Root, Ellipsis, Item, Separator, Link, List, Page,
|
|
9
|
+
//
|
|
10
|
+
Root as Breadcrumb, Ellipsis as BreadcrumbEllipsis, Item as BreadcrumbItem, Separator as BreadcrumbSeparator, Link as BreadcrumbLink, List as BreadcrumbList, Page as BreadcrumbPage, };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAnchorAttributes, HTMLButtonAttributes } from "svelte/elements";
|
|
3
|
+
import { type VariantProps } from "tailwind-variants";
|
|
4
|
+
export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
+
variant: {
|
|
6
|
+
default: string;
|
|
7
|
+
destructive: string;
|
|
8
|
+
outline: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
ghost: string;
|
|
11
|
+
link: string;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
default: string;
|
|
15
|
+
sm: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
icon: string;
|
|
18
|
+
};
|
|
19
|
+
}, undefined, "focus-visible:ring-ring inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", {
|
|
20
|
+
variant: {
|
|
21
|
+
default: string;
|
|
22
|
+
destructive: string;
|
|
23
|
+
outline: string;
|
|
24
|
+
secondary: string;
|
|
25
|
+
ghost: string;
|
|
26
|
+
link: string;
|
|
27
|
+
};
|
|
28
|
+
size: {
|
|
29
|
+
default: string;
|
|
30
|
+
sm: string;
|
|
31
|
+
lg: string;
|
|
32
|
+
icon: string;
|
|
33
|
+
};
|
|
34
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
35
|
+
variant: {
|
|
36
|
+
default: string;
|
|
37
|
+
destructive: string;
|
|
38
|
+
outline: string;
|
|
39
|
+
secondary: string;
|
|
40
|
+
ghost: string;
|
|
41
|
+
link: string;
|
|
42
|
+
};
|
|
43
|
+
size: {
|
|
44
|
+
default: string;
|
|
45
|
+
sm: string;
|
|
46
|
+
lg: string;
|
|
47
|
+
icon: string;
|
|
48
|
+
};
|
|
49
|
+
}, undefined, "focus-visible:ring-ring inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", unknown, unknown, undefined>>;
|
|
50
|
+
export type ButtonVariant = VariantProps<typeof buttonVariants>["variant"];
|
|
51
|
+
export type ButtonSize = VariantProps<typeof buttonVariants>["size"];
|
|
52
|
+
export type ButtonProps = WithElementRef<HTMLButtonAttributes> & WithElementRef<HTMLAnchorAttributes> & {
|
|
53
|
+
variant?: ButtonVariant;
|
|
54
|
+
size?: ButtonSize;
|
|
55
|
+
Icon?: any;
|
|
56
|
+
href?: string;
|
|
57
|
+
};
|
|
58
|
+
declare const Button: import("svelte").Component<ButtonProps, {}, "ref">;
|
|
59
|
+
type Button = ReturnType<typeof Button>;
|
|
60
|
+
export default Button;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Checkbox as CheckboxPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
3
3
|
import Check from "@lucide/svelte/icons/check";
|
|
4
4
|
import Minus from "@lucide/svelte/icons/minus";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../../../utils.js";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from "bits-ui";
|
|
2
|
+
declare const Checkbox: import("svelte").Component<Omit<Omit<CheckboxPrimitive.RootProps, "child">, "children">, {}, "checked" | "indeterminate" | "ref">;
|
|
3
|
+
type Checkbox = ReturnType<typeof Checkbox>;
|
|
4
|
+
export default Checkbox;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Command as CommandPrimitive, Dialog as DialogPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
type $$ComponentProps = WithoutChildrenOrChild<DialogPrimitive.RootProps> & WithoutChildrenOrChild<CommandPrimitive.RootProps> & {
|
|
4
|
+
portalProps?: DialogPrimitive.PortalProps;
|
|
5
|
+
children: Snippet;
|
|
6
|
+
};
|
|
7
|
+
declare const CommandDialog: import("svelte").Component<$$ComponentProps, {}, "open" | "value" | "ref">;
|
|
8
|
+
type CommandDialog = ReturnType<typeof CommandDialog>;
|
|
9
|
+
export default CommandDialog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Command as CommandPrimitive } from "bits-ui";
|
|
2
|
+
type $$ComponentProps = CommandPrimitive.GroupProps & {
|
|
3
|
+
heading?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const CommandGroup: import("svelte").Component<$$ComponentProps, {}, "ref">;
|
|
6
|
+
type CommandGroup = ReturnType<typeof CommandGroup>;
|
|
7
|
+
export default CommandGroup;
|