@yamada-ui/react 2.2.9-dev-20261002045738 → 2.2.9-dev-20261005074108
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/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/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":"use-autocomplete.cjs","names":["createContext","useI18n","useFieldProps","useRef","useMemo","useState","useControllableState","useCallback","useCombobox","isValidElement","cloneElement","isComposing","mergeRefs","visuallyHiddenAttributes","runKeyAction","useComboboxItem"],"sources":["../../../../src/components/autocomplete/use-autocomplete.tsx"],"sourcesContent":["\"use client\"\n\nimport type {\n ChangeEvent,\n FocusEvent,\n KeyboardEvent,\n MouseEvent,\n ReactNode,\n} from \"react\"\nimport type { HTMLProps, HTMLRefAttributes, 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 useState,\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 cast,\n contains,\n createContext,\n dataAttr,\n handlerAll,\n isArray,\n isComposing,\n isNumber,\n isString,\n isUndefined,\n match,\n mergeRefs,\n runIfFn,\n runKeyAction,\n useUpdateEffect,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\ninterface AutocompleteRenderProps extends ComboboxItemWithValue {\n count: number\n focused: boolean\n index: number\n separator: string\n onClear: () => void\n max?: number\n}\n\nexport interface AutocompleteItemRender {\n (props: AutocompleteRenderProps): ReactNode\n}\n\nconst defaultRender: AutocompleteItemRender = ({\n count,\n focused,\n index,\n label,\n max,\n separator,\n}) => {\n const last = count - 1 === index\n\n return (\n <span style={{ marginInlineEnd: \"var(--gap)\" }}>\n {label}\n {((!isNumber(max) || count < max) && focused) || !last ? separator : null}\n </span>\n )\n}\n\nconst getInputValue = (item?: ComboboxItemWithValue) =>\n isString(item?.label) ? item.label : (item?.query ?? \"\")\n\nexport interface AutocompleteFilter {\n (\n inputValue: string,\n items: ComboboxItem[],\n matcher: AutocompleteMatcher,\n ): ComboboxItem[]\n}\n\nconst defaultFilter: AutocompleteFilter = (inputValue, items, match) => {\n if (!inputValue.length) return items\n\n return items\n .map((item) => {\n if (\"items\" in item) {\n const items = item.items.filter((item) => {\n if (\"query\" in item)\n return isString(item.query) && match(item.query, inputValue)\n else if (isString(item.label))\n return isString(item.label) && match(item.label, inputValue)\n })\n\n if (items.length) return { ...item, items }\n } else if (\"query\" in item) {\n if (isString(item.query) && match(item.query, inputValue)) return item\n } else if (isString(item.label)) {\n if (isString(item.label) && match(item.label, inputValue)) return item\n }\n })\n .filter(Boolean) as ComboboxItem[]\n}\n\nexport type AutocompleteMatcher = typeof match\n\ninterface AutocompleteContext extends Pick<\n UseAutocompleteReturn,\n \"max\" | \"value\"\n> {}\n\nconst [AutocompleteContext, useAutocompleteContext] =\n createContext<AutocompleteContext>({\n name: \"AutocompleteContext\",\n })\n\nexport { AutocompleteContext, useAutocompleteContext }\n\nexport interface UseAutocompleteProps<Multiple extends boolean = false>\n extends\n Omit<HTMLProps, \"defaultValue\" | \"onChange\" | \"ref\" | \"value\">,\n Omit<\n UseComboboxProps,\n \"defaultValue\" | \"initialFocusValue\" | \"onChange\" | \"ref\" | \"value\"\n >,\n HTMLRefAttributes<\"input\">,\n FieldProps {\n /**\n * If `true`, the autocomplete will allow custom value.\n *\n * @default false\n */\n allowCustomValue?: boolean\n /**\n * If `true`, the autocomplete will be closed when the input value changes.\n *\n * @default false\n */\n closeOnChange?: ((ev: ChangeEvent<HTMLInputElement>) => boolean) | boolean\n /**\n * The initial value of the input.\n */\n defaultInputValue?: string\n /**\n * The initial value of the autocomplete.\n */\n defaultValue?: Multiple extends true ? string[] : string\n /**\n * The message displayed when the search yields no hits.\n *\n * @default 'No results found'\n */\n emptyMessage?: ReactNode\n /**\n * The function to filter the items.\n */\n filter?: AutocompleteFilter\n /**\n * If `true`, the input 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 * The value of the input.\n */\n inputValue?: string\n /**\n * If provided, generate options based on items.\n *\n * @default []\n */\n items?: ComboboxItem[]\n /**\n * The function to match the items.\n */\n matcher?: AutocompleteMatcher\n /**\n * The maximum selectable value.\n */\n max?: number\n /**\n * If `true`, the autocomplete 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 * If `true`, the autocomplete will be opened when the input value changes.\n *\n * @default true\n */\n openOnChange?: ((ev: ChangeEvent<HTMLInputElement>) => boolean) | boolean\n /**\n * If `true`, the autocomplete will be opened when the input is focused.\n *\n * @default true\n */\n openOnFocus?: boolean\n /**\n * The placeholder for autocomplete.\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 autocomplete.\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 callback invoked when input value state changes.\n */\n onInputChange?: (value: string) => void\n /**\n * The function to render the selected items.\n */\n render?: (props: AutocompleteRenderProps) => ReactNode\n}\n\nexport const useAutocomplete = <Multiple extends boolean = false>(\n props: UseAutocompleteProps<Multiple> = {},\n) => {\n type MaybeValue = Multiple extends true ? string[] : string\n\n const { t } = useI18n(\"autocomplete\")\n const {\n props: {\n id,\n ref,\n name,\n allowCustomValue = false,\n closeOnChange = false,\n multiple = false,\n closeOnSelect = !multiple,\n defaultInputValue,\n defaultValue = (multiple ? [] : \"\") as MaybeValue,\n disabled,\n emptyMessage = t(\"No results found\"),\n filter = defaultFilter,\n focusOnClear = true,\n inputValue: inputValueProp,\n items = [],\n matcher = match,\n max,\n openOnChange = true,\n openOnClick = true,\n openOnFocus = true,\n placeholder,\n readOnly,\n render = defaultRender,\n required,\n separator = \",\",\n value: valueProp,\n onChange: onChangeProp,\n onInputChange: onInputChangeProp,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const fieldRef = useRef<HTMLDivElement>(null)\n const contentRef = useRef<HTMLDivElement>(null)\n const inputRef = useRef<HTMLInputElement>(null)\n const focusByClickRef = useRef<boolean>(false)\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 [focused, setFocused] = useState(false)\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const [inputValue, setInputValue] = useControllableState({\n defaultValue:\n defaultInputValue ??\n getInputValue(isString(value) ? valueMap[value] : undefined),\n value: inputValueProp,\n onChange: onInputChangeProp,\n })\n const onChange = useCallback(\n (selectedValue: string) => {\n setValue((prev) => {\n if (isArray(prev))\n if (prev.includes(selectedValue))\n return prev.filter(\n (prevValue) => prevValue !== selectedValue,\n ) as MaybeValue\n else if (!isNumber(max) || prev.length < max)\n return [...prev, selectedValue] as MaybeValue\n else return prev\n else return selectedValue as MaybeValue\n })\n\n if (isArray(value)) {\n setInputValue(\"\")\n } else {\n const item = valueMap[selectedValue]\n\n setInputValue(getInputValue(item))\n }\n },\n [max, setInputValue, setValue, value, valueMap],\n )\n const {\n activeDescendant,\n descendants,\n interactive,\n open,\n getContentProps: getComboboxContentProps,\n getSeparatorProps,\n getTriggerProps,\n popoverProps,\n onActiveDescendant,\n onClose,\n onOpen,\n onOpenWithActiveDescendant,\n onSelect,\n } = useCombobox({\n closeOnSelect,\n disabled,\n initialFocusValue: isArray(value) ? value[0] : value,\n openOnClick: false,\n openOnEnter: false,\n openOnSpace: false,\n readOnly,\n selectFocusRef: inputRef,\n selectOnSpace: false,\n onChange,\n ...ariaProps,\n ...dataProps,\n ...eventProps,\n ...rest,\n })\n const filteredItems = useMemo<ComboboxItem[]>(() => {\n if (!items.length) return []\n\n return filter(inputValue, items, matcher)\n }, [filter, inputValue, items, matcher])\n const resolvedItems = useMemo<ComboboxItem[]>(() => {\n return filteredItems.length\n ? filteredItems\n : [{ \"data-empty\": \"\", label: emptyMessage }]\n }, [filteredItems, emptyMessage])\n const empty = useMemo(\n () => !resolvedItems.filter(({ hidden }) => !hidden).length,\n [resolvedItems],\n )\n const children = useMemo<ReactNode>(() => {\n if (!isArray(value)) return null\n\n const count = value.length\n\n return value.map((value, index) => {\n const item = valueMap[value] ?? { label: value, value }\n\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 focused,\n index,\n max,\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 }, [focused, max, onChange, render, separator, value, valueMap])\n const hasValues = isArray(value) && !!value.length\n\n const onInputChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n if (isArray(value) && value.length === max) return\n\n if (runIfFn(closeOnChange, ev)) onClose()\n else if (runIfFn(openOnChange, ev)) onOpen()\n\n activeDescendant.current = null\n\n const inputValue = ev.target.value\n\n setInputValue(inputValue)\n\n if (inputValue.length || isArray(value)) return\n\n setValue(\"\" as MaybeValue)\n },\n [\n activeDescendant,\n closeOnChange,\n max,\n onClose,\n onOpen,\n openOnChange,\n setInputValue,\n setValue,\n value,\n ],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLInputElement>) => {\n if (disabled || isComposing(ev)) return\n\n const inputValue = cast<HTMLInputElement>(ev.target).value\n\n runKeyAction(\n ev,\n {\n Backspace: (ev) => {\n if (!isArray(value)) return\n if (inputValue.length) return\n\n ev.preventDefault()\n\n setValue((prev) => prev.slice(0, -1) as MaybeValue)\n },\n Enter: (ev) => {\n if (!open || !inputValue.length || activeDescendant.current) return\n\n const item = filteredItems[0]\n\n if (!item) {\n if (!allowCustomValue || !isArray(value)) return\n\n ev.preventDefault()\n\n onSelect(inputValue)\n } else {\n ev.preventDefault()\n\n if (\"items\" in item) onSelect(item.items[0]?.value)\n else onSelect(item.value)\n }\n },\n },\n { preventDefault: false },\n )\n },\n [\n activeDescendant,\n allowCustomValue,\n disabled,\n filteredItems,\n onSelect,\n open,\n setValue,\n value,\n ],\n )\n\n const onClick = useCallback(() => {\n if (!interactive) return\n\n focusByClickRef.current = true\n\n inputRef.current?.focus()\n\n if (openOnClick) onOpenWithActiveDescendant(descendants.enabledFirstValue)\n }, [descendants, interactive, onOpenWithActiveDescendant, openOnClick])\n\n const onMouseDown = useCallback(\n (ev: MouseEvent<HTMLInputElement>) => {\n if (!openOnFocus) return\n\n ev.preventDefault()\n ev.stopPropagation()\n },\n [openOnFocus],\n )\n\n const onFocus = useCallback(\n (ev: FocusEvent<HTMLInputElement>) => {\n ev.preventDefault()\n ev.stopPropagation()\n\n setFocused(true)\n\n if (openOnFocus && !focusByClickRef.current)\n onOpenWithActiveDescendant(descendants.enabledFirstValue)\n\n focusByClickRef.current = false\n },\n [openOnFocus, onOpenWithActiveDescendant, descendants.enabledFirstValue],\n )\n\n const onBlur = useCallback(\n (ev: FocusEvent<HTMLInputElement>) => {\n if (\n contains(fieldRef.current, ev.relatedTarget) ||\n contains(contentRef.current, ev.relatedTarget)\n ) {\n ev.preventDefault()\n } else {\n setFocused(false)\n\n if (isArray(value)) {\n setInputValue(\"\")\n } else if (allowCustomValue) {\n if (inputValue) setValue(inputValue as MaybeValue)\n } else {\n const item = isString(value) ? valueMap[value] : undefined\n\n setInputValue(getInputValue(item))\n }\n }\n },\n [allowCustomValue, inputValue, setInputValue, setValue, value, valueMap],\n )\n\n const onClear = useCallback(() => {\n if (!interactive) return\n\n setValue((prev) => (isArray(prev) ? [] : \"\") as MaybeValue)\n setInputValue(\"\")\n\n if (focusOnClear) inputRef.current?.focus()\n }, [focusOnClear, interactive, setInputValue, setValue])\n\n useUpdateEffect(() => {\n if (isArray(valueProp)) return\n\n setInputValue(\n getInputValue(isString(valueProp) ? valueMap[valueProp] : undefined),\n )\n }, [valueProp])\n\n const getRootProps: PropGetter = useCallback(\n (props) => ({\n ...dataProps,\n ...props,\n }),\n [dataProps],\n )\n\n const getFieldProps: PropGetter = useCallback(\n ({ ref, ...props } = {}) =>\n getTriggerProps({\n ref: mergeRefs(ref, fieldRef),\n tabIndex: -1,\n ...props,\n onClick: handlerAll(props.onClick, onClick),\n }),\n\n [getTriggerProps, onClick],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n id,\n ref: mergeRefs(props.ref, ref, inputRef),\n name,\n style: {\n ...(!focused && isArray(value) && !!value.length\n ? visuallyHiddenAttributes.style\n : {}),\n ...props.style,\n },\n \"data-max\": dataAttr(\n isArray(value) && isNumber(max) && value.length >= max,\n ),\n autoCapitalize: \"off\",\n autoComplete: \"off\",\n autoCorrect: \"off\",\n disabled,\n placeholder: hasValues ? undefined : placeholder,\n readOnly,\n required,\n spellCheck: false,\n value: inputValue,\n ...dataProps,\n ...props,\n onBlur: handlerAll(props.onBlur, onBlur),\n onChange: handlerAll(props.onChange, onInputChange),\n onFocus: handlerAll(props.onFocus, onFocus),\n onKeyDown: handlerAll(props.onKeyDown, onKeyDown),\n onMouseDown: handlerAll(props.onMouseDown, onMouseDown),\n }),\n [\n dataProps,\n disabled,\n focused,\n hasValues,\n id,\n inputValue,\n max,\n name,\n onBlur,\n onFocus,\n onInputChange,\n onKeyDown,\n onMouseDown,\n placeholder,\n readOnly,\n ref,\n required,\n value,\n ],\n )\n\n const getContentProps: PropGetter = useCallback(\n ({ ref, ...props } = {}) =>\n getComboboxContentProps({\n ref: mergeRefs(ref, contentRef),\n hidden: empty,\n ...props,\n }),\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 children,\n descendants,\n inputValue,\n interactive,\n items: resolvedItems,\n max,\n open,\n setInputValue,\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 onInputChange,\n onOpen,\n onSelect,\n }\n}\n\nexport type UseAutocompleteReturn = ReturnType<typeof useAutocomplete>\n\nexport interface UseAutocompleteOptionProps extends UseComboboxItemProps {}\n\nexport const useAutocompleteOption = ({\n children,\n closeOnSelect,\n disabled,\n hidden,\n value,\n ...rest\n}: UseAutocompleteOptionProps = {}) => {\n const { max, value: selectedValue } = useAutocompleteContext()\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 UseAutocompleteOptionReturn = ReturnType<\n typeof useAutocompleteOption\n>\n"],"mappings":";;;;;;;;;;;;;;AA+DA,MAAM,iBAAyC,EAC7C,OACA,SACA,OACA,OACA,KACA,gBACI;CACJ,MAAM,OAAO,QAAQ,MAAM;CAE3B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;EAAM,OAAO,EAAE,iBAAiB,aAAa;EAA7C,UAAA,CACG,QACE,EAAA,GAAA,oBAAA,cAAC,SAAA,CAAS,GAAG,KAAK,QAAQ,QAAQ,WAAY,CAAC,OAAO,YAAY,IACjE;;AAEV;AAEA,MAAM,iBAAiB,UAAA,GAAA,oBAAA,cACrB,SAAA,CAAS,MAAM,KAAK,IAAI,KAA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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-autocomplete.cjs","names":["createContext","useI18n","useFieldProps","useRef","useMemo","useState","useControllableState","useCallback","useCombobox","isValidElement","cloneElement","isComposing","mergeRefs","visuallyHiddenAttributes","runKeyAction","useComboboxItem"],"sources":["../../../../src/components/autocomplete/use-autocomplete.tsx"],"sourcesContent":["\"use client\"\n\nimport type {\n ChangeEvent,\n FocusEvent,\n KeyboardEvent,\n MouseEvent,\n ReactNode,\n} from \"react\"\nimport type { HTMLProps, HTMLRefAttributes, 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 useState,\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 cast,\n contains,\n createContext,\n dataAttr,\n handlerAll,\n isArray,\n isComposing,\n isNumber,\n isString,\n isUndefined,\n match,\n mergeRefs,\n runIfFn,\n runKeyAction,\n useUpdateEffect,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\ninterface AutocompleteRenderProps extends ComboboxItemWithValue {\n count: number\n focused: boolean\n index: number\n separator: string\n onClear: () => void\n max?: number\n}\n\nexport interface AutocompleteItemRender {\n (props: AutocompleteRenderProps): ReactNode\n}\n\nconst defaultRender: AutocompleteItemRender = ({\n count,\n focused,\n index,\n label,\n max,\n separator,\n}) => {\n const last = count - 1 === index\n\n return (\n <span style={{ marginInlineEnd: \"var(--gap)\" }}>\n {label}\n {((!isNumber(max) || count < max) && focused) || !last ? separator : null}\n </span>\n )\n}\n\nconst getInputValue = (item?: ComboboxItemWithValue) =>\n isString(item?.label) ? item.label : (item?.query ?? \"\")\n\nexport interface AutocompleteFilter {\n (\n inputValue: string,\n items: ComboboxItem[],\n matcher: AutocompleteMatcher,\n ): ComboboxItem[]\n}\n\nconst defaultFilter: AutocompleteFilter = (inputValue, items, match) => {\n if (!inputValue.length) return items\n\n return items\n .map((item) => {\n if (\"items\" in item) {\n const items = item.items.filter((item) => {\n if (\"query\" in item)\n return isString(item.query) && match(item.query, inputValue)\n else if (isString(item.label))\n return isString(item.label) && match(item.label, inputValue)\n })\n\n if (items.length) return { ...item, items }\n } else if (\"query\" in item) {\n if (isString(item.query) && match(item.query, inputValue)) return item\n } else if (isString(item.label)) {\n if (isString(item.label) && match(item.label, inputValue)) return item\n }\n })\n .filter(Boolean) as ComboboxItem[]\n}\n\nexport type AutocompleteMatcher = typeof match\n\ninterface AutocompleteContext extends Pick<\n UseAutocompleteReturn,\n \"max\" | \"value\"\n> {}\n\nconst [AutocompleteContext, useAutocompleteContext] =\n createContext<AutocompleteContext>({\n name: \"AutocompleteContext\",\n })\n\nexport { AutocompleteContext, useAutocompleteContext }\n\nexport interface UseAutocompleteProps<Multiple extends boolean = false>\n extends\n Omit<HTMLProps, \"defaultValue\" | \"onChange\" | \"ref\" | \"value\">,\n Omit<\n UseComboboxProps,\n \"defaultValue\" | \"initialFocusValue\" | \"onChange\" | \"ref\" | \"value\"\n >,\n HTMLRefAttributes<\"input\">,\n FieldProps {\n /**\n * If `true`, the autocomplete will allow custom value.\n *\n * @default false\n */\n allowCustomValue?: boolean\n /**\n * If `true`, the autocomplete will be closed when the input value changes.\n *\n * @default false\n */\n closeOnChange?: ((ev: ChangeEvent<HTMLInputElement>) => boolean) | boolean\n /**\n * The initial value of the input.\n */\n defaultInputValue?: string\n /**\n * The initial value of the autocomplete.\n */\n defaultValue?: Multiple extends true ? string[] : string\n /**\n * The message displayed when the search yields no hits.\n *\n * @default 'No results found'\n */\n emptyMessage?: ReactNode\n /**\n * The function to filter the items.\n */\n filter?: AutocompleteFilter\n /**\n * If `true`, the input 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 * The value of the input.\n */\n inputValue?: string\n /**\n * If provided, generate options based on items.\n *\n * @default []\n */\n items?: ComboboxItem[]\n /**\n * The function to match the items.\n */\n matcher?: AutocompleteMatcher\n /**\n * The maximum selectable value.\n */\n max?: number\n /**\n * If `true`, the autocomplete 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 * If `true`, the autocomplete will be opened when the input value changes.\n *\n * @default true\n */\n openOnChange?: ((ev: ChangeEvent<HTMLInputElement>) => boolean) | boolean\n /**\n * If `true`, the autocomplete will be opened when the input is focused.\n *\n * @default true\n */\n openOnFocus?: boolean\n /**\n * The placeholder for autocomplete.\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 autocomplete.\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 callback invoked when input value state changes.\n */\n onInputChange?: (value: string) => void\n /**\n * The function to render the selected items.\n */\n render?: (props: AutocompleteRenderProps) => ReactNode\n}\n\nexport const useAutocomplete = <Multiple extends boolean = false>(\n props: UseAutocompleteProps<Multiple> = {},\n) => {\n type MaybeValue = Multiple extends true ? string[] : string\n\n const { t } = useI18n(\"autocomplete\")\n const {\n props: {\n id,\n ref,\n name,\n allowCustomValue = false,\n closeOnChange = false,\n multiple = false,\n closeOnSelect = !multiple,\n defaultInputValue,\n defaultValue = (multiple ? [] : \"\") as MaybeValue,\n disabled,\n emptyMessage = t(\"No results found\"),\n filter = defaultFilter,\n focusOnClear = true,\n inputValue: inputValueProp,\n items = [],\n matcher = match,\n max,\n openOnChange = true,\n openOnClick = true,\n openOnFocus = true,\n placeholder,\n readOnly,\n render = defaultRender,\n required,\n separator = \",\",\n value: valueProp,\n onChange: onChangeProp,\n onInputChange: onInputChangeProp,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const fieldRef = useRef<HTMLDivElement>(null)\n const contentRef = useRef<HTMLDivElement>(null)\n const inputRef = useRef<HTMLInputElement>(null)\n const focusByClickRef = useRef<boolean>(false)\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 [focused, setFocused] = useState(false)\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const [inputValue, setInputValue] = useControllableState({\n defaultValue:\n defaultInputValue ??\n getInputValue(isString(value) ? valueMap[value] : undefined),\n value: inputValueProp,\n onChange: onInputChangeProp,\n })\n const onChange = useCallback(\n (selectedValue: string) => {\n setValue((prev) => {\n if (isArray(prev))\n if (prev.includes(selectedValue))\n return prev.filter(\n (prevValue) => prevValue !== selectedValue,\n ) as MaybeValue\n else if (!isNumber(max) || prev.length < max)\n return [...prev, selectedValue] as MaybeValue\n else return prev\n else return selectedValue as MaybeValue\n })\n\n if (isArray(value)) {\n setInputValue(\"\")\n } else {\n const item = valueMap[selectedValue]\n\n setInputValue(getInputValue(item))\n }\n },\n [max, setInputValue, setValue, value, valueMap],\n )\n const {\n activeDescendant,\n descendants,\n interactive,\n open,\n getContentProps: getComboboxContentProps,\n getSeparatorProps,\n getTriggerProps,\n popoverProps,\n onActiveDescendant,\n onClose,\n onOpen,\n onOpenWithActiveDescendant,\n onSelect,\n } = useCombobox({\n closeOnSelect,\n disabled,\n initialFocusValue: isArray(value) ? value[0] : value,\n openOnClick: false,\n openOnEnter: false,\n openOnSpace: false,\n readOnly,\n selectFocusRef: inputRef,\n selectOnSpace: false,\n onChange,\n ...ariaProps,\n ...dataProps,\n ...eventProps,\n ...rest,\n })\n const filteredItems = useMemo<ComboboxItem[]>(() => {\n if (!items.length) return []\n\n return filter(inputValue, items, matcher)\n }, [filter, inputValue, items, matcher])\n const resolvedItems = useMemo<ComboboxItem[]>(() => {\n return filteredItems.length\n ? filteredItems\n : [{ \"data-empty\": \"\", label: emptyMessage }]\n }, [filteredItems, emptyMessage])\n const empty = useMemo(\n () => !resolvedItems.filter(({ hidden }) => !hidden).length,\n [resolvedItems],\n )\n const children = useMemo<ReactNode>(() => {\n if (!isArray(value)) return null\n\n const count = value.length\n\n return value.map((value, index) => {\n const item = valueMap[value] ?? { label: value, value }\n\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 focused,\n index,\n max,\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 }, [focused, max, onChange, render, separator, value, valueMap])\n const hasValues = isArray(value) && !!value.length\n\n const onInputChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n if (isArray(value) && value.length === max) return\n\n if (runIfFn(closeOnChange, ev)) onClose()\n else if (runIfFn(openOnChange, ev)) onOpen()\n\n activeDescendant.current = null\n\n const inputValue = ev.target.value\n\n setInputValue(inputValue)\n\n if (inputValue.length || isArray(value)) return\n\n setValue(\"\" as MaybeValue)\n },\n [\n activeDescendant,\n closeOnChange,\n max,\n onClose,\n onOpen,\n openOnChange,\n setInputValue,\n setValue,\n value,\n ],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLInputElement>) => {\n if (disabled || isComposing(ev)) return\n\n const inputValue = cast<HTMLInputElement>(ev.target).value\n\n runKeyAction(\n ev,\n {\n Backspace: (ev) => {\n if (!isArray(value)) return\n if (inputValue.length) return\n\n ev.preventDefault()\n\n setValue((prev) => prev.slice(0, -1) as MaybeValue)\n },\n Enter: (ev) => {\n if (!open || !inputValue.length || activeDescendant.current) return\n\n const item = filteredItems[0]\n\n if (!item) {\n if (!allowCustomValue || !isArray(value)) return\n\n ev.preventDefault()\n\n onSelect(inputValue)\n } else {\n ev.preventDefault()\n\n if (\"items\" in item) onSelect(item.items[0]?.value)\n else onSelect(item.value)\n }\n },\n },\n { preventDefault: false },\n )\n },\n [\n activeDescendant,\n allowCustomValue,\n disabled,\n filteredItems,\n onSelect,\n open,\n setValue,\n value,\n ],\n )\n\n const onClick = useCallback(() => {\n if (!interactive) return\n\n focusByClickRef.current = true\n\n inputRef.current?.focus()\n\n if (openOnClick) onOpenWithActiveDescendant(descendants.enabledFirstValue)\n }, [descendants, interactive, onOpenWithActiveDescendant, openOnClick])\n\n const onMouseDown = useCallback(\n (ev: MouseEvent<HTMLInputElement>) => {\n if (!openOnFocus) return\n\n ev.preventDefault()\n ev.stopPropagation()\n },\n [openOnFocus],\n )\n\n const onFocus = useCallback(\n (ev: FocusEvent<HTMLInputElement>) => {\n ev.preventDefault()\n ev.stopPropagation()\n\n setFocused(true)\n\n if (openOnFocus && !focusByClickRef.current)\n onOpenWithActiveDescendant(descendants.enabledFirstValue)\n\n focusByClickRef.current = false\n },\n [openOnFocus, onOpenWithActiveDescendant, descendants.enabledFirstValue],\n )\n\n const onBlur = useCallback(\n (ev: FocusEvent<HTMLInputElement>) => {\n if (\n contains(fieldRef.current, ev.relatedTarget) ||\n contains(contentRef.current, ev.relatedTarget)\n ) {\n ev.preventDefault()\n } else {\n setFocused(false)\n\n if (isArray(value)) {\n setInputValue(\"\")\n } else if (allowCustomValue) {\n if (inputValue) setValue(inputValue as MaybeValue)\n } else {\n const item = isString(value) ? valueMap[value] : undefined\n\n setInputValue(getInputValue(item))\n }\n }\n },\n [allowCustomValue, inputValue, setInputValue, setValue, value, valueMap],\n )\n\n const onClear = useCallback(() => {\n if (!interactive) return\n\n setValue((prev) => (isArray(prev) ? [] : \"\") as MaybeValue)\n setInputValue(\"\")\n\n if (focusOnClear) inputRef.current?.focus()\n }, [focusOnClear, interactive, setInputValue, setValue])\n\n useUpdateEffect(() => {\n if (isArray(valueProp)) return\n\n setInputValue(\n getInputValue(isString(valueProp) ? valueMap[valueProp] : undefined),\n )\n }, [valueProp])\n\n const getRootProps: PropGetter = useCallback(\n (props) => ({\n ...dataProps,\n ...props,\n }),\n [dataProps],\n )\n\n const getFieldProps: PropGetter = useCallback(\n ({ ref, ...props } = {}) =>\n getTriggerProps({\n ref: mergeRefs(ref, fieldRef),\n tabIndex: -1,\n ...props,\n onClick: handlerAll(props.onClick, onClick),\n }),\n\n [getTriggerProps, onClick],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n id,\n ref: mergeRefs(props.ref, ref, inputRef),\n name,\n style: {\n ...(!focused && isArray(value) && !!value.length\n ? visuallyHiddenAttributes.style\n : {}),\n ...props.style,\n },\n \"data-max\": dataAttr(\n isArray(value) && isNumber(max) && value.length >= max,\n ),\n autoCapitalize: \"off\",\n autoComplete: \"off\",\n autoCorrect: \"off\",\n disabled,\n placeholder: hasValues ? undefined : placeholder,\n readOnly,\n required,\n spellCheck: false,\n value: inputValue,\n ...dataProps,\n ...props,\n onBlur: handlerAll(props.onBlur, onBlur),\n onChange: handlerAll(props.onChange, onInputChange),\n onFocus: handlerAll(props.onFocus, onFocus),\n onKeyDown: handlerAll(props.onKeyDown, onKeyDown),\n onMouseDown: handlerAll(props.onMouseDown, onMouseDown),\n }),\n [\n dataProps,\n disabled,\n focused,\n hasValues,\n id,\n inputValue,\n max,\n name,\n onBlur,\n onFocus,\n onInputChange,\n onKeyDown,\n onMouseDown,\n placeholder,\n readOnly,\n ref,\n required,\n value,\n ],\n )\n\n const getContentProps: PropGetter = useCallback(\n ({ ref, ...props } = {}) =>\n getComboboxContentProps({\n ref: mergeRefs(ref, contentRef),\n hidden: empty,\n ...props,\n }),\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 children,\n descendants,\n inputValue,\n interactive,\n items: resolvedItems,\n max,\n open,\n setInputValue,\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 onInputChange,\n onOpen,\n onSelect,\n }\n}\n\nexport type UseAutocompleteReturn = ReturnType<typeof useAutocomplete>\n\nexport interface UseAutocompleteOptionProps extends UseComboboxItemProps {}\n\nexport const useAutocompleteOption = ({\n children,\n closeOnSelect,\n disabled,\n hidden,\n value,\n ...rest\n}: UseAutocompleteOptionProps = {}) => {\n const { max, value: selectedValue } = useAutocompleteContext()\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 UseAutocompleteOptionReturn = ReturnType<\n typeof useAutocompleteOption\n>\n"],"mappings":";;;;;;;;;;;;;AA+DA,MAAM,iBAAyC,EAC7C,OACA,SACA,OACA,OACA,KACA,gBACI;CACJ,MAAM,OAAO,QAAQ,MAAM;CAE3B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;EAAM,OAAO,EAAE,iBAAiB,aAAa;EAA7C,UAAA,CACG,QACE,EAAA,GAAA,oBAAA,cAAC,SAAA,CAAS,GAAG,KAAK,QAAQ,QAAQ,WAAY,CAAC,OAAO,YAAY,IACjE;;AAEV;AAEA,MAAM,iBAAiB,UAAA,GAAA,oBAAA,cACrB,SAAA,CAAS,MAAM,KAAK,IAAI,KAAK,QAAS,MAAM,SAAS;AAUvD,MAAM,iBAAqC,YAAY,OAAO,UAAU;CACtE,IAAI,CAAC,WAAW,QAAQ,OAAO;CAE/B,OAAO,MACJ,KAAK,SAAS;EACb,IAAI,WAAW,MAAM;GACnB,MAAM,QAAQ,KAAK,MAAM,QAAQ,SAAS;IACxC,IAAI,WAAW,MACb,QAAA,GAAA,oBAAA,cAAO,SAAA,CAAS,KAAK,KAAK,KAAK,MAAM,KAAK,OAAO,UAAU;SACx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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":"avatar-group.cjs","names":["component","useRootComponentProps","useAvatarGroup","useMemo","AvatarPropsContext","styled","Avatar"],"sources":["../../../../src/components/avatar/avatar-group.tsx"],"sourcesContent":["\"use client\"\n\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { AvatarStyle } from \"./avatar.style\"\nimport type { UseAvatarGroupProps } from \"./use-avatar-group\"\nimport { useMemo } from \"react\"\nimport { styled } from \"../../core\"\nimport {\n Avatar,\n AvatarPropsContext,\n component,\n useRootComponentProps,\n} from \"./avatar\"\nimport { useAvatarGroup } from \"./use-avatar-group\"\n\nexport interface AvatarGroupRootProps\n extends HTMLStyledProps, ThemeProps<AvatarStyle>, UseAvatarGroupProps {}\n\n/**\n * `Avatar` is a component that displays a profile picture or an icon with initials representing a user.\n *\n * @see https://yamada-ui.com/docs/components/avatar\n */\nexport const AvatarGroupRoot = component<\"div\", AvatarGroupRootProps>(\n (props) => {\n const [, { colorScheme, size, variant, shape, ...rest }] =\n useRootComponentProps(props, \"group\", {\n transferProps: [\"variant\", \"colorScheme\", \"size\", \"shape\"],\n })\n const { children, excess, getRootProps } = useAvatarGroup(rest)\n const context = useMemo(\n () => ({ colorScheme, size, variant, shape }),\n [variant, size, colorScheme, shape],\n )\n\n return (\n <AvatarPropsContext value={context}>\n <styled.div {...getRootProps()}>\n {excess > 0 ? <Avatar fallback={`+${excess}`} /> : null}\n {children}\n </styled.div>\n </AvatarPropsContext>\n )\n },\n \"group\",\n)()\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatar-group.cjs","names":["component","useRootComponentProps","useAvatarGroup","useMemo","AvatarPropsContext","styled","Avatar"],"sources":["../../../../src/components/avatar/avatar-group.tsx"],"sourcesContent":["\"use client\"\n\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { AvatarStyle } from \"./avatar.style\"\nimport type { UseAvatarGroupProps } from \"./use-avatar-group\"\nimport { useMemo } from \"react\"\nimport { styled } from \"../../core\"\nimport {\n Avatar,\n AvatarPropsContext,\n component,\n useRootComponentProps,\n} from \"./avatar\"\nimport { useAvatarGroup } from \"./use-avatar-group\"\n\nexport interface AvatarGroupRootProps\n extends HTMLStyledProps, ThemeProps<AvatarStyle>, UseAvatarGroupProps {}\n\n/**\n * `Avatar` is a component that displays a profile picture or an icon with initials representing a user.\n *\n * @see https://yamada-ui.com/docs/components/avatar\n */\nexport const AvatarGroupRoot = component<\"div\", AvatarGroupRootProps>(\n (props) => {\n const [, { colorScheme, size, variant, shape, ...rest }] =\n useRootComponentProps(props, \"group\", {\n transferProps: [\"variant\", \"colorScheme\", \"size\", \"shape\"],\n })\n const { children, excess, getRootProps } = useAvatarGroup(rest)\n const context = useMemo(\n () => ({ colorScheme, size, variant, shape }),\n [variant, size, colorScheme, shape],\n )\n\n return (\n <AvatarPropsContext value={context}>\n <styled.div {...getRootProps()}>\n {excess > 0 ? <Avatar fallback={`+${excess}`} /> : null}\n {children}\n </styled.div>\n </AvatarPropsContext>\n )\n },\n \"group\",\n)()\n"],"mappings":";;;;;;;;;;;;AAuBA,MAAa,kBAAkBA,eAAAA,WAC5B,UAAU;CACT,MAAM,GAAG,EAAE,aAAa,MAAM,SAAS,OAAO,GAAG,UAC/CC,eAAAA,sBAAsB,OAAO,SAAS,EACpC,eAAe;EAAC;EAAW;EAAe;EAAQ;CAAO,EAC3D,CAAC;CACH,MAAM,EAAE,UAAU,QAAQ,iBAAiBC,yBAAAA,eAAe,IAAI;CAC9D,MAAM,WAAA,GAAUC,MAAAA,QAAAA,QACP;EAAE;EAAa;EAAM;EAAS;CAAM,IAC3C;EAAC;EAAS;EAAM;EAAa;CAAK,CACpC;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,eAAAA,oBAAD;EAAoB,OAAO;EACzB,UAAA,iBAAA,GAAA,kBAAA,KAAA,CAACC,gBAAAA,OAAO,KAAR;GAAY,GAAI,aAAa;GAA7B,UAAA,CACG,SAAS,IAAI,iBAAA,GAAA,kBAAA,IAAA,CAACC,eAAAA,QAAD,EAAQ,UAAU,IAAI,SAAW,CAAA,IAAI,MAClD,QACS;;CACM,CAAA;AAExB,GACA,OACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-avatar-group.cjs","names":["useValidChildren","useCallback","mergeProps","useMemo"],"sources":["../../../../src/components/avatar/use-avatar-group.ts"],"sourcesContent":["import type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback, useMemo } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { isUndefined, useValidChildren } from \"../../utils\"\n\nexport interface UseAvatarGroupProps extends HTMLProps {\n /**\n * The maximum number of visible avatars.\n */\n max?: number\n /**\n * Whether to reverse the order of the avatars.\n */\n reverse?: boolean\n}\n\nexport const useAvatarGroup = ({\n children,\n max,\n reverse,\n ...rest\n}: UseAvatarGroupProps = {}) => {\n const validChildren = useValidChildren(children)\n const excess = !isUndefined(max) ? validChildren.length - max : 0\n\n const getRootProps: PropGetter = useCallback(\n (props) => mergeProps(rest, props, { role: \"group\" })(),\n [rest],\n )\n\n const cloneChildren = useMemo(() => {\n const omittedChildren = !isUndefined(max)\n ? validChildren.slice(0, max)\n : [...validChildren]\n\n return reverse ? omittedChildren.reverse() : omittedChildren\n }, [max, validChildren, reverse])\n\n return {\n children: cloneChildren,\n excess,\n getRootProps,\n }\n}\n\nexport type UseAvatarGroupReturn = ReturnType<typeof useAvatarGroup>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-avatar-group.cjs","names":["useValidChildren","useCallback","mergeProps","useMemo"],"sources":["../../../../src/components/avatar/use-avatar-group.ts"],"sourcesContent":["import type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback, useMemo } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { isUndefined, useValidChildren } from \"../../utils\"\n\nexport interface UseAvatarGroupProps extends HTMLProps {\n /**\n * The maximum number of visible avatars.\n */\n max?: number\n /**\n * Whether to reverse the order of the avatars.\n */\n reverse?: boolean\n}\n\nexport const useAvatarGroup = ({\n children,\n max,\n reverse,\n ...rest\n}: UseAvatarGroupProps = {}) => {\n const validChildren = useValidChildren(children)\n const excess = !isUndefined(max) ? validChildren.length - max : 0\n\n const getRootProps: PropGetter = useCallback(\n (props) => mergeProps(rest, props, { role: \"group\" })(),\n [rest],\n )\n\n const cloneChildren = useMemo(() => {\n const omittedChildren = !isUndefined(max)\n ? validChildren.slice(0, max)\n : [...validChildren]\n\n return reverse ? omittedChildren.reverse() : omittedChildren\n }, [max, validChildren, reverse])\n\n return {\n children: cloneChildren,\n excess,\n getRootProps,\n }\n}\n\nexport type UseAvatarGroupReturn = ReturnType<typeof useAvatarGroup>\n"],"mappings":";;;;;AAgBA,MAAa,kBAAkB,EAC7B,UACA,KACA,SACA,GAAG,SACoB,CAAC,MAAM;CAC9B,MAAM,gBAAgBA,iBAAAA,iBAAiB,QAAQ;CAC/C,MAAM,SAAS,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,GAAG,IAAI,cAAc,SAAS,MAAM;CAEhE,MAAM,gBAAA,GAA2BC,MAAAA,YAAAA,EAC9B,UAAUC,cAAAA,WAAW,MAAM,OAAO,EAAE,MAAM,QAAQ,CAAC,CAAC,CAAC,GACtD,CAAC,IAAI,CACP;CAUA,OAAO;EACL,WAAA,GAToBC,MAAAA,QAAAA,OAAc;GAClC,MAAM,kBAAkB,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,GAAG,IACpC,cAAc,MAAM,GAAG,GAAG,IAC1B,CAAC,GAAG,aAAa;GAErB,OAAO,UAAU,gBAAgB,QAAQ,IAAI;EAC/C,GAAG;GAAC;GAAK;GAAe;EAAO,CAGP;EACtB;EACA;CACF;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-avatar.cjs","names":["useRef","useState","useI18n","useCallback","mergeProps","mergeRefs"],"sources":["../../../../src/components/avatar/use-avatar.ts"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback, useEffect, useRef, useState } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport { dataAttr, handlerAll, mergeRefs } from \"../../utils\"\n\nconst defaultFormat = (name: string) => {\n const names = name.trim().split(\" \")\n const firstName = names[0] ?? \"\"\n const lastName = names.length > 1 ? names[names.length - 1] : \"\"\n\n return firstName && lastName\n ? `${firstName.charAt(0)}${lastName.charAt(0)}`\n : firstName.charAt(0)\n}\n\nexport interface UseAvatarProps extends HTMLProps {\n /**\n * The `HTMLImageElement` property `alt`.\n */\n alt?: HTMLProps<\"img\">[\"alt\"]\n /**\n * The `HTMLImageElement` property `crossOrigin`.\n */\n crossOrigin?: HTMLProps<\"img\">[\"crossOrigin\"]\n /**\n * The fallback text to display if the image is not provided.\n */\n fallback?: ReactNode\n /**\n * The avatar icon to use.\n */\n icon?: ReactElement\n /**\n * Defines loading strategy.\n */\n loading?: HTMLProps<\"img\">[\"loading\"]\n /**\n * The name of the person in the avatar.\n *\n * - If `src` has loaded, the name will be used as the `alt` attribute of the `img`\n * - If `src` is not loaded, the name will be used to create the initials\n */\n name?: string\n /**\n * Defining which referrer is sent when fetching the resource.\n *\n * @default 'no-referrer'\n */\n referrerPolicy?: HTMLProps<\"img\">[\"referrerPolicy\"]\n /**\n * The image url of the avatar.\n */\n src?: HTMLProps<\"img\">[\"src\"]\n /**\n * List of sources to use for different screen resolutions.\n */\n srcSet?: HTMLProps<\"img\">[\"srcSet\"]\n /**\n * Function to get the initials to display.\n */\n format?: (name: string) => string\n}\n\nexport const useAvatar = ({\n name,\n src,\n srcSet,\n alt,\n crossOrigin,\n fallback: fallbackMessage,\n format = defaultFormat,\n icon,\n loading,\n referrerPolicy = \"no-referrer\",\n ...rest\n}: UseAvatarProps = {}) => {\n const imageRef = useRef<HTMLImageElement>(null)\n const initials = name ? format(name) : undefined\n const [loaded, setLoaded] = useState<boolean>(false)\n const fallback = !src || !loaded\n const { t } = useI18n(\"avatar\")\n\n useEffect(() => {\n if (!imageRef.current) return\n\n if (!!imageRef.current.src && imageRef.current.complete) setLoaded(true)\n }, [])\n\n const getGroupProps: PropGetter = useCallback((props) => ({ ...props }), [])\n\n const getRootProps: PropGetter = useCallback(\n (props) => ({\n ...mergeProps(rest, props)(),\n \"data-fallback\": dataAttr(!!fallbackMessage),\n \"data-loaded\": dataAttr(loaded),\n }),\n [loaded, fallbackMessage, rest],\n )\n\n const getImageProps: PropGetter<\"img\"> = useCallback(\n ({ ref, onLoad, ...props } = {}) => ({\n ...props,\n ref: mergeRefs(ref, imageRef),\n src,\n srcSet,\n alt: name || alt,\n crossOrigin,\n draggable: false,\n hidden: fallback,\n loading,\n referrerPolicy,\n onLoad: handlerAll(onLoad, () => setLoaded(true)),\n }),\n [src, srcSet, alt, crossOrigin, loading, referrerPolicy, fallback, name],\n )\n\n const getFallbackProps: PropGetter = useCallback(\n (props) => ({\n ...props,\n \"aria-label\": !fallbackMessage\n ? name || alt || t(\"Avatar Icon\")\n : undefined,\n children: fallbackMessage || initials || icon,\n hidden: !fallback,\n role: !fallbackMessage ? \"img\" : undefined,\n }),\n [name, initials, fallback, icon, fallbackMessage, alt, t],\n )\n\n return {\n name,\n loaded,\n getFallbackProps,\n getGroupProps,\n getImageProps,\n getRootProps,\n }\n}\n\nexport type UseAvatarReturn = ReturnType<typeof useAvatar>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-avatar.cjs","names":["useRef","useState","useI18n","useCallback","mergeProps","mergeRefs"],"sources":["../../../../src/components/avatar/use-avatar.ts"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback, useEffect, useRef, useState } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport { dataAttr, handlerAll, mergeRefs } from \"../../utils\"\n\nconst defaultFormat = (name: string) => {\n const names = name.trim().split(\" \")\n const firstName = names[0] ?? \"\"\n const lastName = names.length > 1 ? names[names.length - 1] : \"\"\n\n return firstName && lastName\n ? `${firstName.charAt(0)}${lastName.charAt(0)}`\n : firstName.charAt(0)\n}\n\nexport interface UseAvatarProps extends HTMLProps {\n /**\n * The `HTMLImageElement` property `alt`.\n */\n alt?: HTMLProps<\"img\">[\"alt\"]\n /**\n * The `HTMLImageElement` property `crossOrigin`.\n */\n crossOrigin?: HTMLProps<\"img\">[\"crossOrigin\"]\n /**\n * The fallback text to display if the image is not provided.\n */\n fallback?: ReactNode\n /**\n * The avatar icon to use.\n */\n icon?: ReactElement\n /**\n * Defines loading strategy.\n */\n loading?: HTMLProps<\"img\">[\"loading\"]\n /**\n * The name of the person in the avatar.\n *\n * - If `src` has loaded, the name will be used as the `alt` attribute of the `img`\n * - If `src` is not loaded, the name will be used to create the initials\n */\n name?: string\n /**\n * Defining which referrer is sent when fetching the resource.\n *\n * @default 'no-referrer'\n */\n referrerPolicy?: HTMLProps<\"img\">[\"referrerPolicy\"]\n /**\n * The image url of the avatar.\n */\n src?: HTMLProps<\"img\">[\"src\"]\n /**\n * List of sources to use for different screen resolutions.\n */\n srcSet?: HTMLProps<\"img\">[\"srcSet\"]\n /**\n * Function to get the initials to display.\n */\n format?: (name: string) => string\n}\n\nexport const useAvatar = ({\n name,\n src,\n srcSet,\n alt,\n crossOrigin,\n fallback: fallbackMessage,\n format = defaultFormat,\n icon,\n loading,\n referrerPolicy = \"no-referrer\",\n ...rest\n}: UseAvatarProps = {}) => {\n const imageRef = useRef<HTMLImageElement>(null)\n const initials = name ? format(name) : undefined\n const [loaded, setLoaded] = useState<boolean>(false)\n const fallback = !src || !loaded\n const { t } = useI18n(\"avatar\")\n\n useEffect(() => {\n if (!imageRef.current) return\n\n if (!!imageRef.current.src && imageRef.current.complete) setLoaded(true)\n }, [])\n\n const getGroupProps: PropGetter = useCallback((props) => ({ ...props }), [])\n\n const getRootProps: PropGetter = useCallback(\n (props) => ({\n ...mergeProps(rest, props)(),\n \"data-fallback\": dataAttr(!!fallbackMessage),\n \"data-loaded\": dataAttr(loaded),\n }),\n [loaded, fallbackMessage, rest],\n )\n\n const getImageProps: PropGetter<\"img\"> = useCallback(\n ({ ref, onLoad, ...props } = {}) => ({\n ...props,\n ref: mergeRefs(ref, imageRef),\n src,\n srcSet,\n alt: name || alt,\n crossOrigin,\n draggable: false,\n hidden: fallback,\n loading,\n referrerPolicy,\n onLoad: handlerAll(onLoad, () => setLoaded(true)),\n }),\n [src, srcSet, alt, crossOrigin, loading, referrerPolicy, fallback, name],\n )\n\n const getFallbackProps: PropGetter = useCallback(\n (props) => ({\n ...props,\n \"aria-label\": !fallbackMessage\n ? name || alt || t(\"Avatar Icon\")\n : undefined,\n children: fallbackMessage || initials || icon,\n hidden: !fallback,\n role: !fallbackMessage ? \"img\" : undefined,\n }),\n [name, initials, fallback, icon, fallbackMessage, alt, t],\n )\n\n return {\n name,\n loaded,\n getFallbackProps,\n getGroupProps,\n getImageProps,\n getRootProps,\n }\n}\n\nexport type UseAvatarReturn = ReturnType<typeof useAvatar>\n"],"mappings":";;;;;;;AASA,MAAM,iBAAiB,SAAiB;CACtC,MAAM,QAAQ,KAAK,KAAK,CAAC,CAAC,MAAM,GAAG;CACnC,MAAM,YAAY,MAAM,MAAM;CAC9B,MAAM,WAAW,MAAM,SAAS,IAAI,MAAM,MAAM,SAAS,KAAK;CAE9D,OAAO,aAAa,WAChB,GAAG,UAAU,OAAO,CAAC,IAAI,SAAS,OAAO,CAA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AQ;EAAK;EAAa;EAAS;EAAgB;EAAU;CAAI,CACzE;CAeA,OAAO;EACL;EACA;EACA,mBAAA,GAhBmCF,MAAAA,YAAAA,EAClC,WAAW;GACV,GAAG;GACH,cAAc,CAAC,kBACX,QAAQ,OAAO,EAAE,aAAa,IAC9B,KAAA;GACJ,UAAU,mBAAmB,YAAY;GACzC,QAAQ,CAAC;GACT,MAAM,CAAC,kBAAkB,QAAQ,KAAA;EACnC,IACA;GAAC;GAAM;GAAU;GAAU;GAAM;GAAiB;GAAK;EAAC,CAMzC;EACf;EACA;EACA;CACF;AACF"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_children = require("../../utils/children.cjs");
|
|
4
3
|
const require_factory = require("../../core/system/factory.cjs");
|
|
5
4
|
const require_create_component = require("../../core/components/create-component.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.cjs","names":["createSlotComponent","blockquoteStyle","useValidChildren","useFindChild","useMemo","styled","QuoteIcon"],"sources":["../../../../src/components/blockquote/blockquote.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode } from \"react\"\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { BlockquoteStyle } from \"./blockquote.style\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useFindChild, useValidChildren } from \"../../utils\"\nimport { QuoteIcon } from \"../icon\"\nimport { blockquoteStyle } from \"./blockquote.style\"\n\ninterface ComponentContext\n extends\n Pick<BlockquoteContentProps, \"citeUrl\">,\n Pick<BlockquoteCaptionProps, \"withDash\"> {}\n\nexport interface BlockquoteRootProps\n extends\n Omit<HTMLStyledProps<\"figure\">, \"cite\">,\n ThemeProps<BlockquoteStyle>,\n Pick<BlockquoteContentProps, \"citeUrl\">,\n Pick<BlockquoteCaptionProps, \"withDash\"> {\n /**\n * The citation of the blockquote.\n */\n cite?: ReactNode\n /**\n * The icon of the blockquote.\n */\n icon?: ReactNode\n /**\n * The props for the `BlockquoteCaption` component.\n */\n captionProps?: HTMLStyledProps<\"figcaption\">\n /**\n * The props for the `BlockquoteCite` component.\n */\n citeProps?: HTMLStyledProps<\"cite\">\n /**\n * The props for the `BlockquoteContent` component.\n */\n contentProps?: HTMLStyledProps<\"blockquote\">\n}\n\nconst {\n ComponentContext,\n PropsContext: BlockquotePropsContext,\n useComponentContext,\n usePropsContext: useBlockquotePropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<BlockquoteRootProps, BlockquoteStyle, ComponentContext>(\n \"blockquote\",\n blockquoteStyle,\n)\n\nexport { BlockquotePropsContext, useBlockquotePropsContext }\n\n/**\n * `Blockquote` is a component that represents a blockquote. By default, it renders a `blockquote` element.\n *\n * @see https://yamada-ui.com/docs/components/blockquote\n */\nexport const BlockquoteRoot = withProvider<\"figure\", BlockquoteRootProps>(\n ({\n children,\n cite,\n citeUrl,\n icon,\n withDash,\n captionProps,\n citeProps,\n contentProps,\n ...rest\n }) => {\n const validChildren = useValidChildren(children)\n const customBlockquoteContent = useFindChild(\n validChildren,\n BlockquoteContent,\n )\n const customBlockquoteCaption = useFindChild(\n validChildren,\n BlockquoteCaption,\n )\n\n const context = useMemo(() => ({ citeUrl, withDash }), [citeUrl, withDash])\n\n return (\n <ComponentContext value={context}>\n <styled.figure {...rest}>\n {icon}\n\n {customBlockquoteContent ?? (\n <BlockquoteContent {...contentProps}>{children}</BlockquoteContent>\n )}\n\n {customBlockquoteCaption ??\n (cite ? (\n <BlockquoteCaption {...captionProps}>\n <BlockquoteCite {...citeProps}>{cite}</BlockquoteCite>\n </BlockquoteCaption>\n ) : null)}\n </styled.figure>\n </ComponentContext>\n )\n },\n \"root\",\n)()\n\nexport interface BlockquoteContentProps extends HTMLStyledProps<\"blockquote\"> {\n /**\n * The URL of the citation of the blockquote.\n */\n citeUrl?: string\n}\n\nexport const BlockquoteContent = withContext<\n \"blockquote\",\n BlockquoteContentProps\n>(\"blockquote\", \"content\")(\n undefined,\n ({ cite, citeUrl: citeUrlProp, ...rest }) => {\n const { citeUrl } = useComponentContext()\n\n return { ...rest, citeurl: cite ?? citeUrlProp ?? citeUrl }\n },\n)\n\nexport interface BlockquoteCaptionProps extends HTMLStyledProps<\"figcaption\"> {\n /**\n * If `true`, the dash will be shown.\n *\n * @default false\n */\n withDash?: boolean\n}\n\nexport const BlockquoteCaption = withContext<\n \"figcaption\",\n BlockquoteCaptionProps\n>(\"figcaption\", \"caption\")(\n undefined,\n ({ children, withDash: withDashProp, ...rest }) => {\n const { withDash } = useComponentContext()\n\n withDashProp ??= withDash\n\n return {\n ...rest,\n children: (\n <>\n {withDashProp ? <>—</> : null} {children}\n </>\n ),\n }\n },\n)\n\nexport interface BlockquoteCiteProps extends HTMLStyledProps<\"cite\"> {}\n\nexport const BlockquoteCite = withContext<\"cite\", BlockquoteCiteProps>(\n \"cite\",\n \"cite\",\n)()\n\nexport interface BlockquoteIconProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const BlockquoteIcon = withContext<\"svg\", BlockquoteIconProps>(\n QuoteIcon,\n \"icon\",\n)()\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"blockquote.cjs","names":["createSlotComponent","blockquoteStyle","useValidChildren","useFindChild","useMemo","styled","QuoteIcon"],"sources":["../../../../src/components/blockquote/blockquote.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode } from \"react\"\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { BlockquoteStyle } from \"./blockquote.style\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useFindChild, useValidChildren } from \"../../utils\"\nimport { QuoteIcon } from \"../icon\"\nimport { blockquoteStyle } from \"./blockquote.style\"\n\ninterface ComponentContext\n extends\n Pick<BlockquoteContentProps, \"citeUrl\">,\n Pick<BlockquoteCaptionProps, \"withDash\"> {}\n\nexport interface BlockquoteRootProps\n extends\n Omit<HTMLStyledProps<\"figure\">, \"cite\">,\n ThemeProps<BlockquoteStyle>,\n Pick<BlockquoteContentProps, \"citeUrl\">,\n Pick<BlockquoteCaptionProps, \"withDash\"> {\n /**\n * The citation of the blockquote.\n */\n cite?: ReactNode\n /**\n * The icon of the blockquote.\n */\n icon?: ReactNode\n /**\n * The props for the `BlockquoteCaption` component.\n */\n captionProps?: HTMLStyledProps<\"figcaption\">\n /**\n * The props for the `BlockquoteCite` component.\n */\n citeProps?: HTMLStyledProps<\"cite\">\n /**\n * The props for the `BlockquoteContent` component.\n */\n contentProps?: HTMLStyledProps<\"blockquote\">\n}\n\nconst {\n ComponentContext,\n PropsContext: BlockquotePropsContext,\n useComponentContext,\n usePropsContext: useBlockquotePropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<BlockquoteRootProps, BlockquoteStyle, ComponentContext>(\n \"blockquote\",\n blockquoteStyle,\n)\n\nexport { BlockquotePropsContext, useBlockquotePropsContext }\n\n/**\n * `Blockquote` is a component that represents a blockquote. By default, it renders a `blockquote` element.\n *\n * @see https://yamada-ui.com/docs/components/blockquote\n */\nexport const BlockquoteRoot = withProvider<\"figure\", BlockquoteRootProps>(\n ({\n children,\n cite,\n citeUrl,\n icon,\n withDash,\n captionProps,\n citeProps,\n contentProps,\n ...rest\n }) => {\n const validChildren = useValidChildren(children)\n const customBlockquoteContent = useFindChild(\n validChildren,\n BlockquoteContent,\n )\n const customBlockquoteCaption = useFindChild(\n validChildren,\n BlockquoteCaption,\n )\n\n const context = useMemo(() => ({ citeUrl, withDash }), [citeUrl, withDash])\n\n return (\n <ComponentContext value={context}>\n <styled.figure {...rest}>\n {icon}\n\n {customBlockquoteContent ?? (\n <BlockquoteContent {...contentProps}>{children}</BlockquoteContent>\n )}\n\n {customBlockquoteCaption ??\n (cite ? (\n <BlockquoteCaption {...captionProps}>\n <BlockquoteCite {...citeProps}>{cite}</BlockquoteCite>\n </BlockquoteCaption>\n ) : null)}\n </styled.figure>\n </ComponentContext>\n )\n },\n \"root\",\n)()\n\nexport interface BlockquoteContentProps extends HTMLStyledProps<\"blockquote\"> {\n /**\n * The URL of the citation of the blockquote.\n */\n citeUrl?: string\n}\n\nexport const BlockquoteContent = withContext<\n \"blockquote\",\n BlockquoteContentProps\n>(\"blockquote\", \"content\")(\n undefined,\n ({ cite, citeUrl: citeUrlProp, ...rest }) => {\n const { citeUrl } = useComponentContext()\n\n return { ...rest, citeurl: cite ?? citeUrlProp ?? citeUrl }\n },\n)\n\nexport interface BlockquoteCaptionProps extends HTMLStyledProps<\"figcaption\"> {\n /**\n * If `true`, the dash will be shown.\n *\n * @default false\n */\n withDash?: boolean\n}\n\nexport const BlockquoteCaption = withContext<\n \"figcaption\",\n BlockquoteCaptionProps\n>(\"figcaption\", \"caption\")(\n undefined,\n ({ children, withDash: withDashProp, ...rest }) => {\n const { withDash } = useComponentContext()\n\n withDashProp ??= withDash\n\n return {\n ...rest,\n children: (\n <>\n {withDashProp ? <>—</> : null} {children}\n </>\n ),\n }\n },\n)\n\nexport interface BlockquoteCiteProps extends HTMLStyledProps<\"cite\"> {}\n\nexport const BlockquoteCite = withContext<\"cite\", BlockquoteCiteProps>(\n \"cite\",\n \"cite\",\n)()\n\nexport interface BlockquoteIconProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const BlockquoteIcon = withContext<\"svg\", BlockquoteIconProps>(\n QuoteIcon,\n \"icon\",\n)()\n"],"mappings":";;;;;;;;;AA4CA,MAAM,EACJ,kBACA,cAAc,wBACd,qBACA,iBAAiB,2BACjB,aACA,iBACEA,yBAAAA,oBACF,cACAC,yBAAAA,eACF;;;;;;AASA,MAAa,iBAAiB,cAC3B,EACC,UACA,MACA,SACA,MACA,UACA,cACA,WACA,cACA,GAAG,WACC;CACJ,MAAM,gBAAgBC,iBAAAA,iBAAiB,QAAQ;CAC/C,MAAM,0BAA0BC,iBAAAA,aAC9B,eACA,iBACF;CACA,MAAM,0BAA0BA,iBAAAA,aAC9B,eACA,iBACF;CAEA,MAA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"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_factory = require("../../core/system/factory.cjs");
|
|
4
3
|
const require_create_component = require("../../core/components/create-component.cjs");
|
|
5
4
|
const require_chevron_right_icon = require("../icon/icons/chevron-right-icon.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.cjs","names":["createSlotComponent","breadcrumbStyle","useBreadcrumb","useMemo","styled","Fragment","ChevronRightIcon","EllipsisIcon"],"sources":["../../../../src/components/breadcrumb/breadcrumb.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement } from \"react\"\nimport type { HTMLStyledProps, PropGetter, ThemeProps } from \"../../core\"\nimport type { BreadcrumbStyle } from \"./breadcrumb.style\"\nimport type { UseBreadcrumbProps } from \"./use-breadcrumb\"\nimport { Fragment, useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { ChevronRightIcon, EllipsisIcon } from \"../icon\"\nimport { breadcrumbStyle } from \"./breadcrumb.style\"\nimport { useBreadcrumb } from \"./use-breadcrumb\"\n\ninterface ComponentContext {\n getEllipsisProps: PropGetter<\"svg\">\n getLinkProps: PropGetter<\"a\", { currentPage?: boolean }>\n}\n\nexport interface BreadcrumbRootProps\n extends\n HTMLStyledProps<\"nav\">,\n ThemeProps<BreadcrumbStyle>,\n Omit<UseBreadcrumbProps, \"endBoundaries\" | \"startBoundaries\"> {\n /**\n * Number of elements visible on the end(right) edges.\n *\n * @default 0\n */\n endBoundaries?: number\n /**\n * The visual separator between each breadcrumb item.\n *\n * @default '/'\n */\n separator?: ReactElement | string\n /**\n * Number of elements visible on the start(left) edges.\n *\n * @default 0\n */\n startBoundaries?: number\n /**\n * Props for item element.\n */\n itemProps?: BreadcrumbItemProps\n /**\n * Props for ol element.\n */\n listProps?: HTMLStyledProps<\"ol\">\n /**\n * Props for separator element.\n */\n separatorProps?: BreadcrumbSeparatorProps\n}\n\nconst {\n ComponentContext,\n PropsContext: BreadcrumbPropsContext,\n useComponentContext,\n usePropsContext: useBreadcrumbPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<BreadcrumbRootProps, BreadcrumbStyle, ComponentContext>(\n \"breadcrumb\",\n breadcrumbStyle,\n)\n\nexport { BreadcrumbPropsContext, useBreadcrumbPropsContext }\n\n/**\n * `Breadcrumb` is a component that helps users understand the hierarchy of a website.\n *\n * @see https://yamada-ui.com/docs/components/breadcrumb\n */\nexport const BreadcrumbRoot = withProvider<\"nav\", BreadcrumbRootProps>(\n ({\n endBoundaries,\n gap,\n separator,\n startBoundaries,\n itemProps,\n listProps,\n separatorProps,\n ...rest\n }) => {\n const {\n children,\n getEllipsisProps,\n getLinkProps,\n getListProps,\n getRootProps,\n } = useBreadcrumb({\n ellipsis: <BreadcrumbEllipsis />,\n endBoundaries,\n link: <BreadcrumbLink />,\n startBoundaries,\n ...rest,\n })\n\n const context = useMemo(\n () => ({ getEllipsisProps, getLinkProps }),\n [getEllipsisProps, getLinkProps],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.nav {...getRootProps()}>\n <BreadcrumbList {...getListProps({ gap, ...listProps })}>\n {children.map((child, index) => {\n const last = index === children.length - 1\n\n return (\n <Fragment key={index}>\n <BreadcrumbItem {...itemProps}>{child}</BreadcrumbItem>\n\n {!last ? (\n <BreadcrumbSeparator {...separatorProps}>\n {separator}\n </BreadcrumbSeparator>\n ) : null}\n </Fragment>\n )\n })}\n </BreadcrumbList>\n </styled.nav>\n </ComponentContext>\n )\n },\n \"root\",\n)()\n\ninterface BreadcrumbListProps extends HTMLStyledProps<\"ol\"> {}\n\nconst BreadcrumbList = withContext<\"ol\", BreadcrumbListProps>(\"ol\", \"list\")()\n\ninterface BreadcrumbItemProps extends HTMLStyledProps<\"li\"> {}\n\nconst BreadcrumbItem = withContext<\"li\", BreadcrumbItemProps>(\"li\", \"item\")()\n\ninterface BreadcrumbSeparatorProps extends HTMLStyledProps<\"li\"> {}\n\nconst BreadcrumbSeparator = withContext<\"li\", BreadcrumbSeparatorProps>(\n BreadcrumbItem,\n \"separator\",\n)(({ children, ...rest }) => ({\n children: children ?? <ChevronRightIcon />,\n ...rest,\n}))\n\nexport interface BreadcrumbLinkProps extends HTMLStyledProps<\"a\"> {\n /**\n * If `true`, change to span element.\n *\n * @default false\n */\n currentPage?: boolean\n}\n\nexport const BreadcrumbLink = withContext<\"a\", BreadcrumbLinkProps>(\n \"a\",\n \"link\",\n)(undefined, ({ currentPage, ...rest }) => {\n const { getLinkProps } = useComponentContext()\n\n return {\n as: !currentPage ? \"a\" : \"span\",\n ...getLinkProps({ currentPage, ...rest }),\n }\n})\n\nexport interface BreadcrumbEllipsisProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const BreadcrumbEllipsis = withContext<\"svg\", BreadcrumbEllipsisProps>(\n EllipsisIcon,\n \"ellipsis\",\n)(undefined, (props) => {\n const { getEllipsisProps } = useComponentContext()\n\n return { ...getEllipsisProps(props) }\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"breadcrumb.cjs","names":["createSlotComponent","breadcrumbStyle","useBreadcrumb","useMemo","styled","Fragment","ChevronRightIcon","EllipsisIcon"],"sources":["../../../../src/components/breadcrumb/breadcrumb.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement } from \"react\"\nimport type { HTMLStyledProps, PropGetter, ThemeProps } from \"../../core\"\nimport type { BreadcrumbStyle } from \"./breadcrumb.style\"\nimport type { UseBreadcrumbProps } from \"./use-breadcrumb\"\nimport { Fragment, useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { ChevronRightIcon, EllipsisIcon } from \"../icon\"\nimport { breadcrumbStyle } from \"./breadcrumb.style\"\nimport { useBreadcrumb } from \"./use-breadcrumb\"\n\ninterface ComponentContext {\n getEllipsisProps: PropGetter<\"svg\">\n getLinkProps: PropGetter<\"a\", { currentPage?: boolean }>\n}\n\nexport interface BreadcrumbRootProps\n extends\n HTMLStyledProps<\"nav\">,\n ThemeProps<BreadcrumbStyle>,\n Omit<UseBreadcrumbProps, \"endBoundaries\" | \"startBoundaries\"> {\n /**\n * Number of elements visible on the end(right) edges.\n *\n * @default 0\n */\n endBoundaries?: number\n /**\n * The visual separator between each breadcrumb item.\n *\n * @default '/'\n */\n separator?: ReactElement | string\n /**\n * Number of elements visible on the start(left) edges.\n *\n * @default 0\n */\n startBoundaries?: number\n /**\n * Props for item element.\n */\n itemProps?: BreadcrumbItemProps\n /**\n * Props for ol element.\n */\n listProps?: HTMLStyledProps<\"ol\">\n /**\n * Props for separator element.\n */\n separatorProps?: BreadcrumbSeparatorProps\n}\n\nconst {\n ComponentContext,\n PropsContext: BreadcrumbPropsContext,\n useComponentContext,\n usePropsContext: useBreadcrumbPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<BreadcrumbRootProps, BreadcrumbStyle, ComponentContext>(\n \"breadcrumb\",\n breadcrumbStyle,\n)\n\nexport { BreadcrumbPropsContext, useBreadcrumbPropsContext }\n\n/**\n * `Breadcrumb` is a component that helps users understand the hierarchy of a website.\n *\n * @see https://yamada-ui.com/docs/components/breadcrumb\n */\nexport const BreadcrumbRoot = withProvider<\"nav\", BreadcrumbRootProps>(\n ({\n endBoundaries,\n gap,\n separator,\n startBoundaries,\n itemProps,\n listProps,\n separatorProps,\n ...rest\n }) => {\n const {\n children,\n getEllipsisProps,\n getLinkProps,\n getListProps,\n getRootProps,\n } = useBreadcrumb({\n ellipsis: <BreadcrumbEllipsis />,\n endBoundaries,\n link: <BreadcrumbLink />,\n startBoundaries,\n ...rest,\n })\n\n const context = useMemo(\n () => ({ getEllipsisProps, getLinkProps }),\n [getEllipsisProps, getLinkProps],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.nav {...getRootProps()}>\n <BreadcrumbList {...getListProps({ gap, ...listProps })}>\n {children.map((child, index) => {\n const last = index === children.length - 1\n\n return (\n <Fragment key={index}>\n <BreadcrumbItem {...itemProps}>{child}</BreadcrumbItem>\n\n {!last ? (\n <BreadcrumbSeparator {...separatorProps}>\n {separator}\n </BreadcrumbSeparator>\n ) : null}\n </Fragment>\n )\n })}\n </BreadcrumbList>\n </styled.nav>\n </ComponentContext>\n )\n },\n \"root\",\n)()\n\ninterface BreadcrumbListProps extends HTMLStyledProps<\"ol\"> {}\n\nconst BreadcrumbList = withContext<\"ol\", BreadcrumbListProps>(\"ol\", \"list\")()\n\ninterface BreadcrumbItemProps extends HTMLStyledProps<\"li\"> {}\n\nconst BreadcrumbItem = withContext<\"li\", BreadcrumbItemProps>(\"li\", \"item\")()\n\ninterface BreadcrumbSeparatorProps extends HTMLStyledProps<\"li\"> {}\n\nconst BreadcrumbSeparator = withContext<\"li\", BreadcrumbSeparatorProps>(\n BreadcrumbItem,\n \"separator\",\n)(({ children, ...rest }) => ({\n children: children ?? <ChevronRightIcon />,\n ...rest,\n}))\n\nexport interface BreadcrumbLinkProps extends HTMLStyledProps<\"a\"> {\n /**\n * If `true`, change to span element.\n *\n * @default false\n */\n currentPage?: boolean\n}\n\nexport const BreadcrumbLink = withContext<\"a\", BreadcrumbLinkProps>(\n \"a\",\n \"link\",\n)(undefined, ({ currentPage, ...rest }) => {\n const { getLinkProps } = useComponentContext()\n\n return {\n as: !currentPage ? \"a\" : \"span\",\n ...getLinkProps({ currentPage, ...rest }),\n }\n})\n\nexport interface BreadcrumbEllipsisProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const BreadcrumbEllipsis = withContext<\"svg\", BreadcrumbEllipsisProps>(\n EllipsisIcon,\n \"ellipsis\",\n)(undefined, (props) => {\n const { getEllipsisProps } = useComponentContext()\n\n return { ...getEllipsisProps(props) }\n})\n"],"mappings":";;;;;;;;;;AAsDA,MAAM,EACJ,kBACA,cAAc,wBACd,qBACA,iBAAiB,2BACjB,aACA,iBACEA,yBAAAA,oBACF,cACAC,yBAAAA,eACF;;;;;;AASA,MAAa,iBAAiB,cAC3B,EACC,eACA,KACA,WACA,iBACA,WACA,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AAA,CAACC,2BAAAA,kBAAD,CAAmB,CAAA;CACzC,GAAG;AACL,EAAE;AAWF,MAAa,iBAAiB,YAC5B,KACA,MACF,CAAC,CAAC,KAAA,IAAY,EAAE,aAAa,GAAG,WAAW;CACzC,MAAM,EAAE,iBAAiB,oBAAoB;CAE7C,OAAO;EACL,IAAI,CAAC,cAAc,MAAM;EACzB,GAAG,aAAa;GAAE;GAAa,GAAG;EAAK,CAAC;CAC1C;AACF,CAAC;AAID,MAAa,qBAAqB,YAChCC,sBAAAA,cACA,UACF,CAAC,CAAC,KAAA,IAAY,UAAU;CACtB,MAAM,EAAE,qBAAqB,oBAAoB;CAEjD,OAAO,EAAE,GAAG,iBAAiB,KAAK,EAAE;AACtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-breadcrumb.cjs","names":["useValidChildren","useI18n","useCallback","cloneElement","useMemo","mergeProps"],"sources":["../../../../src/components/breadcrumb/use-breadcrumb.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport { cloneElement, useCallback, useMemo } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport { runIfFn, useValidChildren } from \"../../utils\"\n\nexport interface BreadcrumbItem extends HTMLProps<\"a\"> {\n currentPage?: boolean\n label?: ReactNode\n}\n\nexport interface UseBreadcrumbProps extends HTMLProps<\"nav\"> {\n /**\n * The icon to be used in the ellipsis.\n */\n ellipsis?: ReactNodeOrFunction<{ items: BreadcrumbItem[] }>\n /**\n * Number of elements visible on the end(right) edges.\n *\n * @default 0\n */\n endBoundaries?: number\n /**\n * If provided, generate breadcrumb items based on items.\n */\n items?: BreadcrumbItem[]\n /**\n * The component to be used for the link.\n */\n link?: ReactElement<any>\n /**\n * Number of elements visible on the start(left) edges.\n *\n * @default 0\n */\n startBoundaries?: number\n}\n\nexport const useBreadcrumb = ({\n children,\n ellipsis,\n endBoundaries = 0,\n items = [],\n link,\n startBoundaries = 0,\n ...rest\n}: UseBreadcrumbProps = {}) => {\n const validChildren = useValidChildren(children)\n const length = validChildren.length || items.length\n const { t } = useI18n(\"breadcrumb\")\n\n const hasBoundaries =\n startBoundaries + endBoundaries > 0 &&\n length > startBoundaries + endBoundaries\n\n const renderLink = useCallback(\n (items: BreadcrumbItem[]) => {\n if (!link) return []\n\n return items.map(({ label, ...rest }) =>\n cloneElement<any>(link, { ...link.props, children: label, ...rest }),\n )\n },\n [link],\n )\n\n const renderEllipsis = useCallback(\n (items: BreadcrumbItem[]) => {\n if (!ellipsis) return null\n\n return runIfFn(ellipsis, { items })\n },\n [ellipsis],\n )\n\n const splitItems = useCallback(\n (items: BreadcrumbItem[]) => {\n const length = items.length\n const firstItems = items.slice(0, startBoundaries)\n const ellipsisItems = items.slice(startBoundaries, length - endBoundaries)\n const lastItems = items.slice(length - endBoundaries)\n\n return [firstItems, ellipsisItems, lastItems] as const\n },\n [startBoundaries, endBoundaries],\n )\n\n const cloneChildren = useMemo(() => {\n const hasChildren = !!validChildren.length\n\n if (hasChildren) {\n return validChildren\n } else if (hasBoundaries) {\n const [firstItems, ellipsisItems, lastItems] = splitItems(items)\n\n return [\n ...renderLink(firstItems),\n renderEllipsis(ellipsisItems),\n ...renderLink(lastItems),\n ]\n } else {\n return renderLink(items)\n }\n }, [\n validChildren,\n items,\n hasBoundaries,\n renderEllipsis,\n renderLink,\n splitItems,\n ])\n\n const getRootProps: PropGetter<\"nav\"> = useCallback(\n (props) => mergeProps({ \"aria-label\": t(\"Breadcrumb\") }, rest, props)(),\n [rest, t],\n )\n\n const getListProps: PropGetter<\"ol\"> = useCallback(\n (props) => ({ ...props }),\n [],\n )\n\n const getLinkProps: PropGetter<\"a\", { currentPage?: boolean }> = useCallback(\n ({ href, currentPage, ...props } = {}) => ({\n href: !currentPage ? href : undefined,\n \"aria-current\": currentPage ? \"page\" : undefined,\n ...props,\n }),\n [],\n )\n\n const getEllipsisProps: PropGetter<\"svg\"> = useCallback(\n (props) => ({\n \"aria-label\": t(\"Ellipsis\"),\n role: \"presentation\",\n ...props,\n }),\n [t],\n )\n\n return {\n children: cloneChildren,\n getEllipsisProps,\n getLinkProps,\n getListProps,\n getRootProps,\n }\n}\n\nexport type UseBreadcrumbReturn = ReturnType<typeof useBreadcrumb>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-breadcrumb.cjs","names":["useValidChildren","useI18n","useCallback","cloneElement","useMemo","mergeProps"],"sources":["../../../../src/components/breadcrumb/use-breadcrumb.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport { cloneElement, useCallback, useMemo } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport { runIfFn, useValidChildren } from \"../../utils\"\n\nexport interface BreadcrumbItem extends HTMLProps<\"a\"> {\n currentPage?: boolean\n label?: ReactNode\n}\n\nexport interface UseBreadcrumbProps extends HTMLProps<\"nav\"> {\n /**\n * The icon to be used in the ellipsis.\n */\n ellipsis?: ReactNodeOrFunction<{ items: BreadcrumbItem[] }>\n /**\n * Number of elements visible on the end(right) edges.\n *\n * @default 0\n */\n endBoundaries?: number\n /**\n * If provided, generate breadcrumb items based on items.\n */\n items?: BreadcrumbItem[]\n /**\n * The component to be used for the link.\n */\n link?: ReactElement<any>\n /**\n * Number of elements visible on the start(left) edges.\n *\n * @default 0\n */\n startBoundaries?: number\n}\n\nexport const useBreadcrumb = ({\n children,\n ellipsis,\n endBoundaries = 0,\n items = [],\n link,\n startBoundaries = 0,\n ...rest\n}: UseBreadcrumbProps = {}) => {\n const validChildren = useValidChildren(children)\n const length = validChildren.length || items.length\n const { t } = useI18n(\"breadcrumb\")\n\n const hasBoundaries =\n startBoundaries + endBoundaries > 0 &&\n length > startBoundaries + endBoundaries\n\n const renderLink = useCallback(\n (items: BreadcrumbItem[]) => {\n if (!link) return []\n\n return items.map(({ label, ...rest }) =>\n cloneElement<any>(link, { ...link.props, children: label, ...rest }),\n )\n },\n [link],\n )\n\n const renderEllipsis = useCallback(\n (items: BreadcrumbItem[]) => {\n if (!ellipsis) return null\n\n return runIfFn(ellipsis, { items })\n },\n [ellipsis],\n )\n\n const splitItems = useCallback(\n (items: BreadcrumbItem[]) => {\n const length = items.length\n const firstItems = items.slice(0, startBoundaries)\n const ellipsisItems = items.slice(startBoundaries, length - endBoundaries)\n const lastItems = items.slice(length - endBoundaries)\n\n return [firstItems, ellipsisItems, lastItems] as const\n },\n [startBoundaries, endBoundaries],\n )\n\n const cloneChildren = useMemo(() => {\n const hasChildren = !!validChildren.length\n\n if (hasChildren) {\n return validChildren\n } else if (hasBoundaries) {\n const [firstItems, ellipsisItems, lastItems] = splitItems(items)\n\n return [\n ...renderLink(firstItems),\n renderEllipsis(ellipsisItems),\n ...renderLink(lastItems),\n ]\n } else {\n return renderLink(items)\n }\n }, [\n validChildren,\n items,\n hasBoundaries,\n renderEllipsis,\n renderLink,\n splitItems,\n ])\n\n const getRootProps: PropGetter<\"nav\"> = useCallback(\n (props) => mergeProps({ \"aria-label\": t(\"Breadcrumb\") }, rest, props)(),\n [rest, t],\n )\n\n const getListProps: PropGetter<\"ol\"> = useCallback(\n (props) => ({ ...props }),\n [],\n )\n\n const getLinkProps: PropGetter<\"a\", { currentPage?: boolean }> = useCallback(\n ({ href, currentPage, ...props } = {}) => ({\n href: !currentPage ? href : undefined,\n \"aria-current\": currentPage ? \"page\" : undefined,\n ...props,\n }),\n [],\n )\n\n const getEllipsisProps: PropGetter<\"svg\"> = useCallback(\n (props) => ({\n \"aria-label\": t(\"Ellipsis\"),\n role: \"presentation\",\n ...props,\n }),\n [t],\n )\n\n return {\n children: cloneChildren,\n getEllipsisProps,\n getLinkProps,\n getListProps,\n getRootProps,\n }\n}\n\n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WAAW,UAAU;IACxB,eAAe,aAAa;IAC5B,GAAG,WAAW,SAAS;GACzB;EACF,OACE,OAAO,WAAW,KAAK;CAE3B,GAAG;EACD;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CAED,MAAM,gBAAA,GAAkCF,MAAAA,YAAAA,EACrC,UAAUG,cAAAA,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,MAAM,KAAK,CAAC,CAAC,GACtE,CAAC,MAAM,CAAC,CACV;CAEA,MAAM,gBAAA,GAAiCH,MAAAA,YAAAA,EACpC,WAAW,EAAE,GAAG,MAAM,IACvB,CAAC,CACH;CAEA,MAAM,gBAAA,GAA2DA,MAAAA,YAAAA,EAC9D,EAAE,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO;EACzC,MAAM,CAAC,cAAc,OAAO,KAAA;EAC5B,gBAAgB,cAAc,SAAS,KAAA;EACvC,GAAG;CACL,IACA,CAAC,CACH;CAWA,OAAO;EACL,UAAU;EACV,mBAAA,GAX0CA,MAAAA,YAAAA,EACzC,WAAW;GACV,cAAc,EAAE,UAAU;GAC1B,MAAM;GACN,GAAG;EACL,IACA,CAAC,CAAC,CAKa;EACf;EACA;EACA;CACF;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.cjs","names":["useMemo","ButtonPropsContext","IconButtonPropsContext","Group"],"sources":["../../../../src/components/button/button-group.tsx"],"sourcesContent":["\"use client\"\n\nimport type { Component, ThemeProps, WithoutThemeProps } from \"../../core\"\nimport type { GroupProps } from \"../group\"\nimport type { ButtonProps } from \"./button\"\nimport type { ButtonStyle } from \"./button.style\"\nimport { useMemo } from \"react\"\nimport { Group } from \"../group\"\nimport { ButtonPropsContext } from \"./button\"\nimport { IconButtonPropsContext } from \"./icon-button\"\n\nexport interface ButtonGroupRootProps\n extends WithoutThemeProps<GroupProps, ButtonStyle>, ThemeProps<ButtonStyle> {\n /**\n * If `true`, all wrapped button will be disabled.\n *\n * @default false\n */\n disabled?: boolean\n}\n\n/**\n * `Button` is an interactive component that allows users to perform actions such as submitting forms and toggling modals.\n *\n * @see https://yamada-ui.com/docs/components/button\n */\nexport const ButtonGroupRoot = (({\n size,\n variant,\n attached,\n disabled,\n ...rest\n}: ButtonGroupRootProps) => {\n const context = useMemo<ButtonProps>(\n () => ({\n size,\n variant,\n disabled,\n focusVisibleRing: attached ? \"inside\" : undefined,\n }),\n [size, variant, disabled, attached],\n )\n\n return (\n <ButtonPropsContext value={context}>\n <IconButtonPropsContext value={context}>\n <Group attached={attached} {...rest} />\n </IconButtonPropsContext>\n </ButtonPropsContext>\n )\n}) as Component<\"div\", ButtonGroupRootProps>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"button-group.cjs","names":["useMemo","ButtonPropsContext","IconButtonPropsContext","Group"],"sources":["../../../../src/components/button/button-group.tsx"],"sourcesContent":["\"use client\"\n\nimport type { Component, ThemeProps, WithoutThemeProps } from \"../../core\"\nimport type { GroupProps } from \"../group\"\nimport type { ButtonProps } from \"./button\"\nimport type { ButtonStyle } from \"./button.style\"\nimport { useMemo } from \"react\"\nimport { Group } from \"../group\"\nimport { ButtonPropsContext } from \"./button\"\nimport { IconButtonPropsContext } from \"./icon-button\"\n\nexport interface ButtonGroupRootProps\n extends WithoutThemeProps<GroupProps, ButtonStyle>, ThemeProps<ButtonStyle> {\n /**\n * If `true`, all wrapped button will be disabled.\n *\n * @default false\n */\n disabled?: boolean\n}\n\n/**\n * `Button` is an interactive component that allows users to perform actions such as submitting forms and toggling modals.\n *\n * @see https://yamada-ui.com/docs/components/button\n */\nexport const ButtonGroupRoot = (({\n size,\n variant,\n attached,\n disabled,\n ...rest\n}: ButtonGroupRootProps) => {\n const context = useMemo<ButtonProps>(\n () => ({\n size,\n variant,\n disabled,\n focusVisibleRing: attached ? \"inside\" : undefined,\n }),\n [size, variant, disabled, attached],\n )\n\n return (\n <ButtonPropsContext value={context}>\n <IconButtonPropsContext value={context}>\n <Group attached={attached} {...rest} />\n </IconButtonPropsContext>\n </ButtonPropsContext>\n )\n}) as Component<\"div\", ButtonGroupRootProps>\n"],"mappings":";;;;;;;;;;;;AA0BA,MAAa,oBAAoB,EAC/B,MACA,SACA,UACA,UACA,GAAG,WACuB;CAC1B,MAAM,WAAA,GAAUA,MAAAA,QAAAA,QACP;EACL;EACA;EACA;EACA,kBAAkB,WAAW,WAAW,KAAA;CAC1C,IACA;EAAC;EAAM;EAAS;EAAU;CAAQ,CACpC;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,eAAAA,oBAAD;EAAoB,OAAO;EACzB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,oBAAAA,wBAAD;GAAwB,OAAO;GAC7B,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,cAAAA,OAAD;IAAiB;IAAU,GAAI;GAAO,CAAA;EAChB,CAAA;CACN,CAAA;AAExB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.cjs","names":["useRef","useCallback","createComponent","buttonStyle","useRipple","useMemo","styled","mergeRefs","Ripple","getClassName","isLoadingScheme","getLoadingComponent","mergeCSS","isValidElement","cloneElement","Children"],"sources":["../../../../src/components/button/button.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ElementType, PropsWithChildren, ReactNode } from \"react\"\nimport type {\n CSSObject,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { Loading } from \"../loading\"\nimport type { ButtonStyle } from \"./button.style\"\nimport {\n Children,\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n useRef,\n} from \"react\"\nimport { createComponent, getClassName, mergeCSS, styled } from \"../../core\"\nimport { bem, dataAttr, mergeRefs } from \"../../utils\"\nimport { getLoadingComponent, isLoadingScheme } from \"../loading\"\nimport { Ripple, useRipple } from \"../ripple\"\nimport { buttonStyle } from \"./button.style\"\n\ninterface ComponentContext extends Pick<\n ButtonProps,\n \"endIcon\" | \"iconProps\" | \"loadingIcon\" | \"loadingMessage\" | \"startIcon\"\n> {}\n\nconst useButtonType = (value?: ElementType) => {\n const buttonRef = useRef(!value)\n\n const ref = useCallback((node: HTMLElement | null) => {\n if (node) buttonRef.current = node.tagName === \"BUTTON\"\n }, [])\n\n const type = buttonRef.current ? \"button\" : undefined\n\n return { ref, type } as const\n}\n\nexport interface ButtonProps\n extends HTMLStyledProps<\"button\">, ThemeProps<ButtonStyle> {\n /**\n * If `true`, the button is represented as active.\n *\n * @default false\n */\n active?: boolean\n /**\n * If `true`, the button is disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * If `true`, disable ripple effects when pressing a element.\n *\n * @default false\n */\n disableRipple?: boolean\n /**\n * The icon to display at the end side of the button.\n */\n endIcon?: ReactNode\n /**\n * If `true`, the loading state of the button is represented.\n *\n * @default false\n */\n loading?: boolean\n /**\n * The icon to display when the button is loading.\n *\n * @default 'oval'\n */\n loadingIcon?: Loading.Scheme | ReactNode\n /**\n * The message to display when the button is loading.\n */\n loadingMessage?: ReactNode\n /**\n * The placement of the loading indicator. Accepts `start` or `end`.\n *\n * @default 'start'\n */\n loadingPlacement?: \"end\" | \"start\"\n /**\n * The icon to display at the start side of the button.\n */\n startIcon?: ReactNode\n /**\n * The type of button. Accepts `button`, `reset`, or `submit`.\n *\n * @default 'button'\n */\n type?: HTMLProps<\"button\">[\"type\"]\n /**\n * The props of the icon element.\n */\n iconProps?: ButtonIconProps\n /**\n * The props of the loading icon element.\n */\n loadingProps?: ButtonLoadingProps\n}\n\nconst {\n component,\n ComponentContext,\n PropsContext: ButtonPropsContext,\n useComponentContext,\n usePropsContext: useButtonPropsContext,\n withContext,\n} = createComponent<ButtonProps, ButtonStyle, ComponentContext>(\n \"button\",\n buttonStyle,\n)\n\nexport { ButtonPropsContext, useButtonPropsContext }\n\n/**\n * `Button` is an interactive component that allows users to perform actions such as submitting forms and toggling modals.\n *\n * @see https://yamada-ui.com/docs/components/button\n */\nexport const Button = withContext<\"button\", ButtonProps>(\n ({\n ref,\n as,\n active,\n children,\n disabled,\n disableRipple,\n endIcon = null,\n loading,\n loadingIcon = \"oval\",\n loadingMessage,\n loadingPlacement = \"start\",\n startIcon = null,\n iconProps,\n loadingProps,\n ...rest\n }) => {\n const trulyDisabled = disabled || loading\n const { ref: buttonRef, type } = useButtonType(as)\n const { onClick, ...rippleProps } = useRipple({\n ...rest,\n disabled: disableRipple || trulyDisabled,\n })\n const startLoading = loading && loadingPlacement === \"start\"\n const endLoading = loading && loadingPlacement === \"end\"\n\n const context = useMemo(\n () => ({ endIcon, loadingIcon, loadingMessage, startIcon, iconProps }),\n [loadingIcon, loadingMessage, startIcon, endIcon, iconProps],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.button\n ref={mergeRefs(ref, buttonRef)}\n as={as}\n type={type}\n data-active={dataAttr(active)}\n data-loading={dataAttr(loading)}\n disabled={trulyDisabled}\n {...rest}\n onClick={onClick}\n >\n {startLoading ? <ButtonStartLoading {...loadingProps} /> : null}\n\n {loading ? (\n loadingMessage || (\n <styled.span opacity={0}>\n <ButtonContent>{children}</ButtonContent>\n </styled.span>\n )\n ) : (\n <ButtonContent>{children}</ButtonContent>\n )}\n\n {endLoading ? <ButtonEndLoading {...loadingProps} /> : null}\n\n <Ripple {...rippleProps} />\n </styled.button>\n </ComponentContext>\n )\n },\n)()\n\nconst ButtonContent = component<\"fragment\", PropsWithChildren>(\n ({ children }) => {\n const { endIcon, startIcon, iconProps } = useComponentContext()\n\n return (\n <>\n {startIcon ? (\n <ButtonStartIcon {...iconProps}>{startIcon}</ButtonStartIcon>\n ) : null}\n {children}\n {endIcon ? (\n <ButtonEndIcon {...iconProps}>{endIcon}</ButtonEndIcon>\n ) : null}\n </>\n )\n },\n { name: \"ButtonContent\", className: getClassName(bem(\"button\", \"content\")) },\n)()\n\ninterface ButtonLoadingProps extends HTMLStyledProps<\"svg\"> {}\n\nconst ButtonLoading = component<\"svg\", ButtonLoadingProps>(\n (props) => {\n const { loadingIcon, loadingMessage } = useComponentContext()\n\n const css = useMemo<CSSObject>(\n () => ({\n position: loadingMessage ? \"relative\" : \"absolute\",\n }),\n [loadingMessage],\n )\n\n if (isLoadingScheme(loadingIcon)) {\n const Component = getLoadingComponent(loadingIcon)\n\n return (\n <Component\n color=\"currentColor\"\n {...props}\n css={mergeCSS(css, props.css)}\n />\n )\n }\n\n if (isValidElement<HTMLStyledProps<\"svg\">>(loadingIcon))\n return cloneElement(loadingIcon, {\n ...props,\n ...loadingIcon.props,\n css: mergeCSS(css, props.css, loadingIcon.props.css),\n })\n\n return null\n },\n { name: \"ButtonLoading\", className: getClassName(bem(\"button\", \"loading\")) },\n)()\n\nconst ButtonStartLoading = component<\"svg\", ButtonLoadingProps>(ButtonLoading, {\n name: \"ButtonStartLoading\",\n className: getClassName(bem(\"button\", \"loading\", \"start\")),\n})()\n\nconst ButtonEndLoading = component<\"svg\", ButtonLoadingProps>(ButtonLoading, {\n name: \"ButtonEndLoading\",\n className: getClassName(bem(\"button\", \"loading\", \"end\")),\n})()\n\ninterface ButtonIconProps extends HTMLStyledProps<\"svg\"> {}\n\nconst ButtonIcon = component<\"svg\", ButtonIconProps>(\n ({ children, ...rest }) => {\n if (isValidElement<HTMLProps<\"svg\">>(children))\n return cloneElement(children, {\n \"aria-hidden\": true,\n role: \"img\",\n ...rest,\n ...children.props,\n })\n\n return Children.count(children) > 1 ? Children.only(null) : null\n },\n { name: \"ButtonIcon\", className: getClassName(bem(\"button\", \"icon\")) },\n)()\n\nconst ButtonStartIcon = component<\"svg\", ButtonIconProps>(ButtonIcon, {\n name: \"ButtonStartIcon\",\n className: getClassName(bem(\"button\", \"icon\", \"start\")),\n})()\n\nconst ButtonEndIcon = component<\"svg\", ButtonIconProps>(ButtonIcon, {\n name: \"ButtonEndIcon\",\n className: getClassName(bem(\"button\", \"icon\", \"end\")),\n})()\n"],"mappings":";;;;;;;;;;;;;;;AA8BA,MAAM,iBAAiB,UAAwB;CAC7C,MAAM,aAAA,GAAYA,MAAAA,OAAAA,CAAO,CAAC,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AU,QAAQ,OAAO,CAAC;AACxD,CAAC,CAAC,CAAC;AAEH,MAAM,gBAAgB,UAAkC,YAAY;CAClE,MAAM;CACN,WAAWA,cAAAA,cAAAA,GAAAA,oBAAAA,cAAa,IAAA,CAAI,UAAU,QAAQ,KAAK,CAAC;AACtD,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"button.cjs","names":["useRef","useCallback","createComponent","buttonStyle","useRipple","useMemo","styled","mergeRefs","Ripple","getClassName","isLoadingScheme","getLoadingComponent","mergeCSS","isValidElement","cloneElement","Children"],"sources":["../../../../src/components/button/button.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ElementType, PropsWithChildren, ReactNode } from \"react\"\nimport type {\n CSSObject,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { Loading } from \"../loading\"\nimport type { ButtonStyle } from \"./button.style\"\nimport {\n Children,\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n useRef,\n} from \"react\"\nimport { createComponent, getClassName, mergeCSS, styled } from \"../../core\"\nimport { bem, dataAttr, mergeRefs } from \"../../utils\"\nimport { getLoadingComponent, isLoadingScheme } from \"../loading\"\nimport { Ripple, useRipple } from \"../ripple\"\nimport { buttonStyle } from \"./button.style\"\n\ninterface ComponentContext extends Pick<\n ButtonProps,\n \"endIcon\" | \"iconProps\" | \"loadingIcon\" | \"loadingMessage\" | \"startIcon\"\n> {}\n\nconst useButtonType = (value?: ElementType) => {\n const buttonRef = useRef(!value)\n\n const ref = useCallback((node: HTMLElement | null) => {\n if (node) buttonRef.current = node.tagName === \"BUTTON\"\n }, [])\n\n const type = buttonRef.current ? \"button\" : undefined\n\n return { ref, type } as const\n}\n\nexport interface ButtonProps\n extends HTMLStyledProps<\"button\">, ThemeProps<ButtonStyle> {\n /**\n * If `true`, the button is represented as active.\n *\n * @default false\n */\n active?: boolean\n /**\n * If `true`, the button is disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * If `true`, disable ripple effects when pressing a element.\n *\n * @default false\n */\n disableRipple?: boolean\n /**\n * The icon to display at the end side of the button.\n */\n endIcon?: ReactNode\n /**\n * If `true`, the loading state of the button is represented.\n *\n * @default false\n */\n loading?: boolean\n /**\n * The icon to display when the button is loading.\n *\n * @default 'oval'\n */\n loadingIcon?: Loading.Scheme | ReactNode\n /**\n * The message to display when the button is loading.\n */\n loadingMessage?: ReactNode\n /**\n * The placement of the loading indicator. Accepts `start` or `end`.\n *\n * @default 'start'\n */\n loadingPlacement?: \"end\" | \"start\"\n /**\n * The icon to display at the start side of the button.\n */\n startIcon?: ReactNode\n /**\n * The type of button. Accepts `button`, `reset`, or `submit`.\n *\n * @default 'button'\n */\n type?: HTMLProps<\"button\">[\"type\"]\n /**\n * The props of the icon element.\n */\n iconProps?: ButtonIconProps\n /**\n * The props of the loading icon element.\n */\n loadingProps?: ButtonLoadingProps\n}\n\nconst {\n component,\n ComponentContext,\n PropsContext: ButtonPropsContext,\n useComponentContext,\n usePropsContext: useButtonPropsContext,\n withContext,\n} = createComponent<ButtonProps, ButtonStyle, ComponentContext>(\n \"button\",\n buttonStyle,\n)\n\nexport { ButtonPropsContext, useButtonPropsContext }\n\n/**\n * `Button` is an interactive component that allows users to perform actions such as submitting forms and toggling modals.\n *\n * @see https://yamada-ui.com/docs/components/button\n */\nexport const Button = withContext<\"button\", ButtonProps>(\n ({\n ref,\n as,\n active,\n children,\n disabled,\n disableRipple,\n endIcon = null,\n loading,\n loadingIcon = \"oval\",\n loadingMessage,\n loadingPlacement = \"start\",\n startIcon = null,\n iconProps,\n loadingProps,\n ...rest\n }) => {\n const trulyDisabled = disabled || loading\n const { ref: buttonRef, type } = useButtonType(as)\n const { onClick, ...rippleProps } = useRipple({\n ...rest,\n disabled: disableRipple || trulyDisabled,\n })\n const startLoading = loading && loadingPlacement === \"start\"\n const endLoading = loading && loadingPlacement === \"end\"\n\n const context = useMemo(\n () => ({ endIcon, loadingIcon, loadingMessage, startIcon, iconProps }),\n [loadingIcon, loadingMessage, startIcon, endIcon, iconProps],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.button\n ref={mergeRefs(ref, buttonRef)}\n as={as}\n type={type}\n data-active={dataAttr(active)}\n data-loading={dataAttr(loading)}\n disabled={trulyDisabled}\n {...rest}\n onClick={onClick}\n >\n {startLoading ? <ButtonStartLoading {...loadingProps} /> : null}\n\n {loading ? (\n loadingMessage || (\n <styled.span opacity={0}>\n <ButtonContent>{children}</ButtonContent>\n </styled.span>\n )\n ) : (\n <ButtonContent>{children}</ButtonContent>\n )}\n\n {endLoading ? <ButtonEndLoading {...loadingProps} /> : null}\n\n <Ripple {...rippleProps} />\n </styled.button>\n </ComponentContext>\n )\n },\n)()\n\nconst ButtonContent = component<\"fragment\", PropsWithChildren>(\n ({ children }) => {\n const { endIcon, startIcon, iconProps } = useComponentContext()\n\n return (\n <>\n {startIcon ? (\n <ButtonStartIcon {...iconProps}>{startIcon}</ButtonStartIcon>\n ) : null}\n {children}\n {endIcon ? (\n <ButtonEndIcon {...iconProps}>{endIcon}</ButtonEndIcon>\n ) : null}\n </>\n )\n },\n { name: \"ButtonContent\", className: getClassName(bem(\"button\", \"content\")) },\n)()\n\ninterface ButtonLoadingProps extends HTMLStyledProps<\"svg\"> {}\n\nconst ButtonLoading = component<\"svg\", ButtonLoadingProps>(\n (props) => {\n const { loadingIcon, loadingMessage } = useComponentContext()\n\n const css = useMemo<CSSObject>(\n () => ({\n position: loadingMessage ? \"relative\" : \"absolute\",\n }),\n [loadingMessage],\n )\n\n if (isLoadingScheme(loadingIcon)) {\n const Component = getLoadingComponent(loadingIcon)\n\n return (\n <Component\n color=\"currentColor\"\n {...props}\n css={mergeCSS(css, props.css)}\n />\n )\n }\n\n if (isValidElement<HTMLStyledProps<\"svg\">>(loadingIcon))\n return cloneElement(loadingIcon, {\n ...props,\n ...loadingIcon.props,\n css: mergeCSS(css, props.css, loadingIcon.props.css),\n })\n\n return null\n },\n { name: \"ButtonLoading\", className: getClassName(bem(\"button\", \"loading\")) },\n)()\n\nconst ButtonStartLoading = component<\"svg\", ButtonLoadingProps>(ButtonLoading, {\n name: \"ButtonStartLoading\",\n className: getClassName(bem(\"button\", \"loading\", \"start\")),\n})()\n\nconst ButtonEndLoading = component<\"svg\", ButtonLoadingProps>(ButtonLoading, {\n name: \"ButtonEndLoading\",\n className: getClassName(bem(\"button\", \"loading\", \"end\")),\n})()\n\ninterface ButtonIconProps extends HTMLStyledProps<\"svg\"> {}\n\nconst ButtonIcon = component<\"svg\", ButtonIconProps>(\n ({ children, ...rest }) => {\n if (isValidElement<HTMLProps<\"svg\">>(children))\n return cloneElement(children, {\n \"aria-hidden\": true,\n role: \"img\",\n ...rest,\n ...children.props,\n })\n\n return Children.count(children) > 1 ? Children.only(null) : null\n },\n { name: \"ButtonIcon\", className: getClassName(bem(\"button\", \"icon\")) },\n)()\n\nconst ButtonStartIcon = component<\"svg\", ButtonIconProps>(ButtonIcon, {\n name: \"ButtonStartIcon\",\n className: getClassName(bem(\"button\", \"icon\", \"start\")),\n})()\n\nconst ButtonEndIcon = component<\"svg\", ButtonIconProps>(ButtonIcon, {\n name: \"ButtonEndIcon\",\n className: getClassName(bem(\"button\", \"icon\", \"end\")),\n})()\n"],"mappings":";;;;;;;;;;;;;;AA8BA,MAAM,iBAAiB,UAAwB;CAC7C,MAAM,aAAA,GAAYA,MAAAA,OAAAA,CAAO,CAAC,KAAK;CAQ/B,OAAO;EAAE,MAAA,GANGC,MAAAA,YAAAA,EAAa,SAA6B;GACpD,IAAI,MAAM,UAAU,UAAU,KAAK,YAAY;EACjD,GAAG,CAAC,CAIO;EAAG,MAFD,UAAU,UAAU,WAAW,KAAA;CAEzB;AACrB;AAoEA,MAAM,EACJ,WACA,kBACA,cAAc,oBACd,qBACA,iBAAiB,uBACjB,gBACEC,yBAAAA,gBACF,UACAC,qBAAAA,WACF;;;;;;AASA,MAAa,SAAS,aACnB,EACC,KACA,IACA,QACA,UACA,UACA,eACA,UAAU,MACV,SACA,cAAc,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AAAE,CAC7E,CAAC,CAAC;AAEF,MAAM,qBAAqB,UAAqC,eAAe;CAC7E,MAAM;CACN,WAAWA,cAAAA,cAAAA,GAAAA,oBAAAA,cAAa,IAAA,CAAI,UAAU,WAAW,OAAO,CAAC;AAC3D,CAAC,CAAC,CAAC;AAEH,MAAM,mBAAmB,UAAqC,eAAe;CAC3E,MAAM;CACN,WAAWA,cAAAA,cAAAA,GAAAA,oBAAAA,cAAa,IAAA,CAAI,UAAU,WAAW,KAAK,CAAC;AACzD,CAAC,CAAC,CAAC;AAIH,MAAM,aAAa,WAChB,EAAE,UAAU,GAAG,WAAW;CACzB,KAAA,GAAII,MAAAA,eAAAA,CAAiC,QAAQ,GAC3C,QAAA,GAAOC,MAAAA,aAAAA,CAAa,UAAU;EAC5B,eAAe;EACf,MAAM;EACN,GAAG;EACH,GAAG,SAAS;CACd,CAAC;CAEH,OAAOC,MAAAA,SAAS,MAAM,QAAQ,IAAI,IAAIA,MAAAA,SAAS,KAAK,IAAI,IAAI;AAC9D,GACA;CAAE,MAAM;CAAc,WAAWN,cAAAA,cAAAA,GAAAA,oBAAAA,cAAa,IAAA,CAAI,UAAU,MAAM,CAAC;AAAE,CACvE,CAAC,CAAC;AAEF,MAAM,kBAAkB,UAAkC,YAAY;CACpE,MAAM;CACN,WAAWA,cAAAA,cAAAA,GAAAA,oBAAAA,cAAa,IAAA,CAAI,UAAU,QAAQ,OAAO,CAAC;AACxD,CAAC,CAAC,CAAC;AAEH,MAAM,gBAAgB,UAAkC,YAAY;CAClE,MAAM;CACN,WAAWA,cAAAA,cAAAA,GAAAA,oBAAAA,cAAa,IAAA,CAAI,UAAU,QAAQ,KAAK,CAAC;AACtD,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.cjs","names":["createSlotComponent","calendarStyle","useCalendar","useMemo","CalendarDescendantsContext","CalendarContext","styled","mergeProps","useCalendarContext","ChevronLeftIcon","ChevronRightIcon","resetFieldProps","useCalendarDay"],"sources":["../../../../src/components/calendar/calendar.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement } from \"react\"\nimport type { GenericsComponent, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport type { CalendarStyle } from \"./calendar.style\"\nimport type {\n UseCalendarDayProps,\n UseCalendarProps,\n UseCalendarReturn,\n} from \"./use-calendar\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport { runIfFn } from \"../../utils\"\nimport { resetFieldProps } from \"../field\"\nimport { ChevronLeftIcon, ChevronRightIcon } from \"../icon\"\nimport { Select } from \"../select\"\nimport { calendarStyle } from \"./calendar.style\"\nimport {\n CalendarContext,\n CalendarDescendantsContext,\n useCalendar,\n useCalendarContext,\n useCalendarDay,\n} from \"./use-calendar\"\n\ninterface ComponentContext\n extends\n Pick<\n UseCalendarReturn,\n | \"getMonthProps\"\n | \"getMonthSelectProps\"\n | \"getNavigationProps\"\n | \"getNextButtonProps\"\n | \"getPrevButtonProps\"\n | \"getStatusProps\"\n | \"getWeekdayProps\"\n | \"getYearSelectProps\"\n | \"monthDays\"\n | \"monthItems\"\n | \"weekdays\"\n | \"yearItems\"\n >,\n Pick<\n CalendarRootProps,\n | \"buttonProps\"\n | \"controlProps\"\n | \"day\"\n | \"dayProps\"\n | \"monthProps\"\n | \"monthSelectProps\"\n | \"navigationProps\"\n | \"nextButtonProps\"\n | \"prevButtonProps\"\n | \"selectProps\"\n | \"weekdayProps\"\n | \"weekdaysProps\"\n | \"weekProps\"\n | \"weeksProps\"\n | \"yearSelectProps\"\n > {}\n\nexport interface CalendarRootProps<\n Multiple extends boolean = false,\n Range extends boolean = false,\n>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"onChange\">,\n ThemeProps<CalendarStyle>,\n UseCalendarProps<Multiple, Range>,\n Pick<CalendarMonthProps, \"day\"> {\n /**\n * Props for the button component.\n */\n buttonProps?: HTMLStyledProps<\"button\">\n /**\n * Props for the control component.\n */\n controlProps?: CalendarControlProps\n /**\n * Props for the day component.\n */\n dayProps?: Omit<CalendarDayProps, \"value\">\n /**\n * Props for the month component.\n */\n monthProps?: CalendarMonthProps\n /**\n * Props for the month select component.\n */\n monthSelectProps?: CalendarMonthSelectProps\n /**\n * Props for the navigation component.\n */\n navigationProps?: Omit<CalendarNavigationProps, \"children\">\n /**\n * Props for the next button component.\n */\n nextButtonProps?: CalendarNextButtonProps\n /**\n * Props for the prev button component.\n */\n prevButtonProps?: CalendarPrevButtonProps\n /**\n * Props for the select component.\n */\n selectProps?: Select.RootProps\n /**\n * Props for the weekday component.\n */\n weekdayProps?: HTMLStyledProps<\"th\">\n /**\n * Props for the weekdays component.\n */\n weekdaysProps?: HTMLStyledProps<\"tr\">\n /**\n * Props for the week component.\n */\n weekProps?: HTMLStyledProps<\"tr\">\n /**\n * Props for the weeks component.\n */\n weeksProps?: HTMLStyledProps<\"tbody\">\n /**\n * Props for the year select component.\n */\n yearSelectProps?: CalendarYearSelectProps\n}\n\nconst {\n ComponentContext,\n PropsContext: CalendarPropsContext,\n useComponentContext,\n usePropsContext: useCalendarPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<CalendarRootProps, CalendarStyle, ComponentContext>(\n \"calendar\",\n calendarStyle,\n)\n\nexport { CalendarPropsContext, useCalendarPropsContext }\n\n/**\n * `Calendar` is a component for displaying or selecting dates in a calendar.\n *\n * @see https://yamada-ui.com/docs/components/calendar\n */\nexport const CalendarRoot = withProvider(\n <Multiple extends boolean = false, Range extends boolean = false>({\n children,\n day,\n buttonProps,\n controlProps,\n dayProps,\n monthProps,\n monthSelectProps,\n navigationProps,\n nextButtonProps,\n prevButtonProps,\n selectProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n yearSelectProps,\n ...props\n }: CalendarRootProps<Multiple, Range>) => {\n const {\n descendants,\n disabled,\n endOfMonth,\n excludeDate,\n holidays,\n locale,\n max,\n maxDate,\n minDate,\n month,\n monthDays,\n monthItems,\n multiple,\n range,\n startDayOfWeek,\n startOfMonth,\n today,\n value,\n weekdays,\n weekendDays,\n yearItems,\n getMonthProps,\n getMonthSelectProps,\n getNavigationProps,\n getNextButtonProps,\n getPrevButtonProps,\n getRootProps,\n getStatusProps,\n getWeekdayProps,\n getYearSelectProps,\n onChange,\n onMonthChange,\n onNextMonth,\n onPrevMonth,\n } = useCalendar(props)\n const calendarContext = useMemo(\n () => ({\n disabled,\n endOfMonth,\n excludeDate,\n holidays,\n locale,\n max,\n maxDate,\n minDate,\n month,\n multiple,\n range,\n startDayOfWeek,\n startOfMonth,\n today,\n value,\n weekendDays,\n onChange,\n onMonthChange,\n onNextMonth,\n onPrevMonth,\n }),\n [\n disabled,\n endOfMonth,\n excludeDate,\n holidays,\n locale,\n max,\n maxDate,\n minDate,\n month,\n multiple,\n range,\n startDayOfWeek,\n startOfMonth,\n today,\n value,\n weekendDays,\n onChange,\n onMonthChange,\n onNextMonth,\n onPrevMonth,\n ],\n )\n const componentContext = useMemo(\n () => ({\n day,\n monthDays,\n monthItems,\n weekdays,\n yearItems,\n buttonProps,\n controlProps,\n dayProps,\n getMonthProps,\n getMonthSelectProps,\n getNavigationProps,\n getNextButtonProps,\n getPrevButtonProps,\n getStatusProps,\n getWeekdayProps,\n getYearSelectProps,\n monthProps,\n monthSelectProps,\n navigationProps,\n nextButtonProps,\n prevButtonProps,\n selectProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n yearSelectProps,\n }),\n [\n day,\n monthDays,\n monthItems,\n weekdays,\n yearItems,\n buttonProps,\n controlProps,\n dayProps,\n getMonthProps,\n getMonthSelectProps,\n getNavigationProps,\n getNextButtonProps,\n getPrevButtonProps,\n getStatusProps,\n getWeekdayProps,\n getYearSelectProps,\n monthProps,\n monthSelectProps,\n navigationProps,\n nextButtonProps,\n prevButtonProps,\n selectProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n yearSelectProps,\n ],\n )\n\n return (\n <CalendarDescendantsContext value={descendants}>\n <CalendarContext value={calendarContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>\n {children ?? (\n <>\n <CalendarNavigation />\n <CalendarMonth />\n </>\n )}\n </styled.div>\n </ComponentContext>\n </CalendarContext>\n </CalendarDescendantsContext>\n )\n },\n \"root\",\n)() as GenericsComponent<{\n <Multiple extends boolean = false, Range extends boolean = false>(\n props: CalendarRootProps<Multiple, Range>,\n ): ReactElement\n}>\n\nexport interface CalendarNavigationProps extends HTMLStyledProps {}\n\nexport const CalendarNavigation = withContext<\"div\", CalendarNavigationProps>(\n \"div\",\n [\"row\", \"navigation\"],\n)(undefined, ({ children, ...rest }) => {\n const { getNavigationProps, navigationProps } = useComponentContext()\n\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <>\n <CalendarPrevButton />\n <CalendarControl />\n <CalendarNextButton />\n </>\n )\n }, [children])\n\n return {\n ...getNavigationProps(mergeProps(navigationProps, rest)()),\n children: computedChildren,\n }\n})\n\nexport interface CalendarControlProps extends Omit<\n HTMLStyledProps,\n \"children\"\n> {\n /**\n * The control children to use.\n */\n children?: ReactNodeOrFunction<{ month: Date }>\n}\n\nexport const CalendarControl = withContext<\"div\", CalendarControlProps>(\n \"div\",\n \"control\",\n)(undefined, ({ children, ...rest }) => {\n const { month } = useCalendarContext()\n const { controlProps, getStatusProps } = useComponentContext()\n\n const computedChildren = useMemo(() => {\n if (children) return runIfFn(children, { month })\n\n return (\n <>\n <CalendarMonthSelect />\n <CalendarYearSelect />\n </>\n )\n }, [children, month])\n\n return {\n ...mergeProps(controlProps, rest)(),\n children: (\n <>\n {computedChildren}\n <styled.div {...getStatusProps()} />\n </>\n ),\n }\n})\n\nexport interface CalendarPrevButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const CalendarPrevButton = withContext<\n \"button\",\n CalendarPrevButtonProps\n>(\"button\", [\"button\", \"prev\"])(\n undefined,\n ({ children = <ChevronLeftIcon />, ...rest }) => {\n const { buttonProps, getPrevButtonProps, prevButtonProps } =\n useComponentContext()\n\n return {\n children,\n ...getPrevButtonProps(mergeProps(buttonProps, prevButtonProps, rest)()),\n }\n },\n)\n\nexport interface CalendarNextButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const CalendarNextButton = withContext<\n \"button\",\n CalendarNextButtonProps\n>(\"button\", [\"button\", \"next\"])(\n undefined,\n ({ children = <ChevronRightIcon />, ...rest }) => {\n const { buttonProps, getNextButtonProps, nextButtonProps } =\n useComponentContext()\n\n return {\n children,\n ...getNextButtonProps(mergeProps(buttonProps, nextButtonProps, rest)()),\n }\n },\n)\n\nexport interface CalendarSeparatorProps extends HTMLStyledProps<\"span\"> {}\n\nexport const CalendarSeparator = withContext<\"span\", CalendarSeparatorProps>(\n \"span\",\n \"separator\",\n)({ children: \"/\", role: \"separator\" })\n\nexport interface CalendarYearSelectProps extends Select.RootProps {}\n\nexport const CalendarYearSelect = withContext<\"div\", CalendarYearSelectProps>(\n (props) => {\n const { yearItems, getYearSelectProps, selectProps, yearSelectProps } =\n useComponentContext()\n const { contentProps, rootProps, ...rest } = mergeProps(\n selectProps,\n yearSelectProps,\n props,\n )()\n\n return (\n <Select.Root\n variant=\"plain\"\n items={yearItems}\n minH=\"{cell-size}\"\n contentProps={{ minW: \"{select-content-size}\", ...contentProps }}\n rootProps={{\n fontSize: \"{select-font-size}\",\n w: \"{select-root-size}\",\n ...rootProps,\n }}\n {...resetFieldProps}\n {...getYearSelectProps(rest)}\n />\n )\n },\n [\"select\", \"years\"],\n)()\n\nexport interface CalendarMonthSelectProps extends Select.RootProps {}\n\nexport const CalendarMonthSelect = withContext<\"div\", CalendarMonthSelectProps>(\n (props) => {\n const { monthItems, getMonthSelectProps, monthSelectProps, selectProps } =\n useComponentContext()\n const { contentProps, rootProps, ...rest } = mergeProps(\n selectProps,\n monthSelectProps,\n props,\n )()\n\n return (\n <Select.Root\n variant=\"plain\"\n items={monthItems}\n minH=\"{cell-size}\"\n contentProps={{ minW: \"{select-content-size}\", ...contentProps }}\n rootProps={{\n fontSize: \"{select-font-size}\",\n w: \"{select-root-size}\",\n ...rootProps,\n }}\n {...resetFieldProps}\n {...getMonthSelectProps(rest)}\n />\n )\n },\n [\"select\", \"months\"],\n)()\n\nexport interface CalendarMonthProps extends Omit<\n HTMLStyledProps<\"table\">,\n \"children\"\n> {\n /**\n * The day component to use.\n */\n day?: ReactNodeOrFunction<{ value: Date }>\n}\n\nexport const CalendarMonth = withContext<\"table\", CalendarMonthProps>(\n \"table\",\n \"month\",\n)(undefined, ({ day: dayProp, ...rest }) => {\n const {\n day,\n monthDays,\n weekdays,\n dayProps,\n getMonthProps,\n getWeekdayProps,\n monthProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n } = useComponentContext()\n\n dayProp ??= day\n\n const children = (\n <>\n <styled.thead aria-hidden>\n <CalendarWeekDays {...weekdaysProps}>\n {weekdays.map(({ label, value }, index) => (\n <CalendarWeekday\n key={index}\n {...getWeekdayProps({ ...weekdayProps, value })}\n >\n {label}\n </CalendarWeekday>\n ))}\n </CalendarWeekDays>\n </styled.thead>\n\n <CalendarWeeks {...weeksProps}>\n {monthDays.map((week, index) => (\n <CalendarWeek key={index} {...weekProps}>\n {week.map(({ label, value }) => (\n <CalendarDay\n key={value.toDateString()}\n {...{ ...dayProps, value }}\n >\n {runIfFn(dayProp, { value }) ?? (\n <styled.span>{label}</styled.span>\n )}\n </CalendarDay>\n ))}\n </CalendarWeek>\n ))}\n </CalendarWeeks>\n </>\n )\n\n return {\n ...getMonthProps(mergeProps(monthProps, rest)()),\n children,\n }\n})\n\nconst CalendarWeekDays = withContext(\"tr\", [\"row\", \"weekdays\"])()\n\nconst CalendarWeekday = withContext(\"th\", [\"cell\", \"weekday\"])()\n\nconst CalendarWeeks = withContext(\"tbody\", \"weeks\")()\n\nconst CalendarWeek = withContext(\"tr\", [\"row\", \"week\"])()\n\ninterface CalendarDayProps\n extends Omit<HTMLStyledProps<\"td\">, \"value\">, UseCalendarDayProps {}\n\nconst CalendarDay = withContext<\"td\", CalendarDayProps>(\"td\", [\"cell\", \"day\"])(\n undefined,\n (props) => {\n const { getDayProps } = useCalendarDay(props)\n\n return getDayProps()\n },\n)\n"],"mappings":";;;;;;;;;;;;;;;AAiIA,MAAM,EACJ,kBACA,cAAc,sBACd,qBACA,iBAAiB,yBACjB,aACA,iBACEA,yBAAAA,oBACF,YACAC,uBAAAA,aACF;;;;;;AASA,MAAa,eAAe,cACwC,EAChE,UACA,KACA,aACA,cACA,UACA,YACA,kBACA,iBACA,iBACA,iBACA,aACA,cACA,eACA,WACA,YACA,iBACA,GAAG,YACqC;CACxC,MAAM,EACJ,aACA,UACA,YACA,aACA,UACA,QACA,KACA,SACA,SACA,OACA,WACA,YACA,UACA,OACA,gBACA,cACA,OACA,OACA,UACA,aACA,WACA,eACA,qBACA,oBACA,oBACA,oBACA,cACA,gBACA,iBACA,oBACA,UACA,eACA,aACA,gBACEC,qBAAAA,YAAY,KAAK;CACrB,MAAM,mBAAA,GAAkBC,MAAAA,QAAAA,QACf;EACL;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;CACF,CACF;CACA,MAAM,oBAAA,GAAmBA,MAAAA,QAAAA,QAChB;EACL;EACA;EACA;EACA;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;EACA;EACA;EACA;CACF,CACF;CAEA,OACE,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AC,CAAC,CAAC;AAE/D,MAAM,gBAAgB,YAAY,SAAS,OAAO,CAAC,CAAC;AAEpD,MAAM,eAAe,YAAY,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAKxD,MAAM,cAAc,YAAoC,MAAM,CAAC,QAAQ,KAAK,CAAC,CAAC,CAC5E,KAAA,IACC,UAAU;CACT,MAAM,EAAE,gBAAgBK,qBAAAA,eAAe,KAAK;CAE5C,OAAO,YAAY;AACrB,CACF"}
|
|
1
|
+
{"version":3,"file":"calendar.cjs","names":["createSlotComponent","calendarStyle","useCalendar","useMemo","CalendarDescendantsContext","CalendarContext","styled","mergeProps","useCalendarContext","ChevronLeftIcon","ChevronRightIcon","resetFieldProps","useCalendarDay"],"sources":["../../../../src/components/calendar/calendar.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement } from \"react\"\nimport type { GenericsComponent, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport type { CalendarStyle } from \"./calendar.style\"\nimport type {\n UseCalendarDayProps,\n UseCalendarProps,\n UseCalendarReturn,\n} from \"./use-calendar\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport { runIfFn } from \"../../utils\"\nimport { resetFieldProps } from \"../field\"\nimport { ChevronLeftIcon, ChevronRightIcon } from \"../icon\"\nimport { Select } from \"../select\"\nimport { calendarStyle } from \"./calendar.style\"\nimport {\n CalendarContext,\n CalendarDescendantsContext,\n useCalendar,\n useCalendarContext,\n useCalendarDay,\n} from \"./use-calendar\"\n\ninterface ComponentContext\n extends\n Pick<\n UseCalendarReturn,\n | \"getMonthProps\"\n | \"getMonthSelectProps\"\n | \"getNavigationProps\"\n | \"getNextButtonProps\"\n | \"getPrevButtonProps\"\n | \"getStatusProps\"\n | \"getWeekdayProps\"\n | \"getYearSelectProps\"\n | \"monthDays\"\n | \"monthItems\"\n | \"weekdays\"\n | \"yearItems\"\n >,\n Pick<\n CalendarRootProps,\n | \"buttonProps\"\n | \"controlProps\"\n | \"day\"\n | \"dayProps\"\n | \"monthProps\"\n | \"monthSelectProps\"\n | \"navigationProps\"\n | \"nextButtonProps\"\n | \"prevButtonProps\"\n | \"selectProps\"\n | \"weekdayProps\"\n | \"weekdaysProps\"\n | \"weekProps\"\n | \"weeksProps\"\n | \"yearSelectProps\"\n > {}\n\nexport interface CalendarRootProps<\n Multiple extends boolean = false,\n Range extends boolean = false,\n>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"onChange\">,\n ThemeProps<CalendarStyle>,\n UseCalendarProps<Multiple, Range>,\n Pick<CalendarMonthProps, \"day\"> {\n /**\n * Props for the button component.\n */\n buttonProps?: HTMLStyledProps<\"button\">\n /**\n * Props for the control component.\n */\n controlProps?: CalendarControlProps\n /**\n * Props for the day component.\n */\n dayProps?: Omit<CalendarDayProps, \"value\">\n /**\n * Props for the month component.\n */\n monthProps?: CalendarMonthProps\n /**\n * Props for the month select component.\n */\n monthSelectProps?: CalendarMonthSelectProps\n /**\n * Props for the navigation component.\n */\n navigationProps?: Omit<CalendarNavigationProps, \"children\">\n /**\n * Props for the next button component.\n */\n nextButtonProps?: CalendarNextButtonProps\n /**\n * Props for the prev button component.\n */\n prevButtonProps?: CalendarPrevButtonProps\n /**\n * Props for the select component.\n */\n selectProps?: Select.RootProps\n /**\n * Props for the weekday component.\n */\n weekdayProps?: HTMLStyledProps<\"th\">\n /**\n * Props for the weekdays component.\n */\n weekdaysProps?: HTMLStyledProps<\"tr\">\n /**\n * Props for the week component.\n */\n weekProps?: HTMLStyledProps<\"tr\">\n /**\n * Props for the weeks component.\n */\n weeksProps?: HTMLStyledProps<\"tbody\">\n /**\n * Props for the year select component.\n */\n yearSelectProps?: CalendarYearSelectProps\n}\n\nconst {\n ComponentContext,\n PropsContext: CalendarPropsContext,\n useComponentContext,\n usePropsContext: useCalendarPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<CalendarRootProps, CalendarStyle, ComponentContext>(\n \"calendar\",\n calendarStyle,\n)\n\nexport { CalendarPropsContext, useCalendarPropsContext }\n\n/**\n * `Calendar` is a component for displaying or selecting dates in a calendar.\n *\n * @see https://yamada-ui.com/docs/components/calendar\n */\nexport const CalendarRoot = withProvider(\n <Multiple extends boolean = false, Range extends boolean = false>({\n children,\n day,\n buttonProps,\n controlProps,\n dayProps,\n monthProps,\n monthSelectProps,\n navigationProps,\n nextButtonProps,\n prevButtonProps,\n selectProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n yearSelectProps,\n ...props\n }: CalendarRootProps<Multiple, Range>) => {\n const {\n descendants,\n disabled,\n endOfMonth,\n excludeDate,\n holidays,\n locale,\n max,\n maxDate,\n minDate,\n month,\n monthDays,\n monthItems,\n multiple,\n range,\n startDayOfWeek,\n startOfMonth,\n today,\n value,\n weekdays,\n weekendDays,\n yearItems,\n getMonthProps,\n getMonthSelectProps,\n getNavigationProps,\n getNextButtonProps,\n getPrevButtonProps,\n getRootProps,\n getStatusProps,\n getWeekdayProps,\n getYearSelectProps,\n onChange,\n onMonthChange,\n onNextMonth,\n onPrevMonth,\n } = useCalendar(props)\n const calendarContext = useMemo(\n () => ({\n disabled,\n endOfMonth,\n excludeDate,\n holidays,\n locale,\n max,\n maxDate,\n minDate,\n month,\n multiple,\n range,\n startDayOfWeek,\n startOfMonth,\n today,\n value,\n weekendDays,\n onChange,\n onMonthChange,\n onNextMonth,\n onPrevMonth,\n }),\n [\n disabled,\n endOfMonth,\n excludeDate,\n holidays,\n locale,\n max,\n maxDate,\n minDate,\n month,\n multiple,\n range,\n startDayOfWeek,\n startOfMonth,\n today,\n value,\n weekendDays,\n onChange,\n onMonthChange,\n onNextMonth,\n onPrevMonth,\n ],\n )\n const componentContext = useMemo(\n () => ({\n day,\n monthDays,\n monthItems,\n weekdays,\n yearItems,\n buttonProps,\n controlProps,\n dayProps,\n getMonthProps,\n getMonthSelectProps,\n getNavigationProps,\n getNextButtonProps,\n getPrevButtonProps,\n getStatusProps,\n getWeekdayProps,\n getYearSelectProps,\n monthProps,\n monthSelectProps,\n navigationProps,\n nextButtonProps,\n prevButtonProps,\n selectProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n yearSelectProps,\n }),\n [\n day,\n monthDays,\n monthItems,\n weekdays,\n yearItems,\n buttonProps,\n controlProps,\n dayProps,\n getMonthProps,\n getMonthSelectProps,\n getNavigationProps,\n getNextButtonProps,\n getPrevButtonProps,\n getStatusProps,\n getWeekdayProps,\n getYearSelectProps,\n monthProps,\n monthSelectProps,\n navigationProps,\n nextButtonProps,\n prevButtonProps,\n selectProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n yearSelectProps,\n ],\n )\n\n return (\n <CalendarDescendantsContext value={descendants}>\n <CalendarContext value={calendarContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>\n {children ?? (\n <>\n <CalendarNavigation />\n <CalendarMonth />\n </>\n )}\n </styled.div>\n </ComponentContext>\n </CalendarContext>\n </CalendarDescendantsContext>\n )\n },\n \"root\",\n)() as GenericsComponent<{\n <Multiple extends boolean = false, Range extends boolean = false>(\n props: CalendarRootProps<Multiple, Range>,\n ): ReactElement\n}>\n\nexport interface CalendarNavigationProps extends HTMLStyledProps {}\n\nexport const CalendarNavigation = withContext<\"div\", CalendarNavigationProps>(\n \"div\",\n [\"row\", \"navigation\"],\n)(undefined, ({ children, ...rest }) => {\n const { getNavigationProps, navigationProps } = useComponentContext()\n\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <>\n <CalendarPrevButton />\n <CalendarControl />\n <CalendarNextButton />\n </>\n )\n }, [children])\n\n return {\n ...getNavigationProps(mergeProps(navigationProps, rest)()),\n children: computedChildren,\n }\n})\n\nexport interface CalendarControlProps extends Omit<\n HTMLStyledProps,\n \"children\"\n> {\n /**\n * The control children to use.\n */\n children?: ReactNodeOrFunction<{ month: Date }>\n}\n\nexport const CalendarControl = withContext<\"div\", CalendarControlProps>(\n \"div\",\n \"control\",\n)(undefined, ({ children, ...rest }) => {\n const { month } = useCalendarContext()\n const { controlProps, getStatusProps } = useComponentContext()\n\n const computedChildren = useMemo(() => {\n if (children) return runIfFn(children, { month })\n\n return (\n <>\n <CalendarMonthSelect />\n <CalendarYearSelect />\n </>\n )\n }, [children, month])\n\n return {\n ...mergeProps(controlProps, rest)(),\n children: (\n <>\n {computedChildren}\n <styled.div {...getStatusProps()} />\n </>\n ),\n }\n})\n\nexport interface CalendarPrevButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const CalendarPrevButton = withContext<\n \"button\",\n CalendarPrevButtonProps\n>(\"button\", [\"button\", \"prev\"])(\n undefined,\n ({ children = <ChevronLeftIcon />, ...rest }) => {\n const { buttonProps, getPrevButtonProps, prevButtonProps } =\n useComponentContext()\n\n return {\n children,\n ...getPrevButtonProps(mergeProps(buttonProps, prevButtonProps, rest)()),\n }\n },\n)\n\nexport interface CalendarNextButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const CalendarNextButton = withContext<\n \"button\",\n CalendarNextButtonProps\n>(\"button\", [\"button\", \"next\"])(\n undefined,\n ({ children = <ChevronRightIcon />, ...rest }) => {\n const { buttonProps, getNextButtonProps, nextButtonProps } =\n useComponentContext()\n\n return {\n children,\n ...getNextButtonProps(mergeProps(buttonProps, nextButtonProps, rest)()),\n }\n },\n)\n\nexport interface CalendarSeparatorProps extends HTMLStyledProps<\"span\"> {}\n\nexport const CalendarSeparator = withContext<\"span\", CalendarSeparatorProps>(\n \"span\",\n \"separator\",\n)({ children: \"/\", role: \"separator\" })\n\nexport interface CalendarYearSelectProps extends Select.RootProps {}\n\nexport const CalendarYearSelect = withContext<\"div\", CalendarYearSelectProps>(\n (props) => {\n const { yearItems, getYearSelectProps, selectProps, yearSelectProps } =\n useComponentContext()\n const { contentProps, rootProps, ...rest } = mergeProps(\n selectProps,\n yearSelectProps,\n props,\n )()\n\n return (\n <Select.Root\n variant=\"plain\"\n items={yearItems}\n minH=\"{cell-size}\"\n contentProps={{ minW: \"{select-content-size}\", ...contentProps }}\n rootProps={{\n fontSize: \"{select-font-size}\",\n w: \"{select-root-size}\",\n ...rootProps,\n }}\n {...resetFieldProps}\n {...getYearSelectProps(rest)}\n />\n )\n },\n [\"select\", \"years\"],\n)()\n\nexport interface CalendarMonthSelectProps extends Select.RootProps {}\n\nexport const CalendarMonthSelect = withContext<\"div\", CalendarMonthSelectProps>(\n (props) => {\n const { monthItems, getMonthSelectProps, monthSelectProps, selectProps } =\n useComponentContext()\n const { contentProps, rootProps, ...rest } = mergeProps(\n selectProps,\n monthSelectProps,\n props,\n )()\n\n return (\n <Select.Root\n variant=\"plain\"\n items={monthItems}\n minH=\"{cell-size}\"\n contentProps={{ minW: \"{select-content-size}\", ...contentProps }}\n rootProps={{\n fontSize: \"{select-font-size}\",\n w: \"{select-root-size}\",\n ...rootProps,\n }}\n {...resetFieldProps}\n {...getMonthSelectProps(rest)}\n />\n )\n },\n [\"select\", \"months\"],\n)()\n\nexport interface CalendarMonthProps extends Omit<\n HTMLStyledProps<\"table\">,\n \"children\"\n> {\n /**\n * The day component to use.\n */\n day?: ReactNodeOrFunction<{ value: Date }>\n}\n\nexport const CalendarMonth = withContext<\"table\", CalendarMonthProps>(\n \"table\",\n \"month\",\n)(undefined, ({ day: dayProp, ...rest }) => {\n const {\n day,\n monthDays,\n weekdays,\n dayProps,\n getMonthProps,\n getWeekdayProps,\n monthProps,\n weekdayProps,\n weekdaysProps,\n weekProps,\n weeksProps,\n } = useComponentContext()\n\n dayProp ??= day\n\n const children = (\n <>\n <styled.thead aria-hidden>\n <CalendarWeekDays {...weekdaysProps}>\n {weekdays.map(({ label, value }, index) => (\n <CalendarWeekday\n key={index}\n {...getWeekdayProps({ ...weekdayProps, value })}\n >\n {label}\n </CalendarWeekday>\n ))}\n </CalendarWeekDays>\n </styled.thead>\n\n <CalendarWeeks {...weeksProps}>\n {monthDays.map((week, index) => (\n <CalendarWeek key={index} {...weekProps}>\n {week.map(({ label, value }) => (\n <CalendarDay\n key={value.toDateString()}\n {...{ ...dayProps, value }}\n >\n {runIfFn(dayProp, { value }) ?? (\n <styled.span>{label}</styled.span>\n )}\n </CalendarDay>\n ))}\n </CalendarWeek>\n ))}\n </CalendarWeeks>\n </>\n )\n\n return {\n ...getMonthProps(mergeProps(monthProps, rest)()),\n children,\n }\n})\n\nconst CalendarWeekDays = withContext(\"tr\", [\"row\", \"weekdays\"])()\n\nconst CalendarWeekday = withContext(\"th\", [\"cell\", \"weekday\"])()\n\nconst CalendarWeeks = withContext(\"tbody\", \"weeks\")()\n\nconst CalendarWeek = withContext(\"tr\", [\"row\", \"week\"])()\n\ninterface CalendarDayProps\n extends Omit<HTMLStyledProps<\"td\">, \"value\">, UseCalendarDayProps {}\n\nconst CalendarDay = withContext<\"td\", CalendarDayProps>(\"td\", [\"cell\", \"day\"])(\n undefined,\n (props) => {\n const { getDayProps } = useCalendarDay(props)\n\n return getDayProps()\n },\n)\n"],"mappings":";;;;;;;;;;;;;;AAiIA,MAAM,EACJ,kBACA,cAAc,sBACd,qBACA,iBAAiB,yBACjB,aACA,iBACEA,yBAAAA,oBACF,YACAC,uBAAAA,aACF;;;;;;AASA,MAAa,eAAe,cACwC,EAChE,UACA,KACA,aACA,cACA,UACA,YACA,kBACA,iBACA,iBACA,iBACA,aACA,cACA,eACA,WACA,YACA,iBACA,GAAG,YACqC;CACxC,MAAM,EACJ,aACA,UACA,YACA,aACA,UACA,QACA,KACA,SACA,SACA,OACA,WACA,YACA,UACA,OACA,gBACA,cACA,OACA,OACA,UACA,aACA,WACA,eACA,qBACA,oBACA,oBACA,oBACA,cACA,gBACA,iBACA,oBACA,UACA,eACA,aACA,gBACEC,qBAAAA,YAAY,KAAK;CACrB,MAAM,mBAAA,GAAkBC,MAAAA,QAAAA,QACf;EACL;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;CACF,CACF;CACA,MAAM,oBAAA,GAAmBA,MAAAA,QAAAA,QAChB;EACL;EACA;EACA;EACA;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;EACA;EACA;EACA;CACF,CACF;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,4BAAD;EAA4B,OAAO;EACjC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,iBAAD;GAAiB,OAAO;GACtB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAD;IAAkB,OAAO;IACvB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,gBAAAA,OAAO,KAAR;KAAY,GAAI,aAAa;KAC1B,UAAA,YACC,iBAAA,GAAA,kBAAA,KAAA,CAAA,kBAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,oBAAD,CAAqB,CAAA,GACrB,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD,CAAgB,CAAA,CAChB,EAAA,CAAA;IAEM,CAAA;GACI,CAAA;EACH,CAAA;CACS,CAAA;AAEhC,GACA,MACF,CAAC,CAAC;AAQF,MAAa,qBAAqB,YAChC,OACA,CAAC,OAAO,YAAY,CACtB,CAAC,CAAC,KAAA,IAAY,EAAE,UAAU,GAAG,WAAW;CACtC,MAAM,EAAE,oBAAoB,oBAAoB,oBAAoB;CAEpE,MAAM,oBAAA,GAAmBH,MAAAA,QAAAA,OAAc;EACrC,IAAI,UAAU,OAAO;E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,GAAA,oBAAA,cAAA,QAAA,CAAQ,SAAS,EAAE,MAAM,CAAC,KACzB,iBAAA,GAAA,kBAAA,IAAA,CAACA,gBAAAA,OAAO,MAAR,EAAA,UAAc,MAAmB,CAAA;GAExB,GANN,MAAM,aAAa,CAMb,CACd;EACW,GAXK,KAWL,CACf;CACY,CAAA,CACf,EAAA,CAAA;CAGJ,OAAO;EACL,GAAG,cAAcC,cAAAA,WAAW,YAAY,IAAI,CAAC,CAAC,CAAC;EAC/C;CACF;AACF,CAAC;AAED,MAAM,mBAAmB,YAAY,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC;AAEhE,MAAM,kBAAkB,YAAY,MAAM,CAAC,QAAQ,SAAS,CAAC,CAAC,CAAC;AAE/D,MAAM,gBAAgB,YAAY,SAAS,OAAO,CAAC,CAAC;AAEpD,MAAM,eAAe,YAAY,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAKxD,MAAM,cAAc,YAAoC,MAAM,CAAC,QAAQ,KAAK,CAAC,CAAC,CAC5E,KAAA,IACC,UAAU;CACT,MAAM,EAAE,gBAAgBK,qBAAAA,eAAe,KAAK;CAE5C,OAAO,YAAY;AACrB,CACF"}
|
|
@@ -85,10 +85,11 @@ const sortDates = (dates, type = "asc") => {
|
|
|
85
85
|
else return dates.sort((a, b) => (0, dayjs.default)(a).isBefore(b, "date") ? 1 : -1);
|
|
86
86
|
};
|
|
87
87
|
const updateMaybeDateValue = (value, max) => (prev) => {
|
|
88
|
-
if ((0, require_utils_index.utils_exports.isArray)(prev))
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
if ((0, require_utils_index.utils_exports.isArray)(prev)) {
|
|
89
|
+
if (isIncludeDates(value, prev)) return prev.filter((prevValue) => !isSameDate(prevValue, value));
|
|
90
|
+
else if (!(0, require_utils_index.utils_exports.isNumber)(max) || prev.length < max) return [...prev, value];
|
|
91
|
+
else return prev;
|
|
92
|
+
} else if ((0, require_utils_index.utils_exports.isObject)(prev) && !(0, require_utils_index.utils_exports.isDate)(prev)) {
|
|
92
93
|
const { end, start } = prev;
|
|
93
94
|
if (start && end || !start) return {
|
|
94
95
|
end: void 0,
|