@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":"z-stack.cjs","names":["createComponent","zStackStyle","useRef","useState","useCallback","useMemo","getValidChildren","createRef","mergeRefs","mergeCSS","cloneElement","Fragment","styled","useInjectVarsIntoCss","useInjectVarsIntoProps"],"sources":["../../../../src/components/stack/z-stack.tsx"],"sourcesContent":["\"use client\"\n\nimport type { RefObject } from \"react\"\nimport type {\n CSSObject,\n Direction,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { ZStackStyle } from \"./z-stack.style\"\nimport {\n cloneElement,\n createRef,\n Fragment,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\"\nimport {\n createComponent,\n mergeCSS,\n styled,\n useInjectVarsIntoCss,\n useInjectVarsIntoProps,\n} from \"../../core\"\nimport { getValidChildren, mergeRefs } from \"../../utils\"\nimport { zStackStyle } from \"./z-stack.style\"\n\nexport interface ZStackProps\n extends Omit<HTMLStyledProps, \"direction\">, ThemeProps<ZStackStyle> {\n /**\n * Stack in the specified direction.\n *\n * @default 'end'\n */\n direction?: Direction\n /**\n * If `true`, calculate the `width` and `height` of the element and assign container.\n *\n * @default true\n */\n fit?: boolean\n /**\n * If `true`, reverse direction.\n *\n * @default false\n */\n reverse?: boolean\n /**\n * If set the stack will start from the given index.\n *\n * @default 0\n */\n startIndex?: number\n}\n\nconst {\n PropsContext: ZStackPropsContext,\n usePropsContext: useZStackPropsContext,\n withContext,\n} = createComponent<ZStackProps, ZStackStyle>(\"stack--depth\", zStackStyle)\n\nexport { useZStackPropsContext, ZStackPropsContext }\n\n/**\n * `ZStack` is a component that groups elements and provides space between child elements.\n *\n * @see https://yamada-ui.com/docs/components/stack\n */\nexport const ZStack = withContext<\"div\", ZStackProps>(\n ({\n css,\n children,\n direction = \"end\",\n fit = true,\n reverse = false,\n startIndex = 0,\n ...rest\n }) => {\n if (direction === \"start-center\") direction = \"start\"\n if (direction === \"end-center\") direction = \"end\"\n\n const refMap = useRef<Map<number, RefObject<HTMLDivElement | null>>>(\n new Map(),\n )\n const [rect, setRect] = useState<{ height: number; width: number }>({\n height: 0,\n width: 0,\n })\n\n const vertical = useCallback(\n (space: string) => {\n if (direction.startsWith(\"start\"))\n return { [!reverse ? \"bottom\" : \"top\"]: space }\n else if (direction.startsWith(\"end\"))\n return { [!reverse ? \"top\" : \"bottom\"]: space }\n else return { [!reverse ? \"top\" : \"bottom\"]: 0 }\n },\n [direction, reverse],\n )\n\n const horizontal = useCallback(\n (space: string) => {\n if (direction.endsWith(\"-start\"))\n return { [!reverse ? \"right\" : \"left\"]: space }\n else if (direction.endsWith(\"-end\"))\n return { [!reverse ? \"left\" : \"right\"]: space }\n else return { [!reverse ? \"left\" : \"right\"]: 0 }\n },\n [direction, reverse],\n )\n\n const cloneChildren = useMemo(() => {\n const validChildren = getValidChildren(children)\n\n const clonedChildren = validChildren.map((child, index) => {\n const ref = createRef<HTMLDivElement>()\n\n refMap.current.set(index, ref)\n\n const key = child.key ?? index\n\n const zIndex = startIndex + index\n const space = `calc({space} * ${index})`\n\n const css: CSSObject = {\n position: \"absolute\",\n zIndex,\n ...vertical(space),\n ...horizontal(space),\n }\n\n const props = {\n ...child.props,\n ref: mergeRefs(child.props.ref, ref),\n css: mergeCSS(child.props.css, css),\n }\n\n const clonedChild = cloneElement(child, props)\n\n return <Fragment key={key}>{clonedChild}</Fragment>\n })\n\n return clonedChildren\n }, [children, startIndex, vertical, horizontal])\n\n useEffect(() => {\n if (!fit) return\n\n let negativeLeft = direction.endsWith(\"-start\")\n let negativeTop = direction.startsWith(\"start\")\n let width = 0\n let height = 0\n\n if (reverse) {\n negativeLeft = !negativeLeft\n negativeTop = !negativeTop\n }\n\n for (const ref of refMap.current.values()) {\n if (!ref.current) continue\n\n let { offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth } =\n ref.current\n\n if (!offsetParent && process.env.NODE_ENV !== \"test\") continue\n\n if (negativeLeft) {\n const offsetParentWidth =\n (offsetParent as HTMLDivElement | null)?.offsetWidth ?? 0\n\n offsetLeft = offsetParentWidth - offsetLeft - offsetWidth\n }\n\n if (negativeTop) {\n const offsetParentHeight =\n (offsetParent as HTMLDivElement | null)?.offsetHeight ?? 0\n\n offsetTop = offsetParentHeight - offsetTop - offsetHeight\n }\n\n offsetWidth += offsetLeft\n offsetHeight += offsetTop\n\n if (offsetWidth > width) width = offsetWidth\n if (offsetHeight > height) height = offsetHeight\n }\n\n setRect({ height, width })\n }, [cloneChildren, direction, reverse, fit])\n\n return (\n <styled.div\n css={css}\n minHeight={fit ? `${rect.height}px` : undefined}\n minWidth={fit ? `${rect.width}px` : undefined}\n {...rest}\n >\n {cloneChildren}\n </styled.div>\n )\n },\n)(undefined, (props) => {\n const css = useInjectVarsIntoCss(props.css, { gap: \"space\" })\n const rest = useInjectVarsIntoProps(props, { gap: \"space\" })\n\n return { ...rest, css }\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"z-stack.cjs","names":["createComponent","zStackStyle","useRef","useState","useCallback","useMemo","getValidChildren","createRef","mergeRefs","mergeCSS","cloneElement","Fragment","styled","useInjectVarsIntoCss","useInjectVarsIntoProps"],"sources":["../../../../src/components/stack/z-stack.tsx"],"sourcesContent":["\"use client\"\n\nimport type { RefObject } from \"react\"\nimport type {\n CSSObject,\n Direction,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { ZStackStyle } from \"./z-stack.style\"\nimport {\n cloneElement,\n createRef,\n Fragment,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\"\nimport {\n createComponent,\n mergeCSS,\n styled,\n useInjectVarsIntoCss,\n useInjectVarsIntoProps,\n} from \"../../core\"\nimport { getValidChildren, mergeRefs } from \"../../utils\"\nimport { zStackStyle } from \"./z-stack.style\"\n\nexport interface ZStackProps\n extends Omit<HTMLStyledProps, \"direction\">, ThemeProps<ZStackStyle> {\n /**\n * Stack in the specified direction.\n *\n * @default 'end'\n */\n direction?: Direction\n /**\n * If `true`, calculate the `width` and `height` of the element and assign container.\n *\n * @default true\n */\n fit?: boolean\n /**\n * If `true`, reverse direction.\n *\n * @default false\n */\n reverse?: boolean\n /**\n * If set the stack will start from the given index.\n *\n * @default 0\n */\n startIndex?: number\n}\n\nconst {\n PropsContext: ZStackPropsContext,\n usePropsContext: useZStackPropsContext,\n withContext,\n} = createComponent<ZStackProps, ZStackStyle>(\"stack--depth\", zStackStyle)\n\nexport { useZStackPropsContext, ZStackPropsContext }\n\n/**\n * `ZStack` is a component that groups elements and provides space between child elements.\n *\n * @see https://yamada-ui.com/docs/components/stack\n */\nexport const ZStack = withContext<\"div\", ZStackProps>(\n ({\n css,\n children,\n direction = \"end\",\n fit = true,\n reverse = false,\n startIndex = 0,\n ...rest\n }) => {\n if (direction === \"start-center\") direction = \"start\"\n if (direction === \"end-center\") direction = \"end\"\n\n const refMap = useRef<Map<number, RefObject<HTMLDivElement | null>>>(\n new Map(),\n )\n const [rect, setRect] = useState<{ height: number; width: number }>({\n height: 0,\n width: 0,\n })\n\n const vertical = useCallback(\n (space: string) => {\n if (direction.startsWith(\"start\"))\n return { [!reverse ? \"bottom\" : \"top\"]: space }\n else if (direction.startsWith(\"end\"))\n return { [!reverse ? \"top\" : \"bottom\"]: space }\n else return { [!reverse ? \"top\" : \"bottom\"]: 0 }\n },\n [direction, reverse],\n )\n\n const horizontal = useCallback(\n (space: string) => {\n if (direction.endsWith(\"-start\"))\n return { [!reverse ? \"right\" : \"left\"]: space }\n else if (direction.endsWith(\"-end\"))\n return { [!reverse ? \"left\" : \"right\"]: space }\n else return { [!reverse ? \"left\" : \"right\"]: 0 }\n },\n [direction, reverse],\n )\n\n const cloneChildren = useMemo(() => {\n const validChildren = getValidChildren(children)\n\n const clonedChildren = validChildren.map((child, index) => {\n const ref = createRef<HTMLDivElement>()\n\n refMap.current.set(index, ref)\n\n const key = child.key ?? index\n\n const zIndex = startIndex + index\n const space = `calc({space} * ${index})`\n\n const css: CSSObject = {\n position: \"absolute\",\n zIndex,\n ...vertical(space),\n ...horizontal(space),\n }\n\n const props = {\n ...child.props,\n ref: mergeRefs(child.props.ref, ref),\n css: mergeCSS(child.props.css, css),\n }\n\n const clonedChild = cloneElement(child, props)\n\n return <Fragment key={key}>{clonedChild}</Fragment>\n })\n\n return clonedChildren\n }, [children, startIndex, vertical, horizontal])\n\n useEffect(() => {\n if (!fit) return\n\n let negativeLeft = direction.endsWith(\"-start\")\n let negativeTop = direction.startsWith(\"start\")\n let width = 0\n let height = 0\n\n if (reverse) {\n negativeLeft = !negativeLeft\n negativeTop = !negativeTop\n }\n\n for (const ref of refMap.current.values()) {\n if (!ref.current) continue\n\n let { offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth } =\n ref.current\n\n if (!offsetParent && process.env.NODE_ENV !== \"test\") continue\n\n if (negativeLeft) {\n const offsetParentWidth =\n (offsetParent as HTMLDivElement | null)?.offsetWidth ?? 0\n\n offsetLeft = offsetParentWidth - offsetLeft - offsetWidth\n }\n\n if (negativeTop) {\n const offsetParentHeight =\n (offsetParent as HTMLDivElement | null)?.offsetHeight ?? 0\n\n offsetTop = offsetParentHeight - offsetTop - offsetHeight\n }\n\n offsetWidth += offsetLeft\n offsetHeight += offsetTop\n\n if (offsetWidth > width) width = offsetWidth\n if (offsetHeight > height) height = offsetHeight\n }\n\n setRect({ height, width })\n }, [cloneChildren, direction, reverse, fit])\n\n return (\n <styled.div\n css={css}\n minHeight={fit ? `${rect.height}px` : undefined}\n minWidth={fit ? `${rect.width}px` : undefined}\n {...rest}\n >\n {cloneChildren}\n </styled.div>\n )\n },\n)(undefined, (props) => {\n const css = useInjectVarsIntoCss(props.css, { gap: \"space\" })\n const rest = useInjectVarsIntoProps(props, { gap: \"space\" })\n\n return { ...rest, css }\n})\n"],"mappings":";;;;;;;;;;;AA0DA,MAAM,EACJ,cAAc,oBACd,iBAAiB,uBACjB,gBACEA,yBAAAA,gBAA0C,gBAAgBC,sBAAAA,WAAW;;;;;;AASzE,MAAa,SAAS,aACnB,EACC,KACA,UACA,YAAY,OACZ,MAAM,MACN,UAAU,OACV,aAAa,GACb,GAAG,WACC;CACJ,IAAI,cAAc,gBAAgB,YAAY;CAC9C,IAAI,cAAc,cAAc,YAAY;CAE5C,MAAM,UAAA,GAASC,MAAAA,OAAAA,iBACb,IAAI,IAAI,CACV;CACA,MAAM,CAAC,MAAM,YAAA,GAAWC,MAAAA,SAAAA,CAA4C;EAClE,QAAQ;EACR,OAAO;CACT,CAAC;CAED,MAAM,YAAA,GAAWC,MAAAA,YAAAA,EACd,UAAkB;EACjB,IAAI,UAAU,WAAW,OAAO,GAC9B,OAAO,GAAG,CAAC,UAAU,WAA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StepsDescendantsContext","StepsContext","styled","useStepsContext","useStepsItem","StepsItemContext","CheckIcon","useStepsItemContext","useLazyMount"],"sources":["../../../../src/components/steps/steps.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { UseLazyMountProps } from \"../../hooks/use-lazy-mount\"\nimport type { StepsStyle } from \"./steps.style\"\nimport type { UseStepsItemProps, UseStepsProps } from \"./use-steps\"\nimport { Children, useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useLazyMount } from \"../../hooks/use-lazy-mount\"\nimport { useValue } from \"../../hooks/use-value\"\nimport {\n isNull,\n isUndefined,\n useFindChild,\n useValidChildren,\n} from \"../../utils\"\nimport { CheckIcon } from \"../icon\"\nimport { stepsStyle } from \"./steps.style\"\nimport {\n StepsContext,\n StepsDescendantsContext,\n StepsItemContext,\n useSteps,\n useStepsContext,\n useStepsItem,\n useStepsItemContext,\n} from \"./use-steps\"\n\ninterface ComponentContext extends Pick<\n StepsRootProps,\n \"items\" | \"lazy\" | \"lazyBehavior\"\n> {}\n\nexport interface StepsItem\n extends\n Omit<StepsItemProps, \"content\" | \"index\" | \"title\">,\n Pick<StepsIndicatorProps, \"complete\" | \"current\" | \"incomplete\"> {\n /**\n * The content for step element.\n */\n content?: ReactNode\n /**\n * The description for step element.\n */\n description?: ReactNode\n /**\n * If true, display the step separator.\n *\n * @default true\n */\n hasSeparator?: boolean\n /**\n * The title for step element.\n */\n title?: string\n /**\n * Props for step content element.\n */\n contentProps?: StepsContentProps\n /**\n * Props for step description element.\n */\n descriptionProps?: StepsDescriptionProps\n /**\n * Props for step indicator element.\n */\n indicatorProps?: StepsIndicatorProps\n /**\n * Props for step separator element.\n */\n separatorProps?: StepsSeparatorProps\n /**\n * Props for step title element.\n */\n titleProps?: StepsTitleProps\n}\n\nexport interface StepsRootProps\n extends\n Omit<HTMLStyledProps, \"onChange\">,\n Omit<UseStepsProps, \"count\" | \"orientation\">,\n Pick<UseLazyMountProps, \"lazy\" | \"lazyBehavior\">,\n ThemeProps<StepsStyle> {\n /**\n * If provided, generate step components based on steps.\n */\n items?: StepsItem[]\n}\n\nconst {\n ComponentContext,\n PropsContext: StepsPropsContext,\n useComponentContext,\n usePropsContext: useStepsPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<StepsRootProps, StepsStyle, ComponentContext>(\n \"steps\",\n stepsStyle,\n)\n\nexport { StepsPropsContext, useStepsPropsContext }\n\n/**\n * `Steps` is a component that displays the progress of a multi-step process.\n *\n * @see https://yamada-ui.com/docs/components/steps\n */\nexport const StepsRoot = withProvider<\"div\", StepsRootProps, \"orientation\">(\n ({\n children,\n items = [],\n lazy,\n lazyBehavior,\n orientation: orientationProp,\n ...rest\n }) => {\n const computedOrientation = useValue(orientationProp)\n const validChildren = useValidChildren(children)\n const stepsList = useFindChild<StepsListProps>(validChildren, StepsList)\n const {\n id,\n count,\n descendants,\n getStatus,\n index,\n orientation,\n setIndex,\n getContentProps,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n getRootProps,\n onNext,\n onPrev,\n } = useSteps({\n count: items.length || Children.count(stepsList?.props.children),\n orientation: computedOrientation,\n ...rest,\n })\n const componentContext = useMemo(\n () => ({ items, lazy, lazyBehavior }),\n [items, lazy, lazyBehavior],\n )\n const stepsContext = useMemo(\n () => ({\n id,\n count,\n getStatus,\n index,\n orientation,\n setIndex,\n getContentProps,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n onNext,\n onPrev,\n }),\n [\n id,\n count,\n index,\n orientation,\n setIndex,\n getStatus,\n onNext,\n onPrev,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n getContentProps,\n ],\n )\n\n return (\n <StepsDescendantsContext value={descendants}>\n <StepsContext value={stepsContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>{children}</styled.div>\n </ComponentContext>\n </StepsContext>\n </StepsDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)()\n\nexport interface StepsListProps extends HTMLStyledProps<\"ol\"> {}\n\nexport const StepsList = withContext<\"ol\", StepsListProps>(\n ({ children, ...rest }) => {\n const { items } = useComponentContext()\n const { getListProps } = useStepsContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n else\n return items?.map(\n (\n {\n complete,\n content: _content,\n current,\n description,\n hasSeparator = true,\n incomplete,\n title,\n contentProps: _contentProps,\n descriptionProps,\n indicatorProps,\n separatorProps,\n titleProps,\n ...rest\n },\n index,\n ) => (\n <StepsItem key={index} index={index} title={title} {...rest}>\n <StepsIndicator\n complete={complete}\n current={current}\n incomplete={incomplete}\n {...indicatorProps}\n />\n\n <styled.div>\n {title ? (\n <StepsTitle {...titleProps}>{title}</StepsTitle>\n ) : null}\n {description ? (\n <StepsDescription {...descriptionProps}>\n {description}\n </StepsDescription>\n ) : null}\n </styled.div>\n\n {hasSeparator ? <StepsSeparator {...separatorProps} /> : null}\n </StepsItem>\n ),\n )\n }, [children, items])\n\n return <styled.ol {...getListProps(rest)}>{computedChildren}</styled.ol>\n },\n \"list\",\n)()\n\nexport interface StepsItemProps\n extends HTMLStyledProps<\"li\">, UseStepsItemProps {}\n\nexport const StepsItem = withContext<\"li\", StepsItemProps>((props) => {\n const {\n first,\n index,\n last,\n status,\n getDescriptionProps,\n getIndicatorProps,\n getRootProps,\n getSeparatorProps,\n getTitleProps,\n } = useStepsItem(props)\n const context = useMemo(\n () => ({\n first,\n index,\n last,\n status,\n getDescriptionProps,\n getIndicatorProps,\n getSeparatorProps,\n getTitleProps,\n }),\n [\n first,\n index,\n last,\n status,\n getTitleProps,\n getDescriptionProps,\n getSeparatorProps,\n getIndicatorProps,\n ],\n )\n\n return (\n <StepsItemContext value={context}>\n <styled.li {...getRootProps()} />\n </StepsItemContext>\n )\n}, \"item\")()\n\nexport interface StepsIndicatorProps extends HTMLStyledProps {\n /**\n * The element for the complete indicator.\n *\n * @default <CheckIcon />\n */\n complete?: ReactNode\n /**\n * The element for the current indicator.\n *\n * @default <StepsNumber />\n */\n current?: ReactNode\n /**\n * The element for the incomplete indicator.\n *\n * @default <StepsNumber />\n */\n incomplete?: ReactNode\n}\n\nexport const StepsIndicator = withContext<\"div\", StepsIndicatorProps>(\n ({\n complete = <CheckIcon />,\n current = <StepsNumber />,\n incomplete = <StepsNumber />,\n ...rest\n }) => {\n const { status, getIndicatorProps } = useStepsItemContext()\n const components = useMemo(\n () => ({ complete, current, incomplete }),\n [complete, current, incomplete],\n )\n\n return (\n <styled.div {...getIndicatorProps(rest)}>{components[status]}</styled.div>\n )\n },\n \"indicator\",\n)()\n\nexport interface StepsNumberProps extends HTMLStyledProps<\"span\"> {}\n\nexport const StepsNumber = withContext<\"span\", StepsNumberProps>(\n \"span\",\n \"number\",\n)(undefined, ({ children, ...rest }) => {\n const { index } = useStepsItemContext()\n\n return { ...rest, children: children ?? index + 1 }\n})\n\nexport interface StepsTitleProps extends HTMLStyledProps {}\n\nexport const StepsTitle = withContext<\"h3\", StepsTitleProps>(\"h3\", \"title\")(\n undefined,\n (props) => {\n const { getTitleProps } = useStepsItemContext()\n\n return getTitleProps(props)\n },\n)\n\nexport interface StepsDescriptionProps extends HTMLStyledProps<\"p\"> {}\n\nexport const StepsDescription = withContext<\"p\", StepsDescriptionProps>(\n \"p\",\n \"description\",\n)(undefined, (props) => {\n const { getDescriptionProps } = useStepsItemContext()\n\n return getDescriptionProps(props)\n})\n\nexport interface StepsSeparatorProps extends HTMLStyledProps {}\n\nexport const StepsSeparator = withContext<\"div\", StepsSeparatorProps>(\n \"div\",\n \"separator\",\n)(undefined, (props) => {\n const { getSeparatorProps } = useStepsItemContext()\n\n return getSeparatorProps(props)\n})\n\nexport interface StepsContentsProps extends PropsWithChildren {}\n\nexport const StepsContents: FC<StepsContentsProps> = ({ children }) => {\n const { items } = useComponentContext()\n\n return useMemo(() => {\n if (children) return children\n else\n return items?.map(({ content, contentProps }, index) =>\n isUndefined(content) || isNull(content) ? null : (\n <StepsContent key={index} index={index} {...contentProps}>\n {content}\n </StepsContent>\n ),\n )\n }, [children, items])\n}\n\nexport interface StepsContentProps extends HTMLStyledProps {\n /**\n * The index of the step content.\n */\n index: number\n}\n\nexport const StepsContent = withContext<\"div\", StepsContentProps>(\n \"div\",\n \"content\",\n)(undefined, ({ index, ...rest }) => {\n const { lazy, lazyBehavior } = useComponentContext()\n const { index: selectedIndex, getContentProps } = useStepsContext()\n const mounted = index === selectedIndex\n const children = useLazyMount({\n lazy,\n lazyBehavior,\n mounted,\n ...rest,\n })\n\n return { ...getContentProps({ index, ...rest }), children }\n})\n\nexport interface StepsCompletedContentProps extends HTMLStyledProps {}\n\nexport const StepsCompletedContent = withContext<\n \"div\",\n StepsCompletedContentProps\n>(\"div\", { name: \"CompletedContent\", slot: [\"content\", \"completed\"] })(\n undefined,\n (props) => {\n const { lazy, lazyBehavior } = useComponentContext()\n const { count, index: selectedIndex, getContentProps } = useStepsContext()\n const mounted = count !== 0 && count === selectedIndex\n const children = useLazyMount({\n lazy,\n lazyBehavior,\n mounted,\n ...props,\n })\n\n return { ...getContentProps(props), children }\n },\n)\n\nexport interface StepsPrevTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const StepsPrevTrigger = withContext<\"button\", StepsPrevTriggerProps>(\n \"button\",\n { name: \"PrevTrigger\", slot: [\"trigger\", \"prev\"] },\n)((props) => {\n const { getPrevTriggerProps } = useStepsContext()\n\n return { asChild: true, ...getPrevTriggerProps(props) }\n})\n\nexport interface StepsNextTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const StepsNextTrigger = withContext<\"button\", StepsNextTriggerProps>(\n \"button\",\n { name: \"NextTrigger\", slot: [\"trigger\", \"next\"] },\n)((props) => {\n const { getNextTriggerProps } = useStepsContext()\n\n return { asChild: true, ...getNextTriggerProps(props) }\n})\n"],"mappings":";;;;;;;;;;;;;;AA0FA,MAAM,EACJ,kBACA,cAAc,mBACd,qBACA,iBAAiB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UAAU,KAAK,UAAU;EAKvC,GAAG;CACL,CAAC;CAED,OAAO;EAAE,GAAG,gBAAgB,KAAK;EAAG;CAAS;AAC/C,CACF;AAIA,MAAa,mBAAmB,YAC9B,UACA;CAAE,MAAM;CAAe,MAAM,CAAC,WAAW,MAAM;AAAE,CACnD,CAAC,EAAE,UAAU;CACX,MAAM,EAAE,wBAAwBL,kBAAAA,gBAAgB;CAEhD,OAAO;EAAE,SAAS;EAAM,GAAG,oBAAoB,KAAK;CAAE;AACxD,CAAC;AAID,MAAa,mBAAmB,YAC9B,UACA;CAAE,MAAM;CAAe,MAAM,CAAC,WAAW,MAAM;AAAE,CACnD,CAAC,EAAE,UAAU;CACX,MAAM,EAAE,wBAAwBA,kBAAAA,gBAAgB;CAEhD,OAAO;EAAE,SAAS;EAAM,GAAG,oBAAoB,KAAK;CAAE;AACxD,CAAC"}
|
|
1
|
+
{"version":3,"file":"steps.cjs","names":["createSlotComponent","stepsStyle","useValue","useValidChildren","useFindChild","useSteps","Children","useMemo","StepsDescendantsContext","StepsContext","styled","useStepsContext","useStepsItem","StepsItemContext","CheckIcon","useStepsItemContext","useLazyMount"],"sources":["../../../../src/components/steps/steps.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { UseLazyMountProps } from \"../../hooks/use-lazy-mount\"\nimport type { StepsStyle } from \"./steps.style\"\nimport type { UseStepsItemProps, UseStepsProps } from \"./use-steps\"\nimport { Children, useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useLazyMount } from \"../../hooks/use-lazy-mount\"\nimport { useValue } from \"../../hooks/use-value\"\nimport {\n isNull,\n isUndefined,\n useFindChild,\n useValidChildren,\n} from \"../../utils\"\nimport { CheckIcon } from \"../icon\"\nimport { stepsStyle } from \"./steps.style\"\nimport {\n StepsContext,\n StepsDescendantsContext,\n StepsItemContext,\n useSteps,\n useStepsContext,\n useStepsItem,\n useStepsItemContext,\n} from \"./use-steps\"\n\ninterface ComponentContext extends Pick<\n StepsRootProps,\n \"items\" | \"lazy\" | \"lazyBehavior\"\n> {}\n\nexport interface StepsItem\n extends\n Omit<StepsItemProps, \"content\" | \"index\" | \"title\">,\n Pick<StepsIndicatorProps, \"complete\" | \"current\" | \"incomplete\"> {\n /**\n * The content for step element.\n */\n content?: ReactNode\n /**\n * The description for step element.\n */\n description?: ReactNode\n /**\n * If true, display the step separator.\n *\n * @default true\n */\n hasSeparator?: boolean\n /**\n * The title for step element.\n */\n title?: string\n /**\n * Props for step content element.\n */\n contentProps?: StepsContentProps\n /**\n * Props for step description element.\n */\n descriptionProps?: StepsDescriptionProps\n /**\n * Props for step indicator element.\n */\n indicatorProps?: StepsIndicatorProps\n /**\n * Props for step separator element.\n */\n separatorProps?: StepsSeparatorProps\n /**\n * Props for step title element.\n */\n titleProps?: StepsTitleProps\n}\n\nexport interface StepsRootProps\n extends\n Omit<HTMLStyledProps, \"onChange\">,\n Omit<UseStepsProps, \"count\" | \"orientation\">,\n Pick<UseLazyMountProps, \"lazy\" | \"lazyBehavior\">,\n ThemeProps<StepsStyle> {\n /**\n * If provided, generate step components based on steps.\n */\n items?: StepsItem[]\n}\n\nconst {\n ComponentContext,\n PropsContext: StepsPropsContext,\n useComponentContext,\n usePropsContext: useStepsPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<StepsRootProps, StepsStyle, ComponentContext>(\n \"steps\",\n stepsStyle,\n)\n\nexport { StepsPropsContext, useStepsPropsContext }\n\n/**\n * `Steps` is a component that displays the progress of a multi-step process.\n *\n * @see https://yamada-ui.com/docs/components/steps\n */\nexport const StepsRoot = withProvider<\"div\", StepsRootProps, \"orientation\">(\n ({\n children,\n items = [],\n lazy,\n lazyBehavior,\n orientation: orientationProp,\n ...rest\n }) => {\n const computedOrientation = useValue(orientationProp)\n const validChildren = useValidChildren(children)\n const stepsList = useFindChild<StepsListProps>(validChildren, StepsList)\n const {\n id,\n count,\n descendants,\n getStatus,\n index,\n orientation,\n setIndex,\n getContentProps,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n getRootProps,\n onNext,\n onPrev,\n } = useSteps({\n count: items.length || Children.count(stepsList?.props.children),\n orientation: computedOrientation,\n ...rest,\n })\n const componentContext = useMemo(\n () => ({ items, lazy, lazyBehavior }),\n [items, lazy, lazyBehavior],\n )\n const stepsContext = useMemo(\n () => ({\n id,\n count,\n getStatus,\n index,\n orientation,\n setIndex,\n getContentProps,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n onNext,\n onPrev,\n }),\n [\n id,\n count,\n index,\n orientation,\n setIndex,\n getStatus,\n onNext,\n onPrev,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n getContentProps,\n ],\n )\n\n return (\n <StepsDescendantsContext value={descendants}>\n <StepsContext value={stepsContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>{children}</styled.div>\n </ComponentContext>\n </StepsContext>\n </StepsDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)()\n\nexport interface StepsListProps extends HTMLStyledProps<\"ol\"> {}\n\nexport const StepsList = withContext<\"ol\", StepsListProps>(\n ({ children, ...rest }) => {\n const { items } = useComponentContext()\n const { getListProps } = useStepsContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n else\n return items?.map(\n (\n {\n complete,\n content: _content,\n current,\n description,\n hasSeparator = true,\n incomplete,\n title,\n contentProps: _contentProps,\n descriptionProps,\n indicatorProps,\n separatorProps,\n titleProps,\n ...rest\n },\n index,\n ) => (\n <StepsItem key={index} index={index} title={title} {...rest}>\n <StepsIndicator\n complete={complete}\n current={current}\n incomplete={incomplete}\n {...indicatorProps}\n />\n\n <styled.div>\n {title ? (\n <StepsTitle {...titleProps}>{title}</StepsTitle>\n ) : null}\n {description ? (\n <StepsDescription {...descriptionProps}>\n {description}\n </StepsDescription>\n ) : null}\n </styled.div>\n\n {hasSeparator ? <StepsSeparator {...separatorProps} /> : null}\n </StepsItem>\n ),\n )\n }, [children, items])\n\n return <styled.ol {...getListProps(rest)}>{computedChildren}</styled.ol>\n },\n \"list\",\n)()\n\nexport interface StepsItemProps\n extends HTMLStyledProps<\"li\">, UseStepsItemProps {}\n\nexport const StepsItem = withContext<\"li\", StepsItemProps>((props) => {\n const {\n first,\n index,\n last,\n status,\n getDescriptionProps,\n getIndicatorProps,\n getRootProps,\n getSeparatorProps,\n getTitleProps,\n } = useStepsItem(props)\n const context = useMemo(\n () => ({\n first,\n index,\n last,\n status,\n getDescriptionProps,\n getIndicatorProps,\n getSeparatorProps,\n getTitleProps,\n }),\n [\n first,\n index,\n last,\n status,\n getTitleProps,\n getDescriptionProps,\n getSeparatorProps,\n getIndicatorProps,\n ],\n )\n\n return (\n <StepsItemContext value={context}>\n <styled.li {...getRootProps()} />\n </StepsItemContext>\n )\n}, \"item\")()\n\nexport interface StepsIndicatorProps extends HTMLStyledProps {\n /**\n * The element for the complete indicator.\n *\n * @default <CheckIcon />\n */\n complete?: ReactNode\n /**\n * The element for the current indicator.\n *\n * @default <StepsNumber />\n */\n current?: ReactNode\n /**\n * The element for the incomplete indicator.\n *\n * @default <StepsNumber />\n */\n incomplete?: ReactNode\n}\n\nexport const StepsIndicator = withContext<\"div\", StepsIndicatorProps>(\n ({\n complete = <CheckIcon />,\n current = <StepsNumber />,\n incomplete = <StepsNumber />,\n ...rest\n }) => {\n const { status, getIndicatorProps } = useStepsItemContext()\n const components = useMemo(\n () => ({ complete, current, incomplete }),\n [complete, current, incomplete],\n )\n\n return (\n <styled.div {...getIndicatorProps(rest)}>{components[status]}</styled.div>\n )\n },\n \"indicator\",\n)()\n\nexport interface StepsNumberProps extends HTMLStyledProps<\"span\"> {}\n\nexport const StepsNumber = withContext<\"span\", StepsNumberProps>(\n \"span\",\n \"number\",\n)(undefined, ({ children, ...rest }) => {\n const { index } = useStepsItemContext()\n\n return { ...rest, children: children ?? index + 1 }\n})\n\nexport interface StepsTitleProps extends HTMLStyledProps {}\n\nexport const StepsTitle = withContext<\"h3\", StepsTitleProps>(\"h3\", \"title\")(\n undefined,\n (props) => {\n const { getTitleProps } = useStepsItemContext()\n\n return getTitleProps(props)\n },\n)\n\nexport interface StepsDescriptionProps extends HTMLStyledProps<\"p\"> {}\n\nexport const StepsDescription = withContext<\"p\", StepsDescriptionProps>(\n \"p\",\n \"description\",\n)(undefined, (props) => {\n const { getDescriptionProps } = useStepsItemContext()\n\n return getDescriptionProps(props)\n})\n\nexport interface StepsSeparatorProps extends HTMLStyledProps {}\n\nexport const StepsSeparator = withContext<\"div\", StepsSeparatorProps>(\n \"div\",\n \"separator\",\n)(undefined, (props) => {\n const { getSeparatorProps } = useStepsItemContext()\n\n return getSeparatorProps(props)\n})\n\nexport interface StepsContentsProps extends PropsWithChildren {}\n\nexport const StepsContents: FC<StepsContentsProps> = ({ children }) => {\n const { items } = useComponentContext()\n\n return useMemo(() => {\n if (children) return children\n else\n return items?.map(({ content, contentProps }, index) =>\n isUndefined(content) || isNull(content) ? null : (\n <StepsContent key={index} index={index} {...contentProps}>\n {content}\n </StepsContent>\n ),\n )\n }, [children, items])\n}\n\nexport interface StepsContentProps extends HTMLStyledProps {\n /**\n * The index of the step content.\n */\n index: number\n}\n\nexport const StepsContent = withContext<\"div\", StepsContentProps>(\n \"div\",\n \"content\",\n)(undefined, ({ index, ...rest }) => {\n const { lazy, lazyBehavior } = useComponentContext()\n const { index: selectedIndex, getContentProps } = useStepsContext()\n const mounted = index === selectedIndex\n const children = useLazyMount({\n lazy,\n lazyBehavior,\n mounted,\n ...rest,\n })\n\n return { ...getContentProps({ index, ...rest }), children }\n})\n\nexport interface StepsCompletedContentProps extends HTMLStyledProps {}\n\nexport const StepsCompletedContent = withContext<\n \"div\",\n StepsCompletedContentProps\n>(\"div\", { name: \"CompletedContent\", slot: [\"content\", \"completed\"] })(\n undefined,\n (props) => {\n const { lazy, lazyBehavior } = useComponentContext()\n const { count, index: selectedIndex, getContentProps } = useStepsContext()\n const mounted = count !== 0 && count === selectedIndex\n const children = useLazyMount({\n lazy,\n lazyBehavior,\n mounted,\n ...props,\n })\n\n return { ...getContentProps(props), children }\n },\n)\n\nexport interface StepsPrevTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const StepsPrevTrigger = withContext<\"button\", StepsPrevTriggerProps>(\n \"button\",\n { name: \"PrevTrigger\", slot: [\"trigger\", \"prev\"] },\n)((props) => {\n const { getPrevTriggerProps } = useStepsContext()\n\n return { asChild: true, ...getPrevTriggerProps(props) }\n})\n\nexport interface StepsNextTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const StepsNextTrigger = withContext<\"button\", StepsNextTriggerProps>(\n \"button\",\n { name: \"NextTrigger\", slot: [\"trigger\", \"next\"] },\n)((props) => {\n const { getNextTriggerProps } = useStepsContext()\n\n return { asChild: true, ...getNextTriggerProps(props) }\n})\n"],"mappings":";;;;;;;;;;;;;AA0FA,MAAM,EACJ,kBACA,cAAc,mBACd,qBACA,iBAAiB,sBACjB,aACA,iBACEA,yBAAAA,oBACF,SACAC,oBAAAA,UACF;;;;;;AASA,MAAa,YAAY,cACtB,EACC,UACA,QAAQ,CAAC,GACT,MACA,cACA,aAAa,iBACb,GAAG,WACC;CACJ,MAAM,sBAAsBC,8BAAAA,SAAS,eAAe;CACpD,MAAM,gBAAgBC,iBAAAA,iBAAiB,QAAQ;CAC/C,MAAM,YAAYC,iBAAAA,aAA6B,eAAe,SAAS;CACvE,MAAM,EACJ,IACA,OACA,aACA,WACA,OACA,aACA,UACA,iBACA,cACA,qBACA,qBACA,cACA,QACA,WACEC,kBAAAA,SAAS;EACX,OAAO,MAAM,UAAUC,MAAAA,SAAS,MAAM,WAAW,MAAM,QAAQ;EAC/D,aAAa;EACb,GAAG;CACL,CAAC;CACD,MAAM,oBAAA,GAAmBC,MAAAA,QAAAA,QAChB;EAAE;EAAO;EAAM;CAAa,IACnC;EAAC;EAAO;EAAM;CAAY,CAC5B;CACA,MAAM,gB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escendants","createContext","useControllableState","useId","useCallback","mergeProps","useEnvironment","mergeRefs"],"sources":["../../../../src/components/steps/use-steps.ts"],"sourcesContent":["\"use client\"\n\nimport type { HTMLProps, Orientation, PropGetter } from \"../../core\"\nimport { useCallback, useId } from \"react\"\nimport { mergeProps, useEnvironment } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { createDescendants } from \"../../hooks/use-descendants\"\nimport {\n createContext,\n cx,\n dataAttr,\n handlerAll,\n mergeRefs,\n setAttribute,\n useSafeLayoutEffect,\n} from \"../../utils\"\n\nexport type StepStatusScheme = \"complete\" | \"current\" | \"incomplete\"\n\nconst {\n DescendantsContext: StepsDescendantsContext,\n useDescendant: useStepsDescendant,\n useDescendants: useStepsDescendants,\n} = createDescendants<HTMLLIElement>()\n\nexport { StepsDescendantsContext, useStepsDescendant, useStepsDescendants }\n\ninterface StepsContext extends Omit<\n UseStepsReturn,\n \"descendants\" | \"getRootProps\"\n> {}\n\nconst [StepsContext, useStepsContext] = createContext<StepsContext>({\n name: \"StepsContext\",\n})\n\nexport { StepsContext, useStepsContext }\n\ninterface StepsItemContext extends Omit<UseStepsItemReturn, \"getRootProps\"> {}\n\nconst [StepsItemContext, useStepsItemContext] = createContext<StepsItemContext>(\n {\n name: \"StepsItemContext\",\n },\n)\n\nexport { StepsItemContext, useStepsItemContext }\n\nexport interface UseStepsProps extends Omit<HTMLProps, \"onChange\"> {\n /**\n * The total number of steps.\n */\n count?: number\n /**\n * The initial index of the active step.\n *\n * @default 0\n */\n defaultIndex?: number\n /**\n * The index of the active step.\n */\n index?: number\n /**\n * The orientation of the steps.\n *\n * @default 'horizontal'\n */\n orientation?: Orientation\n /**\n * The callback function that is called when the active step index is changed.\n */\n onChange?: (index: number) => void\n}\n\nexport const useSteps = ({\n count = 0,\n defaultIndex = 0,\n index: indexProp,\n orientation = \"horizontal\",\n onChange,\n ...rest\n}: UseStepsProps = {}) => {\n const descendants = useStepsDescendants()\n const [index, setIndex] = useControllableState({\n defaultValue: defaultIndex,\n value: indexProp,\n onChange,\n })\n const id = useId()\n\n const getStatus = useCallback(\n (indexProp: number): StepStatusScheme => {\n if (indexProp < index) return \"complete\"\n else if (indexProp > index) return \"incomplete\"\n else return \"current\"\n },\n [index],\n )\n\n const onPrev = useCallback(\n () => setIndex((index) => Math.max(0, index - 1)),\n [setIndex],\n )\n\n const onNext = useCallback(() => {\n setIndex((index) => Math.min(count, index + 1))\n }, [count, setIndex])\n\n const getRootProps: PropGetter = useCallback(\n (props = {}) => mergeProps(rest, props)(),\n [rest],\n )\n\n const getListProps: PropGetter<\"ol\"> = useCallback(\n (props) => {\n return {\n \"data-orientation\": orientation,\n ...props,\n }\n },\n [orientation],\n )\n\n const getContentProps: PropGetter<\"div\", { index?: number }> = useCallback(\n ({ index: indexProp = count, ...props } = {}) => ({\n id: `${id}-${indexProp}`,\n hidden: indexProp !== index,\n tabIndex: 0,\n ...props,\n }),\n [count, id, index],\n )\n\n const getPrevTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => ({\n disabled: index === 0,\n ...props,\n onClick: handlerAll(props.onClick, onPrev),\n }),\n [onPrev, index],\n )\n\n const getNextTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => {\n return {\n disabled: count <= index,\n ...props,\n onClick: handlerAll(props.onClick, onNext),\n }\n },\n [count, index, onNext],\n )\n\n return {\n id,\n count,\n descendants,\n getStatus,\n index,\n orientation,\n setIndex,\n getContentProps,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n getRootProps,\n onNext,\n onPrev,\n }\n}\n\nexport type UseStepsReturn = ReturnType<typeof useSteps>\n\nexport interface UseStepsItemProps extends HTMLProps<\"li\"> {\n /**\n * The index of the step.\n */\n index: number\n}\n\nexport const useStepsItem = ({\n \"aria-labelledby\": ariaLabelledbyProp,\n index,\n ...rest\n}: UseStepsItemProps) => {\n const { descendants, register } = useStepsDescendant()\n const { id, getStatus, orientation } = useStepsContext()\n const status = getStatus(index)\n const current = status === \"current\"\n const first = index === 0\n const last = index === descendants.lastValue()?.index\n const statusDataAttr = `data-${status}`\n const { getDocument } = useEnvironment()\n\n useSafeLayoutEffect(() => {\n const el = descendants.value(index)?.node\n const hasContent = !!getDocument()?.getElementById(`${id}-${index}`)\n\n if (el && hasContent) setAttribute(el, \"aria-labelledby\", `${id}-${index}`)\n }, [descendants, getDocument, id, index])\n\n const getRootProps: PropGetter<\"li\"> = useCallback(\n ({ ref, \"aria-labelledby\": ariaLabelledby, ...props } = {}) =>\n mergeProps(\n {\n \"aria-current\": current ? \"step\" : undefined,\n \"aria-labelledby\": cx(ariaLabelledbyProp, ariaLabelledby),\n \"data-orientation\": orientation,\n [statusDataAttr]: dataAttr(true),\n },\n rest,\n props,\n { ref: mergeRefs(ref, register) },\n )(),\n [ariaLabelledbyProp, current, orientation, statusDataAttr, rest, register],\n )\n\n const getTitleProps: PropGetter<\"h3\"> = useCallback(\n (props) => ({\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [statusDataAttr],\n )\n\n const getDescriptionProps: PropGetter<\"p\"> = useCallback(\n (props) => ({\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [statusDataAttr],\n )\n\n const getIndicatorProps: PropGetter = useCallback(\n (props) => ({\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [statusDataAttr],\n )\n\n const getSeparatorProps: PropGetter = useCallback(\n (props) => ({\n \"data-orientation\": orientation,\n role: \"separator\",\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [orientation, statusDataAttr],\n )\n\n return {\n first,\n index,\n last,\n status,\n getDescriptionProps,\n getIndicatorProps,\n getRootProps,\n getSeparatorProps,\n getTitleProps,\n }\n}\n\nexport type UseStepsItemReturn = ReturnType<typeof useStepsItem>\n"],"mappings":";;;;;;;;;;;;AAmBA,MAAM,EACJ,oBAAoB,yBACpB,eAAe,oBACf,gBAAgB,wBACdA,oCAAAA,kBAAiC;AASrC,MAAM,CAAC,cAAc,mBAAmBC,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C,MACvDC,cAAAA,WACE;EACE,gBAAgB,UAAU,SAAS,KAAA;EACnC,oBAAA,GAAA,oBAAA,cAAmB,GAAA,CAAG,oBAAoB,cAAc;EACxD,oBAAoB;GACnB,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;CACjC,GACA,MACA,OACA,EAAE,KAAKE,YAAAA,UAAU,KAAK,QAAQ,EAAE,CAClC,CAAC,CAAC,GACJ;EAAC;EAAoB;EAAS;EAAa;EAAgB;EAAM;CAAQ,CAC3E;CAEA,MAAM,iBAAA,GAAkCH,MAAAA,YAAAA,EACrC,WAAW;GACT,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;EAC/B,GAAG;CACL,IACA,CAAC,cAAc,CACjB;CA4BA,OAAO;EACL;EACA;EACA;EACA;EACA,sBAAA,GA/B2CA,MAAAA,YAAAA,EAC1C,WAAW;IACT,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC/B,GAAG;EACL,IACA,CAAC,cAAc,CA0BG;EAClB,oBAAA,GAxBoCA,MAAAA,YAAAA,EACnC,WAAW;IACT,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC/B,GAAG;EACL,IACA,CAAC,cAAc,CAmBC;EAChB;EACA,oBAAA,GAlBoCA,MAAAA,YAAAA,EACnC,WAAW;GACV,oBAAoB;GACpB,MAAM;IACL,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC/B,GAAG;EACL,IACA,CAAC,aAAa,cAAc,CAWZ;EAChB;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"use-steps.cjs","names":["createDescendants","createContext","useControllableState","useId","useCallback","mergeProps","useEnvironment","mergeRefs"],"sources":["../../../../src/components/steps/use-steps.ts"],"sourcesContent":["\"use client\"\n\nimport type { HTMLProps, Orientation, PropGetter } from \"../../core\"\nimport { useCallback, useId } from \"react\"\nimport { mergeProps, useEnvironment } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { createDescendants } from \"../../hooks/use-descendants\"\nimport {\n createContext,\n cx,\n dataAttr,\n handlerAll,\n mergeRefs,\n setAttribute,\n useSafeLayoutEffect,\n} from \"../../utils\"\n\nexport type StepStatusScheme = \"complete\" | \"current\" | \"incomplete\"\n\nconst {\n DescendantsContext: StepsDescendantsContext,\n useDescendant: useStepsDescendant,\n useDescendants: useStepsDescendants,\n} = createDescendants<HTMLLIElement>()\n\nexport { StepsDescendantsContext, useStepsDescendant, useStepsDescendants }\n\ninterface StepsContext extends Omit<\n UseStepsReturn,\n \"descendants\" | \"getRootProps\"\n> {}\n\nconst [StepsContext, useStepsContext] = createContext<StepsContext>({\n name: \"StepsContext\",\n})\n\nexport { StepsContext, useStepsContext }\n\ninterface StepsItemContext extends Omit<UseStepsItemReturn, \"getRootProps\"> {}\n\nconst [StepsItemContext, useStepsItemContext] = createContext<StepsItemContext>(\n {\n name: \"StepsItemContext\",\n },\n)\n\nexport { StepsItemContext, useStepsItemContext }\n\nexport interface UseStepsProps extends Omit<HTMLProps, \"onChange\"> {\n /**\n * The total number of steps.\n */\n count?: number\n /**\n * The initial index of the active step.\n *\n * @default 0\n */\n defaultIndex?: number\n /**\n * The index of the active step.\n */\n index?: number\n /**\n * The orientation of the steps.\n *\n * @default 'horizontal'\n */\n orientation?: Orientation\n /**\n * The callback function that is called when the active step index is changed.\n */\n onChange?: (index: number) => void\n}\n\nexport const useSteps = ({\n count = 0,\n defaultIndex = 0,\n index: indexProp,\n orientation = \"horizontal\",\n onChange,\n ...rest\n}: UseStepsProps = {}) => {\n const descendants = useStepsDescendants()\n const [index, setIndex] = useControllableState({\n defaultValue: defaultIndex,\n value: indexProp,\n onChange,\n })\n const id = useId()\n\n const getStatus = useCallback(\n (indexProp: number): StepStatusScheme => {\n if (indexProp < index) return \"complete\"\n else if (indexProp > index) return \"incomplete\"\n else return \"current\"\n },\n [index],\n )\n\n const onPrev = useCallback(\n () => setIndex((index) => Math.max(0, index - 1)),\n [setIndex],\n )\n\n const onNext = useCallback(() => {\n setIndex((index) => Math.min(count, index + 1))\n }, [count, setIndex])\n\n const getRootProps: PropGetter = useCallback(\n (props = {}) => mergeProps(rest, props)(),\n [rest],\n )\n\n const getListProps: PropGetter<\"ol\"> = useCallback(\n (props) => {\n return {\n \"data-orientation\": orientation,\n ...props,\n }\n },\n [orientation],\n )\n\n const getContentProps: PropGetter<\"div\", { index?: number }> = useCallback(\n ({ index: indexProp = count, ...props } = {}) => ({\n id: `${id}-${indexProp}`,\n hidden: indexProp !== index,\n tabIndex: 0,\n ...props,\n }),\n [count, id, index],\n )\n\n const getPrevTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => ({\n disabled: index === 0,\n ...props,\n onClick: handlerAll(props.onClick, onPrev),\n }),\n [onPrev, index],\n )\n\n const getNextTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => {\n return {\n disabled: count <= index,\n ...props,\n onClick: handlerAll(props.onClick, onNext),\n }\n },\n [count, index, onNext],\n )\n\n return {\n id,\n count,\n descendants,\n getStatus,\n index,\n orientation,\n setIndex,\n getContentProps,\n getListProps,\n getNextTriggerProps,\n getPrevTriggerProps,\n getRootProps,\n onNext,\n onPrev,\n }\n}\n\nexport type UseStepsReturn = ReturnType<typeof useSteps>\n\nexport interface UseStepsItemProps extends HTMLProps<\"li\"> {\n /**\n * The index of the step.\n */\n index: number\n}\n\nexport const useStepsItem = ({\n \"aria-labelledby\": ariaLabelledbyProp,\n index,\n ...rest\n}: UseStepsItemProps) => {\n const { descendants, register } = useStepsDescendant()\n const { id, getStatus, orientation } = useStepsContext()\n const status = getStatus(index)\n const current = status === \"current\"\n const first = index === 0\n const last = index === descendants.lastValue()?.index\n const statusDataAttr = `data-${status}`\n const { getDocument } = useEnvironment()\n\n useSafeLayoutEffect(() => {\n const el = descendants.value(index)?.node\n const hasContent = !!getDocument()?.getElementById(`${id}-${index}`)\n\n if (el && hasContent) setAttribute(el, \"aria-labelledby\", `${id}-${index}`)\n }, [descendants, getDocument, id, index])\n\n const getRootProps: PropGetter<\"li\"> = useCallback(\n ({ ref, \"aria-labelledby\": ariaLabelledby, ...props } = {}) =>\n mergeProps(\n {\n \"aria-current\": current ? \"step\" : undefined,\n \"aria-labelledby\": cx(ariaLabelledbyProp, ariaLabelledby),\n \"data-orientation\": orientation,\n [statusDataAttr]: dataAttr(true),\n },\n rest,\n props,\n { ref: mergeRefs(ref, register) },\n )(),\n [ariaLabelledbyProp, current, orientation, statusDataAttr, rest, register],\n )\n\n const getTitleProps: PropGetter<\"h3\"> = useCallback(\n (props) => ({\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [statusDataAttr],\n )\n\n const getDescriptionProps: PropGetter<\"p\"> = useCallback(\n (props) => ({\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [statusDataAttr],\n )\n\n const getIndicatorProps: PropGetter = useCallback(\n (props) => ({\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [statusDataAttr],\n )\n\n const getSeparatorProps: PropGetter = useCallback(\n (props) => ({\n \"data-orientation\": orientation,\n role: \"separator\",\n [statusDataAttr]: dataAttr(true),\n ...props,\n }),\n [orientation, statusDataAttr],\n )\n\n return {\n first,\n index,\n last,\n status,\n getDescriptionProps,\n getIndicatorProps,\n getRootProps,\n getSeparatorProps,\n getTitleProps,\n }\n}\n\nexport type UseStepsItemReturn = ReturnType<typeof useStepsItem>\n"],"mappings":";;;;;;;;;;;AAmBA,MAAM,EACJ,oBAAoB,yBACpB,eAAe,oBACf,gBAAgB,wBACdA,oCAAAA,kBAAiC;AASrC,MAAM,CAAC,cAAc,mBAAmBC,gBAAAA,cAA4B,EAClE,MAAM,eACR,CAAC;AAMD,MAAM,CAAC,kBAAkB,uBAAuBA,gBAAAA,cAC9C,EACE,MAAM,mBACR,CACF;AA+BA,MAAa,YAAY,EACvB,QAAQ,GACR,eAAe,GACf,OAAO,WACP,cAAc,cACd,UACA,GAAG,SACc,CAAC,MAAM;CAC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,YAAAA,UAAU,KAAK,QAAQ,EAAE,CAClC,CAAC,CAAC,GACJ;EAAC;EAAoB;EAAS;EAAa;EAAgB;EAAM;CAAQ,CAC3E;CAEA,MAAM,iBAAA,GAAkCH,MAAAA,YAAAA,EACrC,WAAW;GACT,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;EAC/B,GAAG;CACL,IACA,CAAC,cAAc,CACjB;CA4BA,OAAO;EACL;EACA;EACA;EACA;EACA,sBAAA,GA/B2CA,MAAAA,YAAAA,EAC1C,WAAW;IACT,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC/B,GAAG;EACL,IACA,CAAC,cAAc,CA0BG;EAClB,oBAAA,GAxBoCA,MAAAA,YAAAA,EACnC,WAAW;IACT,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC/B,GAAG;EACL,IACA,CAAC,cAAc,CAmBC;EAChB;EACA,oBAAA,GAlBoCA,MAAAA,YAAAA,EACnC,WAAW;GACV,oBAAoB;GACpB,MAAM;IACL,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC/B,GAAG;EACL,IACA,CAAC,aAAa,cAAc,CAWZ;EAChB;CACF;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-switch.cjs","names":["useId","useFieldProps","useRef","useControllableState","useCallback","mergeProps","visuallyHiddenAttributes","mergeRefs"],"sources":["../../../../src/components/switch/use-switch.ts"],"sourcesContent":["\"use client\"\n\nimport type {\n ChangeEvent,\n ChangeEventHandler,\n FocusEventHandler,\n KeyboardEvent,\n} from \"react\"\nimport type { HTMLProps, HTMLRefAttributes, PropGetter } from \"../../core\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback, useId, useRef } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { dataAttr, mergeRefs, visuallyHiddenAttributes } from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\nexport interface UseSwitchProps<Y extends number | string = string>\n extends\n Omit<HTMLProps<\"label\">, \"onBlur\" | \"onChange\" | \"onFocus\" | \"ref\">,\n HTMLRefAttributes<\"input\">,\n FieldProps {\n /**\n * If `true`, the switch will be checked.\n *\n * @default false\n */\n checked?: boolean\n /**\n * If `true`, the switch will be checked when the Enter key is pressed.\n *\n * @default true\n */\n checkOnEnter?: boolean\n /**\n * If `true`, the switch will be initially checked.\n *\n * @default false\n */\n defaultChecked?: boolean\n /**\n * id assigned to input.\n */\n id?: string\n /**\n * The HTML `name` attribute used for forms.\n */\n name?: string\n /**\n * The tab-index property of the underlying input element.\n */\n tabIndex?: number\n /**\n * The value to be used in the switch input.\n */\n value?: Y\n /**\n * The callback invoked when the switch is blurred.\n */\n onBlur?: FocusEventHandler<HTMLInputElement>\n /**\n * The callback invoked when the checked state changes.\n */\n onChange?: ChangeEventHandler<HTMLInputElement>\n /**\n * The callback invoked when the switch is focused.\n */\n onFocus?: FocusEventHandler<HTMLInputElement>\n}\n\nexport const useSwitch = <Y extends number | string = string>(\n props: UseSwitchProps<Y> = {},\n) => {\n const uuid = useId()\n const {\n props: {\n id = uuid,\n ref,\n name,\n checked: checkedProp,\n checkOnEnter = true,\n defaultChecked = false,\n disabled,\n readOnly,\n required,\n value,\n onChange: onChangeProp,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const interactive = !(readOnly || disabled)\n const inputRef = useRef<HTMLInputElement>(null)\n const [checked, setChecked] = useControllableState({\n defaultValue: defaultChecked,\n value: checkedProp,\n })\n\n const onChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n if (!interactive) return ev.preventDefault()\n\n setChecked(ev.target.checked)\n onChangeProp?.(ev)\n },\n [onChangeProp, setChecked, interactive],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLInputElement>) => {\n if (interactive && checkOnEnter && ev.key === \"Enter\")\n inputRef.current?.click()\n },\n [interactive, checkOnEnter],\n )\n\n const getRootProps: PropGetter<\"label\"> = useCallback(\n (props = {}) =>\n mergeProps(\n dataProps,\n { htmlFor: id, \"data-checked\": dataAttr(checked) },\n rest,\n props,\n )(),\n [checked, rest, id, dataProps],\n )\n\n const getTrackProps: PropGetter = useCallback(\n (props = {}) =>\n mergeProps(dataProps, { \"data-checked\": dataAttr(checked) }, props)(),\n [checked, dataProps],\n )\n\n const getThumbProps: PropGetter = useCallback(\n (props = {}) =>\n mergeProps(dataProps, { \"data-checked\": dataAttr(checked) }, props)(),\n [checked, dataProps],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => {\n const mergedProps = mergeProps(\n ariaProps,\n dataProps,\n {\n id,\n type: \"checkbox\",\n name,\n style: visuallyHiddenAttributes.style,\n checked,\n disabled,\n readOnly,\n required,\n role: \"switch\",\n tabIndex: interactive ? 0 : -1,\n value,\n },\n { onBlur: eventProps.onBlur, onFocus: eventProps.onFocus },\n props,\n { onChange, onKeyDown },\n )({ mergeRef: false })\n\n return {\n ...mergedProps,\n ref: mergeRefs(inputRef, props.ref, ref),\n }\n },\n [\n ariaProps,\n dataProps,\n id,\n name,\n checked,\n disabled,\n readOnly,\n required,\n interactive,\n value,\n ref,\n eventProps,\n onChange,\n onKeyDown,\n ],\n )\n\n const getLabelProps: PropGetter<\"span\"> = useCallback(\n (props = {}) =>\n mergeProps(dataProps, { \"data-checked\": dataAttr(checked) }, props)(),\n [dataProps, checked],\n )\n\n return {\n checked,\n getInputProps,\n getLabelProps,\n getRootProps,\n getThumbProps,\n getTrackProps,\n }\n}\n\nexport type UseSwitchReturn = ReturnType<typeof useSwitch>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-switch.cjs","names":["useId","useFieldProps","useRef","useControllableState","useCallback","mergeProps","visuallyHiddenAttributes","mergeRefs"],"sources":["../../../../src/components/switch/use-switch.ts"],"sourcesContent":["\"use client\"\n\nimport type {\n ChangeEvent,\n ChangeEventHandler,\n FocusEventHandler,\n KeyboardEvent,\n} from \"react\"\nimport type { HTMLProps, HTMLRefAttributes, PropGetter } from \"../../core\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback, useId, useRef } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { dataAttr, mergeRefs, visuallyHiddenAttributes } from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\nexport interface UseSwitchProps<Y extends number | string = string>\n extends\n Omit<HTMLProps<\"label\">, \"onBlur\" | \"onChange\" | \"onFocus\" | \"ref\">,\n HTMLRefAttributes<\"input\">,\n FieldProps {\n /**\n * If `true`, the switch will be checked.\n *\n * @default false\n */\n checked?: boolean\n /**\n * If `true`, the switch will be checked when the Enter key is pressed.\n *\n * @default true\n */\n checkOnEnter?: boolean\n /**\n * If `true`, the switch will be initially checked.\n *\n * @default false\n */\n defaultChecked?: boolean\n /**\n * id assigned to input.\n */\n id?: string\n /**\n * The HTML `name` attribute used for forms.\n */\n name?: string\n /**\n * The tab-index property of the underlying input element.\n */\n tabIndex?: number\n /**\n * The value to be used in the switch input.\n */\n value?: Y\n /**\n * The callback invoked when the switch is blurred.\n */\n onBlur?: FocusEventHandler<HTMLInputElement>\n /**\n * The callback invoked when the checked state changes.\n */\n onChange?: ChangeEventHandler<HTMLInputElement>\n /**\n * The callback invoked when the switch is focused.\n */\n onFocus?: FocusEventHandler<HTMLInputElement>\n}\n\nexport const useSwitch = <Y extends number | string = string>(\n props: UseSwitchProps<Y> = {},\n) => {\n const uuid = useId()\n const {\n props: {\n id = uuid,\n ref,\n name,\n checked: checkedProp,\n checkOnEnter = true,\n defaultChecked = false,\n disabled,\n readOnly,\n required,\n value,\n onChange: onChangeProp,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const interactive = !(readOnly || disabled)\n const inputRef = useRef<HTMLInputElement>(null)\n const [checked, setChecked] = useControllableState({\n defaultValue: defaultChecked,\n value: checkedProp,\n })\n\n const onChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n if (!interactive) return ev.preventDefault()\n\n setChecked(ev.target.checked)\n onChangeProp?.(ev)\n },\n [onChangeProp, setChecked, interactive],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLInputElement>) => {\n if (interactive && checkOnEnter && ev.key === \"Enter\")\n inputRef.current?.click()\n },\n [interactive, checkOnEnter],\n )\n\n const getRootProps: PropGetter<\"label\"> = useCallback(\n (props = {}) =>\n mergeProps(\n dataProps,\n { htmlFor: id, \"data-checked\": dataAttr(checked) },\n rest,\n props,\n )(),\n [checked, rest, id, dataProps],\n )\n\n const getTrackProps: PropGetter = useCallback(\n (props = {}) =>\n mergeProps(dataProps, { \"data-checked\": dataAttr(checked) }, props)(),\n [checked, dataProps],\n )\n\n const getThumbProps: PropGetter = useCallback(\n (props = {}) =>\n mergeProps(dataProps, { \"data-checked\": dataAttr(checked) }, props)(),\n [checked, dataProps],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => {\n const mergedProps = mergeProps(\n ariaProps,\n dataProps,\n {\n id,\n type: \"checkbox\",\n name,\n style: visuallyHiddenAttributes.style,\n checked,\n disabled,\n readOnly,\n required,\n role: \"switch\",\n tabIndex: interactive ? 0 : -1,\n value,\n },\n { onBlur: eventProps.onBlur, onFocus: eventProps.onFocus },\n props,\n { onChange, onKeyDown },\n )({ mergeRef: false })\n\n return {\n ...mergedProps,\n ref: mergeRefs(inputRef, props.ref, ref),\n }\n },\n [\n ariaProps,\n dataProps,\n id,\n name,\n checked,\n disabled,\n readOnly,\n required,\n interactive,\n value,\n ref,\n eventProps,\n onChange,\n onKeyDown,\n ],\n )\n\n const getLabelProps: PropGetter<\"span\"> = useCallback(\n (props = {}) =>\n mergeProps(dataProps, { \"data-checked\": dataAttr(checked) }, props)(),\n [dataProps, checked],\n )\n\n return {\n checked,\n getInputProps,\n getLabelProps,\n getRootProps,\n getThumbProps,\n getTrackProps,\n }\n}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B;CAEA,MAAM,iBAAA,GAA4BD,MAAAA,YAAAA,EAC/B,QAAQ,CAAC,MACRC,cAAAA,WAAW,WAAW,EAAE,iBAAA,GAAA,oBAAA,cAAgB,SAAA,CAAS,OAAO,EAAE,GAAG,KAAK,CAAC,CAAC,GACtE,CAAC,SAAS,SAAS,CACrB;CAsDA,OAAO;EACL;EACA,gBAAA,GAtDyCD,MAAAA,YAAAA,EACxC,QAAQ,CAAC,MAAM;GAsBd,OAAO;IACL,GAtBkBC,cAAAA,WAClB,WACA,WACA;KACE;KACA,MAAM;KACN;KACA,OAAOC,YAAAA,yBAAyB;KAChC;KACA;KACA;KACA;KACA,MAAM;KACN,UAAU,cAAc,IAAI;KAC5B;IACF,GACA;KAAE,QAAQ,WAAW;KAAQ,SAAS,WAAW;IAAQ,GACzD,OACA;KAAE;KAAU;IAAU,CACxB,CAAC,CAAC,EAAE,UAAU,MAAM,CAGL;IACb,KAAKC,YAAAA,UAAU,UAAU,MAAM,KAAK,GAAG;GACzC;EACF,GACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAWY;EACZ,gBAAA,GATwCH,MAAAA,YAAAA,EACvC,QAAQ,CAAC,MACRC,cAAAA,WAAW,WAAW,EAAE,iBAAA,GAAA,oBAAA,cAAgB,SAAA,CAAS,OAAO,EAAE,GAAG,KAAK,CAAC,CAAC,GACtE,CAAC,WAAW,OAAO,CAMP;EACZ;EACA;EACA;CACF;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.cjs","names":["createComponent","useI18n","useRef","useControllableState","useMemo","Checkbox","mergeProps","useReactTable","getCoreRowModel","getFilteredRowModel","getSortedRowModel","getPaginationRowModel","flexRender","focusRingStyle","ChevronUpIcon","ChevronsUpDownIcon","styled"],"sources":["../../../../src/components/table/table.tsx"],"sourcesContent":["\"use client\"\n\nimport type {\n AccessorFn,\n Cell,\n CellContext,\n ColumnDef,\n ColumnDefTemplate,\n ColumnFiltersColumnDef,\n ColumnFiltersState,\n ColumnMeta,\n ColumnPinningColumnDef,\n ColumnSizingColumnDef,\n GlobalFilterColumnDef,\n GroupingColumnDef,\n Header,\n HeaderContext,\n HeaderGroup,\n OnChangeFn,\n SortingState as OriginalSortingState,\n PaginationState,\n Table as ReactTable,\n Row,\n RowData,\n RowSelectionState,\n SortDirection,\n SortingColumnDef,\n TableOptions,\n VisibilityColumnDef,\n} from \"@tanstack/react-table\"\nimport type { FC, FocusEvent, KeyboardEvent, ReactElement } from \"react\"\nimport type { CSSProps, GenericsComponent, HTMLStyledProps } from \"../../core\"\nimport type { ReactNodeOrFunction, TransformProps } from \"../../utils\"\nimport type { CheckboxProps } from \"../checkbox\"\nimport {\n createColumnHelper,\n flexRender,\n getCoreRowModel,\n getFilteredRowModel,\n getPaginationRowModel,\n getSortedRowModel,\n useReactTable,\n} from \"@tanstack/react-table\"\nimport { useMemo, useRef } from \"react\"\nimport { createComponent, focusRingStyle, mergeProps, styled } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n ariaAttr,\n dataAttr,\n isFunction,\n runIfFn,\n runKeyAction,\n useUpdateEffect,\n} from \"../../utils\"\nimport { Checkbox } from \"../checkbox\"\nimport { ChevronsUpDownIcon, ChevronUpIcon } from \"../icon\"\nimport { NativeTable } from \"../native-table\"\n\ndeclare module \"@tanstack/react-table\" {\n interface ColumnDefExtensions<TData extends RowData, TValue = unknown>\n extends\n VisibilityColumnDef,\n ColumnPinningColumnDef,\n ColumnFiltersColumnDef<TData>,\n GlobalFilterColumnDef,\n SortingColumnDef<TData>,\n GroupingColumnDef<TData, TValue>,\n ColumnSizingColumnDef {}\n\n interface ColumnDefBase<TData extends RowData, TValue = unknown>\n extends\n ColumnDefExtensions<TData, TValue>,\n Pick<CSSProps, \"lineClamp\" | \"truncated\">,\n Pick<NativeTable.TdProps, \"numeric\"> {\n cell?: ColumnDefTemplate<CellContext<TData, TValue>>\n footer?: ColumnDefTemplate<HeaderContext<TData, TValue>>\n getUniqueValues?: AccessorFn<TData, unknown[]>\n meta?: ColumnMeta<TData, TValue>\n cellProps?: NativeTable.TdProps\n footerProps?: NativeTable.ThProps\n headerProps?: NativeTable.ThProps\n }\n}\n\nexport { createColumnHelper }\nexport type {\n ColumnDef,\n ColumnFiltersState,\n PaginationState,\n RowSelectionState,\n SortDirection,\n}\n\nfunction getMergeHeaderGroups(\n headerGroups: HeaderGroup<any>[],\n): HeaderGroup<any>[] {\n if (headerGroups.length <= 1) return headerGroups\n\n const columnsIds = new Set()\n\n return headerGroups.map((headerGroup, depth, { length: fullDepth }) => {\n return {\n ...headerGroup,\n headers: headerGroup.headers\n .filter((header) => !columnsIds.has(header.column.id))\n .map((header) => {\n columnsIds.add(header.column.id)\n\n return header.isPlaceholder\n ? { ...header, isPlaceholder: false, rowSpan: fullDepth - depth }\n : { ...header, rowSpan: 1 }\n }),\n }\n })\n}\n\nfunction getMergeFooterGroups(\n headerGroups: HeaderGroup<any>[],\n): HeaderGroup<any>[] {\n if (headerGroups.length <= 1) return headerGroups\n\n return headerGroups.map((headerGroup, depth) => {\n const nextHeaderGroups = headerGroups.slice(depth + 1)\n\n return {\n ...headerGroup,\n headers: headerGroup.headers\n .filter((header) => !header.isPlaceholder)\n .map((header) => {\n if (nextHeaderGroups.length === 0) return header\n\n const rowSpan = nextHeaderGroups.reduce((acc, nextHeaderGroup) => {\n const hasNextHeader = nextHeaderGroup.headers.some(\n (nextHeader) => nextHeader.column.id === header.column.id,\n )\n\n return acc + (hasNextHeader ? 1 : 0)\n }, 1)\n\n return { ...header, rowSpan }\n }),\n }\n })\n}\n\nexport interface ColumnSort<Y extends RowData> {\n desc: boolean\n id: keyof Y\n}\nexport type SortingState<Y extends RowData> = ColumnSort<Y>[]\n\ninterface ComponentContext extends Pick<\n TableProps<any>,\n | \"columnResizeMode\"\n | \"resizableTriggerProps\"\n | \"sortingIcon\"\n | \"sortingIconProps\"\n> {\n table: ReactTable<any>\n}\n\ninterface OmittedTableOptions<Y extends RowData> extends Omit<\n TableOptions<Y>,\n | \"getCoreRowModel\"\n | \"onColumnFiltersChange\"\n | \"onPaginationChange\"\n | \"onSortingChange\"\n> {}\n\ninterface PickedNativeTableProps extends Pick<\n NativeTable.RootProps,\n | \"className\"\n | \"highlightOnHover\"\n | \"highlightOnSelected\"\n | \"layout\"\n | \"scrollAreaProps\"\n | \"size\"\n | \"stickyFooter\"\n | \"stickyHeader\"\n | \"striped\"\n | \"variant\"\n | \"withBorder\"\n | \"withColumnBorders\"\n | \"withScrollArea\"\n> {}\n\nexport interface TableProps<Y extends RowData>\n extends\n OmittedTableOptions<Y>,\n PickedNativeTableProps,\n Pick<CSSProps, \"colorScheme\" | \"lineClamp\" | \"truncated\"> {\n /**\n * The column filters state of the table.\n */\n columnFilters?: ColumnFiltersState\n /**\n * The default column filters state of the table.\n */\n defaultColumnFilters?: ColumnFiltersState\n /**\n * The default pagination state of the table.\n */\n defaultPagination?: PaginationState\n /**\n * The default row selection state of the table.\n */\n defaultRowSelection?: RowSelectionState\n /**\n * The default sorting state of the table.\n */\n defaultSorting?: SortingState<Y>\n /**\n * If `true`, the table width will be automatically resized to the content.\n *\n * @default false\n */\n enableAutoResizeTableWidth?: boolean\n /**\n * If `true`, the keyboard navigation will be enabled.\n *\n * @default true\n */\n enableKeyboardNavigation?: boolean\n /**\n * If `true`, the pagination will be enabled.\n *\n * @default false\n */\n enablePagination?: boolean\n /**\n * The footer of the table.\n */\n footer?: ReactNodeOrFunction<ReactTable<Y>>\n /**\n * The header of the table.\n */\n header?: ReactNodeOrFunction<ReactTable<Y>>\n /**\n * The initial focusable cell of the table.\n *\n * @default {rowIndex: 0, colIndex: 0}\n */\n initialFocusableCell?: { colIndex: number; rowIndex: number }\n /**\n * The pagination state of the table.\n */\n pagination?: PaginationState\n /**\n * The row selection state of the table.\n */\n rowSelection?: RowSelectionState\n /**\n * If `true`, the row will be selected when the row is clicked.\n *\n * @default false\n */\n selectOnClickRow?: boolean\n /**\n * The sorting state of the table.\n */\n sorting?: SortingState<Y>\n /**\n * The sorting icon of the table.\n */\n sortingIcon?: ReactNodeOrFunction<false | SortDirection>\n /**\n * If `true`, the table will have a checkbox column.\n *\n * @default true\n */\n withCheckbox?: boolean\n /**\n * If `true`, the table will have a checkbox in the footer.\n *\n * @default false\n */\n withFooterCheckbox?: boolean\n /**\n * If `true`, the table will have footer groups.\n *\n * @default false\n */\n withFooterGroups?: boolean\n /**\n * The props for the table cell.\n */\n cellProps?: TransformProps<NativeTable.TdProps, Cell<Y, unknown>>\n /**\n * The props for the checkbox.\n */\n checkboxProps?: CheckboxProps\n /**\n * The props for the table footer group.\n */\n footerGroupProps?: TransformProps<NativeTable.TrProps, HeaderGroup<Y>>\n /**\n * The props for the table footer.\n */\n footerProps?: TransformProps<NativeTable.ThProps, Header<Y, unknown>>\n /**\n * The props for the table header checkbox.\n */\n headerCheckboxProps?: TransformProps<CheckboxProps, Header<Y, unknown>>\n /**\n * The props for the table header group.\n */\n headerGroupProps?: TransformProps<NativeTable.TrProps, HeaderGroup<Y>>\n /**\n * The props for the table header.\n */\n headerProps?: TransformProps<NativeTable.ThProps, Header<Y, unknown>>\n /**\n * The props for the resizable trigger.\n */\n resizableTriggerProps?: TransformProps<\n Omit<ResizableTriggerProps, \"resizing\">,\n Header<Y, unknown>\n >\n /**\n * The props for the table row checkbox.\n */\n rowCheckboxProps?: TransformProps<CheckboxProps, Row<Y>>\n /**\n * The props for the table row.\n */\n rowProps?: TransformProps<NativeTable.TrProps, Row<Y>>\n /**\n * The props for the sorting icon.\n */\n sortingIconProps?: TransformProps<\n Omit<SortingIconProps, \"sorted\">,\n Header<Y, unknown>\n >\n /**\n * The props for the table.\n */\n tableProps?: NativeTable.RootProps\n /**\n * The props for the table tbody.\n */\n tbodyProps?: NativeTable.TbodyProps\n /**\n * The props for the table tfoot.\n */\n tfootProps?: NativeTable.TfootProps\n /**\n * The props for the table thead.\n */\n theadProps?: NativeTable.TheadProps\n /**\n * The callback invoked when the column filters state changes.\n */\n onColumnFiltersChange?: (columnFilters: ColumnFiltersState) => void\n /**\n * The callback invoked when the pagination state changes.\n */\n onPaginationChange?: (pagination: PaginationState) => void\n /**\n * The callback invoked when the row is clicked.\n */\n onRowClick?: (row: Row<Y>) => void\n /**\n * The callback invoked when the row is double clicked.\n */\n onRowDoubleClick?: (row: Row<Y>) => void\n /**\n * The callback invoked when the sorting state changes.\n */\n onSortingChange?: (sorting: SortingState<Y>) => void\n}\n\nconst {\n ComponentContext,\n PropsContext: TablePropsContext,\n useComponentContext,\n usePropsContext: useTablePropsContext,\n withContext,\n} = createComponent<TableProps<any>, any, ComponentContext>(\"table\")\n\nexport { TablePropsContext, useTablePropsContext }\n\n/**\n * `Table` is a table component equipped with column sorting, row selection, and click event features.\n *\n * @see https://yamada-ui.com/docs/components/table\n */\nexport const Table = withContext(\n <Y extends RowData>({\n className,\n colorScheme,\n size,\n variant,\n columnFilters: columnFiltersProp,\n columnResizeMode = \"onChange\",\n columns: columnsProp,\n data,\n defaultColumnFilters,\n defaultPagination = { pageIndex: 0, pageSize: 20 },\n defaultRowSelection = {},\n defaultSorting,\n enableAutoResizeTableWidth = false,\n enableColumnResizing = false,\n enableKeyboardNavigation = true,\n enablePagination = false,\n enableRowSelection = false,\n footer,\n header,\n highlightOnHover = !!enableRowSelection,\n highlightOnSelected = !!enableRowSelection,\n initialFocusableCell = { colIndex: 0, rowIndex: 0 },\n layout,\n lineClamp,\n manualPagination,\n pagination: paginationProp,\n rowCount: totalRowCount,\n rowSelection: rowSelectionProp,\n selectOnClickRow = false,\n sortDescFirst = false,\n sorting: sortingProp,\n sortingIcon,\n state,\n stickyFooter,\n stickyHeader,\n striped,\n truncated,\n withBorder,\n withCheckbox = true,\n withColumnBorders,\n withFooterCheckbox = false,\n withFooterGroups = false,\n withScrollArea,\n cellProps,\n checkboxProps,\n footerGroupProps,\n footerProps,\n headerCheckboxProps,\n headerGroupProps,\n headerProps,\n resizableTriggerProps,\n rowCheckboxProps,\n rowProps,\n scrollAreaProps,\n sortingIconProps,\n tableProps,\n tbodyProps,\n tfootProps,\n theadProps,\n onColumnFiltersChange: onColumnFiltersChangeProp,\n onPaginationChange: onPaginationChangeProp,\n onRowClick,\n onRowDoubleClick,\n onRowSelectionChange: onRowSelectionChangeProp,\n onSortingChange: onSortingChangeProp,\n ...rest\n }: TableProps<Y>) => {\n const { t } = useI18n(\"table\")\n const initialFocus = useRef<boolean>(false)\n const ref = useRef<HTMLTableElement>(null)\n const focusedCell = useRef<null | { colIndex: number; rowIndex: number }>(\n null,\n )\n const [rowSelection, onRowSelectionChange] = useControllableState({\n defaultValue: defaultRowSelection,\n value: rowSelectionProp,\n onChange: onRowSelectionChangeProp,\n })\n const [sorting, onSortingChange] = useControllableState({\n defaultValue: defaultSorting,\n value: sortingProp,\n onChange: onSortingChangeProp,\n })\n const [pagination, onPaginationChange] = useControllableState({\n defaultValue: defaultPagination,\n value: paginationProp,\n onChange: onPaginationChangeProp,\n })\n const [columnFilters, onColumnFiltersChange] = useControllableState({\n defaultValue: defaultColumnFilters,\n value: columnFiltersProp,\n onChange: onColumnFiltersChangeProp,\n })\n const columns = useMemo(() => {\n if (!enableRowSelection || !withCheckbox) return columnsProp\n\n const clonedColumns = [...columnsProp]\n\n const header = ({ header, table }: HeaderContext<Y, any>) => {\n return (\n <Checkbox\n {...mergeProps(\n {\n checked: table.getIsAllRowsSelected(),\n indeterminate: table.getIsSomeRowsSelected(),\n indicatorProps: { outline: \"none\" },\n inputProps: {\n \"aria-label\": t(\"Select all rows\"),\n \"data-focusable\": \"\",\n tabIndex: -1,\n },\n onChange: table.getToggleAllRowsSelectedHandler(),\n },\n checkboxProps ?? {},\n runIfFn(headerCheckboxProps, header) ?? {},\n )()}\n />\n )\n }\n\n const cell = ({ row }: CellContext<Y, any>) => {\n return (\n <Checkbox\n {...mergeProps(\n {\n checked: row.getIsSelected(),\n disabled: !row.getCanSelect(),\n indeterminate: row.getIsSomeSelected(),\n indicatorProps: { outline: \"none\" },\n inputProps: {\n \"aria-label\": t(\"Select row\"),\n \"data-focusable\": \"\",\n tabIndex: -1,\n },\n onChange: row.getToggleSelectedHandler(),\n },\n checkboxProps ?? {},\n runIfFn(rowCheckboxProps, row) ?? {},\n )()}\n />\n )\n }\n\n clonedColumns.unshift({\n id: \"select\",\n cell,\n header,\n ...(withFooterCheckbox\n ? { footer: header }\n : { footerProps: { \"aria-hidden\": \"true\" } }),\n cellProps: { verticalAlign: \"middle\" },\n headerProps: { w: \"calc({spaces.4} + {space-x} * 2)\" },\n })\n\n return clonedColumns\n }, [\n checkboxProps,\n columnsProp,\n enableRowSelection,\n headerCheckboxProps,\n rowCheckboxProps,\n t,\n withCheckbox,\n withFooterCheckbox,\n ])\n const table = useReactTable<Y>({\n columnResizeMode,\n columns,\n data,\n enableColumnResizing,\n enableRowSelection,\n getCoreRowModel: getCoreRowModel(),\n getFilteredRowModel: getFilteredRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination,\n rowCount: totalRowCount,\n sortDescFirst,\n state: {\n columnFilters,\n pagination: enablePagination ? pagination : undefined,\n rowSelection,\n sorting: sorting as OriginalSortingState,\n ...state,\n },\n onColumnFiltersChange,\n onPaginationChange,\n onRowSelectionChange,\n onSortingChange: onSortingChange as OnChangeFn<OriginalSortingState>,\n ...(enablePagination\n ? { getPaginationRowModel: getPaginationRowModel() }\n : {}),\n ...rest,\n })\n const headerGroups = table.getHeaderGroups()\n const mergedHeaderGroups = getMergeHeaderGroups(headerGroups)\n const rows = table.getRowModel().rows\n const footerGroups = table.getFooterGroups()\n const mergedFooterGroups = getMergeFooterGroups(\n withFooterGroups ? footerGroups : [],\n )\n const headerGroupCount = headerGroups.length\n const rowCount = rows.length\n const colCount = table.getAllLeafColumns().length\n const maxColIndex = colCount - 1\n const pageIndex = enablePagination\n ? table.getState().pagination.pageIndex\n : 0\n const cellMap = useMemo(() => {\n const cellMap = new Map<string, string>()\n\n if (!enableKeyboardNavigation) return cellMap\n\n const insertCellMap = (\n id: string,\n colSpan: number,\n rowSpan: number,\n colIndex: number,\n rowIndex: number,\n ) => {\n for (let i = 0; i < colSpan; i++)\n cellMap.set(`${colIndex + i}-${rowIndex}`, `${colIndex}-${rowIndex}`)\n\n for (let i = 1; i < rowSpan; i++)\n cellMap.set(`${colIndex}-${rowIndex + i}`, `${colIndex}-${rowIndex}`)\n }\n\n const insertCellMapByHeaderGroup = (\n headerGroup: HeaderGroup<Y>,\n rowIndex: number,\n ) => {\n let placeholderCount = 0\n\n headerGroup.headers.forEach((header) => {\n const colSpan = header.colSpan || 1\n const rowSpan = header.rowSpan || 1\n const colIndex = header.index + placeholderCount\n\n placeholderCount += colSpan - 1\n\n insertCellMap(header.id, colSpan, rowSpan, colIndex, rowIndex)\n })\n }\n\n mergedHeaderGroups.forEach((headerGroup, rowIndex) => {\n insertCellMapByHeaderGroup(headerGroup, rowIndex)\n })\n\n rows.forEach((row, rowIndex) => {\n rowIndex += headerGroupCount\n\n row.getVisibleCells().forEach((cell) => {\n const colIndex = cell.column.getIndex()\n\n insertCellMap(cell.id, 1, 1, colIndex, rowIndex)\n })\n })\n\n mergedFooterGroups.forEach((footerGroup, rowIndex) => {\n rowIndex += headerGroupCount + rowCount\n\n insertCellMapByHeaderGroup(footerGroup, rowIndex)\n })\n\n return cellMap\n }, [\n enableKeyboardNavigation,\n headerGroupCount,\n mergedFooterGroups,\n mergedHeaderGroups,\n rows,\n rowCount,\n ])\n const context = useMemo(\n () => ({\n columnResizeMode,\n sortingIcon,\n table,\n resizableTriggerProps,\n sortingIconProps,\n }),\n [\n columnResizeMode,\n sortingIcon,\n sortingIconProps,\n resizableTriggerProps,\n table,\n ],\n )\n const getCell = (\n evOrEl:\n | Element\n | FocusEvent<HTMLTableElement>\n | KeyboardEvent<HTMLTableElement>\n | null\n | undefined,\n ) => {\n if (!evOrEl) return\n\n const el =\n evOrEl instanceof HTMLElement\n ? evOrEl.closest(\"th, td\")\n : \"target\" in evOrEl && evOrEl.target instanceof HTMLElement\n ? evOrEl.target.closest(\"th, td\")\n : null\n\n if (!(el instanceof HTMLTableCellElement)) return\n\n const { colindex, rowindex } = el.dataset\n const { colSpan, rowSpan } = el\n\n if (!colindex || !rowindex) return\n\n const colIndex = parseInt(colindex)\n const rowIndex = parseInt(rowindex)\n\n return { colIndex, colSpan, el, rowIndex, rowSpan }\n }\n const getShouldFocusCell = (colIndex: number, rowIndex: number) => {\n const [trulyColIndex, trulyRowIndex] =\n cellMap.get(`${colIndex}-${rowIndex}`)?.split(\"-\") ?? []\n\n if (!trulyColIndex || !trulyRowIndex) return\n\n const targetEl = ref.current?.querySelector(\n `[data-colindex=\"${trulyColIndex}\"][data-rowindex=\"${trulyRowIndex}\"]`,\n )\n\n if (!targetEl || !(targetEl instanceof HTMLTableCellElement)) return\n\n return targetEl\n }\n const removeTabIndex = (el: Element | null | undefined) => {\n if (!el || !(el instanceof HTMLElement)) return\n\n el.tabIndex = -1\n el.querySelectorAll(\"[data-focusable]\").forEach((el) => {\n if (el instanceof HTMLElement) el.tabIndex = -1\n })\n }\n const onCellFocus = (\n el: HTMLTableCellElement | null | undefined,\n colIndex: number,\n rowIndex: number,\n ) => {\n const targetEl = getShouldFocusCell(colIndex, rowIndex)\n\n if (!targetEl) return\n\n focusedCell.current = { colIndex, rowIndex }\n\n removeTabIndex(el)\n\n const shouldFocusEl =\n targetEl.querySelector(\"[data-focusable]\") ?? targetEl\n\n if (shouldFocusEl instanceof HTMLElement) {\n shouldFocusEl.tabIndex = 0\n shouldFocusEl.focus()\n }\n }\n const onFocus = (ev: FocusEvent<HTMLTableElement>) => {\n if (initialFocus.current) return\n\n initialFocus.current = true\n\n const cell = getCell(ev)\n\n if (!cell) return\n\n onCellFocus(cell.el, cell.colIndex, cell.rowIndex)\n }\n const onKeyDown = (ev: KeyboardEvent<HTMLTableElement>) => {\n if (!enableKeyboardNavigation) return\n\n const cell = getCell(ev)\n\n if (!cell) return\n\n runKeyAction(ev, {\n ArrowDown: () =>\n onCellFocus(cell.el, cell.colIndex, cell.rowIndex + cell.rowSpan),\n ArrowLeft: () => onCellFocus(cell.el, cell.colIndex - 1, cell.rowIndex),\n ArrowRight: () =>\n onCellFocus(cell.el, cell.colIndex + cell.colSpan, cell.rowIndex),\n ArrowUp: () => onCellFocus(cell.el, cell.colIndex, cell.rowIndex - 1),\n End: () => onCellFocus(cell.el, maxColIndex, cell.rowIndex),\n Home: () => onCellFocus(cell.el, 0, cell.rowIndex),\n ...(enablePagination\n ? {\n PageDown: () => {\n if (!table.getCanNextPage()) return\n\n table.setPageIndex(pageIndex + 1)\n },\n PageUp: () => {\n if (!table.getCanPreviousPage()) return\n\n table.setPageIndex(pageIndex - 1)\n },\n }\n : {}),\n })\n }\n const getTabIndex = (colIndex: number, rowIndex: number) => {\n if (!enableKeyboardNavigation) return undefined\n\n return colIndex === initialFocusableCell.colIndex &&\n rowIndex === initialFocusableCell.rowIndex\n ? 0\n : undefined\n }\n\n useUpdateEffect(() => {\n if (!enableKeyboardNavigation) return\n\n const { colIndex, rowIndex } = focusedCell.current ?? initialFocusableCell\n const targetEl = getShouldFocusCell(colIndex, rowIndex)\n\n if (targetEl) targetEl.tabIndex = 0\n }, [pageIndex, enableKeyboardNavigation])\n\n return (\n <ComponentContext value={context}>\n {header ? runIfFn(header, table) : null}\n\n <NativeTable.Root\n {...mergeProps(\n {\n ref,\n className,\n style:\n enableColumnResizing && enableAutoResizeTableWidth\n ? { width: table.getCenterTotalSize() }\n : {},\n colorScheme,\n size,\n variant,\n \"aria-colcount\": colCount,\n \"aria-multiselectable\": enableRowSelection ? \"true\" : undefined,\n \"aria-rowcount\": totalRowCount || data.length,\n highlightOnHover,\n highlightOnSelected,\n layout,\n role: \"grid\",\n stickyFooter,\n stickyHeader,\n striped,\n withBorder,\n withColumnBorders,\n withScrollArea,\n scrollAreaProps,\n onFocus,\n onKeyDown,\n },\n tableProps ?? {},\n )()}\n >\n <NativeTable.Thead {...theadProps}>\n {mergedHeaderGroups.map((headerGroup, rowIndex) => {\n let placeholderCount = 0\n\n return (\n <NativeTable.Tr\n key={headerGroup.id}\n aria-rowindex={rowIndex + 1}\n role=\"row\"\n {...runIfFn(headerGroupProps, headerGroup)}\n >\n {headerGroup.headers.map((header) => {\n const { columnDef } = header.column\n const colIndex = header.index + placeholderCount\n const tabIndex = getTabIndex(colIndex, rowIndex)\n const canSort = header.column.getCanSort()\n const sorted = header.column.getIsSorted()\n const canResize = header.column.getCanResize()\n const resizing = header.column.getIsResizing()\n const children = header.isPlaceholder\n ? null\n : flexRender(\n header.column.columnDef.header,\n header.getContext(),\n )\n\n placeholderCount += (header.colSpan || 1) - 1\n\n return (\n <NativeTable.Th\n key={header.id}\n aria-colindex={colIndex + 1}\n aria-rowindex={rowIndex + 1}\n aria-sort={\n sorted\n ? sorted === \"asc\"\n ? \"ascending\"\n : \"descending\"\n : \"none\"\n }\n data-colindex={colIndex}\n data-rowindex={rowIndex}\n colSpan={header.colSpan || undefined}\n numeric={columnDef.numeric}\n pe={\n canSort\n ? \"calc((1rem * {lineHeights.moderate}) + {space-x})\"\n : undefined\n }\n position=\"relative\"\n role=\"columnheader\"\n rowSpan={header.rowSpan || undefined}\n tabIndex={tabIndex}\n {...mergeProps(\n {\n css: {\n \"&:has([data-focusable]:focus-visible)\":\n focusRingStyle.outline,\n },\n style: enableColumnResizing\n ? { width: header.getSize() }\n : {},\n },\n runIfFn(headerProps, header) ?? {},\n columnDef.headerProps ?? {},\n )()}\n >\n <TruncatedText\n lineClamp={columnDef.lineClamp ?? lineClamp}\n truncated={columnDef.truncated ?? truncated}\n >\n {children}\n </TruncatedText>\n\n {canSort ? (\n <SortingIcon\n sorted={sorted}\n onClick={header.column.getToggleSortingHandler()}\n />\n ) : null}\n\n {canResize ? (\n <ResizableTrigger\n resizing={resizing}\n onDoubleClick={header.column.resetSize}\n onMouseDown={header.getResizeHandler()}\n onTouchStart={header.getResizeHandler()}\n />\n ) : null}\n </NativeTable.Th>\n )\n })}\n </NativeTable.Tr>\n )\n })}\n </NativeTable.Thead>\n\n <NativeTable.Tbody {...tbodyProps}>\n {rows.map((row, rowIndex) => {\n rowIndex += headerGroupCount\n\n const selected = !!rowSelection[row.id]\n const disabled =\n isFunction(enableRowSelection) && !enableRowSelection(row)\n\n return (\n <NativeTable.Tr\n id={row.id}\n key={row.id}\n aria-disabled={ariaAttr(disabled)}\n aria-rowindex={rowIndex + 1}\n aria-selected={ariaAttr(selected)}\n data-disabled={dataAttr(disabled)}\n data-selected={dataAttr(selected)}\n role=\"row\"\n {...mergeProps(\n {\n onClick:\n !disabled && selectOnClickRow\n ? () => row.toggleSelected(!selected)\n : undefined,\n },\n {\n onClick: !disabled ? () => onRowClick?.(row) : undefined,\n onDoubleClick: !disabled\n ? () => onRowDoubleClick?.(row)\n : undefined,\n },\n runIfFn(rowProps, row) ?? {},\n )()}\n >\n {row.getVisibleCells().map((cell) => {\n const { columnDef } = cell.column\n const colIndex = cell.column.getIndex()\n const tabIndex = getTabIndex(colIndex, rowIndex)\n const children = flexRender(\n cell.column.columnDef.cell,\n cell.getContext(),\n )\n\n return (\n <NativeTable.Td\n key={cell.id}\n aria-colindex={colIndex + 1}\n aria-rowindex={rowIndex + 1}\n data-colindex={colIndex}\n data-rowindex={rowIndex}\n numeric={columnDef.numeric}\n role=\"gridcell\"\n tabIndex={tabIndex}\n {...mergeProps(\n {\n css: {\n \"&:has([data-focusable]:focus-visible)\":\n focusRingStyle.outline,\n },\n },\n runIfFn(cellProps, cell) ?? {},\n columnDef.cellProps ?? {},\n )()}\n >\n <TruncatedText\n lineClamp={columnDef.lineClamp ?? lineClamp}\n truncated={columnDef.truncated ?? truncated}\n >\n {children}\n </TruncatedText>\n </NativeTable.Td>\n )\n })}\n </NativeTable.Tr>\n )\n })}\n </NativeTable.Tbody>\n\n {withFooterGroups ? (\n <NativeTable.Tfoot {...tfootProps}>\n {mergedFooterGroups.map((footerGroup, rowIndex) => {\n rowIndex += headerGroupCount + rowCount\n\n let placeholderCount = 0\n\n return (\n <NativeTable.Tr\n key={footerGroup.id}\n aria-rowindex={rowIndex + 1}\n role=\"row\"\n {...runIfFn(footerGroupProps, footerGroup)}\n >\n {footerGroup.headers.map((header) => {\n const { columnDef } = header.column\n const colIndex = header.index + placeholderCount\n const tabIndex = getTabIndex(colIndex, rowIndex)\n const children = header.isPlaceholder\n ? null\n : flexRender(\n header.column.columnDef.footer,\n header.getContext(),\n )\n\n placeholderCount += (header.colSpan || 1) - 1\n\n return (\n <NativeTable.Td\n key={header.id}\n aria-colindex={colIndex + 1}\n aria-rowindex={rowIndex + 1}\n data-colindex={colIndex}\n data-rowindex={rowIndex}\n colSpan={header.colSpan || undefined}\n numeric={columnDef.numeric}\n role=\"gridcell\"\n rowSpan={header.rowSpan || undefined}\n tabIndex={tabIndex}\n {...mergeProps(\n {\n css: {\n \"&:has([data-focusable]:focus-visible)\":\n focusRingStyle.outline,\n },\n },\n runIfFn(footerProps, header) ?? {},\n columnDef.footerProps ?? {},\n )()}\n >\n <TruncatedText\n lineClamp={columnDef.lineClamp ?? lineClamp}\n truncated={columnDef.truncated ?? truncated}\n >\n {children}\n </TruncatedText>\n </NativeTable.Td>\n )\n })}\n </NativeTable.Tr>\n )\n })}\n </NativeTable.Tfoot>\n ) : null}\n </NativeTable.Root>\n\n {footer ? runIfFn(footer, table) : null}\n </ComponentContext>\n )\n },\n)() as GenericsComponent<{\n <Y extends RowData>(props: TableProps<Y>): ReactElement\n}>\n\ninterface SortingIconProps extends HTMLStyledProps<\"button\"> {\n sorted: false | SortDirection\n}\n\nconst SortingIcon: FC<SortingIconProps> = ({ sorted, ...rest }) => {\n const { t } = useI18n(\"table\")\n const { sortingIcon, sortingIconProps = {} } = useComponentContext()\n const Icon = sorted ? ChevronUpIcon : ChevronsUpDownIcon\n\n return (\n <styled.button\n type=\"button\"\n layerStyle=\"ghost\"\n colorScheme=\"mono\"\n aria-label={t(\n sorted\n ? sorted === \"desc\"\n ? \"Sort descending\"\n : \"Sort ascending\"\n : \"Clear sorting\",\n )}\n data-focusable\n aspectRatio=\"1\"\n cursor=\"pointer\"\n display=\"center\"\n focusVisibleRing=\"none\"\n h=\"calc(1em * {lineHeights.moderate})\"\n position=\"absolute\"\n right=\"{space-x}\"\n rounded=\"l1\"\n tabIndex={-1}\n top=\"50%\"\n transform=\"translateY(-50%)\"\n transitionDuration=\"moderate\"\n transitionProperty=\"common\"\n _hover={{ layerStyle: \"ghost.hover\" }}\n {...mergeProps(rest, sortingIconProps)()}\n >\n {runIfFn(sortingIcon, sorted) ?? (\n <Icon transform={`rotate(${sorted === \"desc\" ? 180 : 0}deg)`} />\n )}\n </styled.button>\n )\n}\n\ninterface ResizableTriggerProps extends HTMLStyledProps {\n resizing: boolean\n}\n\nconst ResizableTrigger: FC<ResizableTriggerProps> = ({ resizing, ...rest }) => {\n const {\n columnResizeMode,\n table,\n resizableTriggerProps = {},\n } = useComponentContext()\n const offset = table.getState().columnSizingInfo.deltaOffset\n\n return (\n <styled.div\n data-active={dataAttr(resizing)}\n bg=\"colorScheme.solid\"\n cursor=\"col-resize\"\n insetY=\"0\"\n opacity={{ base: \"0\", _hover: \"1\", _active: \"1\" }}\n position=\"absolute\"\n right=\"0\"\n touchAction=\"none\"\n transform={`translateX(${columnResizeMode === \"onEnd\" && resizing && offset ? `${offset}px` : \"50%\"})`}\n userSelect=\"none\"\n w=\"1\"\n {...mergeProps(rest, resizableTriggerProps)()}\n />\n )\n}\n\ninterface TruncatedTextProps extends HTMLStyledProps<\"span\"> {}\n\nconst TruncatedText: FC<TruncatedTextProps> = ({\n children,\n lineClamp,\n truncated,\n ...rest\n}) => {\n if (lineClamp || truncated)\n return (\n <styled.span\n lineClamp={lineClamp}\n truncated={truncated}\n wordBreak=\"break-all\"\n {...rest}\n >\n {children}\n </styled.span>\n )\n else return children\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA8FA,SAAS,qBACP,cACoB;CACpB,IAAI,aAAa,UAA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AS;EACT,OAAM;EACN,SAAQ;EACR,UAAU;EACV,KAAI;EACJ,WAAU;EACV,oBAAmB;EACnB,oBAAmB;EACnB,QAAQ,EAAE,YAAY,cAAc;EACpC,GAAIV,cAAAA,WAAW,MAAM,gBAAgB,CAAC,CAAC;EAEtC,WAAA,GAAA,oBAAA,cAAA,QAAA,CAAQ,aAAa,MAAM,KAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD,EAAM,WAAW,UAAU,WAAW,SAAS,MAAM,EAAE,MAAQ,CAAA;CAEpD,CAAA;AAEnB;AAMA,MAAM,oBAA+C,EAAE,UAAU,GAAG,WAAW;CAC7E,MAAM,EACJ,kBACA,OACA,wBAAwB,CAAC,MACvB,oBAAoB;CACxB,MAAM,SAAS,MAAM,SAAS,CAAC,CAAC,iBAAiB;CAEjD,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACU,gBAAAA,OAAO,KAAR;EACE,gBAAA,GAAA,oBAAA,cAAa,SAAA,CAAS,QAAQ;EAC9B,IAAG;EACH,QAAO;EACP,QAAO;EACP,SAAS;GAAE,MAAM;GAAK,QAAQ;GAAK,SAAS;EAAI;EAChD,UAAS;EACT,OAAM;EACN,aAAY;EACZ,WAAW,cAAc,qBAAqB,WAAW,YAAY,SAAS,GAAG,OAAO,MAAM,MAAM;EACpG,YAAW;EACX,GAAE;EACF,GAAIV,cAAAA,WAAW,MAAM,qBAAqB,CAAC,CAAC;CAC7C,CAAA;AAEL;AAIA,MAAM,iBAAyC,EAC7C,UACA,WACA,WACA,GAAG,WACC;CACJ,IAAI,aAAa,WACf,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACU,gBAAAA,OAAO,MAAR;EACa;EACA;EACX,WAAU;EACV,GAAI;EAEH;CACU,CAAA;MAEZ,OAAO;AACd"}
|
|
1
|
+
{"version":3,"file":"table.cjs","names":["createComponent","useI18n","useRef","useControllableState","useMemo","Checkbox","mergeProps","useReactTable","getCoreRowModel","getFilteredRowModel","getSortedRowModel","getPaginationRowModel","flexRender","focusRingStyle","ChevronUpIcon","ChevronsUpDownIcon","styled"],"sources":["../../../../src/components/table/table.tsx"],"sourcesContent":["\"use client\"\n\nimport type {\n AccessorFn,\n Cell,\n CellContext,\n ColumnDef,\n ColumnDefTemplate,\n ColumnFiltersColumnDef,\n ColumnFiltersState,\n ColumnMeta,\n ColumnPinningColumnDef,\n ColumnSizingColumnDef,\n GlobalFilterColumnDef,\n GroupingColumnDef,\n Header,\n HeaderContext,\n HeaderGroup,\n OnChangeFn,\n SortingState as OriginalSortingState,\n PaginationState,\n Table as ReactTable,\n Row,\n RowData,\n RowSelectionState,\n SortDirection,\n SortingColumnDef,\n TableOptions,\n VisibilityColumnDef,\n} from \"@tanstack/react-table\"\nimport type { FC, FocusEvent, KeyboardEvent, ReactElement } from \"react\"\nimport type { CSSProps, GenericsComponent, HTMLStyledProps } from \"../../core\"\nimport type { ReactNodeOrFunction, TransformProps } from \"../../utils\"\nimport type { CheckboxProps } from \"../checkbox\"\nimport {\n createColumnHelper,\n flexRender,\n getCoreRowModel,\n getFilteredRowModel,\n getPaginationRowModel,\n getSortedRowModel,\n useReactTable,\n} from \"@tanstack/react-table\"\nimport { useMemo, useRef } from \"react\"\nimport { createComponent, focusRingStyle, mergeProps, styled } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n ariaAttr,\n dataAttr,\n isFunction,\n runIfFn,\n runKeyAction,\n useUpdateEffect,\n} from \"../../utils\"\nimport { Checkbox } from \"../checkbox\"\nimport { ChevronsUpDownIcon, ChevronUpIcon } from \"../icon\"\nimport { NativeTable } from \"../native-table\"\n\ndeclare module \"@tanstack/react-table\" {\n interface ColumnDefExtensions<TData extends RowData, TValue = unknown>\n extends\n VisibilityColumnDef,\n ColumnPinningColumnDef,\n ColumnFiltersColumnDef<TData>,\n GlobalFilterColumnDef,\n SortingColumnDef<TData>,\n GroupingColumnDef<TData, TValue>,\n ColumnSizingColumnDef {}\n\n interface ColumnDefBase<TData extends RowData, TValue = unknown>\n extends\n ColumnDefExtensions<TData, TValue>,\n Pick<CSSProps, \"lineClamp\" | \"truncated\">,\n Pick<NativeTable.TdProps, \"numeric\"> {\n cell?: ColumnDefTemplate<CellContext<TData, TValue>>\n footer?: ColumnDefTemplate<HeaderContext<TData, TValue>>\n getUniqueValues?: AccessorFn<TData, unknown[]>\n meta?: ColumnMeta<TData, TValue>\n cellProps?: NativeTable.TdProps\n footerProps?: NativeTable.ThProps\n headerProps?: NativeTable.ThProps\n }\n}\n\nexport { createColumnHelper }\nexport type {\n ColumnDef,\n ColumnFiltersState,\n PaginationState,\n RowSelectionState,\n SortDirection,\n}\n\nfunction getMergeHeaderGroups(\n headerGroups: HeaderGroup<any>[],\n): HeaderGroup<any>[] {\n if (headerGroups.length <= 1) return headerGroups\n\n const columnsIds = new Set()\n\n return headerGroups.map((headerGroup, depth, { length: fullDepth }) => {\n return {\n ...headerGroup,\n headers: headerGroup.headers\n .filter((header) => !columnsIds.has(header.column.id))\n .map((header) => {\n columnsIds.add(header.column.id)\n\n return header.isPlaceholder\n ? { ...header, isPlaceholder: false, rowSpan: fullDepth - depth }\n : { ...header, rowSpan: 1 }\n }),\n }\n })\n}\n\nfunction getMergeFooterGroups(\n headerGroups: HeaderGroup<any>[],\n): HeaderGroup<any>[] {\n if (headerGroups.length <= 1) return headerGroups\n\n return headerGroups.map((headerGroup, depth) => {\n const nextHeaderGroups = headerGroups.slice(depth + 1)\n\n return {\n ...headerGroup,\n headers: headerGroup.headers\n .filter((header) => !header.isPlaceholder)\n .map((header) => {\n if (nextHeaderGroups.length === 0) return header\n\n const rowSpan = nextHeaderGroups.reduce((acc, nextHeaderGroup) => {\n const hasNextHeader = nextHeaderGroup.headers.some(\n (nextHeader) => nextHeader.column.id === header.column.id,\n )\n\n return acc + (hasNextHeader ? 1 : 0)\n }, 1)\n\n return { ...header, rowSpan }\n }),\n }\n })\n}\n\nexport interface ColumnSort<Y extends RowData> {\n desc: boolean\n id: keyof Y\n}\nexport type SortingState<Y extends RowData> = ColumnSort<Y>[]\n\ninterface ComponentContext extends Pick<\n TableProps<any>,\n | \"columnResizeMode\"\n | \"resizableTriggerProps\"\n | \"sortingIcon\"\n | \"sortingIconProps\"\n> {\n table: ReactTable<any>\n}\n\ninterface OmittedTableOptions<Y extends RowData> extends Omit<\n TableOptions<Y>,\n | \"getCoreRowModel\"\n | \"onColumnFiltersChange\"\n | \"onPaginationChange\"\n | \"onSortingChange\"\n> {}\n\ninterface PickedNativeTableProps extends Pick<\n NativeTable.RootProps,\n | \"className\"\n | \"highlightOnHover\"\n | \"highlightOnSelected\"\n | \"layout\"\n | \"scrollAreaProps\"\n | \"size\"\n | \"stickyFooter\"\n | \"stickyHeader\"\n | \"striped\"\n | \"variant\"\n | \"withBorder\"\n | \"withColumnBorders\"\n | \"withScrollArea\"\n> {}\n\nexport interface TableProps<Y extends RowData>\n extends\n OmittedTableOptions<Y>,\n PickedNativeTableProps,\n Pick<CSSProps, \"colorScheme\" | \"lineClamp\" | \"truncated\"> {\n /**\n * The column filters state of the table.\n */\n columnFilters?: ColumnFiltersState\n /**\n * The default column filters state of the table.\n */\n defaultColumnFilters?: ColumnFiltersState\n /**\n * The default pagination state of the table.\n */\n defaultPagination?: PaginationState\n /**\n * The default row selection state of the table.\n */\n defaultRowSelection?: RowSelectionState\n /**\n * The default sorting state of the table.\n */\n defaultSorting?: SortingState<Y>\n /**\n * If `true`, the table width will be automatically resized to the content.\n *\n * @default false\n */\n enableAutoResizeTableWidth?: boolean\n /**\n * If `true`, the keyboard navigation will be enabled.\n *\n * @default true\n */\n enableKeyboardNavigation?: boolean\n /**\n * If `true`, the pagination will be enabled.\n *\n * @default false\n */\n enablePagination?: boolean\n /**\n * The footer of the table.\n */\n footer?: ReactNodeOrFunction<ReactTable<Y>>\n /**\n * The header of the table.\n */\n header?: ReactNodeOrFunction<ReactTable<Y>>\n /**\n * The initial focusable cell of the table.\n *\n * @default {rowIndex: 0, colIndex: 0}\n */\n initialFocusableCell?: { colIndex: number; rowIndex: number }\n /**\n * The pagination state of the table.\n */\n pagination?: PaginationState\n /**\n * The row selection state of the table.\n */\n rowSelection?: RowSelectionState\n /**\n * If `true`, the row will be selected when the row is clicked.\n *\n * @default false\n */\n selectOnClickRow?: boolean\n /**\n * The sorting state of the table.\n */\n sorting?: SortingState<Y>\n /**\n * The sorting icon of the table.\n */\n sortingIcon?: ReactNodeOrFunction<false | SortDirection>\n /**\n * If `true`, the table will have a checkbox column.\n *\n * @default true\n */\n withCheckbox?: boolean\n /**\n * If `true`, the table will have a checkbox in the footer.\n *\n * @default false\n */\n withFooterCheckbox?: boolean\n /**\n * If `true`, the table will have footer groups.\n *\n * @default false\n */\n withFooterGroups?: boolean\n /**\n * The props for the table cell.\n */\n cellProps?: TransformProps<NativeTable.TdProps, Cell<Y, unknown>>\n /**\n * The props for the checkbox.\n */\n checkboxProps?: CheckboxProps\n /**\n * The props for the table footer group.\n */\n footerGroupProps?: TransformProps<NativeTable.TrProps, HeaderGroup<Y>>\n /**\n * The props for the table footer.\n */\n footerProps?: TransformProps<NativeTable.ThProps, Header<Y, unknown>>\n /**\n * The props for the table header checkbox.\n */\n headerCheckboxProps?: TransformProps<CheckboxProps, Header<Y, unknown>>\n /**\n * The props for the table header group.\n */\n headerGroupProps?: TransformProps<NativeTable.TrProps, HeaderGroup<Y>>\n /**\n * The props for the table header.\n */\n headerProps?: TransformProps<NativeTable.ThProps, Header<Y, unknown>>\n /**\n * The props for the resizable trigger.\n */\n resizableTriggerProps?: TransformProps<\n Omit<ResizableTriggerProps, \"resizing\">,\n Header<Y, unknown>\n >\n /**\n * The props for the table row checkbox.\n */\n rowCheckboxProps?: TransformProps<CheckboxProps, Row<Y>>\n /**\n * The props for the table row.\n */\n rowProps?: TransformProps<NativeTable.TrProps, Row<Y>>\n /**\n * The props for the sorting icon.\n */\n sortingIconProps?: TransformProps<\n Omit<SortingIconProps, \"sorted\">,\n Header<Y, unknown>\n >\n /**\n * The props for the table.\n */\n tableProps?: NativeTable.RootProps\n /**\n * The props for the table tbody.\n */\n tbodyProps?: NativeTable.TbodyProps\n /**\n * The props for the table tfoot.\n */\n tfootProps?: NativeTable.TfootProps\n /**\n * The props for the table thead.\n */\n theadProps?: NativeTable.TheadProps\n /**\n * The callback invoked when the column filters state changes.\n */\n onColumnFiltersChange?: (columnFilters: ColumnFiltersState) => void\n /**\n * The callback invoked when the pagination state changes.\n */\n onPaginationChange?: (pagination: PaginationState) => void\n /**\n * The callback invoked when the row is clicked.\n */\n onRowClick?: (row: Row<Y>) => void\n /**\n * The callback invoked when the row is double clicked.\n */\n onRowDoubleClick?: (row: Row<Y>) => void\n /**\n * The callback invoked when the sorting state changes.\n */\n onSortingChange?: (sorting: SortingState<Y>) => void\n}\n\nconst {\n ComponentContext,\n PropsContext: TablePropsContext,\n useComponentContext,\n usePropsContext: useTablePropsContext,\n withContext,\n} = createComponent<TableProps<any>, any, ComponentContext>(\"table\")\n\nexport { TablePropsContext, useTablePropsContext }\n\n/**\n * `Table` is a table component equipped with column sorting, row selection, and click event features.\n *\n * @see https://yamada-ui.com/docs/components/table\n */\nexport const Table = withContext(\n <Y extends RowData>({\n className,\n colorScheme,\n size,\n variant,\n columnFilters: columnFiltersProp,\n columnResizeMode = \"onChange\",\n columns: columnsProp,\n data,\n defaultColumnFilters,\n defaultPagination = { pageIndex: 0, pageSize: 20 },\n defaultRowSelection = {},\n defaultSorting,\n enableAutoResizeTableWidth = false,\n enableColumnResizing = false,\n enableKeyboardNavigation = true,\n enablePagination = false,\n enableRowSelection = false,\n footer,\n header,\n highlightOnHover = !!enableRowSelection,\n highlightOnSelected = !!enableRowSelection,\n initialFocusableCell = { colIndex: 0, rowIndex: 0 },\n layout,\n lineClamp,\n manualPagination,\n pagination: paginationProp,\n rowCount: totalRowCount,\n rowSelection: rowSelectionProp,\n selectOnClickRow = false,\n sortDescFirst = false,\n sorting: sortingProp,\n sortingIcon,\n state,\n stickyFooter,\n stickyHeader,\n striped,\n truncated,\n withBorder,\n withCheckbox = true,\n withColumnBorders,\n withFooterCheckbox = false,\n withFooterGroups = false,\n withScrollArea,\n cellProps,\n checkboxProps,\n footerGroupProps,\n footerProps,\n headerCheckboxProps,\n headerGroupProps,\n headerProps,\n resizableTriggerProps,\n rowCheckboxProps,\n rowProps,\n scrollAreaProps,\n sortingIconProps,\n tableProps,\n tbodyProps,\n tfootProps,\n theadProps,\n onColumnFiltersChange: onColumnFiltersChangeProp,\n onPaginationChange: onPaginationChangeProp,\n onRowClick,\n onRowDoubleClick,\n onRowSelectionChange: onRowSelectionChangeProp,\n onSortingChange: onSortingChangeProp,\n ...rest\n }: TableProps<Y>) => {\n const { t } = useI18n(\"table\")\n const initialFocus = useRef<boolean>(false)\n const ref = useRef<HTMLTableElement>(null)\n const focusedCell = useRef<null | { colIndex: number; rowIndex: number }>(\n null,\n )\n const [rowSelection, onRowSelectionChange] = useControllableState({\n defaultValue: defaultRowSelection,\n value: rowSelectionProp,\n onChange: onRowSelectionChangeProp,\n })\n const [sorting, onSortingChange] = useControllableState({\n defaultValue: defaultSorting,\n value: sortingProp,\n onChange: onSortingChangeProp,\n })\n const [pagination, onPaginationChange] = useControllableState({\n defaultValue: defaultPagination,\n value: paginationProp,\n onChange: onPaginationChangeProp,\n })\n const [columnFilters, onColumnFiltersChange] = useControllableState({\n defaultValue: defaultColumnFilters,\n value: columnFiltersProp,\n onChange: onColumnFiltersChangeProp,\n })\n const columns = useMemo(() => {\n if (!enableRowSelection || !withCheckbox) return columnsProp\n\n const clonedColumns = [...columnsProp]\n\n const header = ({ header, table }: HeaderContext<Y, any>) => {\n return (\n <Checkbox\n {...mergeProps(\n {\n checked: table.getIsAllRowsSelected(),\n indeterminate: table.getIsSomeRowsSelected(),\n indicatorProps: { outline: \"none\" },\n inputProps: {\n \"aria-label\": t(\"Select all rows\"),\n \"data-focusable\": \"\",\n tabIndex: -1,\n },\n onChange: table.getToggleAllRowsSelectedHandler(),\n },\n checkboxProps ?? {},\n runIfFn(headerCheckboxProps, header) ?? {},\n )()}\n />\n )\n }\n\n const cell = ({ row }: CellContext<Y, any>) => {\n return (\n <Checkbox\n {...mergeProps(\n {\n checked: row.getIsSelected(),\n disabled: !row.getCanSelect(),\n indeterminate: row.getIsSomeSelected(),\n indicatorProps: { outline: \"none\" },\n inputProps: {\n \"aria-label\": t(\"Select row\"),\n \"data-focusable\": \"\",\n tabIndex: -1,\n },\n onChange: row.getToggleSelectedHandler(),\n },\n checkboxProps ?? {},\n runIfFn(rowCheckboxProps, row) ?? {},\n )()}\n />\n )\n }\n\n clonedColumns.unshift({\n id: \"select\",\n cell,\n header,\n ...(withFooterCheckbox\n ? { footer: header }\n : { footerProps: { \"aria-hidden\": \"true\" } }),\n cellProps: { verticalAlign: \"middle\" },\n headerProps: { w: \"calc({spaces.4} + {space-x} * 2)\" },\n })\n\n return clonedColumns\n }, [\n checkboxProps,\n columnsProp,\n enableRowSelection,\n headerCheckboxProps,\n rowCheckboxProps,\n t,\n withCheckbox,\n withFooterCheckbox,\n ])\n const table = useReactTable<Y>({\n columnResizeMode,\n columns,\n data,\n enableColumnResizing,\n enableRowSelection,\n getCoreRowModel: getCoreRowModel(),\n getFilteredRowModel: getFilteredRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination,\n rowCount: totalRowCount,\n sortDescFirst,\n state: {\n columnFilters,\n pagination: enablePagination ? pagination : undefined,\n rowSelection,\n sorting: sorting as OriginalSortingState,\n ...state,\n },\n onColumnFiltersChange,\n onPaginationChange,\n onRowSelectionChange,\n onSortingChange: onSortingChange as OnChangeFn<OriginalSortingState>,\n ...(enablePagination\n ? { getPaginationRowModel: getPaginationRowModel() }\n : {}),\n ...rest,\n })\n const headerGroups = table.getHeaderGroups()\n const mergedHeaderGroups = getMergeHeaderGroups(headerGroups)\n const rows = table.getRowModel().rows\n const footerGroups = table.getFooterGroups()\n const mergedFooterGroups = getMergeFooterGroups(\n withFooterGroups ? footerGroups : [],\n )\n const headerGroupCount = headerGroups.length\n const rowCount = rows.length\n const colCount = table.getAllLeafColumns().length\n const maxColIndex = colCount - 1\n const pageIndex = enablePagination\n ? table.getState().pagination.pageIndex\n : 0\n const cellMap = useMemo(() => {\n const cellMap = new Map<string, string>()\n\n if (!enableKeyboardNavigation) return cellMap\n\n const insertCellMap = (\n id: string,\n colSpan: number,\n rowSpan: number,\n colIndex: number,\n rowIndex: number,\n ) => {\n for (let i = 0; i < colSpan; i++)\n cellMap.set(`${colIndex + i}-${rowIndex}`, `${colIndex}-${rowIndex}`)\n\n for (let i = 1; i < rowSpan; i++)\n cellMap.set(`${colIndex}-${rowIndex + i}`, `${colIndex}-${rowIndex}`)\n }\n\n const insertCellMapByHeaderGroup = (\n headerGroup: HeaderGroup<Y>,\n rowIndex: number,\n ) => {\n let placeholderCount = 0\n\n headerGroup.headers.forEach((header) => {\n const colSpan = header.colSpan || 1\n const rowSpan = header.rowSpan || 1\n const colIndex = header.index + placeholderCount\n\n placeholderCount += colSpan - 1\n\n insertCellMap(header.id, colSpan, rowSpan, colIndex, rowIndex)\n })\n }\n\n mergedHeaderGroups.forEach((headerGroup, rowIndex) => {\n insertCellMapByHeaderGroup(headerGroup, rowIndex)\n })\n\n rows.forEach((row, rowIndex) => {\n rowIndex += headerGroupCount\n\n row.getVisibleCells().forEach((cell) => {\n const colIndex = cell.column.getIndex()\n\n insertCellMap(cell.id, 1, 1, colIndex, rowIndex)\n })\n })\n\n mergedFooterGroups.forEach((footerGroup, rowIndex) => {\n rowIndex += headerGroupCount + rowCount\n\n insertCellMapByHeaderGroup(footerGroup, rowIndex)\n })\n\n return cellMap\n }, [\n enableKeyboardNavigation,\n headerGroupCount,\n mergedFooterGroups,\n mergedHeaderGroups,\n rows,\n rowCount,\n ])\n const context = useMemo(\n () => ({\n columnResizeMode,\n sortingIcon,\n table,\n resizableTriggerProps,\n sortingIconProps,\n }),\n [\n columnResizeMode,\n sortingIcon,\n sortingIconProps,\n resizableTriggerProps,\n table,\n ],\n )\n const getCell = (\n evOrEl:\n | Element\n | FocusEvent<HTMLTableElement>\n | KeyboardEvent<HTMLTableElement>\n | null\n | undefined,\n ) => {\n if (!evOrEl) return\n\n const el =\n evOrEl instanceof HTMLElement\n ? evOrEl.closest(\"th, td\")\n : \"target\" in evOrEl && evOrEl.target instanceof HTMLElement\n ? evOrEl.target.closest(\"th, td\")\n : null\n\n if (!(el instanceof HTMLTableCellElement)) return\n\n const { colindex, rowindex } = el.dataset\n const { colSpan, rowSpan } = el\n\n if (!colindex || !rowindex) return\n\n const colIndex = parseInt(colindex)\n const rowIndex = parseInt(rowindex)\n\n return { colIndex, colSpan, el, rowIndex, rowSpan }\n }\n const getShouldFocusCell = (colIndex: number, rowIndex: number) => {\n const [trulyColIndex, trulyRowIndex] =\n cellMap.get(`${colIndex}-${rowIndex}`)?.split(\"-\") ?? []\n\n if (!trulyColIndex || !trulyRowIndex) return\n\n const targetEl = ref.current?.querySelector(\n `[data-colindex=\"${trulyColIndex}\"][data-rowindex=\"${trulyRowIndex}\"]`,\n )\n\n if (!targetEl || !(targetEl instanceof HTMLTableCellElement)) return\n\n return targetEl\n }\n const removeTabIndex = (el: Element | null | undefined) => {\n if (!el || !(el instanceof HTMLElement)) return\n\n el.tabIndex = -1\n el.querySelectorAll(\"[data-focusable]\").forEach((el) => {\n if (el instanceof HTMLElement) el.tabIndex = -1\n })\n }\n const onCellFocus = (\n el: HTMLTableCellElement | null | undefined,\n colIndex: number,\n rowIndex: number,\n ) => {\n const targetEl = getShouldFocusCell(colIndex, rowIndex)\n\n if (!targetEl) return\n\n focusedCell.current = { colIndex, rowIndex }\n\n removeTabIndex(el)\n\n const shouldFocusEl =\n targetEl.querySelector(\"[data-focusable]\") ?? targetEl\n\n if (shouldFocusEl instanceof HTMLElement) {\n shouldFocusEl.tabIndex = 0\n shouldFocusEl.focus()\n }\n }\n const onFocus = (ev: FocusEvent<HTMLTableElement>) => {\n if (initialFocus.current) return\n\n initialFocus.current = true\n\n const cell = getCell(ev)\n\n if (!cell) return\n\n onCellFocus(cell.el, cell.colIndex, cell.rowIndex)\n }\n const onKeyDown = (ev: KeyboardEvent<HTMLTableElement>) => {\n if (!enableKeyboardNavigation) return\n\n const cell = getCell(ev)\n\n if (!cell) return\n\n runKeyAction(ev, {\n ArrowDown: () =>\n onCellFocus(cell.el, cell.colIndex, cell.rowIndex + cell.rowSpan),\n ArrowLeft: () => onCellFocus(cell.el, cell.colIndex - 1, cell.rowIndex),\n ArrowRight: () =>\n onCellFocus(cell.el, cell.colIndex + cell.colSpan, cell.rowIndex),\n ArrowUp: () => onCellFocus(cell.el, cell.colIndex, cell.rowIndex - 1),\n End: () => onCellFocus(cell.el, maxColIndex, cell.rowIndex),\n Home: () => onCellFocus(cell.el, 0, cell.rowIndex),\n ...(enablePagination\n ? {\n PageDown: () => {\n if (!table.getCanNextPage()) return\n\n table.setPageIndex(pageIndex + 1)\n },\n PageUp: () => {\n if (!table.getCanPreviousPage()) return\n\n table.setPageIndex(pageIndex - 1)\n },\n }\n : {}),\n })\n }\n const getTabIndex = (colIndex: number, rowIndex: number) => {\n if (!enableKeyboardNavigation) return undefined\n\n return colIndex === initialFocusableCell.colIndex &&\n rowIndex === initialFocusableCell.rowIndex\n ? 0\n : undefined\n }\n\n useUpdateEffect(() => {\n if (!enableKeyboardNavigation) return\n\n const { colIndex, rowIndex } = focusedCell.current ?? initialFocusableCell\n const targetEl = getShouldFocusCell(colIndex, rowIndex)\n\n if (targetEl) targetEl.tabIndex = 0\n }, [pageIndex, enableKeyboardNavigation])\n\n return (\n <ComponentContext value={context}>\n {header ? runIfFn(header, table) : null}\n\n <NativeTable.Root\n {...mergeProps(\n {\n ref,\n className,\n style:\n enableColumnResizing && enableAutoResizeTableWidth\n ? { width: table.getCenterTotalSize() }\n : {},\n colorScheme,\n size,\n variant,\n \"aria-colcount\": colCount,\n \"aria-multiselectable\": enableRowSelection ? \"true\" : undefined,\n \"aria-rowcount\": totalRowCount || data.length,\n highlightOnHover,\n highlightOnSelected,\n layout,\n role: \"grid\",\n stickyFooter,\n stickyHeader,\n striped,\n withBorder,\n withColumnBorders,\n withScrollArea,\n scrollAreaProps,\n onFocus,\n onKeyDown,\n },\n tableProps ?? {},\n )()}\n >\n <NativeTable.Thead {...theadProps}>\n {mergedHeaderGroups.map((headerGroup, rowIndex) => {\n let placeholderCount = 0\n\n return (\n <NativeTable.Tr\n key={headerGroup.id}\n aria-rowindex={rowIndex + 1}\n role=\"row\"\n {...runIfFn(headerGroupProps, headerGroup)}\n >\n {headerGroup.headers.map((header) => {\n const { columnDef } = header.column\n const colIndex = header.index + placeholderCount\n const tabIndex = getTabIndex(colIndex, rowIndex)\n const canSort = header.column.getCanSort()\n const sorted = header.column.getIsSorted()\n const canResize = header.column.getCanResize()\n const resizing = header.column.getIsResizing()\n const children = header.isPlaceholder\n ? null\n : flexRender(\n header.column.columnDef.header,\n header.getContext(),\n )\n\n placeholderCount += (header.colSpan || 1) - 1\n\n return (\n <NativeTable.Th\n key={header.id}\n aria-colindex={colIndex + 1}\n aria-rowindex={rowIndex + 1}\n aria-sort={\n sorted\n ? sorted === \"asc\"\n ? \"ascending\"\n : \"descending\"\n : \"none\"\n }\n data-colindex={colIndex}\n data-rowindex={rowIndex}\n colSpan={header.colSpan || undefined}\n numeric={columnDef.numeric}\n pe={\n canSort\n ? \"calc((1rem * {lineHeights.moderate}) + {space-x})\"\n : undefined\n }\n position=\"relative\"\n role=\"columnheader\"\n rowSpan={header.rowSpan || undefined}\n tabIndex={tabIndex}\n {...mergeProps(\n {\n css: {\n \"&:has([data-focusable]:focus-visible)\":\n focusRingStyle.outline,\n },\n style: enableColumnResizing\n ? { width: header.getSize() }\n : {},\n },\n runIfFn(headerProps, header) ?? {},\n columnDef.headerProps ?? {},\n )()}\n >\n <TruncatedText\n lineClamp={columnDef.lineClamp ?? lineClamp}\n truncated={columnDef.truncated ?? truncated}\n >\n {children}\n </TruncatedText>\n\n {canSort ? (\n <SortingIcon\n sorted={sorted}\n onClick={header.column.getToggleSortingHandler()}\n />\n ) : null}\n\n {canResize ? (\n <ResizableTrigger\n resizing={resizing}\n onDoubleClick={header.column.resetSize}\n onMouseDown={header.getResizeHandler()}\n onTouchStart={header.getResizeHandler()}\n />\n ) : null}\n </NativeTable.Th>\n )\n })}\n </NativeTable.Tr>\n )\n })}\n </NativeTable.Thead>\n\n <NativeTable.Tbody {...tbodyProps}>\n {rows.map((row, rowIndex) => {\n rowIndex += headerGroupCount\n\n const selected = !!rowSelection[row.id]\n const disabled =\n isFunction(enableRowSelection) && !enableRowSelection(row)\n\n return (\n <NativeTable.Tr\n id={row.id}\n key={row.id}\n aria-disabled={ariaAttr(disabled)}\n aria-rowindex={rowIndex + 1}\n aria-selected={ariaAttr(selected)}\n data-disabled={dataAttr(disabled)}\n data-selected={dataAttr(selected)}\n role=\"row\"\n {...mergeProps(\n {\n onClick:\n !disabled && selectOnClickRow\n ? () => row.toggleSelected(!selected)\n : undefined,\n },\n {\n onClick: !disabled ? () => onRowClick?.(row) : undefined,\n onDoubleClick: !disabled\n ? () => onRowDoubleClick?.(row)\n : undefined,\n },\n runIfFn(rowProps, row) ?? {},\n )()}\n >\n {row.getVisibleCells().map((cell) => {\n const { columnDef } = cell.column\n const colIndex = cell.column.getIndex()\n const tabIndex = getTabIndex(colIndex, rowIndex)\n const children = flexRender(\n cell.column.columnDef.cell,\n cell.getContext(),\n )\n\n return (\n <NativeTable.Td\n key={cell.id}\n aria-colindex={colIndex + 1}\n aria-rowindex={rowIndex + 1}\n data-colindex={colIndex}\n data-rowindex={rowIndex}\n numeric={columnDef.numeric}\n role=\"gridcell\"\n tabIndex={tabIndex}\n {...mergeProps(\n {\n css: {\n \"&:has([data-focusable]:focus-visible)\":\n focusRingStyle.outline,\n },\n },\n runIfFn(cellProps, cell) ?? {},\n columnDef.cellProps ?? {},\n )()}\n >\n <TruncatedText\n lineClamp={columnDef.lineClamp ?? lineClamp}\n truncated={columnDef.truncated ?? truncated}\n >\n {children}\n </TruncatedText>\n </NativeTable.Td>\n )\n })}\n </NativeTable.Tr>\n )\n })}\n </NativeTable.Tbody>\n\n {withFooterGroups ? (\n <NativeTable.Tfoot {...tfootProps}>\n {mergedFooterGroups.map((footerGroup, rowIndex) => {\n rowIndex += headerGroupCount + rowCount\n\n let placeholderCount = 0\n\n return (\n <NativeTable.Tr\n key={footerGroup.id}\n aria-rowindex={rowIndex + 1}\n role=\"row\"\n {...runIfFn(footerGroupProps, footerGroup)}\n >\n {footerGroup.headers.map((header) => {\n const { columnDef } = header.column\n const colIndex = header.index + placeholderCount\n const tabIndex = getTabIndex(colIndex, rowIndex)\n const children = header.isPlaceholder\n ? null\n : flexRender(\n header.column.columnDef.footer,\n header.getContext(),\n )\n\n placeholderCount += (header.colSpan || 1) - 1\n\n return (\n <NativeTable.Td\n key={header.id}\n aria-colindex={colIndex + 1}\n aria-rowindex={rowIndex + 1}\n data-colindex={colIndex}\n data-rowindex={rowIndex}\n colSpan={header.colSpan || undefined}\n numeric={columnDef.numeric}\n role=\"gridcell\"\n rowSpan={header.rowSpan || undefined}\n tabIndex={tabIndex}\n {...mergeProps(\n {\n css: {\n \"&:has([data-focusable]:focus-visible)\":\n focusRingStyle.outline,\n },\n },\n runIfFn(footerProps, header) ?? {},\n columnDef.footerProps ?? {},\n )()}\n >\n <TruncatedText\n lineClamp={columnDef.lineClamp ?? lineClamp}\n truncated={columnDef.truncated ?? truncated}\n >\n {children}\n </TruncatedText>\n </NativeTable.Td>\n )\n })}\n </NativeTable.Tr>\n )\n })}\n </NativeTable.Tfoot>\n ) : null}\n </NativeTable.Root>\n\n {footer ? runIfFn(footer, table) : null}\n </ComponentContext>\n )\n },\n)() as GenericsComponent<{\n <Y extends RowData>(props: TableProps<Y>): ReactElement\n}>\n\ninterface SortingIconProps extends HTMLStyledProps<\"button\"> {\n sorted: false | SortDirection\n}\n\nconst SortingIcon: FC<SortingIconProps> = ({ sorted, ...rest }) => {\n const { t } = useI18n(\"table\")\n const { sortingIcon, sortingIconProps = {} } = useComponentContext()\n const Icon = sorted ? ChevronUpIcon : ChevronsUpDownIcon\n\n return (\n <styled.button\n type=\"button\"\n layerStyle=\"ghost\"\n colorScheme=\"mono\"\n aria-label={t(\n sorted\n ? sorted === \"desc\"\n ? \"Sort descending\"\n : \"Sort ascending\"\n : \"Clear sorting\",\n )}\n data-focusable\n aspectRatio=\"1\"\n cursor=\"pointer\"\n display=\"center\"\n focusVisibleRing=\"none\"\n h=\"calc(1em * {lineHeights.moderate})\"\n position=\"absolute\"\n right=\"{space-x}\"\n rounded=\"l1\"\n tabIndex={-1}\n top=\"50%\"\n transform=\"translateY(-50%)\"\n transitionDuration=\"moderate\"\n transitionProperty=\"common\"\n _hover={{ layerStyle: \"ghost.hover\" }}\n {...mergeProps(rest, sortingIconProps)()}\n >\n {runIfFn(sortingIcon, sorted) ?? (\n <Icon transform={`rotate(${sorted === \"desc\" ? 180 : 0}deg)`} />\n )}\n </styled.button>\n )\n}\n\ninterface ResizableTriggerProps extends HTMLStyledProps {\n resizing: boolean\n}\n\nconst ResizableTrigger: FC<ResizableTriggerProps> = ({ resizing, ...rest }) => {\n const {\n columnResizeMode,\n table,\n resizableTriggerProps = {},\n } = useComponentContext()\n const offset = table.getState().columnSizingInfo.deltaOffset\n\n return (\n <styled.div\n data-active={dataAttr(resizing)}\n bg=\"colorScheme.solid\"\n cursor=\"col-resize\"\n insetY=\"0\"\n opacity={{ base: \"0\", _hover: \"1\", _active: \"1\" }}\n position=\"absolute\"\n right=\"0\"\n touchAction=\"none\"\n transform={`translateX(${columnResizeMode === \"onEnd\" && resizing && offset ? `${offset}px` : \"50%\"})`}\n userSelect=\"none\"\n w=\"1\"\n {...mergeProps(rest, resizableTriggerProps)()}\n />\n )\n}\n\ninterface TruncatedTextProps extends HTMLStyledProps<\"span\"> {}\n\nconst TruncatedText: FC<TruncatedTextProps> = ({\n children,\n lineClamp,\n truncated,\n ...rest\n}) => {\n if (lineClamp || truncated)\n return (\n <styled.span\n lineClamp={lineClamp}\n truncated={truncated}\n wordBreak=\"break-all\"\n {...rest}\n >\n {children}\n </styled.span>\n )\n else return children\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AA8FA,SAAS,qBACP,cACoB;CACpB,IAAI,aAAa,UAAU,GAAG,OAAO;CAErC,MAAM,6BAAa,IAAI,IAAI;CAE3B,OAAO,aAAa,KAAK,aAAa,OAAO,EAAE,QAAQ,gBAAgB;EACrE,OAAO;GACL,GAAG;GACH,SAAS,YAAY,QAClB,QAAQ,WAAW,CAAC,WAAW,IAAI,OAAO,OAAO,EAAE,CAAC,CAAC,CACrD,KAAK,WAAW;IACf,WAAW,IAAI,OAAO,OAAO,EAAE;IAE/B,OAAO,OAAO,gBACV;KAAE,GAAG;KAAQ,eAAe;KAAO,SAAS,YAAY;IAAM,IAC9D;KAAE,GAAG;KAAQ,SAAS;IAAE;GAC9B,CAAC;EACL;CACF,CAAC;AACH;AAEA,SAAS,qBACP,cACoB;CACpB,IAAI,aAAa,UAAU,GAAG,OAAO;CAErC,OAAO,aAAa,KAAK,aAAa,UAAU;EAC9C,MAAM,mBAAmB,aAAa,MAAM,QAAQ,CAAC;EAErD,OAAO;GACL,GAAG;GACH,SAAS,YAAY,QAClB,QAAQ,WAAW,CAAC,OAAO,aAAa,CAAC,CACzC,KAAK,WAAW;IACf,IAAI,iBAAiB,WAAW,GAAG,OAAO;IAE1C,MAAM,UAAU,iBAAiB,QAAQ,KAAK,oBAAoB;KAKhE,OAAO,OAJe,gBAAgB,QAAQ,MAC3C,eAAe,WAAW,OAAO,OAAO,OAAO,OAAO,EAG/B,IAAI,IAAI;IACpC,GAAG,CAAC;IAEJ,OAAO;KAAE,GAAG;KAAQ;IAAQ;GAC9B,CAAC;EACL;CACF,CAAC;AACH;AAoOA,MAAM,EACJ,kBACA,cAAc,mBACd,qBACA,iBAAiB,sBACjB,gBACEA,yBAAAA,gBAAwD,OAAO;;;;;;AASnE,MAAa,QAAQ,aACC,EAClB,WACA,aACA,MACA,SACA,e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CACU,CAAA;MAEZ,OAAO;AACd"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_utils_index = require("../../utils/index.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":"tabs.cjs","names":["createSlotComponent","tabsStyle","useValue","useTabs","useMemo","TabDescendantsContext","TabPanelDescendantsContext","TabsContext","styled","useTabsContext","useTab","useTabPanel","useLazyMount"],"sources":["../../../../src/components/tabs/tabs.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { UseLazyMountProps } from \"../../hooks/use-lazy-mount\"\nimport type { TabsStyle } from \"./tabs.style\"\nimport type { UseTabPanelProps, UseTabProps, UseTabsProps } from \"./use-tabs\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useLazyMount } from \"../../hooks/use-lazy-mount\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { isNull, isUndefined } from \"../../utils\"\nimport { tabsStyle } from \"./tabs.style\"\nimport {\n TabDescendantsContext,\n TabPanelDescendantsContext,\n TabsContext,\n useTab,\n useTabPanel,\n useTabs,\n useTabsContext,\n} from \"./use-tabs\"\n\ninterface ComponentContext extends Pick<\n TabsRootProps,\n \"items\" | \"lazy\" | \"lazyBehavior\"\n> {}\n\nexport interface TabsItem extends Omit<TabsTabProps, \"index\"> {\n /**\n * The content for panel element.\n */\n panel: ReactNode\n /**\n * The content for tab element.\n */\n tab: ReactNode\n /**\n * Props for panel element.\n */\n panelProps?: TabsPanelProps\n}\n\nexport interface TabsRootProps\n extends\n Omit<HTMLStyledProps, \"onChange\">,\n Omit<UseTabsProps, \"orientation\">,\n Pick<UseLazyMountProps, \"lazy\" | \"lazyBehavior\">,\n ThemeProps<TabsStyle> {\n /**\n * If provided, generate tab and panel components based on tabs.\n */\n items?: TabsItem[]\n}\n\nconst {\n ComponentContext,\n PropsContext: TabsPropsContext,\n useComponentContext,\n usePropsContext: useTabsPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<TabsRootProps, TabsStyle, ComponentContext>(\n \"tabs\",\n tabsStyle,\n)\n\nexport { TabsPropsContext, useTabsPropsContext }\n\n/**\n * `Tabs` is a component for switching between different display areas.\n *\n * @see https://yamada-ui.com/docs/components/tabs\n */\nexport const TabsRoot = withProvider<\"div\", TabsRootProps, \"orientation\">(\n ({\n children,\n items,\n lazy,\n lazyBehavior,\n orientation: orientationProp,\n ...rest\n }) => {\n const computedOrientation = useValue(orientationProp)\n const {\n id,\n focusedIndex,\n index,\n manual,\n orientation,\n setFocusedIndex,\n setIndex,\n tabDescendants,\n tabPanelDescendants,\n getListProps,\n getRootProps,\n } = useTabs({ orientation: computedOrientation, ...rest })\n const componentContext = useMemo(\n () => ({ items, lazy, lazyBehavior }),\n [items, lazy, lazyBehavior],\n )\n const tabsContext = useMemo(\n () => ({\n id,\n focusedIndex,\n index,\n manual,\n orientation,\n setFocusedIndex,\n setIndex,\n getListProps,\n }),\n [\n id,\n manual,\n focusedIndex,\n index,\n orientation,\n setFocusedIndex,\n setIndex,\n getListProps,\n ],\n )\n\n return (\n <TabDescendantsContext value={tabDescendants}>\n <TabPanelDescendantsContext value={tabPanelDescendants}>\n <TabsContext value={tabsContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>{children}</styled.div>\n </ComponentContext>\n </TabsContext>\n </TabPanelDescendantsContext>\n </TabDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)()\n\nexport interface TabsListProps extends HTMLStyledProps {}\n\nexport const TabsList = withContext<\"div\", TabsListProps>(\n ({ children, ...rest }) => {\n const { items } = useComponentContext()\n const { getListProps } = useTabsContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n else\n return items?.map(\n (\n { id, panel: _panel, tab, panelProps: _panelProps, ...rest },\n index,\n ) =>\n isUndefined(tab) || isNull(tab) ? null : (\n <TabsTab id={id} key={id ?? index} index={index} {...rest}>\n {tab}\n </TabsTab>\n ),\n )\n }, [children, items])\n\n return <styled.div {...getListProps(rest)}>{computedChildren}</styled.div>\n },\n \"list\",\n)()\n\nexport interface TabsTabProps extends HTMLStyledProps<\"button\">, UseTabProps {}\n\nexport const TabsTab = withContext<\"button\", TabsTabProps>(\"button\", \"tab\")(\n undefined,\n (props) => {\n const { getRootProps } = useTab(props)\n\n return getRootProps()\n },\n)\n\nexport interface TabsPanelsProps extends PropsWithChildren {}\n\nexport const TabsPanels: FC<TabsPanelsProps> = ({ children }) => {\n const { items } = useComponentContext()\n\n return useMemo(() => {\n if (children) return children\n else\n return items?.map(({ id, panel, panelProps }, index) =>\n isUndefined(panel) || isNull(panel) ? null : (\n <TabsPanel key={id ?? index} index={index} {...panelProps}>\n {panel}\n </TabsPanel>\n ),\n )\n }, [children, items])\n}\n\nexport interface TabsPanelProps extends HTMLStyledProps, UseTabPanelProps {}\n\nexport const TabsPanel = withContext<\"div\", TabsPanelProps>(\"div\", \"panel\")(\n undefined,\n (props) => {\n const { lazy, lazyBehavior } = useComponentContext()\n const { selected: mounted, getRootProps } = useTabPanel(props)\n const children = useLazyMount({ lazy, lazyBehavior, mounted, ...props })\n\n return { ...getRootProps(), children }\n },\n)\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tabs.cjs","names":["createSlotComponent","tabsStyle","useValue","useTabs","useMemo","TabDescendantsContext","TabPanelDescendantsContext","TabsContext","styled","useTabsContext","useTab","useTabPanel","useLazyMount"],"sources":["../../../../src/components/tabs/tabs.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { UseLazyMountProps } from \"../../hooks/use-lazy-mount\"\nimport type { TabsStyle } from \"./tabs.style\"\nimport type { UseTabPanelProps, UseTabProps, UseTabsProps } from \"./use-tabs\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useLazyMount } from \"../../hooks/use-lazy-mount\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { isNull, isUndefined } from \"../../utils\"\nimport { tabsStyle } from \"./tabs.style\"\nimport {\n TabDescendantsContext,\n TabPanelDescendantsContext,\n TabsContext,\n useTab,\n useTabPanel,\n useTabs,\n useTabsContext,\n} from \"./use-tabs\"\n\ninterface ComponentContext extends Pick<\n TabsRootProps,\n \"items\" | \"lazy\" | \"lazyBehavior\"\n> {}\n\nexport interface TabsItem extends Omit<TabsTabProps, \"index\"> {\n /**\n * The content for panel element.\n */\n panel: ReactNode\n /**\n * The content for tab element.\n */\n tab: ReactNode\n /**\n * Props for panel element.\n */\n panelProps?: TabsPanelProps\n}\n\nexport interface TabsRootProps\n extends\n Omit<HTMLStyledProps, \"onChange\">,\n Omit<UseTabsProps, \"orientation\">,\n Pick<UseLazyMountProps, \"lazy\" | \"lazyBehavior\">,\n ThemeProps<TabsStyle> {\n /**\n * If provided, generate tab and panel components based on tabs.\n */\n items?: TabsItem[]\n}\n\nconst {\n ComponentContext,\n PropsContext: TabsPropsContext,\n useComponentContext,\n usePropsContext: useTabsPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<TabsRootProps, TabsStyle, ComponentContext>(\n \"tabs\",\n tabsStyle,\n)\n\nexport { TabsPropsContext, useTabsPropsContext }\n\n/**\n * `Tabs` is a component for switching between different display areas.\n *\n * @see https://yamada-ui.com/docs/components/tabs\n */\nexport const TabsRoot = withProvider<\"div\", TabsRootProps, \"orientation\">(\n ({\n children,\n items,\n lazy,\n lazyBehavior,\n orientation: orientationProp,\n ...rest\n }) => {\n const computedOrientation = useValue(orientationProp)\n const {\n id,\n focusedIndex,\n index,\n manual,\n orientation,\n setFocusedIndex,\n setIndex,\n tabDescendants,\n tabPanelDescendants,\n getListProps,\n getRootProps,\n } = useTabs({ orientation: computedOrientation, ...rest })\n const componentContext = useMemo(\n () => ({ items, lazy, lazyBehavior }),\n [items, lazy, lazyBehavior],\n )\n const tabsContext = useMemo(\n () => ({\n id,\n focusedIndex,\n index,\n manual,\n orientation,\n setFocusedIndex,\n setIndex,\n getListProps,\n }),\n [\n id,\n manual,\n focusedIndex,\n index,\n orientation,\n setFocusedIndex,\n setIndex,\n getListProps,\n ],\n )\n\n return (\n <TabDescendantsContext value={tabDescendants}>\n <TabPanelDescendantsContext value={tabPanelDescendants}>\n <TabsContext value={tabsContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>{children}</styled.div>\n </ComponentContext>\n </TabsContext>\n </TabPanelDescendantsContext>\n </TabDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)()\n\nexport interface TabsListProps extends HTMLStyledProps {}\n\nexport const TabsList = withContext<\"div\", TabsListProps>(\n ({ children, ...rest }) => {\n const { items } = useComponentContext()\n const { getListProps } = useTabsContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n else\n return items?.map(\n (\n { id, panel: _panel, tab, panelProps: _panelProps, ...rest },\n index,\n ) =>\n isUndefined(tab) || isNull(tab) ? null : (\n <TabsTab id={id} key={id ?? index} index={index} {...rest}>\n {tab}\n </TabsTab>\n ),\n )\n }, [children, items])\n\n return <styled.div {...getListProps(rest)}>{computedChildren}</styled.div>\n },\n \"list\",\n)()\n\nexport interface TabsTabProps extends HTMLStyledProps<\"button\">, UseTabProps {}\n\nexport const TabsTab = withContext<\"button\", TabsTabProps>(\"button\", \"tab\")(\n undefined,\n (props) => {\n const { getRootProps } = useTab(props)\n\n return getRootProps()\n },\n)\n\nexport interface TabsPanelsProps extends PropsWithChildren {}\n\nexport const TabsPanels: FC<TabsPanelsProps> = ({ children }) => {\n const { items } = useComponentContext()\n\n return useMemo(() => {\n if (children) return children\n else\n return items?.map(({ id, panel, panelProps }, index) =>\n isUndefined(panel) || isNull(panel) ? null : (\n <TabsPanel key={id ?? index} index={index} {...panelProps}>\n {panel}\n </TabsPanel>\n ),\n )\n }, [children, items])\n}\n\nexport interface TabsPanelProps extends HTMLStyledProps, UseTabPanelProps {}\n\nexport const TabsPanel = withContext<\"div\", TabsPanelProps>(\"div\", \"panel\")(\n undefined,\n (props) => {\n const { lazy, lazyBehavior } = useComponentContext()\n const { selected: mounted, getRootProps } = useTabPanel(props)\n const children = useLazyMount({ lazy, lazyBehavior, mounted, ...props })\n\n return { ...getRootProps(), children }\n },\n)\n"],"mappings":";;;;;;;;;;;AAuDA,MAAM,EACJ,kBACA,cAAc,kBACd,qBACA,iBAAiB,qBACjB,aACA,iBACEA,yBAAAA,oBACF,QACAC,mBAAAA,SACF;;;;;;AASA,MAAa,WAAW,cACrB,EACC,UACA,OACA,MACA,cACA,aAAa,iBACb,GAAG,WACC;CACJ,MAAM,sBAAsBC,8BAAAA,SAAS,eAAe;CACpD,MAAM,EACJ,IACA,cACA,OACA,QACA,aACA,iBACA,UACA,gBACA,qBACA,cACA,iBACEC,iBAAAA,QAAQ;EAAE,aAAa;EAAqB,GAAG;CAAK,CAAC;CACzD,MAAM,oBAAA,GAAmBC,MAAAA,QAAAA,QAChB;EAAE;EAAO;EAAM;CAAa,IACnC;EAAC;EAAO;EAAM;CAAY,CAC5B;CACA,MAAM,eAAA,GAAcA,MAAAA,QAAAA,QACX;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,IACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CACF;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,iBAAAA,uBAAD;EAAuB,OAAO;EAC5B,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,iBAAAA,4BAAD;GAA4B,OAAO;GACjC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,iBAAAA,aAAD;IAAa,OAAO;IAClB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,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