@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
|
@@ -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 react267 from "react";
|
|
4
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item-input.d.ts
|
|
7
7
|
interface TagsInputItemInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function ItemInput(props: TagsInputItemInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemInput(props: TagsInputItemInputProps): string | number | bigint | boolean | Iterable<react267.ReactNode> | Promise<string | number | bigint | boolean | react267.ReactPortal | react267.ReactElement<unknown, string | react267.JSXElementConstructor<any>> | Iterable<react267.ReactNode> | null | undefined> | react_jsx_runtime77.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemInput, TagsInputItemInputProps };
|
|
11
11
|
//# sourceMappingURL=item-input.d.ts.map
|
|
@@ -10,7 +10,7 @@ function ItemInput(props) {
|
|
|
10
10
|
const tagsInput = use(TagsInputRootContext);
|
|
11
11
|
const itemProps = use(TagsInputItemContext);
|
|
12
12
|
const { element,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(tagsInput.getItemInputProps(itemProps),
|
|
13
|
+
const attributes = mergeProps(tagsInput.getItemInputProps(itemProps), { className: classesTagsInput.itemInput }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-input.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function ItemInput(props: TagsInputItemInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"item-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-input.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function ItemInput(props: TagsInputItemInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getItemInputProps(itemProps),\n\t\t{\n\t\t\tclassName: classesTagsInput.itemInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,UAAU,OAAgC;CACjE,MAAM,YAAY,IAAI,qBAAqB;CAC3C,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,UAAU,kBAAkB,UAAU,EACtC,EACC,WAAW,iBAAiB,WAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
|
|
@@ -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 react272 from "react";
|
|
4
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item-preview.d.ts
|
|
7
7
|
interface TagsInputItemPreviewProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemPreview(props: TagsInputItemPreviewProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemPreview(props: TagsInputItemPreviewProps): string | number | bigint | boolean | Iterable<react272.ReactNode> | Promise<string | number | bigint | boolean | react272.ReactPortal | react272.ReactElement<unknown, string | react272.JSXElementConstructor<any>> | Iterable<react272.ReactNode> | null | undefined> | react_jsx_runtime78.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemPreview, TagsInputItemPreviewProps };
|
|
11
11
|
//# sourceMappingURL=item-preview.d.ts.map
|
|
@@ -10,7 +10,7 @@ function ItemPreview(props) {
|
|
|
10
10
|
const tagsInput = use(TagsInputRootContext);
|
|
11
11
|
const itemProps = use(TagsInputItemContext);
|
|
12
12
|
const { element, children,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(tagsInput.getItemPreviewProps(itemProps),
|
|
13
|
+
const attributes = mergeProps(tagsInput.getItemPreviewProps(itemProps), { className: classesTagsInput.itemPreview }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
15
15
|
...attributes,
|
|
16
16
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-preview.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-preview.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemPreviewProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ItemPreview(props: TagsInputItemPreviewProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"item-preview.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-preview.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemPreviewProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ItemPreview(props: TagsInputItemPreviewProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getItemPreviewProps(itemProps),\n\t\t{\n\t\t\tclassName: classesTagsInput.itemPreview,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,YAAY,OAAkC;CACrE,MAAM,YAAY,IAAI,qBAAqB;CAC3C,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,oBAAoB,UAAU,EACxC,EACC,WAAW,iBAAiB,aAC5B,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 react277 from "react";
|
|
4
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item-text.d.ts
|
|
7
7
|
interface TagsInputItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function ItemText(props: TagsInputItemTextProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemText(props: TagsInputItemTextProps): string | number | bigint | boolean | Iterable<react277.ReactNode> | Promise<string | number | bigint | boolean | react277.ReactPortal | react277.ReactElement<unknown, string | react277.JSXElementConstructor<any>> | Iterable<react277.ReactNode> | null | undefined> | react_jsx_runtime79.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemText, TagsInputItemTextProps };
|
|
11
11
|
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -10,7 +10,7 @@ function ItemText(props) {
|
|
|
10
10
|
const tagsInput = use(TagsInputRootContext);
|
|
11
11
|
const itemProps = use(TagsInputItemContext);
|
|
12
12
|
const { element, children,...rest } = props;
|
|
13
|
-
const attributes = mergeProps(tagsInput.getItemTextProps(itemProps),
|
|
13
|
+
const attributes = mergeProps(tagsInput.getItemTextProps(itemProps), { className: classesTagsInput.itemText }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
15
15
|
...attributes,
|
|
16
16
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-text.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function ItemText(props: TagsInputItemTextProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"item-text.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-text.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function ItemText(props: TagsInputItemTextProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getItemTextProps(itemProps),\n\t\t{\n\t\t\tclassName: classesTagsInput.itemText,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,SAAS,OAA+B;CAC/D,MAAM,YAAY,IAAI,qBAAqB;CAC3C,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,iBAAiB,UAAU,EACrC,EACC,WAAW,iBAAiB,UAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/tags-input";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item.d.ts
|
|
7
7
|
interface TagsInputItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Item(props: TagsInputItemProps):
|
|
8
|
+
declare function Item(props: TagsInputItemProps): react_jsx_runtime75.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, TagsInputItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -11,7 +11,7 @@ function Item(props) {
|
|
|
11
11
|
const tagsInput = use(TagsInputRootContext);
|
|
12
12
|
const [itemProps, componentProps] = splitItemProps(props);
|
|
13
13
|
const { element, children,...rest } = componentProps;
|
|
14
|
-
const attributes = mergeProps(tagsInput.getItemProps(itemProps),
|
|
14
|
+
const attributes = mergeProps(tagsInput.getItemProps(itemProps), { className: classesTagsInput.item }, rest);
|
|
15
15
|
return /* @__PURE__ */ jsx(TagsInputItemContext.Provider, {
|
|
16
16
|
value: itemProps,
|
|
17
17
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { type ItemProps, splitItemProps } from '@zag-js/tags-input';\nimport { use } from 'react';\n\nexport interface TagsInputItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Item(props: TagsInputItemProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { type ItemProps, splitItemProps } from '@zag-js/tags-input';\nimport { use } from 'react';\n\nexport interface TagsInputItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Item(props: TagsInputItemProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getItemProps(itemProps),\n\t\t{\n\t\t\tclassName: classesTagsInput.item,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<TagsInputItemContext.Provider value={itemProps}>\n\t\t\t{element ? element(attributes) : <span {...attributes}>{children}</span>}\n\t\t</TagsInputItemContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,KAAK,OAA2B;CACvD,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,aAAa,UAAU,EACjC,EACC,WAAW,iBAAiB,MAC5B,EACD,KACA;AAED,QACC,oBAAC,qBAAqB;EAAS,OAAO;YACpC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAK,GAAI;GAAa;IAAgB;GACzC"}
|
|
@@ -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 react282 from "react";
|
|
4
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/label.d.ts
|
|
7
7
|
interface TagsInputLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
-
declare function Label(props: TagsInputLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: TagsInputLabelProps): string | number | bigint | boolean | Iterable<react282.ReactNode> | Promise<string | number | bigint | boolean | react282.ReactPortal | react282.ReactElement<unknown, string | react282.JSXElementConstructor<any>> | Iterable<react282.ReactNode> | null | undefined> | react_jsx_runtime80.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, TagsInputLabelProps };
|
|
11
11
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Label(props) {
|
|
9
9
|
const tagsInput = use(TagsInputRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tagsInput.getLabelProps(),
|
|
11
|
+
const attributes = mergeProps(tagsInput.getLabelProps(), { className: classesTagsInput.label }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("label", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/label.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Label(props: TagsInputLabelProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/label.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}\n\nexport default function Label(props: TagsInputLabelProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <label {...attributes}>{children}</label>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA4B;CACzD,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,eAAe,EACzB,EACC,WAAW,iBAAiB,OAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAM,GAAI;EAAa;GAAiB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useTagsInput } from "../modules/use-tags-input.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime82 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/root-provider.d.ts
|
|
7
7
|
interface TagsInputRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useTagsInput>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TagsInputRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TagsInputRootProviderProps): react_jsx_runtime82.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TagsInputRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/root-provider.tsx
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: tagsInput,...rest } = props;
|
|
9
|
-
const attributes = mergeProps(tagsInput.getRootProps(),
|
|
9
|
+
const attributes = mergeProps(tagsInput.getRootProps(), { className: classesTagsInput.root }, rest);
|
|
10
10
|
return /* @__PURE__ */ jsx(TagsInputRootContext.Provider, {
|
|
11
11
|
value: tagsInput,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/root-provider.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { useTagsInput } from '../modules/use-tags-input';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface TagsInputRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useTagsInput>;\n}\n\nexport default function RootProvider(props: TagsInputRootProviderProps) {\n\tconst { element, children, value: tagsInput, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/root-provider.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { useTagsInput } from '../modules/use-tags-input';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface TagsInputRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useTagsInput>;\n}\n\nexport default function RootProvider(props: TagsInputRootProviderProps) {\n\tconst { element, children, value: tagsInput, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<TagsInputRootContext.Provider value={tagsInput}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TagsInputRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAAmC;CACvE,MAAM,EAAE,SAAS,UAAU,OAAO,UAAW,GAAG,SAAS;CAEzD,MAAM,aAAa,WAClB,UAAU,cAAc,EACxB,EACC,WAAW,iBAAiB,MAC5B,EACD,KACA;AAED,QACC,oBAAC,qBAAqB;EAAS,OAAO;YACpC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACvC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/tags-input";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/root.d.ts
|
|
7
7
|
interface TagsInputRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TagsInputRootProps):
|
|
8
|
+
declare function Root(props: TagsInputRootProps): react_jsx_runtime81.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TagsInputRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -10,7 +10,7 @@ function Root(props) {
|
|
|
10
10
|
const [tagsInputProps, componentProps] = splitProps(props);
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const tagsInput = useTagsInput(tagsInputProps);
|
|
13
|
-
const attributes = mergeProps(tagsInput.getRootProps(),
|
|
13
|
+
const attributes = mergeProps(tagsInput.getRootProps(), { className: classesTagsInput.root }, rest);
|
|
14
14
|
return /* @__PURE__ */ jsx(TagsInputRootContext.Provider, {
|
|
15
15
|
value: tagsInput,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/root.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport { useTagsInput } from '../modules/use-tags-input';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { type Props, splitProps } from '@zag-js/tags-input';\n\nexport interface TagsInputRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: TagsInputRootProps) {\n\tconst [tagsInputProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst tagsInput = useTagsInput(tagsInputProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/root.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport { useTagsInput } from '../modules/use-tags-input';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { type Props, splitProps } from '@zag-js/tags-input';\n\nexport interface TagsInputRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: TagsInputRootProps) {\n\tconst [tagsInputProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst tagsInput = useTagsInput(tagsInputProps);\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<TagsInputRootContext.Provider value={tagsInput}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TagsInputRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAaA,SAAwB,KAAK,OAA2B;CACvD,MAAM,CAAC,gBAAgB,kBAAkB,WAAW,MAAM;CAC1D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,YAAY,aAAa,eAAe;CAE9C,MAAM,aAAa,WAClB,UAAU,cAAc,EACxB,EACC,WAAW,iBAAiB,MAC5B,EACD,KACA;AAED,QACC,oBAAC,qBAAqB;EAAS,OAAO;YACpC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACvC"}
|
|
@@ -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 react417 from "react";
|
|
4
|
+
import * as react_jsx_runtime122 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/action-trigger.d.ts
|
|
7
7
|
interface ToastActionTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ActionTrigger(props: ToastActionTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ActionTrigger(props: ToastActionTriggerProps): string | number | bigint | boolean | Iterable<react417.ReactNode> | Promise<string | number | bigint | boolean | react417.ReactPortal | react417.ReactElement<unknown, string | react417.JSXElementConstructor<any>> | Iterable<react417.ReactNode> | null | undefined> | react_jsx_runtime122.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ActionTrigger };
|
|
11
11
|
//# sourceMappingURL=action-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-trigger.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/action-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,4BAA4B;iBAErD,aAAA,QAAqB,+DAAuB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"action-trigger.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/action-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,4BAA4B;iBAErD,aAAA,QAAqB,+DAAuB,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 ActionTrigger(props) {
|
|
9
9
|
const toast = use(ToastRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(toast.getActionTriggerProps(),
|
|
11
|
+
const attributes = mergeProps(toast.getActionTriggerProps(), { className: classesToast.actionTrigger }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-trigger.js","names":[],"sources":["../../../../src/components/toast/anatomy/action-trigger.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context.js';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastActionTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ActionTrigger(props: ToastActionTriggerProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"action-trigger.js","names":[],"sources":["../../../../src/components/toast/anatomy/action-trigger.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context.js';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastActionTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ActionTrigger(props: ToastActionTriggerProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttoast.getActionTriggerProps(),\n\t\t{\n\t\t\tclassName: classesToast.actionTrigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,cAAc,OAAgC;CACrE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,MAAM,uBAAuB,EAC7B,EACC,WAAW,aAAa,eACxB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -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 react202 from "react";
|
|
4
|
+
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/close-trigger.d.ts
|
|
7
7
|
interface ToastCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function CloseTrigger(props: ToastCloseTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function CloseTrigger(props: ToastCloseTriggerProps): string | number | bigint | boolean | Iterable<react202.ReactNode> | Promise<string | number | bigint | boolean | react202.ReactPortal | react202.ReactElement<unknown, string | react202.JSXElementConstructor<any>> | Iterable<react202.ReactNode> | null | undefined> | react_jsx_runtime59.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CloseTrigger, ToastCloseTriggerProps };
|
|
11
11
|
//# sourceMappingURL=close-trigger.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
9
9
|
function CloseTrigger(props) {
|
|
10
10
|
const toast = use(ToastRootContext);
|
|
11
11
|
const { element, children = /* @__PURE__ */ jsx(X, {}),...rest } = props;
|
|
12
|
-
const attributes = mergeProps(toast.getCloseTriggerProps(),
|
|
12
|
+
const attributes = mergeProps(toast.getCloseTriggerProps(), { className: classesToast.closeTrigger }, rest);
|
|
13
13
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
14
14
|
...attributes,
|
|
15
15
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-trigger.js","names":[],"sources":["../../../../src/components/toast/anatomy/close-trigger.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context.js';\nimport X from '@/internal/components/x';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function CloseTrigger(props: ToastCloseTriggerProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children = <X />, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"close-trigger.js","names":[],"sources":["../../../../src/components/toast/anatomy/close-trigger.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context.js';\nimport X from '@/internal/components/x';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function CloseTrigger(props: ToastCloseTriggerProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children = <X />, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttoast.getCloseTriggerProps(),\n\t\t{\n\t\t\tclassName: classesToast.closeTrigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,aAAa,OAA+B;CACnE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,WAAW,oBAAC,MAAI,CAAE,GAAG,SAAS;CAE/C,MAAM,aAAa,WAClB,MAAM,sBAAsB,EAC5B,EACC,WAAW,aAAa,cACxB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -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 react207 from "react";
|
|
4
|
+
import * as react_jsx_runtime60 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/description.d.ts
|
|
7
7
|
interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Description(props: ToastDescriptionProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Description(props: ToastDescriptionProps): string | number | bigint | boolean | Iterable<react207.ReactNode> | Promise<string | number | bigint | boolean | react207.ReactPortal | react207.ReactElement<unknown, string | react207.JSXElementConstructor<any>> | Iterable<react207.ReactNode> | null | undefined> | react_jsx_runtime60.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Description, ToastDescriptionProps };
|
|
11
11
|
//# sourceMappingURL=description.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Description(props) {
|
|
9
9
|
const toast = use(ToastRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(toast.getDescriptionProps(),
|
|
11
|
+
const attributes = mergeProps(toast.getDescriptionProps(), { className: classesToast.description }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description.js","names":[],"sources":["../../../../src/components/toast/anatomy/description.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Description(props: ToastDescriptionProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"description.js","names":[],"sources":["../../../../src/components/toast/anatomy/description.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Description(props: ToastDescriptionProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttoast.getDescriptionProps(),\n\t\t{\n\t\t\tclassName: classesToast.description,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA8B;CACjE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,MAAM,qBAAqB,EAC3B,EACC,WAAW,aAAa,aACxB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { JSX } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
5
5
|
import { Props, Store } from "@zag-js/toast";
|
|
6
6
|
|
|
7
7
|
//#region src/components/toast/anatomy/group.d.ts
|
|
@@ -9,7 +9,7 @@ interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div',
|
|
|
9
9
|
toaster: Store;
|
|
10
10
|
children?: (toast: Props) => JSX.Element | null;
|
|
11
11
|
}
|
|
12
|
-
declare function Group(props: ToastGroupProps):
|
|
12
|
+
declare function Group(props: ToastGroupProps): react_jsx_runtime61.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Group, ToastGroupProps };
|
|
15
15
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -13,7 +13,7 @@ function Group(props) {
|
|
|
13
13
|
store: toaster
|
|
14
14
|
});
|
|
15
15
|
const api = group.connect(service, normalizeProps);
|
|
16
|
-
const attributes = mergeProps(api.getGroupProps(),
|
|
16
|
+
const attributes = mergeProps(api.getGroupProps(), { className: classesToast.group }, rest);
|
|
17
17
|
return /* @__PURE__ */ jsx(ToastGroupContext.Provider, {
|
|
18
18
|
value: service,
|
|
19
19
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","names":[],"sources":["../../../../src/components/toast/anatomy/group.tsx"],"sourcesContent":["import { ToastGroupContext } from '../modules/group-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { group } from '@zag-js/toast';\nimport type { Props, Store } from '@zag-js/toast';\nimport type { JSX } from 'react';\nimport { useId } from 'react';\n\nexport interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'children'> {\n\ttoaster: Store;\n\tchildren?: (toast: Props) => JSX.Element | null;\n}\n\nexport default function Group(props: ToastGroupProps) {\n\tconst { element, children, toaster, ...rest } = props;\n\n\tconst service = useMachine(group.machine, {\n\t\tid: useId(),\n\t\tstore: toaster,\n\t});\n\tconst api = group.connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"group.js","names":[],"sources":["../../../../src/components/toast/anatomy/group.tsx"],"sourcesContent":["import { ToastGroupContext } from '../modules/group-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { group } from '@zag-js/toast';\nimport type { Props, Store } from '@zag-js/toast';\nimport type { JSX } from 'react';\nimport { useId } from 'react';\n\nexport interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'children'> {\n\ttoaster: Store;\n\tchildren?: (toast: Props) => JSX.Element | null;\n}\n\nexport default function Group(props: ToastGroupProps) {\n\tconst { element, children, toaster, ...rest } = props;\n\n\tconst service = useMachine(group.machine, {\n\t\tid: useId(),\n\t\tstore: toaster,\n\t});\n\tconst api = group.connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(\n\t\tapi.getGroupProps(),\n\t\t{\n\t\t\tclassName: classesToast.group,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<ToastGroupContext.Provider value={service}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{api.getToasts().map((toast) => children?.(toast))}</div>}\n\t\t</ToastGroupContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAeA,SAAwB,MAAM,OAAwB;CACrD,MAAM,EAAE,SAAS,UAAU,QAAS,GAAG,SAAS;CAEhD,MAAM,UAAU,WAAW,MAAM,SAAS;EACzC,IAAI,OAAO;EACX,OAAO;EACP,CAAC;CACF,MAAM,MAAM,MAAM,QAAQ,SAAS,eAAe;CAElD,MAAM,aAAa,WAClB,IAAI,eAAe,EACnB,EACC,WAAW,aAAa,OACxB,EACD,KACA;AAED,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;aAAa,IAAI,WAAW,CAAC,KAAK,UAAU,WAAW,MAAM,CAAC;IAAO;GACnF"}
|
|
@@ -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 react212 from "react";
|
|
4
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/message.d.ts
|
|
7
7
|
interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Message(props: ToastMessageProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Message(props: ToastMessageProps): string | number | bigint | boolean | Iterable<react212.ReactNode> | Promise<string | number | bigint | boolean | react212.ReactPortal | react212.ReactElement<unknown, string | react212.JSXElementConstructor<any>> | Iterable<react212.ReactNode> | null | undefined> | react_jsx_runtime62.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Message, ToastMessageProps };
|
|
11
11
|
//# sourceMappingURL=message.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
//#region src/components/toast/anatomy/message.tsx
|
|
6
6
|
function Message(props) {
|
|
7
7
|
const { element, children,...rest } = props;
|
|
8
|
-
const attributes = mergeProps(
|
|
8
|
+
const attributes = mergeProps({ className: classesToast.message }, rest);
|
|
9
9
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
10
10
|
...attributes,
|
|
11
11
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.js","names":[],"sources":["../../../../src/components/toast/anatomy/message.tsx"],"sourcesContent":["import type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Message(props: ToastMessageProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"message.js","names":[],"sources":["../../../../src/components/toast/anatomy/message.tsx"],"sourcesContent":["import type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Message(props: ToastMessageProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\tclassName: classesToast.message,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;AAOA,SAAwB,QAAQ,OAA0B;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,EACC,WAAW,aAAa,SACxB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
4
4
|
import { Options } from "@zag-js/toast";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/root.d.ts
|
|
7
7
|
interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
toast: Omit<Options, 'id' | 'parent'>;
|
|
9
9
|
}
|
|
10
|
-
declare function Root(props: ToastRootProps):
|
|
10
|
+
declare function Root(props: ToastRootProps): react_jsx_runtime63.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Root, ToastRootProps };
|
|
13
13
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -16,7 +16,7 @@ function Root(props) {
|
|
|
16
16
|
...toastProps
|
|
17
17
|
});
|
|
18
18
|
const toast = connect(service, normalizeProps);
|
|
19
|
-
const attributes = mergeProps(toast.getRootProps(),
|
|
19
|
+
const attributes = mergeProps(toast.getRootProps(), { className: classesToast.root }, rest);
|
|
20
20
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(ToastRootContext.Provider, {
|
|
21
21
|
value: toast,
|
|
22
22
|
children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":["group"],"sources":["../../../../src/components/toast/anatomy/root.tsx"],"sourcesContent":["import { ToastGroupContext } from '../modules/group-context';\nimport { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/toast';\nimport type { Options } from '@zag-js/toast';\nimport { use, useId } from 'react';\n\nexport interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\ttoast: Omit<Options, 'id' | 'parent'>;\n}\n\nexport default function Root(props: ToastRootProps) {\n\tconst group = use(ToastGroupContext);\n\n\tconst { element, children, toast: toastProps, ...rest } = props;\n\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\tparent: group,\n\t\t...toastProps,\n\t});\n\tconst toast = connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"root.js","names":["group"],"sources":["../../../../src/components/toast/anatomy/root.tsx"],"sourcesContent":["import { ToastGroupContext } from '../modules/group-context';\nimport { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/toast';\nimport type { Options } from '@zag-js/toast';\nimport { use, useId } from 'react';\n\nexport interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\ttoast: Omit<Options, 'id' | 'parent'>;\n}\n\nexport default function Root(props: ToastRootProps) {\n\tconst group = use(ToastGroupContext);\n\n\tconst { element, children, toast: toastProps, ...rest } = props;\n\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\tparent: group,\n\t\t...toastProps,\n\t});\n\tconst toast = connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(\n\t\ttoast.getRootProps(),\n\t\t{\n\t\t\tclassName: classesToast.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t<ToastRootContext.Provider value={toast}>\n\t\t\t\t<div {...toast.getGhostBeforeProps()} />\n\t\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t\t\t<div {...toast.getGhostAfterProps()} />\n\t\t\t</ToastRootContext.Provider>\n\t\t\t<style>{`\n [data-part='root'] {\n translate: var(--x) var(--y);\n scale: var(--scale);\n z-index: var(--z-index);\n height: var(--height);\t\n opacity: var(--opacity);\n will-change: translate, opacity, scale;\n }\n [data-part='root'] {\n transition:\n translate 400ms,\n scale 400ms,\n opacity 400ms;\n transition-timing-function: cubic-bezier(0.21, 1.02, 0.73, 1);\n }\n [data-part='root'][data-state='closed'] {\n transition:\n translate 400ms,\n scale 400ms,\n opacity 200ms;\n transition-timing-function: cubic-bezier(0.06, 0.71, 0.55, 1);\n }\n `}</style>\n\t\t</>\n\t);\n}\n"],"mappings":";;;;;;;;;AAcA,SAAwB,KAAK,OAAuB;CACnD,MAAMA,UAAQ,IAAI,kBAAkB;CAEpC,MAAM,EAAE,SAAS,UAAU,OAAO,WAAY,GAAG,SAAS;CAE1D,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,QAAQA;EACR,GAAG;EACH,CAAC;CACF,MAAM,QAAQ,QAAQ,SAAS,eAAe;CAE9C,MAAM,aAAa,WAClB,MAAM,cAAc,EACpB,EACC,WAAW,aAAa,MACxB,EACD,KACA;AAED,QACC,8CACC,qBAAC,iBAAiB;EAAS,OAAO;;GACjC,oBAAC,SAAI,GAAI,MAAM,qBAAqB,GAAI;GACvC,UAAU,QAAQ,WAAW,GAAG,oBAAC;IAAI,GAAI;IAAa;KAAe;GACtE,oBAAC,SAAI,GAAI,MAAM,oBAAoB,GAAI;;GACZ,EAC5B,oBAAC,qBAAO;;;;;;;;;;;;;;;;;;;;;;;gBAuBW,IACjB"}
|
|
@@ -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 react217 from "react";
|
|
4
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/title.d.ts
|
|
7
7
|
interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Title(props: ToastTitleProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Title(props: ToastTitleProps): string | number | bigint | boolean | Iterable<react217.ReactNode> | Promise<string | number | bigint | boolean | react217.ReactPortal | react217.ReactElement<unknown, string | react217.JSXElementConstructor<any>> | Iterable<react217.ReactNode> | null | undefined> | react_jsx_runtime64.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Title, ToastTitleProps };
|
|
11
11
|
//# sourceMappingURL=title.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Title(props) {
|
|
9
9
|
const toast = use(ToastRootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(toast.getTitleProps(),
|
|
11
|
+
const attributes = mergeProps(toast.getTitleProps(), { className: classesToast.title }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
14
14
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.js","names":[],"sources":["../../../../src/components/toast/anatomy/title.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Title(props: ToastTitleProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"title.js","names":[],"sources":["../../../../src/components/toast/anatomy/title.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Title(props: ToastTitleProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttoast.getTitleProps(),\n\t\t{\n\t\t\tclassName: classesToast.title,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAwB;CACrD,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,MAAM,eAAe,EACrB,EACC,WAAW,aAAa,OACxB,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 react392 from "react";
|
|
4
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip/anatomy/arrow-tip.d.ts
|
|
7
7
|
interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ArrowTip(props: TooltipArrowTipProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ArrowTip(props: TooltipArrowTipProps): string | number | bigint | boolean | Iterable<react392.ReactNode> | Promise<string | number | bigint | boolean | react392.ReactPortal | react392.ReactElement<unknown, string | react392.JSXElementConstructor<any>> | Iterable<react392.ReactNode> | null | undefined> | react_jsx_runtime113.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ArrowTip, TooltipArrowTipProps };
|
|
11
11
|
//# sourceMappingURL=arrow-tip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-tip.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,QAAA,QAAgB,4DAAoB,SAAA,
|
|
1
|
+
{"version":3,"file":"arrow-tip.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,QAAA,QAAgB,4DAAoB,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"}
|