@skeletonlabs/skeleton-react 2.0.0-next.10 → 2.0.0-next.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/anatomy/item-content.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-content.js +1 -1
- package/dist/components/accordion/anatomy/item-content.js.map +1 -1
- package/dist/components/accordion/anatomy/item-heading.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-heading.js +1 -1
- package/dist/components/accordion/anatomy/item-heading.js.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.js +1 -1
- package/dist/components/accordion/anatomy/item-indicator.js.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.js +1 -1
- package/dist/components/accordion/anatomy/item-trigger.js.map +1 -1
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item.js +1 -1
- package/dist/components/accordion/anatomy/item.js.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root-provider.js +1 -1
- package/dist/components/accordion/anatomy/root-provider.js.map +1 -1
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.js +1 -1
- package/dist/components/accordion/anatomy/root.js.map +1 -1
- package/dist/components/accordion/modules/root-context.js +0 -1
- package/dist/components/accordion/modules/root-context.js.map +1 -1
- package/dist/components/app-bar/anatomy/headline.d.ts +3 -3
- package/dist/components/app-bar/anatomy/headline.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/headline.js +1 -1
- package/dist/components/app-bar/anatomy/headline.js.map +1 -1
- package/dist/components/app-bar/anatomy/lead.d.ts +3 -3
- package/dist/components/app-bar/anatomy/lead.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/lead.js +1 -1
- package/dist/components/app-bar/anatomy/lead.js.map +1 -1
- package/dist/components/app-bar/anatomy/root.d.ts +3 -3
- package/dist/components/app-bar/anatomy/root.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/root.js +1 -1
- package/dist/components/app-bar/anatomy/root.js.map +1 -1
- package/dist/components/app-bar/anatomy/toolbar.d.ts +3 -3
- package/dist/components/app-bar/anatomy/toolbar.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/toolbar.js +1 -1
- package/dist/components/app-bar/anatomy/toolbar.js.map +1 -1
- package/dist/components/app-bar/anatomy/trail.d.ts +3 -3
- package/dist/components/app-bar/anatomy/trail.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/trail.js +1 -1
- package/dist/components/app-bar/anatomy/trail.js.map +1 -1
- package/dist/components/avatar/anatomy/fallback.d.ts +3 -3
- package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/fallback.js +1 -1
- package/dist/components/avatar/anatomy/fallback.js.map +1 -1
- package/dist/components/avatar/anatomy/image.d.ts +3 -3
- package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/image.js +1 -1
- package/dist/components/avatar/anatomy/image.js.map +1 -1
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root-provider.js +1 -1
- package/dist/components/avatar/anatomy/root-provider.js.map +1 -1
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.js +1 -1
- package/dist/components/avatar/anatomy/root.js.map +1 -1
- package/dist/components/combobox/anatomy/content.d.ts +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 +3 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.js +1 -1
- package/dist/components/dialog/anatomy/backdrop.js.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.js +1 -1
- package/dist/components/dialog/anatomy/close-trigger.js.map +1 -1
- package/dist/components/dialog/anatomy/content.d.ts +3 -3
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/content.js +1 -1
- package/dist/components/dialog/anatomy/content.js.map +1 -1
- package/dist/components/dialog/anatomy/description.d.ts +3 -3
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/description.js +1 -1
- package/dist/components/dialog/anatomy/description.js.map +1 -1
- package/dist/components/dialog/anatomy/positioner.d.ts +3 -3
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/positioner.js +1 -1
- package/dist/components/dialog/anatomy/positioner.js.map +1 -1
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/root.d.ts +2 -2
- package/dist/components/dialog/anatomy/title.d.ts +3 -3
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/title.js +1 -1
- package/dist/components/dialog/anatomy/title.js.map +1 -1
- package/dist/components/dialog/anatomy/trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/trigger.js +1 -1
- package/dist/components/dialog/anatomy/trigger.js.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
- package/dist/components/file-upload/anatomy/dropzone.js +1 -1
- package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/file-upload/anatomy/hidden-input.js +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-delete-trigger.js +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-group.js +1 -1
- package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-name.js +1 -1
- package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-size-text.js +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.js.map +1 -1
- package/dist/components/file-upload/anatomy/item.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item.js +1 -1
- package/dist/components/file-upload/anatomy/item.js.map +1 -1
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.js +1 -1
- package/dist/components/file-upload/anatomy/root-provider.js.map +1 -1
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.js +1 -1
- package/dist/components/file-upload/anatomy/root.js.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.d.ts +3 -3
- package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.js +1 -1
- package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
- package/dist/components/popover/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow-tip.js +1 -1
- package/dist/components/popover/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/popover/anatomy/arrow.d.ts +3 -3
- package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow.js +1 -1
- package/dist/components/popover/anatomy/arrow.js.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.js +1 -1
- package/dist/components/popover/anatomy/close-trigger.js.map +1 -1
- package/dist/components/popover/anatomy/content.d.ts +3 -3
- package/dist/components/popover/anatomy/content.d.ts.map +1 -1
- package/dist/components/popover/anatomy/content.js +1 -1
- package/dist/components/popover/anatomy/content.js.map +1 -1
- package/dist/components/popover/anatomy/description.d.ts +3 -3
- package/dist/components/popover/anatomy/description.d.ts.map +1 -1
- package/dist/components/popover/anatomy/description.js +1 -1
- package/dist/components/popover/anatomy/description.js.map +1 -1
- package/dist/components/popover/anatomy/positioner.d.ts +2 -2
- package/dist/components/popover/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/popover/anatomy/positioner.js +1 -1
- package/dist/components/popover/anatomy/positioner.js.map +1 -1
- package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
- package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/popover/anatomy/root.d.ts +2 -2
- package/dist/components/popover/anatomy/root.d.ts.map +1 -1
- package/dist/components/popover/anatomy/title.d.ts +3 -3
- package/dist/components/popover/anatomy/title.d.ts.map +1 -1
- package/dist/components/popover/anatomy/title.js +1 -1
- package/dist/components/popover/anatomy/title.js.map +1 -1
- package/dist/components/popover/anatomy/trigger.d.ts +3 -3
- package/dist/components/popover/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/trigger.js +1 -1
- package/dist/components/popover/anatomy/trigger.js.map +1 -1
- package/dist/components/progress-linear/anatomy/label.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/label.js +1 -1
- package/dist/components/progress-linear/anatomy/label.js.map +1 -1
- package/dist/components/progress-linear/anatomy/range.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/range.js +1 -1
- package/dist/components/progress-linear/anatomy/range.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root-provider.js +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root.js +1 -1
- package/dist/components/progress-linear/anatomy/root.js.map +1 -1
- package/dist/components/progress-linear/anatomy/track.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/track.js +1 -1
- package/dist/components/progress-linear/anatomy/track.js.map +1 -1
- package/dist/components/rating-group/anatomy/control.d.ts +3 -3
- package/dist/components/rating-group/anatomy/control.js +1 -1
- package/dist/components/rating-group/anatomy/control.js.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/rating-group/anatomy/hidden-input.js +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
- package/dist/components/rating-group/anatomy/item.d.ts +3 -3
- package/dist/components/rating-group/anatomy/item.js +2 -2
- package/dist/components/rating-group/anatomy/item.js.map +1 -1
- package/dist/components/rating-group/anatomy/label.d.ts +3 -3
- package/dist/components/rating-group/anatomy/label.js +1 -1
- package/dist/components/rating-group/anatomy/label.js.map +1 -1
- package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root-provider.js +1 -1
- package/dist/components/rating-group/anatomy/root-provider.js.map +1 -1
- package/dist/components/rating-group/anatomy/root.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root.js +1 -1
- package/dist/components/rating-group/anatomy/root.js.map +1 -1
- package/dist/components/segmented-control/anatomy/indicator.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/indicator.js +1 -1
- package/dist/components/segmented-control/anatomy/indicator.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/item-hidden-input.js +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-text.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/item-text.js +1 -1
- package/dist/components/segmented-control/anatomy/item-text.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item.js +1 -1
- package/dist/components/segmented-control/anatomy/item.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root-provider.js +1 -1
- package/dist/components/segmented-control/anatomy/root-provider.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root.js +1 -1
- package/dist/components/segmented-control/anatomy/root.js.map +1 -1
- package/dist/components/slider/anatomy/control.d.ts +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 +3 -3
- package/dist/components/switch/anatomy/control.d.ts.map +1 -1
- package/dist/components/switch/anatomy/control.js +1 -1
- package/dist/components/switch/anatomy/control.js.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.js +1 -1
- package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
- package/dist/components/switch/anatomy/label.d.ts +3 -3
- package/dist/components/switch/anatomy/label.js +1 -1
- package/dist/components/switch/anatomy/label.js.map +1 -1
- package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
- package/dist/components/switch/anatomy/root-provider.js +1 -1
- package/dist/components/switch/anatomy/root-provider.js.map +1 -1
- package/dist/components/switch/anatomy/root.d.ts +2 -2
- package/dist/components/switch/anatomy/root.d.ts.map +1 -1
- package/dist/components/switch/anatomy/root.js +1 -1
- package/dist/components/switch/anatomy/root.js.map +1 -1
- package/dist/components/switch/anatomy/thumb.d.ts +3 -3
- package/dist/components/switch/anatomy/thumb.js +1 -1
- package/dist/components/switch/anatomy/thumb.js.map +1 -1
- package/dist/components/tabs/anatomy/content.d.ts +3 -3
- package/dist/components/tabs/anatomy/content.js +1 -1
- package/dist/components/tabs/anatomy/content.js.map +1 -1
- package/dist/components/tabs/anatomy/indicator.d.ts +3 -3
- package/dist/components/tabs/anatomy/indicator.js +1 -1
- package/dist/components/tabs/anatomy/indicator.js.map +1 -1
- package/dist/components/tabs/anatomy/list.d.ts +3 -3
- package/dist/components/tabs/anatomy/list.js +1 -1
- package/dist/components/tabs/anatomy/list.js.map +1 -1
- package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tabs/anatomy/root-provider.js +1 -1
- package/dist/components/tabs/anatomy/root-provider.js.map +1 -1
- package/dist/components/tabs/anatomy/root.d.ts +2 -2
- package/dist/components/tabs/anatomy/root.js +1 -1
- package/dist/components/tabs/anatomy/root.js.map +1 -1
- package/dist/components/tabs/anatomy/trigger.d.ts +3 -3
- package/dist/components/tabs/anatomy/trigger.js +1 -1
- package/dist/components/tabs/anatomy/trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/clear-trigger.js +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/control.d.ts +3 -3
- package/dist/components/tags-input/anatomy/control.js +1 -1
- package/dist/components/tags-input/anatomy/control.js.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/hidden-input.js +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/input.js +1 -1
- package/dist/components/tags-input/anatomy/input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-delete-trigger.js +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-input.js +1 -1
- package/dist/components/tags-input/anatomy/item-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-preview.js +1 -1
- package/dist/components/tags-input/anatomy/item-preview.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-text.js +1 -1
- package/dist/components/tags-input/anatomy/item-text.js.map +1 -1
- package/dist/components/tags-input/anatomy/item.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item.js +1 -1
- package/dist/components/tags-input/anatomy/item.js.map +1 -1
- package/dist/components/tags-input/anatomy/label.d.ts +3 -3
- package/dist/components/tags-input/anatomy/label.js +1 -1
- package/dist/components/tags-input/anatomy/label.js.map +1 -1
- package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root-provider.js +1 -1
- package/dist/components/tags-input/anatomy/root-provider.js.map +1 -1
- package/dist/components/tags-input/anatomy/root.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root.js +1 -1
- package/dist/components/tags-input/anatomy/root.js.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.d.ts +3 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.js +1 -1
- package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/toast/anatomy/close-trigger.js +1 -1
- package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/description.d.ts +3 -3
- package/dist/components/toast/anatomy/description.js +1 -1
- package/dist/components/toast/anatomy/description.js.map +1 -1
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/group.js +1 -1
- package/dist/components/toast/anatomy/group.js.map +1 -1
- package/dist/components/toast/anatomy/message.d.ts +3 -3
- package/dist/components/toast/anatomy/message.js +1 -1
- package/dist/components/toast/anatomy/message.js.map +1 -1
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.js +1 -1
- package/dist/components/toast/anatomy/root.js.map +1 -1
- package/dist/components/toast/anatomy/title.d.ts +3 -3
- package/dist/components/toast/anatomy/title.js +1 -1
- package/dist/components/toast/anatomy/title.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.js +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.js +1 -1
- package/dist/components/tooltip/anatomy/arrow.js.map +1 -1
- package/dist/components/tooltip/anatomy/content.d.ts +3 -3
- package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/content.js +1 -1
- package/dist/components/tooltip/anatomy/content.js.map +1 -1
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/positioner.js +1 -1
- package/dist/components/tooltip/anatomy/positioner.js.map +1 -1
- package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/root.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.d.ts +3 -3
- package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.js +1 -1
- package/dist/components/tooltip/anatomy/trigger.js.map +1 -1
- package/dist/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 +32 -1
- package/dist/index.js +6 -14
- 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/x.js +2 -2
- package/dist/internal/components/x.js.map +1 -1
- package/package.json +11 -6
- package/dist/components/accordion/index.js +0 -4
- package/dist/components/app-bar/index.js +0 -3
- package/dist/components/avatar/index.js +0 -4
- package/dist/components/dialog/index.js +0 -4
- package/dist/components/file-upload/index.js +0 -4
- package/dist/components/popover/index.js +0 -4
- package/dist/components/progress-linear/index.js +0 -4
- package/dist/components/rating-group/index.js +0 -4
- package/dist/components/segmented-control/index.js +0 -4
- package/dist/components/switch/index.js +0 -4
- package/dist/components/tabs/index.js +0 -4
- package/dist/components/tags-input/index.js +0 -4
- package/dist/components/tooltip/index.js +0 -4
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function ArrowTip(props) {
|
|
9
9
|
const tooltip = use(TooltipRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tooltip.getArrowTipProps(),
|
|
11
|
+
const attributes = mergeProps(tooltip.getArrowTipProps(), { className: classesTooltip.arrowTip }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-tip.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ArrowTip(props: TooltipArrowTipProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"arrow-tip.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ArrowTip(props: TooltipArrowTipProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttooltip.getArrowTipProps(),\n\t\t{\n\t\t\tclassName: classesTooltip.arrowTip,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,SAAS,OAA6B;CAC7D,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,kBAAkB,EAC1B,EACC,WAAW,eAAe,UAC1B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react387 from "react";
|
|
4
|
+
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/arrow.d.ts
|
|
7
7
|
interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Arrow(props: TooltipArrowProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Arrow(props: TooltipArrowProps): string | number | bigint | boolean | Iterable<react387.ReactNode> | Promise<string | number | bigint | boolean | react387.ReactPortal | react387.ReactElement<unknown, string | react387.JSXElementConstructor<any>> | Iterable<react387.ReactNode> | null | undefined> | react_jsx_runtime112.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Arrow, TooltipArrowProps };
|
|
11
11
|
//# sourceMappingURL=arrow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,yDAAiB,SAAA,
|
|
1
|
+
{"version":3,"file":"arrow.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,yDAAiB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Arrow(props) {
|
|
9
9
|
const tooltip = use(TooltipRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tooltip.getArrowProps(),
|
|
11
|
+
const attributes = mergeProps(tooltip.getArrowProps(), { className: classesTooltip.arrow }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Arrow(props: TooltipArrowProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"arrow.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Arrow(props: TooltipArrowProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttooltip.getArrowProps(),\n\t\t{\n\t\t\tclassName: classesTooltip.arrow,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA0B;CACvD,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,eAAe,OAC1B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react397 from "react";
|
|
4
|
+
import * as react_jsx_runtime114 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/content.d.ts
|
|
7
7
|
interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Content(props: TooltipContentProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Content(props: TooltipContentProps): string | number | bigint | boolean | Iterable<react397.ReactNode> | Promise<string | number | bigint | boolean | react397.ReactPortal | react397.ReactElement<unknown, string | react397.JSXElementConstructor<any>> | Iterable<react397.ReactNode> | null | undefined> | react_jsx_runtime114.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Content, TooltipContentProps };
|
|
11
11
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,yBAAyB;iBAE9C,OAAA,QAAe,2DAAmB,SAAA,
|
|
1
|
+
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,yBAAyB;iBAE9C,OAAA,QAAe,2DAAmB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Content(props) {
|
|
9
9
|
const tooltip = use(TooltipRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tooltip.getContentProps(),
|
|
11
|
+
const attributes = mergeProps(tooltip.getContentProps(), { className: classesTooltip.content }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Content(props: TooltipContentProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Content(props: TooltipContentProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttooltip.getContentProps(),\n\t\t{\n\t\t\tclassName: classesTooltip.content,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA4B;CAC3D,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,iBAAiB,EACzB,EACC,WAAW,eAAe,SAC1B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/positioner.d.ts
|
|
6
6
|
interface TooltipPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: TooltipPositionerProps):
|
|
7
|
+
declare function Positioner(props: TooltipPositionerProps): react_jsx_runtime115.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Positioner, TooltipPositionerProps };
|
|
10
10
|
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positioner.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/positioner.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,yBAAyB;iBAEjD,UAAA,QAAkB,yBAAsB,
|
|
1
|
+
{"version":3,"file":"positioner.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/positioner.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,yBAAyB;iBAEjD,UAAA,QAAkB,yBAAsB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Positioner(props) {
|
|
9
9
|
const tooltip = use(TooltipRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tooltip.getPositionerProps(),
|
|
11
|
+
const attributes = mergeProps(tooltip.getPositionerProps(), { className: classesTooltip.positioner }, rest);
|
|
12
12
|
return /* @__PURE__ */ jsx(Portal, { children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positioner.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/positioner.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, Portal } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Positioner(props: TooltipPositionerProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"positioner.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/positioner.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, Portal } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Positioner(props: TooltipPositionerProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttooltip.getPositionerProps(),\n\t\t{\n\t\t\tclassName: classesTooltip.positioner,\n\t\t},\n\t\trest,\n\t);\n\n\treturn <Portal>{element ? element(attributes) : <div {...attributes}>{children}</div>}</Portal>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,WAAW,OAA+B;CACjE,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,oBAAoB,EAC5B,EACC,WAAW,eAAe,YAC1B,EACD,KACA;AAED,QAAO,oBAAC,oBAAQ,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe,GAAU"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useTooltip } from "../modules/use-tooltip.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime117 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/root-provider.d.ts
|
|
6
6
|
interface TooltipRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof useTooltip>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: TooltipRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: TooltipRootProviderProps): react_jsx_runtime117.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { RootProvider, TooltipRootProviderProps };
|
|
12
12
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;UAIiB,wBAAA,SAAiC;SAC1C,kBAAkB;;AADT,iBAIO,YAAA,CAJkB,KAAA,EAIE,wBAJF,CAAA,EAI0B,
|
|
1
|
+
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;UAIiB,wBAAA,SAAiC;SAC1C,kBAAkB;;AADT,iBAIO,YAAA,CAJkB,KAAA,EAIE,wBAJF,CAAA,EAI0B,oBAAA,CAAA,GAAA,CAAA,OAJ1B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/tooltip";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/root.d.ts
|
|
6
6
|
interface TooltipRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: TooltipRootProps):
|
|
7
|
+
declare function Root(props: TooltipRootProps): react_jsx_runtime116.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Root, TooltipRootProps };
|
|
10
10
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;UAKiB,gBAAA,SAAyB,mBAAmB,KAAK;iBAE1C,IAAA,QAAY,mBAAgB,
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;UAKiB,gBAAA,SAAyB,mBAAmB,KAAK;iBAE1C,IAAA,QAAY,mBAAgB,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react402 from "react";
|
|
4
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/trigger.d.ts
|
|
7
7
|
interface TooltipTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function Trigger(props: TooltipTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Trigger(props: TooltipTriggerProps): string | number | bigint | boolean | Iterable<react402.ReactNode> | Promise<string | number | bigint | boolean | react402.ReactPortal | react402.ReactElement<unknown, string | react402.JSXElementConstructor<any>> | Iterable<react402.ReactNode> | null | undefined> | react_jsx_runtime118.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { TooltipTriggerProps, Trigger };
|
|
11
11
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,4BAA4B;iBAEjD,OAAA,QAAe,2DAAmB,SAAA,
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,4BAA4B;iBAEjD,OAAA,QAAe,2DAAmB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Trigger(props) {
|
|
9
9
|
const tooltip = use(TooltipRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tooltip.getTriggerProps(),
|
|
11
|
+
const attributes = mergeProps(tooltip.getTriggerProps(), { className: classesTooltip.trigger }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/trigger.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function Trigger(props: TooltipTriggerProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/trigger.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function Trigger(props: TooltipTriggerProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttooltip.getTriggerProps(),\n\t\t{\n\t\t\tclassName: classesTooltip.trigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA4B;CAC3D,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,iBAAiB,EACzB,EACC,WAAW,eAAe,SAC1B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CollectionItem, CollectionOptions, ListCollection } from "@zag-js/collection";
|
|
2
|
+
|
|
3
|
+
//#region src/hooks/use-list-collection.d.ts
|
|
4
|
+
declare function useListCollection<T extends CollectionItem = CollectionItem>(options: CollectionOptions<T>): ListCollection<T>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { useListCollection };
|
|
7
|
+
//# sourceMappingURL=use-list-collection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-list-collection.d.ts","names":[],"sources":["../../src/hooks/use-list-collection.ts"],"sourcesContent":[],"mappings":";;;iBAEgB,4BAA4B,iBAAiB,yBAAyB,kBAAkB,KAAE,eAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ListCollection } from "@zag-js/collection";
|
|
2
|
+
|
|
3
|
+
//#region src/hooks/use-list-collection.ts
|
|
4
|
+
function useListCollection(options) {
|
|
5
|
+
return new ListCollection(options);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { useListCollection };
|
|
10
|
+
//# sourceMappingURL=use-list-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-list-collection.js","names":[],"sources":["../../src/hooks/use-list-collection.ts"],"sourcesContent":["import { type CollectionItem, type CollectionOptions, ListCollection } from '@zag-js/collection';\n\nexport function useListCollection<T extends CollectionItem = CollectionItem>(options: CollectionOptions<T>) {\n\treturn new ListCollection(options);\n}\n"],"mappings":";;;AAEA,SAAgB,kBAA6D,SAA+B;AAC3G,QAAO,IAAI,eAAe,QAAQ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,22 @@ import { useAvatar } from "./components/avatar/modules/use-avatar.js";
|
|
|
21
21
|
import { AvatarRootContextProps } from "./components/avatar/anatomy/root-context.js";
|
|
22
22
|
import { AvatarRootProviderProps } from "./components/avatar/anatomy/root-provider.js";
|
|
23
23
|
import { Avatar } from "./components/avatar/modules/anatomy.js";
|
|
24
|
+
import { ComboboxContentProps } from "./components/combobox/anatomy/content.js";
|
|
25
|
+
import { ComboboxControlProps } from "./components/combobox/anatomy/control.js";
|
|
26
|
+
import { ComboboxInputProps } from "./components/combobox/anatomy/input.js";
|
|
27
|
+
import { ComboboxItemProps } from "./components/combobox/anatomy/item.js";
|
|
28
|
+
import { ComboboxItemGroupProps } from "./components/combobox/anatomy/item-group.js";
|
|
29
|
+
import { ComboboxItemGroupLabelProps } from "./components/combobox/anatomy/item-group-label.js";
|
|
30
|
+
import { ComboboxItemIndicatorProps } from "./components/combobox/anatomy/item-indicator.js";
|
|
31
|
+
import { ComboboxItemTextProps } from "./components/combobox/anatomy/item-text.js";
|
|
32
|
+
import { ComboboxLabelProps } from "./components/combobox/anatomy/label.js";
|
|
33
|
+
import { ComboboxPositionerProps } from "./components/combobox/anatomy/positioner.js";
|
|
34
|
+
import { ComboboxRootProps } from "./components/combobox/anatomy/root.js";
|
|
35
|
+
import { useCombobox } from "./components/combobox/modules/use-combobox.js";
|
|
36
|
+
import { ComboboxRootContextProps } from "./components/combobox/anatomy/root-context.js";
|
|
37
|
+
import { ComboboxRootProviderProps } from "./components/combobox/anatomy/root-provider.js";
|
|
38
|
+
import { ComboboxTriggerProps } from "./components/combobox/anatomy/trigger.js";
|
|
39
|
+
import { Combobox } from "./components/combobox/modules/anatomy.js";
|
|
24
40
|
import { DialogBackdropProps } from "./components/dialog/anatomy/backdrop.js";
|
|
25
41
|
import { DialogCloseTriggerProps } from "./components/dialog/anatomy/close-trigger.js";
|
|
26
42
|
import { DialogContentProps } from "./components/dialog/anatomy/content.js";
|
|
@@ -83,6 +99,20 @@ import { useSegmentedControl } from "./components/segmented-control/modules/use-
|
|
|
83
99
|
import { SegmentedControlRootContextProps } from "./components/segmented-control/anatomy/root-context.js";
|
|
84
100
|
import { SegmentedControlRootProviderProps } from "./components/segmented-control/anatomy/root-provider.js";
|
|
85
101
|
import { SegmentedControl } from "./components/segmented-control/modules/anatomy.js";
|
|
102
|
+
import { SliderControlProps } from "./components/slider/anatomy/control.js";
|
|
103
|
+
import { SliderHiddenInputProps } from "./components/slider/anatomy/hidden-input.js";
|
|
104
|
+
import { SliderLabelProps } from "./components/slider/anatomy/label.js";
|
|
105
|
+
import { SliderMarkerProps } from "./components/slider/anatomy/marker.js";
|
|
106
|
+
import { SliderMarkerGroupProps } from "./components/slider/anatomy/marker-group.js";
|
|
107
|
+
import { SliderRangeProps } from "./components/slider/anatomy/range.js";
|
|
108
|
+
import { SliderRootProps } from "./components/slider/anatomy/root.js";
|
|
109
|
+
import { useSlider } from "./components/slider/modules/use-slider.js";
|
|
110
|
+
import { SliderRootContextProps } from "./components/slider/anatomy/root-context.js";
|
|
111
|
+
import { SliderRootProviderProps } from "./components/slider/anatomy/root-provider.js";
|
|
112
|
+
import { SliderThumbProps } from "./components/slider/anatomy/thumb.js";
|
|
113
|
+
import { SliderTrackProps } from "./components/slider/anatomy/track.js";
|
|
114
|
+
import { SliderValueTextProps } from "./components/slider/anatomy/value-text.js";
|
|
115
|
+
import { Slider } from "./components/slider/modules/anatomy.js";
|
|
86
116
|
import { SwitchControlProps } from "./components/switch/anatomy/control.js";
|
|
87
117
|
import { SwitchHiddenInputProps } from "./components/switch/anatomy/hidden-input.js";
|
|
88
118
|
import { SwitchLabelProps } from "./components/switch/anatomy/label.js";
|
|
@@ -134,4 +164,5 @@ import { TooltipRootContextProps } from "./components/tooltip/anatomy/root-conte
|
|
|
134
164
|
import { TooltipRootProviderProps } from "./components/tooltip/anatomy/root-provider.js";
|
|
135
165
|
import { TooltipTriggerProps } from "./components/tooltip/anatomy/trigger.js";
|
|
136
166
|
import { Tooltip } from "./components/tooltip/modules/anatomy.js";
|
|
137
|
-
|
|
167
|
+
import { useListCollection } from "./hooks/use-list-collection.js";
|
|
168
|
+
export { Accordion, AccordionItemContentProps, AccordionItemHeadingProps, AccordionItemIndicatorProps, AccordionItemProps, AccordionItemTriggerProps, AccordionRootContextProps, AccordionRootProps, AccordionRootProviderProps, AppBar, AppBarHeadlineProps, AppBarLeadProps, AppBarRootProps, AppBarToolbarProps, AppBarTrailProps, Avatar, AvatarFallbackProps, AvatarImageProps, AvatarRootContextProps, AvatarRootProps, AvatarRootProviderProps, Combobox, ComboboxContentProps, ComboboxControlProps, ComboboxInputProps, ComboboxItemGroupLabelProps, ComboboxItemGroupProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxItemTextProps, ComboboxLabelProps, ComboboxPositionerProps, ComboboxRootContextProps, ComboboxRootProps, ComboboxRootProviderProps, ComboboxTriggerProps, Dialog, DialogBackdropProps, DialogCloseTriggerProps, DialogContentProps, DialogDescriptionProps, DialogPositionerProps, DialogRootContextProps, DialogRootProps, DialogRootProviderProps, DialogTitleProps, DialogTriggerProps, FileUpload, FileUploadDropzoneProps, FileUploadHiddenInputProps, FileUploadItemDeleteTriggerProps, FileUploadItemGroupProps, FileUploadItemNameProps, FileUploadItemProps, FileUploadItemSizeTextProps, FileUploadRootContextProps, FileUploadRootProps, FileUploadRootProviderProps, FileUploadTriggerProps, Popover, PopoverCloseTriggerProps, PopoverContentProps, PopoverDescriptionProps, PopoverPositionerProps, PopoverRootContextProps, PopoverRootProps, PopoverRootProviderProps, PopoverTitleProps, PopoverTriggerProps, ProgressLinear, ProgressLinearLabelProps, ProgressLinearRangeProps, ProgressLinearRootContextProps, ProgressLinearRootProps, ProgressLinearRootProviderProps, ProgressLinearTrackProps, RatingGroup, RatingGroupControlProps, RatingGroupHiddenInputProps, RatingGroupItemProps, RatingGroupLabelProps, RatingGroupRootContextProps, RatingGroupRootProps, RatingGroupRootProviderProps, SegmentedControl, SegmentedControlIndicatorProps, SegmentedControlItemHiddenInputProps, SegmentedControlItemProps, SegmentedControlItemTextProps, SegmentedControlRootContextProps, SegmentedControlRootProps, SegmentedControlRootProviderProps, Slider, SliderControlProps, SliderHiddenInputProps, SliderLabelProps, SliderMarkerGroupProps, SliderMarkerProps, SliderRangeProps, SliderRootContextProps, SliderRootProps, SliderRootProviderProps, SliderThumbProps, SliderTrackProps, SliderValueTextProps, Switch, SwitchControlProps, SwitchHiddenInputProps, SwitchLabelProps, SwitchRootContextProps, SwitchRootProviderProps, SwitchThumbProps, Tabs, TabsContentProps, TabsIndicatorProps, TabsListProps, TabsRootContextProps, TabsRootProps, TabsRootProviderProps, TabsTriggerProps, TagsInput, TagsInputClearTriggerProps, TagsInputControlProps, TagsInputHiddenInputProps, TagsInputInputProps, TagsInputItemDeleteTriggerProps, TagsInputItemInputProps, TagsInputItemPreviewProps, TagsInputItemProps, TagsInputItemTextProps, TagsInputLabelProps, TagsInputRootContextProps, TagsInputRootProps, TagsInputRootProviderProps, Toast, ToastCloseTriggerProps, ToastDescriptionProps, ToastGroupProps, ToastMessageProps, ToastRootContextProps, ToastRootProps, ToastTitleProps, Tooltip, TooltipArrowProps, TooltipArrowTipProps, TooltipContentProps, TooltipPositionerProps, TooltipRootContextProps, TooltipRootProps, TooltipRootProviderProps, TooltipTriggerProps, createToaster, useAccordion, useAvatar, useCombobox, useDialog, useFileUpload, useListCollection, usePopover, useProgressLinear, useRatingGroup, useSegmentedControl, useSlider, useSwitch, useTabs, useTagsInput, useTooltip };
|
package/dist/index.js
CHANGED
|
@@ -1,42 +1,34 @@
|
|
|
1
1
|
import { useAccordion } from "./components/accordion/modules/use-accordion.js";
|
|
2
2
|
import { Accordion } from "./components/accordion/modules/anatomy.js";
|
|
3
|
-
import "./components/accordion/index.js";
|
|
4
3
|
import { AppBar } from "./components/app-bar/modules/anatomy.js";
|
|
5
|
-
import "./components/app-bar/index.js";
|
|
6
4
|
import { useAvatar } from "./components/avatar/modules/use-avatar.js";
|
|
7
5
|
import { Avatar } from "./components/avatar/modules/anatomy.js";
|
|
8
|
-
import "./components/
|
|
6
|
+
import { useCombobox } from "./components/combobox/modules/use-combobox.js";
|
|
7
|
+
import { Combobox } from "./components/combobox/modules/anatomy.js";
|
|
9
8
|
import { useDialog } from "./components/dialog/modules/use-dialog.js";
|
|
10
9
|
import { Dialog } from "./components/dialog/modules/anatomy.js";
|
|
11
|
-
import "./components/dialog/index.js";
|
|
12
10
|
import { useFileUpload } from "./components/file-upload/modules/use-file-upload.js";
|
|
13
11
|
import { FileUpload } from "./components/file-upload/modules/anatomy.js";
|
|
14
|
-
import "./components/file-upload/index.js";
|
|
15
12
|
import { usePopover } from "./components/popover/modules/use-popover.js";
|
|
16
13
|
import { Popover } from "./components/popover/modules/anatomy.js";
|
|
17
|
-
import "./components/popover/index.js";
|
|
18
14
|
import { useProgressLinear } from "./components/progress-linear/modules/use-progress-linear.js";
|
|
19
15
|
import { ProgressLinear } from "./components/progress-linear/modules/anatomy.js";
|
|
20
|
-
import "./components/progress-linear/index.js";
|
|
21
16
|
import { useRatingGroup } from "./components/rating-group/modules/use-rating-group.js";
|
|
22
17
|
import { RatingGroup } from "./components/rating-group/modules/anatomy.js";
|
|
23
|
-
import "./components/rating-group/index.js";
|
|
24
18
|
import { useSegmentedControl } from "./components/segmented-control/modules/use-segmented-control.js";
|
|
25
19
|
import { SegmentedControl } from "./components/segmented-control/modules/anatomy.js";
|
|
26
|
-
import "./components/
|
|
20
|
+
import { useSlider } from "./components/slider/modules/use-slider.js";
|
|
21
|
+
import { Slider } from "./components/slider/modules/anatomy.js";
|
|
27
22
|
import { useSwitch } from "./components/switch/modules/use-switch.js";
|
|
28
23
|
import { Switch } from "./components/switch/modules/anatomy.js";
|
|
29
|
-
import "./components/switch/index.js";
|
|
30
24
|
import { useTabs } from "./components/tabs/modules/use-tabs.js";
|
|
31
25
|
import { Tabs } from "./components/tabs/modules/anatomy.js";
|
|
32
|
-
import "./components/tabs/index.js";
|
|
33
26
|
import { useTagsInput } from "./components/tags-input/modules/use-tags-input.js";
|
|
34
27
|
import { TagsInput } from "./components/tags-input/modules/anatomy.js";
|
|
35
|
-
import "./components/tags-input/index.js";
|
|
36
28
|
import { Toast } from "./components/toast/modules/anatomy.js";
|
|
37
29
|
import { createToaster } from "./components/toast/index.js";
|
|
38
30
|
import { useTooltip } from "./components/tooltip/modules/use-tooltip.js";
|
|
39
31
|
import { Tooltip } from "./components/tooltip/modules/anatomy.js";
|
|
40
|
-
import "./
|
|
32
|
+
import { useListCollection } from "./hooks/use-list-collection.js";
|
|
41
33
|
|
|
42
|
-
export { Accordion, AppBar, Avatar, Dialog, FileUpload, Popover, ProgressLinear, RatingGroup, SegmentedControl, Switch, Tabs, TagsInput, Toast, Tooltip, createToaster, useAccordion, useAvatar, useDialog, useFileUpload, usePopover, useProgressLinear, useRatingGroup, useSegmentedControl, useSwitch, useTabs, useTagsInput, useTooltip };
|
|
34
|
+
export { Accordion, AppBar, Avatar, Combobox, Dialog, FileUpload, Popover, ProgressLinear, RatingGroup, SegmentedControl, Slider, Switch, Tabs, TagsInput, Toast, Tooltip, createToaster, useAccordion, useAvatar, useCombobox, useDialog, useFileUpload, useListCollection, usePopover, useProgressLinear, useRatingGroup, useSegmentedControl, useSlider, useSwitch, useTabs, useTagsInput, useTooltip };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { mergeProps } from "@zag-js/react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/internal/components/check.tsx
|
|
5
|
+
function Check(props) {
|
|
6
|
+
const { ...rest } = props;
|
|
7
|
+
const attributes = mergeProps({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: "24",
|
|
10
|
+
height: "24",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeWidth: "2",
|
|
15
|
+
strokeLinecap: "round",
|
|
16
|
+
strokeLinejoin: "round"
|
|
17
|
+
}, rest);
|
|
18
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
+
...attributes,
|
|
20
|
+
children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" })
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Check as default };
|
|
26
|
+
//# sourceMappingURL=check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check.js","names":[],"sources":["../../../src/internal/components/check.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type CheckProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function Check(props: CheckProps) {\n\tconst { ...rest } = props;\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"M20 6 9 17l-5-5\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,MAAM,OAAmB;CAChD,MAAM,EAAE,GAAG,SAAS;CACpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,EACD,KACA;AACD,QACC,oBAAC;EAAI,GAAI;YACR,oBAAC,UAAK,GAAE,oBAAoB;GACvB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/internal/components/chevron-down.tsx
|
|
4
|
+
function ChevronDown() {
|
|
5
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "24",
|
|
8
|
+
height: "24",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
fill: "none",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
strokeWidth: "2",
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { ChevronDown as default };
|
|
21
|
+
//# sourceMappingURL=chevron-down.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-down.js","names":[],"sources":["../../../src/internal/components/chevron-down.tsx"],"sourcesContent":["export default function ChevronDown() {\n\treturn (\n\t\t<svg\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\twidth=\"24\"\n\t\t\theight=\"24\"\n\t\t\tviewBox=\"0 0 24 24\"\n\t\t\tfill=\"none\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"2\"\n\t\t\tstrokeLinecap=\"round\"\n\t\t\tstrokeLinejoin=\"round\"\n\t\t>\n\t\t\t<path d=\"m6 9 6 6 6-6\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;AAAA,SAAwB,cAAc;AACrC,QACC,oBAAC;EACA,OAAM;EACN,OAAM;EACN,QAAO;EACP,SAAQ;EACR,MAAK;EACL,QAAO;EACP,aAAY;EACZ,eAAc;EACd,gBAAe;YAEf,oBAAC,UAAK,GAAE,iBAAiB;GACpB"}
|
|
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/x.tsx
|
|
5
5
|
function X(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps(
|
|
7
|
+
const attributes = mergeProps({
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
width: "24",
|
|
10
10
|
height: "24",
|
|
@@ -14,7 +14,7 @@ function X(props) {
|
|
|
14
14
|
strokeWidth: "2",
|
|
15
15
|
strokeLinecap: "round",
|
|
16
16
|
strokeLinejoin: "round"
|
|
17
|
-
});
|
|
17
|
+
}, rest);
|
|
18
18
|
return /* @__PURE__ */ jsxs("svg", {
|
|
19
19
|
...attributes,
|
|
20
20
|
children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x.js","names":[],"sources":["../../../src/internal/components/x.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type XProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function X(props: XProps) {\n\tconst { ...rest } = props;\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"x.js","names":[],"sources":["../../../src/internal/components/x.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type XProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function X(props: XProps) {\n\tconst { ...rest } = props;\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"M18 6 6 18\" />\n\t\t\t<path d=\"m6 6 12 12\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,EAAE,OAAe;CACxC,MAAM,EAAE,GAAG,SAAS;CACpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,EACD,KACA;AACD,QACC,qBAAC;EAAI,GAAI;aACR,oBAAC,UAAK,GAAE,eAAe,EACvB,oBAAC,UAAK,GAAE,eAAe;GAClB"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton-react",
|
|
3
|
-
"version": "2.0.0-next.
|
|
4
|
-
"
|
|
3
|
+
"version": "2.0.0-next.12",
|
|
4
|
+
"description": "The React package for Skeleton.",
|
|
5
|
+
"author": "endigo9740 <chris@skeletonlabs.dev>",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/skeletonlabs/skeleton",
|
|
8
|
+
"url": "git+https://github.com/skeletonlabs/skeleton.git",
|
|
8
9
|
"directory": "packages/skeleton-react"
|
|
9
10
|
},
|
|
10
|
-
"main": "./dist/index.js",
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
11
|
"exports": {
|
|
13
12
|
".": {
|
|
14
13
|
"types": "./dist/index.d.ts",
|
|
@@ -19,9 +18,12 @@
|
|
|
19
18
|
"files": [
|
|
20
19
|
"dist"
|
|
21
20
|
],
|
|
21
|
+
"sideEffects": false,
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@zag-js/accordion": "1.24.2",
|
|
24
24
|
"@zag-js/avatar": "1.24.2",
|
|
25
|
+
"@zag-js/collection": "1.24.2",
|
|
26
|
+
"@zag-js/combobox": "1.24.2",
|
|
25
27
|
"@zag-js/dialog": "1.24.2",
|
|
26
28
|
"@zag-js/file-upload": "1.24.2",
|
|
27
29
|
"@zag-js/popover": "1.24.2",
|
|
@@ -29,12 +31,13 @@
|
|
|
29
31
|
"@zag-js/radio-group": "1.24.2",
|
|
30
32
|
"@zag-js/rating-group": "1.24.2",
|
|
31
33
|
"@zag-js/react": "1.24.2",
|
|
34
|
+
"@zag-js/slider": "1.24.2",
|
|
32
35
|
"@zag-js/switch": "1.24.2",
|
|
33
36
|
"@zag-js/tabs": "1.24.2",
|
|
34
37
|
"@zag-js/tags-input": "1.24.2",
|
|
35
38
|
"@zag-js/toast": "1.24.2",
|
|
36
39
|
"@zag-js/tooltip": "1.24.2",
|
|
37
|
-
"@skeletonlabs/skeleton-common": "1.0.0-next.
|
|
40
|
+
"@skeletonlabs/skeleton-common": "1.0.0-next.11"
|
|
38
41
|
},
|
|
39
42
|
"peerDependencies": {
|
|
40
43
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -54,6 +57,8 @@
|
|
|
54
57
|
"vite": "7.1.3",
|
|
55
58
|
"vitest": "3.2.4"
|
|
56
59
|
},
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"type": "module",
|
|
57
62
|
"scripts": {
|
|
58
63
|
"dev": "tsdown --watch",
|
|
59
64
|
"build": "tsdown",
|