ui-ingredients 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/dist/accordion/index.d.ts +3 -3
- package/dist/accordion/index.js +3 -3
- package/dist/accordion/item-content.svelte +9 -5
- package/dist/accordion/item-content.svelte.d.ts +2 -3
- package/dist/accordion/item-indicator.svelte +9 -5
- package/dist/accordion/item-indicator.svelte.d.ts +2 -3
- package/dist/accordion/item-trigger.svelte +10 -5
- package/dist/accordion/item-trigger.svelte.d.ts +2 -3
- package/dist/accordion/item.svelte +19 -6
- package/dist/accordion/item.svelte.d.ts +5 -4
- package/dist/accordion/root.svelte +10 -8
- package/dist/accordion/root.svelte.d.ts +3 -4
- package/dist/avatar/fallback.svelte +2 -3
- package/dist/avatar/fallback.svelte.d.ts +2 -3
- package/dist/avatar/image.svelte +2 -3
- package/dist/avatar/image.svelte.d.ts +2 -3
- package/dist/avatar/root.svelte +10 -8
- package/dist/avatar/root.svelte.d.ts +3 -4
- package/dist/carousel/index.d.ts +5 -5
- package/dist/carousel/index.js +5 -5
- package/dist/carousel/indicator-group.svelte +2 -3
- package/dist/carousel/indicator-group.svelte.d.ts +2 -3
- package/dist/carousel/indicator.svelte +2 -3
- package/dist/carousel/indicator.svelte.d.ts +2 -3
- package/dist/carousel/item-group.svelte +2 -3
- package/dist/carousel/item-group.svelte.d.ts +2 -3
- package/dist/carousel/item.svelte +10 -5
- package/dist/carousel/item.svelte.d.ts +5 -4
- package/dist/carousel/next-trigger.svelte +2 -3
- package/dist/carousel/next-trigger.svelte.d.ts +2 -3
- package/dist/carousel/prev-trigger.svelte +2 -3
- package/dist/carousel/prev-trigger.svelte.d.ts +2 -3
- package/dist/carousel/root.svelte +9 -7
- package/dist/carousel/root.svelte.d.ts +2 -3
- package/dist/carousel/viewport.svelte +2 -3
- package/dist/carousel/viewport.svelte.d.ts +2 -3
- package/dist/checkbox/control.svelte +2 -3
- package/dist/checkbox/control.svelte.d.ts +2 -3
- package/dist/checkbox/hidden-input.svelte +2 -3
- package/dist/checkbox/hidden-input.svelte.d.ts +2 -3
- package/dist/checkbox/index.d.ts +2 -2
- package/dist/checkbox/index.js +2 -2
- package/dist/checkbox/indicator.svelte +2 -3
- package/dist/checkbox/indicator.svelte.d.ts +2 -3
- package/dist/checkbox/label.svelte +2 -3
- package/dist/checkbox/label.svelte.d.ts +2 -3
- package/dist/checkbox/root.svelte +10 -8
- package/dist/checkbox/root.svelte.d.ts +3 -4
- package/dist/clipboard/control.svelte +2 -3
- package/dist/clipboard/control.svelte.d.ts +2 -3
- package/dist/clipboard/index.d.ts +1 -1
- package/dist/clipboard/index.js +1 -1
- package/dist/clipboard/indicator.svelte +2 -3
- package/dist/clipboard/indicator.svelte.d.ts +2 -3
- package/dist/clipboard/input.svelte +2 -3
- package/dist/clipboard/input.svelte.d.ts +2 -3
- package/dist/clipboard/label.svelte +2 -3
- package/dist/clipboard/label.svelte.d.ts +2 -3
- package/dist/clipboard/root.svelte +10 -8
- package/dist/clipboard/root.svelte.d.ts +3 -4
- package/dist/clipboard/trigger.svelte +2 -3
- package/dist/clipboard/trigger.svelte.d.ts +2 -3
- package/dist/collapsible/content.svelte +2 -3
- package/dist/collapsible/content.svelte.d.ts +2 -3
- package/dist/collapsible/index.d.ts +2 -2
- package/dist/collapsible/index.js +2 -2
- package/dist/collapsible/root.svelte +10 -8
- package/dist/collapsible/root.svelte.d.ts +3 -4
- package/dist/collapsible/trigger.svelte +2 -3
- package/dist/collapsible/trigger.svelte.d.ts +2 -3
- package/dist/combobox/clear-trigger.svelte +3 -3
- package/dist/combobox/clear-trigger.svelte.d.ts +2 -3
- package/dist/combobox/content.svelte +2 -3
- package/dist/combobox/content.svelte.d.ts +2 -3
- package/dist/combobox/context.svelte.js +3 -3
- package/dist/combobox/control.svelte +2 -3
- package/dist/combobox/control.svelte.d.ts +2 -3
- package/dist/combobox/index.d.ts +5 -5
- package/dist/combobox/index.js +5 -5
- package/dist/combobox/input.svelte +2 -3
- package/dist/combobox/input.svelte.d.ts +2 -3
- package/dist/combobox/item-group-label.svelte +7 -4
- package/dist/combobox/item-group-label.svelte.d.ts +2 -3
- package/dist/combobox/item-group.svelte +13 -7
- package/dist/combobox/item-group.svelte.d.ts +2 -3
- package/dist/combobox/item-indicator.svelte +9 -5
- package/dist/combobox/item-indicator.svelte.d.ts +2 -3
- package/dist/combobox/item-text.svelte +9 -5
- package/dist/combobox/item-text.svelte.d.ts +2 -3
- package/dist/combobox/item.svelte +19 -6
- package/dist/combobox/item.svelte.d.ts +5 -4
- package/dist/combobox/label.svelte +2 -3
- package/dist/combobox/label.svelte.d.ts +2 -3
- package/dist/combobox/list.svelte +2 -3
- package/dist/combobox/list.svelte.d.ts +2 -3
- package/dist/combobox/positioner.svelte +2 -3
- package/dist/combobox/positioner.svelte.d.ts +2 -3
- package/dist/combobox/root.svelte +10 -8
- package/dist/combobox/root.svelte.d.ts +3 -4
- package/dist/combobox/trigger.svelte +2 -3
- package/dist/combobox/trigger.svelte.d.ts +2 -3
- package/dist/dialog/backdrop.svelte +2 -3
- package/dist/dialog/backdrop.svelte.d.ts +2 -3
- package/dist/dialog/close-trigger.svelte +2 -3
- package/dist/dialog/close-trigger.svelte.d.ts +2 -3
- package/dist/dialog/content.svelte +2 -3
- package/dist/dialog/content.svelte.d.ts +2 -3
- package/dist/dialog/description.svelte +2 -3
- package/dist/dialog/description.svelte.d.ts +2 -3
- package/dist/dialog/index.d.ts +3 -3
- package/dist/dialog/index.js +3 -3
- package/dist/dialog/positioner.svelte +2 -3
- package/dist/dialog/positioner.svelte.d.ts +2 -3
- package/dist/dialog/root.svelte +11 -5
- package/dist/dialog/root.svelte.d.ts +2 -2
- package/dist/dialog/title.svelte +2 -3
- package/dist/dialog/title.svelte.d.ts +2 -3
- package/dist/dialog/trigger.svelte +2 -3
- package/dist/dialog/trigger.svelte.d.ts +2 -3
- package/dist/editable/area.svelte +20 -0
- package/dist/editable/area.svelte.d.ts +21 -0
- package/dist/editable/cancel-trigger.svelte +21 -0
- package/dist/editable/cancel-trigger.svelte.d.ts +21 -0
- package/dist/editable/context.svelte.d.ts +8 -0
- package/dist/editable/context.svelte.js +14 -0
- package/dist/editable/control.svelte +20 -0
- package/dist/editable/control.svelte.d.ts +21 -0
- package/dist/editable/edit-trigger.svelte +20 -0
- package/dist/editable/edit-trigger.svelte.d.ts +21 -0
- package/dist/editable/index.d.ts +9 -0
- package/dist/editable/index.js +9 -0
- package/dist/editable/input.svelte +18 -0
- package/dist/editable/input.svelte.d.ts +21 -0
- package/dist/editable/label.svelte +20 -0
- package/dist/editable/label.svelte.d.ts +21 -0
- package/dist/editable/preview.svelte +24 -0
- package/dist/editable/preview.svelte.d.ts +21 -0
- package/dist/editable/root.svelte +29 -0
- package/dist/editable/root.svelte.d.ts +24 -0
- package/dist/editable/submit-trigger.svelte +21 -0
- package/dist/editable/submit-trigger.svelte.d.ts +21 -0
- package/dist/hover-card/arrow-tip.svelte +2 -3
- package/dist/hover-card/arrow-tip.svelte.d.ts +2 -3
- package/dist/hover-card/arrow.svelte +2 -3
- package/dist/hover-card/arrow.svelte.d.ts +2 -3
- package/dist/hover-card/content.svelte +2 -3
- package/dist/hover-card/content.svelte.d.ts +2 -3
- package/dist/hover-card/index.d.ts +2 -2
- package/dist/hover-card/index.js +2 -2
- package/dist/hover-card/positioner.svelte +2 -3
- package/dist/hover-card/positioner.svelte.d.ts +2 -3
- package/dist/hover-card/root.svelte +12 -5
- package/dist/hover-card/root.svelte.d.ts +2 -2
- package/dist/hover-card/trigger.svelte +2 -3
- package/dist/hover-card/trigger.svelte.d.ts +2 -3
- package/dist/index.d.ts +15 -0
- package/dist/index.js +10 -0
- package/dist/number-input/control.svelte +3 -3
- package/dist/number-input/control.svelte.d.ts +2 -3
- package/dist/number-input/decrement-trigger.svelte +2 -3
- package/dist/number-input/decrement-trigger.svelte.d.ts +2 -3
- package/dist/number-input/increment-trigger.svelte +2 -3
- package/dist/number-input/increment-trigger.svelte.d.ts +2 -3
- package/dist/number-input/index.d.ts +2 -2
- package/dist/number-input/index.js +2 -2
- package/dist/number-input/input.svelte +2 -3
- package/dist/number-input/input.svelte.d.ts +2 -3
- package/dist/number-input/label.svelte +2 -3
- package/dist/number-input/label.svelte.d.ts +2 -3
- package/dist/number-input/root.svelte +10 -8
- package/dist/number-input/root.svelte.d.ts +3 -4
- package/dist/number-input/scrubber.svelte +2 -3
- package/dist/number-input/scrubber.svelte.d.ts +2 -3
- package/dist/pagination/ellipsis.svelte +2 -3
- package/dist/pagination/ellipsis.svelte.d.ts +2 -3
- package/dist/pagination/index.d.ts +3 -3
- package/dist/pagination/index.js +3 -3
- package/dist/pagination/item.svelte +2 -3
- package/dist/pagination/item.svelte.d.ts +2 -3
- package/dist/pagination/next-trigger.svelte +3 -3
- package/dist/pagination/next-trigger.svelte.d.ts +2 -3
- package/dist/pagination/prev-trigger.svelte +3 -3
- package/dist/pagination/prev-trigger.svelte.d.ts +2 -3
- package/dist/pagination/root.svelte +10 -8
- package/dist/pagination/root.svelte.d.ts +3 -4
- package/dist/pin-input/clear-trigger.svelte +3 -3
- package/dist/pin-input/clear-trigger.svelte.d.ts +2 -3
- package/dist/pin-input/hidden-input.svelte +2 -3
- package/dist/pin-input/hidden-input.svelte.d.ts +2 -3
- package/dist/pin-input/index.d.ts +2 -2
- package/dist/pin-input/index.js +2 -2
- package/dist/pin-input/input.svelte +3 -3
- package/dist/pin-input/input.svelte.d.ts +2 -3
- package/dist/pin-input/label.svelte +2 -3
- package/dist/pin-input/label.svelte.d.ts +2 -3
- package/dist/pin-input/root.svelte +10 -8
- package/dist/pin-input/root.svelte.d.ts +3 -4
- package/dist/popover/arrow-tip.svelte +2 -3
- package/dist/popover/arrow-tip.svelte.d.ts +2 -3
- package/dist/popover/arrow.svelte +2 -3
- package/dist/popover/arrow.svelte.d.ts +2 -3
- package/dist/popover/close-trigger.svelte +2 -3
- package/dist/popover/close-trigger.svelte.d.ts +2 -3
- package/dist/popover/content.svelte +2 -3
- package/dist/popover/content.svelte.d.ts +2 -3
- package/dist/popover/description.svelte +2 -3
- package/dist/popover/description.svelte.d.ts +2 -3
- package/dist/popover/index.d.ts +4 -4
- package/dist/popover/index.js +4 -4
- package/dist/popover/positioner.svelte +2 -3
- package/dist/popover/positioner.svelte.d.ts +2 -3
- package/dist/popover/root.svelte +11 -5
- package/dist/popover/root.svelte.d.ts +2 -2
- package/dist/popover/title.svelte +2 -3
- package/dist/popover/title.svelte.d.ts +2 -3
- package/dist/popover/trigger.svelte +2 -3
- package/dist/popover/trigger.svelte.d.ts +2 -3
- package/dist/portal/root.svelte +1 -1
- package/dist/presence/root.svelte +11 -4
- package/dist/presence/root.svelte.d.ts +2 -3
- package/dist/progress/circle-range.svelte +2 -3
- package/dist/progress/circle-range.svelte.d.ts +2 -3
- package/dist/progress/circle-track.svelte +2 -3
- package/dist/progress/circle-track.svelte.d.ts +2 -3
- package/dist/progress/circle.svelte +2 -3
- package/dist/progress/circle.svelte.d.ts +2 -3
- package/dist/progress/index.d.ts +3 -3
- package/dist/progress/index.js +3 -3
- package/dist/progress/label.svelte +2 -3
- package/dist/progress/label.svelte.d.ts +2 -3
- package/dist/progress/range.svelte +2 -3
- package/dist/progress/range.svelte.d.ts +2 -3
- package/dist/progress/root.svelte +10 -8
- package/dist/progress/root.svelte.d.ts +3 -4
- package/dist/progress/track.svelte +2 -3
- package/dist/progress/track.svelte.d.ts +2 -3
- package/dist/progress/value-text.svelte +2 -3
- package/dist/progress/value-text.svelte.d.ts +2 -3
- package/dist/qr-code/context.svelte.d.ts +8 -0
- package/dist/qr-code/context.svelte.js +14 -0
- package/dist/qr-code/frame.svelte +20 -0
- package/dist/qr-code/frame.svelte.d.ts +21 -0
- package/dist/qr-code/index.d.ts +4 -0
- package/dist/qr-code/index.js +4 -0
- package/dist/qr-code/overlay.svelte +20 -0
- package/dist/qr-code/overlay.svelte.d.ts +21 -0
- package/dist/qr-code/pattern.svelte +20 -0
- package/dist/qr-code/pattern.svelte.d.ts +21 -0
- package/dist/qr-code/root.svelte +50 -0
- package/dist/qr-code/root.svelte.d.ts +24 -0
- package/dist/radio-group/index.d.ts +3 -3
- package/dist/radio-group/index.js +3 -3
- package/dist/radio-group/indicator.svelte +2 -3
- package/dist/radio-group/indicator.svelte.d.ts +2 -3
- package/dist/radio-group/item-control.svelte +9 -5
- package/dist/radio-group/item-control.svelte.d.ts +2 -3
- package/dist/radio-group/item-hidden-input.svelte +10 -5
- package/dist/radio-group/item-hidden-input.svelte.d.ts +2 -3
- package/dist/radio-group/item-text.svelte +9 -5
- package/dist/radio-group/item-text.svelte.d.ts +2 -3
- package/dist/radio-group/item.svelte +28 -7
- package/dist/radio-group/item.svelte.d.ts +5 -4
- package/dist/radio-group/label.svelte +2 -3
- package/dist/radio-group/label.svelte.d.ts +2 -3
- package/dist/radio-group/root.svelte +10 -8
- package/dist/radio-group/root.svelte.d.ts +3 -4
- package/dist/rating-group/context.svelte.d.ts +10 -0
- package/dist/rating-group/context.svelte.js +20 -0
- package/dist/rating-group/control.svelte +20 -0
- package/dist/rating-group/control.svelte.d.ts +21 -0
- package/dist/rating-group/hidden-input.svelte +19 -0
- package/dist/rating-group/hidden-input.svelte.d.ts +21 -0
- package/dist/rating-group/index.d.ts +5 -0
- package/dist/rating-group/index.js +5 -0
- package/dist/rating-group/item.svelte +27 -0
- package/dist/rating-group/item.svelte.d.ts +24 -0
- package/dist/rating-group/label.svelte +20 -0
- package/dist/rating-group/label.svelte.d.ts +21 -0
- package/dist/rating-group/root.svelte +73 -0
- package/dist/rating-group/root.svelte.d.ts +24 -0
- package/dist/select/clear-trigger.svelte +2 -3
- package/dist/select/clear-trigger.svelte.d.ts +2 -3
- package/dist/select/content.svelte +2 -3
- package/dist/select/content.svelte.d.ts +2 -3
- package/dist/select/context.svelte.js +3 -3
- package/dist/select/control.svelte +2 -3
- package/dist/select/control.svelte.d.ts +2 -3
- package/dist/select/hidden-select.svelte +2 -3
- package/dist/select/hidden-select.svelte.d.ts +2 -3
- package/dist/select/index.d.ts +9 -9
- package/dist/select/index.js +9 -9
- package/dist/select/indicator.svelte +2 -3
- package/dist/select/indicator.svelte.d.ts +2 -3
- package/dist/select/item-group-label.svelte +10 -5
- package/dist/select/item-group-label.svelte.d.ts +2 -3
- package/dist/select/item-group.svelte +13 -7
- package/dist/select/item-group.svelte.d.ts +2 -3
- package/dist/select/item-indicator.svelte +5 -4
- package/dist/select/item-indicator.svelte.d.ts +2 -3
- package/dist/select/item-text.svelte +5 -4
- package/dist/select/item-text.svelte.d.ts +2 -3
- package/dist/select/item.svelte +15 -5
- package/dist/select/item.svelte.d.ts +5 -4
- package/dist/select/label.svelte +2 -3
- package/dist/select/label.svelte.d.ts +2 -3
- package/dist/select/list.svelte +2 -3
- package/dist/select/list.svelte.d.ts +2 -3
- package/dist/select/positioner.svelte +2 -3
- package/dist/select/positioner.svelte.d.ts +2 -3
- package/dist/select/root.svelte +10 -8
- package/dist/select/root.svelte.d.ts +3 -4
- package/dist/select/trigger.svelte +2 -3
- package/dist/select/trigger.svelte.d.ts +2 -3
- package/dist/select/value-text.svelte +2 -3
- package/dist/select/value-text.svelte.d.ts +2 -3
- package/dist/slider/control.svelte +2 -3
- package/dist/slider/control.svelte.d.ts +2 -3
- package/dist/slider/hidden-input.svelte +5 -4
- package/dist/slider/hidden-input.svelte.d.ts +2 -3
- package/dist/slider/index.d.ts +3 -3
- package/dist/slider/index.js +3 -3
- package/dist/slider/label.svelte +2 -3
- package/dist/slider/label.svelte.d.ts +2 -3
- package/dist/slider/marker-group.svelte +2 -3
- package/dist/slider/marker-group.svelte.d.ts +2 -3
- package/dist/slider/marker.svelte +3 -3
- package/dist/slider/marker.svelte.d.ts +2 -3
- package/dist/slider/range.svelte +2 -3
- package/dist/slider/range.svelte.d.ts +2 -3
- package/dist/slider/root.svelte +10 -8
- package/dist/slider/root.svelte.d.ts +3 -4
- package/dist/slider/thumb.svelte +3 -3
- package/dist/slider/thumb.svelte.d.ts +2 -3
- package/dist/slider/track.svelte +2 -3
- package/dist/slider/track.svelte.d.ts +2 -3
- package/dist/slider/value-text.svelte +2 -3
- package/dist/slider/value-text.svelte.d.ts +2 -3
- package/dist/steps/content.svelte +3 -3
- package/dist/steps/content.svelte.d.ts +2 -3
- package/dist/steps/index.d.ts +4 -4
- package/dist/steps/index.js +4 -4
- package/dist/steps/indicator.svelte +5 -4
- package/dist/steps/indicator.svelte.d.ts +2 -3
- package/dist/steps/item.svelte +10 -5
- package/dist/steps/item.svelte.d.ts +5 -4
- package/dist/steps/list.svelte +2 -3
- package/dist/steps/list.svelte.d.ts +2 -3
- package/dist/steps/next-trigger.svelte +2 -3
- package/dist/steps/next-trigger.svelte.d.ts +2 -3
- package/dist/steps/prev-trigger.svelte +2 -3
- package/dist/steps/prev-trigger.svelte.d.ts +2 -3
- package/dist/steps/progress.svelte +2 -3
- package/dist/steps/progress.svelte.d.ts +2 -3
- package/dist/steps/root.svelte +10 -8
- package/dist/steps/root.svelte.d.ts +3 -4
- package/dist/steps/separator.svelte +5 -4
- package/dist/steps/separator.svelte.d.ts +2 -3
- package/dist/steps/trigger.svelte +2 -3
- package/dist/steps/trigger.svelte.d.ts +2 -3
- package/dist/switch/control.svelte +2 -3
- package/dist/switch/control.svelte.d.ts +2 -3
- package/dist/switch/hidden-input.svelte +2 -3
- package/dist/switch/hidden-input.svelte.d.ts +2 -3
- package/dist/switch/index.d.ts +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/label.svelte +2 -3
- package/dist/switch/label.svelte.d.ts +2 -3
- package/dist/switch/root.svelte +10 -8
- package/dist/switch/root.svelte.d.ts +3 -4
- package/dist/switch/thumb.svelte +2 -3
- package/dist/switch/thumb.svelte.d.ts +2 -3
- package/dist/tabs/content.svelte +3 -3
- package/dist/tabs/content.svelte.d.ts +2 -3
- package/dist/tabs/list.svelte +2 -3
- package/dist/tabs/list.svelte.d.ts +2 -3
- package/dist/tabs/root.svelte +12 -7
- package/dist/tabs/root.svelte.d.ts +3 -4
- package/dist/tabs/trigger.svelte +6 -4
- package/dist/tabs/trigger.svelte.d.ts +2 -3
- package/dist/tags-input/clear-trigger.svelte +21 -0
- package/dist/tags-input/clear-trigger.svelte.d.ts +21 -0
- package/dist/tags-input/context.svelte.d.ts +10 -0
- package/dist/tags-input/context.svelte.js +20 -0
- package/dist/tags-input/control.svelte +20 -0
- package/dist/tags-input/control.svelte.d.ts +21 -0
- package/dist/tags-input/hidden-input.svelte +18 -0
- package/dist/tags-input/hidden-input.svelte.d.ts +21 -0
- package/dist/tags-input/index.d.ts +11 -0
- package/dist/tags-input/index.js +11 -0
- package/dist/tags-input/input.svelte +18 -0
- package/dist/tags-input/input.svelte.d.ts +21 -0
- package/dist/tags-input/item-delete-trigger.svelte +27 -0
- package/dist/tags-input/item-delete-trigger.svelte.d.ts +21 -0
- package/dist/tags-input/item-input.svelte +24 -0
- package/dist/tags-input/item-input.svelte.d.ts +21 -0
- package/dist/tags-input/item-preview.svelte +26 -0
- package/dist/tags-input/item-preview.svelte.d.ts +21 -0
- package/dist/tags-input/item-text.svelte +26 -0
- package/dist/tags-input/item-text.svelte.d.ts +21 -0
- package/dist/tags-input/item.svelte +52 -0
- package/dist/tags-input/item.svelte.d.ts +24 -0
- package/dist/tags-input/label.svelte +20 -0
- package/dist/tags-input/label.svelte.d.ts +21 -0
- package/dist/tags-input/root.svelte +99 -0
- package/dist/tags-input/root.svelte.d.ts +24 -0
- package/dist/timer/action-trigger.svelte +24 -0
- package/dist/timer/action-trigger.svelte.d.ts +22 -0
- package/dist/timer/context.svelte.d.ts +10 -0
- package/dist/timer/context.svelte.js +20 -0
- package/dist/timer/index.d.ts +6 -0
- package/dist/timer/index.js +6 -0
- package/dist/timer/item-label.svelte +23 -0
- package/dist/timer/item-label.svelte.d.ts +21 -0
- package/dist/timer/item-value.svelte +27 -0
- package/dist/timer/item-value.svelte.d.ts +21 -0
- package/dist/timer/item.svelte +24 -0
- package/dist/timer/item.svelte.d.ts +22 -0
- package/dist/timer/root.svelte +56 -0
- package/dist/timer/root.svelte.d.ts +24 -0
- package/dist/timer/separator.svelte +20 -0
- package/dist/timer/separator.svelte.d.ts +21 -0
- package/dist/toast/action-trigger.svelte +2 -3
- package/dist/toast/action-trigger.svelte.d.ts +2 -3
- package/dist/toast/close-trigger.svelte +2 -3
- package/dist/toast/close-trigger.svelte.d.ts +2 -3
- package/dist/toast/description.svelte +2 -3
- package/dist/toast/description.svelte.d.ts +2 -3
- package/dist/toast/root.svelte +7 -4
- package/dist/toast/root.svelte.d.ts +5 -3
- package/dist/toast/title.svelte +2 -3
- package/dist/toast/title.svelte.d.ts +2 -3
- package/dist/toast/toast.d.ts +3 -3
- package/dist/toast/toast.js +3 -3
- package/dist/toast/toaster.svelte +3 -3
- package/dist/toast/toaster.svelte.d.ts +2 -3
- package/dist/toggle-group/item.svelte +13 -6
- package/dist/toggle-group/item.svelte.d.ts +5 -4
- package/dist/toggle-group/root.svelte +10 -8
- package/dist/toggle-group/root.svelte.d.ts +3 -4
- package/dist/tooltip/arrow-tip.svelte +2 -3
- package/dist/tooltip/arrow-tip.svelte.d.ts +2 -3
- package/dist/tooltip/arrow.svelte +2 -3
- package/dist/tooltip/arrow.svelte.d.ts +2 -3
- package/dist/tooltip/content.svelte +2 -3
- package/dist/tooltip/content.svelte.d.ts +2 -3
- package/dist/tooltip/index.d.ts +2 -2
- package/dist/tooltip/index.js +2 -2
- package/dist/tooltip/positioner.svelte +2 -3
- package/dist/tooltip/positioner.svelte.d.ts +2 -3
- package/dist/tooltip/root.svelte +11 -5
- package/dist/tooltip/root.svelte.d.ts +2 -2
- package/dist/tooltip/trigger.svelte +2 -3
- package/dist/tooltip/trigger.svelte.d.ts +2 -3
- package/dist/types.d.ts +7 -4
- package/package.json +1 -1
- package/dist/editable/.gitkeep +0 -0
- package/dist/qr-code/.gitkeep +0 -0
- package/dist/rating-group/.gitkeep +0 -0
- package/dist/tags-input/.gitkeep +0 -0
- package/dist/timer/.gitkeep +0 -0
@@ -1,8 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface HoverCardPositionerProps extends
|
4
|
+
export interface HoverCardPositionerProps extends SvelteHtmlProps<'div'> {}
|
6
5
|
</script>
|
7
6
|
|
8
7
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface HoverCardPositionerProps extends Assign<SvelteHTMLElements['div'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface HoverCardPositionerProps extends SvelteHtmlProps<'div'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,23 +1,30 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {OptionalId} from '../types.js';
|
3
2
|
import type {Snippet} from 'svelte';
|
4
3
|
import type {
|
5
4
|
CreateHoverCardContextProps,
|
6
5
|
CreateHoverCardContextReturn,
|
7
6
|
} from './context.svelte.js';
|
8
7
|
|
9
|
-
export interface HoverCardProps
|
8
|
+
export interface HoverCardProps
|
9
|
+
extends Omit<CreateHoverCardContextProps, 'id'> {
|
10
|
+
id?: string | null;
|
10
11
|
children?: Snippet<[CreateHoverCardContextReturn]>;
|
11
12
|
}
|
12
13
|
</script>
|
13
14
|
|
14
15
|
<script lang="ts">
|
15
16
|
import {uuid} from '../utils.svelte.js';
|
16
|
-
import {
|
17
|
+
import {
|
18
|
+
createHoverCardContext,
|
19
|
+
setHoverCardContext,
|
20
|
+
} from './context.svelte.js';
|
17
21
|
|
18
|
-
let {id
|
22
|
+
let {id, children, ...props}: HoverCardProps = $props();
|
19
23
|
|
20
|
-
let context = createHoverCardContext({
|
24
|
+
let context = createHoverCardContext({
|
25
|
+
id: id ?? uuid(),
|
26
|
+
...props,
|
27
|
+
});
|
21
28
|
|
22
29
|
setHoverCardContext(context);
|
23
30
|
</script>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { OptionalId } from '../types.js';
|
2
1
|
import type { Snippet } from 'svelte';
|
3
2
|
import type { CreateHoverCardContextProps, CreateHoverCardContextReturn } from './context.svelte.js';
|
4
|
-
export interface HoverCardProps extends
|
3
|
+
export interface HoverCardProps extends Omit<CreateHoverCardContextProps, 'id'> {
|
4
|
+
id?: string | null;
|
5
5
|
children?: Snippet<[CreateHoverCardContextReturn]>;
|
6
6
|
}
|
7
7
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface HoverCardTriggerProps extends
|
4
|
+
export interface HoverCardTriggerProps extends SvelteHtmlProps<'a'> {}
|
6
5
|
</script>
|
7
6
|
|
8
7
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface HoverCardTriggerProps extends Assign<SvelteHTMLElements['a'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface HoverCardTriggerProps extends SvelteHtmlProps<'a'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
package/dist/index.d.ts
CHANGED
@@ -14,6 +14,8 @@ export * as Combobox from './combobox/index.js';
|
|
14
14
|
export type { ComboboxClearTriggerProps, ComboboxContentProps, ComboboxControlProps, ComboboxInputProps, ComboboxItemGroupLabelProps, ComboboxItemGroupProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxItemTextProps, ComboboxLabelProps, ComboboxListProps, ComboboxPositionerProps, ComboboxProps, ComboboxTriggerProps, } from './combobox/index.js';
|
15
15
|
export * as Dialog from './dialog/index.js';
|
16
16
|
export type { DialogBackdropProps, DialogCloseTriggerProps, DialogContentProps, DialogDescriptionProps, DialogPositionerProps, DialogProps, DialogTitleProps, DialogTriggerProps, } from './dialog/index.js';
|
17
|
+
export * as Editable from './editable/index.js';
|
18
|
+
export type { EditableAreaProps, EditableCancelTriggerProps, EditableControlProps, EditableEditTriggerProps, EditableInputProps, EditableLabelProps, EditablePreviewProps, EditableProps, EditableSubmitTriggerProps, } from './editable/index.js';
|
17
19
|
export * as HoverCard from './hover-card/index.js';
|
18
20
|
export type { HoverCardArrowProps, HoverCardArrowTipProps, HoverCardContentProps, HoverCardPositionerProps, HoverCardProps, HoverCardTriggerProps, } from './hover-card/index.js';
|
19
21
|
export * as NumberInput from './number-input/index.js';
|
@@ -26,8 +28,12 @@ export * as Popover from './popover/index.js';
|
|
26
28
|
export type { PopoverArrowProps, PopoverArrowTipProps, PopoverCloseTriggerProps, PopoverContentProps, PopoverDescriptionProps, PopoverPositionerProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps, } from './popover/index.js';
|
27
29
|
export * as Progress from './progress/index.js';
|
28
30
|
export type { ProgressCircleProps, ProgressCircleRangeProps, ProgressCircleTrackProps, ProgressLabelProps, ProgressProps, ProgressRangeProps, ProgressTrackProps, ProgressValueTextProps, } from './progress/index.js';
|
31
|
+
export * as QRCode from './qr-code/index.js';
|
32
|
+
export type { QRCodeFrameProps, QRCodeOverlayProps, QRCodePatternProps, QRCodeProps, } from './qr-code/index.js';
|
29
33
|
export * as RadioGroup from './radio-group/index.js';
|
30
34
|
export type { RadioGroupIndicatorProps, RadioGroupItemControlProps, RadioGroupItemHiddenInputProps, RadioGroupItemProps, RadioGroupItemTextProps, RadioGroupLabelProps, RadioGroupProps, } from './radio-group/index.js';
|
35
|
+
export * as RatingGroup from './rating-group/index.js';
|
36
|
+
export type { RatingGroupControlProps, RatingGroupHiddenInputProps, RatingGroupItemProps, RatingGroupLabelProps, RatingGroupProps, } from './rating-group/index.js';
|
31
37
|
export * as Select from './select/index.js';
|
32
38
|
export type { SelectClearTriggerProps, SelectContentProps, SelectControlProps, SelectHiddenSelectProps, SelectIndicatorProps, SelectItemGroupLabelProps, SelectItemGroupProps, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectLabelProps, SelectListProps, SelectPositionerProps, SelectProps, SelectTriggerProps, SelectValueTextProps, } from './select/index.js';
|
33
39
|
export * as Slider from './slider/index.js';
|
@@ -38,6 +44,10 @@ export * as Switch from './switch/index.js';
|
|
38
44
|
export type { SwitchControlProps, SwitchHiddenInputProps, SwitchLabelProps, SwitchProps, SwitchThumbProps, } from './switch/index.js';
|
39
45
|
export * as Tabs from './tabs/index.js';
|
40
46
|
export type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, } from './tabs/index.js';
|
47
|
+
export * as TagsInput from './tags-input/index.js';
|
48
|
+
export type { TagsInputClearTriggerProps, TagsInputControlProps, TagsInputHiddenInputProps, TagsInputInputProps, TagsInputItemDeleteTriggerProps, TagsInputItemInputProps, TagsInputItemPreviewProps, TagsInputItemProps, TagsInputItemTextProps, TagsInputLabelProps, TagsInputProps, } from './tags-input/index.js';
|
49
|
+
export * as Timer from './timer/index.js';
|
50
|
+
export type { TimerActionTriggerProps, TimerItemLabelProps, TimerItemProps, TimerItemValueProps, TimerProps, TimerSeparatorProps, } from './timer/index.js';
|
41
51
|
export * as ToggleGroup from './toggle-group/index.js';
|
42
52
|
export type { ToggleGroupItemProps, ToggleGroupProps, } from './toggle-group/index.js';
|
43
53
|
export * as Tooltip from './tooltip/index.js';
|
@@ -51,10 +61,12 @@ export { anatomy as carouselAnatomy } from '@zag-js/carousel';
|
|
51
61
|
export { anatomy as checkboxAnatomy } from '@zag-js/checkbox';
|
52
62
|
export { anatomy as clipboardAnatomy } from '@zag-js/clipboard';
|
53
63
|
export { anatomy as collapsibleAnatomy } from '@zag-js/collapsible';
|
64
|
+
export { anatomy as colorPickerAnatomy } from '@zag-js/color-picker';
|
54
65
|
export { anatomy as comboboxAnatomy } from '@zag-js/combobox';
|
55
66
|
export { anatomy as datePickerAnatomy } from '@zag-js/date-picker';
|
56
67
|
export { anatomy as dialogAnatomy } from '@zag-js/dialog';
|
57
68
|
export { anatomy as editableAnatomy } from '@zag-js/editable';
|
69
|
+
export { anatomy as fileUploadAnatomy } from '@zag-js/file-upload';
|
58
70
|
export { anatomy as hoverCardAnatomy } from '@zag-js/hover-card';
|
59
71
|
export { anatomy as menuAnatomy } from '@zag-js/menu';
|
60
72
|
export { anatomy as numberInputAnatomy } from '@zag-js/number-input';
|
@@ -62,14 +74,17 @@ export { anatomy as paginationAnatomy } from '@zag-js/pagination';
|
|
62
74
|
export { anatomy as pinInputAnatomy } from '@zag-js/pin-input';
|
63
75
|
export { anatomy as popoverAnatomy } from '@zag-js/popover';
|
64
76
|
export { anatomy as progressAnatomy } from '@zag-js/progress';
|
77
|
+
export { anatomy as qrCodeAnatomy } from '@zag-js/qr-code';
|
65
78
|
export { anatomy as radioGroupAnatomy } from '@zag-js/radio-group';
|
66
79
|
export { anatomy as ratingGroupAnatomy } from '@zag-js/rating-group';
|
67
80
|
export { anatomy as selectAnatomy } from '@zag-js/select';
|
81
|
+
export { anatomy as signaturePadAnatomy } from '@zag-js/signature-pad';
|
68
82
|
export { anatomy as sliderAnatomy } from '@zag-js/slider';
|
69
83
|
export { anatomy as stepsAnatomy } from '@zag-js/steps';
|
70
84
|
export { anatomy as switchAnatomy } from '@zag-js/switch';
|
71
85
|
export { anatomy as tabsAnatomy } from '@zag-js/tabs';
|
72
86
|
export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
|
87
|
+
export { anatomy as timerAnatomy } from '@zag-js/timer';
|
73
88
|
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
74
89
|
export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
|
75
90
|
export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
|
package/dist/index.js
CHANGED
@@ -6,18 +6,23 @@ export * as Clipboard from './clipboard/index.js';
|
|
6
6
|
export * as Collapsible from './collapsible/index.js';
|
7
7
|
export * as Combobox from './combobox/index.js';
|
8
8
|
export * as Dialog from './dialog/index.js';
|
9
|
+
export * as Editable from './editable/index.js';
|
9
10
|
export * as HoverCard from './hover-card/index.js';
|
10
11
|
export * as NumberInput from './number-input/index.js';
|
11
12
|
export * as Pagination from './pagination/index.js';
|
12
13
|
export * as PinInput from './pin-input/index.js';
|
13
14
|
export * as Popover from './popover/index.js';
|
14
15
|
export * as Progress from './progress/index.js';
|
16
|
+
export * as QRCode from './qr-code/index.js';
|
15
17
|
export * as RadioGroup from './radio-group/index.js';
|
18
|
+
export * as RatingGroup from './rating-group/index.js';
|
16
19
|
export * as Select from './select/index.js';
|
17
20
|
export * as Slider from './slider/index.js';
|
18
21
|
export * as Steps from './steps/index.js';
|
19
22
|
export * as Switch from './switch/index.js';
|
20
23
|
export * as Tabs from './tabs/index.js';
|
24
|
+
export * as TagsInput from './tags-input/index.js';
|
25
|
+
export * as Timer from './timer/index.js';
|
21
26
|
export * as ToggleGroup from './toggle-group/index.js';
|
22
27
|
export * as Tooltip from './tooltip/index.js';
|
23
28
|
export * from './portal/index.js';
|
@@ -29,10 +34,12 @@ export { anatomy as carouselAnatomy } from '@zag-js/carousel';
|
|
29
34
|
export { anatomy as checkboxAnatomy } from '@zag-js/checkbox';
|
30
35
|
export { anatomy as clipboardAnatomy } from '@zag-js/clipboard';
|
31
36
|
export { anatomy as collapsibleAnatomy } from '@zag-js/collapsible';
|
37
|
+
export { anatomy as colorPickerAnatomy } from '@zag-js/color-picker';
|
32
38
|
export { anatomy as comboboxAnatomy } from '@zag-js/combobox';
|
33
39
|
export { anatomy as datePickerAnatomy } from '@zag-js/date-picker';
|
34
40
|
export { anatomy as dialogAnatomy } from '@zag-js/dialog';
|
35
41
|
export { anatomy as editableAnatomy } from '@zag-js/editable';
|
42
|
+
export { anatomy as fileUploadAnatomy } from '@zag-js/file-upload';
|
36
43
|
export { anatomy as hoverCardAnatomy } from '@zag-js/hover-card';
|
37
44
|
export { anatomy as menuAnatomy } from '@zag-js/menu';
|
38
45
|
export { anatomy as numberInputAnatomy } from '@zag-js/number-input';
|
@@ -40,14 +47,17 @@ export { anatomy as paginationAnatomy } from '@zag-js/pagination';
|
|
40
47
|
export { anatomy as pinInputAnatomy } from '@zag-js/pin-input';
|
41
48
|
export { anatomy as popoverAnatomy } from '@zag-js/popover';
|
42
49
|
export { anatomy as progressAnatomy } from '@zag-js/progress';
|
50
|
+
export { anatomy as qrCodeAnatomy } from '@zag-js/qr-code';
|
43
51
|
export { anatomy as radioGroupAnatomy } from '@zag-js/radio-group';
|
44
52
|
export { anatomy as ratingGroupAnatomy } from '@zag-js/rating-group';
|
45
53
|
export { anatomy as selectAnatomy } from '@zag-js/select';
|
54
|
+
export { anatomy as signaturePadAnatomy } from '@zag-js/signature-pad';
|
46
55
|
export { anatomy as sliderAnatomy } from '@zag-js/slider';
|
47
56
|
export { anatomy as stepsAnatomy } from '@zag-js/steps';
|
48
57
|
export { anatomy as switchAnatomy } from '@zag-js/switch';
|
49
58
|
export { anatomy as tabsAnatomy } from '@zag-js/tabs';
|
50
59
|
export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
|
60
|
+
export { anatomy as timerAnatomy } from '@zag-js/timer';
|
51
61
|
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
52
62
|
export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
|
53
63
|
export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface NumberInputControlTriggerProps
|
4
|
+
export interface NumberInputControlTriggerProps
|
5
|
+
extends SvelteHtmlProps<'div'> {}
|
6
6
|
</script>
|
7
7
|
|
8
8
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface NumberInputControlTriggerProps extends Assign<SvelteHTMLElements['div'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface NumberInputControlTriggerProps extends SvelteHtmlProps<'div'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,9 +1,8 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
4
|
export interface NumberInputDecrementTriggerProps
|
6
|
-
extends
|
5
|
+
extends SvelteHtmlProps<'button'> {}
|
7
6
|
</script>
|
8
7
|
|
9
8
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface NumberInputDecrementTriggerProps extends Assign<SvelteHTMLElements['button'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface NumberInputDecrementTriggerProps extends SvelteHtmlProps<'button'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,9 +1,8 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
4
|
export interface NumberInputIncrementTriggerProps
|
6
|
-
extends
|
5
|
+
extends SvelteHtmlProps<'button'> {}
|
7
6
|
</script>
|
8
7
|
|
9
8
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface NumberInputIncrementTriggerProps extends Assign<SvelteHTMLElements['button'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface NumberInputIncrementTriggerProps extends SvelteHtmlProps<'button'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export { default as Control, type NumberInputControlTriggerProps } from './control.svelte';
|
1
|
+
export { default as Control, type NumberInputControlTriggerProps, } from './control.svelte';
|
2
2
|
export { default as DecrementTrigger, type NumberInputDecrementTriggerProps, } from './decrement-trigger.svelte';
|
3
3
|
export { default as IncrementTrigger, type NumberInputIncrementTriggerProps, } from './increment-trigger.svelte';
|
4
4
|
export { default as Input, type NumberInputInputProps } from './input.svelte';
|
5
5
|
export { default as Label, type NumberInputLabelProps } from './label.svelte';
|
6
6
|
export { default as Root, type NumberInputProps } from './root.svelte';
|
7
|
-
export { default as Scrubber, type NumberInputScrubberProps } from './scrubber.svelte';
|
7
|
+
export { default as Scrubber, type NumberInputScrubberProps, } from './scrubber.svelte';
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export { default as Control } from './control.svelte';
|
1
|
+
export { default as Control, } from './control.svelte';
|
2
2
|
export { default as DecrementTrigger, } from './decrement-trigger.svelte';
|
3
3
|
export { default as IncrementTrigger, } from './increment-trigger.svelte';
|
4
4
|
export { default as Input } from './input.svelte';
|
5
5
|
export { default as Label } from './label.svelte';
|
6
6
|
export { default as Root } from './root.svelte';
|
7
|
-
export { default as Scrubber } from './scrubber.svelte';
|
7
|
+
export { default as Scrubber, } from './scrubber.svelte';
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface NumberInputInputProps extends
|
4
|
+
export interface NumberInputInputProps extends SvelteHtmlProps<'input'> {}
|
6
5
|
</script>
|
7
6
|
|
8
7
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface NumberInputInputProps extends Assign<SvelteHTMLElements['input'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface NumberInputInputProps extends SvelteHtmlProps<'input'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface NumberInputLabelProps extends
|
4
|
+
export interface NumberInputLabelProps extends SvelteHtmlProps<'label'> {}
|
6
5
|
</script>
|
7
6
|
|
8
7
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface NumberInputLabelProps extends Assign<SvelteHTMLElements['label'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface NumberInputLabelProps extends SvelteHtmlProps<'label'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {Assign,
|
2
|
+
import type {Assign, SvelteHtmlProps} from '../types.js';
|
3
3
|
import type {Snippet} from 'svelte';
|
4
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
5
4
|
import type {
|
6
5
|
CreateNumberInputContextProps,
|
7
6
|
CreateNumberInputContextReturn,
|
@@ -9,20 +8,23 @@
|
|
9
8
|
|
10
9
|
export interface NumberInputProps
|
11
10
|
extends Assign<
|
12
|
-
|
13
|
-
|
11
|
+
Omit<SvelteHtmlProps<'div'>, 'children'>,
|
12
|
+
Omit<CreateNumberInputContextProps, 'id'>
|
14
13
|
> {
|
15
|
-
children?: Snippet<[CreateNumberInputContextReturn]>;
|
14
|
+
children?: Snippet<[context: CreateNumberInputContextReturn]>;
|
16
15
|
}
|
17
16
|
</script>
|
18
17
|
|
19
18
|
<script lang="ts">
|
20
19
|
import {uuid} from '../utils.svelte.js';
|
21
20
|
import {mergeProps} from '@zag-js/svelte';
|
22
|
-
import {
|
21
|
+
import {
|
22
|
+
createNumberInputContext,
|
23
|
+
setNumberInputContext,
|
24
|
+
} from './context.svelte.js';
|
23
25
|
|
24
26
|
let {
|
25
|
-
id
|
27
|
+
id,
|
26
28
|
ids,
|
27
29
|
dir,
|
28
30
|
max,
|
@@ -54,7 +56,7 @@
|
|
54
56
|
}: NumberInputProps = $props();
|
55
57
|
|
56
58
|
let context = createNumberInputContext({
|
57
|
-
id,
|
59
|
+
id: id ?? uuid(),
|
58
60
|
ids,
|
59
61
|
dir,
|
60
62
|
max,
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import type { Assign,
|
1
|
+
import type { Assign, SvelteHtmlProps } from '../types.js';
|
2
2
|
import type { Snippet } from 'svelte';
|
3
|
-
import type { SvelteHTMLElements } from 'svelte/elements';
|
4
3
|
import type { CreateNumberInputContextProps, CreateNumberInputContextReturn } from './context.svelte.js';
|
5
|
-
export interface NumberInputProps extends Assign<
|
6
|
-
children?: Snippet<[CreateNumberInputContextReturn]>;
|
4
|
+
export interface NumberInputProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, Omit<CreateNumberInputContextProps, 'id'>> {
|
5
|
+
children?: Snippet<[context: CreateNumberInputContextReturn]>;
|
7
6
|
}
|
8
7
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
9
8
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface NumberInputScrubberProps extends
|
4
|
+
export interface NumberInputScrubberProps extends SvelteHtmlProps<'div'> {}
|
6
5
|
</script>
|
7
6
|
|
8
7
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface NumberInputScrubberProps extends Assign<SvelteHTMLElements['div'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface NumberInputScrubberProps extends SvelteHtmlProps<'div'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,10 +1,9 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {Assign} from '../types.js';
|
2
|
+
import type {Assign, SvelteHtmlProps} from '../types.js';
|
3
3
|
import type {EllipsisProps} from '@zag-js/pagination';
|
4
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
5
4
|
|
6
5
|
export interface PaginationEllipsisProps
|
7
|
-
extends Assign<
|
6
|
+
extends Assign<SvelteHtmlProps<'span'>, EllipsisProps> {}
|
8
7
|
</script>
|
9
8
|
|
10
9
|
<script lang="ts">
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import type { Assign } from '../types.js';
|
1
|
+
import type { Assign, SvelteHtmlProps } from '../types.js';
|
2
2
|
import type { EllipsisProps } from '@zag-js/pagination';
|
3
|
-
|
4
|
-
export interface PaginationEllipsisProps extends Assign<SvelteHTMLElements['span'], EllipsisProps> {
|
3
|
+
export interface PaginationEllipsisProps extends Assign<SvelteHtmlProps<'span'>, EllipsisProps> {
|
5
4
|
}
|
6
5
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
7
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { default as Ellipsis, type PaginationEllipsisProps } from './ellipsis.svelte';
|
1
|
+
export { default as Ellipsis, type PaginationEllipsisProps, } from './ellipsis.svelte';
|
2
2
|
export { default as Item, type PaginationItemProps } from './item.svelte';
|
3
|
-
export { default as NextTrigger, type PaginationNextTriggerProps } from './next-trigger.svelte';
|
4
|
-
export { default as PrevTrigger, type PaginationPrevTriggerProps } from './prev-trigger.svelte';
|
3
|
+
export { default as NextTrigger, type PaginationNextTriggerProps, } from './next-trigger.svelte';
|
4
|
+
export { default as PrevTrigger, type PaginationPrevTriggerProps, } from './prev-trigger.svelte';
|
5
5
|
export { default as Root, type PaginationProps } from './root.svelte';
|
package/dist/pagination/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export { default as Ellipsis } from './ellipsis.svelte';
|
1
|
+
export { default as Ellipsis, } from './ellipsis.svelte';
|
2
2
|
export { default as Item } from './item.svelte';
|
3
|
-
export { default as NextTrigger } from './next-trigger.svelte';
|
4
|
-
export { default as PrevTrigger } from './prev-trigger.svelte';
|
3
|
+
export { default as NextTrigger, } from './next-trigger.svelte';
|
4
|
+
export { default as PrevTrigger, } from './prev-trigger.svelte';
|
5
5
|
export { default as Root } from './root.svelte';
|
@@ -1,10 +1,9 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {Assign} from '../types.js';
|
2
|
+
import type {Assign, SvelteHtmlProps} from '../types.js';
|
3
3
|
import type {ItemProps} from '@zag-js/pagination';
|
4
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
5
4
|
|
6
5
|
export interface PaginationItemProps
|
7
|
-
extends Assign<
|
6
|
+
extends Assign<SvelteHtmlProps<'button'>, Omit<ItemProps, 'type'>> {}
|
8
7
|
</script>
|
9
8
|
|
10
9
|
<script lang="ts">
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import type { Assign } from '../types.js';
|
1
|
+
import type { Assign, SvelteHtmlProps } from '../types.js';
|
2
2
|
import type { ItemProps } from '@zag-js/pagination';
|
3
|
-
|
4
|
-
export interface PaginationItemProps extends Assign<SvelteHTMLElements['button'], Omit<ItemProps, 'type'>> {
|
3
|
+
export interface PaginationItemProps extends Assign<SvelteHtmlProps<'button'>, Omit<ItemProps, 'type'>> {
|
5
4
|
}
|
6
5
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
7
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface PaginationNextTriggerProps
|
4
|
+
export interface PaginationNextTriggerProps
|
5
|
+
extends SvelteHtmlProps<'button'> {}
|
6
6
|
</script>
|
7
7
|
|
8
8
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface PaginationNextTriggerProps extends Assign<SvelteHTMLElements['button'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface PaginationNextTriggerProps extends SvelteHtmlProps<'button'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
3
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
2
|
+
import type {SvelteHtmlProps} from '../types.js';
|
4
3
|
|
5
|
-
export interface PaginationPrevTriggerProps
|
4
|
+
export interface PaginationPrevTriggerProps
|
5
|
+
extends SvelteHtmlProps<'button'> {}
|
6
6
|
</script>
|
7
7
|
|
8
8
|
<script lang="ts">
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
|
3
|
-
export interface PaginationPrevTriggerProps extends Assign<SvelteHTMLElements['button'], {}> {
|
1
|
+
import type { SvelteHtmlProps } from '../types.js';
|
2
|
+
export interface PaginationPrevTriggerProps extends SvelteHtmlProps<'button'> {
|
4
3
|
}
|
5
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
6
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {Assign,
|
2
|
+
import type {Assign, SvelteHtmlProps} from '../types.js';
|
3
3
|
import type {Snippet} from 'svelte';
|
4
|
-
import type {SvelteHTMLElements} from 'svelte/elements';
|
5
4
|
import type {
|
6
5
|
CreatePaginationContextProps,
|
7
6
|
CreatePaginationContextReturn,
|
@@ -9,20 +8,23 @@
|
|
9
8
|
|
10
9
|
export interface PaginationProps
|
11
10
|
extends Assign<
|
12
|
-
|
13
|
-
|
11
|
+
Omit<SvelteHtmlProps<'div'>, 'children'>,
|
12
|
+
Omit<CreatePaginationContextProps, 'id'>
|
14
13
|
> {
|
15
|
-
children?: Snippet<[CreatePaginationContextReturn]>;
|
14
|
+
children?: Snippet<[context: CreatePaginationContextReturn]>;
|
16
15
|
}
|
17
16
|
</script>
|
18
17
|
|
19
18
|
<script lang="ts">
|
20
19
|
import {uuid} from '../utils.svelte.js';
|
21
20
|
import {mergeProps} from '@zag-js/svelte';
|
22
|
-
import {
|
21
|
+
import {
|
22
|
+
createPaginationContext,
|
23
|
+
setPaginationContext,
|
24
|
+
} from './context.svelte.js';
|
23
25
|
|
24
26
|
let {
|
25
|
-
id
|
27
|
+
id,
|
26
28
|
ids,
|
27
29
|
dir,
|
28
30
|
type,
|
@@ -39,7 +41,7 @@
|
|
39
41
|
}: PaginationProps = $props();
|
40
42
|
|
41
43
|
let context = createPaginationContext({
|
42
|
-
id,
|
44
|
+
id: id ?? uuid(),
|
43
45
|
ids,
|
44
46
|
dir,
|
45
47
|
type,
|