@skeletonlabs/skeleton-react 2.0.0-next.11 → 2.0.0-next.13
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/README.md +7 -22
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root.js +1 -1
- package/dist/components/accordion/anatomy/root.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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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 +3 -3
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/content.js +1 -1
- package/dist/components/combobox/anatomy/content.js.map +1 -1
- package/dist/components/combobox/anatomy/control.d.ts +3 -3
- package/dist/components/combobox/anatomy/control.js +1 -1
- package/dist/components/combobox/anatomy/control.js.map +1 -1
- package/dist/components/combobox/anatomy/input.d.ts +3 -3
- package/dist/components/combobox/anatomy/input.js +1 -1
- package/dist/components/combobox/anatomy/input.js.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.d.ts +3 -3
- package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.js +1 -1
- package/dist/components/combobox/anatomy/item-group-label.js.map +1 -1
- package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-group.js +1 -1
- package/dist/components/combobox/anatomy/item-group.js.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.d.ts +3 -3
- package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.js +1 -1
- package/dist/components/combobox/anatomy/item-indicator.js.map +1 -1
- package/dist/components/combobox/anatomy/item-text.d.ts +3 -3
- package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-text.js +1 -1
- package/dist/components/combobox/anatomy/item-text.js.map +1 -1
- package/dist/components/combobox/anatomy/item.d.ts +2 -2
- package/dist/components/combobox/anatomy/item.js +1 -1
- package/dist/components/combobox/anatomy/item.js.map +1 -1
- package/dist/components/combobox/anatomy/label.d.ts +3 -3
- package/dist/components/combobox/anatomy/label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/label.js +1 -1
- package/dist/components/combobox/anatomy/label.js.map +1 -1
- package/dist/components/combobox/anatomy/positioner.d.ts +3 -3
- package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/positioner.js +1 -1
- package/dist/components/combobox/anatomy/positioner.js.map +1 -1
- package/dist/components/combobox/anatomy/root-provider.d.ts +2 -2
- package/dist/components/combobox/anatomy/root-provider.js +1 -1
- package/dist/components/combobox/anatomy/root-provider.js.map +1 -1
- package/dist/components/combobox/anatomy/root.d.ts +2 -2
- package/dist/components/combobox/anatomy/root.js +1 -1
- package/dist/components/combobox/anatomy/root.js.map +1 -1
- package/dist/components/combobox/anatomy/trigger.d.ts +3 -3
- package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/trigger.js +1 -1
- package/dist/components/combobox/anatomy/trigger.js.map +1 -1
- 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-provider.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/root.d.ts +2 -2
- package/dist/components/dialog/anatomy/root.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/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.js +1 -1
- package/dist/components/file-upload/anatomy/trigger.js.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.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.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.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.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.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.d.ts +2 -2
- package/dist/components/popover/anatomy/title.d.ts +3 -3
- 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.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 +3 -3
- package/dist/components/slider/anatomy/control.js +1 -1
- package/dist/components/slider/anatomy/control.js.map +1 -1
- package/dist/components/slider/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/slider/anatomy/hidden-input.js +1 -1
- package/dist/components/slider/anatomy/hidden-input.js.map +1 -1
- package/dist/components/slider/anatomy/label.d.ts +3 -3
- package/dist/components/slider/anatomy/label.js +1 -1
- package/dist/components/slider/anatomy/label.js.map +1 -1
- package/dist/components/slider/anatomy/marker-group.d.ts +3 -3
- package/dist/components/slider/anatomy/marker-group.js +1 -1
- package/dist/components/slider/anatomy/marker-group.js.map +1 -1
- package/dist/components/slider/anatomy/marker.d.ts +3 -3
- package/dist/components/slider/anatomy/marker.js +1 -1
- package/dist/components/slider/anatomy/marker.js.map +1 -1
- package/dist/components/slider/anatomy/range.d.ts +3 -3
- package/dist/components/slider/anatomy/range.js +1 -1
- package/dist/components/slider/anatomy/range.js.map +1 -1
- package/dist/components/slider/anatomy/root-provider.d.ts +2 -2
- package/dist/components/slider/anatomy/root-provider.js +1 -1
- package/dist/components/slider/anatomy/root-provider.js.map +1 -1
- package/dist/components/slider/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/root.js +1 -1
- package/dist/components/slider/anatomy/root.js.map +1 -1
- package/dist/components/slider/anatomy/thumb.d.ts +2 -2
- package/dist/components/slider/anatomy/thumb.js +1 -1
- package/dist/components/slider/anatomy/thumb.js.map +1 -1
- package/dist/components/slider/anatomy/track.d.ts +3 -3
- package/dist/components/slider/anatomy/track.js +1 -1
- package/dist/components/slider/anatomy/track.js.map +1 -1
- package/dist/components/slider/anatomy/value-text.d.ts +3 -3
- package/dist/components/slider/anatomy/value-text.js +1 -1
- package/dist/components/slider/anatomy/value-text.js.map +1 -1
- package/dist/components/switch/anatomy/control.d.ts +3 -3
- 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.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.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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.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.d.ts.map +1 -1
- 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/internal/components/check.js +2 -2
- package/dist/internal/components/check.js.map +1 -1
- package/dist/internal/components/x.js +2 -2
- package/dist/internal/components/x.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 react317 from "react";
|
|
4
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/input.d.ts
|
|
7
7
|
interface TagsInputInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function Input(props: TagsInputInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Input(props: TagsInputInputProps): string | number | bigint | boolean | Iterable<react317.ReactNode> | Promise<string | number | bigint | boolean | react317.ReactPortal | react317.ReactElement<unknown, string | react317.JSXElementConstructor<any>> | Iterable<react317.ReactNode> | null | undefined> | react_jsx_runtime90.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Input, TagsInputInputProps };
|
|
11
11
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,2BAA2B;iBAEhD,KAAA,QAAa,2DAAmB,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":"input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,2BAA2B;iBAEhD,KAAA,QAAa,2DAAmB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
8
8
|
function Input(props) {
|
|
9
9
|
const tagsInput = use(TagsInputRootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
|
-
const attributes = mergeProps(tagsInput.getInputProps(),
|
|
11
|
+
const attributes = mergeProps(tagsInput.getInputProps(), { className: classesTagsInput.input }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.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 TagsInputInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function Input(props: TagsInputInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(
|
|
1
|
+
{"version":3,"file":"input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.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 TagsInputInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function Input(props: TagsInputInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getInputProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.input,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA4B;CACzD,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,UAAU,eAAe,EACzB,EACC,WAAW,iBAAiB,OAC5B,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 react327 from "react";
|
|
4
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item-delete-trigger.d.ts
|
|
7
7
|
interface TagsInputItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps): string | number | bigint | boolean | Iterable<react327.ReactNode> | Promise<string | number | bigint | boolean | react327.ReactPortal | react327.ReactElement<unknown, string | react327.JSXElementConstructor<any>> | Iterable<react327.ReactNode> | null | undefined> | react_jsx_runtime93.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemDeleteTrigger, TagsInputItemDeleteTriggerProps };
|
|
11
11
|
//# sourceMappingURL=item-delete-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-delete-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,+BAAA,SAAwC,4BAA4B;iBAE7D,iBAAA,QAAyB,uEAA+B,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":"item-delete-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,+BAAA,SAAwC,4BAA4B;iBAE7D,iBAAA,QAAyB,uEAA+B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -10,7 +10,7 @@ function ItemDeleteTrigger(props) {
|
|
|
10
10
|
const tagsInput = use(TagsInputRootContext);
|
|
11
11
|
const itemProps = use(TagsInputItemContext);
|
|
12
12
|
const { element, children = /* @__PURE__ */ jsx(Fragment$1, { children: "×" }),...rest } = props;
|
|
13
|
-
const attributes = mergeProps(tagsInput.getItemDeleteTriggerProps(itemProps),
|
|
13
|
+
const attributes = mergeProps(tagsInput.getItemDeleteTriggerProps(itemProps), { className: classesTagsInput.itemDeleteTrigger }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
15
15
|
...attributes,
|
|
16
16
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-delete-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.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 TagsInputItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps) {\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-delete-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.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 TagsInputItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps) {\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.getItemDeleteTriggerProps(itemProps),\n\t\t{\n\t\t\tclassName: classesTagsInput.itemDeleteTrigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,kBAAkB,OAAwC;CACjF,MAAM,YAAY,IAAI,qBAAqB;CAC3C,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,WAAW,4CAAE,MAAU,CAAE,GAAG,SAAS;CAEtD,MAAM,aAAa,WAClB,UAAU,0BAA0B,UAAU,EAC9C,EACC,WAAW,iBAAiB,mBAC5B,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 react322 from "react";
|
|
4
|
+
import * as react_jsx_runtime92 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<react322.ReactNode> | Promise<string | number | bigint | boolean | react322.ReactPortal | react322.ReactElement<unknown, string | react322.JSXElementConstructor<any>> | Iterable<react322.ReactNode> | null | undefined> | react_jsx_runtime92.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemInput, TagsInputItemInputProps };
|
|
11
11
|
//# sourceMappingURL=item-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,uBAAA,SAAgC,2BAA2B;iBAEpD,SAAA,QAAiB,+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":"item-input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,uBAAA,SAAgC,2BAA2B;iBAEpD,SAAA,QAAiB,+DAAuB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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 react332 from "react";
|
|
4
|
+
import * as react_jsx_runtime94 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<react332.ReactNode> | Promise<string | number | bigint | boolean | react332.ReactPortal | react332.ReactElement<unknown, string | react332.JSXElementConstructor<any>> | Iterable<react332.ReactNode> | null | undefined> | react_jsx_runtime94.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemPreview, TagsInputItemPreviewProps };
|
|
11
11
|
//# sourceMappingURL=item-preview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-preview.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-preview.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,yBAAA,SAAkC,yBAAyB;iBAEpD,WAAA,QAAmB,iEAAyB,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":"item-preview.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-preview.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,yBAAA,SAAkC,yBAAyB;iBAEpD,WAAA,QAAmB,iEAAyB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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 react337 from "react";
|
|
4
|
+
import * as react_jsx_runtime95 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<react337.ReactNode> | Promise<string | number | bigint | boolean | react337.ReactPortal | react337.ReactElement<unknown, string | react337.JSXElementConstructor<any>> | Iterable<react337.ReactNode> | null | undefined> | react_jsx_runtime95.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ItemText, TagsInputItemTextProps };
|
|
11
11
|
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-text.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-text.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,sBAAA,SAA+B,0BAA0B;iBAElD,QAAA,QAAgB,8DAAsB,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":"item-text.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-text.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,sBAAA,SAA+B,0BAA0B;iBAElD,QAAA,QAAgB,8DAAsB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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_runtime91 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_runtime91.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, TagsInputItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,kBAAA,SAA2B,WAAW,0BAA0B;iBAEzD,IAAA,QAAY,qBAAkB,
|
|
1
|
+
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,kBAAA,SAA2B,WAAW,0BAA0B;iBAEzD,IAAA,QAAY,qBAAkB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -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 react342 from "react";
|
|
4
|
+
import * as react_jsx_runtime96 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<react342.ReactNode> | Promise<string | number | bigint | boolean | react342.ReactPortal | react342.ReactElement<unknown, string | react342.JSXElementConstructor<any>> | Iterable<react342.ReactNode> | null | undefined> | react_jsx_runtime96.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, TagsInputLabelProps };
|
|
11
11
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,2BAA2B;iBAEhD,KAAA,QAAa,2DAAmB,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":"label.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,2BAA2B;iBAEhD,KAAA,QAAa,2DAAmB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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_runtime98 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_runtime98.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TagsInputRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,yBAAyB;SACrE,kBAAkB;;AADT,iBAIO,YAAA,CAJoB,KAAA,EAIA,0BAJA,CAAA,EAI0B,
|
|
1
|
+
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,yBAAyB;SACrE,kBAAkB;;AADT,iBAIO,YAAA,CAJoB,KAAA,EAIA,0BAJA,CAAA,EAI0B,mBAAA,CAAA,GAAA,CAAA,OAJ1B"}
|
|
@@ -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_runtime97 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_runtime97.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TagsInputRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,kBAAA,SACR,KAAK,cACZ,yBACA;iBAEsB,IAAA,QAAY,qBAAkB,
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,kBAAA,SACR,KAAK,cACZ,yBACA;iBAEsB,IAAA,QAAY,qBAAkB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -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"}
|
|
@@ -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 react347 from "react";
|
|
4
|
+
import * as react_jsx_runtime99 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<react347.ReactNode> | Promise<string | number | bigint | boolean | react347.ReactPortal | react347.ReactElement<unknown, string | react347.JSXElementConstructor<any>> | Iterable<react347.ReactNode> | null | undefined> | react_jsx_runtime99.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CloseTrigger, ToastCloseTriggerProps };
|
|
11
11
|
//# sourceMappingURL=close-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-trigger.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/close-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,sBAAA,SAA+B,4BAA4B;iBAEpD,YAAA,QAAoB,8DAAsB,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":"close-trigger.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/close-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAQiB,sBAAA,SAA+B,4BAA4B;iBAEpD,YAAA,QAAoB,8DAAsB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -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 react352 from "react";
|
|
4
|
+
import * as react_jsx_runtime100 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<react352.ReactNode> | Promise<string | number | bigint | boolean | react352.ReactPortal | react352.ReactElement<unknown, string | react352.JSXElementConstructor<any>> | Iterable<react352.ReactNode> | null | undefined> | react_jsx_runtime100.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_runtime101 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_runtime101.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 react357 from "react";
|
|
4
|
+
import * as react_jsx_runtime102 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<react357.ReactNode> | Promise<string | number | bigint | boolean | react357.ReactPortal | react357.ReactElement<unknown, string | react357.JSXElementConstructor<any>> | Iterable<react357.ReactNode> | null | undefined> | react_jsx_runtime102.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
|