@skeletonlabs/skeleton-react 2.0.0-next.13 → 2.0.0-next.15
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 +2 -3
- package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-content.js +4 -4
- package/dist/components/accordion/anatomy/item-content.js.map +1 -1
- package/dist/components/accordion/anatomy/item-heading.d.ts +2 -4
- package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -3
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.js +4 -4
- package/dist/components/accordion/anatomy/item-indicator.js.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -3
- package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.js +4 -4
- 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.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item.js +4 -4
- package/dist/components/accordion/anatomy/item.js.map +1 -1
- package/dist/components/accordion/anatomy/root-context.d.ts +1 -1
- package/dist/components/accordion/anatomy/root-context.js +4 -4
- package/dist/components/accordion/anatomy/root-context.js.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.d.ts +3 -3
- package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.js +2 -2
- 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.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root.js +3 -3
- package/dist/components/accordion/anatomy/root.js.map +1 -1
- package/dist/components/accordion/modules/item-context.js +2 -2
- package/dist/components/accordion/modules/item-context.js.map +1 -1
- package/dist/components/accordion/modules/{use-accordion.d.ts → provider.d.ts} +2 -2
- package/dist/components/accordion/modules/provider.d.ts.map +1 -0
- package/dist/components/accordion/modules/{use-accordion.js → provider.js} +2 -2
- package/dist/components/accordion/modules/provider.js.map +1 -0
- package/dist/components/accordion/modules/root-context.js +2 -2
- package/dist/components/accordion/modules/root-context.js.map +1 -1
- package/dist/components/app-bar/anatomy/headline.d.ts +2 -3
- package/dist/components/app-bar/anatomy/headline.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/lead.d.ts +2 -3
- package/dist/components/app-bar/anatomy/lead.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/root.d.ts +2 -3
- package/dist/components/app-bar/anatomy/root.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/toolbar.d.ts +1 -2
- package/dist/components/app-bar/anatomy/toolbar.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/trail.d.ts +2 -3
- package/dist/components/app-bar/anatomy/trail.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/fallback.d.ts +2 -3
- package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/fallback.js +2 -2
- package/dist/components/avatar/anatomy/fallback.js.map +1 -1
- package/dist/components/avatar/anatomy/image.d.ts +2 -3
- package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/image.js +2 -2
- package/dist/components/avatar/anatomy/image.js.map +1 -1
- package/dist/components/avatar/anatomy/root-context.d.ts +3 -3
- package/dist/components/avatar/anatomy/root-context.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root-context.js +4 -4
- package/dist/components/avatar/anatomy/root-context.js.map +1 -1
- package/dist/components/avatar/anatomy/root-provider.d.ts +3 -3
- package/dist/components/avatar/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/avatar/anatomy/root.js.map +1 -1
- package/dist/components/avatar/modules/anatomy.d.ts +2 -2
- package/dist/components/avatar/modules/anatomy.d.ts.map +1 -1
- package/dist/components/avatar/modules/anatomy.js +2 -2
- package/dist/components/avatar/modules/anatomy.js.map +1 -1
- package/dist/components/avatar/modules/{use-avatar.d.ts → provider.d.ts} +2 -2
- package/dist/components/avatar/modules/provider.d.ts.map +1 -0
- package/dist/components/avatar/modules/{use-avatar.js → provider.js} +2 -2
- package/dist/components/avatar/modules/provider.js.map +1 -0
- package/dist/components/avatar/modules/root-context.js +2 -2
- package/dist/components/avatar/modules/root-context.js.map +1 -1
- package/dist/components/combobox/anatomy/content.d.ts +2 -3
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/content.js +2 -2
- package/dist/components/combobox/anatomy/content.js.map +1 -1
- package/dist/components/combobox/anatomy/control.d.ts +2 -3
- package/dist/components/combobox/anatomy/control.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/control.js +2 -2
- package/dist/components/combobox/anatomy/control.js.map +1 -1
- package/dist/components/combobox/anatomy/input.d.ts +2 -3
- package/dist/components/combobox/anatomy/input.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/input.js +2 -2
- package/dist/components/combobox/anatomy/input.js.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -3
- package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.js +4 -4
- 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 +4 -4
- package/dist/components/combobox/anatomy/item-group.js.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.d.ts +2 -3
- package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.js +4 -4
- package/dist/components/combobox/anatomy/item-indicator.js.map +1 -1
- package/dist/components/combobox/anatomy/item-text.d.ts +2 -3
- package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-text.js +4 -4
- 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 +4 -4
- package/dist/components/combobox/anatomy/item.js.map +1 -1
- package/dist/components/combobox/anatomy/label.d.ts +2 -3
- package/dist/components/combobox/anatomy/label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/label.js +2 -2
- package/dist/components/combobox/anatomy/label.js.map +1 -1
- package/dist/components/combobox/anatomy/positioner.d.ts +2 -3
- package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/positioner.js +2 -2
- package/dist/components/combobox/anatomy/positioner.js.map +1 -1
- package/dist/components/combobox/anatomy/root-context.d.ts +1 -1
- package/dist/components/combobox/anatomy/root-context.js +4 -4
- package/dist/components/combobox/anatomy/root-context.js.map +1 -1
- package/dist/components/combobox/anatomy/root-provider.d.ts +3 -3
- package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/combobox/anatomy/root.js.map +1 -1
- package/dist/components/combobox/anatomy/trigger.d.ts +2 -3
- package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/trigger.js +2 -2
- package/dist/components/combobox/anatomy/trigger.js.map +1 -1
- package/dist/components/combobox/modules/item-context.js +2 -2
- package/dist/components/combobox/modules/item-context.js.map +1 -1
- package/dist/components/combobox/modules/item-group-context.js +2 -2
- package/dist/components/combobox/modules/item-group-context.js.map +1 -1
- package/dist/components/combobox/modules/{use-combobox.d.ts → provider.d.ts} +2 -2
- package/dist/components/combobox/modules/provider.d.ts.map +1 -0
- package/dist/components/combobox/modules/{use-combobox.js → provider.js} +2 -2
- package/dist/components/combobox/modules/provider.js.map +1 -0
- package/dist/components/combobox/modules/root-context.js +2 -2
- package/dist/components/combobox/modules/root-context.js.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.d.ts +2 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.js +2 -2
- package/dist/components/dialog/anatomy/backdrop.js.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -3
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.js +2 -2
- package/dist/components/dialog/anatomy/close-trigger.js.map +1 -1
- package/dist/components/dialog/anatomy/content.d.ts +2 -3
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/content.js +2 -2
- package/dist/components/dialog/anatomy/content.js.map +1 -1
- package/dist/components/dialog/anatomy/description.d.ts +2 -3
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/description.js +2 -2
- package/dist/components/dialog/anatomy/description.js.map +1 -1
- package/dist/components/dialog/anatomy/positioner.d.ts +2 -3
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/positioner.js +2 -2
- package/dist/components/dialog/anatomy/positioner.js.map +1 -1
- package/dist/components/dialog/anatomy/root-context.d.ts +1 -1
- package/dist/components/dialog/anatomy/root-context.js +4 -4
- package/dist/components/dialog/anatomy/root-context.js.map +1 -1
- package/dist/components/dialog/anatomy/root-provider.d.ts +3 -3
- package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/root-provider.js +2 -2
- package/dist/components/dialog/anatomy/root-provider.js.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/root.js +3 -3
- package/dist/components/dialog/anatomy/root.js.map +1 -1
- package/dist/components/dialog/anatomy/title.d.ts +2 -3
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/title.js +2 -2
- package/dist/components/dialog/anatomy/title.js.map +1 -1
- package/dist/components/dialog/anatomy/trigger.d.ts +2 -3
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/trigger.js +2 -2
- package/dist/components/dialog/anatomy/trigger.js.map +1 -1
- package/dist/components/dialog/modules/{use-dialog.d.ts → provider.d.ts} +2 -2
- package/dist/components/dialog/modules/provider.d.ts.map +1 -0
- package/dist/components/dialog/modules/{use-dialog.js → provider.js} +2 -2
- package/dist/components/dialog/modules/provider.js.map +1 -0
- package/dist/components/dialog/modules/root-context.js +2 -2
- package/dist/components/dialog/modules/root-context.js.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.js +2 -2
- package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.js +2 -2
- package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -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 +6 -6
- package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.d.ts +2 -3
- package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.js +2 -2
- package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.d.ts +2 -3
- package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.js +4 -4
- package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -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 +4 -4
- 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.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item.js +4 -4
- package/dist/components/file-upload/anatomy/item.js.map +1 -1
- package/dist/components/file-upload/anatomy/root-context.d.ts +1 -1
- package/dist/components/file-upload/anatomy/root-context.js +4 -4
- package/dist/components/file-upload/anatomy/root-context.js.map +1 -1
- package/dist/components/file-upload/anatomy/root-provider.d.ts +3 -3
- package/dist/components/file-upload/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/root-provider.js +2 -2
- 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.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/root.js +3 -3
- package/dist/components/file-upload/anatomy/root.js.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.d.ts +2 -3
- package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.js +2 -2
- package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
- package/dist/components/file-upload/modules/item-context.js +2 -2
- package/dist/components/file-upload/modules/item-context.js.map +1 -1
- package/dist/components/file-upload/modules/{use-file-upload.d.ts → provider.d.ts} +2 -2
- package/dist/components/file-upload/modules/provider.d.ts.map +1 -0
- package/dist/components/file-upload/modules/{use-file-upload.js → provider.js} +2 -2
- package/dist/components/file-upload/modules/provider.js.map +1 -0
- package/dist/components/file-upload/modules/root-context.js +2 -2
- package/dist/components/file-upload/modules/root-context.js.map +1 -1
- package/dist/components/navigation/anatomy/content.d.ts +10 -0
- package/dist/components/navigation/anatomy/content.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/content.js +23 -0
- package/dist/components/navigation/anatomy/content.js.map +1 -0
- package/dist/components/navigation/anatomy/footer.d.ts +10 -0
- package/dist/components/navigation/anatomy/footer.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/footer.js +23 -0
- package/dist/components/navigation/anatomy/footer.js.map +1 -0
- package/dist/components/navigation/anatomy/group.d.ts +10 -0
- package/dist/components/navigation/anatomy/group.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/group.js +23 -0
- package/dist/components/navigation/anatomy/group.js.map +1 -0
- package/dist/components/navigation/anatomy/header.d.ts +10 -0
- package/dist/components/navigation/anatomy/header.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/header.js +23 -0
- package/dist/components/navigation/anatomy/header.js.map +1 -0
- package/dist/components/navigation/anatomy/label.d.ts +10 -0
- package/dist/components/navigation/anatomy/label.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/label.js +23 -0
- package/dist/components/navigation/anatomy/label.js.map +1 -0
- package/dist/components/navigation/anatomy/menu.d.ts +10 -0
- package/dist/components/navigation/anatomy/menu.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/menu.js +23 -0
- package/dist/components/navigation/anatomy/menu.js.map +1 -0
- package/dist/components/navigation/anatomy/root.d.ts +17 -0
- package/dist/components/navigation/anatomy/root.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/root.js +24 -0
- package/dist/components/navigation/anatomy/root.js.map +1 -0
- package/dist/components/navigation/modules/anatomy.d.ts +20 -0
- package/dist/components/navigation/modules/anatomy.d.ts.map +1 -0
- package/dist/components/navigation/modules/anatomy.js +21 -0
- package/dist/components/navigation/modules/anatomy.js.map +1 -0
- package/dist/components/navigation/modules/root-context.js +8 -0
- package/dist/components/navigation/modules/root-context.js.map +1 -0
- package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -3
- package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow-tip.js +2 -2
- package/dist/components/popover/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/popover/anatomy/arrow.d.ts +2 -3
- package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow.js +2 -2
- package/dist/components/popover/anatomy/arrow.js.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.d.ts +2 -3
- package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.js +2 -2
- package/dist/components/popover/anatomy/close-trigger.js.map +1 -1
- package/dist/components/popover/anatomy/content.d.ts +2 -3
- package/dist/components/popover/anatomy/content.d.ts.map +1 -1
- package/dist/components/popover/anatomy/content.js +2 -2
- package/dist/components/popover/anatomy/content.js.map +1 -1
- package/dist/components/popover/anatomy/description.d.ts +2 -3
- package/dist/components/popover/anatomy/description.d.ts.map +1 -1
- package/dist/components/popover/anatomy/description.js +2 -2
- 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 +6 -7
- package/dist/components/popover/anatomy/positioner.js.map +1 -1
- package/dist/components/popover/anatomy/root-context.d.ts +1 -1
- package/dist/components/popover/anatomy/root-context.js +4 -4
- package/dist/components/popover/anatomy/root-context.js.map +1 -1
- package/dist/components/popover/anatomy/root-provider.d.ts +3 -3
- package/dist/components/popover/anatomy/root-provider.js +2 -2
- package/dist/components/popover/anatomy/root-provider.js.map +1 -1
- package/dist/components/popover/anatomy/root.d.ts +2 -2
- package/dist/components/popover/anatomy/root.js +3 -3
- package/dist/components/popover/anatomy/root.js.map +1 -1
- package/dist/components/popover/anatomy/title.d.ts +2 -3
- package/dist/components/popover/anatomy/title.d.ts.map +1 -1
- package/dist/components/popover/anatomy/title.js +2 -2
- package/dist/components/popover/anatomy/title.js.map +1 -1
- package/dist/components/popover/anatomy/trigger.d.ts +2 -3
- package/dist/components/popover/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/trigger.js +2 -2
- package/dist/components/popover/anatomy/trigger.js.map +1 -1
- package/dist/components/popover/modules/{use-popover.d.ts → provider.d.ts} +2 -2
- package/dist/components/popover/modules/provider.d.ts.map +1 -0
- package/dist/components/popover/modules/{use-popover.js → provider.js} +2 -2
- package/dist/components/popover/modules/provider.js.map +1 -0
- package/dist/components/popover/modules/root-context.js +2 -2
- package/dist/components/popover/modules/root-context.js.map +1 -1
- package/dist/components/portal/anatomy/root.d.ts +22 -0
- package/dist/components/portal/anatomy/root.d.ts.map +1 -0
- package/dist/components/portal/anatomy/root.js +14 -0
- package/dist/components/portal/anatomy/root.js.map +1 -0
- package/dist/components/portal/modules/anatomy.d.ts +7 -0
- package/dist/components/portal/modules/anatomy.d.ts.map +1 -0
- package/dist/components/portal/modules/anatomy.js +8 -0
- package/dist/components/portal/modules/anatomy.js.map +1 -0
- package/dist/components/progress-linear/anatomy/label.d.ts +2 -3
- package/dist/components/progress-linear/anatomy/label.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/label.js +2 -2
- package/dist/components/progress-linear/anatomy/label.js.map +1 -1
- package/dist/components/progress-linear/anatomy/range.d.ts +2 -3
- package/dist/components/progress-linear/anatomy/range.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/range.js +2 -2
- package/dist/components/progress-linear/anatomy/range.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root-context.d.ts +1 -1
- package/dist/components/progress-linear/anatomy/root-context.js +4 -4
- package/dist/components/progress-linear/anatomy/root-context.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/progress-linear/anatomy/root.js.map +1 -1
- package/dist/components/progress-linear/anatomy/track.d.ts +2 -3
- package/dist/components/progress-linear/anatomy/track.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/track.js +2 -2
- package/dist/components/progress-linear/anatomy/track.js.map +1 -1
- package/dist/components/progress-linear/modules/{use-progress-linear.d.ts → provider.d.ts} +2 -2
- package/dist/components/progress-linear/modules/provider.d.ts.map +1 -0
- package/dist/components/progress-linear/modules/{use-progress-linear.js → provider.js} +2 -2
- package/dist/components/progress-linear/modules/provider.js.map +1 -0
- package/dist/components/progress-linear/modules/root-context.js +2 -2
- package/dist/components/progress-linear/modules/root-context.js.map +1 -1
- package/dist/components/rating-group/anatomy/control.d.ts +2 -3
- package/dist/components/rating-group/anatomy/control.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/control.js +2 -2
- package/dist/components/rating-group/anatomy/control.js.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/rating-group/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.js +2 -2
- package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
- package/dist/components/rating-group/anatomy/item.d.ts +2 -3
- package/dist/components/rating-group/anatomy/item.d.ts.map +1 -1
- 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 +2 -3
- package/dist/components/rating-group/anatomy/label.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/label.js +2 -2
- package/dist/components/rating-group/anatomy/label.js.map +1 -1
- package/dist/components/rating-group/anatomy/root-context.d.ts +1 -1
- package/dist/components/rating-group/anatomy/root-context.js +4 -4
- package/dist/components/rating-group/anatomy/root-context.js.map +1 -1
- package/dist/components/rating-group/anatomy/root-provider.d.ts +3 -3
- package/dist/components/rating-group/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/rating-group/anatomy/root.js.map +1 -1
- package/dist/components/rating-group/modules/{use-rating-group.d.ts → provider.d.ts} +2 -2
- package/dist/components/rating-group/modules/provider.d.ts.map +1 -0
- package/dist/components/rating-group/modules/{use-rating-group.js → provider.js} +2 -2
- package/dist/components/rating-group/modules/provider.js.map +1 -0
- package/dist/components/rating-group/modules/root-context.js +2 -2
- package/dist/components/rating-group/modules/root-context.js.map +1 -1
- package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -3
- package/dist/components/segmented-control/anatomy/indicator.d.ts.map +1 -1
- package/dist/components/segmented-control/anatomy/indicator.js +2 -2
- package/dist/components/segmented-control/anatomy/indicator.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -3
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts.map +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.js +4 -4
- package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -3
- package/dist/components/segmented-control/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/segmented-control/anatomy/item-text.js +4 -4
- 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 +4 -4
- package/dist/components/segmented-control/anatomy/item.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root-context.d.ts +1 -1
- package/dist/components/segmented-control/anatomy/root-context.js +4 -4
- package/dist/components/segmented-control/anatomy/root-context.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/segmented-control/anatomy/root.js.map +1 -1
- package/dist/components/segmented-control/modules/item-context.js +2 -2
- package/dist/components/segmented-control/modules/item-context.js.map +1 -1
- package/dist/components/segmented-control/modules/{use-segmented-control.d.ts → provider.d.ts} +2 -2
- package/dist/components/segmented-control/modules/provider.d.ts.map +1 -0
- package/dist/components/segmented-control/modules/{use-segmented-control.js → provider.js} +2 -2
- package/dist/components/segmented-control/modules/provider.js.map +1 -0
- package/dist/components/segmented-control/modules/root-context.js +2 -2
- package/dist/components/segmented-control/modules/root-context.js.map +1 -1
- package/dist/components/slider/anatomy/control.d.ts +2 -3
- package/dist/components/slider/anatomy/control.d.ts.map +1 -1
- package/dist/components/slider/anatomy/control.js +2 -2
- package/dist/components/slider/anatomy/control.js.map +1 -1
- package/dist/components/slider/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/slider/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/slider/anatomy/hidden-input.js +4 -4
- package/dist/components/slider/anatomy/hidden-input.js.map +1 -1
- package/dist/components/slider/anatomy/label.d.ts +2 -3
- package/dist/components/slider/anatomy/label.d.ts.map +1 -1
- package/dist/components/slider/anatomy/label.js +2 -2
- package/dist/components/slider/anatomy/label.js.map +1 -1
- package/dist/components/slider/anatomy/marker-group.d.ts +2 -3
- package/dist/components/slider/anatomy/marker-group.d.ts.map +1 -1
- package/dist/components/slider/anatomy/marker-group.js +2 -2
- package/dist/components/slider/anatomy/marker-group.js.map +1 -1
- package/dist/components/slider/anatomy/marker.d.ts +2 -3
- package/dist/components/slider/anatomy/marker.d.ts.map +1 -1
- package/dist/components/slider/anatomy/marker.js +2 -2
- package/dist/components/slider/anatomy/marker.js.map +1 -1
- package/dist/components/slider/anatomy/range.d.ts +2 -3
- package/dist/components/slider/anatomy/range.d.ts.map +1 -1
- package/dist/components/slider/anatomy/range.js +2 -2
- package/dist/components/slider/anatomy/range.js.map +1 -1
- package/dist/components/slider/anatomy/root-context.d.ts +3 -3
- package/dist/components/slider/anatomy/root-context.d.ts.map +1 -1
- package/dist/components/slider/anatomy/root-context.js +4 -4
- package/dist/components/slider/anatomy/root-context.js.map +1 -1
- package/dist/components/slider/anatomy/root-provider.d.ts +3 -3
- package/dist/components/slider/anatomy/root-provider.js +2 -2
- 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 +3 -3
- 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 +4 -4
- package/dist/components/slider/anatomy/thumb.js.map +1 -1
- package/dist/components/slider/anatomy/track.d.ts +2 -3
- package/dist/components/slider/anatomy/track.d.ts.map +1 -1
- package/dist/components/slider/anatomy/track.js +2 -2
- package/dist/components/slider/anatomy/track.js.map +1 -1
- package/dist/components/slider/anatomy/value-text.d.ts +2 -3
- package/dist/components/slider/anatomy/value-text.d.ts.map +1 -1
- package/dist/components/slider/anatomy/value-text.js +2 -2
- package/dist/components/slider/anatomy/value-text.js.map +1 -1
- package/dist/components/slider/modules/anatomy.d.ts +2 -2
- package/dist/components/slider/modules/anatomy.d.ts.map +1 -1
- package/dist/components/slider/modules/anatomy.js +2 -2
- package/dist/components/slider/modules/anatomy.js.map +1 -1
- package/dist/components/slider/modules/{use-slider.d.ts → provider.d.ts} +2 -2
- package/dist/components/slider/modules/provider.d.ts.map +1 -0
- package/dist/components/slider/modules/{use-slider.js → provider.js} +2 -2
- package/dist/components/slider/modules/provider.js.map +1 -0
- package/dist/components/slider/modules/root-context.js +2 -2
- package/dist/components/slider/modules/root-context.js.map +1 -1
- package/dist/components/slider/modules/thumb-context.js +2 -2
- package/dist/components/slider/modules/thumb-context.js.map +1 -1
- package/dist/components/switch/anatomy/control.d.ts +2 -3
- package/dist/components/switch/anatomy/control.d.ts.map +1 -1
- package/dist/components/switch/anatomy/control.js +2 -2
- package/dist/components/switch/anatomy/control.js.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.js +2 -2
- package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
- package/dist/components/switch/anatomy/label.d.ts +2 -3
- package/dist/components/switch/anatomy/label.d.ts.map +1 -1
- package/dist/components/switch/anatomy/label.js +2 -2
- package/dist/components/switch/anatomy/label.js.map +1 -1
- package/dist/components/switch/anatomy/root-context.d.ts +1 -1
- package/dist/components/switch/anatomy/root-context.js +4 -4
- package/dist/components/switch/anatomy/root-context.js.map +1 -1
- package/dist/components/switch/anatomy/root-provider.d.ts +3 -3
- package/dist/components/switch/anatomy/root-provider.js +2 -2
- package/dist/components/switch/anatomy/root-provider.js.map +1 -1
- package/dist/components/switch/anatomy/root.d.ts +2 -2
- package/dist/components/switch/anatomy/root.d.ts.map +1 -1
- package/dist/components/switch/anatomy/root.js +3 -3
- package/dist/components/switch/anatomy/root.js.map +1 -1
- package/dist/components/switch/anatomy/thumb.d.ts +2 -3
- package/dist/components/switch/anatomy/thumb.d.ts.map +1 -1
- package/dist/components/switch/anatomy/thumb.js +2 -2
- package/dist/components/switch/anatomy/thumb.js.map +1 -1
- package/dist/components/switch/modules/{use-switch.d.ts → provider.d.ts} +2 -2
- package/dist/components/switch/modules/provider.d.ts.map +1 -0
- package/dist/components/switch/modules/{use-switch.js → provider.js} +2 -2
- package/dist/components/switch/modules/provider.js.map +1 -0
- package/dist/components/switch/modules/root-context.js +2 -2
- package/dist/components/switch/modules/root-context.js.map +1 -1
- package/dist/components/tabs/anatomy/content.d.ts +2 -3
- package/dist/components/tabs/anatomy/content.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/content.js +2 -2
- package/dist/components/tabs/anatomy/content.js.map +1 -1
- package/dist/components/tabs/anatomy/indicator.d.ts +2 -3
- package/dist/components/tabs/anatomy/indicator.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/indicator.js +2 -2
- package/dist/components/tabs/anatomy/indicator.js.map +1 -1
- package/dist/components/tabs/anatomy/list.d.ts +2 -3
- package/dist/components/tabs/anatomy/list.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/list.js +2 -2
- package/dist/components/tabs/anatomy/list.js.map +1 -1
- package/dist/components/tabs/anatomy/root-context.d.ts +1 -1
- package/dist/components/tabs/anatomy/root-context.js +4 -4
- package/dist/components/tabs/anatomy/root-context.js.map +1 -1
- package/dist/components/tabs/anatomy/root-provider.d.ts +3 -3
- package/dist/components/tabs/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/tabs/anatomy/root.js.map +1 -1
- package/dist/components/tabs/anatomy/trigger.d.ts +2 -3
- package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/trigger.js +2 -2
- package/dist/components/tabs/anatomy/trigger.js.map +1 -1
- package/dist/components/tabs/modules/{use-tabs.d.ts → provider.d.ts} +2 -2
- package/dist/components/tabs/modules/provider.d.ts.map +1 -0
- package/dist/components/tabs/modules/{use-tabs.js → provider.js} +2 -2
- package/dist/components/tabs/modules/{use-tabs.js.map → provider.js.map} +1 -1
- package/dist/components/tabs/modules/root-context.js +2 -2
- package/dist/components/tabs/modules/root-context.js.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -3
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.js +2 -2
- package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/control.d.ts +2 -3
- package/dist/components/tags-input/anatomy/control.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/control.js +2 -2
- package/dist/components/tags-input/anatomy/control.js.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.js +2 -2
- package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/input.d.ts +2 -3
- package/dist/components/tags-input/anatomy/input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/input.js +2 -2
- package/dist/components/tags-input/anatomy/input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -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 +6 -6
- package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.d.ts +2 -3
- package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.js +4 -4
- package/dist/components/tags-input/anatomy/item-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -3
- package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.js +4 -4
- package/dist/components/tags-input/anatomy/item-preview.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.d.ts +2 -3
- package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.js +4 -4
- 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.js +4 -4
- package/dist/components/tags-input/anatomy/item.js.map +1 -1
- package/dist/components/tags-input/anatomy/label.d.ts +2 -3
- package/dist/components/tags-input/anatomy/label.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/label.js +2 -2
- package/dist/components/tags-input/anatomy/label.js.map +1 -1
- package/dist/components/tags-input/anatomy/root-context.d.ts +1 -1
- package/dist/components/tags-input/anatomy/root-context.js +4 -4
- package/dist/components/tags-input/anatomy/root-context.js.map +1 -1
- package/dist/components/tags-input/anatomy/root-provider.d.ts +3 -3
- package/dist/components/tags-input/anatomy/root-provider.js +2 -2
- 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.js +3 -3
- package/dist/components/tags-input/anatomy/root.js.map +1 -1
- package/dist/components/tags-input/modules/item-context.js +2 -2
- package/dist/components/tags-input/modules/item-context.js.map +1 -1
- package/dist/components/tags-input/modules/{use-tags-input.d.ts → provider.d.ts} +2 -2
- package/dist/components/tags-input/modules/provider.d.ts.map +1 -0
- package/dist/components/tags-input/modules/{use-tags-input.js → provider.js} +2 -2
- package/dist/components/tags-input/modules/provider.js.map +1 -0
- package/dist/components/tags-input/modules/root-context.js +2 -2
- package/dist/components/tags-input/modules/root-context.js.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.js +2 -2
- package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.d.ts +2 -3
- package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.js +2 -2
- package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/description.d.ts +2 -3
- package/dist/components/toast/anatomy/description.d.ts.map +1 -1
- package/dist/components/toast/anatomy/description.js +2 -2
- 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 +2 -2
- package/dist/components/toast/anatomy/group.js.map +1 -1
- package/dist/components/toast/anatomy/message.d.ts +2 -3
- package/dist/components/toast/anatomy/message.d.ts.map +1 -1
- package/dist/components/toast/anatomy/root-context.js +4 -4
- package/dist/components/toast/anatomy/root-context.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 +5 -5
- package/dist/components/toast/anatomy/root.js.map +1 -1
- package/dist/components/toast/anatomy/title.d.ts +2 -3
- package/dist/components/toast/anatomy/title.d.ts.map +1 -1
- package/dist/components/toast/anatomy/title.js +2 -2
- package/dist/components/toast/anatomy/title.js.map +1 -1
- package/dist/components/toast/modules/group-context.js +2 -2
- package/dist/components/toast/modules/group-context.js.map +1 -1
- package/dist/components/toast/modules/root-context.js +2 -2
- package/dist/components/toast/modules/root-context.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -3
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.js +2 -2
- package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.d.ts +2 -3
- package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.js +2 -2
- package/dist/components/tooltip/anatomy/arrow.js.map +1 -1
- package/dist/components/tooltip/anatomy/content.d.ts +2 -3
- package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/content.js +2 -2
- 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 +2 -2
- package/dist/components/tooltip/anatomy/positioner.js.map +1 -1
- package/dist/components/tooltip/anatomy/root-context.d.ts +1 -1
- package/dist/components/tooltip/anatomy/root-context.js +4 -4
- package/dist/components/tooltip/anatomy/root-context.js.map +1 -1
- package/dist/components/tooltip/anatomy/root-provider.d.ts +3 -3
- package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/root-provider.js +2 -2
- package/dist/components/tooltip/anatomy/root-provider.js.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/root.js +3 -3
- package/dist/components/tooltip/anatomy/root.js.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.d.ts +2 -3
- package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.js +2 -2
- package/dist/components/tooltip/anatomy/trigger.js.map +1 -1
- package/dist/components/tooltip/modules/{use-tooltip.d.ts → provider.d.ts} +2 -2
- package/dist/components/tooltip/modules/provider.d.ts.map +1 -0
- package/dist/components/tooltip/modules/{use-tooltip.js → provider.js} +2 -2
- package/dist/components/tooltip/modules/provider.js.map +1 -0
- package/dist/components/tooltip/modules/root-context.js +2 -2
- package/dist/components/tooltip/modules/root-context.js.map +1 -1
- package/dist/index.d.ts +25 -15
- package/dist/index.js +17 -15
- package/dist/internal/html-attributes.d.ts +3 -1
- package/dist/internal/html-attributes.d.ts.map +1 -1
- package/dist/internal/props-with-element.d.ts +2 -2
- package/dist/internal/props-with-element.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/components/accordion/modules/use-accordion.d.ts.map +0 -1
- package/dist/components/accordion/modules/use-accordion.js.map +0 -1
- package/dist/components/avatar/modules/use-avatar.d.ts.map +0 -1
- package/dist/components/avatar/modules/use-avatar.js.map +0 -1
- package/dist/components/combobox/modules/use-combobox.d.ts.map +0 -1
- package/dist/components/combobox/modules/use-combobox.js.map +0 -1
- package/dist/components/dialog/modules/use-dialog.d.ts.map +0 -1
- package/dist/components/dialog/modules/use-dialog.js.map +0 -1
- package/dist/components/file-upload/modules/use-file-upload.d.ts.map +0 -1
- package/dist/components/file-upload/modules/use-file-upload.js.map +0 -1
- package/dist/components/popover/modules/use-popover.d.ts.map +0 -1
- package/dist/components/popover/modules/use-popover.js.map +0 -1
- package/dist/components/progress-linear/modules/use-progress-linear.d.ts.map +0 -1
- package/dist/components/progress-linear/modules/use-progress-linear.js.map +0 -1
- package/dist/components/rating-group/modules/use-rating-group.d.ts.map +0 -1
- package/dist/components/rating-group/modules/use-rating-group.js.map +0 -1
- package/dist/components/segmented-control/modules/use-segmented-control.d.ts.map +0 -1
- package/dist/components/segmented-control/modules/use-segmented-control.js.map +0 -1
- package/dist/components/slider/modules/use-slider.d.ts.map +0 -1
- package/dist/components/slider/modules/use-slider.js.map +0 -1
- package/dist/components/switch/modules/use-switch.d.ts.map +0 -1
- package/dist/components/switch/modules/use-switch.js.map +0 -1
- package/dist/components/tabs/modules/use-tabs.d.ts.map +0 -1
- package/dist/components/tags-input/modules/use-tags-input.d.ts.map +0 -1
- package/dist/components/tags-input/modules/use-tags-input.js.map +0 -1
- package/dist/components/tooltip/modules/use-tooltip.d.ts.map +0 -1
- package/dist/components/tooltip/modules/use-tooltip.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ItemContext } from "../modules/item-context.js";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { mergeProps } from "@zag-js/react";
|
|
5
5
|
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
@@ -7,8 +7,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
|
|
8
8
|
//#region src/components/segmented-control/anatomy/item-text.tsx
|
|
9
9
|
function ItemText(props) {
|
|
10
|
-
const segmentedControl = use(
|
|
11
|
-
const itemProps = use(
|
|
10
|
+
const segmentedControl = use(RootContext);
|
|
11
|
+
const itemProps = use(ItemContext);
|
|
12
12
|
const { element, children,...rest } = props;
|
|
13
13
|
const attributes = mergeProps(segmentedControl.getItemTextProps(itemProps), { className: classesSegmentedControl.itemText }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-text.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item-text.tsx"],"sourcesContent":["import { ItemContext } from '../modules/item-context';\nimport { RootContext } 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(RootContext);\n\tconst itemProps = use(ItemContext);\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,YAAY;CACzC,MAAM,YAAY,IAAI,YAAY;CAElC,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_runtime27 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_runtime27.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, SegmentedControlItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ItemContext } from "../modules/item-context.js";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { mergeProps } from "@zag-js/react";
|
|
5
5
|
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
@@ -8,11 +8,11 @@ import { splitItemProps } from "@zag-js/radio-group";
|
|
|
8
8
|
|
|
9
9
|
//#region src/components/segmented-control/anatomy/item.tsx
|
|
10
10
|
function Item(props) {
|
|
11
|
-
const segmentedControl = use(
|
|
11
|
+
const segmentedControl = use(RootContext);
|
|
12
12
|
const [itemProps, componentProps] = splitItemProps(props);
|
|
13
13
|
const { element, children,...rest } = componentProps;
|
|
14
14
|
const attributes = mergeProps(segmentedControl.getItemProps(itemProps), { className: classesSegmentedControl.item }, rest);
|
|
15
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
+
return /* @__PURE__ */ jsx(ItemContext.Provider, {
|
|
16
16
|
value: itemProps,
|
|
17
17
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
18
18
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/item.tsx"],"sourcesContent":["import { ItemContext } from '../modules/item-context';\nimport { RootContext } 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(RootContext);\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<ItemContext.Provider value={itemProps}>\n\t\t\t{element ? element(attributes) : <label {...attributes}>{children}</label>}\n\t\t</ItemContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,KAAK,OAAkC;CAC9D,MAAM,mBAAmB,IAAI,YAAY;CAEzC,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,YAAY;EAAS,OAAO;YAC3B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GACpD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/segmented-control/anatomy/root-context.tsx
|
|
5
|
-
function RootContext(props) {
|
|
6
|
-
const segmentedControl = use(
|
|
5
|
+
function RootContext$1(props) {
|
|
6
|
+
const segmentedControl = use(RootContext);
|
|
7
7
|
const { children } = props;
|
|
8
8
|
return children(segmentedControl);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
|
-
export { RootContext as default };
|
|
12
|
+
export { RootContext$1 as default };
|
|
13
13
|
//# sourceMappingURL=root-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root-context.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root-context.js","names":["RootContext","RootContext_"],"sources":["../../../../src/components/segmented-control/anatomy/root-context.tsx"],"sourcesContent":["import type { useSegmentedControl } from '../modules/provider';\nimport { RootContext as RootContext_ } from '../modules/root-context';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface SegmentedControlRootContextProps {\n\tchildren: (ratingGroup: ReturnType<typeof useSegmentedControl>) => ReactNode;\n}\n\nexport default function RootContext(props: SegmentedControlRootContextProps) {\n\tconst segmentedControl = use(RootContext_);\n\n\tconst { children } = props;\n\n\treturn children(segmentedControl);\n}\n"],"mappings":";;;;AASA,SAAwBA,cAAY,OAAyC;CAC5E,MAAM,mBAAmB,IAAIC,YAAa;CAE1C,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,iBAAiB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import { useSegmentedControl } from "../modules/
|
|
4
|
-
import * as
|
|
3
|
+
import { useSegmentedControl } from "../modules/provider.js";
|
|
4
|
+
import * as react_jsx_runtime26 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_runtime26.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SegmentedControlRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { mergeProps } from "@zag-js/react";
|
|
3
3
|
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -7,7 +7,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: segmentedControl,...rest } = props;
|
|
9
9
|
const attributes = mergeProps(segmentedControl.getRootProps(), { className: classesSegmentedControl.root }, rest);
|
|
10
|
-
return /* @__PURE__ */ jsx(
|
|
10
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
11
11
|
value: segmentedControl,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root-provider.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root-provider.tsx"],"sourcesContent":["import type { useSegmentedControl } from '../modules/provider';\nimport { RootContext } 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';\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<RootContext.Provider value={segmentedControl}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RootContext.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,YAAY;EAAS,OAAO;YAC3B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAChD"}
|
|
@@ -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_runtime25 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_runtime25.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, SegmentedControlRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useSegmentedControl } from "../modules/
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useSegmentedControl } from "../modules/provider.js";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesSegmentedControl } from "@skeletonlabs/skeleton-common";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -11,7 +11,7 @@ function Root(props) {
|
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const segmentedControl = useSegmentedControl(segmentedControlProps);
|
|
13
13
|
const attributes = mergeProps(segmentedControl.getRootProps(), { className: classesSegmentedControl.root }, rest);
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
14
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
15
15
|
value: segmentedControl,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
17
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/segmented-control/anatomy/root.tsx"],"sourcesContent":["import { useSegmentedControl } from '../modules/provider';\nimport { RootContext } 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 { 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<RootContext.Provider value={segmentedControl}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RootContext.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,YAAY;EAAS,OAAO;YAC3B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAChD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createContext } from "../../../internal/create-context.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/segmented-control/modules/item-context.ts
|
|
4
|
-
const
|
|
4
|
+
const ItemContext = createContext();
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
|
-
export {
|
|
7
|
+
export { ItemContext };
|
|
8
8
|
//# sourceMappingURL=item-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-context.js","names":[],"sources":["../../../../src/components/segmented-control/modules/item-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ItemProps } from '@zag-js/radio-group';\n\nexport const
|
|
1
|
+
{"version":3,"file":"item-context.js","names":[],"sources":["../../../../src/components/segmented-control/modules/item-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ItemProps } from '@zag-js/radio-group';\n\nexport const ItemContext = createContext<ItemProps>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAA0B"}
|
package/dist/components/segmented-control/modules/{use-segmented-control.d.ts → provider.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropTypes } from "@zag-js/react";
|
|
2
2
|
import { Api, Props } from "@zag-js/radio-group";
|
|
3
3
|
|
|
4
|
-
//#region src/components/segmented-control/modules/
|
|
4
|
+
//#region src/components/segmented-control/modules/provider.d.ts
|
|
5
5
|
declare function useSegmentedControl(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { useSegmentedControl };
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","names":[],"sources":["../../../../src/components/segmented-control/modules/provider.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,mBAAA,SAA2B,KAAK,eAAoB,IAAI"}
|
|
@@ -2,7 +2,7 @@ import { useId } from "react";
|
|
|
2
2
|
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
3
|
import { connect, machine } from "@zag-js/radio-group";
|
|
4
4
|
|
|
5
|
-
//#region src/components/segmented-control/modules/
|
|
5
|
+
//#region src/components/segmented-control/modules/provider.ts
|
|
6
6
|
function useSegmentedControl(props = {}) {
|
|
7
7
|
const service = useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
@@ -14,4 +14,4 @@ function useSegmentedControl(props = {}) {
|
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
16
16
|
export { useSegmentedControl };
|
|
17
|
-
//# sourceMappingURL=
|
|
17
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","names":[],"sources":["../../../../src/components/segmented-control/modules/provider.ts"],"sourcesContent":["import { connect, machine } from '@zag-js/radio-group';\nimport type { Api, Props } from '@zag-js/radio-group';\nimport { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useSegmentedControl(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\torientation: 'horizontal',\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAKA,SAAgB,oBAAoB,QAA2B,EAAE,EAAkB;CAClF,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,aAAa;EACb,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createContext } from "../../../internal/create-context.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/segmented-control/modules/root-context.ts
|
|
4
|
-
const
|
|
4
|
+
const RootContext = createContext();
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
|
-
export {
|
|
7
|
+
export { RootContext };
|
|
8
8
|
//# sourceMappingURL=root-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/segmented-control/modules/root-context.ts"],"sourcesContent":["import type { useSegmentedControl } from './
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/segmented-control/modules/root-context.ts"],"sourcesContent":["import type { useSegmentedControl } from './provider';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<ReturnType<typeof useSegmentedControl>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAAuD"}
|
|
@@ -1,11 +1,10 @@
|
|
|
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 react_jsx_runtime78 from "react/jsx-runtime";
|
|
3
|
+
import * as react62 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/slider/anatomy/control.d.ts
|
|
7
6
|
interface SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Control(props: SliderControlProps):
|
|
7
|
+
declare function Control(props: SliderControlProps): react62.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { Control, SliderControlProps };
|
|
11
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/control.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,kBAAA,SAA2B,yBAAyB;iBAE7C,OAAA,QAAe,qBAAkB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/slider/anatomy/control.tsx
|
|
8
8
|
function Control(props) {
|
|
9
|
-
const slider = use(
|
|
9
|
+
const slider = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(slider.getControlProps(), { className: classesSlider.control }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/slider/anatomy/control.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/slider/anatomy/control.tsx"],"sourcesContent":["import { RootContext } 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(RootContext);\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,YAAY;CAE/B,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,10 @@
|
|
|
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 react_jsx_runtime75 from "react/jsx-runtime";
|
|
3
|
+
import * as react58 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/slider/anatomy/hidden-input.d.ts
|
|
7
6
|
interface SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: SliderHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: SliderHiddenInputProps): react58.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { HiddenInput, SliderHiddenInputProps };
|
|
11
10
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,sBAAA,SAA+B,2BAA2B;iBAEnD,WAAA,QAAmB,yBAAsB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ThumbContext } from "../modules/thumb-context.js";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { mergeProps } from "@zag-js/react";
|
|
5
5
|
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
@@ -7,8 +7,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
|
|
8
8
|
//#region src/components/slider/anatomy/hidden-input.tsx
|
|
9
9
|
function HiddenInput(props) {
|
|
10
|
-
const slider = use(
|
|
11
|
-
const thumbProps = use(
|
|
10
|
+
const slider = use(RootContext);
|
|
11
|
+
const thumbProps = use(ThumbContext);
|
|
12
12
|
const { element,...rest } = props;
|
|
13
13
|
const attributes = mergeProps(slider.getHiddenInputProps(thumbProps), { className: classesSlider.hiddenInput }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/slider/anatomy/hidden-input.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/slider/anatomy/hidden-input.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport { ThumbContext } 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(RootContext);\n\tconst thumbProps = use(ThumbContext);\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,YAAY;CAC/B,MAAM,aAAa,IAAI,aAAa;CAEpC,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,10 @@
|
|
|
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 react_jsx_runtime77 from "react/jsx-runtime";
|
|
3
|
+
import * as react60 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/slider/anatomy/label.d.ts
|
|
7
6
|
interface SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
-
declare function Label(props: SliderLabelProps):
|
|
7
|
+
declare function Label(props: SliderLabelProps): react60.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { Label, SliderLabelProps };
|
|
11
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/label.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,gBAAA,SAAyB,2BAA2B;iBAE7C,KAAA,QAAa,mBAAgB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/slider/anatomy/label.tsx
|
|
8
8
|
function Label(props) {
|
|
9
|
-
const slider = use(
|
|
9
|
+
const slider = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(slider.getLabelProps(), { className: classesSlider.label }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/slider/anatomy/label.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/slider/anatomy/label.tsx"],"sourcesContent":["import { RootContext } 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(RootContext);\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,YAAY;CAE/B,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,10 @@
|
|
|
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 react_jsx_runtime80 from "react/jsx-runtime";
|
|
3
|
+
import * as react63 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/slider/anatomy/marker-group.d.ts
|
|
7
6
|
interface SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function MarkerGroup(props: SliderMarkerGroupProps):
|
|
7
|
+
declare function MarkerGroup(props: SliderMarkerGroupProps): react63.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { MarkerGroup, SliderMarkerGroupProps };
|
|
11
10
|
//# sourceMappingURL=marker-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker-group.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/marker-group.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"marker-group.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/marker-group.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,yBAAyB;iBAEjD,WAAA,QAAmB,yBAAsB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/slider/anatomy/marker-group.tsx
|
|
8
8
|
function MarkerGroup(props) {
|
|
9
|
-
const slider = use(
|
|
9
|
+
const slider = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(slider.getMarkerGroupProps(), { className: classesSlider.markerGroup }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker-group.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker-group.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"marker-group.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker-group.tsx"],"sourcesContent":["import { RootContext } 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(RootContext);\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,YAAY;CAE/B,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,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 react_jsx_runtime81 from "react/jsx-runtime";
|
|
3
|
+
import * as react44 from "react";
|
|
5
4
|
import { MarkerProps } from "@zag-js/slider";
|
|
6
5
|
|
|
7
6
|
//#region src/components/slider/anatomy/marker.d.ts
|
|
8
7
|
interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
9
|
-
declare function Marker(props: SliderMarkerProps):
|
|
8
|
+
declare function Marker(props: SliderMarkerProps): react44.JSX.Element;
|
|
10
9
|
//#endregion
|
|
11
10
|
export { Marker, SliderMarkerProps };
|
|
12
11
|
//# sourceMappingURL=marker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/marker.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"marker.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/marker.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,iBAAA,SAA0B,aAAa,yBAAyB;iBAEzD,MAAA,QAAc,oBAAiB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/slider/anatomy/marker.tsx
|
|
8
8
|
function Marker(props) {
|
|
9
|
-
const slider = use(
|
|
9
|
+
const slider = use(RootContext);
|
|
10
10
|
const { element, children, value,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(slider.getMarkerProps({ value }), { className: classesSlider.marker }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"marker.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker.tsx"],"sourcesContent":["import { RootContext } 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(RootContext);\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,YAAY;CAG/B,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,10 @@
|
|
|
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 react_jsx_runtime76 from "react/jsx-runtime";
|
|
3
|
+
import * as react59 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/slider/anatomy/range.d.ts
|
|
7
6
|
interface SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Range(props: SliderRangeProps):
|
|
7
|
+
declare function Range(props: SliderRangeProps): react59.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { Range, SliderRangeProps };
|
|
11
10
|
//# sourceMappingURL=range.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/range.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"range.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/range.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,gBAAA,SAAyB,yBAAyB;iBAE3C,KAAA,QAAa,mBAAgB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/slider/anatomy/range.tsx
|
|
8
8
|
function Range(props) {
|
|
9
|
-
const slider = use(
|
|
9
|
+
const slider = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(slider.getRangeProps(), { className: classesSlider.range }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/slider/anatomy/range.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/slider/anatomy/range.tsx"],"sourcesContent":["import { RootContext } 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(RootContext);\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,YAAY;CAE/B,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,eAAe,EACtB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useSlider } from "../modules/
|
|
1
|
+
import { useSlider } from "../modules/provider.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/slider/anatomy/root-context.d.ts
|
|
5
5
|
interface SliderRootContextProps {
|
|
6
6
|
children: (slider: ReturnType<typeof useSlider>) => ReactNode;
|
|
7
7
|
}
|
|
8
|
-
declare function
|
|
8
|
+
declare function RootContext(props: SliderRootContextProps): ReactNode;
|
|
9
9
|
//#endregion
|
|
10
|
-
export {
|
|
10
|
+
export { RootContext, SliderRootContextProps };
|
|
11
11
|
//# sourceMappingURL=root-context.d.ts.map
|