@yamada-ui/react 2.2.9-dev-20261002045738 → 2.2.9-dev-20261005115337
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/accordion/accordion.cjs +0 -1
- package/dist/cjs/components/accordion/accordion.cjs.map +1 -1
- package/dist/cjs/components/accordion/use-accordion.cjs +0 -1
- package/dist/cjs/components/accordion/use-accordion.cjs.map +1 -1
- package/dist/cjs/components/action-bar/action-bar.cjs +0 -1
- package/dist/cjs/components/action-bar/action-bar.cjs.map +1 -1
- package/dist/cjs/components/action-bar/use-action-bar.cjs +0 -1
- package/dist/cjs/components/action-bar/use-action-bar.cjs.map +1 -1
- package/dist/cjs/components/airy/airy.cjs +0 -1
- package/dist/cjs/components/airy/airy.cjs.map +1 -1
- package/dist/cjs/components/alert/alert.cjs +0 -1
- package/dist/cjs/components/alert/alert.cjs.map +1 -1
- package/dist/cjs/components/alpha-slider/alpha-slider.cjs +0 -1
- package/dist/cjs/components/alpha-slider/alpha-slider.cjs.map +1 -1
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs +0 -1
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs.map +1 -1
- package/dist/cjs/components/autocomplete/autocomplete.cjs +0 -1
- package/dist/cjs/components/autocomplete/autocomplete.cjs.map +1 -1
- package/dist/cjs/components/autocomplete/use-autocomplete.cjs +0 -1
- package/dist/cjs/components/autocomplete/use-autocomplete.cjs.map +1 -1
- package/dist/cjs/components/avatar/avatar-group.cjs +0 -1
- package/dist/cjs/components/avatar/avatar-group.cjs.map +1 -1
- package/dist/cjs/components/avatar/use-avatar-group.cjs +0 -1
- package/dist/cjs/components/avatar/use-avatar-group.cjs.map +1 -1
- package/dist/cjs/components/avatar/use-avatar.cjs +0 -1
- package/dist/cjs/components/avatar/use-avatar.cjs.map +1 -1
- package/dist/cjs/components/blockquote/blockquote.cjs +0 -1
- package/dist/cjs/components/blockquote/blockquote.cjs.map +1 -1
- package/dist/cjs/components/breadcrumb/breadcrumb.cjs +0 -1
- package/dist/cjs/components/breadcrumb/breadcrumb.cjs.map +1 -1
- package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs +0 -1
- package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs.map +1 -1
- package/dist/cjs/components/button/button-group.cjs +0 -1
- package/dist/cjs/components/button/button-group.cjs.map +1 -1
- package/dist/cjs/components/button/button.cjs +0 -1
- package/dist/cjs/components/button/button.cjs.map +1 -1
- package/dist/cjs/components/calendar/calendar.cjs +0 -1
- package/dist/cjs/components/calendar/calendar.cjs.map +1 -1
- package/dist/cjs/components/calendar/use-calendar.cjs +5 -4
- package/dist/cjs/components/calendar/use-calendar.cjs.map +1 -1
- package/dist/cjs/components/carousel/carousel.cjs +0 -1
- package/dist/cjs/components/carousel/carousel.cjs.map +1 -1
- package/dist/cjs/components/chart/area-chart.cjs +0 -1
- package/dist/cjs/components/chart/area-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/bar-chart.cjs +0 -1
- package/dist/cjs/components/chart/bar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/cartesian-chart.cjs +0 -1
- package/dist/cjs/components/chart/cartesian-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/chart.cjs +0 -1
- package/dist/cjs/components/chart/chart.cjs.map +1 -1
- package/dist/cjs/components/chart/composed-chart.cjs +0 -1
- package/dist/cjs/components/chart/composed-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/donut-chart.cjs +0 -1
- package/dist/cjs/components/chart/donut-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/line-chart.cjs +0 -1
- package/dist/cjs/components/chart/line-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/pie-chart.cjs +0 -1
- package/dist/cjs/components/chart/pie-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/polar-chart.cjs +0 -1
- package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/radar-chart.cjs +0 -1
- package/dist/cjs/components/chart/radar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/radial-chart.cjs +0 -1
- package/dist/cjs/components/chart/radial-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-cartesian-chart.cjs +0 -1
- package/dist/cjs/components/chart/use-cartesian-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-chart.cjs +0 -1
- package/dist/cjs/components/chart/use-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-polar-chart.cjs +0 -1
- package/dist/cjs/components/chart/use-polar-chart.cjs.map +1 -1
- package/dist/cjs/components/checkbox/checkbox-group.cjs +0 -1
- package/dist/cjs/components/checkbox/checkbox-group.cjs.map +1 -1
- package/dist/cjs/components/checkbox/checkbox.cjs +0 -1
- package/dist/cjs/components/checkbox/checkbox.cjs.map +1 -1
- package/dist/cjs/components/checkbox/use-checkbox-group.cjs +0 -1
- package/dist/cjs/components/checkbox/use-checkbox-group.cjs.map +1 -1
- package/dist/cjs/components/checkbox/use-checkbox.cjs +0 -1
- package/dist/cjs/components/checkbox/use-checkbox.cjs.map +1 -1
- package/dist/cjs/components/checkbox-card/checkbox-card-group.cjs +0 -1
- package/dist/cjs/components/checkbox-card/checkbox-card-group.cjs.map +1 -1
- package/dist/cjs/components/checkbox-card/checkbox-card.cjs +0 -1
- package/dist/cjs/components/checkbox-card/checkbox-card.cjs.map +1 -1
- package/dist/cjs/components/collapse/collapse.cjs +0 -1
- package/dist/cjs/components/collapse/collapse.cjs.map +1 -1
- package/dist/cjs/components/color-picker/color-picker.cjs +0 -1
- package/dist/cjs/components/color-picker/color-picker.cjs.map +1 -1
- package/dist/cjs/components/color-picker/use-color-picker.cjs +0 -1
- package/dist/cjs/components/color-picker/use-color-picker.cjs.map +1 -1
- package/dist/cjs/components/color-selector/color-selector.cjs +0 -1
- package/dist/cjs/components/color-selector/color-selector.cjs.map +1 -1
- package/dist/cjs/components/color-selector/use-color-selector.cjs +0 -1
- package/dist/cjs/components/color-selector/use-color-selector.cjs.map +1 -1
- package/dist/cjs/components/data-list/data-list.cjs +0 -1
- package/dist/cjs/components/data-list/data-list.cjs.map +1 -1
- package/dist/cjs/components/date-picker/date-picker.cjs +0 -1
- package/dist/cjs/components/date-picker/date-picker.cjs.map +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +0 -1
- package/dist/cjs/components/drawer/drawer.cjs.map +1 -1
- package/dist/cjs/components/drawer/use-drawer.cjs +0 -1
- package/dist/cjs/components/drawer/use-drawer.cjs.map +1 -1
- package/dist/cjs/components/dropzone/dropzone.cjs +0 -1
- package/dist/cjs/components/dropzone/dropzone.cjs.map +1 -1
- package/dist/cjs/components/dropzone/use-dropzone.cjs +0 -1
- package/dist/cjs/components/dropzone/use-dropzone.cjs.map +1 -1
- package/dist/cjs/components/editable/use-editable.cjs +0 -1
- package/dist/cjs/components/editable/use-editable.cjs.map +1 -1
- package/dist/cjs/components/fade/fade.cjs +0 -1
- package/dist/cjs/components/fade/fade.cjs.map +1 -1
- package/dist/cjs/components/fade-scale/fade-scale.cjs +0 -1
- package/dist/cjs/components/fade-scale/fade-scale.cjs.map +1 -1
- package/dist/cjs/components/field/field.cjs +0 -1
- package/dist/cjs/components/field/field.cjs.map +1 -1
- package/dist/cjs/components/field/use-field-props.cjs +0 -1
- package/dist/cjs/components/field/use-field-props.cjs.map +1 -1
- package/dist/cjs/components/fieldset/fieldset.cjs +0 -1
- package/dist/cjs/components/fieldset/fieldset.cjs.map +1 -1
- package/dist/cjs/components/file-button/use-file-button.cjs +0 -1
- package/dist/cjs/components/file-button/use-file-button.cjs.map +1 -1
- package/dist/cjs/components/file-input/file-input.cjs +0 -1
- package/dist/cjs/components/file-input/file-input.cjs.map +1 -1
- package/dist/cjs/components/file-input/use-file-input.cjs +0 -1
- package/dist/cjs/components/file-input/use-file-input.cjs.map +1 -1
- package/dist/cjs/components/flip/flip.cjs +0 -1
- package/dist/cjs/components/flip/flip.cjs.map +1 -1
- package/dist/cjs/components/float/float.style.cjs +1 -0
- package/dist/cjs/components/float/float.style.cjs.map +1 -1
- package/dist/cjs/components/form/form.cjs +0 -1
- package/dist/cjs/components/form/form.cjs.map +1 -1
- package/dist/cjs/components/format/use-format-byte.cjs +0 -1
- package/dist/cjs/components/format/use-format-byte.cjs.map +1 -1
- package/dist/cjs/components/format/use-format-date-time.cjs +0 -1
- package/dist/cjs/components/format/use-format-date-time.cjs.map +1 -1
- package/dist/cjs/components/format/use-format-number.cjs +0 -1
- package/dist/cjs/components/format/use-format-number.cjs.map +1 -1
- package/dist/cjs/components/group/use-group.cjs +0 -1
- package/dist/cjs/components/group/use-group.cjs.map +1 -1
- package/dist/cjs/components/highlight/highlight.cjs +0 -1
- package/dist/cjs/components/highlight/highlight.cjs.map +1 -1
- package/dist/cjs/components/highlight/use-highlight.cjs +0 -1
- package/dist/cjs/components/highlight/use-highlight.cjs.map +1 -1
- package/dist/cjs/components/hue-slider/hue-slider.cjs +0 -1
- package/dist/cjs/components/hue-slider/hue-slider.cjs.map +1 -1
- package/dist/cjs/components/icon/icons/briefcase-plus-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/briefcase-plus-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/clef-alto-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/clef-alto-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/clef-bass-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/clef-bass-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/clef-treble-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/clef-treble-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/cupcake-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/cupcake-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/door-closed-package-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/door-closed-package-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/faucet-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/faucet-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/house-cog-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/house-cog-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/index.cjs +60 -0
- package/dist/cjs/components/icon/icons/index.cjs.map +1 -1
- package/dist/cjs/components/icon/icons/lambda-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/lambda-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/line-dot-bottom-vertical-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/line-dot-bottom-vertical-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/line-dot-left-horizontal-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/line-dot-left-horizontal-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/line-dot-top-vertical-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/line-dot-top-vertical-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/monitor-pc-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/monitor-pc-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/nepali-rupee-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/nepali-rupee-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/rotate-cw-clock-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/rotate-cw-clock-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-dashed-plus-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-dashed-plus-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-corner-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-corner-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-sparkles-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-sparkles-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/tube-lotion-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/tube-lotion-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/index.cjs +40 -0
- package/dist/cjs/components/indicator/indicator.cjs +0 -1
- package/dist/cjs/components/indicator/indicator.cjs.map +1 -1
- package/dist/cjs/components/infinite-scroll-area/infinite-scroll-area.cjs +0 -1
- package/dist/cjs/components/infinite-scroll-area/infinite-scroll-area.cjs.map +1 -1
- package/dist/cjs/components/infinite-scroll-area/use-infinite-scroll.cjs +0 -1
- package/dist/cjs/components/infinite-scroll-area/use-infinite-scroll.cjs.map +1 -1
- package/dist/cjs/components/input/input-group.cjs +0 -1
- package/dist/cjs/components/input/input-group.cjs.map +1 -1
- package/dist/cjs/components/input/use-input-border.cjs +0 -1
- package/dist/cjs/components/input/use-input-border.cjs.map +1 -1
- package/dist/cjs/components/list/list.cjs +0 -1
- package/dist/cjs/components/list/list.cjs.map +1 -1
- package/dist/cjs/components/loading/background.cjs +0 -1
- package/dist/cjs/components/loading/background.cjs.map +1 -1
- package/dist/cjs/components/loading/loading-provider.cjs +0 -1
- package/dist/cjs/components/loading/loading-provider.cjs.map +1 -1
- package/dist/cjs/components/loading/page.cjs +0 -1
- package/dist/cjs/components/loading/page.cjs.map +1 -1
- package/dist/cjs/components/loading/screen.cjs +0 -1
- package/dist/cjs/components/loading/screen.cjs.map +1 -1
- package/dist/cjs/components/loading/suspense.cjs +0 -1
- package/dist/cjs/components/loading/suspense.cjs.map +1 -1
- package/dist/cjs/components/loading/use-loading-component.cjs +0 -1
- package/dist/cjs/components/loading/use-loading-component.cjs.map +1 -1
- package/dist/cjs/components/menu/menu.cjs +29 -29
- package/dist/cjs/components/menu/menu.cjs.map +1 -1
- package/dist/cjs/components/menu/use-menu.cjs +0 -1
- package/dist/cjs/components/menu/use-menu.cjs.map +1 -1
- package/dist/cjs/components/modal/modal.cjs +0 -1
- package/dist/cjs/components/modal/modal.cjs.map +1 -1
- package/dist/cjs/components/modal/use-modal.cjs +0 -1
- package/dist/cjs/components/modal/use-modal.cjs.map +1 -1
- package/dist/cjs/components/motion/motion.cjs +0 -1
- package/dist/cjs/components/motion/motion.cjs.map +1 -1
- package/dist/cjs/components/native-accordion/native-accordion.cjs +0 -1
- package/dist/cjs/components/native-accordion/native-accordion.cjs.map +1 -1
- package/dist/cjs/components/native-accordion/use-native-accordion.cjs +0 -1
- package/dist/cjs/components/native-accordion/use-native-accordion.cjs.map +1 -1
- package/dist/cjs/components/native-popover/native-popover.cjs +0 -1
- package/dist/cjs/components/native-popover/native-popover.cjs.map +1 -1
- package/dist/cjs/components/native-popover/use-native-popover.cjs +0 -1
- package/dist/cjs/components/native-popover/use-native-popover.cjs.map +1 -1
- package/dist/cjs/components/native-select/use-native-select.cjs +0 -1
- package/dist/cjs/components/native-select/use-native-select.cjs.map +1 -1
- package/dist/cjs/components/notice/notice-provider.cjs +0 -1
- package/dist/cjs/components/notice/notice-provider.cjs.map +1 -1
- package/dist/cjs/components/notice/notice.cjs +0 -1
- package/dist/cjs/components/notice/notice.cjs.map +1 -1
- package/dist/cjs/components/notice/use-notice.cjs +0 -1
- package/dist/cjs/components/notice/use-notice.cjs.map +1 -1
- package/dist/cjs/components/number-input/use-number-counter.cjs +0 -1
- package/dist/cjs/components/number-input/use-number-counter.cjs.map +1 -1
- package/dist/cjs/components/number-input/use-number-input.cjs +0 -1
- package/dist/cjs/components/number-input/use-number-input.cjs.map +1 -1
- package/dist/cjs/components/number-input/use-spinner.cjs +0 -1
- package/dist/cjs/components/number-input/use-spinner.cjs.map +1 -1
- package/dist/cjs/components/pagination/pagination.cjs +0 -1
- package/dist/cjs/components/pagination/pagination.cjs.map +1 -1
- package/dist/cjs/components/pagination/use-pagination.cjs +0 -1
- package/dist/cjs/components/pagination/use-pagination.cjs.map +1 -1
- package/dist/cjs/components/password-input/use-password-input.cjs +0 -1
- package/dist/cjs/components/password-input/use-password-input.cjs.map +1 -1
- package/dist/cjs/components/password-input/use-strength-meter.cjs +0 -1
- package/dist/cjs/components/password-input/use-strength-meter.cjs.map +1 -1
- package/dist/cjs/components/picture/picture.cjs +0 -1
- package/dist/cjs/components/picture/picture.cjs.map +1 -1
- package/dist/cjs/components/pin-input/pin-input.cjs +0 -1
- package/dist/cjs/components/pin-input/pin-input.cjs.map +1 -1
- package/dist/cjs/components/pin-input/use-pin-input.cjs +0 -1
- package/dist/cjs/components/pin-input/use-pin-input.cjs.map +1 -1
- package/dist/cjs/components/popover/popover.cjs +0 -1
- package/dist/cjs/components/popover/popover.cjs.map +1 -1
- package/dist/cjs/components/popover/use-popover.cjs +0 -1
- package/dist/cjs/components/popover/use-popover.cjs.map +1 -1
- package/dist/cjs/components/portal/portal.cjs +0 -1
- package/dist/cjs/components/portal/portal.cjs.map +1 -1
- package/dist/cjs/components/progress/use-progress.cjs +0 -1
- package/dist/cjs/components/progress/use-progress.cjs.map +1 -1
- package/dist/cjs/components/qr-code/qr-code.cjs +0 -1
- package/dist/cjs/components/qr-code/qr-code.cjs.map +1 -1
- package/dist/cjs/components/qr-code/use-qr-code.cjs +0 -1
- package/dist/cjs/components/qr-code/use-qr-code.cjs.map +1 -1
- package/dist/cjs/components/radio/radio-group.cjs +0 -1
- package/dist/cjs/components/radio/radio-group.cjs.map +1 -1
- package/dist/cjs/components/radio/radio.cjs +0 -1
- package/dist/cjs/components/radio/radio.cjs.map +1 -1
- package/dist/cjs/components/radio/use-radio-group.cjs +0 -1
- package/dist/cjs/components/radio/use-radio-group.cjs.map +1 -1
- package/dist/cjs/components/radio/use-radio.cjs +0 -1
- package/dist/cjs/components/radio/use-radio.cjs.map +1 -1
- package/dist/cjs/components/radio-card/radio-card-group.cjs +0 -1
- package/dist/cjs/components/radio-card/radio-card-group.cjs.map +1 -1
- package/dist/cjs/components/radio-card/radio-card.cjs +0 -1
- package/dist/cjs/components/radio-card/radio-card.cjs.map +1 -1
- package/dist/cjs/components/rating/rating.cjs +0 -1
- package/dist/cjs/components/rating/rating.cjs.map +1 -1
- package/dist/cjs/components/rating/use-rating.cjs +0 -1
- package/dist/cjs/components/rating/use-rating.cjs.map +1 -1
- package/dist/cjs/components/reorder/use-reorder.cjs +0 -1
- package/dist/cjs/components/reorder/use-reorder.cjs.map +1 -1
- package/dist/cjs/components/resizable/resizable.cjs +0 -1
- package/dist/cjs/components/resizable/resizable.cjs.map +1 -1
- package/dist/cjs/components/resizable/use-resizable.cjs +0 -1
- package/dist/cjs/components/resizable/use-resizable.cjs.map +1 -1
- package/dist/cjs/components/ripple/use-ripple.cjs +0 -1
- package/dist/cjs/components/ripple/use-ripple.cjs.map +1 -1
- package/dist/cjs/components/rotate/rotate.cjs +0 -1
- package/dist/cjs/components/rotate/rotate.cjs.map +1 -1
- package/dist/cjs/components/saturation-slider/saturation-slider.cjs +0 -1
- package/dist/cjs/components/saturation-slider/saturation-slider.cjs.map +1 -1
- package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs +0 -1
- package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs.map +1 -1
- package/dist/cjs/components/scroll-area/use-scroll-area.cjs +0 -1
- package/dist/cjs/components/scroll-area/use-scroll-area.cjs.map +1 -1
- package/dist/cjs/components/segmented-control/segmented-control.cjs +0 -1
- package/dist/cjs/components/segmented-control/segmented-control.cjs.map +1 -1
- package/dist/cjs/components/segmented-control/use-segmented-control.cjs +0 -1
- package/dist/cjs/components/segmented-control/use-segmented-control.cjs.map +1 -1
- package/dist/cjs/components/select/select.cjs +0 -1
- package/dist/cjs/components/select/select.cjs.map +1 -1
- package/dist/cjs/components/select/use-select.cjs +0 -1
- package/dist/cjs/components/select/use-select.cjs.map +1 -1
- package/dist/cjs/components/show/show.cjs +0 -1
- package/dist/cjs/components/show/show.cjs.map +1 -1
- package/dist/cjs/components/sidebar/sidebar.cjs +0 -1
- package/dist/cjs/components/sidebar/sidebar.cjs.map +1 -1
- package/dist/cjs/components/sidebar/use-sidebar.cjs +0 -1
- package/dist/cjs/components/sidebar/use-sidebar.cjs.map +1 -1
- package/dist/cjs/components/simple-grid/simple-grid.cjs +0 -1
- package/dist/cjs/components/simple-grid/simple-grid.cjs.map +1 -1
- package/dist/cjs/components/slide/slide.cjs +0 -1
- package/dist/cjs/components/slide/slide.cjs.map +1 -1
- package/dist/cjs/components/slide-fade/slide-fade.cjs +0 -1
- package/dist/cjs/components/slide-fade/slide-fade.cjs.map +1 -1
- package/dist/cjs/components/slider/slider.cjs +0 -1
- package/dist/cjs/components/slider/slider.cjs.map +1 -1
- package/dist/cjs/components/slider/use-slider.cjs +0 -1
- package/dist/cjs/components/slider/use-slider.cjs.map +1 -1
- package/dist/cjs/components/slot/slot.cjs +0 -1
- package/dist/cjs/components/slot/slot.cjs.map +1 -1
- package/dist/cjs/components/snacks/snacks.cjs +0 -1
- package/dist/cjs/components/snacks/snacks.cjs.map +1 -1
- package/dist/cjs/components/snacks/use-snacks.cjs +0 -1
- package/dist/cjs/components/snacks/use-snacks.cjs.map +1 -1
- package/dist/cjs/components/stack/stack.cjs +0 -1
- package/dist/cjs/components/stack/stack.cjs.map +1 -1
- package/dist/cjs/components/stack/z-stack.cjs +0 -1
- package/dist/cjs/components/stack/z-stack.cjs.map +1 -1
- package/dist/cjs/components/steps/steps.cjs +0 -1
- package/dist/cjs/components/steps/steps.cjs.map +1 -1
- package/dist/cjs/components/steps/use-steps.cjs +0 -1
- package/dist/cjs/components/steps/use-steps.cjs.map +1 -1
- package/dist/cjs/components/switch/use-switch.cjs +0 -1
- package/dist/cjs/components/switch/use-switch.cjs.map +1 -1
- package/dist/cjs/components/table/table.cjs +0 -1
- package/dist/cjs/components/table/table.cjs.map +1 -1
- package/dist/cjs/components/tabs/tabs.cjs +0 -1
- package/dist/cjs/components/tabs/tabs.cjs.map +1 -1
- package/dist/cjs/components/tabs/use-tabs.cjs +0 -1
- package/dist/cjs/components/tabs/use-tabs.cjs.map +1 -1
- package/dist/cjs/components/tag/tag.cjs +0 -1
- package/dist/cjs/components/tag/tag.cjs.map +1 -1
- package/dist/cjs/components/textarea/use-autosize.cjs +0 -1
- package/dist/cjs/components/textarea/use-autosize.cjs.map +1 -1
- package/dist/cjs/components/textarea/use-textarea.cjs +0 -1
- package/dist/cjs/components/textarea/use-textarea.cjs.map +1 -1
- package/dist/cjs/components/timeline/timeline.cjs +0 -1
- package/dist/cjs/components/timeline/timeline.cjs.map +1 -1
- package/dist/cjs/components/toggle/toggle-group.cjs +0 -1
- package/dist/cjs/components/toggle/toggle-group.cjs.map +1 -1
- package/dist/cjs/components/toggle/use-toggle-group.cjs +11 -11
- package/dist/cjs/components/toggle/use-toggle-group.cjs.map +1 -1
- package/dist/cjs/components/toggle/use-toggle.cjs +0 -1
- package/dist/cjs/components/toggle/use-toggle.cjs.map +1 -1
- package/dist/cjs/components/tooltip/use-tooltip.cjs +0 -1
- package/dist/cjs/components/tooltip/use-tooltip.cjs.map +1 -1
- package/dist/cjs/components/tree/tree.cjs +0 -1
- package/dist/cjs/components/tree/tree.cjs.map +1 -1
- package/dist/cjs/components/tree/use-tree.cjs +4 -4
- package/dist/cjs/components/tree/use-tree.cjs.map +1 -1
- package/dist/cjs/core/components/create-component.cjs +0 -1
- package/dist/cjs/core/components/create-component.cjs.map +1 -1
- package/dist/cjs/core/components/use-component-style.cjs +0 -1
- package/dist/cjs/core/components/use-component-style.cjs.map +1 -1
- package/dist/cjs/core/css/styles.cjs.map +1 -1
- package/dist/cjs/core/css/use-css.cjs +0 -1
- package/dist/cjs/core/css/use-css.cjs.map +1 -1
- package/dist/cjs/core/css/use-inject-vars.cjs +0 -1
- package/dist/cjs/core/css/use-inject-vars.cjs.map +1 -1
- package/dist/cjs/core/system/color-mode-provider.cjs +0 -1
- package/dist/cjs/core/system/color-mode-provider.cjs.map +1 -1
- package/dist/cjs/core/system/environment-provider.cjs +0 -1
- package/dist/cjs/core/system/environment-provider.cjs.map +1 -1
- package/dist/cjs/core/system/system-provider.cjs +0 -1
- package/dist/cjs/core/system/system-provider.cjs.map +1 -1
- package/dist/cjs/core/system/theme-provider.cjs +0 -1
- package/dist/cjs/core/system/theme-provider.cjs.map +1 -1
- package/dist/cjs/core/system/use-system-color-mode.cjs +0 -1
- package/dist/cjs/core/system/use-system-color-mode.cjs.map +1 -1
- package/dist/cjs/hooks/use-animation/index.cjs +0 -1
- package/dist/cjs/hooks/use-animation/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-async/index.cjs +0 -1
- package/dist/cjs/hooks/use-async/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-async-callback/index.cjs +0 -1
- package/dist/cjs/hooks/use-async-callback/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-boolean/index.cjs +0 -1
- package/dist/cjs/hooks/use-boolean/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-effect.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-effect.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-state.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-state.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-value.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-value.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint.cjs.map +1 -1
- package/dist/cjs/hooks/use-clickable/index.cjs +0 -1
- package/dist/cjs/hooks/use-clickable/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-controllable-state/index.cjs +0 -1
- package/dist/cjs/hooks/use-controllable-state/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-counter/index.cjs +0 -1
- package/dist/cjs/hooks/use-counter/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-descendants/index.cjs +0 -1
- package/dist/cjs/hooks/use-descendants/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-disclosure/use-disclosure.cjs +0 -1
- package/dist/cjs/hooks/use-disclosure/use-disclosure.cjs.map +1 -1
- package/dist/cjs/hooks/use-disclosure/use-promise-disclosure.cjs +0 -1
- package/dist/cjs/hooks/use-disclosure/use-promise-disclosure.cjs.map +1 -1
- package/dist/cjs/hooks/use-event-listener/index.cjs +0 -1
- package/dist/cjs/hooks/use-event-listener/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-eye-dropper/index.cjs +0 -1
- package/dist/cjs/hooks/use-eye-dropper/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-field-sizing/index.cjs +0 -1
- package/dist/cjs/hooks/use-field-sizing/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-focus/index.cjs +0 -1
- package/dist/cjs/hooks/use-focus/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-hover/index.cjs +0 -1
- package/dist/cjs/hooks/use-hover/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-idle/index.cjs +0 -1
- package/dist/cjs/hooks/use-idle/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-interval/index.cjs +0 -1
- package/dist/cjs/hooks/use-interval/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-lazy-mount/index.cjs +0 -1
- package/dist/cjs/hooks/use-lazy-mount/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-local-storage/index.cjs +0 -1
- package/dist/cjs/hooks/use-local-storage/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-media-query/index.cjs +0 -1
- package/dist/cjs/hooks/use-media-query/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-mounted/index.cjs +0 -1
- package/dist/cjs/hooks/use-mounted/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-online/index.cjs +0 -1
- package/dist/cjs/hooks/use-online/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-outside-click/index.cjs +0 -1
- package/dist/cjs/hooks/use-outside-click/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-pan-event/index.cjs +0 -1
- package/dist/cjs/hooks/use-pan-event/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-popper/index.cjs +0 -1
- package/dist/cjs/hooks/use-popper/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-previous/index.cjs +0 -1
- package/dist/cjs/hooks/use-previous/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-processing/index.cjs +0 -1
- package/dist/cjs/hooks/use-processing/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-resize-observer/index.cjs +0 -1
- package/dist/cjs/hooks/use-resize-observer/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-timeout/index.cjs +0 -1
- package/dist/cjs/hooks/use-timeout/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-value/index.cjs +0 -1
- package/dist/cjs/hooks/use-value/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-window-event/index.cjs +0 -1
- package/dist/cjs/hooks/use-window-event/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +60 -0
- package/dist/cjs/utils/ssr.cjs +0 -1
- package/dist/cjs/utils/ssr.cjs.map +1 -1
- package/dist/cjs/utils/store.cjs +0 -1
- package/dist/cjs/utils/store.cjs.map +1 -1
- package/dist/esm/components/calendar/use-calendar.js +5 -4
- package/dist/esm/components/calendar/use-calendar.js.map +1 -1
- package/dist/esm/components/float/float.style.js +1 -0
- package/dist/esm/components/float/float.style.js.map +1 -1
- package/dist/esm/components/icon/icons/briefcase-plus-icon.js +14 -0
- package/dist/esm/components/icon/icons/briefcase-plus-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/clef-alto-icon.js +14 -0
- package/dist/esm/components/icon/icons/clef-alto-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/clef-bass-icon.js +14 -0
- package/dist/esm/components/icon/icons/clef-bass-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/clef-treble-icon.js +14 -0
- package/dist/esm/components/icon/icons/clef-treble-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/cupcake-icon.js +14 -0
- package/dist/esm/components/icon/icons/cupcake-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/door-closed-package-icon.js +14 -0
- package/dist/esm/components/icon/icons/door-closed-package-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/faucet-icon.js +14 -0
- package/dist/esm/components/icon/icons/faucet-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/house-cog-icon.js +14 -0
- package/dist/esm/components/icon/icons/house-cog-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/index.js +41 -1
- package/dist/esm/components/icon/icons/index.js.map +1 -1
- package/dist/esm/components/icon/icons/lambda-icon.js +14 -0
- package/dist/esm/components/icon/icons/lambda-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js +14 -0
- package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js +14 -0
- package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js +14 -0
- package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/monitor-pc-icon.js +14 -0
- package/dist/esm/components/icon/icons/monitor-pc-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/nepali-rupee-icon.js +14 -0
- package/dist/esm/components/icon/icons/nepali-rupee-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js +14 -0
- package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-dashed-plus-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-dashed-plus-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-dashed-x-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-dashed-x-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-sparkles-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-sparkles-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/tube-lotion-icon.js +14 -0
- package/dist/esm/components/icon/icons/tube-lotion-icon.js.map +1 -0
- package/dist/esm/components/icon/index.js +21 -1
- package/dist/esm/components/menu/menu.js +29 -28
- package/dist/esm/components/menu/menu.js.map +1 -1
- package/dist/esm/components/toggle/use-toggle-group.js +11 -10
- package/dist/esm/components/toggle/use-toggle-group.js.map +1 -1
- package/dist/esm/components/tree/use-tree.js +4 -3
- package/dist/esm/components/tree/use-tree.js.map +1 -1
- package/dist/esm/core/css/styles.js.map +1 -1
- package/dist/esm/index.js +41 -1
- package/dist/esm/utils/store.js.map +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -10
- package/dist/types/components/accordion/accordion.style.d.ts +2 -3
- package/dist/types/components/accordion/use-accordion.d.ts +7 -7
- package/dist/types/components/action-bar/action-bar.d.ts +11 -11
- package/dist/types/components/action-bar/action-bar.style.d.ts +2 -3
- package/dist/types/components/action-bar/use-action-bar.d.ts +3 -4
- package/dist/types/components/airy/airy.d.ts +3 -3
- package/dist/types/components/airy/airy.style.d.ts +2 -3
- package/dist/types/components/alert/alert.d.ts +12 -11
- package/dist/types/components/alert/alert.style.d.ts +2 -3
- package/dist/types/components/alpha-slider/alpha-slider.d.ts +10 -9
- package/dist/types/components/alpha-slider/alpha-slider.style.d.ts +2 -3
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +3 -3
- package/dist/types/components/aspect-ratio/aspect-ratio.style.d.ts +2 -3
- package/dist/types/components/autocomplete/autocomplete.d.ts +10 -9
- package/dist/types/components/autocomplete/autocomplete.style.d.ts +2 -3
- package/dist/types/components/autocomplete/use-autocomplete.d.ts +10 -10
- package/dist/types/components/avatar/avatar-group.d.ts +2 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -3
- package/dist/types/components/avatar/avatar.style.d.ts +2 -3
- package/dist/types/components/avatar/use-avatar-group.d.ts +3 -4
- package/dist/types/components/avatar/use-avatar.d.ts +3 -4
- package/dist/types/components/badge/badge.d.ts +3 -3
- package/dist/types/components/badge/badge.style.d.ts +2 -3
- package/dist/types/components/bleed/bleed.d.ts +3 -3
- package/dist/types/components/bleed/bleed.style.d.ts +2 -3
- package/dist/types/components/blockquote/blockquote.d.ts +11 -11
- package/dist/types/components/blockquote/blockquote.style.d.ts +2 -3
- package/dist/types/components/box/box.d.ts +2 -3
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +7 -7
- package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +2 -3
- package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +4 -5
- package/dist/types/components/button/button-group.d.ts +2 -3
- package/dist/types/components/button/button.d.ts +4 -3
- package/dist/types/components/button/button.style.d.ts +2 -3
- package/dist/types/components/button/icon-button.d.ts +3 -3
- package/dist/types/components/button/icon-button.style.d.ts +2 -3
- package/dist/types/components/calendar/calendar.d.ts +18 -17
- package/dist/types/components/calendar/calendar.style.d.ts +3 -4
- package/dist/types/components/calendar/use-calendar.d.ts +41 -41
- package/dist/types/components/card/card.d.ts +9 -9
- package/dist/types/components/card/card.style.d.ts +2 -3
- package/dist/types/components/carousel/carousel.d.ts +15 -15
- package/dist/types/components/carousel/carousel.style.d.ts +2 -3
- package/dist/types/components/carousel/use-carousel.d.ts +12 -12
- package/dist/types/components/center/center.d.ts +3 -3
- package/dist/types/components/center/center.style.d.ts +2 -3
- package/dist/types/components/chart/area-chart.d.ts +3 -3
- package/dist/types/components/chart/area-chart.style.d.ts +2 -3
- package/dist/types/components/chart/bar-chart.d.ts +3 -3
- package/dist/types/components/chart/bar-chart.style.d.ts +2 -3
- package/dist/types/components/chart/cartesian-chart.d.ts +19 -19
- package/dist/types/components/chart/cartesian-chart.style.d.ts +2 -3
- package/dist/types/components/chart/chart.d.ts +20 -20
- package/dist/types/components/chart/chart.style.d.ts +2 -3
- package/dist/types/components/chart/composed-chart.d.ts +5 -5
- package/dist/types/components/chart/composed-chart.style.d.ts +2 -3
- package/dist/types/components/chart/donut-chart.d.ts +3 -3
- package/dist/types/components/chart/donut-chart.style.d.ts +2 -3
- package/dist/types/components/chart/line-chart.d.ts +3 -3
- package/dist/types/components/chart/line-chart.style.d.ts +2 -3
- package/dist/types/components/chart/pie-chart.d.ts +3 -3
- package/dist/types/components/chart/pie-chart.style.d.ts +2 -3
- package/dist/types/components/chart/polar-chart.d.ts +22 -22
- package/dist/types/components/chart/polar-chart.style.d.ts +2 -3
- package/dist/types/components/chart/radar-chart.d.ts +3 -3
- package/dist/types/components/chart/radar-chart.style.d.ts +2 -3
- package/dist/types/components/chart/radial-chart.d.ts +3 -3
- package/dist/types/components/chart/radial-chart.style.d.ts +2 -3
- package/dist/types/components/chart/use-cartesian-chart.d.ts +24 -25
- package/dist/types/components/chart/use-chart.d.ts +15 -15
- package/dist/types/components/chart/use-polar-chart.d.ts +30 -31
- package/dist/types/components/checkbox/checkbox-group.d.ts +3 -3
- package/dist/types/components/checkbox/checkbox.d.ts +3 -3
- package/dist/types/components/checkbox/checkbox.style.d.ts +2 -3
- package/dist/types/components/checkbox/use-checkbox-group.d.ts +4 -4
- package/dist/types/components/checkbox/use-checkbox.d.ts +3 -4
- package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +3 -3
- package/dist/types/components/checkbox-card/checkbox-card.d.ts +9 -9
- package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +2 -3
- package/dist/types/components/circle-progress/circle-progress.d.ts +5 -5
- package/dist/types/components/circle-progress/circle-progress.style.d.ts +2 -3
- package/dist/types/components/client-only/client-only.d.ts +2 -3
- package/dist/types/components/close-button/close-button.d.ts +3 -3
- package/dist/types/components/close-button/close-button.style.d.ts +2 -3
- package/dist/types/components/code/code.d.ts +3 -3
- package/dist/types/components/code/code.style.d.ts +2 -3
- package/dist/types/components/collapse/collapse.d.ts +3 -3
- package/dist/types/components/collapse/collapse.style.d.ts +2 -3
- package/dist/types/components/color-picker/color-picker.d.ts +6 -3
- package/dist/types/components/color-picker/color-picker.style.d.ts +2 -3
- package/dist/types/components/color-picker/use-color-picker.d.ts +3 -4
- package/dist/types/components/color-selector/color-selector.d.ts +18 -17
- package/dist/types/components/color-selector/color-selector.style.d.ts +3 -4
- package/dist/types/components/color-selector/use-color-selector.d.ts +3 -4
- package/dist/types/components/color-swatch/color-swatch-group.d.ts +2 -3
- package/dist/types/components/color-swatch/color-swatch.d.ts +4 -4
- package/dist/types/components/color-swatch/color-swatch.style.d.ts +2 -3
- package/dist/types/components/container/container.d.ts +9 -9
- package/dist/types/components/container/container.style.d.ts +2 -3
- package/dist/types/components/data-list/data-list.d.ts +10 -10
- package/dist/types/components/data-list/data-list.style.d.ts +2 -3
- package/dist/types/components/date-picker/date-picker.d.ts +6 -3
- package/dist/types/components/date-picker/date-picker.style.d.ts +2 -3
- package/dist/types/components/date-picker/use-date-picker.d.ts +5 -6
- package/dist/types/components/drawer/drawer.d.ts +23 -23
- package/dist/types/components/drawer/drawer.style.d.ts +2 -3
- package/dist/types/components/drawer/use-drawer.d.ts +3 -4
- package/dist/types/components/dropzone/accept-types.d.ts +7 -8
- package/dist/types/components/dropzone/dropzone.d.ts +16 -15
- package/dist/types/components/dropzone/dropzone.style.d.ts +2 -3
- package/dist/types/components/dropzone/use-dropzone.d.ts +3 -4
- package/dist/types/components/editable/editable.d.ts +17 -17
- package/dist/types/components/editable/editable.style.d.ts +2 -3
- package/dist/types/components/editable/use-editable.d.ts +4 -4
- package/dist/types/components/em/em.d.ts +3 -3
- package/dist/types/components/em/em.style.d.ts +2 -3
- package/dist/types/components/empty-state/empty-state.d.ts +11 -11
- package/dist/types/components/empty-state/empty-state.style.d.ts +2 -3
- package/dist/types/components/fade/fade.d.ts +4 -4
- package/dist/types/components/fade/fade.style.d.ts +2 -3
- package/dist/types/components/fade-scale/fade-scale.d.ts +3 -4
- package/dist/types/components/fade-scale/fade-scale.style.d.ts +2 -3
- package/dist/types/components/field/field.d.ts +10 -10
- package/dist/types/components/field/field.style.d.ts +2 -3
- package/dist/types/components/field/use-field-props.d.ts +4 -5
- package/dist/types/components/fieldset/fieldset.d.ts +13 -13
- package/dist/types/components/fieldset/fieldset.style.d.ts +2 -3
- package/dist/types/components/file-button/file-button.d.ts +3 -3
- package/dist/types/components/file-button/file-button.style.d.ts +2 -3
- package/dist/types/components/file-button/use-file-button.d.ts +3 -4
- package/dist/types/components/file-input/file-input.d.ts +3 -3
- package/dist/types/components/file-input/file-input.style.d.ts +2 -3
- package/dist/types/components/file-input/use-file-input.d.ts +3 -4
- package/dist/types/components/flex/flex.d.ts +3 -3
- package/dist/types/components/flex/flex.style.d.ts +2 -3
- package/dist/types/components/flex/spacer.d.ts +2 -3
- package/dist/types/components/flip/flip.d.ts +3 -3
- package/dist/types/components/flip/flip.style.d.ts +2 -3
- package/dist/types/components/float/float.d.ts +3 -3
- package/dist/types/components/float/float.style.d.ts +2 -3
- package/dist/types/components/focus-lock/focus-lock.d.ts +3 -3
- package/dist/types/components/for/for.d.ts +2 -3
- package/dist/types/components/form/form.d.ts +17 -17
- package/dist/types/components/form/form.style.d.ts +2 -3
- package/dist/types/components/format/format-byte.d.ts +3 -3
- package/dist/types/components/format/format-byte.style.d.ts +2 -3
- package/dist/types/components/format/format-date-time.d.ts +3 -3
- package/dist/types/components/format/format-date-time.style.d.ts +2 -3
- package/dist/types/components/format/format-number.d.ts +3 -3
- package/dist/types/components/format/format-number.style.d.ts +2 -3
- package/dist/types/components/format/use-format-byte.d.ts +5 -6
- package/dist/types/components/format/use-format-date-time.d.ts +6 -7
- package/dist/types/components/format/use-format-number.d.ts +6 -7
- package/dist/types/components/grid/grid-item.d.ts +3 -3
- package/dist/types/components/grid/grid-item.style.d.ts +2 -3
- package/dist/types/components/grid/grid.d.ts +3 -3
- package/dist/types/components/grid/grid.style.d.ts +2 -3
- package/dist/types/components/group/group.d.ts +3 -3
- package/dist/types/components/group/group.style.d.ts +2 -3
- package/dist/types/components/group/use-group.d.ts +4 -5
- package/dist/types/components/heading/heading.d.ts +3 -3
- package/dist/types/components/heading/heading.style.d.ts +2 -3
- package/dist/types/components/highlight/highlight.d.ts +2 -3
- package/dist/types/components/highlight/use-highlight.d.ts +4 -5
- package/dist/types/components/hue-slider/hue-slider.d.ts +10 -9
- package/dist/types/components/hue-slider/hue-slider.style.d.ts +2 -3
- package/dist/types/components/icon/icon.d.ts +3 -3
- package/dist/types/components/icon/icon.style.d.ts +2 -3
- package/dist/types/components/icon/icons/a-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/a-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/a-large-small-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/accessibility-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/activity-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/air-vent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/airplay-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-smoke-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-center-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-center-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-end-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-end-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-distribute-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-distribute-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-distribute-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-justify-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-justify-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-justify-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-space-around-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-space-between-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-start-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-start-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-distribute-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-distribute-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-distribute-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-justify-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-justify-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-justify-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-space-around-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-space-between-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ambulance-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ampersand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ampersands-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/amphora-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/anchor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/angle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/antenna-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/anvil-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/aperture-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/app-window-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/app-window-mac-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/apple-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/archive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/archive-restore-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/archive-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/armchair-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-down-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-left-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-right-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-up-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-a-z-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-narrow-wide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-to-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-wide-narrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-z-a-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down01-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down10-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-a-z-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-from-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-narrow-wide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-wide-narrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-z-a-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up01-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up10-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrows-up-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/asterisk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/astroid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/at-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/atom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-lines-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-lines-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-lines-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-waveform-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/award-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/axe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/axis3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/baby-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/backpack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-cent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-dollar-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-indian-rupee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-info-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-japanese-yen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-russian-ruble-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-swiss-franc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-turkish-lira-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/baggage-claim-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/balloon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banana-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bandage-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/barcode-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/barrel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/baseline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bath-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-charging-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-full-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-low-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-medium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beaker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bean-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bean-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bed-double-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bed-single-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beef-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beef-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beer-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-electric-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-ring-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-horizontal-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-horizontal-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-vertical-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-vertical-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/biceps-flexed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bike-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/binary-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/binoculars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/biohazard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bird-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/birdhouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bitcoin-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blend-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blender-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blinds-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blocks-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-connected-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-searching-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bold-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bolt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bomb-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bone-fracture-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-a-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-audio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-copy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-headphones-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-image-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-open-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-open-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-up2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/boom-box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bot-message-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bot-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bottle-wine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bow-arrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/boxes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/braces-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brackets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brain-circuit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brain-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brick-wall-fire-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brick-wall-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brick-wall-shield-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bridge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-business-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-conveyor-belt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-medical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-plus-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/bring-to-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/broccoli-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/broom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/broom-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brush-cleaning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brush-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bubbles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bug-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bug-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/building-complex-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/building-complex-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/building-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bus-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cable-car-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cable-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cake-slice-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calculator-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-check2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-chevrons-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-days-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-fold-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-minus2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-plus2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-range-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-x2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/camera-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/camera-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/can-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/can-soda-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/candy-cane-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/candy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/candy-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cannabis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cannabis-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/captions-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/captions-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-battery-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-taxi-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/caravan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/card-sim-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/carrot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/carton-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/carton-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/case-lower-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/case-sensitive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/case-upper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cassette-tape-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cast-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/castle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cctv-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cctv-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-area-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-decreasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-stacked-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-candlestick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-decreasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-stacked-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-gantt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-network-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-column-decreasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-column-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-column-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-combined-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-gantt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-pie-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-scatter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-spline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/check-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/check-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chef-hat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cherry-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-bishop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-king-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-knight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-pawn-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-queen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-rook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-first-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-last-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-down-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-left-right-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-left-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-right-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/church-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cigarette-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cigarette-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-check-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dashed-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-divide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dollar-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dot-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-equal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-fading-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-fading-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-gauge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-parking-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-parking-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-pile-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-power-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-slash2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-small-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-stop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-user-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circuit-board-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/citrus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clapperboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clef-alto-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/clef-bass-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/clef-treble-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/clipboard-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-copy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-list-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-paste-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-pen-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-fading-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock10-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock11-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock12-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock6-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock7-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock8-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock9-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/closed-caption-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-backup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-download-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-drizzle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-fog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-hail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-lightning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-moon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-moon-rain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-rain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-rain-wind-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-snow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-sun-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-sun-rain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-upload-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloudy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clover-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/club-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/code-xml-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/coffee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/coins-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns3-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/combine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/command-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/compass-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/component-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/computer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/concierge-bell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/construction-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/contact-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/contact-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/container-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/contrast-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cookie-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cooking-pot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copyleft-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copyright-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-left-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-left-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-right-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-right-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cpu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/creative-commons-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-reader-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/croissant-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/crop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cross-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/crosshair-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/crown-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cuboid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cup-soda-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cupcake-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/currency-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cylinder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dam-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-backup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-zap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/decimals-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/decimals-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/delete-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dessert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diameter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice6-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dices-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc-album-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/divide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dna-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dna-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dollar-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dome-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/donut-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-closed-locked-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-closed-package-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/door-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-stairwell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/download-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drafting-compass-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drama-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drill-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/droplet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/droplet-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/droplets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drum-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drumstick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dumbbell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ear-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ear-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/earth-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/earth-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eclipse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/egg-fried-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/egg-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/egg-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eject-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ellipse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ellipsis-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/engine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-approximately-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-approximately-not-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-not-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eraser-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ethernet-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ev-charger-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/expand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/external-link-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-angry-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-expressionless-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-grinning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-neutral-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-slightly-frowning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-slightly-smiling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-slightly-smiling-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/factory-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fast-forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/faucet-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/feather-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fence-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ferris-wheel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-archive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-axis3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-badge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-braces-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-braces-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-column-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-column-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-pie-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-check-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-code-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-diff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-digit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-exclamation-point-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-headphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-image-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-input-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-minus-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-output-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-pen-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-plus-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-scan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-search-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-signal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-sliders-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-spreadsheet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-stack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-symlink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-terminal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-type-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-video-camera-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-volume-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-x-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/files-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/film-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fingerprint-pattern-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fire-extinguisher-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fish-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fish-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fish-symbol-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fishing-hook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fishing-rod-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-triangle-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-triangle-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flame-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flame-kindling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flashlight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flashlight-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flask-conical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flask-conical-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flask-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flower-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flower2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/focus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fold-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fold-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-archive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-git-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-git2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-input-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-open-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-output-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-root-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-search2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-symlink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-tree-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folders-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/footprints-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/forklift-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/form-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/frame-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fuel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fullscreen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/funnel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/funnel-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/funnel-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/galaxy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-horizontal-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-thumbnails-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-vertical-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gamepad-directional-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gamepad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gamepad2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gap-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gap-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gauge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gavel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gem-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/georgian-lari-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/germ-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/germ-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ghost-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gift-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-branch-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-branch-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-branch-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-commit-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-commit-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-compare-arrows-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-compare-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-fork-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-graph-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-merge-conflict-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-merge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-arrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-create-arrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-create-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-draft-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/glass-water-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/glasses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/goal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gpu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/graduation-cap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grape-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid3x2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid3x3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grip-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grip-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grip-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/group-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/guitar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ham-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hamburger-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hammer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-coins-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-fist-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-grab-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-helping-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-metal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-platter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/handbag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/handshake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-drive-download-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-drive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-drive-upload-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-hat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hat-glasses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/haze-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hd-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hdmi-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading6-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/headphone-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/headphones-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/headset-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-crack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-handshake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-pulse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heater-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/helicopter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hexagon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/highlighter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hop-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hospital-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hotel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hourglass-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hourglass-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-cog-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/house-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-plug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-wifi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/houses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ice-cream-bowl-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ice-cream-cone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/id-card-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/id-card-lanyard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-upscale-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/images-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/import-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/inbox-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/index.d.ts +22 -2
- package/dist/types/components/icon/icons/index.types.d.ts +1 -2
- package/dist/types/components/icon/icons/indian-rupee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/infinity-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/info-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/inspection-panel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/italic-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/iteration-ccw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/iteration-cw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/iv-bag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/japanese-yen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/joystick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/kayak-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/key-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/key-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/keyboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/keyboard-music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/keyboard-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lambda-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/lamp-ceiling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-desk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-floor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-wall-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-wall-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/land-plot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/landmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/languages-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/laptop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/laptop-minimal-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/laptop-minimal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lasso-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lasso-select-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layer-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layer-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-dashboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-freeform-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-grid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-list-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-panel-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-panel-top-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-template-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/leaf-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/leafy-green-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lectern-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lens-concave-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lens-convex-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/library-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/library-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/life-buoy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ligature-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lightbulb-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lightbulb-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lighthouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/line-dot-bottom-vertical-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/line-dot-left-horizontal-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/line-dot-right-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/line-dot-top-vertical-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/line-squiggle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/line-style-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/link-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/link2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/link2-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-checks-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-chevrons-down-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-chevrons-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-collapse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-filter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-filter-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-indent-decrease-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-indent-increase-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-ordered-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-restart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-sort-ascending-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-sort-descending-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-todo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-tree-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-video-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/loader-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/loader-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/loader-pinwheel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/locate-fixed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/locate-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/locate-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-keyhole-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-keyhole-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/log-in-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/log-out-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/logs-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lollipop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/luggage-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/magnet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-badge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mailbox-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mails-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-check-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-house-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-minus-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-plus-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-x-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pinned-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mars-stroke-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/martini-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/maximize-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/maximize2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/medal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/megaphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/megaphone-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/memory-stick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/menu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/merge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-dashed-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-more-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-reply-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-diff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-more-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-quote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-reply-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-share-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/messages-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/messages-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/metronome-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-audio-lines-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-signal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-vocal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/microchip-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/microscope-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/microwave-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/midi-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/milestone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/milk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/milk-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/minimize-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/minimize2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mirror-rectangular-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mirror-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-cloud-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-pc-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/monitor-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-smartphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-speaker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-stop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/moon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/moon-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mop-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mosque-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/motorbike-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mountain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mountain-snow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer-ban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer-click-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer2-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouth-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouth-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-diagonal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-diagonal2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation2-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nepali-rupee-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/network-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/newspaper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nfc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/non-binary-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-tabs-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notepad-text-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notepad-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nut-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nut-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/omega-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/option-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/orbit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/origami-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paint-bucket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paint-roller-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paintbrush-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paintbrush-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/palette-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panda-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-right-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-bottom-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panels-left-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panels-right-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panels-top-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paper-bag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paperclip-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/parasol-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/parentheses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/park-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/parking-meter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/party-popper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paw-print-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pc-case-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-tool-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-ruler-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pentagon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/person-standing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/philippine-peso-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-call-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-forwarded-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-incoming-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-missed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-outgoing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/piano-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pickaxe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/picture-in-picture-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/picture-in-picture2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/piggy-bank-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pilcrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pilcrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pilcrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pill-bottle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pill-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pin-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pin-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pipette-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pizza-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plane-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plane-landing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plane-takeoff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plant-pot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/play-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/playing-card-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/playing-cards-fan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/playing-cards-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plug-zap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plug2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pocket-knife-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/podium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pointer-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/popcorn-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/popsicle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/power-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/power-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/presentation-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/printer-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/printer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/printer-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/projector-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/proportions-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/puzzle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pyramid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/qr-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/quote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rabbit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radiation-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-receiver-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-tower-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radius-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rainbow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ratio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-cent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-indian-rupee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-japanese-yen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-russian-ruble-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-swiss-franc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-turkish-lira-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-goggles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/recycle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/redo-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/redo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/redo2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-ccw-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-ccw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-cw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-cw-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refrigerator-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/regex-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/remove-formatting-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/replace-all-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/replace-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/reply-all-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/reply-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rewind-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ribbon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/road-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/robot-arm-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/robot-vacuum-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rocket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rocking-chair-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/roller-coaster-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rose-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-cw-clock-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/rotate-cw-fading-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-cw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-cw-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/route-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/route-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/router-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rows2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rows3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rows4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rss-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ruler-dimension-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ruler-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/russian-ruble-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sailboat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/salad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sandwich-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/satellite-dish-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/satellite-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/saudi-riyal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-all-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scale-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scale3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scaling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-barcode-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-eye-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-face-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-qr-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/school-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scissors-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scissors-line-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scooter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/screen-share-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/screen-share-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scroll-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scroll-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/section-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/send-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/send-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/send-to-back-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/separator-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/separator-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-crash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/settings-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/settings2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shapes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/share-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/share2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sheet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shelving-unit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-ban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-cog-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-half-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-keyhole-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ship-cargo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ship-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ship-wheel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shirt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-bag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-basket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-cart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-cart-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-cart-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shovel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shower-head-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shredder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrimp-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrimp-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrub-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shuffle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sigma-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-high-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-low-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-medium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-zero-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signature-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signpost-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signpost-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/siren-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/skip-back-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/skip-forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/skull-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/slice-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sliders-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sliders-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/smartphone-charging-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/smartphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/smartphone-nfc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/snail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/snowflake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/soap-dispenser-droplet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sofa-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/solar-panel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/soup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/space-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spade-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sparkle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/speaker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/speech-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spell-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spell-check2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spline-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spool-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sport-shoe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spotlight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spray-can-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sprout-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-activity-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-right-enter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-right-exit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-asterisk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-bottom-dashed-scissors-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-centerline-dashed-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-centerline-dashed-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chart-gantt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-check-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-bottom-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-mouse-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-plus-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-dashed-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-top-solid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-x-corner-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-dashed-x-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-dimensions-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-divide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-equal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-exclamation-point-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-function-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-library-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-m-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-menu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-mouse-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-parking-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-parking-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pilcrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-power-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-radical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-round-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-scissors-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-sigma-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-sparkles-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-split-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-split-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-stack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-stop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-terminal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-user-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-exclude-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-intersect-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-subtract-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-unite-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squircle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squircle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squirrel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stamp-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-half-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/step-back-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/step-forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stethoscope-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-notes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/store-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stretch-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stretch-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/strikethrough-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/subscript-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/summary-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-dim-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-medium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-moon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-snow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sunrise-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sunset-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/superscript-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/swatch-book-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/swiss-franc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/switch-camera-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sword-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/swords-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/syringe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-cells-merge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-cells-split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-columns-split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-of-contents-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-properties-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-rows-split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tablet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tablet-smartphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tablets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tag-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tag-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tags-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tangent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/target-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/telescope-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tent-tree-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/terminal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/test-tube-diagonal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/test-tube-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/test-tubes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-justify-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-cursor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-cursor-input-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-initial-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-quote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-wrap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/theater-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thermometer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thermometer-snowflake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thermometer-sun-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thumbs-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thumbs-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tic-tac-toe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tickets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tickets-plane-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timeline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timer-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timer-reset-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toggle-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toggle-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toilet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tool-case-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toolbox-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toothbrush-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toothbrush-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tornado-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/torus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/touchpad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/touchpad-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/towel-rack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tower-control-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toy-brick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tractor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/traffic-cone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trailer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/train-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/train-front-tunnel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/train-track-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tram-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/transgender-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trash-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tree-deciduous-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tree-palm-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tree-pine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trees-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trending-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trending-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trending-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangles-centerline-dashed-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangles-centerline-dashed-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trophy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/truck-electric-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/truck-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tube-lotion-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/turkish-lira-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/turntable-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/turtle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tv-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tv-minimal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tv-minimal-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/type-outline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/umbrella-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/umbrella-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/underline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/undo-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/undo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/undo2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unfold-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unfold-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ungroup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/university-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unlink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unlink2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unplug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/upload-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/usb-c-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/usb-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-group-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-group-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-shield-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/users-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/users-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/utensils-crossed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/utensils-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/utility-pole-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/van-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/variable-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vault-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vector-polygon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vector-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vegan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/venetian-mask-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/venus-and-mars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/venus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vibrate-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vibrate-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/video-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/video-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/videotape-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/view-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/virus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/virus-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/voicemail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volleyball-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallet-cards-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallet-minimal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallpaper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wand-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/warehouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/washing-machine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/watch-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-ladder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waypoints-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webcam-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webcam-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webhook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webhook-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/weight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/weight-tilde-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wheat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wheat-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/whistle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/whole-word-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-high-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-low-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-zero-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wind-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wind-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wine-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/workflow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/worm-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wrench-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wrench-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/x-line-top-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zap-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-aquarius-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-aries-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-cancer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-capricorn-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-gemini-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-leo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-libra-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-ophiuchus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-pisces-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-sagittarius-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-scorpio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-taurus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-virgo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zoom-in-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zoom-out-icon.d.ts +1 -2
- package/dist/types/components/icon/index.d.ts +21 -1
- package/dist/types/components/icon/lucide-icon.d.ts +2 -3
- package/dist/types/components/image/image.d.ts +3 -3
- package/dist/types/components/image/image.style.d.ts +2 -3
- package/dist/types/components/indicator/indicator.d.ts +3 -3
- package/dist/types/components/indicator/indicator.style.d.ts +2 -3
- package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +3 -3
- package/dist/types/components/infinite-scroll-area/infinite-scroll-area.style.d.ts +2 -3
- package/dist/types/components/infinite-scroll-area/use-infinite-scroll.d.ts +2 -3
- package/dist/types/components/input/input-addon.d.ts +3 -3
- package/dist/types/components/input/input-addon.style.d.ts +2 -3
- package/dist/types/components/input/input-element.d.ts +3 -3
- package/dist/types/components/input/input-element.style.d.ts +2 -3
- package/dist/types/components/input/input-group.d.ts +2 -3
- package/dist/types/components/input/input.d.ts +3 -3
- package/dist/types/components/input/input.style.d.ts +5 -6
- package/dist/types/components/input/use-input-border.d.ts +3 -4
- package/dist/types/components/kbd/kbd.d.ts +3 -3
- package/dist/types/components/kbd/kbd.style.d.ts +2 -3
- package/dist/types/components/link/link.d.ts +3 -3
- package/dist/types/components/link/link.style.d.ts +2 -3
- package/dist/types/components/link-box/link-box.d.ts +5 -5
- package/dist/types/components/link-box/link-box.style.d.ts +2 -3
- package/dist/types/components/list/list.d.ts +8 -8
- package/dist/types/components/list/list.style.d.ts +2 -3
- package/dist/types/components/loading/audio.d.ts +2 -3
- package/dist/types/components/loading/circles.d.ts +2 -3
- package/dist/types/components/loading/dots.d.ts +2 -3
- package/dist/types/components/loading/grid.d.ts +2 -3
- package/dist/types/components/loading/loading-provider.d.ts +5 -6
- package/dist/types/components/loading/loading.d.ts +2 -2
- package/dist/types/components/loading/loading.style.d.ts +2 -3
- package/dist/types/components/loading/oval.d.ts +2 -3
- package/dist/types/components/loading/puff.d.ts +2 -3
- package/dist/types/components/loading/rings.d.ts +2 -3
- package/dist/types/components/loading/suspense.d.ts +2 -2
- package/dist/types/components/loading/use-loading-component.d.ts +4 -4
- package/dist/types/components/mark/mark.d.ts +3 -3
- package/dist/types/components/mark/mark.style.d.ts +2 -3
- package/dist/types/components/menu/menu.d.ts +32 -31
- package/dist/types/components/menu/menu.style.d.ts +2 -3
- package/dist/types/components/menu/use-menu.d.ts +21 -21
- package/dist/types/components/modal/modal.d.ts +21 -21
- package/dist/types/components/modal/modal.style.d.ts +2 -3
- package/dist/types/components/modal/use-modal.d.ts +3 -4
- package/dist/types/components/motion/factory.d.ts +1 -2
- package/dist/types/components/motion/index.types.d.ts +8 -8
- package/dist/types/components/motion/motion.d.ts +1 -2
- package/dist/types/components/motion/transition.d.ts +1 -2
- package/dist/types/components/native-accordion/native-accordion.d.ts +12 -12
- package/dist/types/components/native-accordion/native-accordion.style.d.ts +2 -3
- package/dist/types/components/native-accordion/use-native-accordion.d.ts +7 -7
- package/dist/types/components/native-popover/native-popover.d.ts +17 -17
- package/dist/types/components/native-popover/native-popover.style.d.ts +2 -3
- package/dist/types/components/native-popover/use-native-popover.d.ts +3 -4
- package/dist/types/components/native-select/native-select.d.ts +10 -9
- package/dist/types/components/native-select/native-select.style.d.ts +2 -3
- package/dist/types/components/native-select/use-native-select.d.ts +4 -5
- package/dist/types/components/native-table/native-table.d.ts +21 -21
- package/dist/types/components/native-table/native-table.style.d.ts +2 -3
- package/dist/types/components/notice/notice-provider.d.ts +2 -3
- package/dist/types/components/notice/notice.style.d.ts +2 -3
- package/dist/types/components/notice/use-notice.d.ts +3 -3
- package/dist/types/components/number-input/number-input.d.ts +4 -3
- package/dist/types/components/number-input/number-input.style.d.ts +2 -3
- package/dist/types/components/number-input/use-number-input.d.ts +3 -4
- package/dist/types/components/pagination/pagination.d.ts +18 -17
- package/dist/types/components/pagination/pagination.style.d.ts +2 -3
- package/dist/types/components/pagination/use-pagination.d.ts +5 -5
- package/dist/types/components/password-input/password-input.d.ts +4 -3
- package/dist/types/components/password-input/password-input.style.d.ts +2 -3
- package/dist/types/components/password-input/strength-meter.d.ts +3 -3
- package/dist/types/components/password-input/strength-meter.style.d.ts +2 -3
- package/dist/types/components/password-input/use-password-input.d.ts +3 -4
- package/dist/types/components/password-input/use-strength-meter.d.ts +3 -4
- package/dist/types/components/picture/picture.d.ts +5 -6
- package/dist/types/components/pin-input/pin-input.d.ts +5 -5
- package/dist/types/components/pin-input/pin-input.style.d.ts +2 -3
- package/dist/types/components/pin-input/use-pin-input.d.ts +4 -4
- package/dist/types/components/popover/popover.d.ts +21 -21
- package/dist/types/components/popover/popover.style.d.ts +2 -3
- package/dist/types/components/popover/use-popover.d.ts +5 -6
- package/dist/types/components/portal/portal.d.ts +2 -3
- package/dist/types/components/progress/progress.d.ts +3 -3
- package/dist/types/components/progress/progress.style.d.ts +2 -3
- package/dist/types/components/progress/use-progress.d.ts +9 -10
- package/dist/types/components/qr-code/qr-code.d.ts +9 -9
- package/dist/types/components/qr-code/qr-code.style.d.ts +2 -3
- package/dist/types/components/qr-code/use-qr-code.d.ts +3 -4
- package/dist/types/components/radio/radio-group.d.ts +3 -3
- package/dist/types/components/radio/radio.d.ts +3 -3
- package/dist/types/components/radio/radio.style.d.ts +2 -3
- package/dist/types/components/radio/use-radio-group.d.ts +4 -4
- package/dist/types/components/radio/use-radio.d.ts +3 -4
- package/dist/types/components/radio-card/radio-card-group.d.ts +3 -3
- package/dist/types/components/radio-card/radio-card.d.ts +9 -9
- package/dist/types/components/radio-card/radio-card.style.d.ts +2 -3
- package/dist/types/components/rating/rating.d.ts +2 -3
- package/dist/types/components/rating/rating.style.d.ts +2 -3
- package/dist/types/components/rating/use-rating.d.ts +7 -7
- package/dist/types/components/reorder/reorder.d.ts +8 -8
- package/dist/types/components/reorder/reorder.style.d.ts +2 -3
- package/dist/types/components/reorder/use-reorder.d.ts +7 -7
- package/dist/types/components/resizable/resizable.d.ts +7 -7
- package/dist/types/components/resizable/resizable.style.d.ts +2 -3
- package/dist/types/components/resizable/use-resizable.d.ts +13 -13
- package/dist/types/components/ripple/ripple.d.ts +3 -3
- package/dist/types/components/ripple/ripple.style.d.ts +2 -3
- package/dist/types/components/ripple/use-ripple.d.ts +4 -5
- package/dist/types/components/rotate/rotate.d.ts +3 -3
- package/dist/types/components/rotate/rotate.style.d.ts +2 -3
- package/dist/types/components/saturation-slider/saturation-slider.d.ts +7 -7
- package/dist/types/components/saturation-slider/saturation-slider.style.d.ts +2 -3
- package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +3 -4
- package/dist/types/components/scroll-area/scroll-area.d.ts +3 -3
- package/dist/types/components/scroll-area/scroll-area.style.d.ts +2 -3
- package/dist/types/components/scroll-area/use-scroll-area.d.ts +3 -4
- package/dist/types/components/segmented-control/segmented-control.d.ts +6 -6
- package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -3
- package/dist/types/components/segmented-control/use-segmented-control.d.ts +7 -7
- package/dist/types/components/select/select.d.ts +12 -11
- package/dist/types/components/select/select.style.d.ts +2 -3
- package/dist/types/components/select/use-select.d.ts +8 -8
- package/dist/types/components/separator/separator.d.ts +3 -3
- package/dist/types/components/separator/separator.style.d.ts +2 -3
- package/dist/types/components/show/show.d.ts +2 -3
- package/dist/types/components/sidebar/sidebar.d.ts +46 -44
- package/dist/types/components/sidebar/sidebar.style.d.ts +2 -3
- package/dist/types/components/sidebar/use-sidebar.d.ts +11 -11
- package/dist/types/components/simple-grid/simple-grid.d.ts +3 -3
- package/dist/types/components/simple-grid/simple-grid.style.d.ts +2 -3
- package/dist/types/components/skeleton/skeleton-circle.d.ts +2 -3
- package/dist/types/components/skeleton/skeleton-text.d.ts +2 -3
- package/dist/types/components/skeleton/skeleton.d.ts +3 -3
- package/dist/types/components/skeleton/skeleton.style.d.ts +2 -3
- package/dist/types/components/slide/slide.d.ts +4 -4
- package/dist/types/components/slide/slide.style.d.ts +2 -3
- package/dist/types/components/slide-fade/slide-fade.d.ts +4 -4
- package/dist/types/components/slide-fade/slide-fade.style.d.ts +2 -3
- package/dist/types/components/slider/slider.d.ts +15 -15
- package/dist/types/components/slider/slider.style.d.ts +2 -3
- package/dist/types/components/slider/use-slider.d.ts +3 -4
- package/dist/types/components/slot/slot.d.ts +3 -4
- package/dist/types/components/snacks/snacks.d.ts +4 -5
- package/dist/types/components/snacks/use-snacks.d.ts +5 -5
- package/dist/types/components/stack/h-stack.d.ts +3 -3
- package/dist/types/components/stack/h-stack.style.d.ts +2 -3
- package/dist/types/components/stack/stack.d.ts +3 -3
- package/dist/types/components/stack/stack.style.d.ts +2 -3
- package/dist/types/components/stack/v-stack.d.ts +3 -3
- package/dist/types/components/stack/v-stack.style.d.ts +2 -3
- package/dist/types/components/stack/z-stack.d.ts +3 -3
- package/dist/types/components/stack/z-stack.style.d.ts +2 -3
- package/dist/types/components/stat/stat.d.ts +13 -13
- package/dist/types/components/stat/stat.style.d.ts +3 -4
- package/dist/types/components/status/status.d.ts +4 -4
- package/dist/types/components/status/status.style.d.ts +2 -3
- package/dist/types/components/steps/steps.d.ts +28 -28
- package/dist/types/components/steps/steps.style.d.ts +2 -3
- package/dist/types/components/steps/use-steps.d.ts +8 -8
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/switch/switch.style.d.ts +2 -3
- package/dist/types/components/switch/use-switch.d.ts +3 -4
- package/dist/types/components/table/table.d.ts +5 -4
- package/dist/types/components/tabs/tabs.d.ts +12 -12
- package/dist/types/components/tabs/tabs.style.d.ts +2 -3
- package/dist/types/components/tabs/use-tabs.d.ts +10 -10
- package/dist/types/components/tag/tag.d.ts +3 -3
- package/dist/types/components/tag/tag.style.d.ts +2 -3
- package/dist/types/components/text/text.d.ts +3 -3
- package/dist/types/components/text/text.style.d.ts +2 -3
- package/dist/types/components/textarea/textarea.d.ts +3 -3
- package/dist/types/components/textarea/textarea.style.d.ts +2 -3
- package/dist/types/components/textarea/use-autosize.d.ts +3 -4
- package/dist/types/components/textarea/use-textarea.d.ts +3 -4
- package/dist/types/components/timeline/timeline.d.ts +16 -16
- package/dist/types/components/timeline/timeline.style.d.ts +2 -3
- package/dist/types/components/tip/tip.d.ts +3 -4
- package/dist/types/components/toggle/toggle-group.d.ts +2 -3
- package/dist/types/components/toggle/toggle.d.ts +3 -3
- package/dist/types/components/toggle/toggle.style.d.ts +2 -3
- package/dist/types/components/toggle/use-toggle-group.d.ts +4 -4
- package/dist/types/components/toggle/use-toggle.d.ts +3 -4
- package/dist/types/components/tooltip/tooltip.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.style.d.ts +2 -3
- package/dist/types/components/tooltip/use-tooltip.d.ts +5 -6
- package/dist/types/components/tree/tree.d.ts +7 -6
- package/dist/types/components/tree/tree.style.d.ts +2 -3
- package/dist/types/components/tree/use-tree.d.ts +12 -12
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +3 -3
- package/dist/types/components/visually-hidden/visually-hidden.style.d.ts +2 -3
- package/dist/types/components/wrap/wrap.d.ts +3 -3
- package/dist/types/components/wrap/wrap.style.d.ts +2 -3
- package/dist/types/core/components/create-component.d.ts +10 -11
- package/dist/types/core/components/index.types.d.ts +18 -19
- package/dist/types/core/components/props.d.ts +10 -11
- package/dist/types/core/components/use-component-style.d.ts +6 -7
- package/dist/types/core/components/utils.d.ts +8 -9
- package/dist/types/core/constant.d.ts +6 -7
- package/dist/types/core/css/animation.d.ts +3 -4
- package/dist/types/core/css/calc.d.ts +1 -2
- package/dist/types/core/css/color-mix.d.ts +1 -2
- package/dist/types/core/css/color-scheme.d.ts +1 -2
- package/dist/types/core/css/conditions.d.ts +39 -40
- package/dist/types/core/css/config.d.ts +4 -5
- package/dist/types/core/css/css.d.ts +3 -4
- package/dist/types/core/css/display.d.ts +1 -2
- package/dist/types/core/css/filter.d.ts +1 -2
- package/dist/types/core/css/focus-ring.d.ts +2 -3
- package/dist/types/core/css/function.d.ts +1 -2
- package/dist/types/core/css/gradient.d.ts +1 -2
- package/dist/types/core/css/grid.d.ts +1 -2
- package/dist/types/core/css/index.types.d.ts +29 -29
- package/dist/types/core/css/merge-css.d.ts +1 -2
- package/dist/types/core/css/style.d.ts +1 -2
- package/dist/types/core/css/styles.d.ts +62 -58
- package/dist/types/core/css/token.d.ts +1 -2
- package/dist/types/core/css/transform.d.ts +1 -2
- package/dist/types/core/css/transition.d.ts +1 -2
- package/dist/types/core/css/use-css.d.ts +2 -3
- package/dist/types/core/css/use-inject-vars.d.ts +2 -3
- package/dist/types/core/css/utils.d.ts +9 -10
- package/dist/types/core/generated-theme-tokens.types.d.ts +1 -2
- package/dist/types/core/system/breakpoint.d.ts +2 -3
- package/dist/types/core/system/color-mode-provider.d.ts +4 -4
- package/dist/types/core/system/config.d.ts +14 -15
- package/dist/types/core/system/create-system.d.ts +9 -10
- package/dist/types/core/system/environment-provider.d.ts +6 -7
- package/dist/types/core/system/factory.d.ts +1 -2
- package/dist/types/core/system/index.types.d.ts +58 -59
- package/dist/types/core/system/layer.d.ts +3 -4
- package/dist/types/core/system/storage-manager.d.ts +3 -4
- package/dist/types/core/system/storage-script.d.ts +4 -5
- package/dist/types/core/system/styled.d.ts +3 -4
- package/dist/types/core/system/system-provider.d.ts +3 -4
- package/dist/types/core/system/theme-provider.d.ts +5 -5
- package/dist/types/core/system/use-color-mode-value.d.ts +2 -3
- package/dist/types/core/system/use-system-color-mode.d.ts +2 -3
- package/dist/types/core/system/var.d.ts +11 -12
- package/dist/types/hooks/use-animation/index.d.ts +2 -3
- package/dist/types/hooks/use-async/index.d.ts +8 -9
- package/dist/types/hooks/use-async-callback/index.d.ts +4 -4
- package/dist/types/hooks/use-boolean/index.d.ts +2 -3
- package/dist/types/hooks/use-breakpoint/use-breakpoint-effect.d.ts +1 -2
- package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +1 -2
- package/dist/types/hooks/use-breakpoint/use-breakpoint-value.d.ts +2 -3
- package/dist/types/hooks/use-breakpoint/use-breakpoint.d.ts +1 -2
- package/dist/types/hooks/use-breakpoint/use-update-breakpoint-effect.d.ts +1 -2
- package/dist/types/hooks/use-clickable/index.d.ts +3 -4
- package/dist/types/hooks/use-clipboard/index.d.ts +2 -3
- package/dist/types/hooks/use-combobox/index.d.ts +18 -18
- package/dist/types/hooks/use-controllable-state/index.d.ts +8 -9
- package/dist/types/hooks/use-counter/index.d.ts +3 -4
- package/dist/types/hooks/use-descendants/index.d.ts +5 -6
- package/dist/types/hooks/use-disclosure/use-disclosure.d.ts +4 -5
- package/dist/types/hooks/use-disclosure/use-promise-disclosure.d.ts +3 -4
- package/dist/types/hooks/use-event-listener/index.d.ts +2 -3
- package/dist/types/hooks/use-eye-dropper/index.d.ts +2 -3
- package/dist/types/hooks/use-field-sizing/index.d.ts +3 -4
- package/dist/types/hooks/use-focus/index.d.ts +4 -5
- package/dist/types/hooks/use-hover/index.d.ts +1 -2
- package/dist/types/hooks/use-idle/index.d.ts +2 -3
- package/dist/types/hooks/use-interval/index.d.ts +1 -2
- package/dist/types/hooks/use-lazy-mount/index.d.ts +3 -4
- package/dist/types/hooks/use-local-storage/index.d.ts +4 -5
- package/dist/types/hooks/use-media-query/index.d.ts +1 -2
- package/dist/types/hooks/use-mounted/index.d.ts +4 -5
- package/dist/types/hooks/use-online/index.d.ts +3 -4
- package/dist/types/hooks/use-os/index.d.ts +2 -3
- package/dist/types/hooks/use-outside-click/index.d.ts +2 -3
- package/dist/types/hooks/use-pan-event/index.d.ts +3 -4
- package/dist/types/hooks/use-popper/index.d.ts +5 -6
- package/dist/types/hooks/use-previous/index.d.ts +1 -2
- package/dist/types/hooks/use-processing/index.d.ts +2 -3
- package/dist/types/hooks/use-resize-observer/index.d.ts +3 -4
- package/dist/types/hooks/use-timeout/index.d.ts +1 -2
- package/dist/types/hooks/use-value/index.d.ts +2 -3
- package/dist/types/hooks/use-window-event/index.d.ts +1 -2
- package/dist/types/index.d.ts +22 -2
- package/dist/types/providers/i18n-provider/i18n-cache.d.ts +1 -2
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +9 -9
- package/dist/types/providers/i18n-provider/icu.types.d.ts +1 -2
- package/dist/types/providers/i18n-provider/intl/index.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +4 -5
- package/dist/types/theme/config.d.ts +1 -2
- package/dist/types/theme/index.d.ts +2 -2
- package/dist/types/theme/semantic-tokens/index.d.ts +1 -2
- package/dist/types/theme/styles/index.d.ts +1 -2
- package/dist/types/theme/tokens/index.d.ts +1 -2
- package/dist/types/utils/children.d.ts +18 -19
- package/dist/types/utils/context.d.ts +3 -4
- package/dist/types/utils/dom.d.ts +6 -7
- package/dist/types/utils/effect.d.ts +3 -4
- package/dist/types/utils/index.types.d.ts +2 -3
- package/dist/types/utils/ref.d.ts +5 -6
- package/dist/types/utils/ssr.d.ts +1 -2
- package/dist/types/utils/store.d.ts +8 -9
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.cjs","names":["createSlotComponent","segmentedControlStyle","useValue","useSegmentedControl","useMemo","SegmentedControlContext","SegmentedControlDescendantsContext","LayoutGroup","styled","useSegmentedControlItem","motion"],"sources":["../../../../src/components/segmented-control/segmented-control.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { GenericsComponent, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { HTMLMotionProps } from \"../motion\"\nimport type { SegmentedControlStyle } from \"./segmented-control.style\"\nimport type {\n UseSegmentedControlItemProps,\n UseSegmentedControlProps,\n} from \"./use-segmented-control\"\nimport { LayoutGroup } from \"motion/react\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { motion } from \"../motion\"\nimport { segmentedControlStyle } from \"./segmented-control.style\"\nimport {\n SegmentedControlContext,\n SegmentedControlDescendantsContext,\n useSegmentedControl,\n useSegmentedControlItem,\n} from \"./use-segmented-control\"\n\nexport interface SegmentedControlItem extends SegmentedControlItemProps {\n label?: ReactNode\n}\n\ninterface ComponentContext extends Pick<\n SegmentedControlRootProps,\n \"indicatorProps\" | \"itemProps\"\n> {}\n\nexport interface SegmentedControlRootProps<Y extends string = string>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"onChange\">,\n ThemeProps<SegmentedControlStyle>,\n Omit<UseSegmentedControlProps<Y>, \"orientation\"> {\n /**\n * If provided, generate segmented control buttons but based on items.\n *\n * @default []\n */\n items?: SegmentedControlItem[]\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SegmentedControlIndicatorProps\n /**\n * Props for the item component.\n */\n itemProps?: SegmentedControlItemProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SegmentedControlPropsContext,\n useComponentContext,\n usePropsContext: useSegmentedControlPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<\n SegmentedControlRootProps,\n SegmentedControlStyle,\n ComponentContext\n>(\"segmented-control\", segmentedControlStyle)\n\nexport { SegmentedControlPropsContext, useSegmentedControlPropsContext }\n\n/**\n * `SegmentedControl` is a component used for allowing users to select one option from multiple choices.\n *\n * @see https://yamada-ui.com/docs/components/segmented-control\n */\nexport const SegmentedControlRoot = withProvider(\n ({\n children,\n items = [],\n orientation: orientationProp,\n indicatorProps,\n itemProps,\n ...rest\n }) => {\n const computedOrientation = useValue(orientationProp)\n const {\n id,\n name,\n descendants,\n disabled,\n orientation,\n readOnly,\n setValue,\n value,\n getRootProps,\n } = useSegmentedControl({ orientation: computedOrientation, ...rest })\n const cloneChildren = useMemo(() => {\n if (children) return children\n else\n return items.map(({ label, ...rest }, index) => (\n <SegmentedControlItem key={index} {...rest}>\n {label}\n </SegmentedControlItem>\n ))\n }, [children, items])\n const context = useMemo(\n () => ({ id, name, disabled, orientation, readOnly, setValue, value }),\n [id, name, disabled, readOnly, orientation, setValue, value],\n )\n const componentContext = useMemo(\n () => ({ indicatorProps, itemProps }),\n [itemProps, indicatorProps],\n )\n\n return (\n <SegmentedControlContext value={context}>\n <ComponentContext value={componentContext}>\n <SegmentedControlDescendantsContext value={descendants}>\n <LayoutGroup id={id}>\n <styled.div {...getRootProps()}>{cloneChildren}</styled.div>\n </LayoutGroup>\n </SegmentedControlDescendantsContext>\n </ComponentContext>\n </SegmentedControlContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)() as GenericsComponent<{\n <Y extends string = string>(props: SegmentedControlRootProps<Y>): ReactElement\n}>\n\nexport interface SegmentedControlItemProps<Y extends string = string>\n extends HTMLStyledProps<\"label\">, UseSegmentedControlItemProps<Y> {\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SegmentedControlIndicatorProps\n}\n\nexport const SegmentedControlItem = withContext<\n \"label\",\n SegmentedControlItemProps\n>(({ children, indicatorProps, ...rest }) => {\n const { checked, getInputProps, getLabelProps } =\n useSegmentedControlItem(rest)\n\n return (\n <styled.label {...getLabelProps()}>\n <styled.input {...getInputProps()} />\n\n <styled.span>{children}</styled.span>\n\n {checked ? <SegmentedControlIndicator {...indicatorProps} /> : null}\n </styled.label>\n )\n}, \"item\")((props) => {\n const { indicatorProps, itemProps } = useComponentContext()\n\n return {\n ...itemProps,\n ...props,\n indicatorProps: {\n ...indicatorProps,\n ...itemProps?.indicatorProps,\n ...props.indicatorProps,\n },\n }\n}) as GenericsComponent<{\n <Y extends string = string>(props: SegmentedControlItemProps<Y>): ReactElement\n}>\n\ninterface SegmentedControlIndicatorProps extends HTMLMotionProps {}\n\nconst SegmentedControlIndicator = withContext<\n \"div\",\n SegmentedControlIndicatorProps\n>(({ transition, ...props }) => {\n return (\n <motion.div\n layoutDependency={false}\n layoutId=\"indicator\"\n transition={{ duration: 0.2, ...transition }}\n {...props}\n />\n )\n}, \"indicator\")()\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"segmented-control.cjs","names":["createSlotComponent","segmentedControlStyle","useValue","useSegmentedControl","useMemo","SegmentedControlContext","SegmentedControlDescendantsContext","LayoutGroup","styled","useSegmentedControlItem","motion"],"sources":["../../../../src/components/segmented-control/segmented-control.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { GenericsComponent, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { HTMLMotionProps } from \"../motion\"\nimport type { SegmentedControlStyle } from \"./segmented-control.style\"\nimport type {\n UseSegmentedControlItemProps,\n UseSegmentedControlProps,\n} from \"./use-segmented-control\"\nimport { LayoutGroup } from \"motion/react\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { motion } from \"../motion\"\nimport { segmentedControlStyle } from \"./segmented-control.style\"\nimport {\n SegmentedControlContext,\n SegmentedControlDescendantsContext,\n useSegmentedControl,\n useSegmentedControlItem,\n} from \"./use-segmented-control\"\n\nexport interface SegmentedControlItem extends SegmentedControlItemProps {\n label?: ReactNode\n}\n\ninterface ComponentContext extends Pick<\n SegmentedControlRootProps,\n \"indicatorProps\" | \"itemProps\"\n> {}\n\nexport interface SegmentedControlRootProps<Y extends string = string>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"onChange\">,\n ThemeProps<SegmentedControlStyle>,\n Omit<UseSegmentedControlProps<Y>, \"orientation\"> {\n /**\n * If provided, generate segmented control buttons but based on items.\n *\n * @default []\n */\n items?: SegmentedControlItem[]\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SegmentedControlIndicatorProps\n /**\n * Props for the item component.\n */\n itemProps?: SegmentedControlItemProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SegmentedControlPropsContext,\n useComponentContext,\n usePropsContext: useSegmentedControlPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<\n SegmentedControlRootProps,\n SegmentedControlStyle,\n ComponentContext\n>(\"segmented-control\", segmentedControlStyle)\n\nexport { SegmentedControlPropsContext, useSegmentedControlPropsContext }\n\n/**\n * `SegmentedControl` is a component used for allowing users to select one option from multiple choices.\n *\n * @see https://yamada-ui.com/docs/components/segmented-control\n */\nexport const SegmentedControlRoot = withProvider(\n ({\n children,\n items = [],\n orientation: orientationProp,\n indicatorProps,\n itemProps,\n ...rest\n }) => {\n const computedOrientation = useValue(orientationProp)\n const {\n id,\n name,\n descendants,\n disabled,\n orientation,\n readOnly,\n setValue,\n value,\n getRootProps,\n } = useSegmentedControl({ orientation: computedOrientation, ...rest })\n const cloneChildren = useMemo(() => {\n if (children) return children\n else\n return items.map(({ label, ...rest }, index) => (\n <SegmentedControlItem key={index} {...rest}>\n {label}\n </SegmentedControlItem>\n ))\n }, [children, items])\n const context = useMemo(\n () => ({ id, name, disabled, orientation, readOnly, setValue, value }),\n [id, name, disabled, readOnly, orientation, setValue, value],\n )\n const componentContext = useMemo(\n () => ({ indicatorProps, itemProps }),\n [itemProps, indicatorProps],\n )\n\n return (\n <SegmentedControlContext value={context}>\n <ComponentContext value={componentContext}>\n <SegmentedControlDescendantsContext value={descendants}>\n <LayoutGroup id={id}>\n <styled.div {...getRootProps()}>{cloneChildren}</styled.div>\n </LayoutGroup>\n </SegmentedControlDescendantsContext>\n </ComponentContext>\n </SegmentedControlContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)() as GenericsComponent<{\n <Y extends string = string>(props: SegmentedControlRootProps<Y>): ReactElement\n}>\n\nexport interface SegmentedControlItemProps<Y extends string = string>\n extends HTMLStyledProps<\"label\">, UseSegmentedControlItemProps<Y> {\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SegmentedControlIndicatorProps\n}\n\nexport const SegmentedControlItem = withContext<\n \"label\",\n SegmentedControlItemProps\n>(({ children, indicatorProps, ...rest }) => {\n const { checked, getInputProps, getLabelProps } =\n useSegmentedControlItem(rest)\n\n return (\n <styled.label {...getLabelProps()}>\n <styled.input {...getInputProps()} />\n\n <styled.span>{children}</styled.span>\n\n {checked ? <SegmentedControlIndicator {...indicatorProps} /> : null}\n </styled.label>\n )\n}, \"item\")((props) => {\n const { indicatorProps, itemProps } = useComponentContext()\n\n return {\n ...itemProps,\n ...props,\n indicatorProps: {\n ...indicatorProps,\n ...itemProps?.indicatorProps,\n ...props.indicatorProps,\n },\n }\n}) as GenericsComponent<{\n <Y extends string = string>(props: SegmentedControlItemProps<Y>): ReactElement\n}>\n\ninterface SegmentedControlIndicatorProps extends HTMLMotionProps {}\n\nconst SegmentedControlIndicator = withContext<\n \"div\",\n SegmentedControlIndicatorProps\n>(({ transition, ...props }) => {\n return (\n <motion.div\n layoutDependency={false}\n layoutId=\"indicator\"\n transition={{ duration: 0.2, ...transition }}\n {...props}\n />\n )\n}, \"indicator\")()\n"],"mappings":";;;;;;;;;;;AAqDA,MAAM,EACJ,kBACA,cAAc,8BACd,qBACA,iBAAiB,iCACjB,aACA,iBACEA,yBAAAA,oBAIF,qBAAqBC,gCAAAA,qBAAqB;;;;;;AAS5C,MAAa,uBAAuB,cACjC,EACC,UACA,QAAQ,CAAC,GACT,aAAa,iBACb,gBACA,WACA,GAAG,WACC;CACJ,MAAM,sBAAsBC,8BAAAA,SAAS,eAAe;CACpD,MAAM,EACJ,IACA,MACA,aACA,UACA,aACA,UACA,UACA,OACA,iBACEC,8BAAAA,oBAAoB;EAAE,aAAa;EAAqB,GAAG;CAAK,CAAC;CACrE,MAAM,iBAAA,GAAgBC,MAAAA,QAAAA,OAAc;EAClC,IAAI,UAAU,OAAO;OAEnB,OA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,iBAAA,GAAA,kBAAA,IAAA,CAACA,gBAAAA,OAAO,MAAR,EAAc,SAAsB,CAAA;GAEnC,UAAU,iBAAA,GAAA,kBAAA,IAAA,CAAC,2BAAD,EAA2B,GAAI,eAAiB,CAAA,IAAI;EACnD;;AAElB,GAAG,MAAM,CAAC,EAAE,UAAU;CACpB,MAAM,EAAE,gBAAgB,cAAc,oBAAoB;CAE1D,OAAO;EACL,GAAG;EACH,GAAG;EACH,gBAAgB;GACd,GAAG;GACH,GAAG,WAAW;GACd,GAAG,MAAM;EACX;CACF;AACF,CAAC;AAMD,MAAM,4BAA4B,aAG/B,EAAE,YAAY,GAAG,YAAY;CAC9B,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACE,kBAAAA,OAAO,KAAR;EACE,kBAAkB;EAClB,UAAS;EACT,YAAY;GAAE,UAAU;GAAK,GAAG;EAAW;EAC3C,GAAI;CACL,CAAA;AAEL,GAAG,WAAW,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-segmented-control.cjs","names":["createContext","createDescendants","useId","useControllableState","useCallback","mergeProps","visuallyHiddenAttributes","mergeRefs"],"sources":["../../../../src/components/segmented-control/use-segmented-control.ts"],"sourcesContent":["\"use client\"\n\nimport type { ChangeEvent } from \"react\"\nimport type { HTMLProps, Orientation, PropGetter } from \"../../core\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback, useId } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { createDescendants } from \"../../hooks/use-descendants\"\nimport {\n ariaAttr,\n createContext,\n dataAttr,\n handlerAll,\n mergeRefs,\n visuallyHiddenAttributes,\n} from \"../../utils\"\n\ninterface SegmentedControlContext extends Omit<\n UseSegmentedControlReturn,\n \"descendants\" | \"getRootProps\"\n> {}\n\nconst [SegmentedControlContext, useSegmentedControlContext] =\n createContext<SegmentedControlContext>({\n name: \"SegmentedControlContext\",\n })\n\nexport { SegmentedControlContext, useSegmentedControlContext }\n\nconst {\n DescendantsContext: SegmentedControlDescendantsContext,\n useDescendant: useSegmentedControlDescendant,\n useDescendants: useSegmentedControlDescendants,\n} = createDescendants<HTMLInputElement>()\n\nexport {\n SegmentedControlDescendantsContext,\n useSegmentedControlDescendant,\n useSegmentedControlDescendants,\n}\n\nexport interface UseSegmentedControlProps<\n Y extends string = string,\n> extends Omit<HTMLProps, \"onChange\"> {\n /**\n * The initial value of the segmented control.\n */\n defaultValue?: Y\n /**\n * If `true`, the segmented control will be disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * The HTML `name` attribute used for forms.\n */\n name?: string\n /**\n * The orientation of the segmented control.\n *\n * @default 'horizontal'\n */\n orientation?: Orientation\n /**\n * If `true`, the segmented control will be readonly.\n *\n * @default false\n */\n readOnly?: boolean\n /**\n * The value of the segmented control.\n */\n value?: Y\n /**\n * The callback fired when any children radio is checked or unchecked.\n */\n onChange?: (value: Y) => void\n}\n\nexport const useSegmentedControl = <Y extends string = string>({\n id,\n name,\n defaultValue,\n disabled,\n orientation = \"horizontal\",\n readOnly,\n value: valueProp,\n onChange: onChangeProp,\n ...rest\n}: UseSegmentedControlProps<Y> = {}) => {\n const uuid = useId()\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const descendants = useSegmentedControlDescendants()\n\n id ??= uuid\n name ??= uuid\n\n const getRootProps: PropGetter = useCallback(\n (props) =>\n mergeProps(\n {\n id,\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-orientation\": orientation,\n \"data-disabled\": dataAttr(disabled),\n \"data-orientation\": orientation,\n \"data-readonly\": dataAttr(readOnly),\n role: \"radiogroup\",\n },\n rest,\n props,\n )(),\n [disabled, id, orientation, readOnly, rest],\n )\n\n return {\n id,\n name,\n descendants,\n disabled,\n orientation,\n readOnly,\n setValue,\n value,\n getRootProps,\n }\n}\n\nexport type UseSegmentedControlReturn = ReturnType<typeof useSegmentedControl>\n\nexport interface UseSegmentedControlItemProps<Y extends string = string>\n extends HTMLProps<\"label\">, Pick<FieldProps, \"disabled\" | \"readOnly\"> {\n /**\n * The value of the segmented control item.\n */\n value: Y\n /**\n * Props for the input element.\n */\n inputProps?: HTMLProps<\"input\">\n}\n\nexport const useSegmentedControlItem = <Y extends string = string>({\n disabled,\n readOnly,\n value,\n inputProps,\n ...rest\n}: UseSegmentedControlItemProps<Y>) => {\n const {\n name,\n disabled: rootDisabled,\n orientation,\n readOnly: rootReadOnly,\n setValue,\n value: selectedValue,\n } = useSegmentedControlContext()\n const { register } = useSegmentedControlDescendant({\n disabled: disabled || readOnly,\n })\n const checked = value === selectedValue\n const trulyDisabled = disabled ?? rootDisabled\n const trulyReadOnly = readOnly ?? rootReadOnly\n const interactive = !(trulyReadOnly || trulyDisabled)\n\n const onChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n setValue(ev.target.value)\n },\n [setValue],\n )\n\n const getLabelProps: PropGetter<\"label\"> = useCallback(\n (props) =>\n mergeProps(\n {\n \"aria-disabled\": ariaAttr(trulyDisabled),\n \"data-checked\": dataAttr(checked),\n \"data-disabled\": dataAttr(trulyDisabled),\n \"data-orientation\": orientation,\n \"data-readonly\": dataAttr(trulyReadOnly),\n \"data-root-disabled\": dataAttr(rootDisabled),\n \"data-root-readonly\": dataAttr(rootReadOnly),\n },\n rest,\n props,\n )(),\n [\n orientation,\n trulyDisabled,\n trulyReadOnly,\n checked,\n rootDisabled,\n rootReadOnly,\n rest,\n ],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n ({ ref, ...props } = {}) => ({\n type: \"radio\",\n name,\n style: visuallyHiddenAttributes.style,\n \"aria-disabled\": ariaAttr(trulyDisabled),\n \"data-checked\": dataAttr(checked),\n \"data-disabled\": dataAttr(trulyDisabled),\n \"data-orientation\": orientation,\n \"data-readonly\": dataAttr(trulyReadOnly),\n checked,\n disabled: trulyDisabled || trulyReadOnly,\n readOnly: trulyReadOnly,\n tabIndex: interactive ? undefined : -1,\n value,\n ...inputProps,\n ...props,\n ref: mergeRefs(register, ref),\n onChange: handlerAll(props.onChange, inputProps?.onChange, onChange),\n }),\n [\n orientation,\n name,\n trulyDisabled,\n trulyReadOnly,\n checked,\n interactive,\n value,\n inputProps,\n register,\n onChange,\n ],\n )\n\n return {\n checked,\n getInputProps,\n getLabelProps,\n }\n}\n\nexport type UseSegmentedControlItemReturn = ReturnType<\n typeof useSegmentedControlItem\n>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-segmented-control.cjs","names":["createContext","createDescendants","useId","useControllableState","useCallback","mergeProps","visuallyHiddenAttributes","mergeRefs"],"sources":["../../../../src/components/segmented-control/use-segmented-control.ts"],"sourcesContent":["\"use client\"\n\nimport type { ChangeEvent } from \"react\"\nimport type { HTMLProps, Orientation, PropGetter } from \"../../core\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback, useId } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { createDescendants } from \"../../hooks/use-descendants\"\nimport {\n ariaAttr,\n createContext,\n dataAttr,\n handlerAll,\n mergeRefs,\n visuallyHiddenAttributes,\n} from \"../../utils\"\n\ninterface SegmentedControlContext extends Omit<\n UseSegmentedControlReturn,\n \"descendants\" | \"getRootProps\"\n> {}\n\nconst [SegmentedControlContext, useSegmentedControlContext] =\n createContext<SegmentedControlContext>({\n name: \"SegmentedControlContext\",\n })\n\nexport { SegmentedControlContext, useSegmentedControlContext }\n\nconst {\n DescendantsContext: SegmentedControlDescendantsContext,\n useDescendant: useSegmentedControlDescendant,\n useDescendants: useSegmentedControlDescendants,\n} = createDescendants<HTMLInputElement>()\n\nexport {\n SegmentedControlDescendantsContext,\n useSegmentedControlDescendant,\n useSegmentedControlDescendants,\n}\n\nexport interface UseSegmentedControlProps<\n Y extends string = string,\n> extends Omit<HTMLProps, \"onChange\"> {\n /**\n * The initial value of the segmented control.\n */\n defaultValue?: Y\n /**\n * If `true`, the segmented control will be disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * The HTML `name` attribute used for forms.\n */\n name?: string\n /**\n * The orientation of the segmented control.\n *\n * @default 'horizontal'\n */\n orientation?: Orientation\n /**\n * If `true`, the segmented control will be readonly.\n *\n * @default false\n */\n readOnly?: boolean\n /**\n * The value of the segmented control.\n */\n value?: Y\n /**\n * The callback fired when any children radio is checked or unchecked.\n */\n onChange?: (value: Y) => void\n}\n\nexport const useSegmentedControl = <Y extends string = string>({\n id,\n name,\n defaultValue,\n disabled,\n orientation = \"horizontal\",\n readOnly,\n value: valueProp,\n onChange: onChangeProp,\n ...rest\n}: UseSegmentedControlProps<Y> = {}) => {\n const uuid = useId()\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const descendants = useSegmentedControlDescendants()\n\n id ??= uuid\n name ??= uuid\n\n const getRootProps: PropGetter = useCallback(\n (props) =>\n mergeProps(\n {\n id,\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-orientation\": orientation,\n \"data-disabled\": dataAttr(disabled),\n \"data-orientation\": orientation,\n \"data-readonly\": dataAttr(readOnly),\n role: \"radiogroup\",\n },\n rest,\n props,\n )(),\n [disabled, id, orientation, readOnly, rest],\n )\n\n return {\n id,\n name,\n descendants,\n disabled,\n orientation,\n readOnly,\n setValue,\n value,\n getRootProps,\n }\n}\n\nexport type UseSegmentedControlReturn = ReturnType<typeof useSegmentedControl>\n\nexport interface UseSegmentedControlItemProps<Y extends string = string>\n extends HTMLProps<\"label\">, Pick<FieldProps, \"disabled\" | \"readOnly\"> {\n /**\n * The value of the segmented control item.\n */\n value: Y\n /**\n * Props for the input element.\n */\n inputProps?: HTMLProps<\"input\">\n}\n\nexport const useSegmentedControlItem = <Y extends string = string>({\n disabled,\n readOnly,\n value,\n inputProps,\n ...rest\n}: UseSegmentedControlItemProps<Y>) => {\n const {\n name,\n disabled: rootDisabled,\n orientation,\n readOnly: rootReadOnly,\n setValue,\n value: selectedValue,\n } = useSegmentedControlContext()\n const { register } = useSegmentedControlDescendant({\n disabled: disabled || readOnly,\n })\n const checked = value === selectedValue\n const trulyDisabled = disabled ?? rootDisabled\n const trulyReadOnly = readOnly ?? rootReadOnly\n const interactive = !(trulyReadOnly || trulyDisabled)\n\n const onChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n setValue(ev.target.value)\n },\n [setValue],\n )\n\n const getLabelProps: PropGetter<\"label\"> = useCallback(\n (props) =>\n mergeProps(\n {\n \"aria-disabled\": ariaAttr(trulyDisabled),\n \"data-checked\": dataAttr(checked),\n \"data-disabled\": dataAttr(trulyDisabled),\n \"data-orientation\": orientation,\n \"data-readonly\": dataAttr(trulyReadOnly),\n \"data-root-disabled\": dataAttr(rootDisabled),\n \"data-root-readonly\": dataAttr(rootReadOnly),\n },\n rest,\n props,\n )(),\n [\n orientation,\n trulyDisabled,\n trulyReadOnly,\n checked,\n rootDisabled,\n rootReadOnly,\n rest,\n ],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n ({ ref, ...props } = {}) => ({\n type: \"radio\",\n name,\n style: visuallyHiddenAttributes.style,\n \"aria-disabled\": ariaAttr(trulyDisabled),\n \"data-checked\": dataAttr(checked),\n \"data-disabled\": dataAttr(trulyDisabled),\n \"data-orientation\": orientation,\n \"data-readonly\": dataAttr(trulyReadOnly),\n checked,\n disabled: trulyDisabled || trulyReadOnly,\n readOnly: trulyReadOnly,\n tabIndex: interactive ? undefined : -1,\n value,\n ...inputProps,\n ...props,\n ref: mergeRefs(register, ref),\n onChange: handlerAll(props.onChange, inputProps?.onChange, onChange),\n }),\n [\n orientation,\n name,\n trulyDisabled,\n trulyReadOnly,\n checked,\n interactive,\n value,\n inputProps,\n register,\n onChange,\n ],\n )\n\n return {\n checked,\n getInputProps,\n getLabelProps,\n }\n}\n\nexport type UseSegmentedControlItemReturn = ReturnType<\n typeof useSegmentedControlItem\n>\n"],"mappings":";;;;;;;;;;AAuBA,MAAM,CAAC,yBAAy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le","XIcon","useGroupItemProps","usePopoverStyleProps","useMemo","createComboboxItem","useSelect","createComboboxChildren","useInputBorder","ComboboxDescendantsContext","ComboboxContext","SelectContext","styled","mergeProps","useInputPropsContext","ChevronDownIcon","useComboboxGroupContext","useComboboxGroup","ComboboxGroupContext","useSelectOption","CheckIcon"],"sources":["../../../../src/components/select/select.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type {\n GenericsComponent,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type {\n ComboboxItem,\n UseComboboxGroupProps,\n} from \"../../hooks/use-combobox\"\nimport type { Merge } from \"../../utils\"\nimport type { UseInputBorderProps } from \"../input\"\nimport type { UsePopoverStyleProps, UsePopupAnimationProps } from \"../popover\"\nimport type { SelectStyle } from \"./select.style\"\nimport type {\n UseSelectOptionProps,\n UseSelectProps,\n UseSelectReturn,\n} from \"./use-select\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport {\n ComboboxContext,\n ComboboxDescendantsContext,\n ComboboxGroupContext,\n createComboboxChildren,\n createComboboxItem,\n useComboboxGroup,\n useComboboxGroupContext,\n} from \"../../hooks/use-combobox\"\nimport { cast, isArray } from \"../../utils\"\nimport { useGroupItemProps } from \"../group\"\nimport { CheckIcon, ChevronDownIcon, XIcon } from \"../icon\"\nimport { InputGroup, useInputBorder, useInputPropsContext } from \"../input\"\nimport { Popover, usePopoverStyleProps } from \"../popover\"\nimport { selectStyle } from \"./select.style\"\nimport { SelectContext, useSelect, useSelectOption } from \"./use-select\"\n\ninterface ComponentContext\n extends\n Pick<UseSelectReturn, \"getSeparatorProps\">,\n Pick<SelectRootProps, \"groupProps\" | \"optionProps\"> {}\n\nexport interface SelectRootProps<Multiple extends boolean = false>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"offset\" | \"onChange\" | \"value\">,\n Merge<UseSelectProps<Multiple>, UsePopoverStyleProps>,\n UsePopupAnimationProps,\n ThemeProps<SelectStyle>,\n UseInputBorderProps {\n /**\n * If `true`, display the clear icon.\n *\n * @default false\n */\n clearable?: boolean\n /**\n * The icon to be used in the clear button.\n */\n clearIcon?: ReactNode\n /**\n * The icon to be used in the select.\n */\n icon?: ReactNode\n /**\n * Props for content element.\n */\n contentProps?: SelectContentProps\n /**\n * The props for the end element.\n */\n elementProps?: InputGroup.ElementProps\n /**\n * Props for group element.\n */\n groupProps?: Omit<SelectGroupProps, \"children\" | \"label\">\n /**\n * Props for icon element.\n */\n iconProps?: SelectIconProps\n /**\n * Props for option element.\n */\n optionProps?: Omit<SelectOptionProps, \"children\" | \"value\">\n /**\n * Props for placeholder element.\n */\n placeholderProps?: Omit<SelectOptionProps, \"children\" | \"value\">\n /**\n * Props for root element.\n */\n rootProps?: InputGroup.RootProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SelectPropsContext,\n useComponentContext,\n usePropsContext: useSelectPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SelectRootProps, SelectStyle, ComponentContext>(\n \"select\",\n selectStyle,\n)\n\nexport { SelectPropsContext, useSelectPropsContext }\n\n/**\n * `Select` is a component used for allowing a user to choose one option from a list.\n *\n * @see https://yamada-ui.com/docs/components/select\n */\nexport const SelectRoot = withProvider<\"div\", SelectRootProps>(\n <Multiple extends boolean = false>(props: SelectRootProps<Multiple>) => {\n const [\n groupItemProps,\n {\n className,\n css,\n colorScheme,\n animationScheme = \"block-start\",\n children,\n clearable,\n clearIcon = <XIcon />,\n duration,\n errorBorderColor,\n focusBorderColor,\n icon,\n items: itemsProp,\n contentProps,\n elementProps,\n groupProps,\n iconProps,\n optionProps,\n placeholderProps,\n rootProps,\n ...rest\n },\n ] = useGroupItemProps(props)\n const popoverStyleProps = usePopoverStyleProps(rest)\n const items = useMemo<ComboboxItem[]>(() => {\n if (itemsProp) return itemsProp\n\n return createComboboxItem(children, {\n Group: SelectGroup,\n Label: SelectLabel,\n Option: SelectOption,\n })\n }, [itemsProp, children])\n const {\n descendants,\n includePlaceholder,\n items: computedItems,\n max,\n placeholder,\n value,\n getClearIconProps,\n getContentProps,\n getFieldProps,\n getIconProps,\n getInputProps,\n getRootProps,\n getSeparatorProps,\n popoverProps,\n onActiveDescendant,\n onChange,\n onClose,\n onSelect,\n } = useSelect({ items, ...rest, ...popoverStyleProps })\n const mergedPopoverProps = useMemo<Popover.RootProps>(\n () => ({\n animationScheme,\n duration,\n ...popoverProps,\n }),\n [animationScheme, duration, popoverProps],\n )\n const computedChildren = useMemo(() => {\n if (children)\n return (\n <>\n {placeholder ? (\n <SelectOption\n {...placeholderProps}\n hidden={!includePlaceholder}\n value=\"\"\n >\n {placeholder}\n </SelectOption>\n ) : null}\n\n {children}\n </>\n )\n\n return createComboboxChildren(computedItems, {\n Group: SelectGroup,\n Option: SelectOption,\n })\n }, [\n children,\n computedItems,\n placeholder,\n includePlaceholder,\n placeholderProps,\n ])\n const varProps = useInputBorder({ errorBorderColor, focusBorderColor })\n const comboboxContext = useMemo(\n () => ({ max, value, onActiveDescendant, onChange, onClose, onSelect }),\n [max, onActiveDescendant, onChange, onClose, onSelect, value],\n )\n const selectContext = useMemo(() => ({ max, value }), [max, value])\n const componentContext = useMemo(\n () => ({ getSeparatorProps, groupProps, optionProps }),\n [getSeparatorProps, groupProps, optionProps],\n )\n const hasValue = isArray(value) ? !!value.length : !!value\n\n return (\n <ComboboxDescendantsContext value={descendants}>\n <ComboboxContext value={comboboxContext}>\n <SelectContext value={selectContext}>\n <ComponentContext value={componentContext}>\n <Popover.Root {...mergedPopoverProps}>\n <styled.input {...getInputProps()} />\n\n <InputGroup.Root\n {...mergeProps(\n { className, css, colorScheme },\n getRootProps(groupItemProps),\n rootProps,\n )()}\n >\n <Popover.Trigger>\n <SelectField {...getFieldProps({ ...varProps })} />\n </Popover.Trigger>\n\n <InputGroup.Element\n {...{ clickable: clearable && hasValue, ...elementProps }}\n >\n {clearable && hasValue ? (\n <SelectIcon\n icon={clearIcon}\n {...getClearIconProps(iconProps)}\n />\n ) : (\n <SelectIcon icon={icon} {...getIconProps(iconProps)} />\n )}\n </InputGroup.Element>\n </InputGroup.Root>\n\n <SelectContent\n {...cast<SelectContentProps>(\n getContentProps(cast<HTMLProps>(contentProps)),\n )}\n >\n {computedChildren}\n </SelectContent>\n </Popover.Root>\n </ComponentContext>\n </SelectContext>\n </ComboboxContext>\n </ComboboxDescendantsContext>\n )\n },\n \"root\",\n)((props) => {\n const context = useInputPropsContext()\n\n return mergeProps(context, props)()\n}) as GenericsComponent<{\n <Multiple extends boolean = false>(\n props: SelectRootProps<Multiple>,\n ): ReactElement\n}>\n\ninterface SelectFieldProps extends HTMLStyledProps {}\n\nconst SelectField = withContext<\"div\", SelectFieldProps>(\"div\", \"field\")(\n { \"data-group-propagate\": \"\" },\n ({ children, ...rest }) => ({\n ...rest,\n children: <SelectValueText>{children}</SelectValueText>,\n }),\n)\n\ninterface SelectIconProps extends HTMLStyledProps {\n icon?: ReactNode\n}\n\nconst SelectIcon = withContext<\"div\", SelectIconProps>(\"div\", \"icon\")(\n undefined,\n ({ children, icon, ...rest }) => ({\n children: icon || children || <ChevronDownIcon />,\n ...rest,\n }),\n)\n\ninterface SelectValueTextProps extends HTMLProps<\"span\"> {}\n\nconst SelectValueText = withContext<\"span\", SelectValueTextProps>(\n \"span\",\n \"valueText\",\n)()\n\ninterface SelectContentProps extends Popover.ContentProps {}\n\nconst SelectContent = withContext<\"div\", SelectContentProps>(\n Popover.Content,\n \"content\",\n)()\n\nexport interface SelectLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SelectLabel = withContext<\"span\", SelectLabelProps>(\n \"span\",\n \"label\",\n)(undefined, (props) => {\n const { getLabelProps } = useComboboxGroupContext()\n\n return getLabelProps(props)\n})\n\nexport interface SelectGroupProps\n extends UseComboboxGroupProps, HTMLStyledProps {\n /**\n * The label of the group.\n */\n label?: ReactNode\n /**\n * Props for the label component.\n */\n labelProps?: SelectLabelProps\n}\n\nexport const SelectGroup = withContext<\"div\", SelectGroupProps>(\n ({ children, label, labelProps, ...rest }) => {\n const { groupProps } = useComponentContext()\n const { getGroupProps, getLabelProps } = useComboboxGroup(\n mergeProps(groupProps, rest)(),\n )\n const context = useMemo(() => ({ getLabelProps }), [getLabelProps])\n\n return (\n <ComboboxGroupContext value={context}>\n <styled.div {...getGroupProps()}>\n {label ? <SelectLabel {...labelProps}>{label}</SelectLabel> : null}\n {children}\n </styled.div>\n </ComboboxGroupContext>\n )\n },\n \"group\",\n)()\n\nexport interface SelectOptionProps\n extends UseSelectOptionProps, HTMLStyledProps {\n /**\n * The icon to be used in the select option.\n */\n icon?: ReactNode\n}\n\nexport const SelectOption = withContext<\"div\", SelectOptionProps>(\n ({ children, icon: iconProp, ...rest }) => {\n const { optionProps: { icon, ...optionProps } = {} } = useComponentContext()\n const { getIndicatorProps, getOptionProps } = useSelectOption(\n mergeProps(optionProps, rest)(),\n )\n\n return (\n <styled.div {...getOptionProps()}>\n <SelectIndicator {...getIndicatorProps()}>\n {iconProp ?? icon ?? <CheckIcon />}\n </SelectIndicator>\n {children}\n </styled.div>\n )\n },\n \"option\",\n)()\n\ninterface SelectIndicatorProps extends HTMLStyledProps {}\n\nconst SelectIndicator = withContext<\"div\", SelectIndicatorProps>(\n \"div\",\n \"indicator\",\n)()\n\nexport interface SelectSeparatorProps extends HTMLStyledProps<\"hr\"> {}\n\nexport const SelectSeparator = withContext<\"hr\", SelectSeparatorProps>(\n \"hr\",\n \"separator\",\n)(undefined, (props) => {\n const { getSeparatorProps } = useComponentContext()\n\n return getSeparatorProps(props)\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiGA,MAAM,EACJ,kBACA,cAAc,oBACd,qBACA,iBAAiB,uBACjB,aACA,iBACEA,yBAAAA,oBACF,UACAC,qBAAAA,WACF;;;;;;AASA,MAAa,aAAa,cACW,UAAqC;CACtE,MAAM,CACJ,gBACA,EACE,WACA,KACA,aACA,kBAAkB,eAClB,UACA,WACA,YAAY,iB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oB;CAElD,OAAO,kBAAkB,KAAK;AAChC,CAAC"}
|
|
1
|
+
{"version":3,"file":"select.cjs","names":["createSlotComponent","selectStyle","XIcon","useGroupItemProps","usePopoverStyleProps","useMemo","createComboboxItem","useSelect","createComboboxChildren","useInputBorder","ComboboxDescendantsContext","ComboboxContext","SelectContext","styled","mergeProps","useInputPropsContext","ChevronDownIcon","useComboboxGroupContext","useComboboxGroup","ComboboxGroupContext","useSelectOption","CheckIcon"],"sources":["../../../../src/components/select/select.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type {\n GenericsComponent,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type {\n ComboboxItem,\n UseComboboxGroupProps,\n} from \"../../hooks/use-combobox\"\nimport type { Merge } from \"../../utils\"\nimport type { UseInputBorderProps } from \"../input\"\nimport type { UsePopoverStyleProps, UsePopupAnimationProps } from \"../popover\"\nimport type { SelectStyle } from \"./select.style\"\nimport type {\n UseSelectOptionProps,\n UseSelectProps,\n UseSelectReturn,\n} from \"./use-select\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport {\n ComboboxContext,\n ComboboxDescendantsContext,\n ComboboxGroupContext,\n createComboboxChildren,\n createComboboxItem,\n useComboboxGroup,\n useComboboxGroupContext,\n} from \"../../hooks/use-combobox\"\nimport { cast, isArray } from \"../../utils\"\nimport { useGroupItemProps } from \"../group\"\nimport { CheckIcon, ChevronDownIcon, XIcon } from \"../icon\"\nimport { InputGroup, useInputBorder, useInputPropsContext } from \"../input\"\nimport { Popover, usePopoverStyleProps } from \"../popover\"\nimport { selectStyle } from \"./select.style\"\nimport { SelectContext, useSelect, useSelectOption } from \"./use-select\"\n\ninterface ComponentContext\n extends\n Pick<UseSelectReturn, \"getSeparatorProps\">,\n Pick<SelectRootProps, \"groupProps\" | \"optionProps\"> {}\n\nexport interface SelectRootProps<Multiple extends boolean = false>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"offset\" | \"onChange\" | \"value\">,\n Merge<UseSelectProps<Multiple>, UsePopoverStyleProps>,\n UsePopupAnimationProps,\n ThemeProps<SelectStyle>,\n UseInputBorderProps {\n /**\n * If `true`, display the clear icon.\n *\n * @default false\n */\n clearable?: boolean\n /**\n * The icon to be used in the clear button.\n */\n clearIcon?: ReactNode\n /**\n * The icon to be used in the select.\n */\n icon?: ReactNode\n /**\n * Props for content element.\n */\n contentProps?: SelectContentProps\n /**\n * The props for the end element.\n */\n elementProps?: InputGroup.ElementProps\n /**\n * Props for group element.\n */\n groupProps?: Omit<SelectGroupProps, \"children\" | \"label\">\n /**\n * Props for icon element.\n */\n iconProps?: SelectIconProps\n /**\n * Props for option element.\n */\n optionProps?: Omit<SelectOptionProps, \"children\" | \"value\">\n /**\n * Props for placeholder element.\n */\n placeholderProps?: Omit<SelectOptionProps, \"children\" | \"value\">\n /**\n * Props for root element.\n */\n rootProps?: InputGroup.RootProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SelectPropsContext,\n useComponentContext,\n usePropsContext: useSelectPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SelectRootProps, SelectStyle, ComponentContext>(\n \"select\",\n selectStyle,\n)\n\nexport { SelectPropsContext, useSelectPropsContext }\n\n/**\n * `Select` is a component used for allowing a user to choose one option from a list.\n *\n * @see https://yamada-ui.com/docs/components/select\n */\nexport const SelectRoot = withProvider<\"div\", SelectRootProps>(\n <Multiple extends boolean = false>(props: SelectRootProps<Multiple>) => {\n const [\n groupItemProps,\n {\n className,\n css,\n colorScheme,\n animationScheme = \"block-start\",\n children,\n clearable,\n clearIcon = <XIcon />,\n duration,\n errorBorderColor,\n focusBorderColor,\n icon,\n items: itemsProp,\n contentProps,\n elementProps,\n groupProps,\n iconProps,\n optionProps,\n placeholderProps,\n rootProps,\n ...rest\n },\n ] = useGroupItemProps(props)\n const popoverStyleProps = usePopoverStyleProps(rest)\n const items = useMemo<ComboboxItem[]>(() => {\n if (itemsProp) return itemsProp\n\n return createComboboxItem(children, {\n Group: SelectGroup,\n Label: SelectLabel,\n Option: SelectOption,\n })\n }, [itemsProp, children])\n const {\n descendants,\n includePlaceholder,\n items: computedItems,\n max,\n placeholder,\n value,\n getClearIconProps,\n getContentProps,\n getFieldProps,\n getIconProps,\n getInputProps,\n getRootProps,\n getSeparatorProps,\n popoverProps,\n onActiveDescendant,\n onChange,\n onClose,\n onSelect,\n } = useSelect({ items, ...rest, ...popoverStyleProps })\n const mergedPopoverProps = useMemo<Popover.RootProps>(\n () => ({\n animationScheme,\n duration,\n ...popoverProps,\n }),\n [animationScheme, duration, popoverProps],\n )\n const computedChildren = useMemo(() => {\n if (children)\n return (\n <>\n {placeholder ? (\n <SelectOption\n {...placeholderProps}\n hidden={!includePlaceholder}\n value=\"\"\n >\n {placeholder}\n </SelectOption>\n ) : null}\n\n {children}\n </>\n )\n\n return createComboboxChildren(computedItems, {\n Group: SelectGroup,\n Option: SelectOption,\n })\n }, [\n children,\n computedItems,\n placeholder,\n includePlaceholder,\n placeholderProps,\n ])\n const varProps = useInputBorder({ errorBorderColor, focusBorderColor })\n const comboboxContext = useMemo(\n () => ({ max, value, onActiveDescendant, onChange, onClose, onSelect }),\n [max, onActiveDescendant, onChange, onClose, onSelect, value],\n )\n const selectContext = useMemo(() => ({ max, value }), [max, value])\n const componentContext = useMemo(\n () => ({ getSeparatorProps, groupProps, optionProps }),\n [getSeparatorProps, groupProps, optionProps],\n )\n const hasValue = isArray(value) ? !!value.length : !!value\n\n return (\n <ComboboxDescendantsContext value={descendants}>\n <ComboboxContext value={comboboxContext}>\n <SelectContext value={selectContext}>\n <ComponentContext value={componentContext}>\n <Popover.Root {...mergedPopoverProps}>\n <styled.input {...getInputProps()} />\n\n <InputGroup.Root\n {...mergeProps(\n { className, css, colorScheme },\n getRootProps(groupItemProps),\n rootProps,\n )()}\n >\n <Popover.Trigger>\n <SelectField {...getFieldProps({ ...varProps })} />\n </Popover.Trigger>\n\n <InputGroup.Element\n {...{ clickable: clearable && hasValue, ...elementProps }}\n >\n {clearable && hasValue ? (\n <SelectIcon\n icon={clearIcon}\n {...getClearIconProps(iconProps)}\n />\n ) : (\n <SelectIcon icon={icon} {...getIconProps(iconProps)} />\n )}\n </InputGroup.Element>\n </InputGroup.Root>\n\n <SelectContent\n {...cast<SelectContentProps>(\n getContentProps(cast<HTMLProps>(contentProps)),\n )}\n >\n {computedChildren}\n </SelectContent>\n </Popover.Root>\n </ComponentContext>\n </SelectContext>\n </ComboboxContext>\n </ComboboxDescendantsContext>\n )\n },\n \"root\",\n)((props) => {\n const context = useInputPropsContext()\n\n return mergeProps(context, props)()\n}) as GenericsComponent<{\n <Multiple extends boolean = false>(\n props: SelectRootProps<Multiple>,\n ): ReactElement\n}>\n\ninterface SelectFieldProps extends HTMLStyledProps {}\n\nconst SelectField = withContext<\"div\", SelectFieldProps>(\"div\", \"field\")(\n { \"data-group-propagate\": \"\" },\n ({ children, ...rest }) => ({\n ...rest,\n children: <SelectValueText>{children}</SelectValueText>,\n }),\n)\n\ninterface SelectIconProps extends HTMLStyledProps {\n icon?: ReactNode\n}\n\nconst SelectIcon = withContext<\"div\", SelectIconProps>(\"div\", \"icon\")(\n undefined,\n ({ children, icon, ...rest }) => ({\n children: icon || children || <ChevronDownIcon />,\n ...rest,\n }),\n)\n\ninterface SelectValueTextProps extends HTMLProps<\"span\"> {}\n\nconst SelectValueText = withContext<\"span\", SelectValueTextProps>(\n \"span\",\n \"valueText\",\n)()\n\ninterface SelectContentProps extends Popover.ContentProps {}\n\nconst SelectContent = withContext<\"div\", SelectContentProps>(\n Popover.Content,\n \"content\",\n)()\n\nexport interface SelectLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SelectLabel = withContext<\"span\", SelectLabelProps>(\n \"span\",\n \"label\",\n)(undefined, (props) => {\n const { getLabelProps } = useComboboxGroupContext()\n\n return getLabelProps(props)\n})\n\nexport interface SelectGroupProps\n extends UseComboboxGroupProps, HTMLStyledProps {\n /**\n * The label of the group.\n */\n label?: ReactNode\n /**\n * Props for the label component.\n */\n labelProps?: SelectLabelProps\n}\n\nexport const SelectGroup = withContext<\"div\", SelectGroupProps>(\n ({ children, label, labelProps, ...rest }) => {\n const { groupProps } = useComponentContext()\n const { getGroupProps, getLabelProps } = useComboboxGroup(\n mergeProps(groupProps, rest)(),\n )\n const context = useMemo(() => ({ getLabelProps }), [getLabelProps])\n\n return (\n <ComboboxGroupContext value={context}>\n <styled.div {...getGroupProps()}>\n {label ? <SelectLabel {...labelProps}>{label}</SelectLabel> : null}\n {children}\n </styled.div>\n </ComboboxGroupContext>\n )\n },\n \"group\",\n)()\n\nexport interface SelectOptionProps\n extends UseSelectOptionProps, HTMLStyledProps {\n /**\n * The icon to be used in the select option.\n */\n icon?: ReactNode\n}\n\nexport const SelectOption = withContext<\"div\", SelectOptionProps>(\n ({ children, icon: iconProp, ...rest }) => {\n const { optionProps: { icon, ...optionProps } = {} } = useComponentContext()\n const { getIndicatorProps, getOptionProps } = useSelectOption(\n mergeProps(optionProps, rest)(),\n )\n\n return (\n <styled.div {...getOptionProps()}>\n <SelectIndicator {...getIndicatorProps()}>\n {iconProp ?? icon ?? <CheckIcon />}\n </SelectIndicator>\n {children}\n </styled.div>\n )\n },\n \"option\",\n)()\n\ninterface SelectIndicatorProps extends HTMLStyledProps {}\n\nconst SelectIndicator = withContext<\"div\", SelectIndicatorProps>(\n \"div\",\n \"indicator\",\n)()\n\nexport interface SelectSeparatorProps extends HTMLStyledProps<\"hr\"> {}\n\nexport const SelectSeparator = withContext<\"hr\", SelectSeparatorProps>(\n \"hr\",\n \"separator\",\n)(undefined, (props) => {\n const { getSeparatorProps } = useComponentContext()\n\n return getSeparatorProps(props)\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAiGA,MAAM,EACJ,kBACA,cAAc,oBACd,qBACA,iBAAiB,uBACjB,aACA,iBACEA,yBAAAA,oBACF,UACAC,qBAAAA,WACF;;;;;;AASA,MAAa,a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MAAa,kBAAkB,YAC7B,MACA,WACF,CAAC,CAAC,KAAA,IAAY,UAAU;CACtB,MAAM,EAAE,sBAAsB,oBAAoB;CAElD,OAAO,kBAAkB,KAAK;AAChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-select.cjs","names":["createContext","useI18n","useFieldProps","useRef","useControllableState","useCallback","useMemo","useCombobox","isValidElement","cloneElement","mergeRefs","visuallyHiddenAttributes","runKeyAction","useComboboxItem"],"sources":["../../../../src/components/select/use-select.tsx"],"sourcesContent":["\"use client\"\n\nimport type { MouseEvent, ReactNode } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport type {\n ComboboxItem,\n ComboboxItemWithValue,\n UseComboboxItemProps,\n UseComboboxProps,\n} from \"../../hooks/use-combobox\"\nimport type { Dict } from \"../../utils\"\nimport type { FieldProps } from \"../field\"\nimport {\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n useRef,\n} from \"react\"\nimport { useCombobox, useComboboxItem } from \"../../hooks/use-combobox\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n ariaAttr,\n createContext,\n cx,\n dataAttr,\n handlerAll,\n isArray,\n isNumber,\n isString,\n isUndefined,\n mergeRefs,\n runKeyAction,\n toArray,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\ninterface SelectRenderProps extends ComboboxItemWithValue {\n count: number\n index: number\n separator: string\n onClear: () => void\n}\n\nexport interface SelectItemRender {\n (props: SelectRenderProps): ReactNode\n}\n\nconst defaultRender: SelectItemRender = ({\n count,\n index,\n label,\n separator,\n value,\n}) => {\n const last = count - 1 === index\n\n return (\n <span\n style={{ marginInlineEnd: \"var(--gap)\" }}\n data-placeholder={dataAttr(value === \"\")}\n >\n {label}\n {!last ? separator : null}\n </span>\n )\n}\n\ninterface SelectContext extends Pick<UseSelectReturn, \"max\" | \"value\"> {}\n\nconst [SelectContext, useSelectContext] = createContext<SelectContext>({\n name: \"SelectContext\",\n})\n\nexport { SelectContext, useSelectContext }\n\nexport interface UseSelectProps<Multiple extends boolean = false>\n extends\n Omit<HTMLProps, \"defaultValue\" | \"onChange\" | \"value\">,\n Omit<\n UseComboboxProps,\n \"defaultValue\" | \"initialFocusValue\" | \"onChange\" | \"value\"\n >,\n FieldProps {\n /**\n * The initial value of the select.\n */\n defaultValue?: Multiple extends true ? string[] : string\n /**\n * If `true`, the field will be focused when the clear icon is clicked.\n *\n * @default true\n */\n focusOnClear?: boolean\n /**\n * The `id` attribute of the input element.\n */\n id?: string\n /**\n * If `true`, include placeholder in options.\n *\n * @default true\n */\n includePlaceholder?: boolean\n /**\n * If provided, generate options based on items.\n *\n * @default []\n */\n items?: ComboboxItem[]\n /**\n * The maximum selectable value.\n */\n max?: number\n /**\n * If `true`, the select will be multiple.\n *\n * @default false\n */\n multiple?: Multiple\n /**\n * The `name` attribute of the input element.\n */\n name?: string\n /**\n * The placeholder for select.\n */\n placeholder?: string\n /**\n * The visual separator between each value.\n *\n * @default ','\n */\n separator?: string\n /**\n * The value of the select.\n */\n value?: Multiple extends true ? string[] : string\n /**\n * The callback invoked when value state changes.\n */\n onChange?: (value: Multiple extends true ? string[] : string) => void\n /**\n * The function to render the selected items.\n */\n render?: (props: SelectRenderProps) => ReactNode\n}\n\nexport const useSelect = <Multiple extends boolean = false>(\n props: UseSelectProps<Multiple> = {},\n) => {\n type MaybeValue = Multiple extends true ? string[] : string\n\n const { t } = useI18n(\"select\")\n const {\n context: { labelId } = {},\n props: {\n id,\n name,\n multiple = false,\n closeOnSelect = !multiple,\n defaultValue = (multiple ? [] : \"\") as MaybeValue,\n disabled,\n focusOnClear = true,\n includePlaceholder = !multiple,\n items: itemProp = [],\n max,\n placeholder,\n readOnly,\n render = defaultRender,\n required,\n separator = \",\",\n value: valueProp,\n onChange: onChangeProp,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const fieldRef = useRef<HTMLDivElement>(null)\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const onChange = useCallback(\n (value: string) => {\n setValue((prev) => {\n if (isArray(prev))\n if (prev.includes(value))\n return prev.filter((prevValue) => prevValue !== value) as MaybeValue\n else if (!isNumber(max) || prev.length < max)\n return [...prev, value] as MaybeValue\n else return prev\n else return value as MaybeValue\n })\n },\n [max, setValue],\n )\n const items = useMemo<ComboboxItem[]>(() => {\n const items = [...itemProp]\n\n if (placeholder)\n items.unshift({\n hidden: !includePlaceholder,\n label: placeholder,\n value: \"\",\n })\n\n return items\n }, [itemProp, placeholder, includePlaceholder])\n const empty = useMemo(\n () => !items.filter(({ hidden }) => !hidden).length,\n [items],\n )\n const {\n descendants,\n interactive,\n open,\n getContentProps: getComboboxContentProps,\n getSeparatorProps,\n getTriggerProps,\n popoverProps,\n onActiveDescendant,\n onClose,\n onOpen,\n onSelect,\n } = useCombobox({\n closeOnSelect,\n disabled,\n initialFocusValue: isArray(value) ? value[0] : value,\n readOnly,\n onChange,\n ...ariaProps,\n ...dataProps,\n ...eventProps,\n ...rest,\n })\n const valueMap = useMemo<{ [key: string]: ComboboxItemWithValue }>(() => {\n const valueMap: { [key: string]: ComboboxItemWithValue } = {}\n\n items.forEach((item) => {\n if (\"items\" in item) {\n item.items.forEach((item) => {\n item.value ??= isString(item.label) ? item.label : undefined\n\n if (!isUndefined(item.value)) valueMap[item.value] = item\n })\n } else {\n item.value ??= isString(item.label) ? item.label : undefined\n\n if (!isUndefined(item.value)) valueMap[item.value] = item\n }\n })\n\n return valueMap\n }, [items])\n const selectedItems = useMemo<ComboboxItemWithValue[]>(() => {\n if (isArray(value))\n if (value.length) return toArray(value.map((value) => valueMap[value]))\n else return placeholder ? [{ label: placeholder, value: \"\" }] : []\n else return isString(value) ? toArray(valueMap[value]) : []\n }, [placeholder, value, valueMap])\n const children = useMemo<ReactNode>(() => {\n const count = selectedItems.length\n\n return selectedItems.map((item, index) => {\n const onClear = (ev?: MouseEvent<HTMLElement>) => {\n ev?.preventDefault()\n ev?.stopPropagation()\n\n if (item.value) onChange(item.value)\n }\n\n const component = render({\n count,\n index,\n separator,\n onClear,\n ...item,\n })\n\n if (isValidElement<Dict>(component))\n return cloneElement(component, { ...component.props, key: index })\n else return component\n })\n }, [onChange, render, selectedItems, separator])\n\n const onFocus = useCallback(() => {\n if (!interactive || !fieldRef.current) return\n\n fieldRef.current.focus()\n }, [interactive])\n\n const onClear = useCallback(() => {\n if (!interactive) return\n\n setValue((prev) => (isArray(prev) ? [] : \"\") as MaybeValue)\n\n if (!fieldRef.current) return\n\n if (focusOnClear) fieldRef.current.focus()\n }, [focusOnClear, interactive, setValue])\n\n const getRootProps: PropGetter = useCallback(\n (props) => ({ ...dataProps, ...props }),\n [dataProps],\n )\n\n const getFieldProps: PropGetter = useCallback(\n ({ ref, \"aria-labelledby\": ariaLabelledby, ...props } = {}) =>\n getTriggerProps({\n ref: mergeRefs(ref, fieldRef),\n \"aria-label\": placeholder,\n \"aria-labelledby\": cx(ariaLabelledby, labelId),\n ...props,\n children,\n }),\n [children, getTriggerProps, labelId, placeholder],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n ...dataProps,\n ...visuallyHiddenAttributes,\n id,\n name,\n defaultValue: isString(value) ? value : value.join(\", \"),\n disabled,\n readOnly,\n required,\n ...props,\n onFocus: handlerAll(props.onFocus, onFocus),\n }),\n [dataProps, disabled, id, name, onFocus, readOnly, required, value],\n )\n\n const getContentProps: PropGetter = useCallback(\n (props) => getComboboxContentProps({ hidden: empty, ...props }),\n [empty, getComboboxContentProps],\n )\n\n const getIconProps: PropGetter = useCallback(\n (props) => ({ ...dataProps, ...props }),\n [dataProps],\n )\n\n const getClearIconProps: PropGetter = useCallback(\n (props = {}) =>\n getIconProps({\n \"aria-disabled\": ariaAttr(!interactive),\n \"aria-label\": t(\"Clear value\"),\n role: \"button\",\n tabIndex: interactive ? 0 : -1,\n ...props,\n onClick: handlerAll(props.onClick, onClear),\n onKeyDown: handlerAll(props.onKeyDown, (ev) =>\n runKeyAction(ev, { Enter: onClear, Space: onClear }),\n ),\n }),\n [getIconProps, interactive, onClear, t],\n )\n\n return {\n descendants,\n includePlaceholder,\n interactive,\n items,\n max,\n open,\n placeholder,\n setValue,\n value,\n valueMap,\n getClearIconProps,\n getContentProps,\n getFieldProps,\n getIconProps,\n getInputProps,\n getRootProps,\n getSeparatorProps,\n popoverProps,\n onActiveDescendant,\n onChange,\n onClose,\n onOpen,\n onSelect,\n }\n}\n\nexport type UseSelectReturn = ReturnType<typeof useSelect>\n\nexport interface UseSelectOptionProps extends UseComboboxItemProps {}\n\nexport const useSelectOption = ({\n children,\n closeOnSelect,\n disabled,\n hidden,\n value,\n ...rest\n}: UseSelectOptionProps = {}) => {\n const { max, value: selectedValue } = useSelectContext()\n\n value ??= isString(children) ? children : undefined\n\n const selected = isArray(selectedValue)\n ? !isUndefined(value) && selectedValue.includes(value)\n : selectedValue === value\n const completed =\n isNumber(max) && isArray(selectedValue) && selectedValue.length >= max\n const { getIndicatorProps, getItemProps } = useComboboxItem({\n children,\n closeOnSelect,\n disabled: disabled || hidden || (completed && !selected),\n hidden,\n selected,\n value,\n ...rest,\n })\n\n const getOptionProps: PropGetter = useCallback(\n (props = {}) => getItemProps(props),\n [getItemProps],\n )\n\n return { getIndicatorProps, getOptionProps }\n}\n\nexport type UseSelectOptionReturn = ReturnType<typeof useSelectOption>\n"],"mappings":";;;;;;;;;;;;;AAkDA,MAAM,iBAAmC,EACvC,OACA,OACA,OACA,WACA,YACI;CACJ,MAAM,OAAO,QAAQ,MAAM;CAE3B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;EACE,OAAO,EAAE,iBAAiB,aAAa;EACvC,qBAAA,GAAA,oBAAA,cAAkB,SAAA,CAAS,UAAU,EAAE;EAFzC,UAAA,CAIG,OACA,CAAC,OAAO,YAAY,IACjB;;AAEV;A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Ac;GAAa;GAAS;EAAC,CActB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF;AAMA,MAAa,mBAAmB,EAC9B,UACA,eACA,UACA,QACA,OACA,GAAG,SACqB,CAAC,MAAM;CAC/B,MAAM,EAAE,KAAK,OAAO,kBAAkB,iBAAiB;CAEvD,WAAA,GAAA,oBAAA,cAAU,SAAA,CAAS,QAAQ,IAAI,WAAW,KAAA;CAE1C,MAAM,YAAA,GAAA,oBAAA,cAAW,QAAA,CAAQ,aAAa,IAClC,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,KAAK,KAAK,cAAc,SAAS,KAAK,IACnD,kBAAkB;CACtB,MAAM,aAAA,GAAA,oBAAA,cACJ,SAAA,CAAS,GAAG,MAAA,GAAA,oBAAA,cAAK,QAAA,CAAQ,aAAa,KAAK,cAAc,UAAU;CACrE,MAAM,EAAE,mBAAmB,iBAAiBC,iCAAAA,gBAAgB;EAC1D;EACA;EACA,UAAU,YAAY,UAAW,aAAa,CAAC;EAC/C;EACA;EACA;EACA,GAAG;CACL,CAAC;CAOD,OAAO;EAAE;EAAmB,iBAAA,GALOR,MAAAA,YAAAA,EAChC,QAAQ,CAAC,MAAM,aAAa,KAAK,GAClC,CAAC,YAAY,CAG0B;CAAE;AAC7C"}
|
|
1
|
+
{"version":3,"file":"use-select.cjs","names":["createContext","useI18n","useFieldProps","useRef","useControllableState","useCallback","useMemo","useCombobox","isValidElement","cloneElement","mergeRefs","visuallyHiddenAttributes","runKeyAction","useComboboxItem"],"sources":["../../../../src/components/select/use-select.tsx"],"sourcesContent":["\"use client\"\n\nimport type { MouseEvent, ReactNode } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport type {\n ComboboxItem,\n ComboboxItemWithValue,\n UseComboboxItemProps,\n UseComboboxProps,\n} from \"../../hooks/use-combobox\"\nimport type { Dict } from \"../../utils\"\nimport type { FieldProps } from \"../field\"\nimport {\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n useRef,\n} from \"react\"\nimport { useCombobox, useComboboxItem } from \"../../hooks/use-combobox\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n ariaAttr,\n createContext,\n cx,\n dataAttr,\n handlerAll,\n isArray,\n isNumber,\n isString,\n isUndefined,\n mergeRefs,\n runKeyAction,\n toArray,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\ninterface SelectRenderProps extends ComboboxItemWithValue {\n count: number\n index: number\n separator: string\n onClear: () => void\n}\n\nexport interface SelectItemRender {\n (props: SelectRenderProps): ReactNode\n}\n\nconst defaultRender: SelectItemRender = ({\n count,\n index,\n label,\n separator,\n value,\n}) => {\n const last = count - 1 === index\n\n return (\n <span\n style={{ marginInlineEnd: \"var(--gap)\" }}\n data-placeholder={dataAttr(value === \"\")}\n >\n {label}\n {!last ? separator : null}\n </span>\n )\n}\n\ninterface SelectContext extends Pick<UseSelectReturn, \"max\" | \"value\"> {}\n\nconst [SelectContext, useSelectContext] = createContext<SelectContext>({\n name: \"SelectContext\",\n})\n\nexport { SelectContext, useSelectContext }\n\nexport interface UseSelectProps<Multiple extends boolean = false>\n extends\n Omit<HTMLProps, \"defaultValue\" | \"onChange\" | \"value\">,\n Omit<\n UseComboboxProps,\n \"defaultValue\" | \"initialFocusValue\" | \"onChange\" | \"value\"\n >,\n FieldProps {\n /**\n * The initial value of the select.\n */\n defaultValue?: Multiple extends true ? string[] : string\n /**\n * If `true`, the field will be focused when the clear icon is clicked.\n *\n * @default true\n */\n focusOnClear?: boolean\n /**\n * The `id` attribute of the input element.\n */\n id?: string\n /**\n * If `true`, include placeholder in options.\n *\n * @default true\n */\n includePlaceholder?: boolean\n /**\n * If provided, generate options based on items.\n *\n * @default []\n */\n items?: ComboboxItem[]\n /**\n * The maximum selectable value.\n */\n max?: number\n /**\n * If `true`, the select will be multiple.\n *\n * @default false\n */\n multiple?: Multiple\n /**\n * The `name` attribute of the input element.\n */\n name?: string\n /**\n * The placeholder for select.\n */\n placeholder?: string\n /**\n * The visual separator between each value.\n *\n * @default ','\n */\n separator?: string\n /**\n * The value of the select.\n */\n value?: Multiple extends true ? string[] : string\n /**\n * The callback invoked when value state changes.\n */\n onChange?: (value: Multiple extends true ? string[] : string) => void\n /**\n * The function to render the selected items.\n */\n render?: (props: SelectRenderProps) => ReactNode\n}\n\nexport const useSelect = <Multiple extends boolean = false>(\n props: UseSelectProps<Multiple> = {},\n) => {\n type MaybeValue = Multiple extends true ? string[] : string\n\n const { t } = useI18n(\"select\")\n const {\n context: { labelId } = {},\n props: {\n id,\n name,\n multiple = false,\n closeOnSelect = !multiple,\n defaultValue = (multiple ? [] : \"\") as MaybeValue,\n disabled,\n focusOnClear = true,\n includePlaceholder = !multiple,\n items: itemProp = [],\n max,\n placeholder,\n readOnly,\n render = defaultRender,\n required,\n separator = \",\",\n value: valueProp,\n onChange: onChangeProp,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const fieldRef = useRef<HTMLDivElement>(null)\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const onChange = useCallback(\n (value: string) => {\n setValue((prev) => {\n if (isArray(prev))\n if (prev.includes(value))\n return prev.filter((prevValue) => prevValue !== value) as MaybeValue\n else if (!isNumber(max) || prev.length < max)\n return [...prev, value] as MaybeValue\n else return prev\n else return value as MaybeValue\n })\n },\n [max, setValue],\n )\n const items = useMemo<ComboboxItem[]>(() => {\n const items = [...itemProp]\n\n if (placeholder)\n items.unshift({\n hidden: !includePlaceholder,\n label: placeholder,\n value: \"\",\n })\n\n return items\n }, [itemProp, placeholder, includePlaceholder])\n const empty = useMemo(\n () => !items.filter(({ hidden }) => !hidden).length,\n [items],\n )\n const {\n descendants,\n interactive,\n open,\n getContentProps: getComboboxContentProps,\n getSeparatorProps,\n getTriggerProps,\n popoverProps,\n onActiveDescendant,\n onClose,\n onOpen,\n onSelect,\n } = useCombobox({\n closeOnSelect,\n disabled,\n initialFocusValue: isArray(value) ? value[0] : value,\n readOnly,\n onChange,\n ...ariaProps,\n ...dataProps,\n ...eventProps,\n ...rest,\n })\n const valueMap = useMemo<{ [key: string]: ComboboxItemWithValue }>(() => {\n const valueMap: { [key: string]: ComboboxItemWithValue } = {}\n\n items.forEach((item) => {\n if (\"items\" in item) {\n item.items.forEach((item) => {\n item.value ??= isString(item.label) ? item.label : undefined\n\n if (!isUndefined(item.value)) valueMap[item.value] = item\n })\n } else {\n item.value ??= isString(item.label) ? item.label : undefined\n\n if (!isUndefined(item.value)) valueMap[item.value] = item\n }\n })\n\n return valueMap\n }, [items])\n const selectedItems = useMemo<ComboboxItemWithValue[]>(() => {\n if (isArray(value))\n if (value.length) return toArray(value.map((value) => valueMap[value]))\n else return placeholder ? [{ label: placeholder, value: \"\" }] : []\n else return isString(value) ? toArray(valueMap[value]) : []\n }, [placeholder, value, valueMap])\n const children = useMemo<ReactNode>(() => {\n const count = selectedItems.length\n\n return selectedItems.map((item, index) => {\n const onClear = (ev?: MouseEvent<HTMLElement>) => {\n ev?.preventDefault()\n ev?.stopPropagation()\n\n if (item.value) onChange(item.value)\n }\n\n const component = render({\n count,\n index,\n separator,\n onClear,\n ...item,\n })\n\n if (isValidElement<Dict>(component))\n return cloneElement(component, { ...component.props, key: index })\n else return component\n })\n }, [onChange, render, selectedItems, separator])\n\n const onFocus = useCallback(() => {\n if (!interactive || !fieldRef.current) return\n\n fieldRef.current.focus()\n }, [interactive])\n\n const onClear = useCallback(() => {\n if (!interactive) return\n\n setValue((prev) => (isArray(prev) ? [] : \"\") as MaybeValue)\n\n if (!fieldRef.current) return\n\n if (focusOnClear) fieldRef.current.focus()\n }, [focusOnClear, interactive, setValue])\n\n const getRootProps: PropGetter = useCallback(\n (props) => ({ ...dataProps, ...props }),\n [dataProps],\n )\n\n const getFieldProps: PropGetter = useCallback(\n ({ ref, \"aria-labelledby\": ariaLabelledby, ...props } = {}) =>\n getTriggerProps({\n ref: mergeRefs(ref, fieldRef),\n \"aria-label\": placeholder,\n \"aria-labelledby\": cx(ariaLabelledby, labelId),\n ...props,\n children,\n }),\n [children, getTriggerProps, labelId, placeholder],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n ...dataProps,\n ...visuallyHiddenAttributes,\n id,\n name,\n defaultValue: isString(value) ? value : value.join(\", \"),\n disabled,\n readOnly,\n required,\n ...props,\n onFocus: handlerAll(props.onFocus, onFocus),\n }),\n [dataProps, disabled, id, name, onFocus, readOnly, required, value],\n )\n\n const getContentProps: PropGetter = useCallback(\n (props) => getComboboxContentProps({ hidden: empty, ...props }),\n [empty, getComboboxContentProps],\n )\n\n const getIconProps: PropGetter = useCallback(\n (props) => ({ ...dataProps, ...props }),\n [dataProps],\n )\n\n const getClearIconProps: PropGetter = useCallback(\n (props = {}) =>\n getIconProps({\n \"aria-disabled\": ariaAttr(!interactive),\n \"aria-label\": t(\"Clear value\"),\n role: \"button\",\n tabIndex: interactive ? 0 : -1,\n ...props,\n onClick: handlerAll(props.onClick, onClear),\n onKeyDown: handlerAll(props.onKeyDown, (ev) =>\n runKeyAction(ev, { Enter: onClear, Space: onClear }),\n ),\n }),\n [getIconProps, interactive, onClear, t],\n )\n\n return {\n descendants,\n includePlaceholder,\n interactive,\n items,\n max,\n open,\n placeholder,\n setValue,\n value,\n valueMap,\n getClearIconProps,\n getContentProps,\n getFieldProps,\n getIconProps,\n getInputProps,\n getRootProps,\n getSeparatorProps,\n popoverProps,\n onActiveDescendant,\n onChange,\n onClose,\n onOpen,\n onSelect,\n }\n}\n\nexport type UseSelectReturn = ReturnType<typeof useSelect>\n\nexport interface UseSelectOptionProps extends UseComboboxItemProps {}\n\nexport const useSelectOption = ({\n children,\n closeOnSelect,\n disabled,\n hidden,\n value,\n ...rest\n}: UseSelectOptionProps = {}) => {\n const { max, value: selectedValue } = useSelectContext()\n\n value ??= isString(children) ? children : undefined\n\n const selected = isArray(selectedValue)\n ? !isUndefined(value) && selectedValue.includes(value)\n : selectedValue === value\n const completed =\n isNumber(max) && isArray(selectedValue) && selectedValue.length >= max\n const { getIndicatorProps, getItemProps } = useComboboxItem({\n children,\n closeOnSelect,\n disabled: disabled || hidden || (completed && !selected),\n hidden,\n selected,\n value,\n ...rest,\n })\n\n const getOptionProps: PropGetter = useCallback(\n (props = {}) => getItemProps(props),\n [getItemProps],\n )\n\n return { getIndicatorProps, getOptionProps }\n}\n\nexport type UseSelectOptionReturn = ReturnType<typeof useSelectOption>\n"],"mappings":";;;;;;;;;;;;AAkDA,MAAM,iBAAmC,EACvC,OACA,OACA,OACA,WACA,YACI;CACJ,MAAM,OAAO,QAAQ,MAAM;CAE3B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;EACE,OAAO,EAAE,iBAAiB,aAAa;EACvC,qBAAA,GAAA,oBAAA,cAAkB,SAAA,CAAS,UAAU,EAAE;EAFzC,UAAA,CAIG,OACA,CAAC,OAAO,YAAY,IACjB;;AAEV;AAIA,MAAM,CAAC,eAAe,oBAAoBA,gBAAAA,cAA6B,EACrE,MAAM,gBACR,CAAC;AA4ED,MAAa,aACX,QAAkC,CAAC,MAChC;CAGH,MAAM,EAAE,MAAMC,sBAAAA,QAAQ,QAAQ;CAC9B,MAAM,EACJ,SAAS,EAAE,YAAY,CAAC,GACxB,OAAO,EACL,IACA,MACA,WAAW,OACX,gBAAgB,CAAC,UACjB,eAAgB,WAAW,CAAC,IAAI,IAChC,UACA,eAAe,MACf,qBAAqB,CAAC,UACtB,OAAO,WAAW,CAAC,GACnB,KACA,aACA,UACA,SAAS,eACT,UACA,YAAY,KACZ,OAAO,WACP,UAAU,cACV,GAAG,QAEL,WACA,WACA,eACEC,wBAAAA,cAAc,KAAK;CACvB,MAAM,YAAA,GAAWC,MAAAA,OAAAA,CAAuB,IAAI;CAC5C,MAAM,CAAC,OAAO,YAAYC,2CAAAA,qBAAqB;EAC7C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mBAAmB,iBAAiBC,iCAAAA,gBAAgB;EAC1D;EACA;EACA,UAAU,YAAY,UAAW,aAAa,CAAC;EAC/C;EACA;EACA;EACA,GAAG;CACL,CAAC;CAOD,OAAO;EAAE;EAAmB,iBAAA,GALOR,MAAAA,YAAAA,EAChC,QAAQ,CAAC,MAAM,aAAa,KAAK,GAClC,CAAC,YAAY,CAG0B;CAAE;AAC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show.cjs","names":["isValidElement"],"sources":["../../../../src/components/show/show.tsx"],"sourcesContent":["import type { ReactNode } from \"react\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport { isValidElement } from \"react\"\nimport { runIfFn } from \"../../utils\"\n\nexport interface ShowProps<Y> {\n /**\n * The children to render if `when` is `true`\n */\n children: ReactNodeOrFunction<Y>\n /**\n * The fallback content to render if `when` is `false`\n */\n fallback?: ReactNode\n /**\n * If `true`, it'll render the `children` prop\n */\n when?: null | Y\n}\n\n/**\n * `Show` is a component that shows or hides its children based on a condition.\n *\n * @see https://yamada-ui.com/docs/components/show\n */\nexport const Show = <Y,>({\n children,\n fallback,\n when,\n}: ShowProps<Y>): ReactNode => {\n let result: ReactNode\n\n if (!when) result = fallback\n else result = runIfFn(children, when)\n\n // eslint-disable-next-line react/jsx-no-useless-fragment\n return isValidElement(result) ? result : <>{result}</>\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"show.cjs","names":["isValidElement"],"sources":["../../../../src/components/show/show.tsx"],"sourcesContent":["import type { ReactNode } from \"react\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport { isValidElement } from \"react\"\nimport { runIfFn } from \"../../utils\"\n\nexport interface ShowProps<Y> {\n /**\n * The children to render if `when` is `true`\n */\n children: ReactNodeOrFunction<Y>\n /**\n * The fallback content to render if `when` is `false`\n */\n fallback?: ReactNode\n /**\n * If `true`, it'll render the `children` prop\n */\n when?: null | Y\n}\n\n/**\n * `Show` is a component that shows or hides its children based on a condition.\n *\n * @see https://yamada-ui.com/docs/components/show\n */\nexport const Show = <Y,>({\n children,\n fallback,\n when,\n}: ShowProps<Y>): ReactNode => {\n let result: ReactNode\n\n if (!when) result = fallback\n else result = runIfFn(children, when)\n\n // eslint-disable-next-line react/jsx-no-useless-fragment\n return isValidElement(result) ? result : <>{result}</>\n}\n"],"mappings":";;;;;;;;;AAyBA,MAAa,QAAY,EACvB,UACA,UACA,WAC6B;CAC7B,IAAI;CAEJ,IAAI,CAAC,MAAM,SAAS;MACf,UAAA,GAAA,oBAAA,cAAS,QAAA,CAAQ,UAAU,IAAI;CAGpC,QAAA,GAAOA,MAAAA,eAAAA,CAAe,MAAM,IAAI,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAA,kBAAA,UAAA,EAAA,UAAG,OAAS,CAAA;AACvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.cjs","names":["createContext","createSlotComponent","sidebarStyle","useBreakpointValue","useValue","useSidebar","useMemo","SidebarDescendantsContext","SidebarContext","styled","useSidebarContext","useSplitChildren","mergeProps","useSidebarGroup","useValidChildren","useIncludesChildren","useLoadingComponent","useCallback","useSidebarItem","SidebarItemContext","Tooltip","Collapse","ChevronRightIcon","isValidElement","cloneElement","Children"],"sources":["../../../../src/components/sidebar/sidebar.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type {\n Breakpoint,\n ExtractStyleValue,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport type { CollapseProps } from \"../collapse\"\nimport type { Loading } from \"../loading\"\nimport type { WithTransitionProps } from \"../motion\"\nimport type { TooltipProps } from \"../tooltip\"\nimport type { SidebarStyle } from \"./sidebar.style\"\nimport type {\n UseSidebarGroupProps,\n UseSidebarGroupReturn,\n UseSidebarItemProps,\n UseSidebarItemReturn,\n UseSidebarProps,\n UseSidebarReturn,\n} from \"./use-sidebar\"\nimport {\n Children,\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n} from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport { useBreakpointValue } from \"../../hooks/use-breakpoint\"\nimport { useValue } from \"../../hooks/use-value\"\nimport {\n cast,\n createContext,\n dataAttr,\n isObject,\n isString,\n runIfFn,\n useIncludesChildren,\n useSplitChildren,\n useValidChildren,\n} from \"../../utils\"\nimport { Collapse } from \"../collapse\"\nimport { Drawer } from \"../drawer\"\nimport { ChevronRightIcon } from \"../icon\"\nimport { useLoadingComponent } from \"../loading\"\nimport { Tooltip } from \"../tooltip\"\nimport { sidebarStyle } from \"./sidebar.style\"\nimport {\n SidebarContext,\n SidebarDescendantsContext,\n SidebarItemContext,\n useSidebar,\n useSidebarContext,\n useSidebarGroup,\n useSidebarItem,\n} from \"./use-sidebar\"\n\ninterface SidebarItemCallBackProps {\n disabled?: boolean\n expanded?: boolean\n}\n\ntype SidebarItemReactNode =\n | ReactNodeOrFunction<SidebarItemCallBackProps>\n | {\n group: ReactNodeOrFunction<SidebarItemCallBackProps>\n item?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n | {\n item: ReactNodeOrFunction<SidebarItemCallBackProps>\n group?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n\ninterface SidebarItemSharedRenderProps\n extends\n Pick<SidebarItemProps, \"label\">,\n Pick<\n UseSidebarItemReturn,\n | \"expanded\"\n | \"expandedValue\"\n | \"onExpandedChange\"\n | \"onSelectedChange\"\n | \"selected\"\n | \"selectedValue\"\n | \"value\"\n > {\n itemProps: HTMLStyledProps<\"li\">\n linkProps: HTMLStyledProps<\"a\">\n triggerProps: HTMLStyledProps<\"button\">\n endElement?: ReactNode\n startElement?: ReactNode\n}\n\ninterface SidebarItemRenderProps\n extends\n PropsWithChildren,\n Omit<SidebarItemSharedRenderProps, \"endElement\" | \"startElement\">,\n Pick<\n UseSidebarItemReturn,\n | \"group\"\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n endElement: { group?: ReactNode; item?: ReactNode }\n startElement: { group?: ReactNode; item?: ReactNode }\n indicator?: ReactNode\n link?: ReactNode\n trigger?: ReactNode\n}\n\ninterface SidebarItemLinkRenderProps extends Omit<\n SidebarItemSharedRenderProps,\n \"itemProps\" | \"triggerProps\"\n> {}\n\ninterface SidebarItemTriggerRenderProps\n extends\n Omit<SidebarItemSharedRenderProps, \"itemProps\" | \"linkProps\">,\n Pick<\n UseSidebarItemReturn,\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n indicator?: ReactNode\n}\n\ninterface SidebarItemRender {\n item?: ReactNodeOrFunction<SidebarItemRenderProps>\n link?: ReactNodeOrFunction<SidebarItemLinkRenderProps>\n trigger?: ReactNodeOrFunction<SidebarItemTriggerRenderProps>\n}\n\ninterface SidebarGroup extends Omit<SidebarGroupProps, \"children\" | \"value\"> {\n children: SidebarItemWithValue[]\n group: true\n}\n\nexport interface SidebarItemWithValue extends Omit<\n SidebarItemProps,\n \"children\"\n> {\n children?: SidebarItemWithValue[]\n}\n\nexport type SidebarItem = SidebarGroup | SidebarItemWithValue\n\nconst createKey = (props: SidebarItem, index: number) => {\n return \"value\" in props ? props.value || index : index\n}\n\nconst getReactNodeOrFunction = (\n type: \"group\" | \"item\",\n custom?: SidebarItemReactNode,\n root?: SidebarItemReactNode,\n): ReactNodeOrFunction<SidebarItemCallBackProps> => {\n if (isObject(custom) && (\"group\" in custom || \"item\" in custom))\n return custom[type]\n else if (custom) return custom\n else if (isObject(root) && (\"group\" in root || \"item\" in root))\n return root[type]\n else return root\n}\n\ninterface ComponentContext extends Pick<\n UseSidebarReturn,\n | \"getContentProps\"\n | \"getFooterProps\"\n | \"getHeaderProps\"\n | \"getSidePanelProps\"\n | \"getTriggerProps\"\n> {\n breakpoint: ExtractStyleValue<NonNullable<SidebarRootProps[\"breakpoint\"]>>\n mode: ExtractStyleValue<NonNullable<SidebarRootProps[\"mode\"]>>\n placement: ExtractStyleValue<NonNullable<SidebarRootProps[\"placement\"]>>\n}\n\ninterface GroupComponentContext\n extends\n Pick<SidebarGroupProps, \"contentProps\" | \"labelProps\">,\n Pick<UseSidebarGroupReturn, \"getContentProps\" | \"getLabelProps\"> {}\n\nconst [GroupComponentContext, useGroupComponentContext] =\n createContext<GroupComponentContext>({ name: \"GroupComponentContext\" })\n\ninterface ItemComponentContext {\n contentProps: SidebarItemContentProps\n endElementProps: SidebarItemEndElementProps\n indicatorProps: SidebarItemIndicatorProps\n labelProps: SidebarItemLabelProps\n startElementProps: SidebarItemStartElementProps\n tooltipProps: SidebarItemTooltipProps\n}\n\nconst [ItemComponentContext, useItemComponentContext] =\n createContext<ItemComponentContext>({ name: \"ItemComponentContext\" })\n\ninterface SidePanelComponentContext extends Pick<\n SidebarSidePanelProps,\n | \"animated\"\n | \"contentProps\"\n | \"endElement\"\n | \"endElementProps\"\n | \"footerProps\"\n | \"groupContentProps\"\n | \"groupProps\"\n | \"handleProps\"\n | \"headerProps\"\n | \"indicator\"\n | \"indicatorHidden\"\n | \"indicatorProps\"\n | \"itemContentProps\"\n | \"itemProps\"\n | \"items\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"menuProps\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n> {}\n\nconst [SidePanelComponentContext, useSidePanelComponentContext] =\n createContext<SidePanelComponentContext>({\n name: \"SidePanelComponentContext\",\n })\n\nexport interface SidebarRootProps\n extends\n HTMLStyledProps<\"div\">,\n ThemeProps<SidebarStyle>,\n Omit<UseSidebarProps, \"mobile\"> {\n /**\n * The breakpoint to use for the sidebar. If `false`, the sidebar will be always visible.\n *\n * @default 'md'\n */\n breakpoint?: Exclude<Breakpoint, \"base\"> | false\n}\n\nconst {\n ComponentContext,\n PropsContext: SidebarPropsContext,\n useComponentContext,\n usePropsContext: useSidebarPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SidebarRootProps, SidebarStyle, ComponentContext>(\n \"sidebar\",\n sidebarStyle,\n)\n\nexport { SidebarPropsContext, useSidebarPropsContext }\n\n/**\n * `Sidebar` is a component that is used to display a list of items in a sidebar.\n *\n * @see https://yamada-ui.com/docs/components/sidebar\n */\nexport const SidebarRoot = withProvider<\n \"div\",\n SidebarRootProps,\n \"mode\" | \"placement\"\n>(\n ({\n breakpoint = \"md\",\n mode: modeProp = \"offcanvas\",\n placement: placementProp = \"start\",\n ...rest\n }) => {\n const mobile =\n useBreakpointValue<boolean | undefined>(\n breakpoint ? { [breakpoint]: true } : { base: false },\n ) ?? false\n const mode = useValue(modeProp)\n const placement = useValue(placementProp)\n const {\n descendants,\n expandedValue,\n open,\n selectedValue,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getRootProps,\n getSidePanelProps,\n getTriggerProps,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n } = useSidebar({ mobile, ...rest })\n const context = useMemo(\n () => ({\n expandedValue,\n mobile,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n }),\n [\n mobile,\n expandedValue,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n ],\n )\n const componentContext = useMemo(\n () => ({\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n }),\n [\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n ],\n )\n\n return (\n <SidebarDescendantsContext value={descendants}>\n <SidebarContext value={context}>\n <ComponentContext value={componentContext}>\n <styled.div data-group {...getRootProps()} />\n </ComponentContext>\n </SidebarContext>\n </SidebarDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"mode\", \"placement\"] },\n)()\n\nexport interface SidebarMainPanelProps extends HTMLStyledProps {}\n\nexport const SidebarMainPanel = withContext<\"div\", SidebarMainPanelProps>(\n \"div\",\n \"mainPanel\",\n)()\n\nexport interface SidebarTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarTrigger = withContext<\"button\", SidebarTriggerProps>(\n \"button\",\n \"trigger\",\n)(undefined, (props) => {\n const { getTriggerProps } = useComponentContext()\n\n return { asChild: true, ...getTriggerProps(props) }\n})\n\nexport interface SidebarSidePanelProps\n extends\n Omit<HTMLStyledProps<\"aside\">, \"content\">,\n Pick<SidebarContentProps, \"items\">,\n Pick<\n SidebarItemProps,\n | \"animated\"\n | \"endElement\"\n | \"endElementProps\"\n | \"indicator\"\n | \"indicatorProps\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n > {\n /**\n * The content of the sidebar.\n */\n content?: ReactNode\n /**\n * The footer of the sidebar.\n */\n footer?: ReactNode\n /**\n * The header of the sidebar.\n */\n header?: ReactNode\n /**\n * If `true`, hide the tree indicator icon for all items.\n *\n * @default false\n */\n indicatorHidden?: boolean\n /**\n * If `true`, the sidebar will be rendered with a handle.\n *\n * @default true\n */\n withHandle?: boolean\n /**\n * Props for the content component.\n */\n contentProps?: SidebarContentProps\n /**\n * Props for the drawer component.\n */\n drawerProps?: Omit<\n Drawer.RootProps,\n | \"body\"\n | \"cancel\"\n | \"children\"\n | \"footer\"\n | \"header\"\n | \"middle\"\n | \"onCancel\"\n | \"onClose\"\n | \"onMiddle\"\n | \"onOpen\"\n | \"onSuccess\"\n | \"open\"\n | \"success\"\n | \"title\"\n | \"trigger\"\n >\n /**\n * Props for the footer component.\n */\n footerProps?: SidebarFooterProps\n /**\n * Props for the group content component.\n */\n groupContentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the group component.\n */\n groupProps?: Omit<SidebarGroupProps, \"children\" | \"label\" | \"value\">\n /**\n * Props for the handle component.\n */\n handleProps?: SidebarHandleProps\n /**\n * Props for the header component.\n */\n headerProps?: SidebarHeaderProps\n /**\n * Props for the item content component.\n */\n itemContentProps?: SidebarItemContentProps\n /**\n * Props for the item component.\n */\n itemProps?: Omit<\n SidebarItemProps,\n \"children\" | \"items\" | \"label\" | \"open\" | \"value\"\n >\n /**\n * Props for the menu component.\n *\n * @default 'md'\n */\n menuProps?: SidebarMenuProps\n}\n\nexport const SidebarSidePanel = withContext<\"aside\", SidebarSidePanelProps>(\n ({\n animated = true,\n children,\n content,\n endElement,\n footer,\n header,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n withHandle = true,\n contentProps,\n drawerProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mobile, open, onClose } = useSidebarContext()\n const { breakpoint, placement, getSidePanelProps } = useComponentContext()\n const [\n omittedChildren,\n customHeader,\n customContent,\n customFooter,\n customHandle,\n ] = useSplitChildren(\n children,\n SidebarHeader,\n SidebarContent,\n SidebarFooter,\n SidebarHandle,\n )\n const context = useMemo(\n () => ({\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n }),\n [\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n render,\n loadingScheme,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ],\n )\n\n return (\n <SidePanelComponentContext value={context}>\n {mobile ? (\n <Drawer.Root\n size=\"sm\"\n autoFocus={false}\n duration={!animated ? 0 : undefined}\n open={open}\n placement={`inline-${placement}`}\n withCloseButton={false}\n portalProps={{ disabled: true }}\n onClose={onClose}\n {...drawerProps}\n >\n <Drawer.Content>\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n </Drawer.Content>\n </Drawer.Root>\n ) : (\n <>\n <SidebarGap\n data-animated={dataAttr(animated)}\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n />\n\n <styled.aside\n data-animated={dataAttr(animated)}\n data-group\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n {...getSidePanelProps(rest)}\n >\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n {customHandle ?? (withHandle ? <SidebarHandle /> : null)}\n\n {omittedChildren}\n </styled.aside>\n </>\n )}\n </SidePanelComponentContext>\n )\n },\n \"sidePanel\",\n)()\n\ninterface SidebarGapProps extends HTMLStyledProps<\"div\"> {}\n\nconst SidebarGap = withContext<\"div\", SidebarGapProps>(\"div\", \"gap\")()\n\nexport interface SidebarHeaderProps extends HTMLStyledProps<\"header\"> {}\n\nexport const SidebarHeader = withContext<\"header\", SidebarHeaderProps>(\n \"header\",\n \"header\",\n)(undefined, (props) => {\n const { getHeaderProps } = useComponentContext()\n const { headerProps } = useSidePanelComponentContext()\n\n return getHeaderProps(mergeProps(headerProps, props)())\n})\n\nexport interface SidebarFooterProps extends HTMLStyledProps<\"footer\"> {}\n\nexport const SidebarFooter = withContext<\"footer\", SidebarFooterProps>(\n \"footer\",\n \"footer\",\n)(undefined, (props) => {\n const { getFooterProps } = useComponentContext()\n const { footerProps } = useSidePanelComponentContext()\n\n return getFooterProps(mergeProps(footerProps, props)())\n})\n\nexport interface SidebarContentProps extends HTMLStyledProps<\"ul\"> {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItem[]\n}\n\nexport const SidebarContent = withContext<\"ul\", SidebarContentProps>(\n ({ children, items, ...rest }) => {\n const { getContentProps } = useComponentContext()\n const { items: rootItems, contentProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (items ?? rootItems)?.map((props, index) => {\n const key = createKey(props, index)\n\n if (\"group\" in props) {\n const { children, group: _, ...rest } = props\n\n return <SidebarGroup key={key} items={children} {...rest} />\n } else {\n const { children, ...rest } = props\n\n return <SidebarItem key={key} items={children} {...rest} />\n }\n })\n }, [children, items, rootItems])\n\n return (\n <styled.ul {...getContentProps(mergeProps(contentProps, rest)())}>\n {computedChildren}\n </styled.ul>\n )\n },\n \"content\",\n)()\n\nexport interface SidebarHandleProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarHandle = withContext<\"button\", SidebarHandleProps>(\n (props) => {\n const { handleProps } = useSidePanelComponentContext()\n\n return (\n <SidebarTrigger {...mergeProps(handleProps, props)()}>\n <styled.button tabIndex={-1} />\n </SidebarTrigger>\n )\n },\n \"handle\",\n)()\n\nexport interface SidebarGroupProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"content\" | \"value\">,\n UseSidebarGroupProps {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The label of the group.\n */\n label?: ReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the label component.\n */\n labelProps?: HTMLStyledProps<\"span\">\n}\n\nexport const SidebarGroup = withContext<\"li\", SidebarGroupProps>(\n ({\n children,\n items,\n label,\n value: valueProp = isString(label) ? label : undefined,\n contentProps,\n labelProps,\n ...rest\n }) => {\n const { groupProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [children, items])\n const [omittedChildren, customLabel, customContent] = useSplitChildren(\n computedChildren,\n SidebarGroupLabel,\n SidebarGroupContent,\n )\n const { getContentProps, getLabelProps, getRootProps } = useSidebarGroup({\n ...mergeProps(groupProps, rest)(),\n value: valueProp,\n })\n const context = useMemo(\n () => ({ contentProps, getContentProps, getLabelProps, labelProps }),\n [getLabelProps, labelProps, getContentProps, contentProps],\n )\n\n return (\n <GroupComponentContext value={context}>\n <styled.li {...getRootProps()}>\n {customLabel ??\n (label ? <SidebarGroupLabel>{label}</SidebarGroupLabel> : null)}\n {customContent ?? (\n <SidebarGroupContent>{omittedChildren}</SidebarGroupContent>\n )}\n </styled.li>\n </GroupComponentContext>\n )\n },\n \"group\",\n)()\n\nexport interface SidebarGroupLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarGroupLabel = withContext<\"span\", SidebarGroupLabelProps>(\n \"span\",\n \"groupLabel\",\n)(undefined, (props) => {\n const { getLabelProps, labelProps } = useGroupComponentContext()\n\n return getLabelProps(mergeProps(labelProps, props)())\n})\n\nexport interface SidebarGroupContentProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarGroupContent = withContext<\"div\", SidebarGroupContentProps>(\n \"div\",\n \"groupContent\",\n)(undefined, ({ children, ...rest }) => {\n const validChildren = useValidChildren(children)\n const list = useIncludesChildren(validChildren, SidebarItem)\n const { groupContentProps } = useSidePanelComponentContext()\n const { contentProps, getContentProps } = useGroupComponentContext()\n\n return {\n as: list ? \"ul\" : \"div\",\n children,\n ...getContentProps(mergeProps(groupContentProps, contentProps, rest)()),\n }\n})\n\nexport interface SidebarMenuProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarMenu = withContext<\"div\", SidebarMenuProps>(\"div\", \"menu\")(\n undefined,\n (props) => {\n const { menuProps } = useSidePanelComponentContext()\n\n return { \"data-menu\": \"\", ...mergeProps(menuProps, props)() }\n },\n)\n\nexport interface SidebarMenuButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarMenuButton = withContext<\"button\", SidebarMenuButtonProps>(\n \"button\",\n [\"menu\", \"button\"],\n)(undefined, (props) => {\n const { open } = useSidebarContext()\n const { mode } = useComponentContext()\n const { menuProps } = useSidePanelComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const { disabled, ...rest } = mergeProps(menuProps, props)()\n\n return {\n \"data-menu\": \"\",\n disabled,\n ...rest,\n tabIndex: (!offcanvas || open) && !disabled ? 0 : -1,\n }\n})\n\nexport interface SidebarItemProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"value\">,\n Omit<UseSidebarItemProps, \"asyncChildren\"> {\n /**\n * The label to display in the item.\n */\n label: ReactNode\n /**\n * If `true`, the sidebar item will be animated.\n *\n * @default true\n */\n animated?: boolean\n /**\n * The element to display at the end of the item.\n */\n endElement?: SidebarItemReactNode\n /**\n * The sidebar item indicator icon to use.\n */\n indicator?: ReactNodeOrFunction<SidebarItemCallBackProps>\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The loading scheme.\n *\n * @default 'oval'\n */\n loadingScheme?: Loading.Scheme\n /**\n * If provided, the sidebar item will be rendered with custom components.\n */\n render?: SidebarItemRender\n /**\n * The element to display at the start of the item.\n */\n startElement?: SidebarItemReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarItemContentProps, \"children\">\n /**\n * Props for the end component.\n */\n endElementProps?: SidebarItemEndElementProps\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SidebarItemIndicatorProps\n /**\n * Props for the label component.\n */\n labelProps?: SidebarItemLabelProps\n /**\n * Props for the link component.\n */\n linkProps?: SidebarItemLinkProps\n /**\n * Props for the start component.\n */\n startElementProps?: SidebarItemStartElementProps\n /**\n * Props for the tooltip component.\n */\n tooltipProps?: Omit<SidebarItemTooltipProps, \"children\" | \"content\">\n /**\n * Props for the trigger component.\n */\n triggerProps?: SidebarItemTriggerProps\n /**\n * If provided, the sidebar item will be rendered as an async sidebar item.\n */\n asyncChildren?: () => Promise<SidebarItemWithValue[]>\n}\n\nexport const SidebarItem = withContext<\"li\", SidebarItemProps>(\n ({\n animated: animatedProp,\n asyncChildren: asyncChildrenProp,\n children: childrenProp,\n endElement,\n indicator: indicatorProp,\n items,\n label,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n indicatorProps,\n labelProps,\n linkProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mode } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const componentContext = useSidePanelComponentContext()\n const Loading = useLoadingComponent(\n loadingScheme ?? componentContext.loadingScheme ?? \"oval\",\n )\n const computedChildren = useMemo(() => {\n if (childrenProp) return childrenProp\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [childrenProp, items])\n const asyncChildren = useCallback(async () => {\n const items = await asyncChildrenProp?.()\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [asyncChildrenProp])\n const {\n branchOpen,\n children,\n disabled,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n open,\n selected,\n selectedValue,\n value,\n getContentProps,\n getIndicatorProps,\n getItemProps,\n getLabelProps,\n getLinkProps,\n getTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n } = useSidebarItem({\n ...mergeProps(componentContext.itemProps, rest)(),\n asyncChildren: asyncChildrenProp ? asyncChildren : undefined,\n children: computedChildren,\n })\n const animated = animatedProp ?? componentContext.animated ?? true\n const tabIndex = offcanvas\n ? open && expanded && !disabled\n ? 0\n : -1\n : expanded && !disabled\n ? 0\n : -1\n const callbackProps = useMemo(\n () => ({ disabled, expanded: groupOpen }),\n [disabled, groupOpen],\n )\n const mergedTriggerProps = useMemo(() => {\n return getTriggerProps({\n tabIndex,\n ...mergeProps(componentContext.triggerProps, triggerProps)(),\n }) as SidebarItemTriggerProps\n }, [getTriggerProps, tabIndex, componentContext.triggerProps, triggerProps])\n const mergedLinkProps = useMemo(() => {\n return getLinkProps({\n tabIndex,\n ...mergeProps(componentContext.linkProps, linkProps)(),\n }) as SidebarItemLinkProps\n }, [getLinkProps, tabIndex, componentContext.linkProps, linkProps])\n const indicator = useMemo<ReactNode>(\n () => runIfFn(indicatorProp ?? componentContext.indicator, callbackProps),\n [indicatorProp, componentContext.indicator, callbackProps],\n )\n const groupStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const groupEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const itemStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const itemEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const trigger = useMemo<ReactNode>(\n () =>\n runIfFn(render?.trigger ?? componentContext.render?.trigger, {\n endElement: groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n startElement: groupStartElement,\n value,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.trigger,\n componentContext.render?.trigger,\n groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n groupStartElement,\n value,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const link = useMemo<ReactNode>(\n () =>\n runIfFn(render?.link ?? componentContext.render?.link, {\n endElement: itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n startElement: itemStartElement,\n value,\n linkProps: mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n }),\n [\n render?.link,\n componentContext.render?.link,\n itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n itemStartElement,\n value,\n mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n ],\n )\n const item = useMemo<ReactNode>(\n () =>\n runIfFn(render?.item ?? componentContext.render?.item, {\n children,\n endElement: { group: groupEndElement, item: itemEndElement },\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n startElement: { group: groupStartElement, item: itemStartElement },\n trigger,\n value,\n itemProps: getItemProps() as HTMLStyledProps<\"li\">,\n linkProps: mergedLinkProps,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.item,\n componentContext.render?.item,\n children,\n groupEndElement,\n itemEndElement,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n groupStartElement,\n itemStartElement,\n trigger,\n value,\n getItemProps,\n mergedLinkProps,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const context = useMemo(\n () => ({ branchOpen, groupOpen }),\n [branchOpen, groupOpen],\n )\n const itemComponentContext = useMemo(\n () => ({\n contentProps: {\n duration: !animated ? 0 : undefined,\n open: groupOpen,\n ...getContentProps(\n mergeProps(componentContext.itemContentProps, contentProps)(),\n ),\n },\n endElementProps: mergeProps(\n componentContext.endElementProps,\n endElementProps,\n )(),\n indicatorProps: getIndicatorProps({\n \"data-animated\": dataAttr(animated),\n ...mergeProps(componentContext.indicatorProps, indicatorProps)(),\n }) as SidebarItemIndicatorProps,\n labelProps: getLabelProps(\n mergeProps(componentContext.labelProps, labelProps)(),\n ) as SidebarItemLabelProps,\n startElementProps: mergeProps(\n componentContext.startElementProps,\n startElementProps,\n )(),\n tooltipProps: {\n content: label,\n disabled: open,\n ...mergeProps(componentContext.tooltipProps, tooltipProps)(),\n },\n }),\n [\n animated,\n componentContext.endElementProps,\n componentContext.indicatorProps,\n componentContext.itemContentProps,\n componentContext.labelProps,\n componentContext.startElementProps,\n componentContext.tooltipProps,\n contentProps,\n endElementProps,\n getContentProps,\n getIndicatorProps,\n getLabelProps,\n groupOpen,\n indicatorProps,\n label,\n labelProps,\n open,\n startElementProps,\n tooltipProps,\n ],\n )\n\n return (\n <SidebarItemContext value={context}>\n <ItemComponentContext value={itemComponentContext}>\n {item ?? (\n <styled.li {...getItemProps()}>\n {group ? (\n <>\n {trigger ?? (\n <SidebarItemTrigger {...mergedTriggerProps}>\n {groupStartElement ? (\n <SidebarItemStartElement>\n {groupStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {groupEndElement ? (\n <SidebarItemEndElement>\n {groupEndElement}\n </SidebarItemEndElement>\n ) : null}\n <SidebarItemIndicator>\n {groupLoading ? (\n <Loading />\n ) : (\n runIfFn(indicator, callbackProps)\n )}\n </SidebarItemIndicator>\n </SidebarItemTrigger>\n )}\n\n <SidebarItemContent>{children}</SidebarItemContent>\n </>\n ) : (\n (link ?? (\n <SidebarItemLink {...mergedLinkProps}>\n {itemStartElement ? (\n <SidebarItemStartElement>\n {itemStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {itemEndElement ? (\n <SidebarItemEndElement>\n {itemEndElement}\n </SidebarItemEndElement>\n ) : null}\n </SidebarItemLink>\n ))\n )}\n </styled.li>\n )}\n </ItemComponentContext>\n </SidebarItemContext>\n )\n },\n \"item\",\n)()\n\ninterface SidebarItemTooltipProps extends TooltipProps {}\n\nconst SidebarItemTooltip: FC<SidebarItemTooltipProps> = (props) => {\n const { tooltipProps } = useItemComponentContext()\n const { children, disabled, ...rest } = mergeProps(tooltipProps, props)()\n const { mode, placement } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n\n if (offcanvas || disabled) return children\n else\n return (\n <Tooltip\n closeOnClick={false}\n gutter={16}\n placement={`center-${placement === \"start\" ? \"end\" : \"start\"}`}\n {...rest}\n >\n {children}\n </Tooltip>\n )\n}\n\nexport interface SidebarItemTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarItemTrigger = withContext<\n \"button\",\n SidebarItemTriggerProps\n>((props) => {\n return (\n <SidebarItemTooltip>\n <styled.button {...props} />\n </SidebarItemTooltip>\n )\n}, \"itemTrigger\")()\n\nexport interface SidebarItemLinkProps extends HTMLStyledProps<\"a\"> {}\n\nexport const SidebarItemLink = withContext<\"a\", SidebarItemLinkProps>(\n (props) => {\n return (\n <SidebarItemTooltip>\n <styled.a {...props} />\n </SidebarItemTooltip>\n )\n },\n \"itemLink\",\n)()\n\nexport interface SidebarItemContentProps\n extends\n Omit<HTMLStyledProps<\"ul\">, \"transition\">,\n Pick<CollapseProps, \"animationOpacity\" | keyof WithTransitionProps> {}\n\nexport const SidebarItemContent = withContext<\"ul\", SidebarItemContentProps>(\n (props) => {\n const { contentProps } = useItemComponentContext()\n\n return (\n <Collapse\n as=\"ul\"\n {...cast<CollapseProps>(mergeProps(contentProps, props)())}\n />\n )\n },\n \"itemContent\",\n)()\n\nexport interface SidebarItemIndicatorProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const SidebarItemIndicator = withContext<\n \"svg\",\n SidebarItemIndicatorProps\n>(({ children = <ChevronRightIcon />, ...rest }) => {\n const { indicatorHidden } = useSidePanelComponentContext()\n\n if (indicatorHidden) return null\n\n if (isValidElement<HTMLProps<\"svg\">>(children))\n return cloneElement(children, { ...rest, ...children.props })\n\n return Children.count(children) > 1 ? Children.only(null) : null\n}, \"itemIndicator\")(undefined, (props) => {\n const { indicatorProps } = useItemComponentContext()\n\n return mergeProps(indicatorProps, props)()\n})\n\nexport interface SidebarItemStartElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemStartElement = withContext<\n \"div\",\n SidebarItemStartElementProps\n>(\"div\", {\n name: \"ItemStartElement\",\n slot: [\"itemElement\", \"start\"],\n})(undefined, (props) => {\n const { startElementProps } = useItemComponentContext()\n\n return mergeProps(startElementProps, props)()\n})\n\nexport interface SidebarItemEndElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemEndElement = withContext<\n \"div\",\n SidebarItemEndElementProps\n>(\"div\", {\n name: \"ItemEndElement\",\n slot: [\"itemElement\", \"end\"],\n})(undefined, (props) => {\n const { endElementProps } = useItemComponentContext()\n\n return mergeProps(endElementProps, props)()\n})\n\nexport interface SidebarItemLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarItemLabel = withContext<\"span\", SidebarItemLabelProps>(\n \"span\",\n \"itemLabel\",\n)(undefined, (props) => {\n const { labelProps } = useItemComponentContext()\n\n return mergeProps(labelProps, props)()\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA4JA,MAAM,aAAa,OAAoB,UAAkB;CACvD,OAAO,WAAW,QAAQ,MAAM,SAAS,QAAQ;AACnD;AAEA,MAAM,0BACJ,MACA,QACA,SACkD;CAClD,KAAA,GAAA,oBAAA,cAAI,SAAA,CAAS,MAAM,MAAM,WAAW,U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A,cAAAA,WAAW,iBAAiB,KAAK,CAAC,CAAC;AAC5C,CAAC;AAID,MAAa,mBAAmB,YAC9B,QACA,WACF,CAAC,CAAC,KAAA,IAAY,UAAU;CACtB,MAAM,EAAE,eAAe,wBAAwB;CAE/C,OAAOA,cAAAA,WAAW,YAAY,KAAK,CAAC,CAAC;AACvC,CAAC"}
|
|
1
|
+
{"version":3,"file":"sidebar.cjs","names":["createContext","createSlotComponent","sidebarStyle","useBreakpointValue","useValue","useSidebar","useMemo","SidebarDescendantsContext","SidebarContext","styled","useSidebarContext","useSplitChildren","mergeProps","useSidebarGroup","useValidChildren","useIncludesChildren","useLoadingComponent","useCallback","useSidebarItem","SidebarItemContext","Tooltip","Collapse","ChevronRightIcon","isValidElement","cloneElement","Children"],"sources":["../../../../src/components/sidebar/sidebar.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type {\n Breakpoint,\n ExtractStyleValue,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport type { CollapseProps } from \"../collapse\"\nimport type { Loading } from \"../loading\"\nimport type { WithTransitionProps } from \"../motion\"\nimport type { TooltipProps } from \"../tooltip\"\nimport type { SidebarStyle } from \"./sidebar.style\"\nimport type {\n UseSidebarGroupProps,\n UseSidebarGroupReturn,\n UseSidebarItemProps,\n UseSidebarItemReturn,\n UseSidebarProps,\n UseSidebarReturn,\n} from \"./use-sidebar\"\nimport {\n Children,\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n} from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport { useBreakpointValue } from \"../../hooks/use-breakpoint\"\nimport { useValue } from \"../../hooks/use-value\"\nimport {\n cast,\n createContext,\n dataAttr,\n isObject,\n isString,\n runIfFn,\n useIncludesChildren,\n useSplitChildren,\n useValidChildren,\n} from \"../../utils\"\nimport { Collapse } from \"../collapse\"\nimport { Drawer } from \"../drawer\"\nimport { ChevronRightIcon } from \"../icon\"\nimport { useLoadingComponent } from \"../loading\"\nimport { Tooltip } from \"../tooltip\"\nimport { sidebarStyle } from \"./sidebar.style\"\nimport {\n SidebarContext,\n SidebarDescendantsContext,\n SidebarItemContext,\n useSidebar,\n useSidebarContext,\n useSidebarGroup,\n useSidebarItem,\n} from \"./use-sidebar\"\n\ninterface SidebarItemCallBackProps {\n disabled?: boolean\n expanded?: boolean\n}\n\ntype SidebarItemReactNode =\n | ReactNodeOrFunction<SidebarItemCallBackProps>\n | {\n group: ReactNodeOrFunction<SidebarItemCallBackProps>\n item?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n | {\n item: ReactNodeOrFunction<SidebarItemCallBackProps>\n group?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n\ninterface SidebarItemSharedRenderProps\n extends\n Pick<SidebarItemProps, \"label\">,\n Pick<\n UseSidebarItemReturn,\n | \"expanded\"\n | \"expandedValue\"\n | \"onExpandedChange\"\n | \"onSelectedChange\"\n | \"selected\"\n | \"selectedValue\"\n | \"value\"\n > {\n itemProps: HTMLStyledProps<\"li\">\n linkProps: HTMLStyledProps<\"a\">\n triggerProps: HTMLStyledProps<\"button\">\n endElement?: ReactNode\n startElement?: ReactNode\n}\n\ninterface SidebarItemRenderProps\n extends\n PropsWithChildren,\n Omit<SidebarItemSharedRenderProps, \"endElement\" | \"startElement\">,\n Pick<\n UseSidebarItemReturn,\n | \"group\"\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n endElement: { group?: ReactNode; item?: ReactNode }\n startElement: { group?: ReactNode; item?: ReactNode }\n indicator?: ReactNode\n link?: ReactNode\n trigger?: ReactNode\n}\n\ninterface SidebarItemLinkRenderProps extends Omit<\n SidebarItemSharedRenderProps,\n \"itemProps\" | \"triggerProps\"\n> {}\n\ninterface SidebarItemTriggerRenderProps\n extends\n Omit<SidebarItemSharedRenderProps, \"itemProps\" | \"linkProps\">,\n Pick<\n UseSidebarItemReturn,\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n indicator?: ReactNode\n}\n\ninterface SidebarItemRender {\n item?: ReactNodeOrFunction<SidebarItemRenderProps>\n link?: ReactNodeOrFunction<SidebarItemLinkRenderProps>\n trigger?: ReactNodeOrFunction<SidebarItemTriggerRenderProps>\n}\n\ninterface SidebarGroup extends Omit<SidebarGroupProps, \"children\" | \"value\"> {\n children: SidebarItemWithValue[]\n group: true\n}\n\nexport interface SidebarItemWithValue extends Omit<\n SidebarItemProps,\n \"children\"\n> {\n children?: SidebarItemWithValue[]\n}\n\nexport type SidebarItem = SidebarGroup | SidebarItemWithValue\n\nconst createKey = (props: SidebarItem, index: number) => {\n return \"value\" in props ? props.value || index : index\n}\n\nconst getReactNodeOrFunction = (\n type: \"group\" | \"item\",\n custom?: SidebarItemReactNode,\n root?: SidebarItemReactNode,\n): ReactNodeOrFunction<SidebarItemCallBackProps> => {\n if (isObject(custom) && (\"group\" in custom || \"item\" in custom))\n return custom[type]\n else if (custom) return custom\n else if (isObject(root) && (\"group\" in root || \"item\" in root))\n return root[type]\n else return root\n}\n\ninterface ComponentContext extends Pick<\n UseSidebarReturn,\n | \"getContentProps\"\n | \"getFooterProps\"\n | \"getHeaderProps\"\n | \"getSidePanelProps\"\n | \"getTriggerProps\"\n> {\n breakpoint: ExtractStyleValue<NonNullable<SidebarRootProps[\"breakpoint\"]>>\n mode: ExtractStyleValue<NonNullable<SidebarRootProps[\"mode\"]>>\n placement: ExtractStyleValue<NonNullable<SidebarRootProps[\"placement\"]>>\n}\n\ninterface GroupComponentContext\n extends\n Pick<SidebarGroupProps, \"contentProps\" | \"labelProps\">,\n Pick<UseSidebarGroupReturn, \"getContentProps\" | \"getLabelProps\"> {}\n\nconst [GroupComponentContext, useGroupComponentContext] =\n createContext<GroupComponentContext>({ name: \"GroupComponentContext\" })\n\ninterface ItemComponentContext {\n contentProps: SidebarItemContentProps\n endElementProps: SidebarItemEndElementProps\n indicatorProps: SidebarItemIndicatorProps\n labelProps: SidebarItemLabelProps\n startElementProps: SidebarItemStartElementProps\n tooltipProps: SidebarItemTooltipProps\n}\n\nconst [ItemComponentContext, useItemComponentContext] =\n createContext<ItemComponentContext>({ name: \"ItemComponentContext\" })\n\ninterface SidePanelComponentContext extends Pick<\n SidebarSidePanelProps,\n | \"animated\"\n | \"contentProps\"\n | \"endElement\"\n | \"endElementProps\"\n | \"footerProps\"\n | \"groupContentProps\"\n | \"groupProps\"\n | \"handleProps\"\n | \"headerProps\"\n | \"indicator\"\n | \"indicatorHidden\"\n | \"indicatorProps\"\n | \"itemContentProps\"\n | \"itemProps\"\n | \"items\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"menuProps\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n> {}\n\nconst [SidePanelComponentContext, useSidePanelComponentContext] =\n createContext<SidePanelComponentContext>({\n name: \"SidePanelComponentContext\",\n })\n\nexport interface SidebarRootProps\n extends\n HTMLStyledProps<\"div\">,\n ThemeProps<SidebarStyle>,\n Omit<UseSidebarProps, \"mobile\"> {\n /**\n * The breakpoint to use for the sidebar. If `false`, the sidebar will be always visible.\n *\n * @default 'md'\n */\n breakpoint?: Exclude<Breakpoint, \"base\"> | false\n}\n\nconst {\n ComponentContext,\n PropsContext: SidebarPropsContext,\n useComponentContext,\n usePropsContext: useSidebarPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SidebarRootProps, SidebarStyle, ComponentContext>(\n \"sidebar\",\n sidebarStyle,\n)\n\nexport { SidebarPropsContext, useSidebarPropsContext }\n\n/**\n * `Sidebar` is a component that is used to display a list of items in a sidebar.\n *\n * @see https://yamada-ui.com/docs/components/sidebar\n */\nexport const SidebarRoot = withProvider<\n \"div\",\n SidebarRootProps,\n \"mode\" | \"placement\"\n>(\n ({\n breakpoint = \"md\",\n mode: modeProp = \"offcanvas\",\n placement: placementProp = \"start\",\n ...rest\n }) => {\n const mobile =\n useBreakpointValue<boolean | undefined>(\n breakpoint ? { [breakpoint]: true } : { base: false },\n ) ?? false\n const mode = useValue(modeProp)\n const placement = useValue(placementProp)\n const {\n descendants,\n expandedValue,\n open,\n selectedValue,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getRootProps,\n getSidePanelProps,\n getTriggerProps,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n } = useSidebar({ mobile, ...rest })\n const context = useMemo(\n () => ({\n expandedValue,\n mobile,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n }),\n [\n mobile,\n expandedValue,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n ],\n )\n const componentContext = useMemo(\n () => ({\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n }),\n [\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n ],\n )\n\n return (\n <SidebarDescendantsContext value={descendants}>\n <SidebarContext value={context}>\n <ComponentContext value={componentContext}>\n <styled.div data-group {...getRootProps()} />\n </ComponentContext>\n </SidebarContext>\n </SidebarDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"mode\", \"placement\"] },\n)()\n\nexport interface SidebarMainPanelProps extends HTMLStyledProps {}\n\nexport const SidebarMainPanel = withContext<\"div\", SidebarMainPanelProps>(\n \"div\",\n \"mainPanel\",\n)()\n\nexport interface SidebarTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarTrigger = withContext<\"button\", SidebarTriggerProps>(\n \"button\",\n \"trigger\",\n)(undefined, (props) => {\n const { getTriggerProps } = useComponentContext()\n\n return { asChild: true, ...getTriggerProps(props) }\n})\n\nexport interface SidebarSidePanelProps\n extends\n Omit<HTMLStyledProps<\"aside\">, \"content\">,\n Pick<SidebarContentProps, \"items\">,\n Pick<\n SidebarItemProps,\n | \"animated\"\n | \"endElement\"\n | \"endElementProps\"\n | \"indicator\"\n | \"indicatorProps\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n > {\n /**\n * The content of the sidebar.\n */\n content?: ReactNode\n /**\n * The footer of the sidebar.\n */\n footer?: ReactNode\n /**\n * The header of the sidebar.\n */\n header?: ReactNode\n /**\n * If `true`, hide the tree indicator icon for all items.\n *\n * @default false\n */\n indicatorHidden?: boolean\n /**\n * If `true`, the sidebar will be rendered with a handle.\n *\n * @default true\n */\n withHandle?: boolean\n /**\n * Props for the content component.\n */\n contentProps?: SidebarContentProps\n /**\n * Props for the drawer component.\n */\n drawerProps?: Omit<\n Drawer.RootProps,\n | \"body\"\n | \"cancel\"\n | \"children\"\n | \"footer\"\n | \"header\"\n | \"middle\"\n | \"onCancel\"\n | \"onClose\"\n | \"onMiddle\"\n | \"onOpen\"\n | \"onSuccess\"\n | \"open\"\n | \"success\"\n | \"title\"\n | \"trigger\"\n >\n /**\n * Props for the footer component.\n */\n footerProps?: SidebarFooterProps\n /**\n * Props for the group content component.\n */\n groupContentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the group component.\n */\n groupProps?: Omit<SidebarGroupProps, \"children\" | \"label\" | \"value\">\n /**\n * Props for the handle component.\n */\n handleProps?: SidebarHandleProps\n /**\n * Props for the header component.\n */\n headerProps?: SidebarHeaderProps\n /**\n * Props for the item content component.\n */\n itemContentProps?: SidebarItemContentProps\n /**\n * Props for the item component.\n */\n itemProps?: Omit<\n SidebarItemProps,\n \"children\" | \"items\" | \"label\" | \"open\" | \"value\"\n >\n /**\n * Props for the menu component.\n *\n * @default 'md'\n */\n menuProps?: SidebarMenuProps\n}\n\nexport const SidebarSidePanel = withContext<\"aside\", SidebarSidePanelProps>(\n ({\n animated = true,\n children,\n content,\n endElement,\n footer,\n header,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n withHandle = true,\n contentProps,\n drawerProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mobile, open, onClose } = useSidebarContext()\n const { breakpoint, placement, getSidePanelProps } = useComponentContext()\n const [\n omittedChildren,\n customHeader,\n customContent,\n customFooter,\n customHandle,\n ] = useSplitChildren(\n children,\n SidebarHeader,\n SidebarContent,\n SidebarFooter,\n SidebarHandle,\n )\n const context = useMemo(\n () => ({\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n }),\n [\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n render,\n loadingScheme,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ],\n )\n\n return (\n <SidePanelComponentContext value={context}>\n {mobile ? (\n <Drawer.Root\n size=\"sm\"\n autoFocus={false}\n duration={!animated ? 0 : undefined}\n open={open}\n placement={`inline-${placement}`}\n withCloseButton={false}\n portalProps={{ disabled: true }}\n onClose={onClose}\n {...drawerProps}\n >\n <Drawer.Content>\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n </Drawer.Content>\n </Drawer.Root>\n ) : (\n <>\n <SidebarGap\n data-animated={dataAttr(animated)}\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n />\n\n <styled.aside\n data-animated={dataAttr(animated)}\n data-group\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n {...getSidePanelProps(rest)}\n >\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n {customHandle ?? (withHandle ? <SidebarHandle /> : null)}\n\n {omittedChildren}\n </styled.aside>\n </>\n )}\n </SidePanelComponentContext>\n )\n },\n \"sidePanel\",\n)()\n\ninterface SidebarGapProps extends HTMLStyledProps<\"div\"> {}\n\nconst SidebarGap = withContext<\"div\", SidebarGapProps>(\"div\", \"gap\")()\n\nexport interface SidebarHeaderProps extends HTMLStyledProps<\"header\"> {}\n\nexport const SidebarHeader = withContext<\"header\", SidebarHeaderProps>(\n \"header\",\n \"header\",\n)(undefined, (props) => {\n const { getHeaderProps } = useComponentContext()\n const { headerProps } = useSidePanelComponentContext()\n\n return getHeaderProps(mergeProps(headerProps, props)())\n})\n\nexport interface SidebarFooterProps extends HTMLStyledProps<\"footer\"> {}\n\nexport const SidebarFooter = withContext<\"footer\", SidebarFooterProps>(\n \"footer\",\n \"footer\",\n)(undefined, (props) => {\n const { getFooterProps } = useComponentContext()\n const { footerProps } = useSidePanelComponentContext()\n\n return getFooterProps(mergeProps(footerProps, props)())\n})\n\nexport interface SidebarContentProps extends HTMLStyledProps<\"ul\"> {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItem[]\n}\n\nexport const SidebarContent = withContext<\"ul\", SidebarContentProps>(\n ({ children, items, ...rest }) => {\n const { getContentProps } = useComponentContext()\n const { items: rootItems, contentProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (items ?? rootItems)?.map((props, index) => {\n const key = createKey(props, index)\n\n if (\"group\" in props) {\n const { children, group: _, ...rest } = props\n\n return <SidebarGroup key={key} items={children} {...rest} />\n } else {\n const { children, ...rest } = props\n\n return <SidebarItem key={key} items={children} {...rest} />\n }\n })\n }, [children, items, rootItems])\n\n return (\n <styled.ul {...getContentProps(mergeProps(contentProps, rest)())}>\n {computedChildren}\n </styled.ul>\n )\n },\n \"content\",\n)()\n\nexport interface SidebarHandleProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarHandle = withContext<\"button\", SidebarHandleProps>(\n (props) => {\n const { handleProps } = useSidePanelComponentContext()\n\n return (\n <SidebarTrigger {...mergeProps(handleProps, props)()}>\n <styled.button tabIndex={-1} />\n </SidebarTrigger>\n )\n },\n \"handle\",\n)()\n\nexport interface SidebarGroupProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"content\" | \"value\">,\n UseSidebarGroupProps {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The label of the group.\n */\n label?: ReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the label component.\n */\n labelProps?: HTMLStyledProps<\"span\">\n}\n\nexport const SidebarGroup = withContext<\"li\", SidebarGroupProps>(\n ({\n children,\n items,\n label,\n value: valueProp = isString(label) ? label : undefined,\n contentProps,\n labelProps,\n ...rest\n }) => {\n const { groupProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [children, items])\n const [omittedChildren, customLabel, customContent] = useSplitChildren(\n computedChildren,\n SidebarGroupLabel,\n SidebarGroupContent,\n )\n const { getContentProps, getLabelProps, getRootProps } = useSidebarGroup({\n ...mergeProps(groupProps, rest)(),\n value: valueProp,\n })\n const context = useMemo(\n () => ({ contentProps, getContentProps, getLabelProps, labelProps }),\n [getLabelProps, labelProps, getContentProps, contentProps],\n )\n\n return (\n <GroupComponentContext value={context}>\n <styled.li {...getRootProps()}>\n {customLabel ??\n (label ? <SidebarGroupLabel>{label}</SidebarGroupLabel> : null)}\n {customContent ?? (\n <SidebarGroupContent>{omittedChildren}</SidebarGroupContent>\n )}\n </styled.li>\n </GroupComponentContext>\n )\n },\n \"group\",\n)()\n\nexport interface SidebarGroupLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarGroupLabel = withContext<\"span\", SidebarGroupLabelProps>(\n \"span\",\n \"groupLabel\",\n)(undefined, (props) => {\n const { getLabelProps, labelProps } = useGroupComponentContext()\n\n return getLabelProps(mergeProps(labelProps, props)())\n})\n\nexport interface SidebarGroupContentProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarGroupContent = withContext<\"div\", SidebarGroupContentProps>(\n \"div\",\n \"groupContent\",\n)(undefined, ({ children, ...rest }) => {\n const validChildren = useValidChildren(children)\n const list = useIncludesChildren(validChildren, SidebarItem)\n const { groupContentProps } = useSidePanelComponentContext()\n const { contentProps, getContentProps } = useGroupComponentContext()\n\n return {\n as: list ? \"ul\" : \"div\",\n children,\n ...getContentProps(mergeProps(groupContentProps, contentProps, rest)()),\n }\n})\n\nexport interface SidebarMenuProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarMenu = withContext<\"div\", SidebarMenuProps>(\"div\", \"menu\")(\n undefined,\n (props) => {\n const { menuProps } = useSidePanelComponentContext()\n\n return { \"data-menu\": \"\", ...mergeProps(menuProps, props)() }\n },\n)\n\nexport interface SidebarMenuButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarMenuButton = withContext<\"button\", SidebarMenuButtonProps>(\n \"button\",\n [\"menu\", \"button\"],\n)(undefined, (props) => {\n const { open } = useSidebarContext()\n const { mode } = useComponentContext()\n const { menuProps } = useSidePanelComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const { disabled, ...rest } = mergeProps(menuProps, props)()\n\n return {\n \"data-menu\": \"\",\n disabled,\n ...rest,\n tabIndex: (!offcanvas || open) && !disabled ? 0 : -1,\n }\n})\n\nexport interface SidebarItemProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"value\">,\n Omit<UseSidebarItemProps, \"asyncChildren\"> {\n /**\n * The label to display in the item.\n */\n label: ReactNode\n /**\n * If `true`, the sidebar item will be animated.\n *\n * @default true\n */\n animated?: boolean\n /**\n * The element to display at the end of the item.\n */\n endElement?: SidebarItemReactNode\n /**\n * The sidebar item indicator icon to use.\n */\n indicator?: ReactNodeOrFunction<SidebarItemCallBackProps>\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The loading scheme.\n *\n * @default 'oval'\n */\n loadingScheme?: Loading.Scheme\n /**\n * If provided, the sidebar item will be rendered with custom components.\n */\n render?: SidebarItemRender\n /**\n * The element to display at the start of the item.\n */\n startElement?: SidebarItemReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarItemContentProps, \"children\">\n /**\n * Props for the end component.\n */\n endElementProps?: SidebarItemEndElementProps\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SidebarItemIndicatorProps\n /**\n * Props for the label component.\n */\n labelProps?: SidebarItemLabelProps\n /**\n * Props for the link component.\n */\n linkProps?: SidebarItemLinkProps\n /**\n * Props for the start component.\n */\n startElementProps?: SidebarItemStartElementProps\n /**\n * Props for the tooltip component.\n */\n tooltipProps?: Omit<SidebarItemTooltipProps, \"children\" | \"content\">\n /**\n * Props for the trigger component.\n */\n triggerProps?: SidebarItemTriggerProps\n /**\n * If provided, the sidebar item will be rendered as an async sidebar item.\n */\n asyncChildren?: () => Promise<SidebarItemWithValue[]>\n}\n\nexport const SidebarItem = withContext<\"li\", SidebarItemProps>(\n ({\n animated: animatedProp,\n asyncChildren: asyncChildrenProp,\n children: childrenProp,\n endElement,\n indicator: indicatorProp,\n items,\n label,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n indicatorProps,\n labelProps,\n linkProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mode } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const componentContext = useSidePanelComponentContext()\n const Loading = useLoadingComponent(\n loadingScheme ?? componentContext.loadingScheme ?? \"oval\",\n )\n const computedChildren = useMemo(() => {\n if (childrenProp) return childrenProp\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [childrenProp, items])\n const asyncChildren = useCallback(async () => {\n const items = await asyncChildrenProp?.()\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [asyncChildrenProp])\n const {\n branchOpen,\n children,\n disabled,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n open,\n selected,\n selectedValue,\n value,\n getContentProps,\n getIndicatorProps,\n getItemProps,\n getLabelProps,\n getLinkProps,\n getTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n } = useSidebarItem({\n ...mergeProps(componentContext.itemProps, rest)(),\n asyncChildren: asyncChildrenProp ? asyncChildren : undefined,\n children: computedChildren,\n })\n const animated = animatedProp ?? componentContext.animated ?? true\n const tabIndex = offcanvas\n ? open && expanded && !disabled\n ? 0\n : -1\n : expanded && !disabled\n ? 0\n : -1\n const callbackProps = useMemo(\n () => ({ disabled, expanded: groupOpen }),\n [disabled, groupOpen],\n )\n const mergedTriggerProps = useMemo(() => {\n return getTriggerProps({\n tabIndex,\n ...mergeProps(componentContext.triggerProps, triggerProps)(),\n }) as SidebarItemTriggerProps\n }, [getTriggerProps, tabIndex, componentContext.triggerProps, triggerProps])\n const mergedLinkProps = useMemo(() => {\n return getLinkProps({\n tabIndex,\n ...mergeProps(componentContext.linkProps, linkProps)(),\n }) as SidebarItemLinkProps\n }, [getLinkProps, tabIndex, componentContext.linkProps, linkProps])\n const indicator = useMemo<ReactNode>(\n () => runIfFn(indicatorProp ?? componentContext.indicator, callbackProps),\n [indicatorProp, componentContext.indicator, callbackProps],\n )\n const groupStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const groupEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const itemStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const itemEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const trigger = useMemo<ReactNode>(\n () =>\n runIfFn(render?.trigger ?? componentContext.render?.trigger, {\n endElement: groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n startElement: groupStartElement,\n value,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.trigger,\n componentContext.render?.trigger,\n groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n groupStartElement,\n value,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const link = useMemo<ReactNode>(\n () =>\n runIfFn(render?.link ?? componentContext.render?.link, {\n endElement: itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n startElement: itemStartElement,\n value,\n linkProps: mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n }),\n [\n render?.link,\n componentContext.render?.link,\n itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n itemStartElement,\n value,\n mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n ],\n )\n const item = useMemo<ReactNode>(\n () =>\n runIfFn(render?.item ?? componentContext.render?.item, {\n children,\n endElement: { group: groupEndElement, item: itemEndElement },\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n startElement: { group: groupStartElement, item: itemStartElement },\n trigger,\n value,\n itemProps: getItemProps() as HTMLStyledProps<\"li\">,\n linkProps: mergedLinkProps,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.item,\n componentContext.render?.item,\n children,\n groupEndElement,\n itemEndElement,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n groupStartElement,\n itemStartElement,\n trigger,\n value,\n getItemProps,\n mergedLinkProps,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const context = useMemo(\n () => ({ branchOpen, groupOpen }),\n [branchOpen, groupOpen],\n )\n const itemComponentContext = useMemo(\n () => ({\n contentProps: {\n duration: !animated ? 0 : undefined,\n open: groupOpen,\n ...getContentProps(\n mergeProps(componentContext.itemContentProps, contentProps)(),\n ),\n },\n endElementProps: mergeProps(\n componentContext.endElementProps,\n endElementProps,\n )(),\n indicatorProps: getIndicatorProps({\n \"data-animated\": dataAttr(animated),\n ...mergeProps(componentContext.indicatorProps, indicatorProps)(),\n }) as SidebarItemIndicatorProps,\n labelProps: getLabelProps(\n mergeProps(componentContext.labelProps, labelProps)(),\n ) as SidebarItemLabelProps,\n startElementProps: mergeProps(\n componentContext.startElementProps,\n startElementProps,\n )(),\n tooltipProps: {\n content: label,\n disabled: open,\n ...mergeProps(componentContext.tooltipProps, tooltipProps)(),\n },\n }),\n [\n animated,\n componentContext.endElementProps,\n componentContext.indicatorProps,\n componentContext.itemContentProps,\n componentContext.labelProps,\n componentContext.startElementProps,\n componentContext.tooltipProps,\n contentProps,\n endElementProps,\n getContentProps,\n getIndicatorProps,\n getLabelProps,\n groupOpen,\n indicatorProps,\n label,\n labelProps,\n open,\n startElementProps,\n tooltipProps,\n ],\n )\n\n return (\n <SidebarItemContext value={context}>\n <ItemComponentContext value={itemComponentContext}>\n {item ?? (\n <styled.li {...getItemProps()}>\n {group ? (\n <>\n {trigger ?? (\n <SidebarItemTrigger {...mergedTriggerProps}>\n {groupStartElement ? (\n <SidebarItemStartElement>\n {groupStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {groupEndElement ? (\n <SidebarItemEndElement>\n {groupEndElement}\n </SidebarItemEndElement>\n ) : null}\n <SidebarItemIndicator>\n {groupLoading ? (\n <Loading />\n ) : (\n runIfFn(indicator, callbackProps)\n )}\n </SidebarItemIndicator>\n </SidebarItemTrigger>\n )}\n\n <SidebarItemContent>{children}</SidebarItemContent>\n </>\n ) : (\n (link ?? (\n <SidebarItemLink {...mergedLinkProps}>\n {itemStartElement ? (\n <SidebarItemStartElement>\n {itemStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {itemEndElement ? (\n <SidebarItemEndElement>\n {itemEndElement}\n </SidebarItemEndElement>\n ) : null}\n </SidebarItemLink>\n ))\n )}\n </styled.li>\n )}\n </ItemComponentContext>\n </SidebarItemContext>\n )\n },\n \"item\",\n)()\n\ninterface SidebarItemTooltipProps extends TooltipProps {}\n\nconst SidebarItemTooltip: FC<SidebarItemTooltipProps> = (props) => {\n const { tooltipProps } = useItemComponentContext()\n const { children, disabled, ...rest } = mergeProps(tooltipProps, props)()\n const { mode, placement } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n\n if (offcanvas || disabled) return children\n else\n return (\n <Tooltip\n closeOnClick={false}\n gutter={16}\n placement={`center-${placement === \"start\" ? \"end\" : \"start\"}`}\n {...rest}\n >\n {children}\n </Tooltip>\n )\n}\n\nexport interface SidebarItemTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarItemTrigger = withContext<\n \"button\",\n SidebarItemTriggerProps\n>((props) => {\n return (\n <SidebarItemTooltip>\n <styled.button {...props} />\n </SidebarItemTooltip>\n )\n}, \"itemTrigger\")()\n\nexport interface SidebarItemLinkProps extends HTMLStyledProps<\"a\"> {}\n\nexport const SidebarItemLink = withContext<\"a\", SidebarItemLinkProps>(\n (props) => {\n return (\n <SidebarItemTooltip>\n <styled.a {...props} />\n </SidebarItemTooltip>\n )\n },\n \"itemLink\",\n)()\n\nexport interface SidebarItemContentProps\n extends\n Omit<HTMLStyledProps<\"ul\">, \"transition\">,\n Pick<CollapseProps, \"animationOpacity\" | keyof WithTransitionProps> {}\n\nexport const SidebarItemContent = withContext<\"ul\", SidebarItemContentProps>(\n (props) => {\n const { contentProps } = useItemComponentContext()\n\n return (\n <Collapse\n as=\"ul\"\n {...cast<CollapseProps>(mergeProps(contentProps, props)())}\n />\n )\n },\n \"itemContent\",\n)()\n\nexport interface SidebarItemIndicatorProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const SidebarItemIndicator = withContext<\n \"svg\",\n SidebarItemIndicatorProps\n>(({ children = <ChevronRightIcon />, ...rest }) => {\n const { indicatorHidden } = useSidePanelComponentContext()\n\n if (indicatorHidden) return null\n\n if (isValidElement<HTMLProps<\"svg\">>(children))\n return cloneElement(children, { ...rest, ...children.props })\n\n return Children.count(children) > 1 ? Children.only(null) : null\n}, \"itemIndicator\")(undefined, (props) => {\n const { indicatorProps } = useItemComponentContext()\n\n return mergeProps(indicatorProps, props)()\n})\n\nexport interface SidebarItemStartElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemStartElement = withContext<\n \"div\",\n SidebarItemStartElementProps\n>(\"div\", {\n name: \"ItemStartElement\",\n slot: [\"itemElement\", \"start\"],\n})(undefined, (props) => {\n const { startElementProps } = useItemComponentContext()\n\n return mergeProps(startElementProps, props)()\n})\n\nexport interface SidebarItemEndElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemEndElement = withContext<\n \"div\",\n SidebarItemEndElementProps\n>(\"div\", {\n name: \"ItemEndElement\",\n slot: [\"itemElement\", \"end\"],\n})(undefined, (props) => {\n const { endElementProps } = useItemComponentContext()\n\n return mergeProps(endElementProps, props)()\n})\n\nexport interface SidebarItemLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarItemLabel = withContext<\"span\", SidebarItemLabelProps>(\n \"span\",\n \"itemLabel\",\n)(undefined, (props) => {\n const { labelProps } = useItemComponentContext()\n\n return mergeProps(labelProps, props)()\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA4JA,MAAM,aAAa,OAAoB,UAAkB;CACvD,OAAO,WAAW,QAAQ,MAAM,SAAS,QAAQ;AACnD;AAEA,MAAM,0BACJ,MACA,QACA,SACkD;CAClD,KAAA,GAAA,oBAAA,cAAI,SAAA,CAAS,MAAM,MAAM,WAAW,UAAU,UAAU,SACtD,OAAO,OAAO;MACX,IAAI,QAAQ,OAAO;MACnB,KAAA,GAAA,oBAAA,cAAI,SAAA,CAAS,IAAI,MAAM,WAAW,QAAQ,UAAU,OACvD,OAAO,KAAK;MACT,OAAO;AACd;AAoBA,MAAM,CAAC,uBAAuB,4BAC5BA,gBAAAA,cAAqC,EAAE,MAAM,wBAAwB,CAAC;AAWxE,MAAM,CAAC,sBAAsB,2BAC3BA,gBAAAA,cAAoC,EAAE,MAAM,uBAA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J,CAAA;CACS,CAAA;AAE/B,GACA,QACA,EAAE,eAAe,CAAC,QAAQ,WAAW,EAAE,CACzC,CAAC,CAAC;AAIF,MAAa,mBAAmB,YAC9B,OACA,WACF,CAAC,CAAC;AAIF,MAAa,iBAAiB,YAC5B,UACA,SACF,CAAC,CAAC,KAAA,IAAY,UAAU;CACtB,MAAM,EAAE,oBAAoB,oBAAoB;CAEhD,OAAO;EAAE,SAAS;EAAM,GAAG,gBAAgB,KAAK;CAAE;AACpD,CAAC;AA8GD,MAAa,mBAAmB,aAC7B,EACC,WAAW,MACX,UACA,SACA,YACA,QACA,QACA,WACA,iBACA,OACA,eACA,QACA,cACA,aAAa,MACb,cACA,aACA,iBACA,aACA,mBACA,YACA,aACA,aACA,gBACA,kBACA,WACA,YACA,WACA,WACA,mBACA,cACA,cACA,GAAG,WACC;CACJ,MAAM,EAAE,QAAQ,MAAM,YAAYC,oBAAAA,kBAAkB;CACpD,MAAM,EAAE,YAAY,WAAW,sBAAsB,oBAAoB;CACzE,MAAM,CACJ,iBACA,cACA,eACA,cACA,gBACEC,iBAAAA,iBACF,UACA,eACA,gBACA,eACA,aACF;CACA,MAAM,WAAA,GAAUL,MAAAA,QAAAA,QACP;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,IACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CACF;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,2BAAD;EAA2B,OAAO;EAC/B,UAAA,SACC,iBAAA,GAAA,kBAAA,IAAA,CAAA,eAAA,YAAA;GACE,MAAK;GACL,WAAW;GACX,UAAU,CAAC,WAAW,IAAI,KAAA;GACpB;GACN,WAAW,UAAU;GACrB,iBAAiB;GACjB,aA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