@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,sBAAA;qBACG,kBAAkB,eAAe;AADrD;AAAuC,iBAIf,
|
|
1
|
+
{"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,sBAAA;qBACG,kBAAkB,eAAe;AADrD;AAAuC,iBAIf,WAAA,CAJe,KAAA,EAII,sBAJJ,CAAA,EAI0B,SAJ1B"}
|
|
@@ -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/slider/anatomy/root-context.tsx
|
|
5
|
-
function
|
|
6
|
-
const slider = use(
|
|
5
|
+
function RootContext$1(props) {
|
|
6
|
+
const slider = use(RootContext);
|
|
7
7
|
const { children } = props;
|
|
8
8
|
return children(slider);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
|
-
export {
|
|
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/slider/anatomy/root-context.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root-context.js","names":["RootContext","RootContext_"],"sources":["../../../../src/components/slider/anatomy/root-context.tsx"],"sourcesContent":["import type { useSlider } from '../modules/provider';\nimport { RootContext as RootContext_ } from '../modules/root-context';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface SliderRootContextProps {\n\tchildren: (slider: ReturnType<typeof useSlider>) => ReactNode;\n}\n\nexport default function RootContext(props: SliderRootContextProps) {\n\tconst slider = use(RootContext_);\n\n\tconst { children } = props;\n\n\treturn children(slider);\n}\n"],"mappings":";;;;AASA,SAAwBA,cAAY,OAA+B;CAClE,MAAM,SAAS,IAAIC,YAAa;CAEhC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,OAAO"}
|
|
@@ -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 { useSlider } from "../modules/
|
|
4
|
-
import * as
|
|
3
|
+
import { useSlider } from "../modules/provider.js";
|
|
4
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root-provider.d.ts
|
|
7
7
|
interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSlider>;
|
|
9
9
|
}
|
|
10
|
-
declare function SliderRootProvider(props: SliderRootProviderProps):
|
|
10
|
+
declare function SliderRootProvider(props: SliderRootProviderProps): react_jsx_runtime23.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SliderRootProvider, SliderRootProviderProps };
|
|
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 { classesSlider } 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 SliderRootProvider(props) {
|
|
8
8
|
const { element, children, value: slider,...rest } = props;
|
|
9
9
|
const attributes = mergeProps(slider.getRootProps(), { className: classesSlider.root }, rest);
|
|
10
|
-
return /* @__PURE__ */ jsx(
|
|
10
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
11
11
|
value: slider,
|
|
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/slider/anatomy/root-provider.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/slider/anatomy/root-provider.tsx"],"sourcesContent":["import type { useSlider } 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 { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSlider>;\n}\n\nexport default function SliderRootProvider(props: SliderRootProviderProps) {\n\tconst { element, children, value: slider, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSlider.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RootContext.Provider value={slider}>{element ? element(attributes) : <div {...attributes}>{children}</div>}</RootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,mBAAmB,OAAgC;CAC1E,MAAM,EAAE,SAAS,UAAU,OAAO,OAAQ,GAAG,SAAS;CAEtD,MAAM,aAAa,WAClB,OAAO,cAAc,EACrB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,YAAY;EAAS,OAAO;YAAS,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAAwB"}
|
|
@@ -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_runtime22 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root.d.ts
|
|
7
7
|
interface SliderRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}
|
|
8
|
-
declare function SliderRoot(props: SliderRootProps):
|
|
8
|
+
declare function SliderRoot(props: SliderRootProps): react_jsx_runtime22.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderRoot, SliderRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useSlider } from "../modules/
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useSlider } from "../modules/provider.js";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -11,7 +11,7 @@ function SliderRoot(props) {
|
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const slider = useSlider(sliderProps);
|
|
13
13
|
const attributes = mergeProps(slider.getRootProps(), { className: classesSlider.root }, rest);
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
14
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
15
15
|
value: slider,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
17
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/slider/anatomy/root.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/slider/anatomy/root.tsx"],"sourcesContent":["import { useSlider } 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 { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/slider';\nimport type { Props } from '@zag-js/slider';\n\nexport interface SliderRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}\n\nexport default function SliderRoot(props: SliderRootProps) {\n\tconst [sliderProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst slider = useSlider(sliderProps);\n\n\tconst attributes = mergeProps(\n\t\tslider.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSlider.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RootContext.Provider value={slider}>{element ? element(attributes) : <div {...attributes}>{children}</div>}</RootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,WAAW,OAAwB;CAC1D,MAAM,CAAC,aAAa,kBAAkB,WAAW,MAAM;CACvD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,SAAS,UAAU,YAAY;CAErC,MAAM,aAAa,WAClB,OAAO,cAAc,EACrB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,YAAY;EAAS,OAAO;YAAS,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAAwB"}
|
|
@@ -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_runtime24 from "react/jsx-runtime";
|
|
4
4
|
import { ThumbProps } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/thumb.d.ts
|
|
7
7
|
interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Thumb(props: SliderThumbProps):
|
|
8
|
+
declare function Thumb(props: SliderThumbProps): react_jsx_runtime24.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderThumbProps, Thumb };
|
|
11
11
|
//# sourceMappingURL=thumb.d.ts.map
|
|
@@ -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";
|
|
@@ -8,11 +8,11 @@ import { splitThumbProps } from "@zag-js/slider";
|
|
|
8
8
|
|
|
9
9
|
//#region src/components/slider/anatomy/thumb.tsx
|
|
10
10
|
function Thumb(props) {
|
|
11
|
-
const slider = use(
|
|
11
|
+
const slider = use(RootContext);
|
|
12
12
|
const [thumbProps, componentProps] = splitThumbProps(props);
|
|
13
13
|
const { element, children,...rest } = componentProps;
|
|
14
14
|
const attributes = mergeProps(slider.getThumbProps(thumbProps), { className: classesSlider.thumb }, rest);
|
|
15
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
+
return /* @__PURE__ */ jsx(ThumbContext.Provider, {
|
|
16
16
|
value: thumbProps,
|
|
17
17
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
18
18
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.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 { splitThumbProps, type ThumbProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Thumb(props: SliderThumbProps) {\n\tconst slider = use(RootContext);\n\n\tconst [thumbProps, componentProps] = splitThumbProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\tslider.getThumbProps(thumbProps),\n\t\t{\n\t\t\tclassName: classesSlider.thumb,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<ThumbContext.Provider value={thumbProps}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</ThumbContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,YAAY;CAE/B,MAAM,CAAC,YAAY,kBAAkB,gBAAgB,MAAM;CAC3D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,cAAc,WAAW,EAChC,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QACC,oBAAC,aAAa;EAAS,OAAO;YAC5B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC/C"}
|
|
@@ -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_runtime73 from "react/jsx-runtime";
|
|
3
|
+
import * as react57 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/slider/anatomy/track.d.ts
|
|
7
6
|
interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Track(props: SliderTrackProps):
|
|
7
|
+
declare function Track(props: SliderTrackProps): react57.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { SliderTrackProps, Track };
|
|
11
10
|
//# sourceMappingURL=track.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"track.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"track.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/track.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/track.tsx
|
|
8
8
|
function Track(props) {
|
|
9
|
-
const slider = use(
|
|
9
|
+
const slider = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(slider.getTrackProps(), { className: classesSlider.track }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/slider/anatomy/track.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 SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: SliderTrackProps) {\n\tconst slider = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getTrackProps(),\n\t\t{\n\t\t\tclassName: classesSlider.track,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,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,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_runtime79 from "react/jsx-runtime";
|
|
3
|
+
import * as react61 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/slider/anatomy/value-text.d.ts
|
|
7
6
|
interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}
|
|
8
|
-
declare function ValueText(props: SliderValueTextProps):
|
|
7
|
+
declare function ValueText(props: SliderValueTextProps): react61.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { SliderValueTextProps, ValueText };
|
|
11
10
|
//# sourceMappingURL=value-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-text.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"value-text.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,oBAAA,SAA6B,4BAA4B;iBAElD,SAAA,QAAiB,uBAAoB,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/value-text.tsx
|
|
8
8
|
function ValueText(props) {
|
|
9
|
-
const slider = use(
|
|
9
|
+
const slider = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(slider.getValueTextProps(), { className: classesSlider.valueText }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("output", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-text.js","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"value-text.js","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.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 SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}\n\nexport default function ValueText(props: SliderValueTextProps) {\n\tconst slider = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tslider.getValueTextProps(),\n\t\t{\n\t\t\tclassName: classesSlider.valueText,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <output {...attributes}>{children}</output>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA6B;CAC9D,MAAM,SAAS,IAAI,YAAY;CAE/B,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,OAAO,mBAAmB,EAC1B,EACC,WAAW,cAAc,WACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -5,7 +5,7 @@ import { Marker } from "../anatomy/marker.js";
|
|
|
5
5
|
import { MarkerGroup } from "../anatomy/marker-group.js";
|
|
6
6
|
import { Range } from "../anatomy/range.js";
|
|
7
7
|
import { SliderRoot } from "../anatomy/root.js";
|
|
8
|
-
import {
|
|
8
|
+
import { RootContext } from "../anatomy/root-context.js";
|
|
9
9
|
import { SliderRootProvider } from "../anatomy/root-provider.js";
|
|
10
10
|
import { Thumb } from "../anatomy/thumb.js";
|
|
11
11
|
import { Track } from "../anatomy/track.js";
|
|
@@ -14,7 +14,7 @@ import { ValueText } from "../anatomy/value-text.js";
|
|
|
14
14
|
//#region src/components/slider/modules/anatomy.d.ts
|
|
15
15
|
declare const Slider: typeof SliderRoot & {
|
|
16
16
|
Provider: typeof SliderRootProvider;
|
|
17
|
-
Context: typeof
|
|
17
|
+
Context: typeof RootContext;
|
|
18
18
|
Label: typeof Label;
|
|
19
19
|
ValueText: typeof ValueText;
|
|
20
20
|
Control: typeof Control;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/slider/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;cAaa,eAAM;;EAAN,OAAA,EAYX,
|
|
1
|
+
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/slider/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;cAaa,eAAM;;EAAN,OAAA,EAYX,kBAAA;EAAA,KAAA,EAAA,YAAA;WAZiB,EAAA,gBAAA"}
|
|
@@ -5,7 +5,7 @@ import Marker from "../anatomy/marker.js";
|
|
|
5
5
|
import MarkerGroup from "../anatomy/marker-group.js";
|
|
6
6
|
import Range from "../anatomy/range.js";
|
|
7
7
|
import SliderRoot from "../anatomy/root.js";
|
|
8
|
-
import
|
|
8
|
+
import RootContext from "../anatomy/root-context.js";
|
|
9
9
|
import SliderRootProvider from "../anatomy/root-provider.js";
|
|
10
10
|
import Thumb from "../anatomy/thumb.js";
|
|
11
11
|
import Track from "../anatomy/track.js";
|
|
@@ -14,7 +14,7 @@ import ValueText from "../anatomy/value-text.js";
|
|
|
14
14
|
//#region src/components/slider/modules/anatomy.ts
|
|
15
15
|
const Slider = Object.assign(SliderRoot, {
|
|
16
16
|
Provider: SliderRootProvider,
|
|
17
|
-
Context:
|
|
17
|
+
Context: RootContext,
|
|
18
18
|
Label,
|
|
19
19
|
ValueText,
|
|
20
20
|
Control,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anatomy.js","names":["Root","RootProvider"
|
|
1
|
+
{"version":3,"file":"anatomy.js","names":["Root","RootProvider"],"sources":["../../../../src/components/slider/modules/anatomy.ts"],"sourcesContent":["import Control from '../anatomy/control';\nimport HiddenInput from '../anatomy/hidden-input';\nimport Label from '../anatomy/label';\nimport Marker from '../anatomy/marker';\nimport MarkerGroup from '../anatomy/marker-group';\nimport Range from '../anatomy/range';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\nimport Thumb from '../anatomy/thumb';\nimport Track from '../anatomy/track';\nimport ValueText from '../anatomy/value-text';\n\nexport const Slider = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tLabel: Label,\n\tValueText: ValueText,\n\tControl: Control,\n\tTrack: Track,\n\tRange: Range,\n\tThumb: Thumb,\n\tHiddenInput: HiddenInput,\n\tMarkerGroup: MarkerGroup,\n\tMarker: Marker,\n});\n"],"mappings":";;;;;;;;;;;;;;AAaA,MAAa,SAAS,OAAO,OAAOA,YAAM;CACzC,UAAUC;CACV,SAAS;CACF;CACI;CACF;CACF;CACA;CACA;CACM;CACA;CACL;CACR,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropTypes } from "@zag-js/react";
|
|
2
2
|
import { Api, Props } from "@zag-js/slider";
|
|
3
3
|
|
|
4
|
-
//#region src/components/slider/modules/
|
|
4
|
+
//#region src/components/slider/modules/provider.d.ts
|
|
5
5
|
declare function useSlider(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { useSlider };
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","names":[],"sources":["../../../../src/components/slider/modules/provider.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,SAAA,SAAiB,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/slider";
|
|
4
4
|
|
|
5
|
-
//#region src/components/slider/modules/
|
|
5
|
+
//#region src/components/slider/modules/provider.ts
|
|
6
6
|
function useSlider(props = {}) {
|
|
7
7
|
const service = useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
@@ -13,4 +13,4 @@ function useSlider(props = {}) {
|
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
export { useSlider };
|
|
16
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","names":[],"sources":["../../../../src/components/slider/modules/provider.ts"],"sourcesContent":["import { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/slider';\nimport type { Api, Props } from '@zag-js/slider';\nimport { useId } from 'react';\n\nexport function useSlider(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAKA,SAAgB,UAAU,QAA2B,EAAE,EAAkB;CACxE,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,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/slider/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/slider/modules/root-context.ts"],"sourcesContent":["import type { useSlider } from './
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/slider/modules/root-context.ts"],"sourcesContent":["import type { useSlider } from './provider';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<ReturnType<typeof useSlider>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAA6C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createContext } from "../../../internal/create-context.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/slider/modules/thumb-context.ts
|
|
4
|
-
const
|
|
4
|
+
const ThumbContext = createContext();
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
|
-
export {
|
|
7
|
+
export { ThumbContext };
|
|
8
8
|
//# sourceMappingURL=thumb-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thumb-context.js","names":[],"sources":["../../../../src/components/slider/modules/thumb-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ThumbProps } from '@zag-js/slider';\n\nexport const
|
|
1
|
+
{"version":3,"file":"thumb-context.js","names":[],"sources":["../../../../src/components/slider/modules/thumb-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ThumbProps } from '@zag-js/slider';\n\nexport const ThumbContext = createContext<ThumbProps>();\n"],"mappings":";;;AAGA,MAAa,eAAe,eAA2B"}
|
|
@@ -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_runtime82 from "react/jsx-runtime";
|
|
3
|
+
import * as react53 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/switch/anatomy/control.d.ts
|
|
7
6
|
interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Control(props: SwitchControlProps):
|
|
7
|
+
declare function Control(props: SwitchControlProps): react53.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { Control, SwitchControlProps };
|
|
11
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,kBAAA,SAA2B,0BAA0B;iBAE9C,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 { classesSwitch } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/switch/anatomy/control.tsx
|
|
8
8
|
function Control(props) {
|
|
9
|
-
const switch_ = use(
|
|
9
|
+
const switch_ = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(switch_.getControlProps(), { className: classesSwitch.control }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/switch/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 { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Control(props: SwitchControlProps) {\n\tconst switch_ = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getControlProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.control,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA2B;CAC1D,MAAM,UAAU,IAAI,YAAY;CAEhC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,iBAAiB,EACzB,EACC,WAAW,cAAc,SACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -1,11 +1,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_runtime83 from "react/jsx-runtime";
|
|
3
|
+
import * as react54 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/switch/anatomy/hidden-input.d.ts
|
|
7
6
|
interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: SwitchHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: SwitchHiddenInputProps): react54.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { HiddenInput, SwitchHiddenInputProps };
|
|
11
10
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,2BAA2B;iBAEnD,WAAA,QAAmB,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 { classesSwitch } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/switch/anatomy/hidden-input.tsx
|
|
8
8
|
function HiddenInput(props) {
|
|
9
|
-
const switch_ = use(
|
|
9
|
+
const switch_ = use(RootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(switch_.getHiddenInputProps(), { className: classesSwitch.hiddenInput }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SwitchHiddenInputProps) {\n\tconst switch_ = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getHiddenInputProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA+B;CAClE,MAAM,UAAU,IAAI,YAAY;CAEhC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,QAAQ,qBAAqB,EAC7B,EACC,WAAW,cAAc,aACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
|
|
@@ -1,11 +1,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_runtime85 from "react/jsx-runtime";
|
|
3
|
+
import * as react55 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/switch/anatomy/label.d.ts
|
|
7
6
|
interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Label(props: SwitchLabelProps):
|
|
7
|
+
declare function Label(props: SwitchLabelProps): react55.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { Label, SwitchLabelProps };
|
|
11
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,gBAAA,SAAyB,0BAA0B;iBAE5C,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 { classesSwitch } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/switch/anatomy/label.tsx
|
|
8
8
|
function Label(props) {
|
|
9
|
-
const switch_ = use(
|
|
9
|
+
const switch_ = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(switch_.getLabelProps(), { className: classesSwitch.label }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/switch/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 { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Label(props: SwitchLabelProps) {\n\tconst switch_ = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,UAAU,IAAI,YAAY;CAEhC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/switch/anatomy/root-context.tsx
|
|
5
|
-
function RootContext(props) {
|
|
6
|
-
const switch_ = use(
|
|
5
|
+
function RootContext$1(props) {
|
|
6
|
+
const switch_ = use(RootContext);
|
|
7
7
|
const { children } = props;
|
|
8
8
|
return children(switch_);
|
|
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/switch/anatomy/root-context.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root-context.js","names":["RootContext","RootContext_"],"sources":["../../../../src/components/switch/anatomy/root-context.tsx"],"sourcesContent":["import type { useSwitch } from '../modules/provider';\nimport { RootContext as RootContext_ } from '../modules/root-context';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface SwitchRootContextProps {\n\tchildren: (switch_: ReturnType<typeof useSwitch>) => ReactNode;\n}\n\nexport default function RootContext(props: SwitchRootContextProps) {\n\tconst switch_ = use(RootContext_);\n\n\tconst { children } = props;\n\n\treturn children(switch_);\n}\n"],"mappings":";;;;AASA,SAAwBA,cAAY,OAA+B;CAClE,MAAM,UAAU,IAAIC,YAAa;CAEjC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,QAAQ"}
|
|
@@ -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 { useSwitch } from "../modules/
|
|
4
|
-
import * as
|
|
3
|
+
import { useSwitch } from "../modules/provider.js";
|
|
4
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/root-provider.d.ts
|
|
7
7
|
interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSwitch>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: SwitchRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime21.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SwitchRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|