@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,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/root.d.ts
|
|
6
6
|
interface PopoverRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: PopoverRootProps):
|
|
7
|
+
declare function Root(props: PopoverRootProps): react_jsx_runtime4.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PopoverRootProps, Root };
|
|
10
10
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;UAKiB,gBAAA,SAAyB,mBAAmB,KAAK;iBAE1C,IAAA,QAAY,mBAAgB,
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;UAKiB,gBAAA,SAAyB,mBAAmB,KAAK;iBAE1C,IAAA,QAAY,mBAAgB,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -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 react0 from "react";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/popover/anatomy/title.d.ts
|
|
7
7
|
interface PopoverTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Title(props: PopoverTitleProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Title(props: PopoverTitleProps): string | number | bigint | boolean | Iterable<react0.ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<react0.ReactNode> | null | undefined> | react_jsx_runtime0.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { PopoverTitleProps, Title };
|
|
11
11
|
//# sourceMappingURL=title.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/title.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,yDAAiB,SAAA,
|
|
1
|
+
{"version":3,"file":"title.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/title.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,yDAAiB,SAAA,MAAA,CAAA,SAAA,IAAA,6CAAA,MAAA,CAAA,WAAA,GAAA,MAAA,CAAA,+BAAA,MAAA,CAAA,8BAAA,SAAA,MAAA,CAAA,SAAA,wBAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Title(props) {
|
|
9
9
|
const popover = use(PopoverRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(popover.getTitleProps(),
|
|
11
|
+
const attributes = mergeProps(popover.getTitleProps(), { className: classesPopover.title }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.js","names":[],"sources":["../../../../src/components/popover/anatomy/title.tsx"],"sourcesContent":["import { PopoverRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesPopover } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface PopoverTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Title(props: PopoverTitleProps) {\n\tconst popover = use(PopoverRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"title.js","names":[],"sources":["../../../../src/components/popover/anatomy/title.tsx"],"sourcesContent":["import { PopoverRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesPopover } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface PopoverTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Title(props: PopoverTitleProps) {\n\tconst popover = use(PopoverRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tpopover.getTitleProps(),\n\t\t{\n\t\t\tclassName: classesPopover.title,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA0B;CACvD,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,eAAe,OAC1B,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
|
|
3
|
+
import * as react19 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/popover/anatomy/trigger.d.ts
|
|
8
8
|
interface PopoverTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
9
|
-
declare function Trigger(props: PopoverTriggerProps): string | number | bigint | boolean | Iterable<
|
|
9
|
+
declare function Trigger(props: PopoverTriggerProps): string | number | bigint | boolean | Iterable<react19.ReactNode> | Promise<string | number | bigint | boolean | react19.ReactPortal | react19.ReactElement<unknown, string | react19.JSXElementConstructor<any>> | Iterable<react19.ReactNode> | null | undefined> | react_jsx_runtime6.JSX.Element | null | undefined;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { PopoverTriggerProps, Trigger };
|
|
12
12
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAOiB,mBAAA,SAA4B,mBAAmB,4BAA4B;iBAEpE,OAAA,QAAe,2DAAmB,SAAA,
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAOiB,mBAAA,SAA4B,mBAAmB,4BAA4B;iBAEpE,OAAA,QAAe,2DAAmB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Trigger(props) {
|
|
9
9
|
const popover = use(PopoverRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(popover.getTriggerProps(),
|
|
11
|
+
const attributes = mergeProps(popover.getTriggerProps(), { className: classesPopover.trigger }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/popover/anatomy/trigger.tsx"],"sourcesContent":["import { PopoverRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesPopover } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { type PropsWithChildren, use } from 'react';\n\nexport interface PopoverTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function Trigger(props: PopoverTriggerProps) {\n\tconst popover = use(PopoverRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/popover/anatomy/trigger.tsx"],"sourcesContent":["import { PopoverRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesPopover } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { type PropsWithChildren, use } from 'react';\n\nexport interface PopoverTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function Trigger(props: PopoverTriggerProps) {\n\tconst popover = use(PopoverRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tpopover.getTriggerProps(),\n\t\t{\n\t\t\tclassName: classesPopover.trigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA4B;CAC3D,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,iBAAiB,EACzB,EACC,WAAW,eAAe,SAC1B,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 react114 from "react";
|
|
4
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/label.d.ts
|
|
7
7
|
interface ProgressLinearLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Label(props: ProgressLinearLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: ProgressLinearLabelProps): string | number | bigint | boolean | Iterable<react114.ReactNode> | Promise<string | number | bigint | boolean | react114.ReactPortal | react114.ReactElement<unknown, string | react114.JSXElementConstructor<any>> | Iterable<react114.ReactNode> | null | undefined> | react_jsx_runtime31.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, ProgressLinearLabelProps };
|
|
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 progressLinear = use(ProgressLinearRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(progressLinear.getLabelProps(),
|
|
11
|
+
const attributes = mergeProps(progressLinear.getLabelProps(), { className: classesProgressLinear.label }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/label.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressLinearLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Label(props: ProgressLinearLabelProps) {\n\tconst progressLinear = use(ProgressLinearRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/label.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressLinearLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Label(props: ProgressLinearLabelProps) {\n\tconst progressLinear = use(ProgressLinearRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogressLinear.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesProgressLinear.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAiC;CAC9D,MAAM,iBAAiB,IAAI,0BAA0B;CAErD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,eAAe,eAAe,EAC9B,EACC,WAAW,sBAAsB,OACjC,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 react119 from "react";
|
|
4
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/range.d.ts
|
|
7
7
|
interface ProgressLinearRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
8
|
-
declare function Range(props: ProgressLinearRangeProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Range(props: ProgressLinearRangeProps): string | number | bigint | boolean | Iterable<react119.ReactNode> | Promise<string | number | bigint | boolean | react119.ReactPortal | react119.ReactElement<unknown, string | react119.JSXElementConstructor<any>> | Iterable<react119.ReactNode> | null | undefined> | react_jsx_runtime32.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearRangeProps, Range };
|
|
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 progressLinear = use(ProgressLinearRootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(progressLinear.getRangeProps(),
|
|
11
|
+
const attributes = mergeProps(progressLinear.getRangeProps(), { className: classesProgressLinear.range }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/range.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressLinearRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Range(props: ProgressLinearRangeProps) {\n\tconst progressLinear = use(ProgressLinearRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/range.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressLinearRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Range(props: ProgressLinearRangeProps) {\n\tconst progressLinear = use(ProgressLinearRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogressLinear.getRangeProps(),\n\t\t{\n\t\t\tclassName: classesProgressLinear.range,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAiC;CAC9D,MAAM,iBAAiB,IAAI,0BAA0B;CAErD,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,eAAe,eAAe,EAC9B,EACC,WAAW,sBAAsB,OACjC,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,SAAI,GAAI,aAAc"}
|
|
@@ -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 { useProgressLinear } from "../modules/use-progress-linear.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/root-provider.d.ts
|
|
7
7
|
interface ProgressLinearRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useProgressLinear>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: ProgressLinearRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: ProgressLinearRootProviderProps): react_jsx_runtime34.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ProgressLinearRootProviderProps, RootProvider };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/root-provider.tsx
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: progressLinear,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(progressLinear.getRootProps(),
|
|
9
|
+
const attributes = mergeProps(progressLinear.getRootProps(), { className: classesProgressLinear.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(ProgressLinearRootContext.Provider, {
|
|
11
11
|
value: progressLinear,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/root-provider.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { useProgressLinear } from '../modules/use-progress-linear';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ProgressLinearRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useProgressLinear>;\n}\n\nexport default function RootProvider(props: ProgressLinearRootProviderProps) {\n\tconst { element, children, value: progressLinear, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/root-provider.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { useProgressLinear } from '../modules/use-progress-linear';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ProgressLinearRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useProgressLinear>;\n}\n\nexport default function RootProvider(props: ProgressLinearRootProviderProps) {\n\tconst { element, children, value: progressLinear, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogressLinear.getRootProps(),\n\t\t{\n\t\t\tclassName: classesProgressLinear.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<ProgressLinearRootContext.Provider value={progressLinear}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</ProgressLinearRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAAwC;CAC5E,MAAM,EAAE,SAAS,UAAU,OAAO,eAAgB,GAAG,SAAS;CAE9D,MAAM,aAAa,WAClB,eAAe,cAAc,EAC7B,EACC,WAAW,sBAAsB,MACjC,EACD,KACA;AAED,QACC,oBAAC,0BAA0B;EAAS,OAAO;YACzC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAClC"}
|
|
@@ -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_runtime33 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/progress";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/root.d.ts
|
|
7
7
|
interface ProgressLinearRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: ProgressLinearRootProps):
|
|
8
|
+
declare function Root(props: ProgressLinearRootProps): react_jsx_runtime33.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -10,7 +10,7 @@ function Root(props) {
|
|
|
10
10
|
const [progressLinearProps, componentProps] = splitProps(props);
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const progressLinear = useProgressLinear(progressLinearProps);
|
|
13
|
-
const attributes = mergeProps(progressLinear.getRootProps(),
|
|
13
|
+
const attributes = mergeProps(progressLinear.getRootProps(), { className: classesProgressLinear.root }, rest);
|
|
14
14
|
return /* @__PURE__ */ jsx(ProgressLinearRootContext.Provider, {
|
|
15
15
|
value: progressLinear,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/root.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport { useProgressLinear } from '../modules/use-progress-linear';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/progress';\nimport type { Props } from '@zag-js/progress';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ProgressLinearRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: ProgressLinearRootProps) {\n\tconst [progressLinearProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst progressLinear = useProgressLinear(progressLinearProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/root.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport { useProgressLinear } from '../modules/use-progress-linear';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/progress';\nimport type { Props } from '@zag-js/progress';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ProgressLinearRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: ProgressLinearRootProps) {\n\tconst [progressLinearProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst progressLinear = useProgressLinear(progressLinearProps);\n\n\tconst attributes = mergeProps(\n\t\tprogressLinear.getRootProps(),\n\t\t{\n\t\t\tclassName: classesProgressLinear.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<ProgressLinearRootContext.Provider value={progressLinear}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</ProgressLinearRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,KAAK,OAAgC;CAC5D,MAAM,CAAC,qBAAqB,kBAAkB,WAAW,MAAM;CAC/D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,iBAAiB,kBAAkB,oBAAoB;CAE7D,MAAM,aAAa,WAClB,eAAe,cAAc,EAC7B,EACC,WAAW,sBAAsB,MACjC,EACD,KACA;AAED,QACC,oBAAC,0BAA0B;EAAS,OAAO;YACzC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAClC"}
|
|
@@ -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 react124 from "react";
|
|
4
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/progress-linear/anatomy/track.d.ts
|
|
7
7
|
interface ProgressLinearTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Track(props: ProgressLinearTrackProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Track(props: ProgressLinearTrackProps): string | number | bigint | boolean | Iterable<react124.ReactNode> | Promise<string | number | bigint | boolean | react124.ReactPortal | react124.ReactElement<unknown, string | react124.JSXElementConstructor<any>> | Iterable<react124.ReactNode> | null | undefined> | react_jsx_runtime35.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ProgressLinearTrackProps, 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 progressLinear = use(ProgressLinearRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(progressLinear.getTrackProps(),
|
|
11
|
+
const attributes = mergeProps(progressLinear.getTrackProps(), { className: classesProgressLinear.track }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/track.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressLinearTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: ProgressLinearTrackProps) {\n\tconst progressLinear = use(ProgressLinearRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/progress-linear/anatomy/track.tsx"],"sourcesContent":["import { ProgressLinearRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesProgressLinear } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ProgressLinearTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: ProgressLinearTrackProps) {\n\tconst progressLinear = use(ProgressLinearRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tprogressLinear.getTrackProps(),\n\t\t{\n\t\t\tclassName: classesProgressLinear.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,OAAiC;CAC9D,MAAM,iBAAiB,IAAI,0BAA0B;CAErD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,eAAe,eAAe,EAC9B,EACC,WAAW,sBAAsB,OACjC,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 react129 from "react";
|
|
4
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/control.d.ts
|
|
7
7
|
interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
-
declare function Control(props: RatingGroupControlProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Control(props: RatingGroupControlProps): string | number | bigint | boolean | Iterable<react129.ReactNode> | Promise<string | number | bigint | boolean | react129.ReactPortal | react129.ReactElement<unknown, string | react129.JSXElementConstructor<any>> | Iterable<react129.ReactNode> | null | undefined> | react_jsx_runtime36.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, RatingGroupControlProps };
|
|
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 ratingGroup = use(RatingGroupRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(ratingGroup.getControlProps(),
|
|
11
|
+
const attributes = mergeProps(ratingGroup.getControlProps(), { className: classesRatingGroup.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/rating-group/anatomy/control.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function Control(props: RatingGroupControlProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/control.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function Control(props: RatingGroupControlProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tratingGroup.getControlProps(),\n\t\t{\n\t\t\tclassName: classesRatingGroup.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,OAAgC;CAC/D,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,YAAY,iBAAiB,EAC7B,EACC,WAAW,mBAAmB,SAC9B,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 react134 from "react";
|
|
4
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/hidden-input.d.ts
|
|
7
7
|
interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: RatingGroupHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function HiddenInput(props: RatingGroupHiddenInputProps): string | number | bigint | boolean | Iterable<react134.ReactNode> | Promise<string | number | bigint | boolean | react134.ReactPortal | react134.ReactElement<unknown, string | react134.JSXElementConstructor<any>> | Iterable<react134.ReactNode> | null | undefined> | react_jsx_runtime37.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { HiddenInput, RatingGroupHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function HiddenInput(props) {
|
|
9
9
|
const ratingGroup = use(RatingGroupRootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(ratingGroup.getHiddenInputProps(),
|
|
11
|
+
const attributes = mergeProps(ratingGroup.getHiddenInputProps(), { className: classesRatingGroup.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/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}\n\nexport default function HiddenInput(props: RatingGroupHiddenInputProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}\n\nexport default function HiddenInput(props: RatingGroupHiddenInputProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tratingGroup.getHiddenInputProps(),\n\t\t{\n\t\t\tclassName: classesRatingGroup.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAAoC;CACvE,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,YAAY,qBAAqB,EACjC,EACC,WAAW,mBAAmB,aAC9B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
|
|
@@ -1,8 +1,8 @@
|
|
|
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 react139 from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
6
6
|
import { ItemProps } from "@zag-js/rating-group";
|
|
7
7
|
|
|
8
8
|
//#region src/components/rating-group/anatomy/item.d.ts
|
|
@@ -26,7 +26,7 @@ interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTML
|
|
|
26
26
|
*/
|
|
27
27
|
full?: ReactNode;
|
|
28
28
|
}
|
|
29
|
-
declare function Item(props: RatingGroupItemProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean |
|
|
29
|
+
declare function Item(props: RatingGroupItemProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react139.ReactPortal | react139.ReactElement<unknown, string | react139.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime38.JSX.Element | null | undefined;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Item, RatingGroupItemProps };
|
|
32
32
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -4,7 +4,7 @@ import StarFull from "../../../internal/components/star-full.js";
|
|
|
4
4
|
import StarHalf from "../../../internal/components/star-half.js";
|
|
5
5
|
import { use } from "react";
|
|
6
6
|
import { mergeProps } from "@zag-js/react";
|
|
7
|
-
import {
|
|
7
|
+
import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { splitItemProps } from "@zag-js/rating-group";
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ function Item(props) {
|
|
|
14
14
|
const [itemProps, componentProps] = splitItemProps(props);
|
|
15
15
|
const { element, children, empty = /* @__PURE__ */ jsx(StarEmpty, {}), half = /* @__PURE__ */ jsx(StarHalf, {}), full = /* @__PURE__ */ jsx(StarFull, {}),...rest } = componentProps;
|
|
16
16
|
const itemState = ratingGroup.getItemState(itemProps);
|
|
17
|
-
const attributes = mergeProps(ratingGroup.getItemProps(itemProps),
|
|
17
|
+
const attributes = mergeProps(ratingGroup.getItemProps(itemProps), { className: classesRatingGroup.item }, rest);
|
|
18
18
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
19
19
|
...attributes,
|
|
20
20
|
children: children ? children : !itemState.highlighted ? empty : itemState.half ? half : full
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport StarEmpty from '@/internal/components/star-empty';\nimport StarFull from '@/internal/components/star-full';\nimport StarHalf from '@/internal/components/star-half';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport {
|
|
1
|
+
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport StarEmpty from '@/internal/components/star-empty';\nimport StarFull from '@/internal/components/star-full';\nimport StarHalf from '@/internal/components/star-half';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { splitItemProps } from '@zag-js/rating-group';\nimport type { ItemProps } from '@zag-js/rating-group';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span', 'id' | 'dir'> {\n\t/**\n\t * The content to render when the item is in the empty state.\n\t *\n\t * @default StarEmpty (SVG)\n\t */\n\tempty?: ReactNode;\n\t/**\n\t * The content to render when the item is in the half state.\n\t *\n\t * @default StarHalf (SVG)\n\t */\n\thalf?: ReactNode;\n\t/**\n\t * The content to render when the item is in the full state.\n\t *\n\t * @default StarFull (SVG)\n\t */\n\tfull?: ReactNode;\n}\n\nexport default function Item(props: RatingGroupItemProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, empty = <StarEmpty />, half = <StarHalf />, full = <StarFull />, ...rest } = componentProps;\n\n\tconst itemState = ratingGroup.getItemState(itemProps);\n\n\tconst attributes = mergeProps(\n\t\tratingGroup.getItemProps(itemProps),\n\t\t{\n\t\t\tclassName: classesRatingGroup.item,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? (\n\t\telement(attributes)\n\t) : (\n\t\t<div {...attributes}>{children ? children : !itemState.highlighted ? empty : itemState.half ? half : full}</div>\n\t);\n}\n"],"mappings":";;;;;;;;;;;AAkCA,SAAwB,KAAK,OAA6B;CACzD,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,UAAU,QAAQ,oBAAC,cAAY,EAAE,OAAO,oBAAC,aAAW,EAAE,OAAO,oBAAC,aAAW,CAAE,GAAG,SAAS;CAExG,MAAM,YAAY,YAAY,aAAa,UAAU;CAErD,MAAM,aAAa,WAClB,YAAY,aAAa,UAAU,EACnC,EACC,WAAW,mBAAmB,MAC9B,EACD,KACA;AAED,QAAO,UACN,QAAQ,WAAW,GAEnB,oBAAC;EAAI,GAAI;YAAa,WAAW,WAAW,CAAC,UAAU,cAAc,QAAQ,UAAU,OAAO,OAAO;GAAW"}
|
|
@@ -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 react142 from "react";
|
|
4
|
+
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/label.d.ts
|
|
7
7
|
interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
|
|
8
|
-
declare function Label(props: RatingGroupLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: RatingGroupLabelProps): string | number | bigint | boolean | Iterable<react142.ReactNode> | Promise<string | number | bigint | boolean | react142.ReactPortal | react142.ReactElement<unknown, string | react142.JSXElementConstructor<any>> | Iterable<react142.ReactNode> | null | undefined> | react_jsx_runtime39.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, RatingGroupLabelProps };
|
|
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 ratingGroup = use(RatingGroupRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(ratingGroup.getLabelProps(),
|
|
11
|
+
const attributes = mergeProps(ratingGroup.getLabelProps(), { className: classesRatingGroup.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/rating-group/anatomy/label.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function Label(props: RatingGroupLabelProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/label.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function Label(props: RatingGroupLabelProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tratingGroup.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesRatingGroup.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,OAA8B;CAC3D,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,YAAY,eAAe,EAC3B,EACC,WAAW,mBAAmB,OAC9B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAM,GAAI;EAAa;GAAiB"}
|
|
@@ -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 { useRatingGroup } from "../modules/use-rating-group.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime41 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/root-provider.d.ts
|
|
7
7
|
interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useRatingGroup>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: RatingGroupRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: RatingGroupRootProviderProps): react_jsx_runtime41.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RatingGroupRootProviderProps, RootProvider };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/root-provider.tsx
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: ratingGroup,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(ratingGroup.getRootProps(),
|
|
9
|
+
const attributes = mergeProps(ratingGroup.getRootProps(), { className: classesRatingGroup.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(RatingGroupRootContext.Provider, {
|
|
11
11
|
value: ratingGroup,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-provider.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { useRatingGroup } from '../modules/use-rating-group';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useRatingGroup>;\n}\n\nexport default function RootProvider(props: RatingGroupRootProviderProps) {\n\tconst { element, children, value: ratingGroup, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-provider.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { useRatingGroup } from '../modules/use-rating-group';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useRatingGroup>;\n}\n\nexport default function RootProvider(props: RatingGroupRootProviderProps) {\n\tconst { element, children, value: ratingGroup, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tratingGroup.getRootProps(),\n\t\t{\n\t\t\tclassName: classesRatingGroup.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RatingGroupRootContext.Provider value={ratingGroup}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RatingGroupRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAAqC;CACzE,MAAM,EAAE,SAAS,UAAU,OAAO,YAAa,GAAG,SAAS;CAE3D,MAAM,aAAa,WAClB,YAAY,cAAc,EAC1B,EACC,WAAW,mBAAmB,MAC9B,EACD,KACA;AAED,QACC,oBAAC,uBAAuB;EAAS,OAAO;YACtC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACrC"}
|
|
@@ -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_runtime40 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/rating-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/root.d.ts
|
|
7
7
|
interface RatingGroupRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: RatingGroupRootProps):
|
|
8
|
+
declare function Root(props: RatingGroupRootProps): react_jsx_runtime40.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { RatingGroupRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -10,7 +10,7 @@ function Root(props) {
|
|
|
10
10
|
const [ratingGroupProps, componentProps] = splitProps(props);
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const ratingGroup = useRatingGroup(ratingGroupProps);
|
|
13
|
-
const attributes = mergeProps(ratingGroup.getRootProps(),
|
|
13
|
+
const attributes = mergeProps(ratingGroup.getRootProps(), { className: classesRatingGroup.root }, rest);
|
|
14
14
|
return /* @__PURE__ */ jsx(RatingGroupRootContext.Provider, {
|
|
15
15
|
value: ratingGroup,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport { useRatingGroup } from '../modules/use-rating-group';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/rating-group';\nimport type { Props } from '@zag-js/rating-group';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface RatingGroupRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: RatingGroupRootProps) {\n\tconst [ratingGroupProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst ratingGroup = useRatingGroup(ratingGroupProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport { useRatingGroup } from '../modules/use-rating-group';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/rating-group';\nimport type { Props } from '@zag-js/rating-group';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface RatingGroupRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: RatingGroupRootProps) {\n\tconst [ratingGroupProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst ratingGroup = useRatingGroup(ratingGroupProps);\n\n\tconst attributes = mergeProps(\n\t\tratingGroup.getRootProps(),\n\t\t{\n\t\t\tclassName: classesRatingGroup.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RatingGroupRootContext.Provider value={ratingGroup}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RatingGroupRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,KAAK,OAA6B;CACzD,MAAM,CAAC,kBAAkB,kBAAkB,WAAW,MAAM;CAC5D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,cAAc,eAAe,iBAAiB;CAEpD,MAAM,aAAa,WAClB,YAAY,cAAc,EAC1B,EACC,WAAW,mBAAmB,MAC9B,EACD,KACA;AAED,QACC,oBAAC,uBAAuB;EAAS,OAAO;YACtC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACrC"}
|
|
@@ -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 react147 from "react";
|
|
4
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/indicator.d.ts
|
|
7
7
|
interface SegmentedControlIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
8
|
-
declare function Indicator(props: SegmentedControlIndicatorProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Indicator(props: SegmentedControlIndicatorProps): string | number | bigint | boolean | Iterable<react147.ReactNode> | Promise<string | number | bigint | boolean | react147.ReactPortal | react147.ReactElement<unknown, string | react147.JSXElementConstructor<any>> | Iterable<react147.ReactNode> | null | undefined> | react_jsx_runtime44.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Indicator, SegmentedControlIndicatorProps };
|
|
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 segmentedControl = use(SegmentedControlRootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(segmentedControl.getIndicatorProps(),
|
|
11
|
+
const attributes = mergeProps(segmentedControl.getIndicatorProps(), { className: classesSegmentedControl.indicator }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
|
|
13
13
|
}
|
|
14
14
|
|