ui-ingredients 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/dist/accordion/accordion.d.ts +5 -0
- package/dist/accordion/accordion.js +5 -0
- package/dist/accordion/index.d.ts +7 -5
- package/dist/accordion/index.js +2 -5
- package/dist/accordion/item-content.svelte +3 -2
- package/dist/accordion/item-content.svelte.d.ts +2 -2
- package/dist/accordion/item-indicator.svelte +3 -2
- package/dist/accordion/item-indicator.svelte.d.ts +2 -2
- package/dist/accordion/item-trigger.svelte +2 -2
- package/dist/accordion/item-trigger.svelte.d.ts +2 -2
- package/dist/accordion/item.svelte +2 -2
- package/dist/accordion/item.svelte.d.ts +2 -2
- package/dist/accordion/root.svelte +2 -2
- package/dist/accordion/root.svelte.d.ts +2 -2
- package/dist/avatar/avatar.d.ts +3 -0
- package/dist/avatar/avatar.js +3 -0
- package/dist/avatar/fallback.svelte +2 -2
- package/dist/avatar/fallback.svelte.d.ts +2 -2
- package/dist/avatar/image.svelte +2 -2
- package/dist/avatar/image.svelte.d.ts +2 -2
- package/dist/avatar/index.d.ts +5 -3
- package/dist/avatar/index.js +2 -3
- package/dist/avatar/root.svelte +2 -2
- package/dist/avatar/root.svelte.d.ts +2 -2
- package/dist/carousel/carousel.d.ts +8 -0
- package/dist/carousel/carousel.js +8 -0
- package/dist/carousel/index.d.ts +10 -8
- package/dist/carousel/index.js +2 -8
- package/dist/carousel/indicator-group.svelte +3 -2
- package/dist/carousel/indicator-group.svelte.d.ts +2 -2
- package/dist/carousel/indicator.svelte +2 -2
- package/dist/carousel/indicator.svelte.d.ts +2 -2
- package/dist/carousel/item-group.svelte +2 -2
- package/dist/carousel/item-group.svelte.d.ts +2 -2
- package/dist/carousel/item.svelte +2 -2
- package/dist/carousel/item.svelte.d.ts +2 -2
- package/dist/carousel/next-trigger.svelte +3 -2
- package/dist/carousel/next-trigger.svelte.d.ts +2 -2
- package/dist/carousel/prev-trigger.svelte +3 -2
- package/dist/carousel/prev-trigger.svelte.d.ts +2 -2
- package/dist/carousel/root.svelte +2 -2
- package/dist/carousel/root.svelte.d.ts +2 -2
- package/dist/carousel/viewport.svelte +2 -2
- package/dist/carousel/viewport.svelte.d.ts +2 -2
- package/dist/checkbox/checkbox.d.ts +5 -0
- package/dist/checkbox/checkbox.js +5 -0
- package/dist/checkbox/control.svelte +2 -2
- package/dist/checkbox/control.svelte.d.ts +2 -2
- package/dist/checkbox/hidden-input.svelte +3 -2
- package/dist/checkbox/hidden-input.svelte.d.ts +2 -2
- package/dist/checkbox/index.d.ts +7 -5
- package/dist/checkbox/index.js +2 -5
- package/dist/checkbox/indicator.svelte +2 -2
- package/dist/checkbox/indicator.svelte.d.ts +2 -2
- package/dist/checkbox/label.svelte +2 -2
- package/dist/checkbox/label.svelte.d.ts +2 -2
- package/dist/checkbox/root.svelte +2 -2
- package/dist/checkbox/root.svelte.d.ts +2 -2
- package/dist/clipboard/clipboard.d.ts +6 -0
- package/dist/clipboard/clipboard.js +6 -0
- package/dist/clipboard/control.svelte +2 -2
- package/dist/clipboard/control.svelte.d.ts +2 -2
- package/dist/clipboard/index.d.ts +8 -6
- package/dist/clipboard/index.js +2 -6
- package/dist/clipboard/indicator.svelte +2 -2
- package/dist/clipboard/indicator.svelte.d.ts +2 -2
- package/dist/clipboard/input.svelte +2 -2
- package/dist/clipboard/input.svelte.d.ts +2 -2
- package/dist/clipboard/label.svelte +2 -2
- package/dist/clipboard/label.svelte.d.ts +2 -2
- package/dist/clipboard/root.svelte +2 -2
- package/dist/clipboard/root.svelte.d.ts +2 -2
- package/dist/clipboard/trigger.svelte +3 -2
- package/dist/clipboard/trigger.svelte.d.ts +2 -2
- package/dist/collapsible/collapsible.d.ts +3 -0
- package/dist/collapsible/collapsible.js +3 -0
- package/dist/collapsible/content.svelte +2 -2
- package/dist/collapsible/content.svelte.d.ts +2 -2
- package/dist/collapsible/index.d.ts +5 -3
- package/dist/collapsible/index.js +2 -3
- package/dist/collapsible/root.svelte +2 -2
- package/dist/collapsible/root.svelte.d.ts +2 -2
- package/dist/collapsible/trigger.svelte +3 -2
- package/dist/collapsible/trigger.svelte.d.ts +2 -2
- package/dist/combobox/clear-trigger.svelte +2 -2
- package/dist/combobox/clear-trigger.svelte.d.ts +2 -2
- package/dist/combobox/combobox.d.ts +14 -0
- package/dist/combobox/combobox.js +14 -0
- package/dist/combobox/content.svelte +2 -2
- package/dist/combobox/content.svelte.d.ts +2 -2
- package/dist/combobox/control.svelte +2 -2
- package/dist/combobox/control.svelte.d.ts +2 -2
- package/dist/combobox/index.d.ts +16 -14
- package/dist/combobox/index.js +2 -14
- package/dist/combobox/input.svelte +2 -2
- package/dist/combobox/input.svelte.d.ts +2 -2
- package/dist/combobox/item-group-label.svelte +2 -2
- package/dist/combobox/item-group-label.svelte.d.ts +2 -2
- package/dist/combobox/item-group.svelte +2 -2
- package/dist/combobox/item-group.svelte.d.ts +2 -2
- package/dist/combobox/item-indicator.svelte +3 -2
- package/dist/combobox/item-indicator.svelte.d.ts +2 -2
- package/dist/combobox/item-text.svelte +2 -2
- package/dist/combobox/item-text.svelte.d.ts +2 -2
- package/dist/combobox/item.svelte +2 -2
- package/dist/combobox/item.svelte.d.ts +2 -2
- package/dist/combobox/label.svelte +2 -2
- package/dist/combobox/label.svelte.d.ts +2 -2
- package/dist/combobox/list.svelte +2 -2
- package/dist/combobox/list.svelte.d.ts +2 -2
- package/dist/combobox/positioner.svelte +2 -2
- package/dist/combobox/positioner.svelte.d.ts +2 -2
- package/dist/combobox/root.svelte +2 -2
- package/dist/combobox/root.svelte.d.ts +2 -2
- package/dist/combobox/trigger.svelte +2 -2
- package/dist/combobox/trigger.svelte.d.ts +2 -2
- package/dist/dialog/backdrop.svelte +2 -2
- package/dist/dialog/backdrop.svelte.d.ts +2 -2
- package/dist/dialog/close-trigger.svelte +3 -2
- package/dist/dialog/close-trigger.svelte.d.ts +2 -2
- package/dist/dialog/content.svelte +2 -2
- package/dist/dialog/content.svelte.d.ts +2 -2
- package/dist/dialog/description.svelte +2 -2
- package/dist/dialog/description.svelte.d.ts +2 -2
- package/dist/dialog/dialog.d.ts +8 -0
- package/dist/dialog/dialog.js +8 -0
- package/dist/dialog/index.d.ts +10 -8
- package/dist/dialog/index.js +2 -8
- package/dist/dialog/positioner.svelte +2 -2
- package/dist/dialog/positioner.svelte.d.ts +2 -2
- package/dist/dialog/title.svelte +2 -2
- package/dist/dialog/title.svelte.d.ts +2 -2
- package/dist/dialog/trigger.svelte +2 -2
- package/dist/dialog/trigger.svelte.d.ts +2 -2
- package/dist/editable/area.svelte +2 -2
- package/dist/editable/area.svelte.d.ts +2 -2
- package/dist/editable/cancel-trigger.svelte +2 -2
- package/dist/editable/cancel-trigger.svelte.d.ts +2 -2
- package/dist/editable/control.svelte +2 -2
- package/dist/editable/control.svelte.d.ts +2 -2
- package/dist/editable/edit-trigger.svelte +3 -2
- package/dist/editable/edit-trigger.svelte.d.ts +2 -2
- package/dist/editable/editable.d.ts +9 -0
- package/dist/editable/editable.js +9 -0
- package/dist/editable/index.d.ts +11 -9
- package/dist/editable/index.js +2 -9
- package/dist/editable/input.svelte +2 -2
- package/dist/editable/input.svelte.d.ts +2 -2
- package/dist/editable/label.svelte +2 -2
- package/dist/editable/label.svelte.d.ts +2 -2
- package/dist/editable/preview.svelte +2 -2
- package/dist/editable/preview.svelte.d.ts +2 -2
- package/dist/editable/submit-trigger.svelte +2 -2
- package/dist/editable/submit-trigger.svelte.d.ts +2 -2
- package/dist/hover-card/arrow-tip.svelte +2 -2
- package/dist/hover-card/arrow-tip.svelte.d.ts +2 -2
- package/dist/hover-card/arrow.svelte +2 -2
- package/dist/hover-card/arrow.svelte.d.ts +2 -2
- package/dist/hover-card/content.svelte +2 -2
- package/dist/hover-card/content.svelte.d.ts +2 -2
- package/dist/hover-card/hover-card.d.ts +6 -0
- package/dist/hover-card/hover-card.js +6 -0
- package/dist/hover-card/index.d.ts +8 -6
- package/dist/hover-card/index.js +2 -6
- package/dist/hover-card/positioner.svelte +3 -2
- package/dist/hover-card/positioner.svelte.d.ts +2 -2
- package/dist/hover-card/trigger.svelte +2 -2
- package/dist/hover-card/trigger.svelte.d.ts +2 -2
- package/dist/index.d.ts +29 -89
- package/dist/index.js +28 -61
- package/dist/number-input/control.svelte +2 -2
- package/dist/number-input/control.svelte.d.ts +2 -2
- package/dist/number-input/decrement-trigger.svelte +2 -2
- package/dist/number-input/decrement-trigger.svelte.d.ts +2 -2
- package/dist/number-input/increment-trigger.svelte +2 -2
- package/dist/number-input/increment-trigger.svelte.d.ts +2 -2
- package/dist/number-input/index.d.ts +9 -7
- package/dist/number-input/index.js +2 -7
- package/dist/number-input/input.svelte +2 -2
- package/dist/number-input/input.svelte.d.ts +2 -2
- package/dist/number-input/label.svelte +2 -2
- package/dist/number-input/label.svelte.d.ts +2 -2
- package/dist/number-input/number-input.d.ts +7 -0
- package/dist/number-input/number-input.js +7 -0
- package/dist/number-input/root.svelte +2 -2
- package/dist/number-input/root.svelte.d.ts +2 -2
- package/dist/number-input/scrubber.svelte +3 -2
- package/dist/number-input/scrubber.svelte.d.ts +2 -2
- package/dist/pagination/ellipsis.svelte +2 -2
- package/dist/pagination/ellipsis.svelte.d.ts +2 -2
- package/dist/pagination/index.d.ts +7 -5
- package/dist/pagination/index.js +2 -5
- package/dist/pagination/item.svelte +2 -2
- package/dist/pagination/item.svelte.d.ts +2 -2
- package/dist/pagination/next-trigger.svelte +2 -2
- package/dist/pagination/next-trigger.svelte.d.ts +2 -2
- package/dist/pagination/pagination.d.ts +5 -0
- package/dist/pagination/pagination.js +5 -0
- package/dist/pagination/prev-trigger.svelte +2 -2
- package/dist/pagination/prev-trigger.svelte.d.ts +2 -2
- package/dist/pagination/root.svelte +2 -2
- package/dist/pagination/root.svelte.d.ts +2 -2
- package/dist/pin-input/clear-trigger.svelte +2 -2
- package/dist/pin-input/clear-trigger.svelte.d.ts +2 -2
- package/dist/pin-input/hidden-input.svelte +3 -2
- package/dist/pin-input/hidden-input.svelte.d.ts +2 -2
- package/dist/pin-input/index.d.ts +7 -5
- package/dist/pin-input/index.js +2 -5
- package/dist/pin-input/input.svelte +2 -2
- package/dist/pin-input/input.svelte.d.ts +2 -2
- package/dist/pin-input/label.svelte +2 -2
- package/dist/pin-input/label.svelte.d.ts +2 -2
- package/dist/pin-input/pin-input.d.ts +5 -0
- package/dist/pin-input/pin-input.js +5 -0
- package/dist/pin-input/root.svelte +2 -2
- package/dist/pin-input/root.svelte.d.ts +2 -2
- package/dist/popover/arrow-tip.svelte +2 -2
- package/dist/popover/arrow-tip.svelte.d.ts +2 -2
- package/dist/popover/arrow.svelte +2 -2
- package/dist/popover/arrow.svelte.d.ts +2 -2
- package/dist/popover/close-trigger.svelte +3 -2
- package/dist/popover/close-trigger.svelte.d.ts +2 -2
- package/dist/popover/content.svelte +2 -2
- package/dist/popover/content.svelte.d.ts +2 -2
- package/dist/popover/description.svelte +2 -2
- package/dist/popover/description.svelte.d.ts +2 -2
- package/dist/popover/index.d.ts +11 -9
- package/dist/popover/index.js +2 -9
- package/dist/popover/popover.d.ts +9 -0
- package/dist/popover/popover.js +9 -0
- package/dist/popover/positioner.svelte +2 -2
- package/dist/popover/positioner.svelte.d.ts +2 -2
- package/dist/popover/title.svelte +2 -2
- package/dist/popover/title.svelte.d.ts +2 -2
- package/dist/popover/trigger.svelte +2 -2
- package/dist/popover/trigger.svelte.d.ts +2 -2
- package/dist/presence/root.svelte +2 -2
- package/dist/presence/root.svelte.d.ts +2 -2
- package/dist/progress/circle-range.svelte +3 -2
- package/dist/progress/circle-range.svelte.d.ts +2 -2
- package/dist/progress/circle-track.svelte +3 -2
- package/dist/progress/circle-track.svelte.d.ts +2 -2
- package/dist/progress/circle.svelte +2 -2
- package/dist/progress/circle.svelte.d.ts +2 -2
- package/dist/progress/index.d.ts +10 -8
- package/dist/progress/index.js +2 -8
- package/dist/progress/label.svelte +2 -2
- package/dist/progress/label.svelte.d.ts +2 -2
- package/dist/progress/progress.d.ts +8 -0
- package/dist/progress/progress.js +8 -0
- package/dist/progress/range.svelte +2 -2
- package/dist/progress/range.svelte.d.ts +2 -2
- package/dist/progress/root.svelte +2 -2
- package/dist/progress/root.svelte.d.ts +2 -2
- package/dist/progress/track.svelte +2 -2
- package/dist/progress/track.svelte.d.ts +2 -2
- package/dist/progress/value-text.svelte +2 -2
- package/dist/progress/value-text.svelte.d.ts +2 -2
- package/dist/qr-code/frame.svelte +2 -2
- package/dist/qr-code/frame.svelte.d.ts +2 -2
- package/dist/qr-code/index.d.ts +6 -4
- package/dist/qr-code/index.js +2 -4
- package/dist/qr-code/overlay.svelte +2 -2
- package/dist/qr-code/overlay.svelte.d.ts +2 -2
- package/dist/qr-code/pattern.svelte +2 -2
- package/dist/qr-code/pattern.svelte.d.ts +2 -2
- package/dist/qr-code/qr-code.d.ts +4 -0
- package/dist/qr-code/qr-code.js +4 -0
- package/dist/qr-code/root.svelte +2 -2
- package/dist/qr-code/root.svelte.d.ts +2 -2
- package/dist/radio-group/index.d.ts +9 -7
- package/dist/radio-group/index.js +2 -7
- package/dist/radio-group/indicator.svelte +3 -2
- package/dist/radio-group/indicator.svelte.d.ts +2 -2
- package/dist/radio-group/item-control.svelte +3 -2
- package/dist/radio-group/item-control.svelte.d.ts +2 -2
- package/dist/radio-group/item-hidden-input.svelte +2 -2
- package/dist/radio-group/item-hidden-input.svelte.d.ts +2 -2
- package/dist/radio-group/item-text.svelte +3 -2
- package/dist/radio-group/item-text.svelte.d.ts +2 -2
- package/dist/radio-group/item.svelte +2 -2
- package/dist/radio-group/item.svelte.d.ts +2 -2
- package/dist/radio-group/label.svelte +2 -2
- package/dist/radio-group/label.svelte.d.ts +2 -2
- package/dist/radio-group/radio-group.d.ts +7 -0
- package/dist/radio-group/radio-group.js +7 -0
- package/dist/radio-group/root.svelte +2 -2
- package/dist/radio-group/root.svelte.d.ts +2 -2
- package/dist/rating-group/control.svelte +2 -2
- package/dist/rating-group/control.svelte.d.ts +2 -2
- package/dist/rating-group/hidden-input.svelte +2 -2
- package/dist/rating-group/hidden-input.svelte.d.ts +2 -2
- package/dist/rating-group/index.d.ts +7 -5
- package/dist/rating-group/index.js +2 -5
- package/dist/rating-group/item.svelte +2 -2
- package/dist/rating-group/item.svelte.d.ts +2 -2
- package/dist/rating-group/label.svelte +2 -2
- package/dist/rating-group/label.svelte.d.ts +2 -2
- package/dist/rating-group/rating-group.d.ts +5 -0
- package/dist/rating-group/rating-group.js +5 -0
- package/dist/rating-group/root.svelte +2 -2
- package/dist/rating-group/root.svelte.d.ts +2 -2
- package/dist/segment-group/anatomy.js +2 -0
- package/dist/segment-group/index.d.ts +2 -1
- package/dist/segment-group/index.js +2 -1
- package/dist/select/clear-trigger.svelte +3 -2
- package/dist/select/clear-trigger.svelte.d.ts +2 -2
- package/dist/select/content.svelte +2 -2
- package/dist/select/content.svelte.d.ts +2 -2
- package/dist/select/control.svelte +2 -2
- package/dist/select/control.svelte.d.ts +2 -2
- package/dist/select/hidden-select.svelte +3 -2
- package/dist/select/hidden-select.svelte.d.ts +2 -2
- package/dist/select/index.d.ts +18 -16
- package/dist/select/index.js +2 -16
- package/dist/select/indicator.svelte +2 -2
- package/dist/select/indicator.svelte.d.ts +2 -2
- package/dist/select/item-group-label.svelte +3 -2
- package/dist/select/item-group-label.svelte.d.ts +2 -2
- package/dist/select/item-group.svelte +2 -2
- package/dist/select/item-group.svelte.d.ts +2 -2
- package/dist/select/item-indicator.svelte +3 -2
- package/dist/select/item-indicator.svelte.d.ts +2 -2
- package/dist/select/item-text.svelte +2 -2
- package/dist/select/item-text.svelte.d.ts +2 -2
- package/dist/select/item.svelte +2 -2
- package/dist/select/item.svelte.d.ts +2 -2
- package/dist/select/label.svelte +2 -2
- package/dist/select/label.svelte.d.ts +2 -2
- package/dist/select/list.svelte +2 -2
- package/dist/select/list.svelte.d.ts +2 -2
- package/dist/select/positioner.svelte +2 -2
- package/dist/select/positioner.svelte.d.ts +2 -2
- package/dist/select/root.svelte +2 -2
- package/dist/select/root.svelte.d.ts +2 -2
- package/dist/select/select.d.ts +16 -0
- package/dist/select/select.js +16 -0
- package/dist/select/trigger.svelte +2 -2
- package/dist/select/trigger.svelte.d.ts +2 -2
- package/dist/select/value-text.svelte +2 -2
- package/dist/select/value-text.svelte.d.ts +2 -2
- package/dist/slider/control.svelte +2 -2
- package/dist/slider/control.svelte.d.ts +2 -2
- package/dist/slider/hidden-input.svelte +3 -2
- package/dist/slider/hidden-input.svelte.d.ts +2 -2
- package/dist/slider/index.d.ts +12 -10
- package/dist/slider/index.js +2 -10
- package/dist/slider/label.svelte +2 -2
- package/dist/slider/label.svelte.d.ts +2 -2
- package/dist/slider/marker-group.svelte +2 -2
- package/dist/slider/marker-group.svelte.d.ts +2 -2
- package/dist/slider/marker.svelte +2 -2
- package/dist/slider/marker.svelte.d.ts +2 -2
- package/dist/slider/range.svelte +2 -2
- package/dist/slider/range.svelte.d.ts +2 -2
- package/dist/slider/root.svelte +2 -2
- package/dist/slider/root.svelte.d.ts +2 -2
- package/dist/slider/slider.d.ts +10 -0
- package/dist/slider/slider.js +10 -0
- package/dist/slider/thumb.svelte +2 -2
- package/dist/slider/thumb.svelte.d.ts +2 -2
- package/dist/slider/track.svelte +2 -2
- package/dist/slider/track.svelte.d.ts +2 -2
- package/dist/slider/value-text.svelte +2 -2
- package/dist/slider/value-text.svelte.d.ts +2 -2
- package/dist/steps/content.svelte +2 -2
- package/dist/steps/content.svelte.d.ts +2 -2
- package/dist/steps/index.d.ts +12 -10
- package/dist/steps/index.js +2 -10
- package/dist/steps/indicator.svelte +2 -2
- package/dist/steps/indicator.svelte.d.ts +2 -2
- package/dist/steps/item.svelte +2 -2
- package/dist/steps/item.svelte.d.ts +2 -2
- package/dist/steps/list.svelte +2 -2
- package/dist/steps/list.svelte.d.ts +2 -2
- package/dist/steps/next-trigger.svelte +3 -2
- package/dist/steps/next-trigger.svelte.d.ts +2 -2
- package/dist/steps/prev-trigger.svelte +3 -2
- package/dist/steps/prev-trigger.svelte.d.ts +2 -2
- package/dist/steps/progress.svelte +2 -2
- package/dist/steps/progress.svelte.d.ts +2 -2
- package/dist/steps/root.svelte +2 -2
- package/dist/steps/root.svelte.d.ts +2 -2
- package/dist/steps/separator.svelte +2 -2
- package/dist/steps/separator.svelte.d.ts +2 -2
- package/dist/steps/steps.d.ts +10 -0
- package/dist/steps/steps.js +10 -0
- package/dist/steps/trigger.svelte +2 -2
- package/dist/steps/trigger.svelte.d.ts +2 -2
- package/dist/switch/control.svelte +2 -2
- package/dist/switch/control.svelte.d.ts +2 -2
- package/dist/switch/hidden-input.svelte +3 -2
- package/dist/switch/hidden-input.svelte.d.ts +2 -2
- package/dist/switch/index.d.ts +7 -5
- package/dist/switch/index.js +2 -5
- package/dist/switch/label.svelte +2 -2
- package/dist/switch/label.svelte.d.ts +2 -2
- package/dist/switch/root.svelte +2 -2
- package/dist/switch/root.svelte.d.ts +2 -2
- package/dist/switch/switch.d.ts +5 -0
- package/dist/switch/switch.js +5 -0
- package/dist/switch/thumb.svelte +2 -2
- package/dist/switch/thumb.svelte.d.ts +2 -2
- package/dist/tabs/content.svelte +2 -2
- package/dist/tabs/content.svelte.d.ts +2 -2
- package/dist/tabs/index.d.ts +6 -4
- package/dist/tabs/index.js +2 -4
- package/dist/tabs/list.svelte +2 -2
- package/dist/tabs/list.svelte.d.ts +2 -2
- package/dist/tabs/root.svelte +2 -2
- package/dist/tabs/root.svelte.d.ts +2 -2
- package/dist/tabs/tabs.d.ts +4 -0
- package/dist/tabs/tabs.js +4 -0
- package/dist/tabs/trigger.svelte +2 -2
- package/dist/tabs/trigger.svelte.d.ts +2 -2
- package/dist/tags-input/clear-trigger.svelte +2 -2
- package/dist/tags-input/clear-trigger.svelte.d.ts +2 -2
- package/dist/tags-input/control.svelte +2 -2
- package/dist/tags-input/control.svelte.d.ts +2 -2
- package/dist/tags-input/hidden-input.svelte +3 -2
- package/dist/tags-input/hidden-input.svelte.d.ts +2 -2
- package/dist/tags-input/index.d.ts +13 -11
- package/dist/tags-input/index.js +2 -11
- package/dist/tags-input/input.svelte +2 -2
- package/dist/tags-input/input.svelte.d.ts +2 -2
- package/dist/tags-input/item-delete-trigger.svelte +2 -2
- package/dist/tags-input/item-delete-trigger.svelte.d.ts +2 -2
- package/dist/tags-input/item-input.svelte +3 -2
- package/dist/tags-input/item-input.svelte.d.ts +2 -2
- package/dist/tags-input/item-preview.svelte +3 -2
- package/dist/tags-input/item-preview.svelte.d.ts +2 -2
- package/dist/tags-input/item-text.svelte +2 -2
- package/dist/tags-input/item-text.svelte.d.ts +2 -2
- package/dist/tags-input/item.svelte +2 -2
- package/dist/tags-input/item.svelte.d.ts +2 -2
- package/dist/tags-input/label.svelte +2 -2
- package/dist/tags-input/label.svelte.d.ts +2 -2
- package/dist/tags-input/root.svelte +2 -2
- package/dist/tags-input/root.svelte.d.ts +2 -2
- package/dist/tags-input/tags-input.d.ts +11 -0
- package/dist/tags-input/tags-input.js +11 -0
- package/dist/timer/action-trigger.svelte +2 -2
- package/dist/timer/action-trigger.svelte.d.ts +2 -2
- package/dist/timer/index.d.ts +8 -6
- package/dist/timer/index.js +2 -6
- package/dist/timer/item-label.svelte +2 -2
- package/dist/timer/item-label.svelte.d.ts +2 -2
- package/dist/timer/item-value.svelte +2 -2
- package/dist/timer/item-value.svelte.d.ts +2 -2
- package/dist/timer/item.svelte +2 -2
- package/dist/timer/item.svelte.d.ts +2 -2
- package/dist/timer/root.svelte +2 -2
- package/dist/timer/root.svelte.d.ts +2 -2
- package/dist/timer/separator.svelte +2 -2
- package/dist/timer/separator.svelte.d.ts +2 -2
- package/dist/timer/timer.d.ts +6 -0
- package/dist/timer/timer.js +6 -0
- package/dist/toast/action-trigger.svelte +3 -2
- package/dist/toast/action-trigger.svelte.d.ts +2 -2
- package/dist/toast/close-trigger.svelte +3 -2
- package/dist/toast/close-trigger.svelte.d.ts +2 -2
- package/dist/toast/description.svelte +2 -2
- package/dist/toast/description.svelte.d.ts +2 -2
- package/dist/toast/index.d.ts +6 -1
- package/dist/toast/index.js +6 -0
- package/dist/toast/root.svelte +3 -2
- package/dist/toast/root.svelte.d.ts +2 -2
- package/dist/toast/title.svelte +2 -2
- package/dist/toast/title.svelte.d.ts +2 -2
- package/dist/toast/toaster.svelte +2 -2
- package/dist/toast/toaster.svelte.d.ts +2 -2
- package/dist/toggle-group/index.d.ts +4 -2
- package/dist/toggle-group/index.js +2 -2
- package/dist/toggle-group/item.svelte +2 -2
- package/dist/toggle-group/item.svelte.d.ts +2 -2
- package/dist/toggle-group/root.svelte +2 -2
- package/dist/toggle-group/root.svelte.d.ts +2 -2
- package/dist/toggle-group/toggle-group.d.ts +2 -0
- package/dist/toggle-group/toggle-group.js +2 -0
- package/dist/tooltip/arrow-tip.svelte +2 -2
- package/dist/tooltip/arrow-tip.svelte.d.ts +2 -2
- package/dist/tooltip/arrow.svelte +2 -2
- package/dist/tooltip/arrow.svelte.d.ts +2 -2
- package/dist/tooltip/content.svelte +2 -2
- package/dist/tooltip/content.svelte.d.ts +2 -2
- package/dist/tooltip/index.d.ts +8 -6
- package/dist/tooltip/index.js +2 -6
- package/dist/tooltip/positioner.svelte +2 -2
- package/dist/tooltip/positioner.svelte.d.ts +2 -2
- package/dist/tooltip/tooltip.d.ts +6 -0
- package/dist/tooltip/tooltip.js +6 -0
- package/dist/tooltip/trigger.svelte +2 -2
- package/dist/tooltip/trigger.svelte.d.ts +2 -2
- package/dist/tree-view/.gitkeep +0 -0
- package/dist/types.d.ts +6 -2
- package/package.json +2 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface TimerSeparatorProps extends
|
4
|
+
export interface TimerSeparatorProps extends HtmlIngredientProps<'span'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface TimerSeparatorProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface TimerSeparatorProps extends HtmlIngredientProps<'span'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { default as ActionTrigger } from './action-trigger.svelte';
|
2
|
+
export { default as ItemLabel } from './item-label.svelte';
|
3
|
+
export { default as ItemValue } from './item-value.svelte';
|
4
|
+
export { default as Item } from './item.svelte';
|
5
|
+
export { default as Root } from './root.svelte';
|
6
|
+
export { default as Separator } from './separator.svelte';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { default as ActionTrigger } from './action-trigger.svelte';
|
2
|
+
export { default as ItemLabel } from './item-label.svelte';
|
3
|
+
export { default as ItemValue } from './item-value.svelte';
|
4
|
+
export { default as Item } from './item.svelte';
|
5
|
+
export { default as Root } from './root.svelte';
|
6
|
+
export { default as Separator } from './separator.svelte';
|
@@ -1,7 +1,8 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface ToastActionTriggerProps
|
4
|
+
export interface ToastActionTriggerProps
|
5
|
+
extends HtmlIngredientProps<'button'> {}
|
5
6
|
</script>
|
6
7
|
|
7
8
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface ToastActionTriggerProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface ToastActionTriggerProps extends HtmlIngredientProps<'button'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,7 +1,8 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface ToastCloseTriggerProps
|
4
|
+
export interface ToastCloseTriggerProps
|
5
|
+
extends HtmlIngredientProps<'button'> {}
|
5
6
|
</script>
|
6
7
|
|
7
8
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface ToastCloseTriggerProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface ToastCloseTriggerProps extends HtmlIngredientProps<'button'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface ToastDescriptionProps extends
|
4
|
+
export interface ToastDescriptionProps extends HtmlIngredientProps<'div'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface ToastDescriptionProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface ToastDescriptionProps extends HtmlIngredientProps<'div'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
package/dist/toast/index.d.ts
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
+
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
2
|
+
export { type ToastActionTriggerProps } from './action-trigger.svelte';
|
3
|
+
export { type ToastCloseTriggerProps } from './close-trigger.svelte';
|
1
4
|
export { default as createToaster, type CreateToasterProps, type CreateToasterReturn, } from './create-toaster.svelte.js';
|
5
|
+
export { type ToastDescriptionProps } from './description.svelte';
|
6
|
+
export { type ToastProps } from './root.svelte';
|
7
|
+
export { type ToastTitleProps } from './title.svelte';
|
2
8
|
export * as Toast from './toast.js';
|
3
|
-
export type { ToastActionTriggerProps, ToastCloseTriggerProps, ToastDescriptionProps, ToastProps, ToastTitleProps, } from './toast.js';
|
4
9
|
export { default as Toaster, type ToasterProps } from './toaster.svelte';
|
package/dist/toast/index.js
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
2
|
+
export {} from './action-trigger.svelte';
|
3
|
+
export {} from './close-trigger.svelte';
|
1
4
|
export { default as createToaster, } from './create-toaster.svelte.js';
|
5
|
+
export {} from './description.svelte';
|
6
|
+
export {} from './root.svelte';
|
7
|
+
export {} from './title.svelte';
|
2
8
|
export * as Toast from './toast.js';
|
3
9
|
export { default as Toaster } from './toaster.svelte';
|
package/dist/toast/root.svelte
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
import type {Snippet} from 'svelte';
|
4
4
|
import type {CreateToastContextReturn} from './context.svelte.js';
|
5
5
|
|
6
|
-
export interface ToastProps
|
6
|
+
export interface ToastProps
|
7
|
+
extends Omit<HtmlIngredientProps<'div'>, 'children'> {
|
7
8
|
children?: Snippet<[context: CreateToastContextReturn]>;
|
8
9
|
}
|
9
10
|
</script>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type {
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
2
|
import type { Snippet } from 'svelte';
|
3
3
|
import type { CreateToastContextReturn } from './context.svelte.js';
|
4
|
-
export interface ToastProps extends Omit<
|
4
|
+
export interface ToastProps extends Omit<HtmlIngredientProps<'div'>, 'children'> {
|
5
5
|
children?: Snippet<[context: CreateToastContextReturn]>;
|
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> {
|
package/dist/toast/title.svelte
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface ToastTitleProps extends
|
4
|
+
export interface ToastTitleProps extends HtmlIngredientProps<'div'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface ToastTitleProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface ToastTitleProps extends HtmlIngredientProps<'div'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
import type {Snippet} from 'svelte';
|
4
4
|
import type {CreateToastContextReturn} from './context.svelte.js';
|
5
5
|
import type {CreateToasterReturn} from './create-toaster.svelte.js';
|
6
6
|
|
7
7
|
export interface ToasterProps
|
8
|
-
extends Omit<
|
8
|
+
extends Omit<HtmlIngredientProps<'div'>, 'children'> {
|
9
9
|
toaster: CreateToasterReturn;
|
10
10
|
children: Snippet<[CreateToastContextReturn]>;
|
11
11
|
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import type {
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
2
|
import type { Snippet } from 'svelte';
|
3
3
|
import type { CreateToastContextReturn } from './context.svelte.js';
|
4
4
|
import type { CreateToasterReturn } from './create-toaster.svelte.js';
|
5
|
-
export interface ToasterProps extends Omit<
|
5
|
+
export interface ToasterProps extends Omit<HtmlIngredientProps<'div'>, 'children'> {
|
6
6
|
toaster: CreateToasterReturn;
|
7
7
|
children: Snippet<[CreateToastContextReturn]>;
|
8
8
|
}
|
@@ -1,2 +1,4 @@
|
|
1
|
-
export {
|
2
|
-
export {
|
1
|
+
export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
|
2
|
+
export type { ToggleGroupItemProps } from './item.svelte';
|
3
|
+
export type { ToggleGroupProps } from './root.svelte';
|
4
|
+
export * as ToggleGroup from './toggle-group.js';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export {
|
2
|
-
export
|
1
|
+
export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
|
2
|
+
export * as ToggleGroup from './toggle-group.js';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {Assign,
|
2
|
+
import type {Assign, HtmlIngredientProps} from '../types.js';
|
3
3
|
import type {ItemProps, ItemState} from '@zag-js/toggle-group';
|
4
4
|
import type {Snippet} from 'svelte';
|
5
5
|
|
6
6
|
export interface ToggleGroupItemProps
|
7
|
-
extends Assign<Omit<
|
7
|
+
extends Assign<Omit<HtmlIngredientProps<'button'>, 'children'>, ItemProps> {
|
8
8
|
children?: Snippet<[state: ItemState]>;
|
9
9
|
}
|
10
10
|
</script>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { Assign,
|
1
|
+
import type { Assign, HtmlIngredientProps } from '../types.js';
|
2
2
|
import type { ItemProps, ItemState } from '@zag-js/toggle-group';
|
3
3
|
import type { Snippet } from 'svelte';
|
4
|
-
export interface ToggleGroupItemProps extends Assign<Omit<
|
4
|
+
export interface ToggleGroupItemProps extends Assign<Omit<HtmlIngredientProps<'button'>, 'children'>, ItemProps> {
|
5
5
|
children?: Snippet<[state: ItemState]>;
|
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,5 +1,5 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {Assign,
|
2
|
+
import type {Assign, HtmlIngredientProps} from '../types.js';
|
3
3
|
import type {Snippet} from 'svelte';
|
4
4
|
import type {
|
5
5
|
CreateToggleGroupContextProps,
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
export interface ToggleGroupProps
|
10
10
|
extends Assign<
|
11
|
-
Omit<
|
11
|
+
Omit<HtmlIngredientProps<'div'>, 'children'>,
|
12
12
|
Omit<CreateToggleGroupContextProps, 'id'>
|
13
13
|
> {
|
14
14
|
children?: Snippet<[context: CreateToggleGroupContextReturn]>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { Assign,
|
1
|
+
import type { Assign, HtmlIngredientProps } from '../types.js';
|
2
2
|
import type { Snippet } from 'svelte';
|
3
3
|
import type { CreateToggleGroupContextProps, CreateToggleGroupContextReturn } from './context.svelte.js';
|
4
|
-
export interface ToggleGroupProps extends Assign<Omit<
|
4
|
+
export interface ToggleGroupProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, Omit<CreateToggleGroupContextProps, 'id'>> {
|
5
5
|
children?: Snippet<[context: CreateToggleGroupContextReturn]>;
|
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,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface TooltipArrowTipProps extends
|
4
|
+
export interface TooltipArrowTipProps extends HtmlIngredientProps<'div'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface TooltipArrowTipProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface TooltipArrowTipProps extends HtmlIngredientProps<'div'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface TooltipArrowProps extends
|
4
|
+
export interface TooltipArrowProps extends HtmlIngredientProps<'div'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface TooltipArrowProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface TooltipArrowProps extends HtmlIngredientProps<'div'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface TooltipContentProps extends
|
4
|
+
export interface TooltipContentProps extends HtmlIngredientProps<'div'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface TooltipContentProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface TooltipContentProps extends HtmlIngredientProps<'div'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
package/dist/tooltip/index.d.ts
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
export {
|
2
|
-
export {
|
3
|
-
export {
|
4
|
-
export {
|
5
|
-
export {
|
6
|
-
export {
|
1
|
+
export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
|
2
|
+
export type { TooltipArrowTipProps } from './arrow-tip.svelte';
|
3
|
+
export type { TooltipArrowProps } from './arrow.svelte';
|
4
|
+
export type { TooltipContentProps } from './content.svelte';
|
5
|
+
export type { TooltipPositionerProps } from './positioner.svelte';
|
6
|
+
export type { TooltipProps } from './root.svelte';
|
7
|
+
export * as Tooltip from './tooltip.js';
|
8
|
+
export type { TooltipTriggerProps } from './trigger.svelte';
|
package/dist/tooltip/index.js
CHANGED
@@ -1,6 +1,2 @@
|
|
1
|
-
export {
|
2
|
-
export
|
3
|
-
export { default as Content } from './content.svelte';
|
4
|
-
export { default as Positioner, } from './positioner.svelte';
|
5
|
-
export { default as Root } from './root.svelte';
|
6
|
-
export { default as Trigger } from './trigger.svelte';
|
1
|
+
export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
|
2
|
+
export * as Tooltip from './tooltip.js';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface TooltipPositionerProps extends
|
4
|
+
export interface TooltipPositionerProps extends HtmlIngredientProps<'div'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface TooltipPositionerProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface TooltipPositionerProps extends HtmlIngredientProps<'div'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { default as ArrowTip } from './arrow-tip.svelte';
|
2
|
+
export { default as Arrow } from './arrow.svelte';
|
3
|
+
export { default as Content } from './content.svelte';
|
4
|
+
export { default as Positioner } from './positioner.svelte';
|
5
|
+
export { default as Root } from './root.svelte';
|
6
|
+
export { default as Trigger } from './trigger.svelte';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { default as ArrowTip } from './arrow-tip.svelte';
|
2
|
+
export { default as Arrow } from './arrow.svelte';
|
3
|
+
export { default as Content } from './content.svelte';
|
4
|
+
export { default as Positioner } from './positioner.svelte';
|
5
|
+
export { default as Root } from './root.svelte';
|
6
|
+
export { default as Trigger } from './trigger.svelte';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<script lang="ts" context="module">
|
2
|
-
import type {
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
3
|
|
4
|
-
export interface TooltipTriggerProps extends
|
4
|
+
export interface TooltipTriggerProps extends HtmlIngredientProps<'button'> {}
|
5
5
|
</script>
|
6
6
|
|
7
7
|
<script lang="ts">
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
export interface TooltipTriggerProps extends
|
1
|
+
import type { HtmlIngredientProps } from '../types.js';
|
2
|
+
export interface TooltipTriggerProps extends HtmlIngredientProps<'button'> {
|
3
3
|
}
|
4
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> {
|
5
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
File without changes
|
package/dist/types.d.ts
CHANGED
@@ -3,6 +3,10 @@ export type Assign<Target, Source> = Omit<Target, keyof Source> & Source;
|
|
3
3
|
type KnownKeys<T> = keyof {
|
4
4
|
[K in keyof T as string extends K ? never : number extends K ? never : K]: string;
|
5
5
|
};
|
6
|
-
|
7
|
-
|
6
|
+
interface IngredientProps {
|
7
|
+
/** TODO */
|
8
|
+
asChild?: never;
|
9
|
+
}
|
10
|
+
type IntrinsicElements = KnownKeys<SvelteHTMLElements>;
|
11
|
+
export type HtmlIngredientProps<T extends IntrinsicElements> = Assign<SvelteHTMLElements[T], IngredientProps>;
|
8
12
|
export {};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "ui-ingredients",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.11",
|
5
5
|
"packageManager": "pnpm@9.7.0",
|
6
6
|
"svelte": "./dist/index.js",
|
7
7
|
"types": "./dist/index.d.ts",
|
@@ -121,6 +121,7 @@
|
|
121
121
|
"@zag-js/toast": "0.65.1",
|
122
122
|
"@zag-js/toggle-group": "0.65.1",
|
123
123
|
"@zag-js/tooltip": "0.65.1",
|
124
|
+
"@zag-js/tree-view": "0.65.1",
|
124
125
|
"nanoid": "5.0.7"
|
125
126
|
},
|
126
127
|
"peerDependencies": {
|