@skeletonlabs/skeleton-react 2.0.0-next.11 → 2.0.0-next.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/anatomy/item-content.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-content.js +1 -1
- package/dist/components/accordion/anatomy/item-content.js.map +1 -1
- package/dist/components/accordion/anatomy/item-heading.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-heading.js +1 -1
- package/dist/components/accordion/anatomy/item-heading.js.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.js +1 -1
- package/dist/components/accordion/anatomy/item-indicator.js.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.js +1 -1
- package/dist/components/accordion/anatomy/item-trigger.js.map +1 -1
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.js +1 -1
- package/dist/components/accordion/anatomy/item.js.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root-provider.js +1 -1
- package/dist/components/accordion/anatomy/root-provider.js.map +1 -1
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.js +1 -1
- package/dist/components/accordion/anatomy/root.js.map +1 -1
- package/dist/components/app-bar/anatomy/headline.d.ts +3 -3
- package/dist/components/app-bar/anatomy/headline.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/headline.js +1 -1
- package/dist/components/app-bar/anatomy/headline.js.map +1 -1
- package/dist/components/app-bar/anatomy/lead.d.ts +3 -3
- package/dist/components/app-bar/anatomy/lead.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/lead.js +1 -1
- package/dist/components/app-bar/anatomy/lead.js.map +1 -1
- package/dist/components/app-bar/anatomy/root.d.ts +3 -3
- package/dist/components/app-bar/anatomy/root.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/root.js +1 -1
- package/dist/components/app-bar/anatomy/root.js.map +1 -1
- package/dist/components/app-bar/anatomy/toolbar.d.ts +3 -3
- package/dist/components/app-bar/anatomy/toolbar.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/toolbar.js +1 -1
- package/dist/components/app-bar/anatomy/toolbar.js.map +1 -1
- package/dist/components/app-bar/anatomy/trail.d.ts +3 -3
- package/dist/components/app-bar/anatomy/trail.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/trail.js +1 -1
- package/dist/components/app-bar/anatomy/trail.js.map +1 -1
- package/dist/components/avatar/anatomy/fallback.d.ts +3 -3
- package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/fallback.js +1 -1
- package/dist/components/avatar/anatomy/fallback.js.map +1 -1
- package/dist/components/avatar/anatomy/image.d.ts +3 -3
- package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/image.js +1 -1
- package/dist/components/avatar/anatomy/image.js.map +1 -1
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root-provider.js +1 -1
- package/dist/components/avatar/anatomy/root-provider.js.map +1 -1
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.js +1 -1
- package/dist/components/avatar/anatomy/root.js.map +1 -1
- package/dist/components/combobox/anatomy/content.d.ts +3 -3
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/content.js +1 -1
- package/dist/components/combobox/anatomy/content.js.map +1 -1
- package/dist/components/combobox/anatomy/control.d.ts +3 -3
- package/dist/components/combobox/anatomy/control.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/control.js +1 -1
- package/dist/components/combobox/anatomy/control.js.map +1 -1
- package/dist/components/combobox/anatomy/input.d.ts +3 -3
- package/dist/components/combobox/anatomy/input.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/input.js +1 -1
- package/dist/components/combobox/anatomy/input.js.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.d.ts +3 -3
- package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.js +1 -1
- package/dist/components/combobox/anatomy/item-group-label.js.map +1 -1
- package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-group.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group.js +1 -1
- package/dist/components/combobox/anatomy/item-group.js.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.d.ts +3 -3
- package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.js +1 -1
- package/dist/components/combobox/anatomy/item-indicator.js.map +1 -1
- package/dist/components/combobox/anatomy/item-text.d.ts +3 -3
- package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-text.js +1 -1
- package/dist/components/combobox/anatomy/item-text.js.map +1 -1
- package/dist/components/combobox/anatomy/item.d.ts +2 -2
- package/dist/components/combobox/anatomy/item.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item.js +1 -1
- package/dist/components/combobox/anatomy/item.js.map +1 -1
- package/dist/components/combobox/anatomy/label.d.ts +3 -3
- package/dist/components/combobox/anatomy/label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/label.js +1 -1
- package/dist/components/combobox/anatomy/label.js.map +1 -1
- package/dist/components/combobox/anatomy/positioner.d.ts +3 -3
- package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/positioner.js +1 -1
- package/dist/components/combobox/anatomy/positioner.js.map +1 -1
- package/dist/components/combobox/anatomy/root-provider.d.ts +2 -2
- package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/root-provider.js +1 -1
- package/dist/components/combobox/anatomy/root-provider.js.map +1 -1
- package/dist/components/combobox/anatomy/root.d.ts +2 -2
- package/dist/components/combobox/anatomy/root.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/root.js +1 -1
- package/dist/components/combobox/anatomy/root.js.map +1 -1
- package/dist/components/combobox/anatomy/trigger.d.ts +3 -3
- package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/trigger.js +1 -1
- package/dist/components/combobox/anatomy/trigger.js.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.d.ts +3 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.js +1 -1
- package/dist/components/dialog/anatomy/backdrop.js.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.js +1 -1
- package/dist/components/dialog/anatomy/close-trigger.js.map +1 -1
- package/dist/components/dialog/anatomy/content.d.ts +3 -3
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/content.js +1 -1
- package/dist/components/dialog/anatomy/content.js.map +1 -1
- package/dist/components/dialog/anatomy/description.d.ts +3 -3
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/description.js +1 -1
- package/dist/components/dialog/anatomy/description.js.map +1 -1
- package/dist/components/dialog/anatomy/positioner.d.ts +3 -3
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/positioner.js +1 -1
- package/dist/components/dialog/anatomy/positioner.js.map +1 -1
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/root.d.ts +2 -2
- package/dist/components/dialog/anatomy/root.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/title.d.ts +3 -3
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/title.js +1 -1
- package/dist/components/dialog/anatomy/title.js.map +1 -1
- package/dist/components/dialog/anatomy/trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/trigger.js +1 -1
- package/dist/components/dialog/anatomy/trigger.js.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.js +1 -1
- package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.js +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.js +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.js +1 -1
- package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.js +1 -1
- package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.js +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.js.map +1 -1
- package/dist/components/file-upload/anatomy/item.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item.js +1 -1
- package/dist/components/file-upload/anatomy/item.js.map +1 -1
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.js +1 -1
- package/dist/components/file-upload/anatomy/root-provider.js.map +1 -1
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.js +1 -1
- package/dist/components/file-upload/anatomy/root.js.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.d.ts +3 -3
- package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.js +1 -1
- package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
- package/dist/components/popover/anatomy/arrow-tip.js +1 -1
- package/dist/components/popover/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/popover/anatomy/arrow.js +1 -1
- package/dist/components/popover/anatomy/arrow.js.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.js +1 -1
- package/dist/components/popover/anatomy/close-trigger.js.map +1 -1
- package/dist/components/popover/anatomy/content.d.ts +3 -3
- package/dist/components/popover/anatomy/content.d.ts.map +1 -1
- package/dist/components/popover/anatomy/content.js +1 -1
- package/dist/components/popover/anatomy/content.js.map +1 -1
- package/dist/components/popover/anatomy/description.d.ts +3 -3
- package/dist/components/popover/anatomy/description.d.ts.map +1 -1
- package/dist/components/popover/anatomy/description.js +1 -1
- package/dist/components/popover/anatomy/description.js.map +1 -1
- package/dist/components/popover/anatomy/positioner.d.ts +2 -2
- package/dist/components/popover/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/popover/anatomy/positioner.js +1 -1
- package/dist/components/popover/anatomy/positioner.js.map +1 -1
- package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
- package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/popover/anatomy/root.d.ts +2 -2
- package/dist/components/popover/anatomy/root.d.ts.map +1 -1
- package/dist/components/popover/anatomy/title.d.ts +3 -3
- package/dist/components/popover/anatomy/title.d.ts.map +1 -1
- package/dist/components/popover/anatomy/title.js +1 -1
- package/dist/components/popover/anatomy/title.js.map +1 -1
- package/dist/components/popover/anatomy/trigger.d.ts +3 -3
- package/dist/components/popover/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/trigger.js +1 -1
- package/dist/components/popover/anatomy/trigger.js.map +1 -1
- package/dist/components/progress-linear/anatomy/label.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/label.js +1 -1
- package/dist/components/progress-linear/anatomy/label.js.map +1 -1
- package/dist/components/progress-linear/anatomy/range.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/range.js +1 -1
- package/dist/components/progress-linear/anatomy/range.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root-provider.js +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root.js +1 -1
- package/dist/components/progress-linear/anatomy/root.js.map +1 -1
- package/dist/components/progress-linear/anatomy/track.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/track.js +1 -1
- package/dist/components/progress-linear/anatomy/track.js.map +1 -1
- package/dist/components/rating-group/anatomy/control.d.ts +3 -3
- package/dist/components/rating-group/anatomy/control.js +1 -1
- package/dist/components/rating-group/anatomy/control.js.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/rating-group/anatomy/hidden-input.js +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
- package/dist/components/rating-group/anatomy/item.d.ts +3 -3
- package/dist/components/rating-group/anatomy/item.js +2 -2
- package/dist/components/rating-group/anatomy/item.js.map +1 -1
- package/dist/components/rating-group/anatomy/label.d.ts +3 -3
- package/dist/components/rating-group/anatomy/label.js +1 -1
- package/dist/components/rating-group/anatomy/label.js.map +1 -1
- package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root-provider.js +1 -1
- package/dist/components/rating-group/anatomy/root-provider.js.map +1 -1
- package/dist/components/rating-group/anatomy/root.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root.js +1 -1
- package/dist/components/rating-group/anatomy/root.js.map +1 -1
- package/dist/components/segmented-control/anatomy/indicator.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/indicator.js +1 -1
- package/dist/components/segmented-control/anatomy/indicator.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/item-hidden-input.js +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-text.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/item-text.js +1 -1
- package/dist/components/segmented-control/anatomy/item-text.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item.js +1 -1
- package/dist/components/segmented-control/anatomy/item.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root-provider.js +1 -1
- package/dist/components/segmented-control/anatomy/root-provider.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root.js +1 -1
- package/dist/components/segmented-control/anatomy/root.js.map +1 -1
- package/dist/components/slider/anatomy/control.d.ts +3 -3
- package/dist/components/slider/anatomy/control.js +1 -1
- package/dist/components/slider/anatomy/control.js.map +1 -1
- package/dist/components/slider/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/slider/anatomy/hidden-input.js +1 -1
- package/dist/components/slider/anatomy/hidden-input.js.map +1 -1
- package/dist/components/slider/anatomy/label.d.ts +3 -3
- package/dist/components/slider/anatomy/label.js +1 -1
- package/dist/components/slider/anatomy/label.js.map +1 -1
- package/dist/components/slider/anatomy/marker-group.d.ts +3 -3
- package/dist/components/slider/anatomy/marker-group.js +1 -1
- package/dist/components/slider/anatomy/marker-group.js.map +1 -1
- package/dist/components/slider/anatomy/marker.d.ts +3 -3
- package/dist/components/slider/anatomy/marker.js +1 -1
- package/dist/components/slider/anatomy/marker.js.map +1 -1
- package/dist/components/slider/anatomy/range.d.ts +3 -3
- package/dist/components/slider/anatomy/range.js +1 -1
- package/dist/components/slider/anatomy/range.js.map +1 -1
- package/dist/components/slider/anatomy/root-provider.d.ts +2 -2
- package/dist/components/slider/anatomy/root-provider.js +1 -1
- package/dist/components/slider/anatomy/root-provider.js.map +1 -1
- package/dist/components/slider/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/root.js +1 -1
- package/dist/components/slider/anatomy/root.js.map +1 -1
- package/dist/components/slider/anatomy/thumb.d.ts +2 -2
- package/dist/components/slider/anatomy/thumb.js +1 -1
- package/dist/components/slider/anatomy/thumb.js.map +1 -1
- package/dist/components/slider/anatomy/track.d.ts +3 -3
- package/dist/components/slider/anatomy/track.js +1 -1
- package/dist/components/slider/anatomy/track.js.map +1 -1
- package/dist/components/slider/anatomy/value-text.d.ts +3 -3
- package/dist/components/slider/anatomy/value-text.js +1 -1
- package/dist/components/slider/anatomy/value-text.js.map +1 -1
- package/dist/components/switch/anatomy/control.d.ts +3 -3
- package/dist/components/switch/anatomy/control.d.ts.map +1 -1
- package/dist/components/switch/anatomy/control.js +1 -1
- package/dist/components/switch/anatomy/control.js.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.js +1 -1
- package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
- package/dist/components/switch/anatomy/label.d.ts +3 -3
- package/dist/components/switch/anatomy/label.js +1 -1
- package/dist/components/switch/anatomy/label.js.map +1 -1
- package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
- package/dist/components/switch/anatomy/root-provider.js +1 -1
- package/dist/components/switch/anatomy/root-provider.js.map +1 -1
- package/dist/components/switch/anatomy/root.js +1 -1
- package/dist/components/switch/anatomy/root.js.map +1 -1
- package/dist/components/switch/anatomy/thumb.d.ts +3 -3
- package/dist/components/switch/anatomy/thumb.js +1 -1
- package/dist/components/switch/anatomy/thumb.js.map +1 -1
- package/dist/components/tabs/anatomy/content.d.ts +3 -3
- package/dist/components/tabs/anatomy/content.js +1 -1
- package/dist/components/tabs/anatomy/content.js.map +1 -1
- package/dist/components/tabs/anatomy/indicator.d.ts +3 -3
- package/dist/components/tabs/anatomy/indicator.js +1 -1
- package/dist/components/tabs/anatomy/indicator.js.map +1 -1
- package/dist/components/tabs/anatomy/list.d.ts +3 -3
- package/dist/components/tabs/anatomy/list.js +1 -1
- package/dist/components/tabs/anatomy/list.js.map +1 -1
- package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tabs/anatomy/root-provider.js +1 -1
- package/dist/components/tabs/anatomy/root-provider.js.map +1 -1
- package/dist/components/tabs/anatomy/root.d.ts +2 -2
- package/dist/components/tabs/anatomy/root.js +1 -1
- package/dist/components/tabs/anatomy/root.js.map +1 -1
- package/dist/components/tabs/anatomy/trigger.d.ts +3 -3
- package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/trigger.js +1 -1
- package/dist/components/tabs/anatomy/trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.js +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/control.d.ts +3 -3
- package/dist/components/tags-input/anatomy/control.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/control.js +1 -1
- package/dist/components/tags-input/anatomy/control.js.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.js +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/input.js +1 -1
- package/dist/components/tags-input/anatomy/input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.js +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.js +1 -1
- package/dist/components/tags-input/anatomy/item-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.js +1 -1
- package/dist/components/tags-input/anatomy/item-preview.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.js +1 -1
- package/dist/components/tags-input/anatomy/item-text.js.map +1 -1
- package/dist/components/tags-input/anatomy/item.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item.js +1 -1
- package/dist/components/tags-input/anatomy/item.js.map +1 -1
- package/dist/components/tags-input/anatomy/label.d.ts +3 -3
- package/dist/components/tags-input/anatomy/label.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/label.js +1 -1
- package/dist/components/tags-input/anatomy/label.js.map +1 -1
- package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/root-provider.js +1 -1
- package/dist/components/tags-input/anatomy/root-provider.js.map +1 -1
- package/dist/components/tags-input/anatomy/root.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/root.js +1 -1
- package/dist/components/tags-input/anatomy/root.js.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.js +1 -1
- package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.js +1 -1
- package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/description.d.ts +3 -3
- package/dist/components/toast/anatomy/description.d.ts.map +1 -1
- package/dist/components/toast/anatomy/description.js +1 -1
- package/dist/components/toast/anatomy/description.js.map +1 -1
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/group.d.ts.map +1 -1
- package/dist/components/toast/anatomy/group.js +1 -1
- package/dist/components/toast/anatomy/group.js.map +1 -1
- package/dist/components/toast/anatomy/message.d.ts +3 -3
- package/dist/components/toast/anatomy/message.d.ts.map +1 -1
- package/dist/components/toast/anatomy/message.js +1 -1
- package/dist/components/toast/anatomy/message.js.map +1 -1
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.d.ts.map +1 -1
- package/dist/components/toast/anatomy/root.js +1 -1
- package/dist/components/toast/anatomy/root.js.map +1 -1
- package/dist/components/toast/anatomy/title.d.ts +3 -3
- package/dist/components/toast/anatomy/title.d.ts.map +1 -1
- package/dist/components/toast/anatomy/title.js +1 -1
- package/dist/components/toast/anatomy/title.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.js +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.js +1 -1
- package/dist/components/tooltip/anatomy/arrow.js.map +1 -1
- package/dist/components/tooltip/anatomy/content.d.ts +3 -3
- package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/content.js +1 -1
- package/dist/components/tooltip/anatomy/content.js.map +1 -1
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/positioner.js +1 -1
- package/dist/components/tooltip/anatomy/positioner.js.map +1 -1
- package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/root.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.d.ts +3 -3
- package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.js +1 -1
- package/dist/components/tooltip/anatomy/trigger.js.map +1 -1
- package/dist/internal/components/check.js +2 -2
- package/dist/internal/components/check.js.map +1 -1
- package/dist/internal/components/x.js +2 -2
- package/dist/internal/components/x.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: SliderTrackProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: SliderTrackProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getTrackProps(),\n\t\t{\n\t\t\tclassName: classesSlider.track,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,eAAe,EACtB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react182 from "react";
|
|
4
|
+
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/value-text.d.ts
|
|
7
7
|
interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}
|
|
8
|
-
declare function ValueText(props: SliderValueTextProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ValueText(props: SliderValueTextProps): string | number | bigint | boolean | Iterable<react182.ReactNode> | Promise<string | number | bigint | boolean | react182.ReactPortal | react182.ReactElement<unknown, string | react182.JSXElementConstructor<any>> | Iterable<react182.ReactNode> | null | undefined> | react_jsx_runtime55.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderValueTextProps, ValueText };
|
|
11
11
|
//# sourceMappingURL=value-text.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function ValueText(props) {
|
|
9
9
|
const slider = use(SliderRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(slider.getValueTextProps(),
|
|
11
|
+
const attributes = mergeProps(slider.getValueTextProps(), { className: classesSlider.valueText }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("output", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-text.js","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}\n\nexport default function ValueText(props: SliderValueTextProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"value-text.js","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}\n\nexport default function ValueText(props: SliderValueTextProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getValueTextProps(),\n\t\t{\n\t\t\tclassName: classesSlider.valueText,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <output {...attributes}>{children}</output>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA6B;CAC9D,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,mBAAmB,EAC1B,EACC,WAAW,cAAc,WACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react94 from "react";
|
|
4
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/control.d.ts
|
|
7
7
|
interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Control(props: SwitchControlProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Control(props: SwitchControlProps): string | number | bigint | boolean | Iterable<react94.ReactNode> | Promise<string | number | bigint | boolean | react94.ReactPortal | react94.ReactElement<unknown, string | react94.JSXElementConstructor<any>> | Iterable<react94.ReactNode> | null | undefined> | react_jsx_runtime26.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, SwitchControlProps };
|
|
11
11
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,kBAAA,SAA2B,0BAA0B;iBAE9C,OAAA,QAAe,0DAAkB,SAAA,
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,kBAAA,SAA2B,0BAA0B;iBAE9C,OAAA,QAAe,0DAAkB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Control(props) {
|
|
9
9
|
const switch_ = use(SwitchRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(switch_.getControlProps(),
|
|
11
|
+
const attributes = mergeProps(switch_.getControlProps(), { className: classesSwitch.control }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Control(props: SwitchControlProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Control(props: SwitchControlProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getControlProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.control,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA2B;CAC1D,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,iBAAiB,EACzB,EACC,WAAW,cAAc,SACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react99 from "react";
|
|
4
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/hidden-input.d.ts
|
|
7
7
|
interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: SwitchHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function HiddenInput(props: SwitchHiddenInputProps): string | number | bigint | boolean | Iterable<react99.ReactNode> | Promise<string | number | bigint | boolean | react99.ReactPortal | react99.ReactElement<unknown, string | react99.JSXElementConstructor<any>> | Iterable<react99.ReactNode> | null | undefined> | react_jsx_runtime27.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { HiddenInput, SwitchHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,sBAAA,SAA+B,2BAA2B;iBAEnD,WAAA,QAAmB,8DAAsB,SAAA,
|
|
1
|
+
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,sBAAA,SAA+B,2BAA2B;iBAEnD,WAAA,QAAmB,8DAAsB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function HiddenInput(props) {
|
|
9
9
|
const switch_ = use(SwitchRootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(switch_.getHiddenInputProps(),
|
|
11
|
+
const attributes = mergeProps(switch_.getHiddenInputProps(), { className: classesSwitch.hiddenInput }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SwitchHiddenInputProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SwitchHiddenInputProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getHiddenInputProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA+B;CAClE,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,QAAQ,qBAAqB,EAC7B,EACC,WAAW,cAAc,aACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react104 from "react";
|
|
4
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/label.d.ts
|
|
7
7
|
interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Label(props: SwitchLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: SwitchLabelProps): string | number | bigint | boolean | Iterable<react104.ReactNode> | Promise<string | number | bigint | boolean | react104.ReactPortal | react104.ReactElement<unknown, string | react104.JSXElementConstructor<any>> | Iterable<react104.ReactNode> | null | undefined> | react_jsx_runtime28.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, SwitchLabelProps };
|
|
11
11
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Label(props) {
|
|
9
9
|
const switch_ = use(SwitchRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(switch_.getLabelProps(),
|
|
11
|
+
const attributes = mergeProps(switch_.getLabelProps(), { className: classesSwitch.label }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Label(props: SwitchLabelProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Label(props: SwitchLabelProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useSwitch } from "../modules/use-switch.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/root-provider.d.ts
|
|
7
7
|
interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSwitch>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: SwitchRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime29.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SwitchRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/switch/anatomy/root-provider.tsx
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: switch_,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(switch_.getRootProps(),
|
|
9
|
+
const attributes = mergeProps(switch_.getRootProps(), { className: classesSwitch.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(SwitchRootContext.Provider, {
|
|
11
11
|
value: switch_,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/switch/anatomy/root-provider.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { useSwitch } from '../modules/use-switch';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSwitch>;\n}\n\nexport default function RootProvider(props: SwitchRootProviderProps) {\n\tconst { element, children, value: switch_, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/switch/anatomy/root-provider.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { useSwitch } from '../modules/use-switch';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSwitch>;\n}\n\nexport default function RootProvider(props: SwitchRootProviderProps) {\n\tconst { element, children, value: switch_, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SwitchRootContext.Provider value={switch_}>\n\t\t\t{element ? element(attributes) : <label {...attributes}>{children}</label>}\n\t\t</SwitchRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAAgC;CACpE,MAAM,EAAE,SAAS,UAAU,OAAO,QAAS,GAAG,SAAS;CAEvD,MAAM,aAAa,WAClB,QAAQ,cAAc,EACtB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GAC9C"}
|
|
@@ -10,7 +10,7 @@ function Root(props) {
|
|
|
10
10
|
const [switchProps, componentProps] = splitProps(props);
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const switch_ = useSwitch(switchProps);
|
|
13
|
-
const attributes = mergeProps(switch_.getRootProps(),
|
|
13
|
+
const attributes = mergeProps(switch_.getRootProps(), { className: classesSwitch.root }, rest);
|
|
14
14
|
return /* @__PURE__ */ jsx(SwitchRootContext.Provider, {
|
|
15
15
|
value: switch_,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport { useSwitch } from '../modules/use-switch';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/switch';\nimport type { Props } from '@zag-js/switch';\n\nexport interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function Root(props: SwitchRootProps) {\n\tconst [switchProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst switch_ = useSwitch(switchProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport { useSwitch } from '../modules/use-switch';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/switch';\nimport type { Props } from '@zag-js/switch';\n\nexport interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function Root(props: SwitchRootProps) {\n\tconst [switchProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst switch_ = useSwitch(switchProps);\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SwitchRootContext.Provider value={switch_}>\n\t\t\t{element ? element(attributes) : <label {...attributes}>{children}</label>}\n\t\t</SwitchRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,KAAK,OAAwB;CACpD,MAAM,CAAC,aAAa,kBAAkB,WAAW,MAAM;CACvD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,UAAU,UAAU,YAAY;CAEtC,MAAM,aAAa,WAClB,QAAQ,cAAc,EACtB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GAC9C"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react109 from "react";
|
|
4
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/thumb.d.ts
|
|
7
7
|
interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Thumb(props: SwitchThumbProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Thumb(props: SwitchThumbProps): string | number | bigint | boolean | Iterable<react109.ReactNode> | Promise<string | number | bigint | boolean | react109.ReactPortal | react109.ReactElement<unknown, string | react109.JSXElementConstructor<any>> | Iterable<react109.ReactNode> | null | undefined> | react_jsx_runtime30.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SwitchThumbProps, Thumb };
|
|
11
11
|
//# sourceMappingURL=thumb.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Thumb(props) {
|
|
9
9
|
const switch_ = use(SwitchRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(switch_.getThumbProps(),
|
|
11
|
+
const attributes = mergeProps(switch_.getThumbProps(), { className: classesSwitch.thumb }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/switch/anatomy/thumb.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Thumb(props: SwitchThumbProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/switch/anatomy/thumb.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Thumb(props: SwitchThumbProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getThumbProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.thumb,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react222 from "react";
|
|
4
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
5
5
|
import { ContentProps } from "@zag-js/tabs";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tabs/anatomy/content.d.ts
|
|
8
8
|
interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
9
|
-
declare function Content(props: TabsContentProps): string | number | bigint | boolean | Iterable<
|
|
9
|
+
declare function Content(props: TabsContentProps): string | number | bigint | boolean | Iterable<react222.ReactNode> | Promise<string | number | bigint | boolean | react222.ReactPortal | react222.ReactElement<unknown, string | react222.JSXElementConstructor<any>> | Iterable<react222.ReactNode> | null | undefined> | react_jsx_runtime65.JSX.Element | null | undefined;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Content, TabsContentProps };
|
|
12
12
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -10,7 +10,7 @@ function Content(props) {
|
|
|
10
10
|
const tabs = use(TabsRootContext);
|
|
11
11
|
const [contentProps, componentProps] = splitContentProps(props);
|
|
12
12
|
const { element, children,...rest } = componentProps;
|
|
13
|
-
const attributes = mergeProps(tabs.getContentProps(contentProps),
|
|
13
|
+
const attributes = mergeProps(tabs.getContentProps(contentProps), { className: classesTabs.content }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
15
15
|
...attributes,
|
|
16
16
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/tabs/anatomy/content.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitContentProps } from '@zag-js/tabs';\nimport type { ContentProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Content(props: TabsContentProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst [contentProps, componentProps] = splitContentProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/tabs/anatomy/content.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitContentProps } from '@zag-js/tabs';\nimport type { ContentProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Content(props: TabsContentProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst [contentProps, componentProps] = splitContentProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getContentProps(contentProps),\n\t\t{\n\t\t\tclassName: classesTabs.content,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,QAAQ,OAAyB;CACxD,MAAM,OAAO,IAAI,gBAAgB;CAEjC,MAAM,CAAC,cAAc,kBAAkB,kBAAkB,MAAM;CAC/D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,gBAAgB,aAAa,EAClC,EACC,WAAW,YAAY,SACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react227 from "react";
|
|
4
|
+
import * as react_jsx_runtime66 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/indicator.d.ts
|
|
7
7
|
interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
8
|
-
declare function Indicator(props: TabsIndicatorProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Indicator(props: TabsIndicatorProps): string | number | bigint | boolean | Iterable<react227.ReactNode> | Promise<string | number | bigint | boolean | react227.ReactPortal | react227.ReactElement<unknown, string | react227.JSXElementConstructor<any>> | Iterable<react227.ReactNode> | null | undefined> | react_jsx_runtime66.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Indicator, TabsIndicatorProps };
|
|
11
11
|
//# sourceMappingURL=indicator.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Indicator(props) {
|
|
9
9
|
const tabs = use(TabsRootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tabs.getIndicatorProps(),
|
|
11
|
+
const attributes = mergeProps(tabs.getIndicatorProps(), { className: classesTabs.indicator }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indicator.js","names":[],"sources":["../../../../src/components/tabs/anatomy/indicator.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Indicator(props: TabsIndicatorProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"indicator.js","names":[],"sources":["../../../../src/components/tabs/anatomy/indicator.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Indicator(props: TabsIndicatorProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getIndicatorProps(),\n\t\t{\n\t\t\tclassName: classesTabs.indicator,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA2B;CAC5D,MAAM,OAAO,IAAI,gBAAgB;CAEjC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,KAAK,mBAAmB,EACxB,EACC,WAAW,YAAY,WACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,SAAI,GAAI,aAAc"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react232 from "react";
|
|
4
|
+
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/list.d.ts
|
|
7
7
|
interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
-
declare function List(props: TabsListProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function List(props: TabsListProps): string | number | bigint | boolean | Iterable<react232.ReactNode> | Promise<string | number | bigint | boolean | react232.ReactPortal | react232.ReactElement<unknown, string | react232.JSXElementConstructor<any>> | Iterable<react232.ReactNode> | null | undefined> | react_jsx_runtime67.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { List, TabsListProps };
|
|
11
11
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function List(props) {
|
|
9
9
|
const tabs = use(TabsRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tabs.getListProps(),
|
|
11
|
+
const attributes = mergeProps(tabs.getListProps(), { className: classesTabs.list }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","names":[],"sources":["../../../../src/components/tabs/anatomy/list.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function List(props: TabsListProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"list.js","names":[],"sources":["../../../../src/components/tabs/anatomy/list.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function List(props: TabsListProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getListProps(),\n\t\t{\n\t\t\tclassName: classesTabs.list,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,KAAK,OAAsB;CAClD,MAAM,OAAO,IAAI,gBAAgB;CAEjC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useTabs } from "../modules/use-tabs.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root-provider.d.ts
|
|
7
7
|
interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useTabs>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TabsRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime69.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TabsRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root-provider.tsx
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: tabs,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(tabs.getRootProps(),
|
|
9
|
+
const attributes = mergeProps(tabs.getRootProps(), { className: classesTabs.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(TabsRootContext.Provider, {
|
|
11
11
|
value: tabs,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root-provider.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { useTabs } from '../modules/use-tabs';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useTabs>;\n}\n\nexport default function RootProvider(props: TabsRootProviderProps) {\n\tconst { element, children, value: tabs, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root-provider.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { useTabs } from '../modules/use-tabs';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useTabs>;\n}\n\nexport default function RootProvider(props: TabsRootProviderProps) {\n\tconst { element, children, value: tabs, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTabs.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<TabsRootContext.Provider value={tabs}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TabsRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAA8B;CAClE,MAAM,EAAE,SAAS,UAAU,OAAO,KAAM,GAAG,SAAS;CAEpD,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QACC,oBAAC,gBAAgB;EAAS,OAAO;YAC/B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC5C"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/tabs";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root.d.ts
|
|
7
7
|
interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TabsRootProps):
|
|
8
|
+
declare function Root(props: TabsRootProps): react_jsx_runtime68.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TabsRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -10,7 +10,7 @@ function Root(props) {
|
|
|
10
10
|
const [tabsProps, componentProps] = splitProps(props);
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const tabs = useTabs(tabsProps);
|
|
13
|
-
const attributes = mergeProps(tabs.getRootProps(),
|
|
13
|
+
const attributes = mergeProps(tabs.getRootProps(), { className: classesTabs.root }, rest);
|
|
14
14
|
return /* @__PURE__ */ jsx(TabsRootContext.Provider, {
|
|
15
15
|
value: tabs,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport { useTabs } from '../modules/use-tabs';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/tabs';\nimport type { Props } from '@zag-js/tabs';\n\nexport interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: TabsRootProps) {\n\tconst [tabsProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst tabs = useTabs(tabsProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport { useTabs } from '../modules/use-tabs';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/tabs';\nimport type { Props } from '@zag-js/tabs';\n\nexport interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: TabsRootProps) {\n\tconst [tabsProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst tabs = useTabs(tabsProps);\n\n\tconst attributes = mergeProps(\n\t\ttabs.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTabs.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<TabsRootContext.Provider value={tabs}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TabsRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,KAAK,OAAsB;CAClD,MAAM,CAAC,WAAW,kBAAkB,WAAW,MAAM;CACrD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,OAAO,QAAQ,UAAU;CAE/B,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QACC,oBAAC,gBAAgB;EAAS,OAAO;YAC/B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC5C"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react237 from "react";
|
|
4
|
+
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
5
5
|
import { TriggerProps } from "@zag-js/tabs";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tabs/anatomy/trigger.d.ts
|
|
8
8
|
interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}
|
|
9
|
-
declare function Trigger(props: TabsTriggerProps): string | number | bigint | boolean | Iterable<
|
|
9
|
+
declare function Trigger(props: TabsTriggerProps): string | number | bigint | boolean | Iterable<react237.ReactNode> | Promise<string | number | bigint | boolean | react237.ReactPortal | react237.ReactElement<unknown, string | react237.JSXElementConstructor<any>> | Iterable<react237.ReactNode> | null | undefined> | react_jsx_runtime70.JSX.Element | null | undefined;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { TabsTriggerProps, Trigger };
|
|
12
12
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;;UASiB,gBAAA,SAAyB,cAAc,4BAA4B;iBAE5D,OAAA,QAAe,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;;UASiB,gBAAA,SAAyB,cAAc,4BAA4B;iBAE5D,OAAA,QAAe,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -10,7 +10,7 @@ function Trigger(props) {
|
|
|
10
10
|
const tabs = use(TabsRootContext);
|
|
11
11
|
const [triggerProps, componentProps] = splitTriggerProps(props);
|
|
12
12
|
const { element, children,...rest } = componentProps;
|
|
13
|
-
const attributes = mergeProps(tabs.getTriggerProps(triggerProps),
|
|
13
|
+
const attributes = mergeProps(tabs.getTriggerProps(triggerProps), { className: classesTabs.trigger }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
15
15
|
...attributes,
|
|
16
16
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitTriggerProps } from '@zag-js/tabs';\nimport type { TriggerProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}\n\nexport default function Trigger(props: TabsTriggerProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst [triggerProps, componentProps] = splitTriggerProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitTriggerProps } from '@zag-js/tabs';\nimport type { TriggerProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}\n\nexport default function Trigger(props: TabsTriggerProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst [triggerProps, componentProps] = splitTriggerProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getTriggerProps(triggerProps),\n\t\t{\n\t\t\tclassName: classesTabs.trigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,QAAQ,OAAyB;CACxD,MAAM,OAAO,IAAI,gBAAgB;CAEjC,MAAM,CAAC,cAAc,kBAAkB,kBAAkB,MAAM;CAC/D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,gBAAgB,aAAa,EAClC,EACC,WAAW,YAAY,SACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react242 from "react";
|
|
4
|
+
import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/clear-trigger.d.ts
|
|
7
7
|
interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ClearTrigger(props: TagsInputClearTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ClearTrigger(props: TagsInputClearTriggerProps): string | number | bigint | boolean | Iterable<react242.ReactNode> | Promise<string | number | bigint | boolean | react242.ReactPortal | react242.ReactElement<unknown, string | react242.JSXElementConstructor<any>> | Iterable<react242.ReactNode> | null | undefined> | react_jsx_runtime71.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ClearTrigger, TagsInputClearTriggerProps };
|
|
11
11
|
//# sourceMappingURL=clear-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,4BAA4B;iBAExD,YAAA,QAAoB,kEAA0B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"clear-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,4BAA4B;iBAExD,YAAA,QAAoB,kEAA0B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function ClearTrigger(props) {
|
|
9
9
|
const tagsInput = use(TagsInputRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tagsInput.getClearTriggerProps(),
|
|
11
|
+
const attributes = mergeProps(tagsInput.getClearTriggerProps(), { className: classesTagsInput.clearTrigger }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ClearTrigger(props: TagsInputClearTriggerProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"clear-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ClearTrigger(props: TagsInputClearTriggerProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getClearTriggerProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.clearTrigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,aAAa,OAAmC;CACvE,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,sBAAsB,EAChC,EACC,WAAW,iBAAiB,cAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react247 from "react";
|
|
4
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/control.d.ts
|
|
7
7
|
interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Control(props: TagsInputControlProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Control(props: TagsInputControlProps): string | number | bigint | boolean | Iterable<react247.ReactNode> | Promise<string | number | bigint | boolean | react247.ReactPortal | react247.ReactElement<unknown, string | react247.JSXElementConstructor<any>> | Iterable<react247.ReactNode> | null | undefined> | react_jsx_runtime72.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, TagsInputControlProps };
|
|
11
11
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,yBAAyB;iBAEhD,OAAA,QAAe,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,yBAAyB;iBAEhD,OAAA,QAAe,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|