@skeletonlabs/skeleton-react 2.0.0-next.1 → 2.0.0-next.11
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 +12 -0
- package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/item-content.js +22 -0
- package/dist/components/accordion/anatomy/item-content.js.map +1 -0
- package/dist/components/accordion/anatomy/item-heading.d.ts +19 -0
- package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/item-heading.js +18 -0
- package/dist/components/accordion/anatomy/item-heading.js.map +1 -0
- package/dist/components/accordion/anatomy/item-indicator.d.ts +12 -0
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/item-indicator.js +22 -0
- package/dist/components/accordion/anatomy/item-indicator.js.map +1 -0
- package/dist/components/accordion/anatomy/item-trigger.d.ts +12 -0
- package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/item-trigger.js +22 -0
- package/dist/components/accordion/anatomy/item-trigger.js.map +1 -0
- package/dist/components/accordion/anatomy/item.d.ts +12 -0
- package/dist/components/accordion/anatomy/item.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/item.js +26 -0
- package/dist/components/accordion/anatomy/item.js.map +1 -0
- package/dist/components/accordion/anatomy/root-context.d.ts +11 -0
- package/dist/components/accordion/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/root-context.js +13 -0
- package/dist/components/accordion/anatomy/root-context.js.map +1 -0
- package/dist/components/accordion/anatomy/root-provider.d.ts +13 -0
- package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/root-provider.js +21 -0
- package/dist/components/accordion/anatomy/root-provider.js.map +1 -0
- package/dist/components/accordion/anatomy/root.d.ts +11 -0
- package/dist/components/accordion/anatomy/root.d.ts.map +1 -0
- package/dist/components/accordion/anatomy/root.js +25 -0
- package/dist/components/accordion/anatomy/root.js.map +1 -0
- package/dist/components/accordion/modules/anatomy.d.ts +22 -0
- package/dist/components/accordion/modules/anatomy.d.ts.map +1 -0
- package/dist/components/accordion/modules/anatomy.js +23 -0
- package/dist/components/accordion/modules/anatomy.js.map +1 -0
- package/dist/components/accordion/modules/item-context.js +8 -0
- package/dist/components/accordion/modules/item-context.js.map +1 -0
- package/dist/components/accordion/modules/root-context.js +8 -0
- package/dist/components/accordion/modules/root-context.js.map +1 -0
- package/dist/components/accordion/modules/use-accordion.d.ts +8 -0
- package/dist/components/accordion/modules/use-accordion.d.ts.map +1 -0
- package/dist/components/accordion/modules/use-accordion.js +16 -0
- package/dist/components/accordion/modules/use-accordion.js.map +1 -0
- package/dist/components/app-bar/anatomy/headline.d.ts +11 -0
- package/dist/components/app-bar/anatomy/headline.d.ts.map +1 -0
- package/dist/components/app-bar/anatomy/headline.js +17 -0
- package/dist/components/app-bar/anatomy/headline.js.map +1 -0
- package/dist/components/app-bar/anatomy/lead.d.ts +11 -0
- package/dist/components/app-bar/anatomy/lead.d.ts.map +1 -0
- package/dist/components/app-bar/anatomy/lead.js +17 -0
- package/dist/components/app-bar/anatomy/lead.js.map +1 -0
- package/dist/components/app-bar/anatomy/root.d.ts +11 -0
- package/dist/components/app-bar/anatomy/root.d.ts.map +1 -0
- package/dist/components/app-bar/anatomy/root.js +17 -0
- package/dist/components/app-bar/anatomy/root.js.map +1 -0
- package/dist/components/app-bar/anatomy/toolbar.d.ts +11 -0
- package/dist/components/app-bar/anatomy/toolbar.d.ts.map +1 -0
- package/dist/components/app-bar/anatomy/toolbar.js +17 -0
- package/dist/components/app-bar/anatomy/toolbar.js.map +1 -0
- package/dist/components/app-bar/anatomy/trail.d.ts +11 -0
- package/dist/components/app-bar/anatomy/trail.d.ts.map +1 -0
- package/dist/components/app-bar/anatomy/trail.js +17 -0
- package/dist/components/app-bar/anatomy/trail.js.map +1 -0
- package/dist/components/app-bar/modules/anatomy.d.ts +16 -0
- package/dist/components/app-bar/modules/anatomy.d.ts.map +1 -0
- package/dist/components/app-bar/modules/anatomy.js +17 -0
- package/dist/components/app-bar/modules/anatomy.js.map +1 -0
- package/dist/components/avatar/anatomy/fallback.d.ts +11 -0
- package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -0
- package/dist/components/avatar/anatomy/fallback.js +20 -0
- package/dist/components/avatar/anatomy/fallback.js.map +1 -0
- package/dist/components/avatar/anatomy/image.d.ts +11 -0
- package/dist/components/avatar/anatomy/image.d.ts.map +1 -0
- package/dist/components/avatar/anatomy/image.js +17 -0
- package/dist/components/avatar/anatomy/image.js.map +1 -0
- package/dist/components/avatar/anatomy/root-context.d.ts +11 -0
- package/dist/components/avatar/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/avatar/anatomy/root-context.js +13 -0
- package/dist/components/avatar/anatomy/root-context.js.map +1 -0
- package/dist/components/avatar/anatomy/root-provider.d.ts +13 -0
- package/dist/components/avatar/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/avatar/anatomy/root-provider.js +21 -0
- package/dist/components/avatar/anatomy/root-provider.js.map +1 -0
- package/dist/components/avatar/anatomy/root.d.ts +11 -0
- package/dist/components/avatar/anatomy/root.d.ts.map +1 -0
- package/dist/components/avatar/anatomy/root.js +25 -0
- package/dist/components/avatar/anatomy/root.js.map +1 -0
- package/dist/components/avatar/modules/anatomy.d.ts +16 -0
- package/dist/components/avatar/modules/anatomy.d.ts.map +1 -0
- package/dist/components/avatar/modules/anatomy.js +17 -0
- package/dist/components/avatar/modules/anatomy.js.map +1 -0
- package/dist/components/avatar/modules/root-context.js +8 -0
- package/dist/components/avatar/modules/root-context.js.map +1 -0
- package/dist/components/avatar/modules/use-avatar.d.ts +8 -0
- package/dist/components/avatar/modules/use-avatar.d.ts.map +1 -0
- package/dist/components/avatar/modules/use-avatar.js +16 -0
- package/dist/components/avatar/modules/use-avatar.js.map +1 -0
- package/dist/components/combobox/anatomy/content.d.ts +11 -0
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/content.js +20 -0
- package/dist/components/combobox/anatomy/content.js.map +1 -0
- package/dist/components/combobox/anatomy/control.d.ts +11 -0
- package/dist/components/combobox/anatomy/control.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/control.js +20 -0
- package/dist/components/combobox/anatomy/control.js.map +1 -0
- package/dist/components/combobox/anatomy/input.d.ts +11 -0
- package/dist/components/combobox/anatomy/input.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/input.js +17 -0
- package/dist/components/combobox/anatomy/input.js.map +1 -0
- package/dist/components/combobox/anatomy/item-group-label.d.ts +12 -0
- package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-group-label.js +27 -0
- package/dist/components/combobox/anatomy/item-group-label.js.map +1 -0
- package/dist/components/combobox/anatomy/item-group.d.ts +11 -0
- package/dist/components/combobox/anatomy/item-group.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-group.js +29 -0
- package/dist/components/combobox/anatomy/item-group.js.map +1 -0
- package/dist/components/combobox/anatomy/item-indicator.d.ts +11 -0
- package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-indicator.js +23 -0
- package/dist/components/combobox/anatomy/item-indicator.js.map +1 -0
- package/dist/components/combobox/anatomy/item-text.d.ts +11 -0
- package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-text.js +22 -0
- package/dist/components/combobox/anatomy/item-text.js.map +1 -0
- package/dist/components/combobox/anatomy/item.d.ts +11 -0
- package/dist/components/combobox/anatomy/item.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item.js +26 -0
- package/dist/components/combobox/anatomy/item.js.map +1 -0
- package/dist/components/combobox/anatomy/label.d.ts +11 -0
- package/dist/components/combobox/anatomy/label.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/label.js +20 -0
- package/dist/components/combobox/anatomy/label.js.map +1 -0
- package/dist/components/combobox/anatomy/positioner.d.ts +11 -0
- package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/positioner.js +20 -0
- package/dist/components/combobox/anatomy/positioner.js.map +1 -0
- package/dist/components/combobox/anatomy/root-context.d.ts +11 -0
- package/dist/components/combobox/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/root-context.js +13 -0
- package/dist/components/combobox/anatomy/root-context.js.map +1 -0
- package/dist/components/combobox/anatomy/root-provider.d.ts +13 -0
- package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/root-provider.js +21 -0
- package/dist/components/combobox/anatomy/root-provider.js.map +1 -0
- package/dist/components/combobox/anatomy/root.d.ts +11 -0
- package/dist/components/combobox/anatomy/root.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/root.js +25 -0
- package/dist/components/combobox/anatomy/root.js.map +1 -0
- package/dist/components/combobox/anatomy/trigger.d.ts +11 -0
- package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/trigger.js +21 -0
- package/dist/components/combobox/anatomy/trigger.js.map +1 -0
- package/dist/components/combobox/modules/anatomy.d.ts +34 -0
- package/dist/components/combobox/modules/anatomy.d.ts.map +1 -0
- package/dist/components/combobox/modules/anatomy.js +35 -0
- package/dist/components/combobox/modules/anatomy.js.map +1 -0
- package/dist/components/combobox/modules/item-context.js +8 -0
- package/dist/components/combobox/modules/item-context.js.map +1 -0
- package/dist/components/combobox/modules/item-group-context.js +8 -0
- package/dist/components/combobox/modules/item-group-context.js.map +1 -0
- package/dist/components/combobox/modules/root-context.js +8 -0
- package/dist/components/combobox/modules/root-context.js.map +1 -0
- package/dist/components/combobox/modules/use-combobox.d.ts +8 -0
- package/dist/components/combobox/modules/use-combobox.d.ts.map +1 -0
- package/dist/components/combobox/modules/use-combobox.js +16 -0
- package/dist/components/combobox/modules/use-combobox.js.map +1 -0
- package/dist/components/dialog/anatomy/backdrop.d.ts +11 -0
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/backdrop.js +17 -0
- package/dist/components/dialog/anatomy/backdrop.js.map +1 -0
- package/dist/components/dialog/anatomy/close-trigger.d.ts +11 -0
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/close-trigger.js +20 -0
- package/dist/components/dialog/anatomy/close-trigger.js.map +1 -0
- package/dist/components/dialog/anatomy/content.d.ts +11 -0
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/content.js +20 -0
- package/dist/components/dialog/anatomy/content.js.map +1 -0
- package/dist/components/dialog/anatomy/description.d.ts +11 -0
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/description.js +20 -0
- package/dist/components/dialog/anatomy/description.js.map +1 -0
- package/dist/components/dialog/anatomy/positioner.d.ts +11 -0
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/positioner.js +20 -0
- package/dist/components/dialog/anatomy/positioner.js.map +1 -0
- package/dist/components/dialog/anatomy/root-context.d.ts +11 -0
- package/dist/components/dialog/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/root-context.js +13 -0
- package/dist/components/dialog/anatomy/root-context.js.map +1 -0
- package/dist/components/dialog/anatomy/root-provider.d.ts +12 -0
- package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/root-provider.js +15 -0
- package/dist/components/dialog/anatomy/root-provider.js.map +1 -0
- package/dist/components/dialog/anatomy/root.d.ts +10 -0
- package/dist/components/dialog/anatomy/root.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/root.js +20 -0
- package/dist/components/dialog/anatomy/root.js.map +1 -0
- package/dist/components/dialog/anatomy/title.d.ts +11 -0
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/title.js +20 -0
- package/dist/components/dialog/anatomy/title.js.map +1 -0
- package/dist/components/dialog/anatomy/trigger.d.ts +11 -0
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/dialog/anatomy/trigger.js +20 -0
- package/dist/components/dialog/anatomy/trigger.js.map +1 -0
- package/dist/components/dialog/modules/anatomy.d.ts +26 -0
- package/dist/components/dialog/modules/anatomy.d.ts.map +1 -0
- package/dist/components/dialog/modules/anatomy.js +27 -0
- package/dist/components/dialog/modules/anatomy.js.map +1 -0
- package/dist/components/dialog/modules/root-context.js +8 -0
- package/dist/components/dialog/modules/root-context.js.map +1 -0
- package/dist/components/dialog/modules/use-dialog.d.ts +8 -0
- package/dist/components/dialog/modules/use-dialog.d.ts.map +1 -0
- package/dist/components/dialog/modules/use-dialog.js +16 -0
- package/dist/components/dialog/modules/use-dialog.js.map +1 -0
- package/dist/components/file-upload/anatomy/dropzone.d.ts +11 -0
- package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/dropzone.js +20 -0
- package/dist/components/file-upload/anatomy/dropzone.js.map +1 -0
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +11 -0
- package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/hidden-input.js +17 -0
- package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -0
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +11 -0
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/item-delete-trigger.js +22 -0
- package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -0
- package/dist/components/file-upload/anatomy/item-group.d.ts +11 -0
- package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/item-group.js +20 -0
- package/dist/components/file-upload/anatomy/item-group.js.map +1 -0
- package/dist/components/file-upload/anatomy/item-name.d.ts +11 -0
- package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/item-name.js +22 -0
- package/dist/components/file-upload/anatomy/item-name.js.map +1 -0
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +11 -0
- package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/item-size-text.js +22 -0
- package/dist/components/file-upload/anatomy/item-size-text.js.map +1 -0
- package/dist/components/file-upload/anatomy/item.d.ts +11 -0
- package/dist/components/file-upload/anatomy/item.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/item.js +26 -0
- package/dist/components/file-upload/anatomy/item.js.map +1 -0
- package/dist/components/file-upload/anatomy/root-context.d.ts +11 -0
- package/dist/components/file-upload/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/root-context.js +13 -0
- package/dist/components/file-upload/anatomy/root-context.js.map +1 -0
- package/dist/components/file-upload/anatomy/root-provider.d.ts +13 -0
- package/dist/components/file-upload/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/root-provider.js +21 -0
- package/dist/components/file-upload/anatomy/root-provider.js.map +1 -0
- package/dist/components/file-upload/anatomy/root.d.ts +11 -0
- package/dist/components/file-upload/anatomy/root.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/root.js +25 -0
- package/dist/components/file-upload/anatomy/root.js.map +1 -0
- package/dist/components/file-upload/anatomy/trigger.d.ts +11 -0
- package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/file-upload/anatomy/trigger.js +20 -0
- package/dist/components/file-upload/anatomy/trigger.js.map +1 -0
- package/dist/components/file-upload/modules/anatomy.d.ts +28 -0
- package/dist/components/file-upload/modules/anatomy.d.ts.map +1 -0
- package/dist/components/file-upload/modules/anatomy.js +29 -0
- package/dist/components/file-upload/modules/anatomy.js.map +1 -0
- package/dist/components/file-upload/modules/item-context.js +8 -0
- package/dist/components/file-upload/modules/item-context.js.map +1 -0
- package/dist/components/file-upload/modules/root-context.js +8 -0
- package/dist/components/file-upload/modules/root-context.js.map +1 -0
- package/dist/components/file-upload/modules/use-file-upload.d.ts +8 -0
- package/dist/components/file-upload/modules/use-file-upload.d.ts.map +1 -0
- package/dist/components/file-upload/modules/use-file-upload.js +16 -0
- package/dist/components/file-upload/modules/use-file-upload.js.map +1 -0
- package/dist/components/popover/anatomy/arrow-tip.d.ts +11 -0
- package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -0
- package/dist/components/popover/anatomy/arrow-tip.js +20 -0
- package/dist/components/popover/anatomy/arrow-tip.js.map +1 -0
- package/dist/components/popover/anatomy/arrow.d.ts +11 -0
- package/dist/components/popover/anatomy/arrow.d.ts.map +1 -0
- package/dist/components/popover/anatomy/arrow.js +20 -0
- package/dist/components/popover/anatomy/arrow.js.map +1 -0
- package/dist/components/popover/anatomy/close-trigger.d.ts +11 -0
- package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -0
- package/dist/components/popover/anatomy/close-trigger.js +20 -0
- package/dist/components/popover/anatomy/close-trigger.js.map +1 -0
- package/dist/components/popover/anatomy/content.d.ts +11 -0
- package/dist/components/popover/anatomy/content.d.ts.map +1 -0
- package/dist/components/popover/anatomy/content.js +20 -0
- package/dist/components/popover/anatomy/content.js.map +1 -0
- package/dist/components/popover/anatomy/description.d.ts +11 -0
- package/dist/components/popover/anatomy/description.d.ts.map +1 -0
- package/dist/components/popover/anatomy/description.js +20 -0
- package/dist/components/popover/anatomy/description.js.map +1 -0
- package/dist/components/popover/anatomy/positioner.d.ts +10 -0
- package/dist/components/popover/anatomy/positioner.d.ts.map +1 -0
- package/dist/components/popover/anatomy/positioner.js +21 -0
- package/dist/components/popover/anatomy/positioner.js.map +1 -0
- package/dist/components/popover/anatomy/root-context.d.ts +11 -0
- package/dist/components/popover/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/popover/anatomy/root-context.js +13 -0
- package/dist/components/popover/anatomy/root-context.js.map +1 -0
- package/dist/components/popover/anatomy/root-provider.d.ts +12 -0
- package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/popover/anatomy/root-provider.js +15 -0
- package/dist/components/popover/anatomy/root-provider.js.map +1 -0
- package/dist/components/popover/anatomy/root.d.ts +10 -0
- package/dist/components/popover/anatomy/root.d.ts.map +1 -0
- package/dist/components/popover/anatomy/root.js +20 -0
- package/dist/components/popover/anatomy/root.js.map +1 -0
- package/dist/components/popover/anatomy/title.d.ts +11 -0
- package/dist/components/popover/anatomy/title.d.ts.map +1 -0
- package/dist/components/popover/anatomy/title.js +20 -0
- package/dist/components/popover/anatomy/title.js.map +1 -0
- package/dist/components/popover/anatomy/trigger.d.ts +12 -0
- package/dist/components/popover/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/popover/anatomy/trigger.js +20 -0
- package/dist/components/popover/anatomy/trigger.js.map +1 -0
- package/dist/components/popover/modules/anatomy.d.ts +28 -0
- package/dist/components/popover/modules/anatomy.d.ts.map +1 -0
- package/dist/components/popover/modules/anatomy.js +29 -0
- package/dist/components/popover/modules/anatomy.js.map +1 -0
- package/dist/components/popover/modules/root-context.js +8 -0
- package/dist/components/popover/modules/root-context.js.map +1 -0
- package/dist/components/popover/modules/use-popover.d.ts +8 -0
- package/dist/components/popover/modules/use-popover.d.ts.map +1 -0
- package/dist/components/popover/modules/use-popover.js +16 -0
- package/dist/components/popover/modules/use-popover.js.map +1 -0
- package/dist/components/progress-linear/anatomy/label.d.ts +11 -0
- package/dist/components/progress-linear/anatomy/label.d.ts.map +1 -0
- package/dist/components/progress-linear/anatomy/label.js +20 -0
- package/dist/components/progress-linear/anatomy/label.js.map +1 -0
- package/dist/components/progress-linear/anatomy/range.d.ts +11 -0
- package/dist/components/progress-linear/anatomy/range.d.ts.map +1 -0
- package/dist/components/progress-linear/anatomy/range.js +17 -0
- package/dist/components/progress-linear/anatomy/range.js.map +1 -0
- package/dist/components/progress-linear/anatomy/root-context.d.ts +11 -0
- package/dist/components/progress-linear/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/progress-linear/anatomy/root-context.js +13 -0
- package/dist/components/progress-linear/anatomy/root-context.js.map +1 -0
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +13 -0
- package/dist/components/progress-linear/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/progress-linear/anatomy/root-provider.js +21 -0
- package/dist/components/progress-linear/anatomy/root-provider.js.map +1 -0
- package/dist/components/progress-linear/anatomy/root.d.ts +11 -0
- package/dist/components/progress-linear/anatomy/root.d.ts.map +1 -0
- package/dist/components/progress-linear/anatomy/root.js +25 -0
- package/dist/components/progress-linear/anatomy/root.js.map +1 -0
- package/dist/components/progress-linear/anatomy/track.d.ts +11 -0
- package/dist/components/progress-linear/anatomy/track.d.ts.map +1 -0
- package/dist/components/progress-linear/anatomy/track.js +20 -0
- package/dist/components/progress-linear/anatomy/track.js.map +1 -0
- package/dist/components/progress-linear/modules/anatomy.d.ts +18 -0
- package/dist/components/progress-linear/modules/anatomy.d.ts.map +1 -0
- package/dist/components/progress-linear/modules/anatomy.js +19 -0
- package/dist/components/progress-linear/modules/anatomy.js.map +1 -0
- package/dist/components/progress-linear/modules/root-context.js +8 -0
- package/dist/components/progress-linear/modules/root-context.js.map +1 -0
- package/dist/components/progress-linear/modules/use-progress-linear.d.ts +8 -0
- package/dist/components/progress-linear/modules/use-progress-linear.d.ts.map +1 -0
- package/dist/components/progress-linear/modules/use-progress-linear.js +16 -0
- package/dist/components/progress-linear/modules/use-progress-linear.js.map +1 -0
- package/dist/components/rating-group/anatomy/control.d.ts +11 -0
- package/dist/components/rating-group/anatomy/control.d.ts.map +1 -0
- package/dist/components/rating-group/anatomy/control.js +20 -0
- package/dist/components/rating-group/anatomy/control.js.map +1 -0
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +11 -0
- package/dist/components/rating-group/anatomy/hidden-input.d.ts.map +1 -0
- package/dist/components/rating-group/anatomy/hidden-input.js +17 -0
- package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -0
- package/dist/components/rating-group/anatomy/item.d.ts +32 -0
- package/dist/components/rating-group/anatomy/item.d.ts.map +1 -0
- package/dist/components/rating-group/anatomy/item.js +26 -0
- package/dist/components/rating-group/anatomy/item.js.map +1 -0
- package/dist/components/rating-group/anatomy/label.d.ts +11 -0
- package/dist/components/rating-group/anatomy/label.d.ts.map +1 -0
- package/dist/components/rating-group/anatomy/label.js +20 -0
- package/dist/components/rating-group/anatomy/label.js.map +1 -0
- package/dist/components/rating-group/anatomy/root-context.d.ts +11 -0
- package/dist/components/rating-group/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/rating-group/anatomy/root-context.js +13 -0
- package/dist/components/rating-group/anatomy/root-context.js.map +1 -0
- package/dist/components/rating-group/anatomy/root-provider.d.ts +13 -0
- package/dist/components/rating-group/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/rating-group/anatomy/root-provider.js +21 -0
- package/dist/components/rating-group/anatomy/root-provider.js.map +1 -0
- package/dist/components/rating-group/anatomy/root.d.ts +11 -0
- package/dist/components/rating-group/anatomy/root.d.ts.map +1 -0
- package/dist/components/rating-group/anatomy/root.js +25 -0
- package/dist/components/rating-group/anatomy/root.js.map +1 -0
- package/dist/components/rating-group/modules/anatomy.d.ts +20 -0
- package/dist/components/rating-group/modules/anatomy.d.ts.map +1 -0
- package/dist/components/rating-group/modules/anatomy.js +21 -0
- package/dist/components/rating-group/modules/anatomy.js.map +1 -0
- package/dist/components/rating-group/modules/root-context.js +8 -0
- package/dist/components/rating-group/modules/root-context.js.map +1 -0
- package/dist/components/rating-group/modules/use-rating-group.d.ts +8 -0
- package/dist/components/rating-group/modules/use-rating-group.d.ts.map +1 -0
- package/dist/components/rating-group/modules/use-rating-group.js +16 -0
- package/dist/components/rating-group/modules/use-rating-group.js.map +1 -0
- package/dist/components/segmented-control/anatomy/indicator.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/indicator.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/indicator.js +17 -0
- package/dist/components/segmented-control/anatomy/indicator.js.map +1 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.js +19 -0
- package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -0
- package/dist/components/segmented-control/anatomy/item-text.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/item-text.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/item-text.js +22 -0
- package/dist/components/segmented-control/anatomy/item-text.js.map +1 -0
- package/dist/components/segmented-control/anatomy/item.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/item.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/item.js +26 -0
- package/dist/components/segmented-control/anatomy/item.js.map +1 -0
- package/dist/components/segmented-control/anatomy/root-context.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/root-context.js +13 -0
- package/dist/components/segmented-control/anatomy/root-context.js.map +1 -0
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +13 -0
- package/dist/components/segmented-control/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/root-provider.js +21 -0
- package/dist/components/segmented-control/anatomy/root-provider.js.map +1 -0
- package/dist/components/segmented-control/anatomy/root.d.ts +11 -0
- package/dist/components/segmented-control/anatomy/root.d.ts.map +1 -0
- package/dist/components/segmented-control/anatomy/root.js +25 -0
- package/dist/components/segmented-control/anatomy/root.js.map +1 -0
- package/dist/components/segmented-control/modules/anatomy.d.ts +20 -0
- package/dist/components/segmented-control/modules/anatomy.d.ts.map +1 -0
- package/dist/components/segmented-control/modules/anatomy.js +21 -0
- package/dist/components/segmented-control/modules/anatomy.js.map +1 -0
- package/dist/components/segmented-control/modules/item-context.js +8 -0
- package/dist/components/segmented-control/modules/item-context.js.map +1 -0
- package/dist/components/segmented-control/modules/root-context.js +8 -0
- package/dist/components/segmented-control/modules/root-context.js.map +1 -0
- package/dist/components/segmented-control/modules/use-segmented-control.d.ts +8 -0
- package/dist/components/segmented-control/modules/use-segmented-control.d.ts.map +1 -0
- package/dist/components/segmented-control/modules/use-segmented-control.js +17 -0
- package/dist/components/segmented-control/modules/use-segmented-control.js.map +1 -0
- package/dist/components/slider/anatomy/control.d.ts +11 -0
- package/dist/components/slider/anatomy/control.d.ts.map +1 -0
- package/dist/components/slider/anatomy/control.js +20 -0
- package/dist/components/slider/anatomy/control.js.map +1 -0
- package/dist/components/slider/anatomy/hidden-input.d.ts +11 -0
- package/dist/components/slider/anatomy/hidden-input.d.ts.map +1 -0
- package/dist/components/slider/anatomy/hidden-input.js +19 -0
- package/dist/components/slider/anatomy/hidden-input.js.map +1 -0
- package/dist/components/slider/anatomy/label.d.ts +11 -0
- package/dist/components/slider/anatomy/label.d.ts.map +1 -0
- package/dist/components/slider/anatomy/label.js +20 -0
- package/dist/components/slider/anatomy/label.js.map +1 -0
- package/dist/components/slider/anatomy/marker-group.d.ts +11 -0
- package/dist/components/slider/anatomy/marker-group.d.ts.map +1 -0
- package/dist/components/slider/anatomy/marker-group.js +20 -0
- package/dist/components/slider/anatomy/marker-group.js.map +1 -0
- package/dist/components/slider/anatomy/marker.d.ts +12 -0
- package/dist/components/slider/anatomy/marker.d.ts.map +1 -0
- package/dist/components/slider/anatomy/marker.js +20 -0
- package/dist/components/slider/anatomy/marker.js.map +1 -0
- package/dist/components/slider/anatomy/range.d.ts +11 -0
- package/dist/components/slider/anatomy/range.d.ts.map +1 -0
- package/dist/components/slider/anatomy/range.js +20 -0
- package/dist/components/slider/anatomy/range.js.map +1 -0
- package/dist/components/slider/anatomy/root-context.d.ts +11 -0
- package/dist/components/slider/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/slider/anatomy/root-context.js +13 -0
- package/dist/components/slider/anatomy/root-context.js.map +1 -0
- package/dist/components/slider/anatomy/root-provider.d.ts +13 -0
- package/dist/components/slider/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/slider/anatomy/root-provider.js +21 -0
- package/dist/components/slider/anatomy/root-provider.js.map +1 -0
- package/dist/components/slider/anatomy/root.d.ts +11 -0
- package/dist/components/slider/anatomy/root.d.ts.map +1 -0
- package/dist/components/slider/anatomy/root.js +25 -0
- package/dist/components/slider/anatomy/root.js.map +1 -0
- package/dist/components/slider/anatomy/thumb.d.ts +11 -0
- package/dist/components/slider/anatomy/thumb.d.ts.map +1 -0
- package/dist/components/slider/anatomy/thumb.js +26 -0
- package/dist/components/slider/anatomy/thumb.js.map +1 -0
- package/dist/components/slider/anatomy/track.d.ts +11 -0
- package/dist/components/slider/anatomy/track.d.ts.map +1 -0
- package/dist/components/slider/anatomy/track.js +20 -0
- package/dist/components/slider/anatomy/track.js.map +1 -0
- package/dist/components/slider/anatomy/value-text.d.ts +11 -0
- package/dist/components/slider/anatomy/value-text.d.ts.map +1 -0
- package/dist/components/slider/anatomy/value-text.js +20 -0
- package/dist/components/slider/anatomy/value-text.js.map +1 -0
- package/dist/components/slider/modules/anatomy.d.ts +30 -0
- package/dist/components/slider/modules/anatomy.d.ts.map +1 -0
- package/dist/components/slider/modules/anatomy.js +31 -0
- package/dist/components/slider/modules/anatomy.js.map +1 -0
- package/dist/components/slider/modules/root-context.js +8 -0
- package/dist/components/slider/modules/root-context.js.map +1 -0
- package/dist/components/slider/modules/thumb-context.js +8 -0
- package/dist/components/slider/modules/thumb-context.js.map +1 -0
- package/dist/components/slider/modules/use-slider.d.ts +8 -0
- package/dist/components/slider/modules/use-slider.d.ts.map +1 -0
- package/dist/components/slider/modules/use-slider.js +16 -0
- package/dist/components/slider/modules/use-slider.js.map +1 -0
- package/dist/components/switch/anatomy/control.d.ts +11 -0
- package/dist/components/switch/anatomy/control.d.ts.map +1 -0
- package/dist/components/switch/anatomy/control.js +20 -0
- package/dist/components/switch/anatomy/control.js.map +1 -0
- package/dist/components/switch/anatomy/hidden-input.d.ts +11 -0
- package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -0
- package/dist/components/switch/anatomy/hidden-input.js +17 -0
- package/dist/components/switch/anatomy/hidden-input.js.map +1 -0
- package/dist/components/switch/anatomy/label.d.ts +11 -0
- package/dist/components/switch/anatomy/label.d.ts.map +1 -0
- package/dist/components/switch/anatomy/label.js +20 -0
- package/dist/components/switch/anatomy/label.js.map +1 -0
- package/dist/components/switch/anatomy/root-context.d.ts +11 -0
- package/dist/components/switch/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/switch/anatomy/root-context.js +13 -0
- package/dist/components/switch/anatomy/root-context.js.map +1 -0
- package/dist/components/switch/anatomy/root-provider.d.ts +13 -0
- package/dist/components/switch/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/switch/anatomy/root-provider.js +21 -0
- package/dist/components/switch/anatomy/root-provider.js.map +1 -0
- package/dist/components/switch/anatomy/root.d.ts +11 -0
- package/dist/components/switch/anatomy/root.d.ts.map +1 -0
- package/dist/components/switch/anatomy/root.js +25 -0
- package/dist/components/switch/anatomy/root.js.map +1 -0
- package/dist/components/switch/anatomy/thumb.d.ts +11 -0
- package/dist/components/switch/anatomy/thumb.d.ts.map +1 -0
- package/dist/components/switch/anatomy/thumb.js +20 -0
- package/dist/components/switch/anatomy/thumb.js.map +1 -0
- package/dist/components/switch/modules/anatomy.d.ts +20 -0
- package/dist/components/switch/modules/anatomy.d.ts.map +1 -0
- package/dist/components/switch/modules/anatomy.js +21 -0
- package/dist/components/switch/modules/anatomy.js.map +1 -0
- package/dist/components/switch/modules/root-context.js +8 -0
- package/dist/components/switch/modules/root-context.js.map +1 -0
- package/dist/components/switch/modules/use-switch.d.ts +8 -0
- package/dist/components/switch/modules/use-switch.d.ts.map +1 -0
- package/dist/components/switch/modules/use-switch.js +16 -0
- package/dist/components/switch/modules/use-switch.js.map +1 -0
- package/dist/components/tabs/anatomy/content.d.ts +12 -0
- package/dist/components/tabs/anatomy/content.d.ts.map +1 -0
- package/dist/components/tabs/anatomy/content.js +22 -0
- package/dist/components/tabs/anatomy/content.js.map +1 -0
- package/dist/components/tabs/anatomy/indicator.d.ts +11 -0
- package/dist/components/tabs/anatomy/indicator.d.ts.map +1 -0
- package/dist/components/tabs/anatomy/indicator.js +17 -0
- package/dist/components/tabs/anatomy/indicator.js.map +1 -0
- package/dist/components/tabs/anatomy/list.d.ts +11 -0
- package/dist/components/tabs/anatomy/list.d.ts.map +1 -0
- package/dist/components/tabs/anatomy/list.js +20 -0
- package/dist/components/tabs/anatomy/list.js.map +1 -0
- package/dist/components/tabs/anatomy/root-context.d.ts +11 -0
- package/dist/components/tabs/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/tabs/anatomy/root-context.js +13 -0
- package/dist/components/tabs/anatomy/root-context.js.map +1 -0
- package/dist/components/tabs/anatomy/root-provider.d.ts +13 -0
- package/dist/components/tabs/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/tabs/anatomy/root-provider.js +21 -0
- package/dist/components/tabs/anatomy/root-provider.js.map +1 -0
- package/dist/components/tabs/anatomy/root.d.ts +11 -0
- package/dist/components/tabs/anatomy/root.d.ts.map +1 -0
- package/dist/components/tabs/anatomy/root.js +25 -0
- package/dist/components/tabs/anatomy/root.js.map +1 -0
- package/dist/components/tabs/anatomy/trigger.d.ts +12 -0
- package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/tabs/anatomy/trigger.js +22 -0
- package/dist/components/tabs/anatomy/trigger.js.map +1 -0
- package/dist/components/tabs/modules/anatomy.d.ts +20 -0
- package/dist/components/tabs/modules/anatomy.d.ts.map +1 -0
- package/dist/components/tabs/modules/anatomy.js +21 -0
- package/dist/components/tabs/modules/anatomy.js.map +1 -0
- package/dist/components/tabs/modules/root-context.js +8 -0
- package/dist/components/tabs/modules/root-context.js.map +1 -0
- package/dist/components/tabs/modules/use-tabs.d.ts +8 -0
- package/dist/components/tabs/modules/use-tabs.d.ts.map +1 -0
- package/dist/components/tabs/modules/use-tabs.js +16 -0
- package/dist/components/tabs/modules/use-tabs.js.map +1 -0
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +11 -0
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/clear-trigger.js +20 -0
- package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -0
- package/dist/components/tags-input/anatomy/control.d.ts +11 -0
- package/dist/components/tags-input/anatomy/control.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/control.js +20 -0
- package/dist/components/tags-input/anatomy/control.js.map +1 -0
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +11 -0
- package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/hidden-input.js +17 -0
- package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -0
- package/dist/components/tags-input/anatomy/input.d.ts +11 -0
- package/dist/components/tags-input/anatomy/input.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/input.js +17 -0
- package/dist/components/tags-input/anatomy/input.js.map +1 -0
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +11 -0
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-delete-trigger.js +22 -0
- package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -0
- package/dist/components/tags-input/anatomy/item-input.d.ts +11 -0
- package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-input.js +19 -0
- package/dist/components/tags-input/anatomy/item-input.js.map +1 -0
- package/dist/components/tags-input/anatomy/item-preview.d.ts +11 -0
- package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-preview.js +22 -0
- package/dist/components/tags-input/anatomy/item-preview.js.map +1 -0
- package/dist/components/tags-input/anatomy/item-text.d.ts +11 -0
- package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item-text.js +22 -0
- package/dist/components/tags-input/anatomy/item-text.js.map +1 -0
- package/dist/components/tags-input/anatomy/item.d.ts +11 -0
- package/dist/components/tags-input/anatomy/item.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/item.js +26 -0
- package/dist/components/tags-input/anatomy/item.js.map +1 -0
- package/dist/components/tags-input/anatomy/label.d.ts +11 -0
- package/dist/components/tags-input/anatomy/label.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/label.js +20 -0
- package/dist/components/tags-input/anatomy/label.js.map +1 -0
- package/dist/components/tags-input/anatomy/root-context.d.ts +11 -0
- package/dist/components/tags-input/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/root-context.js +13 -0
- package/dist/components/tags-input/anatomy/root-context.js.map +1 -0
- package/dist/components/tags-input/anatomy/root-provider.d.ts +13 -0
- package/dist/components/tags-input/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/root-provider.js +21 -0
- package/dist/components/tags-input/anatomy/root-provider.js.map +1 -0
- package/dist/components/tags-input/anatomy/root.d.ts +11 -0
- package/dist/components/tags-input/anatomy/root.d.ts.map +1 -0
- package/dist/components/tags-input/anatomy/root.js +25 -0
- package/dist/components/tags-input/anatomy/root.js.map +1 -0
- package/dist/components/tags-input/modules/anatomy.d.ts +32 -0
- package/dist/components/tags-input/modules/anatomy.d.ts.map +1 -0
- package/dist/components/tags-input/modules/anatomy.js +33 -0
- package/dist/components/tags-input/modules/anatomy.js.map +1 -0
- package/dist/components/tags-input/modules/item-context.js +8 -0
- package/dist/components/tags-input/modules/item-context.js.map +1 -0
- package/dist/components/tags-input/modules/root-context.js +8 -0
- package/dist/components/tags-input/modules/root-context.js.map +1 -0
- package/dist/components/tags-input/modules/use-tags-input.d.ts +8 -0
- package/dist/components/tags-input/modules/use-tags-input.d.ts.map +1 -0
- package/dist/components/tags-input/modules/use-tags-input.js +16 -0
- package/dist/components/tags-input/modules/use-tags-input.js.map +1 -0
- package/dist/components/toast/anatomy/action-trigger.d.ts +11 -0
- package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -0
- package/dist/components/toast/anatomy/action-trigger.js +20 -0
- package/dist/components/toast/anatomy/action-trigger.js.map +1 -0
- package/dist/components/toast/anatomy/close-trigger.d.ts +11 -0
- package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -0
- package/dist/components/toast/anatomy/close-trigger.js +21 -0
- package/dist/components/toast/anatomy/close-trigger.js.map +1 -0
- package/dist/components/toast/anatomy/description.d.ts +11 -0
- package/dist/components/toast/anatomy/description.d.ts.map +1 -0
- package/dist/components/toast/anatomy/description.js +20 -0
- package/dist/components/toast/anatomy/description.js.map +1 -0
- package/dist/components/toast/anatomy/group.d.ts +15 -0
- package/dist/components/toast/anatomy/group.d.ts.map +1 -0
- package/dist/components/toast/anatomy/group.js +28 -0
- package/dist/components/toast/anatomy/group.js.map +1 -0
- package/dist/components/toast/anatomy/message.d.ts +11 -0
- package/dist/components/toast/anatomy/message.d.ts.map +1 -0
- package/dist/components/toast/anatomy/message.js +17 -0
- package/dist/components/toast/anatomy/message.js.map +1 -0
- package/dist/components/toast/anatomy/root-context.d.ts +12 -0
- package/dist/components/toast/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/toast/anatomy/root-context.js +13 -0
- package/dist/components/toast/anatomy/root-context.js.map +1 -0
- package/dist/components/toast/anatomy/root.d.ts +13 -0
- package/dist/components/toast/anatomy/root.d.ts.map +1 -0
- package/dist/components/toast/anatomy/root.js +58 -0
- package/dist/components/toast/anatomy/root.js.map +1 -0
- package/dist/components/toast/anatomy/title.d.ts +11 -0
- package/dist/components/toast/anatomy/title.d.ts.map +1 -0
- package/dist/components/toast/anatomy/title.js +20 -0
- package/dist/components/toast/anatomy/title.js.map +1 -0
- package/dist/components/toast/index.d.ts +10 -0
- package/dist/components/toast/index.js +4 -0
- package/dist/components/toast/modules/anatomy.d.ts +22 -0
- package/dist/components/toast/modules/anatomy.d.ts.map +1 -0
- package/dist/components/toast/modules/anatomy.js +23 -0
- package/dist/components/toast/modules/anatomy.js.map +1 -0
- package/dist/components/toast/modules/group-context.js +8 -0
- package/dist/components/toast/modules/group-context.js.map +1 -0
- package/dist/components/toast/modules/root-context.js +8 -0
- package/dist/components/toast/modules/root-context.js.map +1 -0
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +11 -0
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/arrow-tip.js +20 -0
- package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -0
- package/dist/components/tooltip/anatomy/arrow.d.ts +11 -0
- package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/arrow.js +20 -0
- package/dist/components/tooltip/anatomy/arrow.js.map +1 -0
- package/dist/components/tooltip/anatomy/content.d.ts +11 -0
- package/dist/components/tooltip/anatomy/content.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/content.js +20 -0
- package/dist/components/tooltip/anatomy/content.js.map +1 -0
- package/dist/components/tooltip/anatomy/positioner.d.ts +10 -0
- package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/positioner.js +20 -0
- package/dist/components/tooltip/anatomy/positioner.js.map +1 -0
- package/dist/components/tooltip/anatomy/root-context.d.ts +11 -0
- package/dist/components/tooltip/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/root-context.js +13 -0
- package/dist/components/tooltip/anatomy/root-context.js.map +1 -0
- package/dist/components/tooltip/anatomy/root-provider.d.ts +12 -0
- package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/root-provider.js +15 -0
- package/dist/components/tooltip/anatomy/root-provider.js.map +1 -0
- package/dist/components/tooltip/anatomy/root.d.ts +10 -0
- package/dist/components/tooltip/anatomy/root.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/root.js +19 -0
- package/dist/components/tooltip/anatomy/root.js.map +1 -0
- package/dist/components/tooltip/anatomy/trigger.d.ts +11 -0
- package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/tooltip/anatomy/trigger.js +20 -0
- package/dist/components/tooltip/anatomy/trigger.js.map +1 -0
- package/dist/components/tooltip/modules/anatomy.d.ts +22 -0
- package/dist/components/tooltip/modules/anatomy.d.ts.map +1 -0
- package/dist/components/tooltip/modules/anatomy.js +23 -0
- package/dist/components/tooltip/modules/anatomy.js.map +1 -0
- package/dist/components/tooltip/modules/root-context.js +8 -0
- package/dist/components/tooltip/modules/root-context.js.map +1 -0
- package/dist/components/tooltip/modules/use-tooltip.d.ts +8 -0
- package/dist/components/tooltip/modules/use-tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/modules/use-tooltip.js +16 -0
- package/dist/components/tooltip/modules/use-tooltip.js.map +1 -0
- package/dist/hooks/use-list-collection.d.ts +7 -0
- package/dist/hooks/use-list-collection.d.ts.map +1 -0
- package/dist/hooks/use-list-collection.js +10 -0
- package/dist/hooks/use-list-collection.js.map +1 -0
- package/dist/index.d.ts +168 -85
- package/dist/index.js +34 -162
- package/dist/internal/components/check.js +26 -0
- package/dist/internal/components/check.js.map +1 -0
- package/dist/internal/components/chevron-down.js +21 -0
- package/dist/internal/components/chevron-down.js.map +1 -0
- package/dist/internal/components/star-empty.js +23 -0
- package/dist/internal/components/star-empty.js.map +1 -0
- package/dist/internal/components/star-full.js +21 -0
- package/dist/internal/components/star-full.js.map +1 -0
- package/dist/internal/components/star-half.js +37 -0
- package/dist/internal/components/star-half.js.map +1 -0
- package/dist/internal/components/x.js +26 -0
- package/dist/internal/components/x.js.map +1 -0
- package/dist/internal/create-context.js +10 -0
- package/dist/internal/create-context.js.map +1 -0
- package/dist/internal/html-attributes.d.ts +7 -0
- package/dist/internal/html-attributes.d.ts.map +1 -0
- package/dist/internal/props-with-element.d.ts +13 -0
- package/dist/internal/props-with-element.d.ts.map +1 -0
- package/package.json +44 -33
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createContext } from "../../../internal/create-context.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/segmented-control/modules/root-context.ts
|
|
4
|
+
const SegmentedControlRootContext = createContext();
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
export { SegmentedControlRootContext };
|
|
8
|
+
//# sourceMappingURL=root-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/segmented-control/modules/root-context.ts"],"sourcesContent":["import type { useSegmentedControl } from './use-segmented-control';\nimport { createContext } from '@/internal/create-context';\n\nexport const SegmentedControlRootContext = createContext<ReturnType<typeof useSegmentedControl>>();\n"],"mappings":";;;AAGA,MAAa,8BAA8B,eAAuD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropTypes } from "@zag-js/react";
|
|
2
|
+
import { Api, Props } from "@zag-js/radio-group";
|
|
3
|
+
|
|
4
|
+
//#region src/components/segmented-control/modules/use-segmented-control.d.ts
|
|
5
|
+
declare function useSegmentedControl(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useSegmentedControl };
|
|
8
|
+
//# sourceMappingURL=use-segmented-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-segmented-control.d.ts","names":[],"sources":["../../../../src/components/segmented-control/modules/use-segmented-control.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,mBAAA,SAA2B,KAAK,eAAoB,IAAI"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useId } from "react";
|
|
2
|
+
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
|
+
import { connect, machine } from "@zag-js/radio-group";
|
|
4
|
+
|
|
5
|
+
//#region src/components/segmented-control/modules/use-segmented-control.ts
|
|
6
|
+
function useSegmentedControl(props = {}) {
|
|
7
|
+
const service = useMachine(machine, {
|
|
8
|
+
id: useId(),
|
|
9
|
+
orientation: "horizontal",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
return connect(service, normalizeProps);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { useSegmentedControl };
|
|
17
|
+
//# sourceMappingURL=use-segmented-control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-segmented-control.js","names":[],"sources":["../../../../src/components/segmented-control/modules/use-segmented-control.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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react292 from "react";
|
|
4
|
+
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/control.d.ts
|
|
7
|
+
interface SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Control(props: SliderControlProps): string | number | bigint | boolean | Iterable<react292.ReactNode> | Promise<string | number | bigint | boolean | react292.ReactPortal | react292.ReactElement<unknown, string | react292.JSXElementConstructor<any>> | Iterable<react292.ReactNode> | null | undefined> | react_jsx_runtime88.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Control, SliderControlProps };
|
|
11
|
+
//# sourceMappingURL=control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,kBAAA,SAA2B,yBAAyB;iBAE7C,OAAA,QAAe,0DAAkB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/control.tsx
|
|
8
|
+
function Control(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getControlProps(), rest, { className: classesSlider.control });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Control as default };
|
|
20
|
+
//# sourceMappingURL=control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/slider/anatomy/control.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Control(props: SliderControlProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getControlProps(), rest, {\n\t\tclassName: classesSlider.control,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA2B;CAC1D,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,iBAAiB,EAAE,MAAM,EAC7D,WAAW,cAAc,SACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react272 from "react";
|
|
4
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/hidden-input.d.ts
|
|
7
|
+
interface SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
+
declare function HiddenInput(props: SliderHiddenInputProps): string | number | bigint | boolean | Iterable<react272.ReactNode> | Promise<string | number | bigint | boolean | react272.ReactPortal | react272.ReactElement<unknown, string | react272.JSXElementConstructor<any>> | Iterable<react272.ReactNode> | null | undefined> | react_jsx_runtime84.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { HiddenInput, SliderHiddenInputProps };
|
|
11
|
+
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,8DAAsB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { SliderThumbContext } from "../modules/thumb-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/slider/anatomy/hidden-input.tsx
|
|
9
|
+
function HiddenInput(props) {
|
|
10
|
+
const slider = use(SliderRootContext);
|
|
11
|
+
const thumbProps = use(SliderThumbContext);
|
|
12
|
+
const { element,...rest } = props;
|
|
13
|
+
const attributes = mergeProps(slider.getHiddenInputProps(thumbProps), rest, { className: classesSlider.hiddenInput });
|
|
14
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { HiddenInput as default };
|
|
19
|
+
//# sourceMappingURL=hidden-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/slider/anatomy/hidden-input.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { SliderThumbContext } from '../modules/thumb-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SliderHiddenInputProps) {\n\tconst slider = use(SliderRootContext);\n\tconst thumbProps = use(SliderThumbContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getHiddenInputProps(thumbProps), rest, {\n\t\tclassName: classesSlider.hiddenInput,\n\t});\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,YAAY,OAA+B;CAClE,MAAM,SAAS,IAAI,kBAAkB;CACrC,MAAM,aAAa,IAAI,mBAAmB;CAE1C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAAW,OAAO,oBAAoB,WAAW,EAAE,MAAM,EAC3E,WAAW,cAAc,aACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react282 from "react";
|
|
4
|
+
import * as react_jsx_runtime86 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/label.d.ts
|
|
7
|
+
interface SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
+
declare function Label(props: SliderLabelProps): string | number | bigint | boolean | Iterable<react282.ReactNode> | Promise<string | number | bigint | boolean | react282.ReactPortal | react282.ReactElement<unknown, string | react282.JSXElementConstructor<any>> | Iterable<react282.ReactNode> | null | undefined> | react_jsx_runtime86.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Label, SliderLabelProps };
|
|
11
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,gBAAA,SAAyB,2BAA2B;iBAE7C,KAAA,QAAa,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/label.tsx
|
|
8
|
+
function Label(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getLabelProps(), rest, { className: classesSlider.label });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Label as default };
|
|
20
|
+
//# sourceMappingURL=label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/slider/anatomy/label.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Label(props: SliderLabelProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getLabelProps(), rest, {\n\t\tclassName: classesSlider.label,\n\t});\n\n\treturn element ? element(attributes) : <label {...attributes}>{children}</label>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,eAAe,EAAE,MAAM,EAC3D,WAAW,cAAc,OACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAM,GAAI;EAAa;GAAiB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react297 from "react";
|
|
4
|
+
import * as react_jsx_runtime89 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/marker-group.d.ts
|
|
7
|
+
interface SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function MarkerGroup(props: SliderMarkerGroupProps): string | number | bigint | boolean | Iterable<react297.ReactNode> | Promise<string | number | bigint | boolean | react297.ReactPortal | react297.ReactElement<unknown, string | react297.JSXElementConstructor<any>> | Iterable<react297.ReactNode> | null | undefined> | react_jsx_runtime89.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { MarkerGroup, SliderMarkerGroupProps };
|
|
11
|
+
//# sourceMappingURL=marker-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,8DAAsB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/marker-group.tsx
|
|
8
|
+
function MarkerGroup(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getMarkerGroupProps(), rest, { className: classesSlider.markerGroup });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { MarkerGroup as default };
|
|
20
|
+
//# sourceMappingURL=marker-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marker-group.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker-group.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function MarkerGroup(props: SliderMarkerGroupProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getMarkerGroupProps(), rest, {\n\t\tclassName: classesSlider.markerGroup,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA+B;CAClE,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,qBAAqB,EAAE,MAAM,EACjE,WAAW,cAAc,aACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react234 from "react";
|
|
4
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
5
|
+
import { MarkerProps } from "@zag-js/slider";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/marker.d.ts
|
|
8
|
+
interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
9
|
+
declare function Marker(props: SliderMarkerProps): string | number | bigint | boolean | Iterable<react234.ReactNode> | Promise<string | number | bigint | boolean | react234.ReactPortal | react234.ReactElement<unknown, string | react234.JSXElementConstructor<any>> | Iterable<react234.ReactNode> | null | undefined> | react_jsx_runtime68.JSX.Element | null | undefined;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Marker, SliderMarkerProps };
|
|
12
|
+
//# sourceMappingURL=marker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,yDAAiB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/marker.tsx
|
|
8
|
+
function Marker(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children, value,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getMarkerProps({ value }), rest, { className: classesSlider.marker });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children: children ?? value
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Marker as default };
|
|
20
|
+
//# sourceMappingURL=marker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marker.js","names":[],"sources":["../../../../src/components/slider/anatomy/marker.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport type { MarkerProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Marker(props: SliderMarkerProps) {\n\tconst slider = use(SliderRootContext);\n\n\t// TODO: Split `markerProps` from `props` using the missing `splitMarkerProps` function: https://github.com/chakra-ui/zag/issues/2725\n\tconst { element, children, value, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getMarkerProps({ value }), rest, {\n\t\tclassName: classesSlider.marker,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children ?? value}</div>;\n}\n"],"mappings":";;;;;;;AAUA,SAAwB,OAAO,OAA0B;CACxD,MAAM,SAAS,IAAI,kBAAkB;CAGrC,MAAM,EAAE,SAAS,UAAU,MAAO,GAAG,SAAS;CAE9C,MAAM,aAAa,WAAW,OAAO,eAAe,EAAE,OAAO,CAAC,EAAE,MAAM,EACrE,WAAW,cAAc,QACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;YAAa,YAAY;GAAY"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react277 from "react";
|
|
4
|
+
import * as react_jsx_runtime85 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/range.d.ts
|
|
7
|
+
interface SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Range(props: SliderRangeProps): string | number | bigint | boolean | Iterable<react277.ReactNode> | Promise<string | number | bigint | boolean | react277.ReactPortal | react277.ReactElement<unknown, string | react277.JSXElementConstructor<any>> | Iterable<react277.ReactNode> | null | undefined> | react_jsx_runtime85.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Range, SliderRangeProps };
|
|
11
|
+
//# sourceMappingURL=range.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/range.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,gBAAA,SAAyB,yBAAyB;iBAE3C,KAAA,QAAa,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/range.tsx
|
|
8
|
+
function Range(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getRangeProps(), rest, { className: classesSlider.range });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Range as default };
|
|
20
|
+
//# sourceMappingURL=range.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.js","names":[],"sources":["../../../../src/components/slider/anatomy/range.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Range(props: SliderRangeProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getRangeProps(), rest, {\n\t\tclassName: classesSlider.range,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,eAAe,EAAE,MAAM,EAC3D,WAAW,cAAc,OACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useSlider } from "../modules/use-slider.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/slider/anatomy/root-context.d.ts
|
|
5
|
+
interface SliderRootContextProps {
|
|
6
|
+
children: (slider: ReturnType<typeof useSlider>) => ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare function SliderRootContextComponent(props: SliderRootContextProps): ReactNode;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderRootContextComponent, SliderRootContextProps };
|
|
11
|
+
//# sourceMappingURL=root-context.d.ts.map
|
|
@@ -0,0 +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,0BAAA,CAJe,KAAA,EAImB,sBAJnB,CAAA,EAIyC,SAJzC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/slider/anatomy/root-context.tsx
|
|
5
|
+
function SliderRootContextComponent(props) {
|
|
6
|
+
const slider = use(SliderRootContext);
|
|
7
|
+
const { children } = props;
|
|
8
|
+
return children(slider);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SliderRootContextComponent as default };
|
|
13
|
+
//# sourceMappingURL=root-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/slider/anatomy/root-context.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { useSlider } from '../modules/use-slider';\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 SliderRootContextComponent(props: SliderRootContextProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { children } = props;\n\n\treturn children(slider);\n}\n"],"mappings":";;;;AASA,SAAwB,2BAA2B,OAA+B;CACjF,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,OAAO"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import { useSlider } from "../modules/use-slider.js";
|
|
4
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/root-provider.d.ts
|
|
7
|
+
interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
|
+
value: ReturnType<typeof useSlider>;
|
|
9
|
+
}
|
|
10
|
+
declare function SliderRootProvider(props: SliderRootProviderProps): react_jsx_runtime81.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SliderRootProvider, SliderRootProviderProps };
|
|
13
|
+
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,yBAAyB;SAClE,kBAAkB;;AADT,iBAIO,kBAAA,CAJiB,KAAA,EAIS,uBAJT,CAAA,EAIgC,mBAAA,CAAA,GAAA,CAAA,OAJhC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { mergeProps } from "@zag-js/react";
|
|
3
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/root-provider.tsx
|
|
7
|
+
function SliderRootProvider(props) {
|
|
8
|
+
const { element, children, value: slider,...rest } = props;
|
|
9
|
+
const attributes = mergeProps(slider.getRootProps(), rest, { className: classesSlider.root });
|
|
10
|
+
return /* @__PURE__ */ jsx(SliderRootContext.Provider, {
|
|
11
|
+
value: slider,
|
|
12
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { SliderRootProvider as default };
|
|
21
|
+
//# sourceMappingURL=root-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/slider/anatomy/root-provider.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { useSlider } from '../modules/use-slider';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSlider>;\n}\n\nexport default function SliderRootProvider(props: SliderRootProviderProps) {\n\tconst { element, children, value: slider, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getRootProps(), rest, {\n\t\tclassName: classesSlider.root,\n\t});\n\n\treturn (\n\t\t<SliderRootContext.Provider value={slider}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,mBAAmB,OAAgC;CAC1E,MAAM,EAAE,SAAS,UAAU,OAAO,OAAQ,GAAG,SAAS;CAEtD,MAAM,aAAa,WAAW,OAAO,cAAc,EAAE,MAAM,EAC1D,WAAW,cAAc,MACzB,CAAC;AAEF,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC1C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
4
|
+
import { Props } from "@zag-js/slider";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/root.d.ts
|
|
7
|
+
interface SliderRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}
|
|
8
|
+
declare function SliderRoot(props: SliderRootProps): react_jsx_runtime80.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderRoot, SliderRootProps };
|
|
11
|
+
//# sourceMappingURL=root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,eAAA,SACR,KAAK,cACZ,yBACA;iBAEsB,UAAA,QAAkB,kBAAe,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useSlider } from "../modules/use-slider.js";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { splitProps } from "@zag-js/slider";
|
|
7
|
+
|
|
8
|
+
//#region src/components/slider/anatomy/root.tsx
|
|
9
|
+
function SliderRoot(props) {
|
|
10
|
+
const [sliderProps, componentProps] = splitProps(props);
|
|
11
|
+
const { element, children,...rest } = componentProps;
|
|
12
|
+
const slider = useSlider(sliderProps);
|
|
13
|
+
const attributes = mergeProps(slider.getRootProps(), rest, { className: classesSlider.root });
|
|
14
|
+
return /* @__PURE__ */ jsx(SliderRootContext.Provider, {
|
|
15
|
+
value: slider,
|
|
16
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
|
+
...attributes,
|
|
18
|
+
children
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { SliderRoot as default };
|
|
25
|
+
//# sourceMappingURL=root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/slider/anatomy/root.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { useSlider } from '../modules/use-slider';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/slider';\nimport type { Props } from '@zag-js/slider';\n\nexport interface SliderRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}\n\nexport default function SliderRoot(props: SliderRootProps) {\n\tconst [sliderProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst slider = useSlider(sliderProps);\n\n\tconst attributes = mergeProps(slider.getRootProps(), rest, {\n\t\tclassName: classesSlider.root,\n\t});\n\n\treturn (\n\t\t<SliderRootContext.Provider value={slider}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,WAAW,OAAwB;CAC1D,MAAM,CAAC,aAAa,kBAAkB,WAAW,MAAM;CACvD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,SAAS,UAAU,YAAY;CAErC,MAAM,aAAa,WAAW,OAAO,cAAc,EAAE,MAAM,EAC1D,WAAW,cAAc,MACzB,CAAC;AAEF,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC1C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
4
|
+
import { ThumbProps } from "@zag-js/slider";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/thumb.d.ts
|
|
7
|
+
interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Thumb(props: SliderThumbProps): react_jsx_runtime83.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderThumbProps, Thumb };
|
|
11
|
+
//# sourceMappingURL=thumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thumb.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,gBAAA,SAAyB,YAAY,yBAAyB;iBAEvD,KAAA,QAAa,mBAAgB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { SliderThumbContext } from "../modules/thumb-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { splitThumbProps } from "@zag-js/slider";
|
|
8
|
+
|
|
9
|
+
//#region src/components/slider/anatomy/thumb.tsx
|
|
10
|
+
function Thumb(props) {
|
|
11
|
+
const slider = use(SliderRootContext);
|
|
12
|
+
const [thumbProps, componentProps] = splitThumbProps(props);
|
|
13
|
+
const { element, children,...rest } = componentProps;
|
|
14
|
+
const attributes = mergeProps(slider.getThumbProps(thumbProps), rest, { className: classesSlider.thumb });
|
|
15
|
+
return /* @__PURE__ */ jsx(SliderThumbContext.Provider, {
|
|
16
|
+
value: thumbProps,
|
|
17
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
18
|
+
...attributes,
|
|
19
|
+
children
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Thumb as default };
|
|
26
|
+
//# sourceMappingURL=thumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { SliderThumbContext } from '../modules/thumb-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitThumbProps, type ThumbProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Thumb(props: SliderThumbProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst [thumbProps, componentProps] = splitThumbProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(slider.getThumbProps(thumbProps), rest, {\n\t\tclassName: classesSlider.thumb,\n\t});\n\n\treturn (\n\t\t<SliderThumbContext.Provider value={thumbProps}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderThumbContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,CAAC,YAAY,kBAAkB,gBAAgB,MAAM;CAC3D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,cAAc,WAAW,EAAE,MAAM,EACrE,WAAW,cAAc,OACzB,CAAC;AAEF,QACC,oBAAC,mBAAmB;EAAS,OAAO;YAClC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACzC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react267 from "react";
|
|
4
|
+
import * as react_jsx_runtime82 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/track.d.ts
|
|
7
|
+
interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Track(props: SliderTrackProps): string | number | bigint | boolean | Iterable<react267.ReactNode> | Promise<string | number | bigint | boolean | react267.ReactPortal | react267.ReactElement<unknown, string | react267.JSXElementConstructor<any>> | Iterable<react267.ReactNode> | null | undefined> | react_jsx_runtime82.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderTrackProps, Track };
|
|
11
|
+
//# sourceMappingURL=track.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,gBAAA,SAAyB,yBAAyB;iBAE3C,KAAA,QAAa,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/track.tsx
|
|
8
|
+
function Track(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getTrackProps(), rest, { className: classesSlider.track });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Track as default };
|
|
20
|
+
//# sourceMappingURL=track.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: SliderTrackProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getTrackProps(), rest, {\n\t\tclassName: classesSlider.track,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,eAAe,EAAE,MAAM,EAC3D,WAAW,cAAc,OACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react287 from "react";
|
|
4
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/value-text.d.ts
|
|
7
|
+
interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}
|
|
8
|
+
declare function ValueText(props: SliderValueTextProps): string | number | bigint | boolean | Iterable<react287.ReactNode> | Promise<string | number | bigint | boolean | react287.ReactPortal | react287.ReactElement<unknown, string | react287.JSXElementConstructor<any>> | Iterable<react287.ReactNode> | null | undefined> | react_jsx_runtime87.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderValueTextProps, ValueText };
|
|
11
|
+
//# sourceMappingURL=value-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,4DAAoB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/value-text.tsx
|
|
8
|
+
function ValueText(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getValueTextProps(), rest, { className: classesSlider.valueText });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("output", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ValueText as default };
|
|
20
|
+
//# sourceMappingURL=value-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-text.js","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}\n\nexport default function ValueText(props: SliderValueTextProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getValueTextProps(), rest, {\n\t\tclassName: classesSlider.valueText,\n\t});\n\n\treturn element ? element(attributes) : <output {...attributes}>{children}</output>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA6B;CAC9D,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,mBAAmB,EAAE,MAAM,EAC/D,WAAW,cAAc,WACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|