@skeletonlabs/skeleton-svelte 2.0.0-next.6 → 2.0.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/anatomy/{content.svelte → item-content.svelte} +4 -5
- package/dist/components/accordion/anatomy/item-content.svelte.d.ts +8 -0
- package/dist/components/accordion/anatomy/item-content.svelte.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/{heading.svelte → item-heading.svelte} +2 -2
- package/dist/components/accordion/anatomy/item-heading.svelte.d.ts +14 -0
- package/dist/components/accordion/anatomy/item-heading.svelte.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/{indicator.svelte → item-indicator.svelte} +4 -5
- package/dist/components/accordion/anatomy/item-indicator.svelte.d.ts +8 -0
- package/dist/components/accordion/anatomy/item-indicator.svelte.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/{trigger.svelte → item-trigger.svelte} +4 -5
- package/dist/components/accordion/anatomy/item-trigger.svelte.d.ts +8 -0
- package/dist/components/accordion/anatomy/item-trigger.svelte.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/item.svelte +3 -5
- package/dist/components/accordion/anatomy/item.svelte.d.ts +1 -1
- package/dist/components/accordion/anatomy/item.svelte.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root-context.svelte +1 -2
- package/dist/components/accordion/anatomy/root-context.svelte.d.ts +1 -1
- package/dist/components/accordion/anatomy/root-context.svelte.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.svelte +2 -4
- package/dist/components/accordion/anatomy/root-provider.svelte.d.ts +1 -1
- package/dist/components/accordion/anatomy/root-provider.svelte.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root.svelte +3 -5
- package/dist/components/accordion/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/accordion/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/accordion/index.d.ts +4 -4
- package/dist/components/accordion/index.d.ts.map +1 -1
- package/dist/components/accordion/modules/anatomy.d.ts +8 -8
- package/dist/components/accordion/modules/anatomy.js +9 -9
- package/dist/components/accordion/modules/item-context.d.ts.map +1 -1
- package/dist/components/accordion/modules/root-context.d.ts +2 -2
- package/dist/components/accordion/modules/root-context.d.ts.map +1 -1
- package/dist/components/accordion/modules/use-accordion.svelte.d.ts +3 -2
- package/dist/components/accordion/modules/use-accordion.svelte.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/fallback.svelte +1 -2
- package/dist/components/avatar/anatomy/fallback.svelte.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/image.svelte +1 -2
- package/dist/components/avatar/anatomy/image.svelte.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root-context.svelte +1 -2
- package/dist/components/avatar/anatomy/root-context.svelte.d.ts +1 -1
- package/dist/components/avatar/anatomy/root-context.svelte.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root-provider.svelte +5 -7
- package/dist/components/avatar/anatomy/root-provider.svelte.d.ts +1 -1
- package/dist/components/avatar/anatomy/root-provider.svelte.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root.svelte +3 -5
- package/dist/components/avatar/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/avatar/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/avatar/modules/anatomy.d.ts +5 -5
- package/dist/components/avatar/modules/anatomy.js +1 -1
- package/dist/components/avatar/modules/root-context.d.ts +2 -2
- package/dist/components/avatar/modules/root-context.d.ts.map +1 -1
- package/dist/components/avatar/modules/use-avatar.svelte.d.ts +3 -2
- package/dist/components/avatar/modules/use-avatar.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.svelte +2 -4
- package/dist/components/file-upload/anatomy/dropzone.svelte.d.ts +1 -1
- package/dist/components/file-upload/anatomy/dropzone.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.svelte +1 -2
- package/dist/components/file-upload/anatomy/hidden-input.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.svelte +2 -3
- package/dist/components/file-upload/anatomy/item-delete-trigger.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.svelte +1 -2
- package/dist/components/file-upload/anatomy/item-group.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.svelte +2 -3
- package/dist/components/file-upload/anatomy/item-name.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.svelte +2 -3
- package/dist/components/file-upload/anatomy/item-size-text.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item.svelte +4 -5
- package/dist/components/file-upload/anatomy/item.svelte.d.ts +1 -1
- package/dist/components/file-upload/anatomy/item.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/root-provider.svelte +5 -7
- package/dist/components/file-upload/anatomy/root-provider.svelte.d.ts +1 -1
- package/dist/components/file-upload/anatomy/root-provider.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/root.svelte +3 -5
- package/dist/components/file-upload/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/file-upload/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.svelte +1 -2
- package/dist/components/file-upload/anatomy/trigger.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/modules/anatomy.d.ts +9 -9
- package/dist/components/file-upload/modules/anatomy.js +2 -2
- package/dist/components/file-upload/modules/item-context.d.ts.map +1 -1
- package/dist/components/file-upload/modules/root-context.d.ts +2 -2
- package/dist/components/file-upload/modules/root-context.d.ts.map +1 -1
- package/dist/components/file-upload/modules/use-file-upload.svelte.d.ts +3 -2
- package/dist/components/file-upload/modules/use-file-upload.svelte.d.ts.map +1 -1
- package/dist/components/file-upload/modules/use-file-upload.svelte.js +2 -2
- package/dist/components/popover/anatomy/arrow-tip.svelte +32 -0
- package/dist/components/popover/anatomy/arrow-tip.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/arrow-tip.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/arrow.svelte +32 -0
- package/dist/components/popover/anatomy/arrow.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/arrow.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/close-trigger.svelte +32 -0
- package/dist/components/popover/anatomy/close-trigger.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/close-trigger.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/content.svelte +32 -0
- package/dist/components/popover/anatomy/content.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/content.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/description.svelte +32 -0
- package/dist/components/popover/anatomy/description.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/description.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/positioner.svelte +34 -0
- package/dist/components/popover/anatomy/positioner.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/positioner.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/root-context.svelte +20 -0
- package/dist/components/popover/anatomy/root-context.svelte.d.ts +9 -0
- package/dist/components/popover/anatomy/root-context.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/root-provider.svelte +20 -0
- package/dist/components/popover/anatomy/root-provider.svelte.d.ts +9 -0
- package/dist/components/popover/anatomy/root-provider.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/root.svelte +27 -0
- package/dist/components/popover/anatomy/root.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/root.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/title.svelte +32 -0
- package/dist/components/popover/anatomy/title.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/title.svelte.d.ts.map +1 -0
- package/dist/components/popover/anatomy/trigger.svelte +32 -0
- package/dist/components/popover/anatomy/trigger.svelte.d.ts +8 -0
- package/dist/components/popover/anatomy/trigger.svelte.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts +12 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +2 -0
- package/dist/components/popover/modules/anatomy.d.ts +13 -0
- package/dist/components/popover/modules/anatomy.d.ts.map +1 -0
- package/dist/components/popover/modules/anatomy.js +23 -0
- package/dist/components/popover/modules/root-context.d.ts +6 -0
- package/dist/components/popover/modules/root-context.d.ts.map +1 -0
- package/dist/components/popover/modules/root-context.js +2 -0
- package/dist/components/popover/modules/use-popover.svelte.d.ts +4 -0
- package/dist/components/popover/modules/use-popover.svelte.d.ts.map +1 -0
- package/dist/components/popover/modules/use-popover.svelte.js +7 -0
- package/dist/components/progress-linear/anatomy/label.svelte +1 -2
- package/dist/components/progress-linear/anatomy/label.svelte.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/range.svelte +1 -2
- package/dist/components/progress-linear/anatomy/range.svelte.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/root-context.svelte +1 -2
- package/dist/components/progress-linear/anatomy/root-context.svelte.d.ts +1 -1
- package/dist/components/progress-linear/anatomy/root-context.svelte.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.svelte +2 -4
- package/dist/components/progress-linear/anatomy/root-provider.svelte.d.ts +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.svelte.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/root.svelte +3 -5
- package/dist/components/progress-linear/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/progress-linear/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/track.svelte +1 -2
- package/dist/components/progress-linear/anatomy/track.svelte.d.ts.map +1 -1
- package/dist/components/progress-linear/modules/anatomy.d.ts +6 -5
- package/dist/components/progress-linear/modules/anatomy.d.ts.map +1 -1
- package/dist/components/progress-linear/modules/anatomy.js +3 -1
- package/dist/components/progress-linear/modules/root-context.d.ts +2 -2
- package/dist/components/progress-linear/modules/root-context.d.ts.map +1 -1
- package/dist/components/progress-linear/modules/use-progress-linear.svelte.d.ts +3 -2
- package/dist/components/progress-linear/modules/use-progress-linear.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/control.svelte +1 -2
- package/dist/components/rating-group/anatomy/control.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.svelte +1 -2
- package/dist/components/rating-group/anatomy/hidden-input.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/item.svelte +5 -8
- package/dist/components/rating-group/anatomy/item.svelte.d.ts +1 -1
- package/dist/components/rating-group/anatomy/item.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/label.svelte +1 -2
- package/dist/components/rating-group/anatomy/label.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/root-context.svelte +1 -2
- package/dist/components/rating-group/anatomy/root-context.svelte.d.ts +1 -1
- package/dist/components/rating-group/anatomy/root-context.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/root-provider.svelte +2 -4
- package/dist/components/rating-group/anatomy/root-provider.svelte.d.ts +1 -1
- package/dist/components/rating-group/anatomy/root-provider.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/root.svelte +3 -5
- package/dist/components/rating-group/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/rating-group/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/rating-group/modules/anatomy.d.ts +7 -7
- package/dist/components/rating-group/modules/anatomy.js +1 -1
- package/dist/components/rating-group/modules/root-context.d.ts +2 -2
- package/dist/components/rating-group/modules/root-context.d.ts.map +1 -1
- package/dist/components/rating-group/modules/use-rating-group.svelte.d.ts +3 -2
- package/dist/components/rating-group/modules/use-rating-group.svelte.d.ts.map +1 -1
- package/dist/components/switch/anatomy/control.svelte +1 -2
- package/dist/components/switch/anatomy/control.svelte.d.ts.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.svelte +1 -2
- package/dist/components/switch/anatomy/hidden-input.svelte.d.ts.map +1 -1
- package/dist/components/switch/anatomy/label.svelte +1 -2
- package/dist/components/switch/anatomy/label.svelte.d.ts.map +1 -1
- package/dist/components/switch/anatomy/root-context.svelte +1 -2
- package/dist/components/switch/anatomy/root-context.svelte.d.ts +1 -1
- package/dist/components/switch/anatomy/root-context.svelte.d.ts.map +1 -1
- package/dist/components/switch/anatomy/root-provider.svelte +2 -4
- package/dist/components/switch/anatomy/root-provider.svelte.d.ts +1 -1
- package/dist/components/switch/anatomy/root-provider.svelte.d.ts.map +1 -1
- package/dist/components/switch/anatomy/root.svelte +3 -5
- package/dist/components/switch/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/switch/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/switch/anatomy/thumb.svelte +1 -2
- package/dist/components/switch/anatomy/thumb.svelte.d.ts.map +1 -1
- package/dist/components/switch/modules/anatomy.d.ts +7 -7
- package/dist/components/switch/modules/anatomy.js +1 -1
- package/dist/components/switch/modules/root-context.d.ts +2 -2
- package/dist/components/switch/modules/root-context.d.ts.map +1 -1
- package/dist/components/switch/modules/use-switch.svelte.d.ts +3 -2
- package/dist/components/switch/modules/use-switch.svelte.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/content.svelte +2 -4
- package/dist/components/tabs/anatomy/content.svelte.d.ts +1 -1
- package/dist/components/tabs/anatomy/content.svelte.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/indicator.svelte +1 -2
- package/dist/components/tabs/anatomy/indicator.svelte.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/list.svelte +1 -2
- package/dist/components/tabs/anatomy/list.svelte.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/root-context.svelte +1 -2
- package/dist/components/tabs/anatomy/root-context.svelte.d.ts +1 -1
- package/dist/components/tabs/anatomy/root-context.svelte.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/root-provider.svelte +2 -4
- package/dist/components/tabs/anatomy/root-provider.svelte.d.ts +1 -1
- package/dist/components/tabs/anatomy/root-provider.svelte.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/root.svelte +3 -5
- package/dist/components/tabs/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/tabs/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/trigger.svelte +2 -4
- package/dist/components/tabs/anatomy/trigger.svelte.d.ts +1 -1
- package/dist/components/tabs/anatomy/trigger.svelte.d.ts.map +1 -1
- package/dist/components/tabs/modules/anatomy.d.ts +7 -7
- package/dist/components/tabs/modules/anatomy.js +1 -1
- package/dist/components/tabs/modules/root-context.d.ts +2 -2
- package/dist/components/tabs/modules/root-context.d.ts.map +1 -1
- package/dist/components/tabs/modules/use-tabs.svelte.d.ts +3 -2
- package/dist/components/tabs/modules/use-tabs.svelte.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.svelte +32 -0
- package/dist/components/tags-input/anatomy/clear-trigger.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/clear-trigger.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/control.svelte +32 -0
- package/dist/components/tags-input/anatomy/control.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/control.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/hidden-input.svelte +30 -0
- package/dist/components/tags-input/anatomy/hidden-input.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/hidden-input.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/input.svelte +30 -0
- package/dist/components/tags-input/anatomy/input.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/input.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-delete-trigger.svelte +38 -0
- package/dist/components/tags-input/anatomy/item-delete-trigger.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/item-delete-trigger.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-input.svelte +32 -0
- package/dist/components/tags-input/anatomy/item-input.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/item-input.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-preview.svelte +34 -0
- package/dist/components/tags-input/anatomy/item-preview.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/item-preview.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-text.svelte +34 -0
- package/dist/components/tags-input/anatomy/item-text.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/item-text.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item.svelte +38 -0
- package/dist/components/tags-input/anatomy/item.svelte.d.ts +9 -0
- package/dist/components/tags-input/anatomy/item.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/label.svelte +32 -0
- package/dist/components/tags-input/anatomy/label.svelte.d.ts +8 -0
- package/dist/components/tags-input/anatomy/label.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/root-context.svelte +20 -0
- package/dist/components/tags-input/anatomy/root-context.svelte.d.ts +9 -0
- package/dist/components/tags-input/anatomy/root-context.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/root-provider.svelte +34 -0
- package/dist/components/tags-input/anatomy/root-provider.svelte.d.ts +10 -0
- package/dist/components/tags-input/anatomy/root-provider.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/root.svelte +41 -0
- package/dist/components/tags-input/anatomy/root.svelte.d.ts +9 -0
- package/dist/components/tags-input/anatomy/root.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/index.d.ts +16 -0
- package/dist/components/tags-input/index.d.ts.map +1 -0
- package/dist/components/tags-input/index.js +2 -0
- package/dist/components/tags-input/modules/anatomy.d.ts +15 -0
- package/dist/components/tags-input/modules/anatomy.d.ts.map +1 -0
- package/dist/components/tags-input/modules/anatomy.js +27 -0
- package/dist/components/tags-input/modules/item-context.d.ts +7 -0
- package/dist/components/tags-input/modules/item-context.d.ts.map +1 -0
- package/dist/components/tags-input/modules/item-context.js +2 -0
- package/dist/components/tags-input/modules/root-context.d.ts +6 -0
- package/dist/components/tags-input/modules/root-context.d.ts.map +1 -0
- package/dist/components/tags-input/modules/root-context.js +2 -0
- package/dist/components/tags-input/modules/use-tags-input.svelte.d.ts +4 -0
- package/dist/components/tags-input/modules/use-tags-input.svelte.d.ts.map +1 -0
- package/dist/components/tags-input/modules/use-tags-input.svelte.js +7 -0
- package/dist/components/toast/anatomy/action-trigger.svelte +1 -2
- package/dist/components/toast/anatomy/action-trigger.svelte.d.ts.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.svelte +2 -4
- package/dist/components/toast/anatomy/close-trigger.svelte.d.ts.map +1 -1
- package/dist/components/toast/anatomy/description.svelte +1 -2
- package/dist/components/toast/anatomy/description.svelte.d.ts.map +1 -1
- package/dist/components/toast/anatomy/group.svelte +3 -5
- package/dist/components/toast/anatomy/group.svelte.d.ts +2 -2
- package/dist/components/toast/anatomy/group.svelte.d.ts.map +1 -1
- package/dist/components/toast/anatomy/root-context.svelte +2 -1
- package/dist/components/toast/anatomy/root-context.svelte.d.ts +2 -1
- package/dist/components/toast/anatomy/root-context.svelte.d.ts.map +1 -1
- package/dist/components/toast/anatomy/root.svelte +3 -5
- package/dist/components/toast/anatomy/root.svelte.d.ts +1 -1
- package/dist/components/toast/anatomy/root.svelte.d.ts.map +1 -1
- package/dist/components/toast/anatomy/title.svelte +1 -2
- package/dist/components/toast/anatomy/title.svelte.d.ts.map +1 -1
- package/dist/components/toast/modules/anatomy.d.ts +7 -7
- package/dist/components/toast/modules/anatomy.js +1 -1
- package/dist/components/toast/modules/group-context.d.ts.map +1 -1
- package/dist/components/toast/modules/root-context.d.ts +3 -2
- package/dist/components/toast/modules/root-context.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.svelte +32 -0
- package/dist/components/tooltip/anatomy/arrow-tip.svelte.d.ts +8 -0
- package/dist/components/tooltip/anatomy/arrow-tip.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/arrow.svelte +32 -0
- package/dist/components/tooltip/anatomy/arrow.svelte.d.ts +8 -0
- package/dist/components/tooltip/anatomy/arrow.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/content.svelte +32 -0
- package/dist/components/tooltip/anatomy/content.svelte.d.ts +8 -0
- package/dist/components/tooltip/anatomy/content.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/positioner.svelte +34 -0
- package/dist/components/tooltip/anatomy/positioner.svelte.d.ts +8 -0
- package/dist/components/tooltip/anatomy/positioner.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/root-context.svelte +20 -0
- package/dist/components/tooltip/anatomy/root-context.svelte.d.ts +9 -0
- package/dist/components/tooltip/anatomy/root-context.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/root-provider.svelte +20 -0
- package/dist/components/tooltip/anatomy/root-provider.svelte.d.ts +9 -0
- package/dist/components/tooltip/anatomy/root-provider.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/root.svelte +27 -0
- package/dist/components/tooltip/anatomy/root.svelte.d.ts +8 -0
- package/dist/components/tooltip/anatomy/root.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/trigger.svelte +32 -0
- package/dist/components/tooltip/anatomy/trigger.svelte.d.ts +8 -0
- package/dist/components/tooltip/anatomy/trigger.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +11 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +2 -0
- package/dist/components/tooltip/modules/anatomy.d.ts +10 -0
- package/dist/components/tooltip/modules/anatomy.d.ts.map +1 -0
- package/dist/components/tooltip/modules/anatomy.js +17 -0
- package/dist/components/tooltip/modules/root-context.d.ts +6 -0
- package/dist/components/tooltip/modules/root-context.d.ts.map +1 -0
- package/dist/components/tooltip/modules/root-context.js +2 -0
- package/dist/components/tooltip/modules/use-tooltip.svelte.d.ts +4 -0
- package/dist/components/tooltip/modules/use-tooltip.svelte.d.ts.map +1 -0
- package/dist/components/tooltip/modules/use-tooltip.svelte.js +7 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/internal/components/x.svelte +28 -11
- package/dist/internal/components/x.svelte.d.ts +4 -25
- package/dist/internal/components/x.svelte.d.ts.map +1 -1
- package/dist/internal/props-with-element.d.ts +1 -1
- package/dist/internal/props-with-element.d.ts.map +1 -1
- package/package.json +34 -33
- package/dist/components/accordion/anatomy/content.svelte.d.ts +0 -8
- package/dist/components/accordion/anatomy/content.svelte.d.ts.map +0 -1
- package/dist/components/accordion/anatomy/heading.svelte.d.ts +0 -14
- package/dist/components/accordion/anatomy/heading.svelte.d.ts.map +0 -1
- package/dist/components/accordion/anatomy/indicator.svelte.d.ts +0 -8
- package/dist/components/accordion/anatomy/indicator.svelte.d.ts.map +0 -1
- package/dist/components/accordion/anatomy/trigger.svelte.d.ts +0 -8
- package/dist/components/accordion/anatomy/trigger.svelte.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const ProgressLinearRootContext: {
|
|
2
2
|
key: symbol;
|
|
3
|
-
consume(): () => import("@zag-js/progress").Api
|
|
4
|
-
provide(value: () => import("@zag-js/progress").Api): () => import("@zag-js/progress").Api
|
|
3
|
+
consume(): () => import("@zag-js/progress").Api<import("@zag-js/svelte").PropTypes>;
|
|
4
|
+
provide(value: () => import("@zag-js/progress").Api<import("@zag-js/svelte").PropTypes>): () => import("@zag-js/progress").Api<import("@zag-js/svelte").PropTypes>;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=root-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.d.ts","sourceRoot":"","sources":["../../../../src/components/progress-linear/modules/root-context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"root-context.d.ts","sourceRoot":"","sources":["../../../../src/components/progress-linear/modules/root-context.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB;;;;CAAwD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { Api, Props } from '@zag-js/progress';
|
|
2
|
+
import { type PropTypes } from '@zag-js/svelte';
|
|
3
|
+
export declare function useProgressLinear(props: Props | (() => Props)): () => Api<PropTypes>;
|
|
3
4
|
//# sourceMappingURL=use-progress-linear.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-progress-linear.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/progress-linear/modules/use-progress-linear.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-progress-linear.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/progress-linear/modules/use-progress-linear.svelte.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE5E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,CAIpF"}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
+
import { RatingGroupRootContext } from '../modules/root-context';
|
|
9
10
|
import { classesRatingGroup } from '@skeletonlabs/skeleton-common';
|
|
10
11
|
import { mergeProps } from '@zag-js/svelte';
|
|
11
12
|
|
|
12
|
-
import { RatingGroupRootContext } from '../modules/root-context';
|
|
13
|
-
|
|
14
13
|
const props: RatingGroupControlProps = $props();
|
|
15
14
|
|
|
16
15
|
const ratingGroup = RatingGroupRootContext.consume();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/control.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,IAAI,GAAG,KAAK,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"control.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/control.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,IAAI,GAAG,KAAK,CAAC;CAAG;AAqCjH,QAAA,MAAM,OAAO,6DAAwC,CAAC;AACtD,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAC1C,eAAe,OAAO,CAAC"}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
+
import { RatingGroupRootContext } from '../modules/root-context';
|
|
9
10
|
import { classesRatingGroup } from '@skeletonlabs/skeleton-common';
|
|
10
11
|
import { mergeProps } from '@zag-js/svelte';
|
|
11
12
|
|
|
12
|
-
import { RatingGroupRootContext } from '../modules/root-context';
|
|
13
|
-
|
|
14
13
|
const props: RatingGroupHiddenInputProps = $props();
|
|
15
14
|
|
|
16
15
|
const ratingGroup = RatingGroupRootContext.consume();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/hidden-input.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"hidden-input.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/hidden-input.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC;CAAG;AAmC3G,QAAA,MAAM,WAAW,iEAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import type { ItemProps } from '@zag-js/rating-group';
|
|
3
|
-
|
|
4
2
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
5
3
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
4
|
+
import type { ItemProps } from '@zag-js/rating-group';
|
|
6
5
|
|
|
7
6
|
export interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span', 'id' | 'dir'> {
|
|
8
7
|
/**
|
|
@@ -27,17 +26,15 @@
|
|
|
27
26
|
</script>
|
|
28
27
|
|
|
29
28
|
<script lang="ts">
|
|
29
|
+
import { RatingGroupRootContext } from '../modules/root-context';
|
|
30
|
+
import StarEmpty from '../../../internal/components/star-empty.svelte';
|
|
31
|
+
import StarFull from '../../../internal/components/star-full.svelte';
|
|
32
|
+
import StarHalf from '../../../internal/components/star-half.svelte';
|
|
30
33
|
import { classesRatingGroup } from '@skeletonlabs/skeleton-common';
|
|
31
34
|
import { splitItemProps } from '@zag-js/rating-group';
|
|
32
35
|
import { mergeProps } from '@zag-js/svelte';
|
|
33
36
|
import type { Snippet } from 'svelte';
|
|
34
37
|
|
|
35
|
-
import StarEmpty from '../../../internal/components/star-empty.svelte';
|
|
36
|
-
import StarFull from '../../../internal/components/star-full.svelte';
|
|
37
|
-
import StarHalf from '../../../internal/components/star-half.svelte';
|
|
38
|
-
|
|
39
|
-
import { RatingGroupRootContext } from '../modules/root-context';
|
|
40
|
-
|
|
41
38
|
const props: RatingGroupItemProps = $props();
|
|
42
39
|
|
|
43
40
|
const ratingGroup = RatingGroupRootContext.consume();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ItemProps } from '@zag-js/rating-group';
|
|
2
1
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
3
2
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
3
|
+
import type { ItemProps } from '@zag-js/rating-group';
|
|
4
4
|
export interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span', 'id' | 'dir'> {
|
|
5
5
|
/**
|
|
6
6
|
* The content to render when the item is in the empty state.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/item.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"item.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/item.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,oBAAqB,SAAQ,SAAS,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,EAAE,IAAI,GAAG,KAAK,CAAC;IACtH;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CACf;AAUF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AA4DtC,QAAA,MAAM,IAAI,0DAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
+
import { RatingGroupRootContext } from '../modules/root-context';
|
|
9
10
|
import { classesRatingGroup } from '@skeletonlabs/skeleton-common';
|
|
10
11
|
import { mergeProps } from '@zag-js/svelte';
|
|
11
12
|
|
|
12
|
-
import { RatingGroupRootContext } from '../modules/root-context';
|
|
13
|
-
|
|
14
13
|
const props: RatingGroupLabelProps = $props();
|
|
15
14
|
|
|
16
15
|
const ratingGroup = RatingGroupRootContext.consume();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/label.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"label.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/label.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,CAAC;CAAG;AAqCnH,QAAA,MAAM,KAAK,2DAAwC,CAAC;AACpD,KAAK,KAAK,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AACtC,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
|
|
4
2
|
import type { useRatingGroup } from '../modules/use-rating-group.svelte';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
5
4
|
|
|
6
5
|
export interface RatingGroupRootContextProps {
|
|
7
6
|
children: Snippet<[ReturnType<typeof useRatingGroup>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/root-context.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"root-context.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/root-context.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,WAAW,2BAA2B;IAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC;CACvD;AAqBF,QAAA,MAAM,WAAW,iEAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
+
import type { useRatingGroup } from '../modules/use-rating-group.svelte';
|
|
2
3
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
3
4
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
4
5
|
|
|
5
|
-
import type { useRatingGroup } from '../modules/use-rating-group.svelte';
|
|
6
|
-
|
|
7
6
|
export interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
7
|
value: ReturnType<typeof useRatingGroup>;
|
|
9
8
|
}
|
|
10
9
|
</script>
|
|
11
10
|
|
|
12
11
|
<script lang="ts">
|
|
12
|
+
import { RatingGroupRootContext } from '../modules/root-context';
|
|
13
13
|
import { classesRatingGroup } from '@skeletonlabs/skeleton-common';
|
|
14
14
|
import { mergeProps } from '@zag-js/svelte';
|
|
15
15
|
|
|
16
|
-
import { RatingGroupRootContext } from '../modules/root-context';
|
|
17
|
-
|
|
18
16
|
const props: RatingGroupRootProviderProps = $props();
|
|
19
17
|
|
|
20
18
|
const { element, children, value: ratingGroup, ...rest } = $derived(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { useRatingGroup } from '../modules/use-rating-group.svelte';
|
|
1
2
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
2
3
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
3
|
-
import type { useRatingGroup } from '../modules/use-rating-group.svelte';
|
|
4
4
|
export interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
5
5
|
value: ReturnType<typeof useRatingGroup>;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/root-provider.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"root-provider.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/root-provider.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,4BAA6B,SAAQ,gBAAgB,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,IAAI,GAAG,KAAK,CAAC;IACjH,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;CACzC;AAqCF,QAAA,MAAM,YAAY,kEAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import type { Props } from '@zag-js/rating-group';
|
|
3
|
-
|
|
4
2
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
5
3
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
4
|
+
import type { Props } from '@zag-js/rating-group';
|
|
6
5
|
|
|
7
6
|
export interface RatingGroupRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
7
|
</script>
|
|
9
8
|
|
|
10
9
|
<script lang="ts">
|
|
10
|
+
import { RatingGroupRootContext } from '../modules/root-context';
|
|
11
|
+
import { useRatingGroup } from '../modules/use-rating-group.svelte';
|
|
11
12
|
import { classesRatingGroup } from '@skeletonlabs/skeleton-common';
|
|
12
13
|
import { splitProps } from '@zag-js/rating-group';
|
|
13
14
|
import { mergeProps } from '@zag-js/svelte';
|
|
14
15
|
|
|
15
|
-
import { RatingGroupRootContext } from '../modules/root-context';
|
|
16
|
-
import { useRatingGroup } from '../modules/use-rating-group.svelte';
|
|
17
|
-
|
|
18
16
|
const props: RatingGroupRootProps = $props();
|
|
19
17
|
|
|
20
18
|
const [ratingGroupProps, componentProps] = $derived(splitProps(props));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Props } from '@zag-js/rating-group';
|
|
2
1
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
3
2
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
3
|
+
import type { Props } from '@zag-js/rating-group';
|
|
4
4
|
export interface RatingGroupRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
5
5
|
}
|
|
6
6
|
declare const Root: import("svelte").Component<RatingGroupRootProps, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/root.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"root.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/anatomy/root.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,gBAAgB,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,EAAE,IAAI,GAAG,KAAK,CAAC;CAAG;AAgDjI,QAAA,MAAM,IAAI,0DAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const RatingGroup: import("svelte").Component<import("
|
|
2
|
-
Provider: import("svelte").Component<import("
|
|
3
|
-
Context: import("svelte").Component<import("
|
|
4
|
-
Label: import("svelte").Component<import("
|
|
5
|
-
Control: import("svelte").Component<import("
|
|
6
|
-
Item: import("svelte").Component<import("
|
|
7
|
-
HiddenInput: import("svelte").Component<import("
|
|
1
|
+
export declare const RatingGroup: import("svelte").Component<import("..").RatingGroupRootProps, {}, ""> & {
|
|
2
|
+
Provider: import("svelte").Component<import("..").RatingGroupRootProviderProps, {}, "">;
|
|
3
|
+
Context: import("svelte").Component<import("..").RatingGroupRootContextProps, {}, "">;
|
|
4
|
+
Label: import("svelte").Component<import("..").RatingGroupLabelProps, {}, "">;
|
|
5
|
+
Control: import("svelte").Component<import("..").RatingGroupControlProps, {}, "">;
|
|
6
|
+
Item: import("svelte").Component<import("..").RatingGroupItemProps, {}, "">;
|
|
7
|
+
HiddenInput: import("svelte").Component<import("..").RatingGroupHiddenInputProps, {}, "">;
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -2,9 +2,9 @@ import Control from '../anatomy/control.svelte';
|
|
|
2
2
|
import HiddenInput from '../anatomy/hidden-input.svelte';
|
|
3
3
|
import Item from '../anatomy/item.svelte';
|
|
4
4
|
import Label from '../anatomy/label.svelte';
|
|
5
|
-
import Root from '../anatomy/root.svelte';
|
|
6
5
|
import RootContext from '../anatomy/root-context.svelte';
|
|
7
6
|
import RootProvider from '../anatomy/root-provider.svelte';
|
|
7
|
+
import Root from '../anatomy/root.svelte';
|
|
8
8
|
export const RatingGroup = Object.assign(Root, {
|
|
9
9
|
Provider: RootProvider,
|
|
10
10
|
Context: RootContext,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const RatingGroupRootContext: {
|
|
2
2
|
key: symbol;
|
|
3
|
-
consume(): () => import("@zag-js/rating-group").Api
|
|
4
|
-
provide(value: () => import("@zag-js/rating-group").Api): () => import("@zag-js/rating-group").Api
|
|
3
|
+
consume(): () => import("@zag-js/rating-group").Api<import("@zag-js/svelte").PropTypes>;
|
|
4
|
+
provide(value: () => import("@zag-js/rating-group").Api<import("@zag-js/svelte").PropTypes>): () => import("@zag-js/rating-group").Api<import("@zag-js/svelte").PropTypes>;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=root-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/modules/root-context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"root-context.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/modules/root-context.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB;;;;CAAqD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { Api, Props } from '@zag-js/rating-group';
|
|
2
|
+
import { type PropTypes } from '@zag-js/svelte';
|
|
3
|
+
export declare function useRatingGroup(props: Props | (() => Props)): () => Api<PropTypes>;
|
|
3
4
|
//# sourceMappingURL=use-rating-group.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-rating-group.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/modules/use-rating-group.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-rating-group.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/rating-group/modules/use-rating-group.svelte.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE5E,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,CAIjF"}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
+
import { SwitchRootContext } from '../modules/root-context';
|
|
9
10
|
import { classesSwitch } from '@skeletonlabs/skeleton-common';
|
|
10
11
|
import { mergeProps } from '@zag-js/svelte';
|
|
11
12
|
|
|
12
|
-
import { SwitchRootContext } from '../modules/root-context';
|
|
13
|
-
|
|
14
13
|
const props: SwitchControlProps = $props();
|
|
15
14
|
|
|
16
15
|
const switch_ = SwitchRootContext.consume();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/control.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"control.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/control.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CAAG;AAqChG,QAAA,MAAM,OAAO,wDAAwC,CAAC;AACtD,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAC1C,eAAe,OAAO,CAAC"}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
+
import { SwitchRootContext } from '../modules/root-context';
|
|
9
10
|
import { classesSwitch } from '@skeletonlabs/skeleton-common';
|
|
10
11
|
import { mergeProps } from '@zag-js/svelte';
|
|
11
12
|
|
|
12
|
-
import { SwitchRootContext } from '../modules/root-context';
|
|
13
|
-
|
|
14
13
|
const props: SwitchHiddenInputProps = $props();
|
|
15
14
|
|
|
16
15
|
const switch_ = SwitchRootContext.consume();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/hidden-input.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"hidden-input.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/hidden-input.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC;CAAG;AAmClH,QAAA,MAAM,WAAW,4DAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
+
import { SwitchRootContext } from '../modules/root-context';
|
|
9
10
|
import { classesSwitch } from '@skeletonlabs/skeleton-common';
|
|
10
11
|
import { mergeProps } from '@zag-js/svelte';
|
|
11
12
|
|
|
12
|
-
import { SwitchRootContext } from '../modules/root-context';
|
|
13
|
-
|
|
14
13
|
const props: SwitchLabelProps = $props();
|
|
15
14
|
|
|
16
15
|
const switch_ = SwitchRootContext.consume();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/label.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"label.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/label.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CAAG;AAqC9F,QAAA,MAAM,KAAK,sDAAwC,CAAC;AACpD,KAAK,KAAK,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AACtC,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
|
|
4
2
|
import type { useSwitch } from '../modules/use-switch.svelte';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
5
4
|
|
|
6
5
|
export interface SwitchRootContextProps {
|
|
7
6
|
children: Snippet<[ReturnType<typeof useSwitch>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/root-context.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"root-context.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/root-context.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,OAAO,CAAC,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;CAClD;AAqBF,QAAA,MAAM,WAAW,4DAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
+
import type { useSwitch } from '../modules/use-switch.svelte';
|
|
2
3
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
3
4
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
4
5
|
|
|
5
|
-
import type { useSwitch } from '../modules/use-switch.svelte';
|
|
6
|
-
|
|
7
6
|
export interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir' | 'form'> {
|
|
8
7
|
value: ReturnType<typeof useSwitch>;
|
|
9
8
|
}
|
|
10
9
|
</script>
|
|
11
10
|
|
|
12
11
|
<script lang="ts">
|
|
12
|
+
import { SwitchRootContext } from '../modules/root-context';
|
|
13
13
|
import { classesSwitch } from '@skeletonlabs/skeleton-common';
|
|
14
14
|
import { mergeProps } from '@zag-js/svelte';
|
|
15
15
|
|
|
16
|
-
import { SwitchRootContext } from '../modules/root-context';
|
|
17
|
-
|
|
18
16
|
const props: SwitchRootProviderProps = $props();
|
|
19
17
|
|
|
20
18
|
const { element, children, value: switch_, ...rest } = $derived(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { useSwitch } from '../modules/use-switch.svelte';
|
|
1
2
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
2
3
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
3
|
-
import type { useSwitch } from '../modules/use-switch.svelte';
|
|
4
4
|
export interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir' | 'form'> {
|
|
5
5
|
value: ReturnType<typeof useSwitch>;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/root-provider.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"root-provider.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/root-provider.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;IACzH,KAAK,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;CACpC;AAqCF,QAAA,MAAM,YAAY,6DAAwC,CAAC;AAC3D,KAAK,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACpD,eAAe,YAAY,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import type { Props } from '@zag-js/switch';
|
|
3
|
-
|
|
4
2
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
5
3
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
4
|
+
import type { Props } from '@zag-js/switch';
|
|
6
5
|
|
|
7
6
|
export interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir' | 'form'> {}
|
|
8
7
|
</script>
|
|
9
8
|
|
|
10
9
|
<script lang="ts">
|
|
10
|
+
import { SwitchRootContext } from '../modules/root-context';
|
|
11
|
+
import { useSwitch } from '../modules/use-switch.svelte';
|
|
11
12
|
import { classesSwitch } from '@skeletonlabs/skeleton-common';
|
|
12
13
|
import { mergeProps } from '@zag-js/svelte';
|
|
13
14
|
import { splitProps } from '@zag-js/switch';
|
|
14
15
|
|
|
15
|
-
import { SwitchRootContext } from '../modules/root-context';
|
|
16
|
-
import { useSwitch } from '../modules/use-switch.svelte';
|
|
17
|
-
|
|
18
16
|
const props: SwitchRootProps = $props();
|
|
19
17
|
|
|
20
18
|
const [switchProps, componentProps] = $derived(splitProps(props));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Props } from '@zag-js/switch';
|
|
2
1
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
3
2
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
3
|
+
import type { Props } from '@zag-js/switch';
|
|
4
4
|
export interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir' | 'form'> {
|
|
5
5
|
}
|
|
6
6
|
declare const Root: import("svelte").Component<SwitchRootProps, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/root.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"root.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/root.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;CAAG;AAgDzI,QAAA,MAAM,IAAI,qDAAwC,CAAC;AACnD,KAAK,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AACpC,eAAe,IAAI,CAAC"}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
+
import { SwitchRootContext } from '../modules/root-context';
|
|
9
10
|
import { classesSwitch } from '@skeletonlabs/skeleton-common';
|
|
10
11
|
import { mergeProps } from '@zag-js/svelte';
|
|
11
12
|
|
|
12
|
-
import { SwitchRootContext } from '../modules/root-context';
|
|
13
|
-
|
|
14
13
|
const props: SwitchThumbProps = $props();
|
|
15
14
|
|
|
16
15
|
const switch_ = SwitchRootContext.consume();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumb.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/thumb.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"thumb.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/anatomy/thumb.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;CAAG;AAqC9F,QAAA,MAAM,KAAK,sDAAwC,CAAC;AACpD,KAAK,KAAK,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AACtC,eAAe,KAAK,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const Switch: import("svelte").Component<import("
|
|
2
|
-
Provider: import("svelte").Component<import("
|
|
3
|
-
Context: import("svelte").Component<import("
|
|
4
|
-
Control: import("svelte").Component<import("
|
|
5
|
-
Thumb: import("svelte").Component<import("
|
|
6
|
-
Label: import("svelte").Component<import("
|
|
7
|
-
HiddenInput: import("svelte").Component<import("
|
|
1
|
+
export declare const Switch: import("svelte").Component<import("..").SwitchRootProps, {}, ""> & {
|
|
2
|
+
Provider: import("svelte").Component<import("..").SwitchRootProviderProps, {}, "">;
|
|
3
|
+
Context: import("svelte").Component<import("..").SwitchRootContextProps, {}, "">;
|
|
4
|
+
Control: import("svelte").Component<import("..").SwitchControlProps, {}, "">;
|
|
5
|
+
Thumb: import("svelte").Component<import("..").SwitchThumbProps, {}, "">;
|
|
6
|
+
Label: import("svelte").Component<import("..").SwitchLabelProps, {}, "">;
|
|
7
|
+
HiddenInput: import("svelte").Component<import("..").SwitchHiddenInputProps, {}, "">;
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Control from '../anatomy/control.svelte';
|
|
2
2
|
import HiddenInput from '../anatomy/hidden-input.svelte';
|
|
3
3
|
import Label from '../anatomy/label.svelte';
|
|
4
|
-
import Root from '../anatomy/root.svelte';
|
|
5
4
|
import RootContext from '../anatomy/root-context.svelte';
|
|
6
5
|
import RootProvider from '../anatomy/root-provider.svelte';
|
|
6
|
+
import Root from '../anatomy/root.svelte';
|
|
7
7
|
import Thumb from '../anatomy/thumb.svelte';
|
|
8
8
|
export const Switch = Object.assign(Root, {
|
|
9
9
|
Provider: RootProvider,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const SwitchRootContext: {
|
|
2
2
|
key: symbol;
|
|
3
|
-
consume(): () => import("@zag-js/switch").Api
|
|
4
|
-
provide(value: () => import("@zag-js/switch").Api): () => import("@zag-js/switch").Api
|
|
3
|
+
consume(): () => import("@zag-js/switch").Api<import("@zag-js/svelte").PropTypes>;
|
|
4
|
+
provide(value: () => import("@zag-js/switch").Api<import("@zag-js/svelte").PropTypes>): () => import("@zag-js/switch").Api<import("@zag-js/svelte").PropTypes>;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=root-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/modules/root-context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"root-context.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/modules/root-context.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;CAAgD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
|
|
1
|
+
import { type PropTypes } from '@zag-js/svelte';
|
|
2
|
+
import type { Api, Props } from '@zag-js/switch';
|
|
3
|
+
export declare function useSwitch(props: Props | (() => Props)): () => Api<PropTypes>;
|
|
3
4
|
//# sourceMappingURL=use-switch.svelte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-switch.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/modules/use-switch.svelte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-switch.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/modules/use-switch.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE5E,OAAO,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEjD,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,CAI5E"}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import type { ContentProps } from '@zag-js/tabs';
|
|
3
|
-
|
|
4
2
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
5
3
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
4
|
+
import type { ContentProps } from '@zag-js/tabs';
|
|
6
5
|
|
|
7
6
|
export interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
7
|
</script>
|
|
9
8
|
|
|
10
9
|
<script lang="ts">
|
|
10
|
+
import { TabsRootContext } from '../modules/root-context';
|
|
11
11
|
import { classesTabs } from '@skeletonlabs/skeleton-common';
|
|
12
12
|
import { mergeProps } from '@zag-js/svelte';
|
|
13
13
|
import { splitContentProps } from '@zag-js/tabs';
|
|
14
14
|
|
|
15
|
-
import { TabsRootContext } from '../modules/root-context';
|
|
16
|
-
|
|
17
15
|
const props: TabsContentProps = $props();
|
|
18
16
|
|
|
19
17
|
const tabs = TabsRootContext.consume();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ContentProps } from '@zag-js/tabs';
|
|
2
1
|
import type { HTMLAttributes } from '../../../internal/html-attributes';
|
|
3
2
|
import type { PropsWithElement } from '../../../internal/props-with-element';
|
|
3
|
+
import type { ContentProps } from '@zag-js/tabs';
|
|
4
4
|
export interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {
|
|
5
5
|
}
|
|
6
6
|
declare const Content: import("svelte").Component<TabsContentProps, {}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/anatomy/content.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"content.svelte.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/anatomy/content.svelte.ts"],"names":[],"mappings":"AAGC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,gBAAiB,SAAQ,YAAY,EAAE,gBAAgB,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC;CAAG;AAwC1G,QAAA,MAAM,OAAO,sDAAwC,CAAC;AACtD,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAC1C,eAAe,OAAO,CAAC"}
|