@widgetic/design-system 0.3.79 → 0.3.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +828 -123
- package/dist/components/CopyableHeader.svelte +13 -11
- package/dist/components/CopyableHeader.svelte.d.ts +34 -38
- package/dist/components/EmptyState.svelte +2 -9
- package/dist/components/EmptyState.svelte.d.ts +30 -35
- package/dist/components/PasswordInput.svelte +1 -5
- package/dist/components/PasswordInput.svelte.d.ts +19 -23
- package/dist/components/ThumbHashImage.svelte.d.ts +20 -24
- package/dist/components/WScrollArea.svelte +3 -3
- package/dist/components/WScrollArea.svelte.d.ts +25 -36
- package/dist/components/debug-grid/DebugGrid.svelte +1 -1
- package/dist/components/debug-grid/DebugGrid.svelte.d.ts +26 -30
- package/dist/components/ic/browser/BrowserInputController.svelte +1 -1
- package/dist/components/ic/browser/BrowserInputController.svelte.d.ts +26 -31
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/modals/ActionModal.svelte.d.ts +36 -47
- package/dist/components/modals/BaseModal.svelte +1 -1
- package/dist/components/modals/BaseModal.svelte.d.ts +32 -36
- package/dist/components/modals/NewItemDialog.svelte +1 -1
- package/dist/components/modals/NewItemDialog.svelte.d.ts +33 -37
- package/dist/components/modals/Portal.svelte.d.ts +21 -32
- package/dist/components/modals/RenameDialog.svelte +6 -7
- package/dist/components/modals/RenameDialog.svelte.d.ts +33 -37
- package/dist/components/modals/modalStore.js +21 -26
- package/dist/components/navigation/Breadcrumbs.svelte +9 -9
- package/dist/components/navigation/Breadcrumbs.svelte.d.ts +28 -32
- package/dist/components/pdf/PDFViewer.svelte +19 -10
- package/dist/components/pdf/PDFViewer.svelte.d.ts +26 -30
- package/dist/components/search-input/SearchInput.svelte +8 -3
- package/dist/components/search-input/SearchInput.svelte.d.ts +40 -44
- package/dist/components/search-input/index.d.ts +14 -3
- package/dist/components/search-input/index.js +2 -1
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +13 -5
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +14 -4
- package/dist/components/shad-editor/custom/image-extended-component.svelte +1 -1
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +14 -4
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +13 -7
- package/dist/components/shad-editor/editor.css +4 -8
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/code.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +13 -8
- package/dist/components/shad-editor/icons/image.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/link.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/table.svelte +3 -3
- package/dist/components/shad-editor/icons/table.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/text.svelte +1 -1
- package/dist/components/shad-editor/icons/text.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +13 -7
- package/dist/components/shad-editor/onedark.css +0 -3
- package/dist/components/shad-editor/shad-editor.svelte +1 -1
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +20 -30
- package/dist/components/toast/ToasterModal.svelte +11 -15
- package/dist/components/toast/ToasterModal.svelte.d.ts +11 -16
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +14 -4
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +14 -4
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +13 -6
- package/dist/components/ui/accordion/index.d.ts +1 -1
- package/dist/components/ui/alert/alert-description.svelte.d.ts +14 -25
- package/dist/components/ui/alert/alert-title.svelte.d.ts +16 -27
- package/dist/components/ui/alert/alert.svelte.d.ts +16 -27
- package/dist/components/ui/badge/badge.svelte +1 -1
- package/dist/components/ui/badge/badge.svelte.d.ts +15 -9
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +13 -10
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +14 -5
- package/dist/components/ui/button/button.svelte +1 -1
- package/dist/components/ui/button/button.svelte.d.ts +16 -5
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-day.svelte +4 -4
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +14 -5
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-content.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-description.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-footer.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-header.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-title.svelte.d.ts +13 -7
- package/dist/components/ui/card/card.svelte +1 -1
- package/dist/components/ui/card/card.svelte.d.ts +14 -5
- package/dist/components/ui/checkbox/checkbox.svelte +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +14 -4
- package/dist/components/ui/collapsible/index.d.ts +1 -1
- package/dist/components/ui/command/command-dialog.svelte +1 -1
- package/dist/components/ui/command/command-dialog.svelte.d.ts +13 -8
- package/dist/components/ui/command/command-empty.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-group.svelte.d.ts +13 -6
- package/dist/components/ui/command/command-input.svelte +1 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-item.svelte +1 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-link-item.svelte +1 -1
- package/dist/components/ui/command/command-link-item.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-list.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-separator.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +14 -5
- package/dist/components/ui/command/command.svelte.d.ts +14 -4
- package/dist/components/ui/dialog/dialog-content.svelte +1 -1
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +13 -8
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +14 -4
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +14 -5
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +14 -5
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +14 -4
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +13 -6
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +14 -5
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +14 -5
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +14 -3
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer.svelte.d.ts +14 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +13 -7
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +13 -7
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +14 -4
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +14 -4
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +14 -5
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +14 -4
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +13 -6
- package/dist/components/ui/input/input.svelte +1 -1
- package/dist/components/ui/input/input.svelte.d.ts +14 -5
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +14 -5
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +14 -5
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +14 -12
- package/dist/components/ui/input-otp/input-otp.svelte +1 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +14 -3
- package/dist/components/ui/label/label.svelte.d.ts +14 -4
- package/dist/components/ui/popover/popover-content.svelte +1 -1
- package/dist/components/ui/popover/popover-content.svelte.d.ts +13 -6
- package/dist/components/ui/progress/progress.svelte.d.ts +14 -4
- package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +14 -4
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -6
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +14 -5
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +14 -5
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +14 -4
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +13 -8
- package/dist/components/ui/select/index.d.ts +1 -1
- package/dist/components/ui/select/select-content.svelte.d.ts +13 -6
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-item.svelte +1 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-separator.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/components/ui/select/select-trigger.svelte.d.ts +14 -4
- package/dist/components/ui/separator/separator.svelte.d.ts +14 -4
- package/dist/components/ui/slider/slider.svelte +1 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +14 -4
- package/dist/components/ui/sonner/sonner.svelte.d.ts +14 -4
- package/dist/components/ui/switch/switch.svelte +1 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +14 -4
- package/dist/components/ui/table/table-body.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-caption.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-cell.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-footer.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-head.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-header.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-row.svelte.d.ts +14 -5
- package/dist/components/ui/table/table.svelte.d.ts +14 -5
- package/dist/components/ui/tabs/index.d.ts +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +14 -4
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +14 -4
- package/dist/components/ui/tabs/tabs-trigger.svelte +1 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +14 -4
- package/dist/components/ui/textarea/textarea.svelte +1 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +14 -5
- package/dist/components/ui/toggle/toggle.svelte +1 -1
- package/dist/components/ui/toggle/toggle.svelte.d.ts +15 -9
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +14 -6
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +14 -5
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +14 -4
- package/dist/components/widget-system/EditableWidget.svelte.d.ts +30 -42
- package/dist/components/widget-system/Moveable.svelte +62 -19
- package/dist/components/widget-system/Moveable.svelte.d.ts +37 -49
- package/dist/icons/Checked.svelte.d.ts +14 -18
- package/dist/icons/CheckerBoardBackground.svelte.d.ts +14 -3
- package/dist/icons/Close.svelte.d.ts +14 -18
- package/dist/icons/Exclamation.svelte.d.ts +19 -22
- package/dist/icons/FileBrowser.svelte.d.ts +14 -18
- package/dist/icons/LogoWidgetic.svelte +6 -17
- package/dist/icons/LogoWidgetic.svelte.d.ts +14 -18
- package/dist/icons/LogoWidgeticGreen.svelte +13 -0
- package/dist/icons/LogoWidgeticGreen.svelte.d.ts +16 -0
- package/dist/icons/LogoWidgeticType-old.svelte +13 -0
- package/dist/icons/LogoWidgeticType-old.svelte.d.ts +16 -0
- package/dist/icons/LogoWidgeticType-old.svg +4 -0
- package/dist/icons/LogoWidgeticType.svelte +18 -10
- package/dist/icons/LogoWidgeticType.svelte.d.ts +14 -18
- package/dist/icons/LogoWidgeticType.svg +10 -3
- package/dist/icons/OpacitySliderArrows.svelte.d.ts +14 -3
- package/dist/icons/TestIcon.svelte.d.ts +19 -22
- package/dist/icons/index.d.ts +3 -1
- package/dist/icons/index.js +3 -1
- package/dist/styles/fonts.css +39 -50
- package/dist/styles/global.css +45 -68
- package/package.json +36 -47
- package/tailwind.config.ts +6 -1
- package/dist/components/search-input/index2.d.ts +0 -14
- package/dist/components/shad-editor/README.md +0 -18
- package/dist/icons/eye-off.svg +0 -1
- package/dist/icons/eye.svg +0 -1
- /package/dist/icons/{checked.svg → Checked.svg} +0 -0
|
@@ -30,10 +30,8 @@ const dispatch = createEventDispatcher();
|
|
|
30
30
|
/**
|
|
31
31
|
* COMPONENT IMPORTS
|
|
32
32
|
*/
|
|
33
|
-
|
|
34
|
-
import {
|
|
35
|
-
// import { IconCopy, IconHelp } from '@widgetic/design-system/icons';
|
|
36
|
-
import { IconCopy, IconHelp } from '../icons';
|
|
33
|
+
import { toast, Button, Tooltip, Portal } from '@widgetic/design-system/components';
|
|
34
|
+
import { IconCopy, IconHelp } from '@widgetic/design-system/icons';
|
|
37
35
|
|
|
38
36
|
/**
|
|
39
37
|
* COMPONENT PROPS
|
|
@@ -191,7 +189,7 @@ function showToast(type: 'success' | 'error', message: string, options = {}) {
|
|
|
191
189
|
{#if showHelp && helpUrl}
|
|
192
190
|
<Tooltip.Provider>
|
|
193
191
|
<Tooltip.Root open={showHelpTooltip}>
|
|
194
|
-
<Tooltip.Trigger class="focus:outline-
|
|
192
|
+
<Tooltip.Trigger class="focus:outline-none">
|
|
195
193
|
<a
|
|
196
194
|
href={helpUrl}
|
|
197
195
|
target="_blank"
|
|
@@ -220,7 +218,7 @@ function showToast(type: 'success' | 'error', message: string, options = {}) {
|
|
|
220
218
|
<Tooltip.Content
|
|
221
219
|
side="right"
|
|
222
220
|
sideOffset={5}
|
|
223
|
-
class="bg-[hsl(var(--dark))] text-white z-200000 overflow-hidden rounded-md px-2 py-1.5 shadow-md widgetic-colors widgetic-radius"
|
|
221
|
+
class="bg-[hsl(var(--dark))] text-white z-[200000] overflow-hidden rounded-md px-2 py-1.5 shadow-md widgetic-colors widgetic-radius"
|
|
224
222
|
>
|
|
225
223
|
<p class="caption text-white">{helpText}</p>
|
|
226
224
|
</Tooltip.Content>
|
|
@@ -233,7 +231,7 @@ function showToast(type: 'success' | 'error', message: string, options = {}) {
|
|
|
233
231
|
{#if showStandaloneCopyButton}
|
|
234
232
|
<Tooltip.Provider>
|
|
235
233
|
<Tooltip.Root open={showCopyTooltip}>
|
|
236
|
-
<Tooltip.Trigger class="focus:outline-
|
|
234
|
+
<Tooltip.Trigger class="focus:outline-none">
|
|
237
235
|
<Button
|
|
238
236
|
variant="default"
|
|
239
237
|
class="h-9 w-6 {headerBackgroundColor ? headerBackgroundColor + ' text-[hsl(var(--grey7))]' : buttonClass || 'bg-[hsl(var(--dark))] hover:bg-white text-white rounded-full'} flex items-center justify-center active:scale-95 transition-transform duration-150"
|
|
@@ -258,7 +256,7 @@ function showToast(type: 'success' | 'error', message: string, options = {}) {
|
|
|
258
256
|
<Tooltip.Content
|
|
259
257
|
side="left"
|
|
260
258
|
sideOffset={5}
|
|
261
|
-
class="bg-[hsl(var(--dark))] text-white z-200000 overflow-hidden rounded-md px-3 py-1.5 shadow-md widgetic-colors widgetic-radius"
|
|
259
|
+
class="bg-[hsl(var(--dark))] text-white z-[200000] overflow-hidden rounded-md px-3 py-1.5 shadow-md widgetic-colors widgetic-radius"
|
|
262
260
|
>
|
|
263
261
|
<p class="caption text-white">{standaloneCopyButtonText}</p>
|
|
264
262
|
</Tooltip.Content>
|
|
@@ -269,7 +267,7 @@ function showToast(type: 'success' | 'error', message: string, options = {}) {
|
|
|
269
267
|
{:else}
|
|
270
268
|
<Tooltip.Provider>
|
|
271
269
|
<Tooltip.Root open={showCopyTooltip}>
|
|
272
|
-
<Tooltip.Trigger class="focus:outline-
|
|
270
|
+
<Tooltip.Trigger class="focus:outline-none">
|
|
273
271
|
<Button
|
|
274
272
|
variant="ghost"
|
|
275
273
|
size="icon"
|
|
@@ -296,7 +294,7 @@ function showToast(type: 'success' | 'error', message: string, options = {}) {
|
|
|
296
294
|
<Tooltip.Content
|
|
297
295
|
side="left"
|
|
298
296
|
sideOffset={5}
|
|
299
|
-
class="bg-[hsl(var(--dark))] text-white z-200000 overflow-hidden rounded-md px-3 py-1.5 shadow-md widgetic-colors widgetic-radius"
|
|
297
|
+
class="bg-[hsl(var(--dark))] text-white z-[200000] overflow-hidden rounded-md px-3 py-1.5 shadow-md widgetic-colors widgetic-radius"
|
|
300
298
|
>
|
|
301
299
|
<p class="caption text-white">{standaloneCopyButtonText}</p>
|
|
302
300
|
</Tooltip.Content>
|
|
@@ -341,11 +339,15 @@ function showToast(type: 'success' | 'error', message: string, options = {}) {
|
|
|
341
339
|
.copyable-content-area {
|
|
342
340
|
-webkit-user-select: text !important;
|
|
343
341
|
-moz-user-select: text !important;
|
|
344
|
-
-ms-user-select: text !important;
|
|
345
342
|
user-select: text !important;
|
|
346
343
|
overflow-y: auto !important;
|
|
347
344
|
}
|
|
348
345
|
|
|
346
|
+
.copyable-content-area::-moz-selection {
|
|
347
|
+
background-color: rgba(59, 130, 246, 0.2) !important;
|
|
348
|
+
color: inherit !important;
|
|
349
|
+
}
|
|
350
|
+
|
|
349
351
|
.copyable-content-area::selection {
|
|
350
352
|
background-color: rgba(59, 130, 246, 0.2) !important;
|
|
351
353
|
color: inherit !important;
|
|
@@ -1,40 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
/**
|
|
5
|
+
* COMPONENT PROPS
|
|
6
|
+
*/ class?: string;
|
|
7
|
+
style?: string;
|
|
8
|
+
headerText?: string;
|
|
9
|
+
content?: string;
|
|
10
|
+
helpText?: string;
|
|
11
|
+
helpUrl?: string;
|
|
12
|
+
showHelp?: boolean;
|
|
13
|
+
monospaceContent?: boolean;
|
|
14
|
+
showStandaloneCopyButton?: boolean;
|
|
15
|
+
standaloneCopyButtonText?: string;
|
|
16
|
+
showButtonText?: boolean;
|
|
17
|
+
buttonClass?: string;
|
|
18
|
+
showInternalToast?: boolean;
|
|
19
|
+
headerTextClass?: string;
|
|
20
|
+
headerBackgroundColor?: string;
|
|
21
|
+
contentBorderColor?: string;
|
|
11
22
|
};
|
|
12
|
-
|
|
23
|
+
events: {
|
|
24
|
+
copy: CustomEvent<any>;
|
|
25
|
+
copyError: CustomEvent<any>;
|
|
26
|
+
} & {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
};
|
|
29
|
+
slots: {};
|
|
30
|
+
};
|
|
31
|
+
export type CopyableHeaderProps = typeof __propDef.props;
|
|
32
|
+
export type CopyableHeaderEvents = typeof __propDef.events;
|
|
33
|
+
export type CopyableHeaderSlots = typeof __propDef.slots;
|
|
34
|
+
export default class CopyableHeader extends SvelteComponentTyped<CopyableHeaderProps, CopyableHeaderEvents, CopyableHeaderSlots> {
|
|
13
35
|
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* COMPONENT PROPS
|
|
17
|
-
*/ class?: string;
|
|
18
|
-
style?: string;
|
|
19
|
-
headerText?: string;
|
|
20
|
-
content?: string;
|
|
21
|
-
helpText?: string;
|
|
22
|
-
helpUrl?: string;
|
|
23
|
-
showHelp?: boolean;
|
|
24
|
-
monospaceContent?: boolean;
|
|
25
|
-
showStandaloneCopyButton?: boolean;
|
|
26
|
-
standaloneCopyButtonText?: string;
|
|
27
|
-
showButtonText?: boolean;
|
|
28
|
-
buttonClass?: string;
|
|
29
|
-
showInternalToast?: boolean;
|
|
30
|
-
headerTextClass?: string;
|
|
31
|
-
headerBackgroundColor?: string;
|
|
32
|
-
contentBorderColor?: string;
|
|
33
|
-
}, {
|
|
34
|
-
copy: CustomEvent<any>;
|
|
35
|
-
copyError: CustomEvent<any>;
|
|
36
|
-
} & {
|
|
37
|
-
[evt: string]: CustomEvent<any>;
|
|
38
|
-
}, {}, {}, string>;
|
|
39
|
-
type CopyableHeader = InstanceType<typeof CopyableHeader>;
|
|
40
|
-
export default CopyableHeader;
|
|
36
|
+
export {};
|
|
@@ -11,10 +11,8 @@
|
|
|
11
11
|
* - Responsive: hides icon when space is limited
|
|
12
12
|
-->
|
|
13
13
|
<script lang="ts">
|
|
14
|
+
import { IconExclamationCircle } from '@widgetic/design-system/icons';
|
|
14
15
|
import { onMount } from 'svelte';
|
|
15
|
-
|
|
16
|
-
// import { IconExclamationCircle } from '@widgetic/design-system/icons';
|
|
17
|
-
import { IconExclamationCircle } from '../icons';
|
|
18
16
|
|
|
19
17
|
/**
|
|
20
18
|
* Component Props
|
|
@@ -98,11 +96,6 @@
|
|
|
98
96
|
align-items: center;
|
|
99
97
|
justify-content: center;
|
|
100
98
|
overflow: hidden;
|
|
101
|
-
position: absolute;
|
|
102
|
-
left: 0;
|
|
103
|
-
right: 0;
|
|
104
|
-
top: 0;
|
|
105
|
-
bottom: 0;
|
|
106
99
|
z-index: 0; /* Lower z-index so it doesn't block interactive elements */
|
|
107
100
|
pointer-events: none; /* Allow clicks to pass through to elements behind */
|
|
108
101
|
}
|
|
@@ -123,7 +116,7 @@
|
|
|
123
116
|
|
|
124
117
|
/* Icon container to prevent scaling */
|
|
125
118
|
.icon-container {
|
|
126
|
-
shrink: 0;
|
|
119
|
+
flex-shrink: 0;
|
|
127
120
|
width: 24px;
|
|
128
121
|
height: 24px;
|
|
129
122
|
display: flex;
|
|
@@ -1,37 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
/**
|
|
5
|
+
* Component Props
|
|
6
|
+
* @prop {string} message - The message to display in the empty state
|
|
7
|
+
* @prop {string} height - The height of the empty state container (default: '50vh')
|
|
8
|
+
* @prop {boolean} showIcon - Whether to show the icon (default: true)
|
|
9
|
+
* @prop {string} iconColor - The color of the icon (default: 'hsl(var(--grey3))')
|
|
10
|
+
* @prop {string} textColor - The color of the text (default: 'hsl(var(--grey3))')
|
|
11
|
+
*/ class?: string;
|
|
12
|
+
style?: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
height?: string;
|
|
15
|
+
showIcon?: boolean;
|
|
16
|
+
iconColor?: string;
|
|
17
|
+
textColor?: string;
|
|
18
|
+
icon?: any;
|
|
12
19
|
};
|
|
13
|
-
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
action: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type EmptyStateProps = typeof __propDef.props;
|
|
28
|
+
export type EmptyStateEvents = typeof __propDef.events;
|
|
29
|
+
export type EmptyStateSlots = typeof __propDef.slots;
|
|
30
|
+
export default class EmptyState extends SvelteComponentTyped<EmptyStateProps, EmptyStateEvents, EmptyStateSlots> {
|
|
14
31
|
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Component Props
|
|
18
|
-
* @prop {string} message - The message to display in the empty state
|
|
19
|
-
* @prop {string} height - The height of the empty state container (default: '50vh')
|
|
20
|
-
* @prop {boolean} showIcon - Whether to show the icon (default: true)
|
|
21
|
-
* @prop {string} iconColor - The color of the icon (default: 'hsl(var(--grey3))')
|
|
22
|
-
* @prop {string} textColor - The color of the text (default: 'hsl(var(--grey3))')
|
|
23
|
-
*/ class?: string;
|
|
24
|
-
style?: string;
|
|
25
|
-
message?: string;
|
|
26
|
-
height?: string;
|
|
27
|
-
showIcon?: boolean;
|
|
28
|
-
iconColor?: string;
|
|
29
|
-
textColor?: string;
|
|
30
|
-
icon?: typeof IconExclamationCircle;
|
|
31
|
-
}, {
|
|
32
|
-
[evt: string]: CustomEvent<any>;
|
|
33
|
-
}, {
|
|
34
|
-
action: {};
|
|
35
|
-
}, {}, string>;
|
|
36
|
-
type EmptyState = InstanceType<typeof EmptyState>;
|
|
37
|
-
export default EmptyState;
|
|
32
|
+
export {};
|
|
@@ -5,10 +5,6 @@
|
|
|
5
5
|
// SHADCN Imports
|
|
6
6
|
import { Input } from './ui/input';
|
|
7
7
|
|
|
8
|
-
// Import icon URLs
|
|
9
|
-
import eyeIconUrl from '../icons/eye.svg?url';
|
|
10
|
-
import eyeOffIconUrl from '../icons/eye-off.svg?url';
|
|
11
|
-
|
|
12
8
|
// External Props
|
|
13
9
|
export let value = '';
|
|
14
10
|
export let placeholder = 'Enter password';
|
|
@@ -41,7 +37,7 @@
|
|
|
41
37
|
on:click={() => showPassword = !showPassword}
|
|
42
38
|
>
|
|
43
39
|
<img
|
|
44
|
-
src={showPassword ?
|
|
40
|
+
src={showPassword ? '/icons/eye-off.svg' : '/icons/eye.svg'}
|
|
45
41
|
alt={showPassword ? 'Hide password' : 'Show password'}
|
|
46
42
|
class="w-5 h-5"
|
|
47
43
|
/>
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
import type { FullAutoFill } from 'svelte/elements';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
$set?: any;
|
|
11
|
-
$on?: any;
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
value?: string | undefined;
|
|
7
|
+
placeholder?: string | undefined;
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
autocomplete?: FullAutoFill | undefined;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
12
11
|
};
|
|
13
|
-
|
|
12
|
+
events: {
|
|
13
|
+
[evt: string]: CustomEvent<any>;
|
|
14
|
+
};
|
|
15
|
+
slots: {};
|
|
16
|
+
};
|
|
17
|
+
export type PasswordInputProps = typeof __propDef.props;
|
|
18
|
+
export type PasswordInputEvents = typeof __propDef.events;
|
|
19
|
+
export type PasswordInputSlots = typeof __propDef.slots;
|
|
20
|
+
export default class PasswordInput extends SvelteComponentTyped<PasswordInputProps, PasswordInputEvents, PasswordInputSlots> {
|
|
14
21
|
}
|
|
15
|
-
|
|
16
|
-
[x: string]: any;
|
|
17
|
-
value?: string | undefined;
|
|
18
|
-
placeholder?: string | undefined;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
autocomplete?: FullAutoFill | undefined;
|
|
21
|
-
disabled?: boolean | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
}, {}, {}, string>;
|
|
25
|
-
type PasswordInput = InstanceType<typeof PasswordInput>;
|
|
26
|
-
export default PasswordInput;
|
|
22
|
+
export {};
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
thumbhash: string;
|
|
7
|
+
class_?: string;
|
|
8
|
+
style?: string;
|
|
9
|
+
roundedCorners?: string;
|
|
10
|
+
onLoad?: (() => void) | undefined;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
events: {
|
|
13
|
+
[evt: string]: CustomEvent<any>;
|
|
14
|
+
};
|
|
15
|
+
slots: {};
|
|
16
|
+
};
|
|
17
|
+
export type ThumbHashImageProps = typeof __propDef.props;
|
|
18
|
+
export type ThumbHashImageEvents = typeof __propDef.events;
|
|
19
|
+
export type ThumbHashImageSlots = typeof __propDef.slots;
|
|
20
|
+
export default class ThumbHashImage extends SvelteComponentTyped<ThumbHashImageProps, ThumbHashImageEvents, ThumbHashImageSlots> {
|
|
13
21
|
}
|
|
14
|
-
|
|
15
|
-
src: string;
|
|
16
|
-
alt?: string;
|
|
17
|
-
thumbhash: string;
|
|
18
|
-
class_?: string;
|
|
19
|
-
style?: string;
|
|
20
|
-
roundedCorners?: string;
|
|
21
|
-
onLoad?: (() => void) | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
[evt: string]: CustomEvent<any>;
|
|
24
|
-
}, {}, {}, string>;
|
|
25
|
-
type ThumbHashImage = InstanceType<typeof ThumbHashImage>;
|
|
26
|
-
export default ThumbHashImage;
|
|
22
|
+
export {};
|
|
@@ -26,16 +26,16 @@ export let element: HTMLElement | null = null;
|
|
|
26
26
|
<ScrollArea bind:ref={element}
|
|
27
27
|
class={(className ? className + ' ' : '') + "scroll-area-container w-full h-full " +
|
|
28
28
|
"widgetic-radius widgetic-colors select-text " +
|
|
29
|
-
"
|
|
29
|
+
"[&_[data-scroll-area-viewport]]:!pr-[var(--scrollbar-width)]"}
|
|
30
30
|
style="{style} {scrollOutside ? `width: calc(100% + ${scrollbarWidth}px) !important;` : ''}
|
|
31
31
|
--scrollbar-width: {scrollbarWidth}px; --scrollbar-padding: {scrollbarWidth/4}px; "
|
|
32
32
|
{orientation}
|
|
33
33
|
{type}
|
|
34
34
|
{scrollHideDelay}
|
|
35
|
-
scrollbarYClasses={scrollbarYClasses + "flex w-[var(--scrollbar-width)] !p-(--scrollbar-padding) " +
|
|
35
|
+
scrollbarYClasses={scrollbarYClasses + "flex w-[var(--scrollbar-width)] !p-[var(--scrollbar-padding)] " +
|
|
36
36
|
"!bg-transparent border-none select-none touch-none " +
|
|
37
37
|
"[&>div]:rounded-[var(--radius-pill)] [&>div]:cursor-pointer " +
|
|
38
|
-
"[&>div]:bg-[hsl(var(--grey1))]
|
|
38
|
+
"[&>div]:bg-[hsl(var(--grey1))] [&>div]:hover:bg-[hsl(var(--grey2))] " +
|
|
39
39
|
"[&>div]:transition-colors [&>div]:duration-250"}
|
|
40
40
|
>
|
|
41
41
|
<div class="actual-viewport {viewPortClass ? viewPortClass + ' ' : ''} absolute inset-0 z-[-1]" style="margin-right: {scrollbarWidth}px;">
|
|
@@ -1,38 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
viewPortClass?: string;
|
|
7
|
+
orientation?: "horizontal" | "vertical";
|
|
8
|
+
scrollOutside?: boolean;
|
|
9
|
+
scrollbarWidth?: number;
|
|
10
|
+
scrollbarYClasses?: string;
|
|
11
|
+
scrollHideDelay?: number;
|
|
12
|
+
type?: any;
|
|
13
|
+
element?: HTMLElement | null;
|
|
11
14
|
};
|
|
12
|
-
|
|
15
|
+
events: {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
};
|
|
18
|
+
slots: {
|
|
19
|
+
default: {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export type WScrollAreaProps = typeof __propDef.props;
|
|
23
|
+
export type WScrollAreaEvents = typeof __propDef.events;
|
|
24
|
+
export type WScrollAreaSlots = typeof __propDef.slots;
|
|
25
|
+
export default class WScrollArea extends SvelteComponentTyped<WScrollAreaProps, WScrollAreaEvents, WScrollAreaSlots> {
|
|
13
26
|
}
|
|
14
|
-
|
|
15
|
-
default: any;
|
|
16
|
-
} ? Props extends Record<string, never> ? any : {
|
|
17
|
-
children?: any;
|
|
18
|
-
} : {});
|
|
19
|
-
declare const WScrollArea: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
20
|
-
class?: string;
|
|
21
|
-
style?: string;
|
|
22
|
-
viewPortClass?: string;
|
|
23
|
-
orientation?: "horizontal" | "vertical";
|
|
24
|
-
scrollOutside?: boolean;
|
|
25
|
-
scrollbarWidth?: number;
|
|
26
|
-
scrollbarYClasses?: string;
|
|
27
|
-
scrollHideDelay?: number;
|
|
28
|
-
type?: any;
|
|
29
|
-
element?: HTMLElement | null;
|
|
30
|
-
}, {
|
|
31
|
-
default: {};
|
|
32
|
-
}>, {
|
|
33
|
-
[evt: string]: CustomEvent<any>;
|
|
34
|
-
}, {
|
|
35
|
-
default: {};
|
|
36
|
-
}, {}, string>;
|
|
37
|
-
type WScrollArea = InstanceType<typeof WScrollArea>;
|
|
38
|
-
export default WScrollArea;
|
|
27
|
+
export {};
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
{#if isDashboard && !isMobile}
|
|
164
164
|
<div class="grid-sidebar flex">
|
|
165
165
|
<div class="grid-sidebar-margin-left grid-margin-left" style="width: {marginWidth}px"></div>
|
|
166
|
-
<div class="grid-sidebar-content grid-column grow"></div>
|
|
166
|
+
<div class="grid-sidebar-content grid-column flex-grow"></div>
|
|
167
167
|
<div class="grid-sidebar-margin-right grid-margin-right" style="width: {marginWidth}px"></div>
|
|
168
168
|
</div>
|
|
169
169
|
{/if}
|
|
@@ -1,32 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
/***
|
|
5
|
+
* COMPONENT PROPS
|
|
6
|
+
**/ class?: string;
|
|
7
|
+
gridClass?: string;
|
|
8
|
+
headerGridClass?: string;
|
|
9
|
+
mainGridClass?: string;
|
|
10
|
+
headerHeight?: string | undefined;
|
|
11
|
+
portalTarget?: string;
|
|
12
|
+
columns?: number;
|
|
13
|
+
columnWidth?: number;
|
|
14
|
+
isMobile?: boolean;
|
|
15
|
+
isTablet?: boolean;
|
|
16
|
+
isDesktop?: boolean;
|
|
11
17
|
};
|
|
12
|
-
|
|
18
|
+
events: {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
20
|
+
};
|
|
21
|
+
slots: {};
|
|
22
|
+
};
|
|
23
|
+
export type DebugGridProps = typeof __propDef.props;
|
|
24
|
+
export type DebugGridEvents = typeof __propDef.events;
|
|
25
|
+
export type DebugGridSlots = typeof __propDef.slots;
|
|
26
|
+
export default class DebugGrid extends SvelteComponentTyped<DebugGridProps, DebugGridEvents, DebugGridSlots> {
|
|
13
27
|
}
|
|
14
|
-
|
|
15
|
-
/***
|
|
16
|
-
* COMPONENT PROPS
|
|
17
|
-
**/ class?: string;
|
|
18
|
-
gridClass?: string;
|
|
19
|
-
headerGridClass?: string;
|
|
20
|
-
mainGridClass?: string;
|
|
21
|
-
headerHeight?: string | undefined;
|
|
22
|
-
portalTarget?: string;
|
|
23
|
-
columns?: number;
|
|
24
|
-
columnWidth?: number;
|
|
25
|
-
isMobile?: boolean;
|
|
26
|
-
isTablet?: boolean;
|
|
27
|
-
isDesktop?: boolean;
|
|
28
|
-
}, {
|
|
29
|
-
[evt: string]: CustomEvent<any>;
|
|
30
|
-
}, {}, {}, string>;
|
|
31
|
-
type DebugGrid = InstanceType<typeof DebugGrid>;
|
|
32
|
-
export default DebugGrid;
|
|
28
|
+
export {};
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
<Tooltip.Content
|
|
334
334
|
side="right"
|
|
335
335
|
sideOffset={5}
|
|
336
|
-
class="bg-gray-900 text-white z-99999 overflow-hidden rounded-md px-3 py-1.5 text-sm shadow-md"
|
|
336
|
+
class="bg-gray-900 text-white z-[99999] overflow-hidden rounded-md px-3 py-1.5 text-sm shadow-md"
|
|
337
337
|
style="position: fixed; left: {mouseX + 20}px; top: {mouseY}px; z-index: 999999;"
|
|
338
338
|
>
|
|
339
339
|
<p class="text-sm">{header.helpText}</p>
|
|
@@ -1,34 +1,29 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
1
2
|
import type { InputControllerConfig } from '../types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: {
|
|
5
|
+
header?: {
|
|
6
|
+
label: string;
|
|
7
|
+
helpText?: string;
|
|
8
|
+
} | undefined;
|
|
9
|
+
label?: string;
|
|
10
|
+
value?: string | {
|
|
11
|
+
id: string;
|
|
12
|
+
file: string;
|
|
13
|
+
url: string;
|
|
14
|
+
};
|
|
15
|
+
onChange?: (newValue: string) => void;
|
|
16
|
+
config?: InputControllerConfig;
|
|
12
17
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
declare const BrowserInputController: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
-
header?: {
|
|
17
|
-
label: string;
|
|
18
|
-
helpText?: string;
|
|
19
|
-
} | undefined;
|
|
20
|
-
label?: string;
|
|
21
|
-
value?: string | {
|
|
22
|
-
id: string;
|
|
23
|
-
file: string;
|
|
24
|
-
url: string;
|
|
18
|
+
events: {
|
|
19
|
+
[evt: string]: CustomEvent<any>;
|
|
25
20
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export
|
|
21
|
+
slots: {};
|
|
22
|
+
};
|
|
23
|
+
export type BrowserInputControllerProps = typeof __propDef.props;
|
|
24
|
+
export type BrowserInputControllerEvents = typeof __propDef.events;
|
|
25
|
+
export type BrowserInputControllerSlots = typeof __propDef.slots;
|
|
26
|
+
export default class BrowserInputController extends SvelteComponentTyped<BrowserInputControllerProps, BrowserInputControllerEvents, BrowserInputControllerSlots> {
|
|
27
|
+
get onChange(): (newValue: string) => void;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -12,7 +12,7 @@ export { default as Portal } from './modals/Portal.svelte';
|
|
|
12
12
|
export { default as RenameDialog } from './modals/RenameDialog.svelte';
|
|
13
13
|
export { Breadcrumbs, type BreadcrumbsProps } from './navigation';
|
|
14
14
|
export { default as PDFViewer } from './pdf/PDFViewer.svelte';
|
|
15
|
-
export { SearchInput } from './search-input';
|
|
15
|
+
export { default as SearchInput } from './search-input/SearchInput.svelte';
|
|
16
16
|
export { ShadEditor, type TipTapEditor, type TipTapEditorLevel } from './shad-editor';
|
|
17
17
|
export { ToasterModal, showToast } from './toast';
|
|
18
18
|
export * as Accordion from './ui/accordion';
|
package/dist/components/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export { default as Portal } from './modals/Portal.svelte';
|
|
|
13
13
|
export { default as RenameDialog } from './modals/RenameDialog.svelte';
|
|
14
14
|
export { Breadcrumbs } from './navigation';
|
|
15
15
|
export { default as PDFViewer } from './pdf/PDFViewer.svelte';
|
|
16
|
-
export { SearchInput } from './search-input';
|
|
16
|
+
export { default as SearchInput } from './search-input/SearchInput.svelte';
|
|
17
17
|
export { ShadEditor } from './shad-editor';
|
|
18
18
|
export { ToasterModal, showToast } from './toast';
|
|
19
19
|
export * as Accordion from './ui/accordion';
|