@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,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react104 from "react";
|
|
4
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
5
|
+
import { ItemGroupLabelProps } from "@zag-js/combobox";
|
|
6
|
+
|
|
7
|
+
//#region src/components/combobox/anatomy/item-group-label.d.ts
|
|
8
|
+
interface ComboboxItemGroupLabelProps extends Omit<ItemGroupLabelProps, 'htmlFor'>, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
9
|
+
declare function ItemGroupLabel(props: ComboboxItemGroupLabelProps): string | number | bigint | boolean | Iterable<react104.ReactNode> | Promise<string | number | bigint | boolean | react104.ReactPortal | react104.ReactElement<unknown, string | react104.JSXElementConstructor<any>> | Iterable<react104.ReactNode> | null | undefined> | react_jsx_runtime29.JSX.Element | null | undefined;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ComboboxItemGroupLabelProps, ItemGroupLabel };
|
|
12
|
+
//# sourceMappingURL=item-group-label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-group-label.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/item-group-label.tsx"],"sourcesContent":[],"mappings":";;;;;;;UASiB,2BAAA,SAAoC,KAAK,iCAAiC,yBAAyB;iBAE5F,cAAA,QAAsB,mEAA2B,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,27 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ComboboxItemGroupContext } from "../modules/item-group-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { splitItemGroupLabelProps } from "@zag-js/combobox";
|
|
8
|
+
|
|
9
|
+
//#region src/components/combobox/anatomy/item-group-label.tsx
|
|
10
|
+
function ItemGroupLabel(props) {
|
|
11
|
+
const combobox = use(ComboboxRootContext);
|
|
12
|
+
const itemGroupProps = use(ComboboxItemGroupContext);
|
|
13
|
+
const [itemGroupLabelProps, componentProps] = splitItemGroupLabelProps({
|
|
14
|
+
htmlFor: itemGroupProps.id,
|
|
15
|
+
...props
|
|
16
|
+
});
|
|
17
|
+
const { element, children,...rest } = componentProps;
|
|
18
|
+
const attributes = mergeProps(combobox.getItemGroupLabelProps(itemGroupLabelProps), rest, { className: classesCombobox.itemGroupLabel });
|
|
19
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
20
|
+
...attributes,
|
|
21
|
+
children
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ItemGroupLabel as default };
|
|
27
|
+
//# sourceMappingURL=item-group-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-group-label.js","names":[],"sources":["../../../../src/components/combobox/anatomy/item-group-label.tsx"],"sourcesContent":["import { ComboboxItemGroupContext } from '../modules/item-group-context';\nimport { ComboboxRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { type ItemGroupLabelProps, splitItemGroupLabelProps } from '@zag-js/combobox';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ComboboxItemGroupLabelProps extends Omit<ItemGroupLabelProps, 'htmlFor'>, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ItemGroupLabel(props: ComboboxItemGroupLabelProps) {\n\tconst combobox = use(ComboboxRootContext);\n\tconst itemGroupProps = use(ComboboxItemGroupContext);\n\n\tconst [itemGroupLabelProps, componentProps] = splitItemGroupLabelProps({\n\t\thtmlFor: itemGroupProps.id,\n\t\t...props,\n\t});\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(combobox.getItemGroupLabelProps(itemGroupLabelProps), rest, {\n\t\tclassName: classesCombobox.itemGroupLabel,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,eAAe,OAAoC;CAC1E,MAAM,WAAW,IAAI,oBAAoB;CACzC,MAAM,iBAAiB,IAAI,yBAAyB;CAEpD,MAAM,CAAC,qBAAqB,kBAAkB,yBAAyB;EACtE,SAAS,eAAe;EACxB,GAAG;EACH,CAAC;CACF,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,SAAS,uBAAuB,oBAAoB,EAAE,MAAM,EACzF,WAAW,gBAAgB,gBAC3B,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 react_jsx_runtime28 from "react/jsx-runtime";
|
|
4
|
+
import { ItemGroupProps } from "@zag-js/combobox";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/item-group.d.ts
|
|
7
|
+
interface ComboboxItemGroupProps extends Omit<ItemGroupProps, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id'> {}
|
|
8
|
+
declare function ItemGroup(props: ComboboxItemGroupProps): react_jsx_runtime28.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxItemGroupProps, ItemGroup };
|
|
11
|
+
//# sourceMappingURL=item-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-group.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/item-group.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,sBAAA,SAA+B,KAAK,uBAAuB,yBAAyB,KAAK;iBAElF,SAAA,QAAiB,yBAAsB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ComboboxItemGroupContext } from "../modules/item-group-context.js";
|
|
3
|
+
import { use, useId } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { splitItemGroupProps } from "@zag-js/combobox";
|
|
8
|
+
|
|
9
|
+
//#region src/components/combobox/anatomy/item-group.tsx
|
|
10
|
+
function ItemGroup(props) {
|
|
11
|
+
const combobox = use(ComboboxRootContext);
|
|
12
|
+
const [itemGroupProps, componentProps] = splitItemGroupProps({
|
|
13
|
+
id: useId(),
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
const { element, children,...rest } = componentProps;
|
|
17
|
+
const attributes = mergeProps(combobox.getItemGroupProps(itemGroupProps), rest, { className: classesCombobox.itemGroup });
|
|
18
|
+
return /* @__PURE__ */ jsx(ComboboxItemGroupContext.Provider, {
|
|
19
|
+
value: itemGroupProps,
|
|
20
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
21
|
+
...attributes,
|
|
22
|
+
children
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { ItemGroup as default };
|
|
29
|
+
//# sourceMappingURL=item-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-group.js","names":[],"sources":["../../../../src/components/combobox/anatomy/item-group.tsx"],"sourcesContent":["import { ComboboxItemGroupContext } from '../modules/item-group-context';\nimport { ComboboxRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { type ItemGroupProps, splitItemGroupProps } from '@zag-js/combobox';\nimport { mergeProps } from '@zag-js/react';\nimport { use, useId } from 'react';\n\nexport interface ComboboxItemGroupProps extends Omit<ItemGroupProps, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id'> {}\n\nexport default function ItemGroup(props: ComboboxItemGroupProps) {\n\tconst combobox = use(ComboboxRootContext);\n\n\tconst [itemGroupProps, componentProps] = splitItemGroupProps({\n\t\tid: useId(),\n\t\t...props,\n\t});\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(combobox.getItemGroupProps(itemGroupProps), rest, {\n\t\tclassName: classesCombobox.itemGroup,\n\t});\n\n\treturn (\n\t\t<ComboboxItemGroupContext.Provider value={itemGroupProps}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</ComboboxItemGroupContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,UAAU,OAA+B;CAChE,MAAM,WAAW,IAAI,oBAAoB;CAEzC,MAAM,CAAC,gBAAgB,kBAAkB,oBAAoB;EAC5D,IAAI,OAAO;EACX,GAAG;EACH,CAAC;CACF,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,SAAS,kBAAkB,eAAe,EAAE,MAAM,EAC/E,WAAW,gBAAgB,WAC3B,CAAC;AAEF,QACC,oBAAC,yBAAyB;EAAS,OAAO;YACxC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACnC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react109 from "react";
|
|
4
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/item-indicator.d.ts
|
|
7
|
+
interface ComboboxItemIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function ItemIndicator(props: ComboboxItemIndicatorProps): string | number | bigint | boolean | Iterable<react109.ReactNode> | Promise<string | number | bigint | boolean | react109.ReactPortal | react109.ReactElement<unknown, string | react109.JSXElementConstructor<any>> | Iterable<react109.ReactNode> | null | undefined> | react_jsx_runtime30.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxItemIndicatorProps, ItemIndicator };
|
|
11
|
+
//# sourceMappingURL=item-indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-indicator.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/item-indicator.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,0BAAA,SAAmC,yBAAyB;iBAErD,aAAA,QAAqB,kEAA0B,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,23 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ComboboxItemContext } from "../modules/item-context.js";
|
|
3
|
+
import Check from "../../../internal/components/check.js";
|
|
4
|
+
import { use } from "react";
|
|
5
|
+
import { mergeProps } from "@zag-js/react";
|
|
6
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/components/combobox/anatomy/item-indicator.tsx
|
|
10
|
+
function ItemIndicator(props) {
|
|
11
|
+
const combobox = use(ComboboxRootContext);
|
|
12
|
+
const itemProps = use(ComboboxItemContext);
|
|
13
|
+
const { element, children = /* @__PURE__ */ jsx(Check, { className: "size-4" }),...rest } = props;
|
|
14
|
+
const attributes = mergeProps(combobox.getItemIndicatorProps(itemProps), rest, { className: classesCombobox.itemIndicator });
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ItemIndicator as default };
|
|
23
|
+
//# sourceMappingURL=item-indicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-indicator.js","names":[],"sources":["../../../../src/components/combobox/anatomy/item-indicator.tsx"],"sourcesContent":["import { ComboboxItemContext } from '../modules/item-context';\nimport { ComboboxRootContext } from '../modules/root-context';\nimport Check from '@/internal/components/check';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ComboboxItemIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ItemIndicator(props: ComboboxItemIndicatorProps) {\n\tconst combobox = use(ComboboxRootContext);\n\tconst itemProps = use(ComboboxItemContext);\n\n\tconst { element, children = <Check className=\"size-4\" />, ...rest } = props;\n\n\tconst attributes = mergeProps(combobox.getItemIndicatorProps(itemProps), rest, {\n\t\tclassName: classesCombobox.itemIndicator,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,cAAc,OAAmC;CACxE,MAAM,WAAW,IAAI,oBAAoB;CACzC,MAAM,YAAY,IAAI,oBAAoB;CAE1C,MAAM,EAAE,SAAS,WAAW,oBAAC,SAAM,WAAU,WAAW,CAAE,GAAG,SAAS;CAEtE,MAAM,aAAa,WAAW,SAAS,sBAAsB,UAAU,EAAE,MAAM,EAC9E,WAAW,gBAAgB,eAC3B,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 react114 from "react";
|
|
4
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/item-text.d.ts
|
|
7
|
+
interface ComboboxItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
+
declare function ItemText(props: ComboboxItemTextProps): string | number | bigint | boolean | Iterable<react114.ReactNode> | Promise<string | number | bigint | boolean | react114.ReactPortal | react114.ReactElement<unknown, string | react114.JSXElementConstructor<any>> | Iterable<react114.ReactNode> | null | undefined> | react_jsx_runtime31.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxItemTextProps, ItemText };
|
|
11
|
+
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-text.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/item-text.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,qBAAA,SAA8B,0BAA0B;iBAEjD,QAAA,QAAgB,6DAAqB,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,22 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ComboboxItemContext } from "../modules/item-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/combobox/anatomy/item-text.tsx
|
|
9
|
+
function ItemText(props) {
|
|
10
|
+
const combobox = use(ComboboxRootContext);
|
|
11
|
+
const itemProps = use(ComboboxItemContext);
|
|
12
|
+
const { element, children,...rest } = props;
|
|
13
|
+
const attributes = mergeProps(combobox.getItemTextProps(itemProps), rest, { className: classesCombobox.itemText });
|
|
14
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
15
|
+
...attributes,
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ItemText as default };
|
|
22
|
+
//# sourceMappingURL=item-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/combobox/anatomy/item-text.tsx"],"sourcesContent":["import { ComboboxItemContext } from '../modules/item-context';\nimport { ComboboxRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ComboboxItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function ItemText(props: ComboboxItemTextProps) {\n\tconst combobox = use(ComboboxRootContext);\n\tconst itemProps = use(ComboboxItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(combobox.getItemTextProps(itemProps), rest, {\n\t\tclassName: classesCombobox.itemText,\n\t});\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,SAAS,OAA8B;CAC9D,MAAM,WAAW,IAAI,oBAAoB;CACzC,MAAM,YAAY,IAAI,oBAAoB;CAE1C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,SAAS,iBAAiB,UAAU,EAAE,MAAM,EACzE,WAAW,gBAAgB,UAC3B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -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_runtime27 from "react/jsx-runtime";
|
|
4
|
+
import { ItemProps } from "@zag-js/combobox";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/item.d.ts
|
|
7
|
+
interface ComboboxItemProps extends ItemProps, PropsWithElement<'li'>, HTMLAttributes<'li'> {}
|
|
8
|
+
declare function Item(props: ComboboxItemProps): react_jsx_runtime27.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxItemProps, Item };
|
|
11
|
+
//# sourceMappingURL=item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,iBAAA,SAA0B,WAAW,wBAAwB;iBAEtD,IAAA,QAAY,oBAAiB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ComboboxItemContext } from "../modules/item-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { splitItemProps } from "@zag-js/combobox";
|
|
8
|
+
|
|
9
|
+
//#region src/components/combobox/anatomy/item.tsx
|
|
10
|
+
function Item(props) {
|
|
11
|
+
const combobox = use(ComboboxRootContext);
|
|
12
|
+
const [itemProps, componentProps] = splitItemProps(props);
|
|
13
|
+
const { element, children,...rest } = componentProps;
|
|
14
|
+
const attributes = mergeProps(combobox.getItemProps(itemProps), rest, { className: classesCombobox.item });
|
|
15
|
+
return /* @__PURE__ */ jsx(ComboboxItemContext.Provider, {
|
|
16
|
+
value: itemProps,
|
|
17
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("li", {
|
|
18
|
+
...attributes,
|
|
19
|
+
children
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Item as default };
|
|
26
|
+
//# sourceMappingURL=item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/combobox/anatomy/item.tsx"],"sourcesContent":["import { ComboboxItemContext } from '../modules/item-context';\nimport { ComboboxRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { type ItemProps, splitItemProps } from '@zag-js/combobox';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ComboboxItemProps extends ItemProps, PropsWithElement<'li'>, HTMLAttributes<'li'> {}\n\nexport default function Item(props: ComboboxItemProps) {\n\tconst combobox = use(ComboboxRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(combobox.getItemProps(itemProps), rest, {\n\t\tclassName: classesCombobox.item,\n\t});\n\n\treturn (\n\t\t<ComboboxItemContext.Provider value={itemProps}>\n\t\t\t{element ? element(attributes) : <li {...attributes}>{children}</li>}\n\t\t</ComboboxItemContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,KAAK,OAA0B;CACtD,MAAM,WAAW,IAAI,oBAAoB;CAEzC,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,SAAS,aAAa,UAAU,EAAE,MAAM,EACrE,WAAW,gBAAgB,MAC3B,CAAC;AAEF,QACC,oBAAC,oBAAoB;EAAS,OAAO;YACnC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAG,GAAI;GAAa;IAAc;GACtC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react119 from "react";
|
|
4
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/label.d.ts
|
|
7
|
+
interface ComboboxLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
+
declare function Label(props: ComboboxLabelProps): string | number | bigint | boolean | Iterable<react119.ReactNode> | Promise<string | number | bigint | boolean | react119.ReactPortal | react119.ReactElement<unknown, string | react119.JSXElementConstructor<any>> | Iterable<react119.ReactNode> | null | undefined> | react_jsx_runtime32.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxLabelProps, Label };
|
|
11
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,kBAAA,SAA2B,2BAA2B;iBAE/C,KAAA,QAAa,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 { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/combobox/anatomy/label.tsx
|
|
8
|
+
function Label(props) {
|
|
9
|
+
const combobox = use(ComboboxRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(combobox.getLabelProps(), rest, { className: classesCombobox.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/combobox/anatomy/label.tsx"],"sourcesContent":["import { ComboboxRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ComboboxLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Label(props: ComboboxLabelProps) {\n\tconst combobox = use(ComboboxRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(combobox.getLabelProps(), rest, {\n\t\tclassName: classesCombobox.label,\n\t});\n\n\treturn element ? element(attributes) : <label {...attributes}>{children}</label>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA2B;CACxD,MAAM,WAAW,IAAI,oBAAoB;CAEzC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,SAAS,eAAe,EAAE,MAAM,EAC7D,WAAW,gBAAgB,OAC3B,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 react124 from "react";
|
|
4
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/positioner.d.ts
|
|
7
|
+
interface ComboboxPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Positioner(props: ComboboxPositionerProps): string | number | bigint | boolean | Iterable<react124.ReactNode> | Promise<string | number | bigint | boolean | react124.ReactPortal | react124.ReactElement<unknown, string | react124.JSXElementConstructor<any>> | Iterable<react124.ReactNode> | null | undefined> | react_jsx_runtime33.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxPositionerProps, Positioner };
|
|
11
|
+
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"positioner.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/positioner.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,yBAAyB;iBAElD,UAAA,QAAkB,+DAAuB,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 { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/combobox/anatomy/positioner.tsx
|
|
8
|
+
function Positioner(props) {
|
|
9
|
+
const combobox = use(ComboboxRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(combobox.getPositionerProps(), rest, { className: classesCombobox.positioner });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Positioner as default };
|
|
20
|
+
//# sourceMappingURL=positioner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"positioner.js","names":[],"sources":["../../../../src/components/combobox/anatomy/positioner.tsx"],"sourcesContent":["import { ComboboxRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ComboboxPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Positioner(props: ComboboxPositionerProps) {\n\tconst combobox = use(ComboboxRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(combobox.getPositionerProps(), rest, {\n\t\tclassName: classesCombobox.positioner,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,WAAW,OAAgC;CAClE,MAAM,WAAW,IAAI,oBAAoB;CAEzC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,SAAS,oBAAoB,EAAE,MAAM,EAClE,WAAW,gBAAgB,YAC3B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useCombobox } from "../modules/use-combobox.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/combobox/anatomy/root-context.d.ts
|
|
5
|
+
interface ComboboxRootContextProps {
|
|
6
|
+
children: (combobox: ReturnType<typeof useCombobox>) => ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare function RootContext(props: ComboboxRootContextProps): ReactNode;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxRootContextProps, RootContext };
|
|
11
|
+
//# sourceMappingURL=root-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;UAIiB,wBAAA;uBACK,kBAAkB,iBAAiB;AADzD;AAAyC,iBAIjB,WAAA,CAJiB,KAAA,EAIE,wBAJF,CAAA,EAI0B,SAJ1B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/combobox/anatomy/root-context.tsx
|
|
5
|
+
function RootContext(props) {
|
|
6
|
+
const combobox = use(ComboboxRootContext);
|
|
7
|
+
const { children } = props;
|
|
8
|
+
return children(combobox);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { RootContext as default };
|
|
13
|
+
//# sourceMappingURL=root-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/combobox/anatomy/root-context.tsx"],"sourcesContent":["import { ComboboxRootContext } from '../modules/root-context';\nimport type { useCombobox } from '../modules/use-combobox';\nimport { type ReactNode, use } from 'react';\n\nexport interface ComboboxRootContextProps {\n\tchildren: (combobox: ReturnType<typeof useCombobox>) => ReactNode;\n}\n\nexport default function RootContext(props: ComboboxRootContextProps) {\n\tconst combobox = use(ComboboxRootContext);\n\n\tconst { children } = props;\n\n\treturn children(combobox);\n}\n"],"mappings":";;;;AAQA,SAAwB,YAAY,OAAiC;CACpE,MAAM,WAAW,IAAI,oBAAoB;CAEzC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,SAAS"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import { useCombobox } from "../modules/use-combobox.js";
|
|
4
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/root-provider.d.ts
|
|
7
|
+
interface ComboboxRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {
|
|
8
|
+
value: ReturnType<typeof useCombobox>;
|
|
9
|
+
}
|
|
10
|
+
declare function RootProvider(props: ComboboxRootProviderProps): react_jsx_runtime35.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ComboboxRootProviderProps, RootProvider };
|
|
13
|
+
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,yBAAA,SACR,yBACP;SACM,kBAAkB;;AAHT,iBAMO,YAAA,CALvB,KAAA,EAK2C,yBAL3C,CAAA,EAKoE,mBAAA,CAAA,GAAA,CAAA,OALpE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { mergeProps } from "@zag-js/react";
|
|
3
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/root-provider.tsx
|
|
7
|
+
function RootProvider(props) {
|
|
8
|
+
const { element, children, value: combobox,...rest } = props;
|
|
9
|
+
const attributes = mergeProps(combobox.getRootProps(), rest, { className: classesCombobox.root });
|
|
10
|
+
return /* @__PURE__ */ jsx(ComboboxRootContext.Provider, {
|
|
11
|
+
value: combobox,
|
|
12
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { RootProvider as default };
|
|
21
|
+
//# sourceMappingURL=root-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/combobox/anatomy/root-provider.tsx"],"sourcesContent":["import { ComboboxRootContext } from '../modules/root-context';\nimport { useCombobox } from '../modules/use-combobox';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ComboboxRootProviderProps\n\textends PropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {\n\tvalue: ReturnType<typeof useCombobox>;\n}\n\nexport default function RootProvider(props: ComboboxRootProviderProps) {\n\tconst { element, children, value: combobox, ...rest } = props;\n\n\tconst attributes = mergeProps(combobox.getRootProps(), rest, {\n\t\tclassName: classesCombobox.root,\n\t});\n\n\treturn (\n\t\t<ComboboxRootContext.Provider value={combobox}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</ComboboxRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAaA,SAAwB,aAAa,OAAkC;CACtE,MAAM,EAAE,SAAS,UAAU,OAAO,SAAU,GAAG,SAAS;CAExD,MAAM,aAAa,WAAW,SAAS,cAAc,EAAE,MAAM,EAC5D,WAAW,gBAAgB,MAC3B,CAAC;AAEF,QACC,oBAAC,oBAAoB;EAAS,OAAO;YACnC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACxC"}
|
|
@@ -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_runtime34 from "react/jsx-runtime";
|
|
4
|
+
import { Props } from "@zag-js/combobox";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/root.d.ts
|
|
7
|
+
interface ComboboxRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {}
|
|
8
|
+
declare function Root(props: ComboboxRootProps): react_jsx_runtime34.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxRootProps, Root };
|
|
11
|
+
//# sourceMappingURL=root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,iBAAA,SACR,KAAK,cACZ,yBACA;iBAEsB,IAAA,QAAY,oBAAiB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useCombobox } from "../modules/use-combobox.js";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { splitProps } from "@zag-js/combobox";
|
|
7
|
+
|
|
8
|
+
//#region src/components/combobox/anatomy/root.tsx
|
|
9
|
+
function Root(props) {
|
|
10
|
+
const [comboboxProps, componentProps] = splitProps(props);
|
|
11
|
+
const { element, children,...rest } = componentProps;
|
|
12
|
+
const combobox = useCombobox(comboboxProps);
|
|
13
|
+
const attributes = mergeProps(combobox.getRootProps(), rest, { className: classesCombobox.root });
|
|
14
|
+
return /* @__PURE__ */ jsx(ComboboxRootContext.Provider, {
|
|
15
|
+
value: combobox,
|
|
16
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
|
+
...attributes,
|
|
18
|
+
children
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Root as default };
|
|
25
|
+
//# sourceMappingURL=root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/combobox/anatomy/root.tsx"],"sourcesContent":["import { ComboboxRootContext } from '../modules/root-context';\nimport { useCombobox } from '../modules/use-combobox';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { type Props, splitProps } from '@zag-js/combobox';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ComboboxRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {}\n\nexport default function Root(props: ComboboxRootProps) {\n\tconst [comboboxProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst combobox = useCombobox(comboboxProps);\n\n\tconst attributes = mergeProps(combobox.getRootProps(), rest, {\n\t\tclassName: classesCombobox.root,\n\t});\n\n\treturn (\n\t\t<ComboboxRootContext.Provider value={combobox}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</ComboboxRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAaA,SAAwB,KAAK,OAA0B;CACtD,MAAM,CAAC,eAAe,kBAAkB,WAAW,MAAM;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,WAAW,YAAY,cAAc;CAE3C,MAAM,aAAa,WAAW,SAAS,cAAc,EAAE,MAAM,EAC5D,WAAW,gBAAgB,MAC3B,CAAC;AAEF,QACC,oBAAC,oBAAoB;EAAS,OAAO;YACnC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react129 from "react";
|
|
4
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/combobox/anatomy/trigger.d.ts
|
|
7
|
+
interface ComboboxTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
+
declare function Trigger(props: ComboboxTriggerProps): string | number | bigint | boolean | Iterable<react129.ReactNode> | Promise<string | number | bigint | boolean | react129.ReactPortal | react129.ReactElement<unknown, string | react129.JSXElementConstructor<any>> | Iterable<react129.ReactNode> | null | undefined> | react_jsx_runtime36.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ComboboxTriggerProps, Trigger };
|
|
11
|
+
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/combobox/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,oBAAA,SAA6B,4BAA4B;iBAElD,OAAA,QAAe,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,21 @@
|
|
|
1
|
+
import { ComboboxRootContext } from "../modules/root-context.js";
|
|
2
|
+
import ChevronDown from "../../../internal/components/chevron-down.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesCombobox } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/combobox/anatomy/trigger.tsx
|
|
9
|
+
function Trigger(props) {
|
|
10
|
+
const combobox = use(ComboboxRootContext);
|
|
11
|
+
const { element, children = /* @__PURE__ */ jsx(ChevronDown, {}),...rest } = props;
|
|
12
|
+
const attributes = mergeProps(combobox.getTriggerProps(), rest, { className: classesCombobox.trigger });
|
|
13
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
14
|
+
...attributes,
|
|
15
|
+
children
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Trigger as default };
|
|
21
|
+
//# sourceMappingURL=trigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger.js","names":["ChevronDownIcon"],"sources":["../../../../src/components/combobox/anatomy/trigger.tsx"],"sourcesContent":["import { ComboboxRootContext } from '../modules/root-context';\nimport ChevronDownIcon from '@/internal/components/chevron-down';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesCombobox } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ComboboxTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function Trigger(props: ComboboxTriggerProps) {\n\tconst combobox = use(ComboboxRootContext);\n\n\tconst { element, children = <ChevronDownIcon />, ...rest } = props;\n\n\tconst attributes = mergeProps(combobox.getTriggerProps(), rest, {\n\t\tclassName: classesCombobox.trigger,\n\t});\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,QAAQ,OAA6B;CAC5D,MAAM,WAAW,IAAI,oBAAoB;CAEzC,MAAM,EAAE,SAAS,WAAW,oBAACA,gBAAkB,CAAE,GAAG,SAAS;CAE7D,MAAM,aAAa,WAAW,SAAS,iBAAiB,EAAE,MAAM,EAC/D,WAAW,gBAAgB,SAC3B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Content } from "../anatomy/content.js";
|
|
2
|
+
import { Control } from "../anatomy/control.js";
|
|
3
|
+
import { Input } from "../anatomy/input.js";
|
|
4
|
+
import { Item } from "../anatomy/item.js";
|
|
5
|
+
import { ItemGroup } from "../anatomy/item-group.js";
|
|
6
|
+
import { ItemGroupLabel } from "../anatomy/item-group-label.js";
|
|
7
|
+
import { ItemIndicator } from "../anatomy/item-indicator.js";
|
|
8
|
+
import { ItemText } from "../anatomy/item-text.js";
|
|
9
|
+
import { Label } from "../anatomy/label.js";
|
|
10
|
+
import { Positioner } from "../anatomy/positioner.js";
|
|
11
|
+
import { Root } from "../anatomy/root.js";
|
|
12
|
+
import { RootContext } from "../anatomy/root-context.js";
|
|
13
|
+
import { RootProvider } from "../anatomy/root-provider.js";
|
|
14
|
+
import { Trigger } from "../anatomy/trigger.js";
|
|
15
|
+
|
|
16
|
+
//#region src/components/combobox/modules/anatomy.d.ts
|
|
17
|
+
declare const Combobox: typeof Root & {
|
|
18
|
+
Provider: typeof RootProvider;
|
|
19
|
+
Context: typeof RootContext;
|
|
20
|
+
Label: typeof Label;
|
|
21
|
+
Control: typeof Control;
|
|
22
|
+
Input: typeof Input;
|
|
23
|
+
Trigger: typeof Trigger;
|
|
24
|
+
Positioner: typeof Positioner;
|
|
25
|
+
Content: typeof Content;
|
|
26
|
+
ItemGroup: typeof ItemGroup;
|
|
27
|
+
ItemGroupLabel: typeof ItemGroupLabel;
|
|
28
|
+
Item: typeof Item;
|
|
29
|
+
ItemText: typeof ItemText;
|
|
30
|
+
ItemIndicator: typeof ItemIndicator;
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { Combobox };
|
|
34
|
+
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/combobox/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;cAea,iBAAQ;;EAAR,OAAA,EAAA,kBAcX;EAAA,KAAA,EAAA,YAAA;SAdmB,EAAA,cAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import Content from "../anatomy/content.js";
|
|
2
|
+
import Control from "../anatomy/control.js";
|
|
3
|
+
import Input from "../anatomy/input.js";
|
|
4
|
+
import Item from "../anatomy/item.js";
|
|
5
|
+
import ItemGroup from "../anatomy/item-group.js";
|
|
6
|
+
import ItemGroupLabel from "../anatomy/item-group-label.js";
|
|
7
|
+
import ItemIndicator from "../anatomy/item-indicator.js";
|
|
8
|
+
import ItemText from "../anatomy/item-text.js";
|
|
9
|
+
import Label from "../anatomy/label.js";
|
|
10
|
+
import Positioner from "../anatomy/positioner.js";
|
|
11
|
+
import Root from "../anatomy/root.js";
|
|
12
|
+
import RootContext from "../anatomy/root-context.js";
|
|
13
|
+
import RootProvider from "../anatomy/root-provider.js";
|
|
14
|
+
import Trigger from "../anatomy/trigger.js";
|
|
15
|
+
|
|
16
|
+
//#region src/components/combobox/modules/anatomy.ts
|
|
17
|
+
const Combobox = Object.assign(Root, {
|
|
18
|
+
Provider: RootProvider,
|
|
19
|
+
Context: RootContext,
|
|
20
|
+
Label,
|
|
21
|
+
Control,
|
|
22
|
+
Input,
|
|
23
|
+
Trigger,
|
|
24
|
+
Positioner,
|
|
25
|
+
Content,
|
|
26
|
+
ItemGroup,
|
|
27
|
+
ItemGroupLabel,
|
|
28
|
+
Item,
|
|
29
|
+
ItemText,
|
|
30
|
+
ItemIndicator
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { Combobox };
|
|
35
|
+
//# sourceMappingURL=anatomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.js","names":[],"sources":["../../../../src/components/combobox/modules/anatomy.ts"],"sourcesContent":["import Content from '../anatomy/content';\nimport Control from '../anatomy/control';\nimport Input from '../anatomy/input';\nimport Item from '../anatomy/item';\nimport ItemGroup from '../anatomy/item-group';\nimport ItemGroupLabel from '../anatomy/item-group-label';\nimport ItemIndicator from '../anatomy/item-indicator';\nimport ItemText from '../anatomy/item-text';\nimport Label from '../anatomy/label';\nimport Positioner from '../anatomy/positioner';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\nimport Trigger from '../anatomy/trigger';\n\nexport const Combobox = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tLabel: Label,\n\tControl: Control,\n\tInput: Input,\n\tTrigger: Trigger,\n\tPositioner: Positioner,\n\tContent: Content,\n\tItemGroup: ItemGroup,\n\tItemGroupLabel: ItemGroupLabel,\n\tItem: Item,\n\tItemText: ItemText,\n\tItemIndicator: ItemIndicator,\n});\n"],"mappings":";;;;;;;;;;;;;;;;AAeA,MAAa,WAAW,OAAO,OAAO,MAAM;CAC3C,UAAU;CACV,SAAS;CACF;CACE;CACF;CACE;CACG;CACH;CACE;CACK;CACV;CACI;CACK;CACf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createContext } from "../../../internal/create-context.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/combobox/modules/item-context.ts
|
|
4
|
+
const ComboboxItemContext = createContext();
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
export { ComboboxItemContext };
|
|
8
|
+
//# sourceMappingURL=item-context.js.map
|