@skeletonlabs/skeleton-react 2.0.0-next.12 → 2.0.0-next.14
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 +2 -3
- package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-content.js +4 -4
- package/dist/components/accordion/anatomy/item-content.js.map +1 -1
- package/dist/components/accordion/anatomy/item-heading.d.ts +2 -4
- package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -3
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.js +4 -4
- package/dist/components/accordion/anatomy/item-indicator.js.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -3
- package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.js +4 -4
- 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 +4 -4
- package/dist/components/accordion/anatomy/item.js.map +1 -1
- package/dist/components/accordion/anatomy/root-context.d.ts +1 -1
- package/dist/components/accordion/anatomy/root-context.js +4 -4
- package/dist/components/accordion/anatomy/root-context.js.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.d.ts +3 -3
- package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/accordion/anatomy/root.js.map +1 -1
- package/dist/components/accordion/modules/item-context.js +2 -2
- package/dist/components/accordion/modules/item-context.js.map +1 -1
- package/dist/components/accordion/modules/{use-accordion.d.ts → provider.d.ts} +2 -2
- package/dist/components/accordion/modules/provider.d.ts.map +1 -0
- package/dist/components/accordion/modules/{use-accordion.js → provider.js} +2 -2
- package/dist/components/accordion/modules/provider.js.map +1 -0
- package/dist/components/accordion/modules/root-context.js +2 -2
- package/dist/components/accordion/modules/root-context.js.map +1 -1
- package/dist/components/app-bar/anatomy/headline.d.ts +2 -3
- package/dist/components/app-bar/anatomy/headline.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/lead.d.ts +2 -3
- package/dist/components/app-bar/anatomy/lead.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/root.d.ts +2 -3
- package/dist/components/app-bar/anatomy/root.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -3
- package/dist/components/app-bar/anatomy/toolbar.d.ts.map +1 -1
- package/dist/components/app-bar/anatomy/trail.d.ts +2 -3
- package/dist/components/app-bar/anatomy/trail.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/fallback.d.ts +2 -3
- package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/fallback.js +2 -2
- package/dist/components/avatar/anatomy/fallback.js.map +1 -1
- package/dist/components/avatar/anatomy/image.d.ts +2 -3
- package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/image.js +2 -2
- package/dist/components/avatar/anatomy/image.js.map +1 -1
- package/dist/components/avatar/anatomy/root-context.d.ts +3 -3
- package/dist/components/avatar/anatomy/root-context.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root-context.js +4 -4
- package/dist/components/avatar/anatomy/root-context.js.map +1 -1
- package/dist/components/avatar/anatomy/root-provider.d.ts +3 -3
- package/dist/components/avatar/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/avatar/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/avatar/anatomy/root.js.map +1 -1
- package/dist/components/avatar/modules/anatomy.d.ts +2 -2
- package/dist/components/avatar/modules/anatomy.d.ts.map +1 -1
- package/dist/components/avatar/modules/anatomy.js +2 -2
- package/dist/components/avatar/modules/anatomy.js.map +1 -1
- package/dist/components/avatar/modules/{use-avatar.d.ts → provider.d.ts} +2 -2
- package/dist/components/avatar/modules/provider.d.ts.map +1 -0
- package/dist/components/avatar/modules/{use-avatar.js → provider.js} +2 -2
- package/dist/components/avatar/modules/provider.js.map +1 -0
- package/dist/components/avatar/modules/root-context.js +2 -2
- package/dist/components/avatar/modules/root-context.js.map +1 -1
- package/dist/components/combobox/anatomy/content.d.ts +2 -3
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/content.js +2 -2
- package/dist/components/combobox/anatomy/content.js.map +1 -1
- package/dist/components/combobox/anatomy/control.d.ts +2 -3
- package/dist/components/combobox/anatomy/control.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/control.js +2 -2
- package/dist/components/combobox/anatomy/control.js.map +1 -1
- package/dist/components/combobox/anatomy/input.d.ts +2 -3
- package/dist/components/combobox/anatomy/input.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/input.js +2 -2
- package/dist/components/combobox/anatomy/input.js.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -3
- package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.js +4 -4
- 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.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group.js +4 -4
- package/dist/components/combobox/anatomy/item-group.js.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.d.ts +2 -3
- package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-indicator.js +4 -4
- package/dist/components/combobox/anatomy/item-indicator.js.map +1 -1
- package/dist/components/combobox/anatomy/item-text.d.ts +2 -3
- package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-text.js +4 -4
- 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.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item.js +4 -4
- package/dist/components/combobox/anatomy/item.js.map +1 -1
- package/dist/components/combobox/anatomy/label.d.ts +2 -3
- package/dist/components/combobox/anatomy/label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/label.js +2 -2
- package/dist/components/combobox/anatomy/label.js.map +1 -1
- package/dist/components/combobox/anatomy/positioner.d.ts +2 -3
- package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/positioner.js +2 -2
- package/dist/components/combobox/anatomy/positioner.js.map +1 -1
- package/dist/components/combobox/anatomy/root-context.d.ts +1 -1
- package/dist/components/combobox/anatomy/root-context.js +4 -4
- package/dist/components/combobox/anatomy/root-context.js.map +1 -1
- package/dist/components/combobox/anatomy/root-provider.d.ts +3 -3
- package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/root-provider.js +2 -2
- 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.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/root.js +3 -3
- package/dist/components/combobox/anatomy/root.js.map +1 -1
- package/dist/components/combobox/anatomy/trigger.d.ts +2 -3
- package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/trigger.js +2 -2
- package/dist/components/combobox/anatomy/trigger.js.map +1 -1
- package/dist/components/combobox/modules/item-context.js +2 -2
- package/dist/components/combobox/modules/item-context.js.map +1 -1
- package/dist/components/combobox/modules/item-group-context.js +2 -2
- package/dist/components/combobox/modules/item-group-context.js.map +1 -1
- package/dist/components/combobox/modules/{use-combobox.d.ts → provider.d.ts} +2 -2
- package/dist/components/combobox/modules/provider.d.ts.map +1 -0
- package/dist/components/combobox/modules/{use-combobox.js → provider.js} +2 -2
- package/dist/components/combobox/modules/provider.js.map +1 -0
- package/dist/components/combobox/modules/root-context.js +2 -2
- package/dist/components/combobox/modules/root-context.js.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.d.ts +2 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/backdrop.js +2 -2
- package/dist/components/dialog/anatomy/backdrop.js.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -3
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.js +2 -2
- package/dist/components/dialog/anatomy/close-trigger.js.map +1 -1
- package/dist/components/dialog/anatomy/content.d.ts +2 -3
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/content.js +2 -2
- package/dist/components/dialog/anatomy/content.js.map +1 -1
- package/dist/components/dialog/anatomy/description.d.ts +2 -3
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/description.js +2 -2
- package/dist/components/dialog/anatomy/description.js.map +1 -1
- package/dist/components/dialog/anatomy/positioner.d.ts +2 -3
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/positioner.js +2 -2
- package/dist/components/dialog/anatomy/positioner.js.map +1 -1
- package/dist/components/dialog/anatomy/root-context.d.ts +1 -1
- package/dist/components/dialog/anatomy/root-context.js +4 -4
- package/dist/components/dialog/anatomy/root-context.js.map +1 -1
- package/dist/components/dialog/anatomy/root-provider.d.ts +3 -3
- package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/root-provider.js +2 -2
- package/dist/components/dialog/anatomy/root-provider.js.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/root.js +3 -3
- package/dist/components/dialog/anatomy/root.js.map +1 -1
- package/dist/components/dialog/anatomy/title.d.ts +2 -3
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/title.js +2 -2
- package/dist/components/dialog/anatomy/title.js.map +1 -1
- package/dist/components/dialog/anatomy/trigger.d.ts +2 -3
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/trigger.js +2 -2
- package/dist/components/dialog/anatomy/trigger.js.map +1 -1
- package/dist/components/dialog/modules/{use-dialog.d.ts → provider.d.ts} +2 -2
- package/dist/components/dialog/modules/provider.d.ts.map +1 -0
- package/dist/components/dialog/modules/{use-dialog.js → provider.js} +2 -2
- package/dist/components/dialog/modules/provider.js.map +1 -0
- package/dist/components/dialog/modules/root-context.js +2 -2
- package/dist/components/dialog/modules/root-context.js.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.js +2 -2
- package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.js +2 -2
- package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -3
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.js +6 -6
- package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.d.ts +2 -3
- package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.js +2 -2
- package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.d.ts +2 -3
- package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.js +4 -4
- package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -3
- package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.js +4 -4
- 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 +4 -4
- package/dist/components/file-upload/anatomy/item.js.map +1 -1
- package/dist/components/file-upload/anatomy/root-context.d.ts +1 -1
- package/dist/components/file-upload/anatomy/root-context.js +4 -4
- package/dist/components/file-upload/anatomy/root-context.js.map +1 -1
- package/dist/components/file-upload/anatomy/root-provider.d.ts +3 -3
- package/dist/components/file-upload/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/file-upload/anatomy/root.js.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.d.ts +2 -3
- package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.js +2 -2
- package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
- package/dist/components/file-upload/modules/item-context.js +2 -2
- package/dist/components/file-upload/modules/item-context.js.map +1 -1
- package/dist/components/file-upload/modules/{use-file-upload.d.ts → provider.d.ts} +2 -2
- package/dist/components/file-upload/modules/provider.d.ts.map +1 -0
- package/dist/components/file-upload/modules/{use-file-upload.js → provider.js} +2 -2
- package/dist/components/file-upload/modules/provider.js.map +1 -0
- package/dist/components/file-upload/modules/root-context.js +2 -2
- package/dist/components/file-upload/modules/root-context.js.map +1 -1
- package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -3
- package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow-tip.js +2 -2
- package/dist/components/popover/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/popover/anatomy/arrow.d.ts +2 -3
- package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow.js +2 -2
- package/dist/components/popover/anatomy/arrow.js.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.d.ts +2 -3
- package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.js +2 -2
- package/dist/components/popover/anatomy/close-trigger.js.map +1 -1
- package/dist/components/popover/anatomy/content.d.ts +2 -3
- package/dist/components/popover/anatomy/content.d.ts.map +1 -1
- package/dist/components/popover/anatomy/content.js +2 -2
- package/dist/components/popover/anatomy/content.js.map +1 -1
- package/dist/components/popover/anatomy/description.d.ts +2 -3
- package/dist/components/popover/anatomy/description.d.ts.map +1 -1
- package/dist/components/popover/anatomy/description.js +2 -2
- 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 +6 -7
- package/dist/components/popover/anatomy/positioner.js.map +1 -1
- package/dist/components/popover/anatomy/root-context.d.ts +1 -1
- package/dist/components/popover/anatomy/root-context.js +4 -4
- package/dist/components/popover/anatomy/root-context.js.map +1 -1
- package/dist/components/popover/anatomy/root-provider.d.ts +3 -3
- package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/popover/anatomy/root-provider.js +2 -2
- package/dist/components/popover/anatomy/root-provider.js.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/root.js +3 -3
- package/dist/components/popover/anatomy/root.js.map +1 -1
- package/dist/components/popover/anatomy/title.d.ts +2 -3
- package/dist/components/popover/anatomy/title.d.ts.map +1 -1
- package/dist/components/popover/anatomy/title.js +2 -2
- package/dist/components/popover/anatomy/title.js.map +1 -1
- package/dist/components/popover/anatomy/trigger.d.ts +2 -3
- package/dist/components/popover/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/popover/anatomy/trigger.js +2 -2
- package/dist/components/popover/anatomy/trigger.js.map +1 -1
- package/dist/components/popover/modules/{use-popover.d.ts → provider.d.ts} +2 -2
- package/dist/components/popover/modules/provider.d.ts.map +1 -0
- package/dist/components/popover/modules/{use-popover.js → provider.js} +2 -2
- package/dist/components/popover/modules/provider.js.map +1 -0
- package/dist/components/popover/modules/root-context.js +2 -2
- package/dist/components/popover/modules/root-context.js.map +1 -1
- package/dist/components/portal/anatomy/root.d.ts +22 -0
- package/dist/components/portal/anatomy/root.d.ts.map +1 -0
- package/dist/components/portal/anatomy/root.js +14 -0
- package/dist/components/portal/anatomy/root.js.map +1 -0
- package/dist/components/portal/modules/anatomy.d.ts +7 -0
- package/dist/components/portal/modules/anatomy.d.ts.map +1 -0
- package/dist/components/portal/modules/anatomy.js +8 -0
- package/dist/components/portal/modules/anatomy.js.map +1 -0
- package/dist/components/progress-linear/anatomy/label.d.ts +2 -3
- package/dist/components/progress-linear/anatomy/label.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/label.js +2 -2
- package/dist/components/progress-linear/anatomy/label.js.map +1 -1
- package/dist/components/progress-linear/anatomy/range.d.ts +2 -3
- package/dist/components/progress-linear/anatomy/range.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/range.js +2 -2
- package/dist/components/progress-linear/anatomy/range.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root-context.d.ts +1 -1
- package/dist/components/progress-linear/anatomy/root-context.js +4 -4
- package/dist/components/progress-linear/anatomy/root-context.js.map +1 -1
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/progress-linear/anatomy/root.js.map +1 -1
- package/dist/components/progress-linear/anatomy/track.d.ts +2 -3
- package/dist/components/progress-linear/anatomy/track.d.ts.map +1 -1
- package/dist/components/progress-linear/anatomy/track.js +2 -2
- package/dist/components/progress-linear/anatomy/track.js.map +1 -1
- package/dist/components/progress-linear/modules/{use-progress-linear.d.ts → provider.d.ts} +2 -2
- package/dist/components/progress-linear/modules/provider.d.ts.map +1 -0
- package/dist/components/progress-linear/modules/{use-progress-linear.js → provider.js} +2 -2
- package/dist/components/progress-linear/modules/provider.js.map +1 -0
- package/dist/components/progress-linear/modules/root-context.js +2 -2
- package/dist/components/progress-linear/modules/root-context.js.map +1 -1
- package/dist/components/rating-group/anatomy/control.d.ts +2 -3
- package/dist/components/rating-group/anatomy/control.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/control.js +2 -2
- package/dist/components/rating-group/anatomy/control.js.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/rating-group/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/hidden-input.js +2 -2
- package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
- package/dist/components/rating-group/anatomy/item.d.ts +2 -3
- package/dist/components/rating-group/anatomy/item.d.ts.map +1 -1
- 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 +2 -3
- package/dist/components/rating-group/anatomy/label.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/label.js +2 -2
- package/dist/components/rating-group/anatomy/label.js.map +1 -1
- package/dist/components/rating-group/anatomy/root-context.d.ts +1 -1
- package/dist/components/rating-group/anatomy/root-context.js +4 -4
- package/dist/components/rating-group/anatomy/root-context.js.map +1 -1
- package/dist/components/rating-group/anatomy/root-provider.d.ts +3 -3
- package/dist/components/rating-group/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/rating-group/anatomy/root.js.map +1 -1
- package/dist/components/rating-group/modules/{use-rating-group.d.ts → provider.d.ts} +2 -2
- package/dist/components/rating-group/modules/provider.d.ts.map +1 -0
- package/dist/components/rating-group/modules/{use-rating-group.js → provider.js} +2 -2
- package/dist/components/rating-group/modules/provider.js.map +1 -0
- package/dist/components/rating-group/modules/root-context.js +2 -2
- package/dist/components/rating-group/modules/root-context.js.map +1 -1
- package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -3
- package/dist/components/segmented-control/anatomy/indicator.d.ts.map +1 -1
- package/dist/components/segmented-control/anatomy/indicator.js +2 -2
- package/dist/components/segmented-control/anatomy/indicator.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -3
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts.map +1 -1
- package/dist/components/segmented-control/anatomy/item-hidden-input.js +4 -4
- package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -1
- package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -3
- package/dist/components/segmented-control/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/segmented-control/anatomy/item-text.js +4 -4
- 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 +4 -4
- package/dist/components/segmented-control/anatomy/item.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root-context.d.ts +1 -1
- package/dist/components/segmented-control/anatomy/root-context.js +4 -4
- package/dist/components/segmented-control/anatomy/root-context.js.map +1 -1
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/segmented-control/anatomy/root.js.map +1 -1
- package/dist/components/segmented-control/modules/item-context.js +2 -2
- package/dist/components/segmented-control/modules/item-context.js.map +1 -1
- package/dist/components/segmented-control/modules/{use-segmented-control.d.ts → provider.d.ts} +2 -2
- package/dist/components/segmented-control/modules/provider.d.ts.map +1 -0
- package/dist/components/segmented-control/modules/{use-segmented-control.js → provider.js} +2 -2
- package/dist/components/segmented-control/modules/provider.js.map +1 -0
- package/dist/components/segmented-control/modules/root-context.js +2 -2
- package/dist/components/segmented-control/modules/root-context.js.map +1 -1
- package/dist/components/slider/anatomy/control.d.ts +2 -3
- package/dist/components/slider/anatomy/control.d.ts.map +1 -1
- package/dist/components/slider/anatomy/control.js +2 -2
- package/dist/components/slider/anatomy/control.js.map +1 -1
- package/dist/components/slider/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/slider/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/slider/anatomy/hidden-input.js +4 -4
- package/dist/components/slider/anatomy/hidden-input.js.map +1 -1
- package/dist/components/slider/anatomy/label.d.ts +2 -3
- package/dist/components/slider/anatomy/label.d.ts.map +1 -1
- package/dist/components/slider/anatomy/label.js +2 -2
- package/dist/components/slider/anatomy/label.js.map +1 -1
- package/dist/components/slider/anatomy/marker-group.d.ts +2 -3
- package/dist/components/slider/anatomy/marker-group.d.ts.map +1 -1
- package/dist/components/slider/anatomy/marker-group.js +2 -2
- package/dist/components/slider/anatomy/marker-group.js.map +1 -1
- package/dist/components/slider/anatomy/marker.d.ts +2 -3
- package/dist/components/slider/anatomy/marker.d.ts.map +1 -1
- package/dist/components/slider/anatomy/marker.js +2 -2
- package/dist/components/slider/anatomy/marker.js.map +1 -1
- package/dist/components/slider/anatomy/range.d.ts +2 -3
- package/dist/components/slider/anatomy/range.d.ts.map +1 -1
- package/dist/components/slider/anatomy/range.js +2 -2
- package/dist/components/slider/anatomy/range.js.map +1 -1
- package/dist/components/slider/anatomy/root-context.d.ts +3 -3
- package/dist/components/slider/anatomy/root-context.d.ts.map +1 -1
- package/dist/components/slider/anatomy/root-context.js +4 -4
- package/dist/components/slider/anatomy/root-context.js.map +1 -1
- package/dist/components/slider/anatomy/root-provider.d.ts +3 -3
- package/dist/components/slider/anatomy/root-provider.js +2 -2
- 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 +3 -3
- 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 +4 -4
- package/dist/components/slider/anatomy/thumb.js.map +1 -1
- package/dist/components/slider/anatomy/track.d.ts +2 -3
- package/dist/components/slider/anatomy/track.d.ts.map +1 -1
- package/dist/components/slider/anatomy/track.js +2 -2
- package/dist/components/slider/anatomy/track.js.map +1 -1
- package/dist/components/slider/anatomy/value-text.d.ts +2 -3
- package/dist/components/slider/anatomy/value-text.d.ts.map +1 -1
- package/dist/components/slider/anatomy/value-text.js +2 -2
- package/dist/components/slider/anatomy/value-text.js.map +1 -1
- package/dist/components/slider/modules/anatomy.d.ts +2 -2
- package/dist/components/slider/modules/anatomy.d.ts.map +1 -1
- package/dist/components/slider/modules/anatomy.js +2 -2
- package/dist/components/slider/modules/anatomy.js.map +1 -1
- package/dist/components/slider/modules/{use-slider.d.ts → provider.d.ts} +2 -2
- package/dist/components/slider/modules/provider.d.ts.map +1 -0
- package/dist/components/slider/modules/{use-slider.js → provider.js} +2 -2
- package/dist/components/slider/modules/provider.js.map +1 -0
- package/dist/components/slider/modules/root-context.js +2 -2
- package/dist/components/slider/modules/root-context.js.map +1 -1
- package/dist/components/slider/modules/thumb-context.js +2 -2
- package/dist/components/slider/modules/thumb-context.js.map +1 -1
- package/dist/components/switch/anatomy/control.d.ts +2 -3
- package/dist/components/switch/anatomy/control.d.ts.map +1 -1
- package/dist/components/switch/anatomy/control.js +2 -2
- package/dist/components/switch/anatomy/control.js.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/switch/anatomy/hidden-input.js +2 -2
- package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
- package/dist/components/switch/anatomy/label.d.ts +2 -3
- package/dist/components/switch/anatomy/label.d.ts.map +1 -1
- package/dist/components/switch/anatomy/label.js +2 -2
- package/dist/components/switch/anatomy/label.js.map +1 -1
- package/dist/components/switch/anatomy/root-context.d.ts +1 -1
- package/dist/components/switch/anatomy/root-context.js +4 -4
- package/dist/components/switch/anatomy/root-context.js.map +1 -1
- package/dist/components/switch/anatomy/root-provider.d.ts +3 -3
- package/dist/components/switch/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/switch/anatomy/root.js.map +1 -1
- package/dist/components/switch/anatomy/thumb.d.ts +2 -3
- package/dist/components/switch/anatomy/thumb.d.ts.map +1 -1
- package/dist/components/switch/anatomy/thumb.js +2 -2
- package/dist/components/switch/anatomy/thumb.js.map +1 -1
- package/dist/components/switch/modules/{use-switch.d.ts → provider.d.ts} +2 -2
- package/dist/components/switch/modules/provider.d.ts.map +1 -0
- package/dist/components/switch/modules/{use-switch.js → provider.js} +2 -2
- package/dist/components/switch/modules/provider.js.map +1 -0
- package/dist/components/switch/modules/root-context.js +2 -2
- package/dist/components/switch/modules/root-context.js.map +1 -1
- package/dist/components/tabs/anatomy/content.d.ts +2 -3
- package/dist/components/tabs/anatomy/content.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/content.js +2 -2
- package/dist/components/tabs/anatomy/content.js.map +1 -1
- package/dist/components/tabs/anatomy/indicator.d.ts +2 -3
- package/dist/components/tabs/anatomy/indicator.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/indicator.js +2 -2
- package/dist/components/tabs/anatomy/indicator.js.map +1 -1
- package/dist/components/tabs/anatomy/list.d.ts +2 -3
- package/dist/components/tabs/anatomy/list.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/list.js +2 -2
- package/dist/components/tabs/anatomy/list.js.map +1 -1
- package/dist/components/tabs/anatomy/root-context.d.ts +1 -1
- package/dist/components/tabs/anatomy/root-context.js +4 -4
- package/dist/components/tabs/anatomy/root-context.js.map +1 -1
- package/dist/components/tabs/anatomy/root-provider.d.ts +3 -3
- package/dist/components/tabs/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/tabs/anatomy/root.js.map +1 -1
- package/dist/components/tabs/anatomy/trigger.d.ts +2 -3
- package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tabs/anatomy/trigger.js +2 -2
- package/dist/components/tabs/anatomy/trigger.js.map +1 -1
- package/dist/components/tabs/modules/{use-tabs.d.ts → provider.d.ts} +2 -2
- package/dist/components/tabs/modules/provider.d.ts.map +1 -0
- package/dist/components/tabs/modules/{use-tabs.js → provider.js} +2 -2
- package/dist/components/tabs/modules/{use-tabs.js.map → provider.js.map} +1 -1
- package/dist/components/tabs/modules/root-context.js +2 -2
- package/dist/components/tabs/modules/root-context.js.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -3
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.js +2 -2
- package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/control.d.ts +2 -3
- package/dist/components/tags-input/anatomy/control.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/control.js +2 -2
- package/dist/components/tags-input/anatomy/control.js.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -3
- package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.js +2 -2
- package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/input.d.ts +2 -3
- package/dist/components/tags-input/anatomy/input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/input.js +2 -2
- package/dist/components/tags-input/anatomy/input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -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 +6 -6
- package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.d.ts +2 -3
- package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.js +4 -4
- package/dist/components/tags-input/anatomy/item-input.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -3
- package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.js +4 -4
- package/dist/components/tags-input/anatomy/item-preview.js.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.d.ts +2 -3
- package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.js +4 -4
- 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 +4 -4
- package/dist/components/tags-input/anatomy/item.js.map +1 -1
- package/dist/components/tags-input/anatomy/label.d.ts +2 -3
- package/dist/components/tags-input/anatomy/label.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/label.js +2 -2
- package/dist/components/tags-input/anatomy/label.js.map +1 -1
- package/dist/components/tags-input/anatomy/root-context.d.ts +1 -1
- package/dist/components/tags-input/anatomy/root-context.js +4 -4
- package/dist/components/tags-input/anatomy/root-context.js.map +1 -1
- package/dist/components/tags-input/anatomy/root-provider.d.ts +3 -3
- package/dist/components/tags-input/anatomy/root-provider.js +2 -2
- 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 +3 -3
- package/dist/components/tags-input/anatomy/root.js.map +1 -1
- package/dist/components/tags-input/modules/item-context.js +2 -2
- package/dist/components/tags-input/modules/item-context.js.map +1 -1
- package/dist/components/tags-input/modules/{use-tags-input.d.ts → provider.d.ts} +2 -2
- package/dist/components/tags-input/modules/provider.d.ts.map +1 -0
- package/dist/components/tags-input/modules/{use-tags-input.js → provider.js} +2 -2
- package/dist/components/tags-input/modules/provider.js.map +1 -0
- package/dist/components/tags-input/modules/root-context.js +2 -2
- package/dist/components/tags-input/modules/root-context.js.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.js +2 -2
- package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.d.ts +2 -3
- package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.js +2 -2
- package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
- package/dist/components/toast/anatomy/description.d.ts +2 -3
- package/dist/components/toast/anatomy/description.d.ts.map +1 -1
- package/dist/components/toast/anatomy/description.js +2 -2
- 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 +2 -2
- package/dist/components/toast/anatomy/group.js.map +1 -1
- package/dist/components/toast/anatomy/message.d.ts +2 -3
- package/dist/components/toast/anatomy/message.d.ts.map +1 -1
- package/dist/components/toast/anatomy/root-context.js +4 -4
- package/dist/components/toast/anatomy/root-context.js.map +1 -1
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.js +5 -5
- package/dist/components/toast/anatomy/root.js.map +1 -1
- package/dist/components/toast/anatomy/title.d.ts +2 -3
- package/dist/components/toast/anatomy/title.d.ts.map +1 -1
- package/dist/components/toast/anatomy/title.js +2 -2
- package/dist/components/toast/anatomy/title.js.map +1 -1
- package/dist/components/toast/modules/group-context.js +2 -2
- package/dist/components/toast/modules/group-context.js.map +1 -1
- package/dist/components/toast/modules/root-context.js +2 -2
- package/dist/components/toast/modules/root-context.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -3
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.js +2 -2
- package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.d.ts +2 -3
- package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.js +2 -2
- package/dist/components/tooltip/anatomy/arrow.js.map +1 -1
- package/dist/components/tooltip/anatomy/content.d.ts +2 -3
- package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/content.js +2 -2
- 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 +2 -2
- package/dist/components/tooltip/anatomy/positioner.js.map +1 -1
- package/dist/components/tooltip/anatomy/root-context.d.ts +1 -1
- package/dist/components/tooltip/anatomy/root-context.js +4 -4
- package/dist/components/tooltip/anatomy/root-context.js.map +1 -1
- package/dist/components/tooltip/anatomy/root-provider.d.ts +3 -3
- package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/root-provider.js +2 -2
- package/dist/components/tooltip/anatomy/root-provider.js.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/root.js +3 -3
- package/dist/components/tooltip/anatomy/root.js.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.d.ts +2 -3
- package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.js +2 -2
- package/dist/components/tooltip/anatomy/trigger.js.map +1 -1
- package/dist/components/tooltip/modules/{use-tooltip.d.ts → provider.d.ts} +2 -2
- package/dist/components/tooltip/modules/provider.d.ts.map +1 -0
- package/dist/components/tooltip/modules/{use-tooltip.js → provider.js} +2 -2
- package/dist/components/tooltip/modules/provider.js.map +1 -0
- package/dist/components/tooltip/modules/root-context.js +2 -2
- package/dist/components/tooltip/modules/root-context.js.map +1 -1
- package/dist/index.d.ts +17 -15
- package/dist/index.js +16 -15
- package/dist/internal/props-with-element.d.ts +2 -2
- package/dist/internal/props-with-element.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components/accordion/modules/use-accordion.d.ts.map +0 -1
- package/dist/components/accordion/modules/use-accordion.js.map +0 -1
- package/dist/components/avatar/modules/use-avatar.d.ts.map +0 -1
- package/dist/components/avatar/modules/use-avatar.js.map +0 -1
- package/dist/components/combobox/modules/use-combobox.d.ts.map +0 -1
- package/dist/components/combobox/modules/use-combobox.js.map +0 -1
- package/dist/components/dialog/modules/use-dialog.d.ts.map +0 -1
- package/dist/components/dialog/modules/use-dialog.js.map +0 -1
- package/dist/components/file-upload/modules/use-file-upload.d.ts.map +0 -1
- package/dist/components/file-upload/modules/use-file-upload.js.map +0 -1
- package/dist/components/popover/modules/use-popover.d.ts.map +0 -1
- package/dist/components/popover/modules/use-popover.js.map +0 -1
- package/dist/components/progress-linear/modules/use-progress-linear.d.ts.map +0 -1
- package/dist/components/progress-linear/modules/use-progress-linear.js.map +0 -1
- package/dist/components/rating-group/modules/use-rating-group.d.ts.map +0 -1
- package/dist/components/rating-group/modules/use-rating-group.js.map +0 -1
- package/dist/components/segmented-control/modules/use-segmented-control.d.ts.map +0 -1
- package/dist/components/segmented-control/modules/use-segmented-control.js.map +0 -1
- package/dist/components/slider/modules/use-slider.d.ts.map +0 -1
- package/dist/components/slider/modules/use-slider.js.map +0 -1
- package/dist/components/switch/modules/use-switch.d.ts.map +0 -1
- package/dist/components/switch/modules/use-switch.js.map +0 -1
- package/dist/components/tabs/modules/use-tabs.d.ts.map +0 -1
- package/dist/components/tags-input/modules/use-tags-input.d.ts.map +0 -1
- package/dist/components/tags-input/modules/use-tags-input.js.map +0 -1
- package/dist/components/tooltip/modules/use-tooltip.d.ts.map +0 -1
- package/dist/components/tooltip/modules/use-tooltip.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root-context.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root-context.js","names":["RootContext","RootContext_"],"sources":["../../../../src/components/tabs/anatomy/root-context.tsx"],"sourcesContent":["import type { useTabs } from '../modules/provider';\nimport { RootContext as RootContext_ } from '../modules/root-context';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface TabsRootContextProps {\n\tchildren: (tabs: ReturnType<typeof useTabs>) => ReactNode;\n}\n\nexport default function RootContext(props: TabsRootContextProps) {\n\tconst tabs = use(RootContext_);\n\n\tconst { children } = props;\n\n\treturn children(tabs);\n}\n"],"mappings":";;;;AASA,SAAwBA,cAAY,OAA6B;CAChE,MAAM,OAAO,IAAIC,YAAa;CAE9B,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,KAAK"}
|
|
@@ -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 { useTabs } from "../modules/
|
|
4
|
-
import * as
|
|
3
|
+
import { useTabs } from "../modules/provider.js";
|
|
4
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root-provider.d.ts
|
|
7
7
|
interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useTabs>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TabsRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime28.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TabsRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { mergeProps } from "@zag-js/react";
|
|
3
3
|
import { classesTabs } from "@skeletonlabs/skeleton-common";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -7,7 +7,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
function RootProvider(props) {
|
|
8
8
|
const { element, children, value: tabs,...rest } = props;
|
|
9
9
|
const attributes = mergeProps(tabs.getRootProps(), { className: classesTabs.root }, rest);
|
|
10
|
-
return /* @__PURE__ */ jsx(
|
|
10
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
11
11
|
value: tabs,
|
|
12
12
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
13
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root-provider.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root-provider.tsx"],"sourcesContent":["import type { useTabs } from '../modules/provider';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useTabs>;\n}\n\nexport default function RootProvider(props: TabsRootProviderProps) {\n\tconst { element, children, value: tabs, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTabs.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn <RootContext.Provider value={tabs}>{element ? element(attributes) : <div {...attributes}>{children}</div>}</RootContext.Provider>;\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAA8B;CAClE,MAAM,EAAE,SAAS,UAAU,OAAO,KAAM,GAAG,SAAS;CAEpD,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QAAO,oBAAC,YAAY;EAAS,OAAO;YAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAAwB"}
|
|
@@ -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_runtime27 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/tabs";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root.d.ts
|
|
7
7
|
interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TabsRootProps):
|
|
8
|
+
declare function Root(props: TabsRootProps): react_jsx_runtime27.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TabsRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useTabs } from "../modules/
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useTabs } from "../modules/provider.js";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesTabs } from "@skeletonlabs/skeleton-common";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -11,7 +11,7 @@ function Root(props) {
|
|
|
11
11
|
const { element, children,...rest } = componentProps;
|
|
12
12
|
const tabs = useTabs(tabsProps);
|
|
13
13
|
const attributes = mergeProps(tabs.getRootProps(), { className: classesTabs.root }, rest);
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
14
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
15
15
|
value: tabs,
|
|
16
16
|
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
17
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root.tsx"],"sourcesContent":["import { useTabs } from '../modules/provider';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/tabs';\nimport type { Props } from '@zag-js/tabs';\n\nexport interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: TabsRootProps) {\n\tconst [tabsProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst tabs = useTabs(tabsProps);\n\n\tconst attributes = mergeProps(\n\t\ttabs.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTabs.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn <RootContext.Provider value={tabs}>{element ? element(attributes) : <div {...attributes}>{children}</div>}</RootContext.Provider>;\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,KAAK,OAAsB;CAClD,MAAM,CAAC,WAAW,kBAAkB,WAAW,MAAM;CACrD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,OAAO,QAAQ,UAAU;CAE/B,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QAAO,oBAAC,YAAY;EAAS,OAAO;YAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAAwB"}
|
|
@@ -1,12 +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 react_jsx_runtime70 from "react/jsx-runtime";
|
|
3
|
+
import * as react63 from "react";
|
|
5
4
|
import { TriggerProps } from "@zag-js/tabs";
|
|
6
5
|
|
|
7
6
|
//#region src/components/tabs/anatomy/trigger.d.ts
|
|
8
7
|
interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}
|
|
9
|
-
declare function Trigger(props: TabsTriggerProps):
|
|
8
|
+
declare function Trigger(props: TabsTriggerProps): react63.JSX.Element;
|
|
10
9
|
//#endregion
|
|
11
10
|
export { TabsTriggerProps, Trigger };
|
|
12
11
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,gBAAA,SAAyB,cAAc,4BAA4B;iBAE5D,OAAA,QAAe,mBAAgB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesTabs } from "@skeletonlabs/skeleton-common";
|
|
@@ -7,7 +7,7 @@ import { splitTriggerProps } from "@zag-js/tabs";
|
|
|
7
7
|
|
|
8
8
|
//#region src/components/tabs/anatomy/trigger.tsx
|
|
9
9
|
function Trigger(props) {
|
|
10
|
-
const tabs = use(
|
|
10
|
+
const tabs = use(RootContext);
|
|
11
11
|
const [triggerProps, componentProps] = splitTriggerProps(props);
|
|
12
12
|
const { element, children,...rest } = componentProps;
|
|
13
13
|
const attributes = mergeProps(tabs.getTriggerProps(triggerProps), { className: classesTabs.trigger }, rest);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitTriggerProps } from '@zag-js/tabs';\nimport type { TriggerProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}\n\nexport default function Trigger(props: TabsTriggerProps) {\n\tconst tabs = use(RootContext);\n\n\tconst [triggerProps, componentProps] = splitTriggerProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getTriggerProps(triggerProps),\n\t\t{\n\t\t\tclassName: classesTabs.trigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,QAAQ,OAAyB;CACxD,MAAM,OAAO,IAAI,YAAY;CAE7B,MAAM,CAAC,cAAc,kBAAkB,kBAAkB,MAAM;CAC/D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,gBAAgB,aAAa,EAClC,EACC,WAAW,YAAY,SACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropTypes } from "@zag-js/react";
|
|
2
2
|
import { Api, Props } from "@zag-js/tabs";
|
|
3
3
|
|
|
4
|
-
//#region src/components/tabs/modules/
|
|
4
|
+
//#region src/components/tabs/modules/provider.d.ts
|
|
5
5
|
declare function useTabs(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { useTabs };
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","names":[],"sources":["../../../../src/components/tabs/modules/provider.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,OAAA,SAAe,KAAK,eAAoB,IAAI"}
|
|
@@ -2,7 +2,7 @@ import { useId } from "react";
|
|
|
2
2
|
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
3
|
import { connect, machine } from "@zag-js/tabs";
|
|
4
4
|
|
|
5
|
-
//#region src/components/tabs/modules/
|
|
5
|
+
//#region src/components/tabs/modules/provider.ts
|
|
6
6
|
function useTabs(props = {}) {
|
|
7
7
|
const service = useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
@@ -13,4 +13,4 @@ function useTabs(props = {}) {
|
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
export { useTabs };
|
|
16
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"provider.js","names":[],"sources":["../../../../src/components/tabs/modules/provider.ts"],"sourcesContent":["import { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/tabs';\nimport type { Api, Props } from '@zag-js/tabs';\nimport { useId } from 'react';\n\nexport function useTabs(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAKA,SAAgB,QAAQ,QAA2B,EAAE,EAAkB;CACtE,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createContext } from "../../../internal/create-context.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/tabs/modules/root-context.ts
|
|
4
|
-
const
|
|
4
|
+
const RootContext = createContext();
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
|
-
export {
|
|
7
|
+
export { RootContext };
|
|
8
8
|
//# sourceMappingURL=root-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/tabs/modules/root-context.ts"],"sourcesContent":["import type { useTabs } from './
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/tabs/modules/root-context.ts"],"sourcesContent":["import type { useTabs } from './provider';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<ReturnType<typeof useTabs>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAA2C"}
|
|
@@ -1,11 +1,10 @@
|
|
|
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 react_jsx_runtime71 from "react/jsx-runtime";
|
|
3
|
+
import * as react64 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/clear-trigger.d.ts
|
|
7
6
|
interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ClearTrigger(props: TagsInputClearTriggerProps):
|
|
7
|
+
declare function ClearTrigger(props: TagsInputClearTriggerProps): react64.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { ClearTrigger, TagsInputClearTriggerProps };
|
|
11
10
|
//# sourceMappingURL=clear-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"clear-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,0BAAA,SAAmC,4BAA4B;iBAExD,YAAA,QAAoB,6BAA0B,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesTagsInput } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/tags-input/anatomy/clear-trigger.tsx
|
|
8
8
|
function ClearTrigger(props) {
|
|
9
|
-
const tagsInput = use(
|
|
9
|
+
const tagsInput = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(tagsInput.getClearTriggerProps(), { className: classesTagsInput.clearTrigger }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"clear-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":["import { RootContext } 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 TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ClearTrigger(props: TagsInputClearTriggerProps) {\n\tconst tagsInput = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getClearTriggerProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.clearTrigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,aAAa,OAAmC;CACvE,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,sBAAsB,EAChC,EACC,WAAW,iBAAiB,cAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
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 react_jsx_runtime72 from "react/jsx-runtime";
|
|
3
|
+
import * as react65 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/control.d.ts
|
|
7
6
|
interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Control(props: TagsInputControlProps):
|
|
7
|
+
declare function Control(props: TagsInputControlProps): react65.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { Control, TagsInputControlProps };
|
|
11
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,qBAAA,SAA8B,yBAAyB;iBAEhD,OAAA,QAAe,wBAAqB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesTagsInput } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/tags-input/anatomy/control.tsx
|
|
8
8
|
function Control(props) {
|
|
9
|
-
const tagsInput = use(
|
|
9
|
+
const tagsInput = use(RootContext);
|
|
10
10
|
const { element, children,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(tagsInput.getControlProps(), { className: classesTagsInput.control }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":["import { RootContext } 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 TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Control(props: TagsInputControlProps) {\n\tconst tagsInput = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getControlProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.control,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA8B;CAC7D,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,iBAAiB,EAC3B,EACC,WAAW,iBAAiB,SAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -1,11 +1,10 @@
|
|
|
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 react_jsx_runtime73 from "react/jsx-runtime";
|
|
3
|
+
import * as react66 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/hidden-input.d.ts
|
|
7
6
|
interface TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: TagsInputHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: TagsInputHiddenInputProps): react66.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { HiddenInput, TagsInputHiddenInputProps };
|
|
11
10
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,yBAAA,SAAkC,2BAA2B;iBAEtD,WAAA,QAAmB,4BAAyB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesTagsInput } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/tags-input/anatomy/hidden-input.tsx
|
|
8
8
|
function HiddenInput(props) {
|
|
9
|
-
const tagsInput = use(
|
|
9
|
+
const tagsInput = use(RootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(tagsInput.getHiddenInputProps(), { className: classesTagsInput.hiddenInput }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":["import { RootContext } 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 TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: TagsInputHiddenInputProps) {\n\tconst tagsInput = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getHiddenInputProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAAkC;CACrE,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,UAAU,qBAAqB,EAC/B,EACC,WAAW,iBAAiB,aAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
|
|
@@ -1,11 +1,10 @@
|
|
|
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 react_jsx_runtime74 from "react/jsx-runtime";
|
|
3
|
+
import * as react67 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/input.d.ts
|
|
7
6
|
interface TagsInputInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function Input(props: TagsInputInputProps):
|
|
7
|
+
declare function Input(props: TagsInputInputProps): react67.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { Input, TagsInputInputProps };
|
|
11
10
|
//# 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":"
|
|
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,sBAAmB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
2
|
import { use } from "react";
|
|
3
3
|
import { mergeProps } from "@zag-js/react";
|
|
4
4
|
import { classesTagsInput } from "@skeletonlabs/skeleton-common";
|
|
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/tags-input/anatomy/input.tsx
|
|
8
8
|
function Input(props) {
|
|
9
|
-
const tagsInput = use(
|
|
9
|
+
const tagsInput = use(RootContext);
|
|
10
10
|
const { element,...rest } = props;
|
|
11
11
|
const attributes = mergeProps(tagsInput.getInputProps(), { className: classesTagsInput.input }, rest);
|
|
12
12
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.tsx"],"sourcesContent":["import { RootContext } 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(RootContext);\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,YAAY;CAElC,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,10 @@
|
|
|
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 react_jsx_runtime76 from "react/jsx-runtime";
|
|
3
|
+
import * as react68 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/item-delete-trigger.d.ts
|
|
7
6
|
interface TagsInputItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps):
|
|
7
|
+
declare function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps): react68.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { ItemDeleteTrigger, TagsInputItemDeleteTriggerProps };
|
|
11
10
|
//# 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":"
|
|
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,kCAA+B,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ItemContext } from "../modules/item-context.js";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { mergeProps } from "@zag-js/react";
|
|
5
5
|
import { classesTagsInput } from "@skeletonlabs/skeleton-common";
|
|
6
|
-
import { Fragment
|
|
6
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/tags-input/anatomy/item-delete-trigger.tsx
|
|
9
9
|
function ItemDeleteTrigger(props) {
|
|
10
|
-
const tagsInput = use(
|
|
11
|
-
const itemProps = use(
|
|
12
|
-
const { element, children = /* @__PURE__ */ jsx(Fragment
|
|
10
|
+
const tagsInput = use(RootContext);
|
|
11
|
+
const itemProps = use(ItemContext);
|
|
12
|
+
const { element, children = /* @__PURE__ */ jsx(Fragment, { children: "×" }),...rest } = props;
|
|
13
13
|
const attributes = mergeProps(tagsInput.getItemDeleteTriggerProps(itemProps), { className: classesTagsInput.itemDeleteTrigger }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
|
|
15
15
|
...attributes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-delete-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"item-delete-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.tsx"],"sourcesContent":["import { ItemContext } from '../modules/item-context';\nimport { RootContext } 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(RootContext);\n\tconst itemProps = use(ItemContext);\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,YAAY;CAClC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,WAAW,0CAAE,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,10 @@
|
|
|
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 react_jsx_runtime77 from "react/jsx-runtime";
|
|
3
|
+
import * as react69 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/item-input.d.ts
|
|
7
6
|
interface TagsInputItemInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function ItemInput(props: TagsInputItemInputProps):
|
|
7
|
+
declare function ItemInput(props: TagsInputItemInputProps): react69.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { ItemInput, TagsInputItemInputProps };
|
|
11
10
|
//# 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":"
|
|
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,0BAAuB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ItemContext } from "../modules/item-context.js";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { mergeProps } from "@zag-js/react";
|
|
5
5
|
import { classesTagsInput } from "@skeletonlabs/skeleton-common";
|
|
@@ -7,8 +7,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
|
|
8
8
|
//#region src/components/tags-input/anatomy/item-input.tsx
|
|
9
9
|
function ItemInput(props) {
|
|
10
|
-
const tagsInput = use(
|
|
11
|
-
const itemProps = use(
|
|
10
|
+
const tagsInput = use(RootContext);
|
|
11
|
+
const itemProps = use(ItemContext);
|
|
12
12
|
const { element,...rest } = props;
|
|
13
13
|
const attributes = mergeProps(tagsInput.getItemInputProps(itemProps), { className: classesTagsInput.itemInput }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-input.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"item-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-input.tsx"],"sourcesContent":["import { ItemContext } from '../modules/item-context';\nimport { RootContext } 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(RootContext);\n\tconst itemProps = use(ItemContext);\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,YAAY;CAClC,MAAM,YAAY,IAAI,YAAY;CAElC,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,10 @@
|
|
|
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 react_jsx_runtime78 from "react/jsx-runtime";
|
|
3
|
+
import * as react70 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/item-preview.d.ts
|
|
7
6
|
interface TagsInputItemPreviewProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemPreview(props: TagsInputItemPreviewProps):
|
|
7
|
+
declare function ItemPreview(props: TagsInputItemPreviewProps): react70.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { ItemPreview, TagsInputItemPreviewProps };
|
|
11
10
|
//# 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":"
|
|
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,4BAAyB,OAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ItemContext } from "../modules/item-context.js";
|
|
3
3
|
import { use } from "react";
|
|
4
4
|
import { mergeProps } from "@zag-js/react";
|
|
5
5
|
import { classesTagsInput } from "@skeletonlabs/skeleton-common";
|
|
@@ -7,8 +7,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
|
|
8
8
|
//#region src/components/tags-input/anatomy/item-preview.tsx
|
|
9
9
|
function ItemPreview(props) {
|
|
10
|
-
const tagsInput = use(
|
|
11
|
-
const itemProps = use(
|
|
10
|
+
const tagsInput = use(RootContext);
|
|
11
|
+
const itemProps = use(ItemContext);
|
|
12
12
|
const { element, children,...rest } = props;
|
|
13
13
|
const attributes = mergeProps(tagsInput.getItemPreviewProps(itemProps), { className: classesTagsInput.itemPreview }, rest);
|
|
14
14
|
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-preview.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-preview.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"item-preview.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-preview.tsx"],"sourcesContent":["import { ItemContext } from '../modules/item-context';\nimport { RootContext } 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(RootContext);\n\tconst itemProps = use(ItemContext);\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,YAAY;CAClC,MAAM,YAAY,IAAI,YAAY;CAElC,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,10 @@
|
|
|
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 react_jsx_runtime79 from "react/jsx-runtime";
|
|
3
|
+
import * as react71 from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/components/tags-input/anatomy/item-text.d.ts
|
|
7
6
|
interface TagsInputItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function ItemText(props: TagsInputItemTextProps):
|
|
7
|
+
declare function ItemText(props: TagsInputItemTextProps): react71.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { ItemText, TagsInputItemTextProps };
|
|
11
10
|
//# 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":"
|
|
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,yBAAsB,OAAA,CAAA,GAAA,CAAA"}
|