@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":"indicator.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/indicator.tsx"],"sourcesContent":["import { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Indicator(props: SegmentedControlIndicatorProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"indicator.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/indicator.tsx"],"sourcesContent":["import { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Indicator(props: SegmentedControlIndicatorProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tsegmentedControl.getIndicatorProps(),\n\t\t{\n\t\t\tclassName: classesSegmentedControl.indicator,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAAuC;CACxE,MAAM,mBAAmB,IAAI,4BAA4B;CAEzD,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,iBAAiB,mBAAmB,EACpC,EACC,WAAW,wBAAwB,WACnC,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 react157 from "react";
|
|
4
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/item-hidden-input.d.ts
|
|
7
7
|
interface SegmentedControlItemHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps): string | number | bigint | boolean | Iterable<react157.ReactNode> | Promise<string | number | bigint | boolean | react157.ReactPortal | react157.ReactElement<unknown, string | react157.JSXElementConstructor<any>> | Iterable<react157.ReactNode> | null | undefined> | react_jsx_runtime47.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemHiddenInput, SegmentedControlItemHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=item-hidden-input.d.ts.map
|
|
@@ -10,7 +10,7 @@ function ItemHiddenInput(props) {
|
|
|
10
10
|
const segmentedControl = use(SegmentedControlRootContext);
|
|
11
11
|
const itemProps = use(SegmentedControlItemContext);
|
|
12
12
|
const { element,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(segmentedControl.getItemHiddenInputProps(itemProps),
|
|
13
|
+
const attributes = mergeProps(segmentedControl.getItemHiddenInputProps(itemProps), { className: classesSegmentedControl.itemHiddenInput }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-hidden-input.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-hidden-input.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\tconst itemProps = use(SegmentedControlItemContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"item-hidden-input.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-hidden-input.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\tconst itemProps = use(SegmentedControlItemContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tsegmentedControl.getItemHiddenInputProps(itemProps),\n\t\t{\n\t\t\tclassName: classesSegmentedControl.itemHiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,gBAAgB,OAA6C;CACpF,MAAM,mBAAmB,IAAI,4BAA4B;CACzD,MAAM,YAAY,IAAI,4BAA4B;CAElD,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,iBAAiB,wBAAwB,UAAU,EACnD,EACC,WAAW,wBAAwB,iBACnC,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 react152 from "react";
|
|
4
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/item-text.d.ts
|
|
7
7
|
interface SegmentedControlItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function ItemText(props: SegmentedControlItemTextProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemText(props: SegmentedControlItemTextProps): string | number | bigint | boolean | Iterable<react152.ReactNode> | Promise<string | number | bigint | boolean | react152.ReactPortal | react152.ReactElement<unknown, string | react152.JSXElementConstructor<any>> | Iterable<react152.ReactNode> | null | undefined> | react_jsx_runtime46.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemText, SegmentedControlItemTextProps };
|
|
11
11
|
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -10,7 +10,7 @@ function ItemText(props) {
|
|
|
10
10
|
const segmentedControl = use(SegmentedControlRootContext);
|
|
11
11
|
const itemProps = use(SegmentedControlItemContext);
|
|
12
12
|
const { element, children,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(segmentedControl.getItemTextProps(itemProps),
|
|
13
|
+
const attributes = mergeProps(segmentedControl.getItemTextProps(itemProps), { className: classesSegmentedControl.itemText }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
15
15
|
...attributes,
|
|
16
16
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-text.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function ItemText(props: SegmentedControlItemTextProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\tconst itemProps = use(SegmentedControlItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-text.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function ItemText(props: SegmentedControlItemTextProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\tconst itemProps = use(SegmentedControlItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tsegmentedControl.getItemTextProps(itemProps),\n\t\t{\n\t\t\tclassName: classesSegmentedControl.itemText,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,SAAS,OAAsC;CACtE,MAAM,mBAAmB,IAAI,4BAA4B;CACzD,MAAM,YAAY,IAAI,4BAA4B;CAElD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,iBAAiB,iBAAiB,UAAU,EAC5C,EACC,WAAW,wBAAwB,UACnC,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
|
|
3
|
+
import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/radio-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/item.d.ts
|
|
7
7
|
interface SegmentedControlItemProps extends ItemProps, PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
-
declare function Item(props: SegmentedControlItemProps):
|
|
8
|
+
declare function Item(props: SegmentedControlItemProps): react_jsx_runtime45.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, SegmentedControlItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -11,7 +11,7 @@ function Item(props) {
|
|
|
11
11
|
const segmentedControl = use(SegmentedControlRootContext);
|
|
12
12
|
const [itemProps, componentProps] = splitItemProps(props);
|
|
13
13
|
const { element, children,...rest } = componentProps;
|
|
14
|
-
const attributes = mergeProps(segmentedControl.getItemProps(itemProps),
|
|
14
|
+
const attributes = mergeProps(segmentedControl.getItemProps(itemProps), { className: classesSegmentedControl.item }, rest);
|
|
15
15
|
return /* @__PURE__ */ jsx(SegmentedControlItemContext.Provider, {
|
|
16
16
|
value: itemProps,
|
|
17
17
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { splitItemProps, type ItemProps } from '@zag-js/radio-group';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemProps extends ItemProps, PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Item(props: SegmentedControlItemProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item.tsx"],"sourcesContent":["import { SegmentedControlItemContext } from '../modules/item-context';\nimport { SegmentedControlRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { splitItemProps, type ItemProps } from '@zag-js/radio-group';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SegmentedControlItemProps extends ItemProps, PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Item(props: SegmentedControlItemProps) {\n\tconst segmentedControl = use(SegmentedControlRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\tsegmentedControl.getItemProps(itemProps),\n\t\t{\n\t\t\tclassName: classesSegmentedControl.item,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SegmentedControlItemContext.Provider value={itemProps}>\n\t\t\t{element ? element(attributes) : <label {...attributes}>{children}</label>}\n\t\t</SegmentedControlItemContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,KAAK,OAAkC;CAC9D,MAAM,mBAAmB,IAAI,4BAA4B;CAEzD,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,iBAAiB,aAAa,UAAU,EACxC,EACC,WAAW,wBAAwB,MACnC,EACD,KACA;AAED,QACC,oBAAC,4BAA4B;EAAS,OAAO;YAC3C,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GACpC"}
|
|
@@ -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 { useSegmentedControl } from "../modules/use-segmented-control.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/root-provider.d.ts
|
|
7
7
|
interface SegmentedControlRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useSegmentedControl>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: SegmentedControlRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: SegmentedControlRootProviderProps): react_jsx_runtime43.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SegmentedControlRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/root-provider.tsx
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: segmentedControl,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(segmentedControl.getRootProps(),
|
|
9
|
+
const attributes = mergeProps(segmentedControl.getRootProps(), { className: classesSegmentedControl.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(SegmentedControlRootContext.Provider, {
|
|
11
11
|
value: segmentedControl,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root-provider.tsx"],"sourcesContent":["import { SegmentedControlRootContext } from '../modules/root-context';\nimport type { useSegmentedControl } from '../modules/use-segmented-control';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SegmentedControlRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useSegmentedControl>;\n}\n\nexport default function RootProvider(props: SegmentedControlRootProviderProps) {\n\tconst { element, children, value: segmentedControl, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root-provider.tsx"],"sourcesContent":["import { SegmentedControlRootContext } from '../modules/root-context';\nimport type { useSegmentedControl } from '../modules/use-segmented-control';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SegmentedControlRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useSegmentedControl>;\n}\n\nexport default function RootProvider(props: SegmentedControlRootProviderProps) {\n\tconst { element, children, value: segmentedControl, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tsegmentedControl.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSegmentedControl.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SegmentedControlRootContext.Provider value={segmentedControl}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SegmentedControlRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAA0C;CAC9E,MAAM,EAAE,SAAS,UAAU,OAAO,iBAAkB,GAAG,SAAS;CAEhE,MAAM,aAAa,WAClB,iBAAiB,cAAc,EAC/B,EACC,WAAW,wBAAwB,MACnC,EACD,KACA;AAED,QACC,oBAAC,4BAA4B;EAAS,OAAO;YAC3C,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAChC"}
|
|
@@ -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_runtime42 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/radio-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/root.d.ts
|
|
7
7
|
interface SegmentedControlRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: SegmentedControlRootProps):
|
|
8
|
+
declare function Root(props: SegmentedControlRootProps): react_jsx_runtime42.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, SegmentedControlRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -10,7 +10,7 @@ function Root(props) {
|
|
|
10
10
|
const [segmentedControlProps, componentProps] = splitProps(props);
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const segmentedControl = useSegmentedControl(segmentedControlProps);
|
|
13
|
-
const attributes = mergeProps(segmentedControl.getRootProps(),
|
|
13
|
+
const attributes = mergeProps(segmentedControl.getRootProps(), { className: classesSegmentedControl.root }, rest);
|
|
14
14
|
return /* @__PURE__ */ jsx(SegmentedControlRootContext.Provider, {
|
|
15
15
|
value: segmentedControl,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root.tsx"],"sourcesContent":["import { SegmentedControlRootContext } from '../modules/root-context';\nimport { useSegmentedControl } from '../modules/use-segmented-control';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/radio-group';\nimport type { Props } from '@zag-js/radio-group';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SegmentedControlRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: SegmentedControlRootProps) {\n\tconst [segmentedControlProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst segmentedControl = useSegmentedControl(segmentedControlProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root.tsx"],"sourcesContent":["import { SegmentedControlRootContext } from '../modules/root-context';\nimport { useSegmentedControl } from '../modules/use-segmented-control';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSegmentedControl } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/radio-group';\nimport type { Props } from '@zag-js/radio-group';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SegmentedControlRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: SegmentedControlRootProps) {\n\tconst [segmentedControlProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst segmentedControl = useSegmentedControl(segmentedControlProps);\n\n\tconst attributes = mergeProps(\n\t\tsegmentedControl.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSegmentedControl.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SegmentedControlRootContext.Provider value={segmentedControl}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SegmentedControlRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,KAAK,OAAkC;CAC9D,MAAM,CAAC,uBAAuB,kBAAkB,WAAW,MAAM;CACjE,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,mBAAmB,oBAAoB,sBAAsB;CAEnE,MAAM,aAAa,WAClB,iBAAiB,cAAc,EAC/B,EACC,WAAW,wBAAwB,MACnC,EACD,KACA;AAED,QACC,oBAAC,4BAA4B;EAAS,OAAO;YAC3C,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAChC"}
|
|
@@ -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 react187 from "react";
|
|
4
|
+
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/control.d.ts
|
|
7
7
|
interface SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Control(props: SliderControlProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Control(props: SliderControlProps): string | number | bigint | boolean | Iterable<react187.ReactNode> | Promise<string | number | bigint | boolean | react187.ReactPortal | react187.ReactElement<unknown, string | react187.JSXElementConstructor<any>> | Iterable<react187.ReactNode> | null | undefined> | react_jsx_runtime56.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, SliderControlProps };
|
|
11
11
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Control(props) {
|
|
9
9
|
const slider = use(SliderRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(slider.getControlProps(),
|
|
11
|
+
const attributes = mergeProps(slider.getControlProps(), { className: classesSlider.control }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/slider/anatomy/control.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 SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Control(props: SliderControlProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/slider/anatomy/control.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 SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Control(props: SliderControlProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getControlProps(),\n\t\t{\n\t\t\tclassName: classesSlider.control,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA2B;CAC1D,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,iBAAiB,EACxB,EACC,WAAW,cAAc,SACzB,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 react167 from "react";
|
|
4
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/hidden-input.d.ts
|
|
7
7
|
interface SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: SliderHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function HiddenInput(props: SliderHiddenInputProps): string | number | bigint | boolean | Iterable<react167.ReactNode> | Promise<string | number | bigint | boolean | react167.ReactPortal | react167.ReactElement<unknown, string | react167.JSXElementConstructor<any>> | Iterable<react167.ReactNode> | null | undefined> | react_jsx_runtime52.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { HiddenInput, SliderHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -10,7 +10,7 @@ function HiddenInput(props) {
|
|
|
10
10
|
const slider = use(SliderRootContext);
|
|
11
11
|
const thumbProps = use(SliderThumbContext);
|
|
12
12
|
const { element,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(slider.getHiddenInputProps(thumbProps),
|
|
13
|
+
const attributes = mergeProps(slider.getHiddenInputProps(thumbProps), { className: classesSlider.hiddenInput }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/slider/anatomy/hidden-input.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { SliderThumbContext } from '../modules/thumb-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 SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SliderHiddenInputProps) {\n\tconst slider = use(SliderRootContext);\n\tconst thumbProps = use(SliderThumbContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/slider/anatomy/hidden-input.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { SliderThumbContext } from '../modules/thumb-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 SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SliderHiddenInputProps) {\n\tconst slider = use(SliderRootContext);\n\tconst thumbProps = use(SliderThumbContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getHiddenInputProps(thumbProps),\n\t\t{\n\t\t\tclassName: classesSlider.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,YAAY,OAA+B;CAClE,MAAM,SAAS,IAAI,kBAAkB;CACrC,MAAM,aAAa,IAAI,mBAAmB;CAE1C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,OAAO,oBAAoB,WAAW,EACtC,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 react177 from "react";
|
|
4
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/label.d.ts
|
|
7
7
|
interface SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
-
declare function Label(props: SliderLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: SliderLabelProps): string | number | bigint | boolean | Iterable<react177.ReactNode> | Promise<string | number | bigint | boolean | react177.ReactPortal | react177.ReactElement<unknown, string | react177.JSXElementConstructor<any>> | Iterable<react177.ReactNode> | null | undefined> | react_jsx_runtime54.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, SliderLabelProps };
|
|
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 slider = use(SliderRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(slider.getLabelProps(),
|
|
11
|
+
const attributes = mergeProps(slider.getLabelProps(), { className: classesSlider.label }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/slider/anatomy/label.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 SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Label(props: SliderLabelProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/slider/anatomy/label.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 SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Label(props: SliderLabelProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesSlider.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <label {...attributes}>{children}</label>;\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;EAAM,GAAI;EAAa;GAAiB"}
|
|
@@ -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 react192 from "react";
|
|
4
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/marker-group.d.ts
|
|
7
7
|
interface SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function MarkerGroup(props: SliderMarkerGroupProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function MarkerGroup(props: SliderMarkerGroupProps): string | number | bigint | boolean | Iterable<react192.ReactNode> | Promise<string | number | bigint | boolean | react192.ReactPortal | react192.ReactElement<unknown, string | react192.JSXElementConstructor<any>> | Iterable<react192.ReactNode> | null | undefined> | react_jsx_runtime57.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { MarkerGroup, SliderMarkerGroupProps };
|
|
11
11
|
//# sourceMappingURL=marker-group.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function MarkerGroup(props) {
|
|
9
9
|
const slider = use(SliderRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(slider.getMarkerGroupProps(),
|
|
11
|
+
const attributes = mergeProps(slider.getMarkerGroupProps(), { className: classesSlider.markerGroup }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker-group.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker-group.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 SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function MarkerGroup(props: SliderMarkerGroupProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"marker-group.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker-group.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 SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function MarkerGroup(props: SliderMarkerGroupProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getMarkerGroupProps(),\n\t\t{\n\t\t\tclassName: classesSlider.markerGroup,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA+B;CAClE,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,qBAAqB,EAC5B,EACC,WAAW,cAAc,aACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -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 react197 from "react";
|
|
4
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
5
5
|
import { MarkerProps } from "@zag-js/slider";
|
|
6
6
|
|
|
7
7
|
//#region src/components/slider/anatomy/marker.d.ts
|
|
8
8
|
interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
9
|
-
declare function Marker(props: SliderMarkerProps): string | number | bigint | boolean | Iterable<
|
|
9
|
+
declare function Marker(props: SliderMarkerProps): string | number | bigint | boolean | Iterable<react197.ReactNode> | Promise<string | number | bigint | boolean | react197.ReactPortal | react197.ReactElement<unknown, string | react197.JSXElementConstructor<any>> | Iterable<react197.ReactNode> | null | undefined> | react_jsx_runtime58.JSX.Element | null | undefined;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Marker, SliderMarkerProps };
|
|
12
12
|
//# sourceMappingURL=marker.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Marker(props) {
|
|
9
9
|
const slider = use(SliderRootContext);
|
|
10
10
|
const { element, children, value,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(slider.getMarkerProps({ value }),
|
|
11
|
+
const attributes = mergeProps(slider.getMarkerProps({ value }), { className: classesSlider.marker }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children: children ?? value
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker.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 type { MarkerProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Marker(props: SliderMarkerProps) {\n\tconst slider = use(SliderRootContext);\n\n\t// TODO: Split `markerProps` from `props` using the missing `splitMarkerProps` function: https://github.com/chakra-ui/zag/issues/2725\n\tconst { element, children, value, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"marker.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker.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 type { MarkerProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Marker(props: SliderMarkerProps) {\n\tconst slider = use(SliderRootContext);\n\n\t// TODO: Split `markerProps` from `props` using the missing `splitMarkerProps` function: https://github.com/chakra-ui/zag/issues/2725\n\tconst { element, children, value, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getMarkerProps({ value }),\n\t\t{\n\t\t\tclassName: classesSlider.marker,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children ?? value}</div>;\n}\n"],"mappings":";;;;;;;AAUA,SAAwB,OAAO,OAA0B;CACxD,MAAM,SAAS,IAAI,kBAAkB;CAGrC,MAAM,EAAE,SAAS,UAAU,MAAO,GAAG,SAAS;CAE9C,MAAM,aAAa,WAClB,OAAO,eAAe,EAAE,OAAO,CAAC,EAChC,EACC,WAAW,cAAc,QACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;YAAa,YAAY;GAAY"}
|
|
@@ -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 react172 from "react";
|
|
4
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/range.d.ts
|
|
7
7
|
interface SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Range(props: SliderRangeProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Range(props: SliderRangeProps): string | number | bigint | boolean | Iterable<react172.ReactNode> | Promise<string | number | bigint | boolean | react172.ReactPortal | react172.ReactElement<unknown, string | react172.JSXElementConstructor<any>> | Iterable<react172.ReactNode> | null | undefined> | react_jsx_runtime53.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Range, SliderRangeProps };
|
|
11
11
|
//# sourceMappingURL=range.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Range(props) {
|
|
9
9
|
const slider = use(SliderRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(slider.getRangeProps(),
|
|
11
|
+
const attributes = mergeProps(slider.getRangeProps(), { className: classesSlider.range }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/slider/anatomy/range.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 SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Range(props: SliderRangeProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/slider/anatomy/range.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 SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Range(props: SliderRangeProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getRangeProps(),\n\t\t{\n\t\t\tclassName: classesSlider.range,\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,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 { useSlider } from "../modules/use-slider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root-provider.d.ts
|
|
7
7
|
interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSlider>;
|
|
9
9
|
}
|
|
10
|
-
declare function SliderRootProvider(props: SliderRootProviderProps):
|
|
10
|
+
declare function SliderRootProvider(props: SliderRootProviderProps): react_jsx_runtime49.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SliderRootProvider, SliderRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/slider/anatomy/root-provider.tsx
|
|
7
7
|
function SliderRootProvider(props) {
|
|
8
8
|
const { element, children, value: slider,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(slider.getRootProps(),
|
|
9
|
+
const attributes = mergeProps(slider.getRootProps(), { className: classesSlider.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(SliderRootContext.Provider, {
|
|
11
11
|
value: slider,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/slider/anatomy/root-provider.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { useSlider } from '../modules/use-slider';\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';\n\nexport interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSlider>;\n}\n\nexport default function SliderRootProvider(props: SliderRootProviderProps) {\n\tconst { element, children, value: slider, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/slider/anatomy/root-provider.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { useSlider } from '../modules/use-slider';\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';\n\nexport interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSlider>;\n}\n\nexport default function SliderRootProvider(props: SliderRootProviderProps) {\n\tconst { element, children, value: slider, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSlider.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SliderRootContext.Provider value={slider}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,mBAAmB,OAAgC;CAC1E,MAAM,EAAE,SAAS,UAAU,OAAO,OAAQ,GAAG,SAAS;CAEtD,MAAM,aAAa,WAClB,OAAO,cAAc,EACrB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC1C"}
|
|
@@ -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_runtime48 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root.d.ts
|
|
7
7
|
interface SliderRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}
|
|
8
|
-
declare function SliderRoot(props: SliderRootProps):
|
|
8
|
+
declare function SliderRoot(props: SliderRootProps): react_jsx_runtime48.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderRoot, SliderRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -10,7 +10,7 @@ function SliderRoot(props) {
|
|
|
10
10
|
const [sliderProps, componentProps] = splitProps(props);
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const slider = useSlider(sliderProps);
|
|
13
|
-
const attributes = mergeProps(slider.getRootProps(),
|
|
13
|
+
const attributes = mergeProps(slider.getRootProps(), { className: classesSlider.root }, rest);
|
|
14
14
|
return /* @__PURE__ */ jsx(SliderRootContext.Provider, {
|
|
15
15
|
value: slider,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/slider/anatomy/root.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { useSlider } from '../modules/use-slider';\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 { splitProps } from '@zag-js/slider';\nimport type { Props } from '@zag-js/slider';\n\nexport interface SliderRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}\n\nexport default function SliderRoot(props: SliderRootProps) {\n\tconst [sliderProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst slider = useSlider(sliderProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/slider/anatomy/root.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { useSlider } from '../modules/use-slider';\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 { splitProps } from '@zag-js/slider';\nimport type { Props } from '@zag-js/slider';\n\nexport interface SliderRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}\n\nexport default function SliderRoot(props: SliderRootProps) {\n\tconst [sliderProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst slider = useSlider(sliderProps);\n\n\tconst attributes = mergeProps(\n\t\tslider.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSlider.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SliderRootContext.Provider value={slider}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,WAAW,OAAwB;CAC1D,MAAM,CAAC,aAAa,kBAAkB,WAAW,MAAM;CACvD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,SAAS,UAAU,YAAY;CAErC,MAAM,aAAa,WAClB,OAAO,cAAc,EACrB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC1C"}
|
|
@@ -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_runtime51 from "react/jsx-runtime";
|
|
4
4
|
import { ThumbProps } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/thumb.d.ts
|
|
7
7
|
interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Thumb(props: SliderThumbProps):
|
|
8
|
+
declare function Thumb(props: SliderThumbProps): react_jsx_runtime51.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderThumbProps, Thumb };
|
|
11
11
|
//# sourceMappingURL=thumb.d.ts.map
|
|
@@ -11,7 +11,7 @@ function Thumb(props) {
|
|
|
11
11
|
const slider = use(SliderRootContext);
|
|
12
12
|
const [thumbProps, componentProps] = splitThumbProps(props);
|
|
13
13
|
const { element, children,...rest } = componentProps;
|
|
14
|
-
const attributes = mergeProps(slider.getThumbProps(thumbProps),
|
|
14
|
+
const attributes = mergeProps(slider.getThumbProps(thumbProps), { className: classesSlider.thumb }, rest);
|
|
15
15
|
return /* @__PURE__ */ jsx(SliderThumbContext.Provider, {
|
|
16
16
|
value: thumbProps,
|
|
17
17
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { SliderThumbContext } from '../modules/thumb-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 { splitThumbProps, type ThumbProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Thumb(props: SliderThumbProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst [thumbProps, componentProps] = splitThumbProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { SliderThumbContext } from '../modules/thumb-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 { splitThumbProps, type ThumbProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Thumb(props: SliderThumbProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst [thumbProps, componentProps] = splitThumbProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\tslider.getThumbProps(thumbProps),\n\t\t{\n\t\t\tclassName: classesSlider.thumb,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SliderThumbContext.Provider value={thumbProps}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderThumbContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,CAAC,YAAY,kBAAkB,gBAAgB,MAAM;CAC3D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,cAAc,WAAW,EAChC,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QACC,oBAAC,mBAAmB;EAAS,OAAO;YAClC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACzC"}
|
|
@@ -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 react162 from "react";
|
|
4
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/track.d.ts
|
|
7
7
|
interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Track(props: SliderTrackProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Track(props: SliderTrackProps): string | number | bigint | boolean | Iterable<react162.ReactNode> | Promise<string | number | bigint | boolean | react162.ReactPortal | react162.ReactElement<unknown, string | react162.JSXElementConstructor<any>> | Iterable<react162.ReactNode> | null | undefined> | react_jsx_runtime50.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderTrackProps, Track };
|
|
11
11
|
//# sourceMappingURL=track.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Track(props) {
|
|
9
9
|
const slider = use(SliderRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(slider.getTrackProps(),
|
|
11
|
+
const attributes = mergeProps(slider.getTrackProps(), { className: classesSlider.track }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|