@yamada-ui/react 2.2.9-dev-20261002045738 → 2.2.9-dev-20261005115337
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/accordion/accordion.cjs +0 -1
- package/dist/cjs/components/accordion/accordion.cjs.map +1 -1
- package/dist/cjs/components/accordion/use-accordion.cjs +0 -1
- package/dist/cjs/components/accordion/use-accordion.cjs.map +1 -1
- package/dist/cjs/components/action-bar/action-bar.cjs +0 -1
- package/dist/cjs/components/action-bar/action-bar.cjs.map +1 -1
- package/dist/cjs/components/action-bar/use-action-bar.cjs +0 -1
- package/dist/cjs/components/action-bar/use-action-bar.cjs.map +1 -1
- package/dist/cjs/components/airy/airy.cjs +0 -1
- package/dist/cjs/components/airy/airy.cjs.map +1 -1
- package/dist/cjs/components/alert/alert.cjs +0 -1
- package/dist/cjs/components/alert/alert.cjs.map +1 -1
- package/dist/cjs/components/alpha-slider/alpha-slider.cjs +0 -1
- package/dist/cjs/components/alpha-slider/alpha-slider.cjs.map +1 -1
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs +0 -1
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs.map +1 -1
- package/dist/cjs/components/autocomplete/autocomplete.cjs +0 -1
- package/dist/cjs/components/autocomplete/autocomplete.cjs.map +1 -1
- package/dist/cjs/components/autocomplete/use-autocomplete.cjs +0 -1
- package/dist/cjs/components/autocomplete/use-autocomplete.cjs.map +1 -1
- package/dist/cjs/components/avatar/avatar-group.cjs +0 -1
- package/dist/cjs/components/avatar/avatar-group.cjs.map +1 -1
- package/dist/cjs/components/avatar/use-avatar-group.cjs +0 -1
- package/dist/cjs/components/avatar/use-avatar-group.cjs.map +1 -1
- package/dist/cjs/components/avatar/use-avatar.cjs +0 -1
- package/dist/cjs/components/avatar/use-avatar.cjs.map +1 -1
- package/dist/cjs/components/blockquote/blockquote.cjs +0 -1
- package/dist/cjs/components/blockquote/blockquote.cjs.map +1 -1
- package/dist/cjs/components/breadcrumb/breadcrumb.cjs +0 -1
- package/dist/cjs/components/breadcrumb/breadcrumb.cjs.map +1 -1
- package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs +0 -1
- package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs.map +1 -1
- package/dist/cjs/components/button/button-group.cjs +0 -1
- package/dist/cjs/components/button/button-group.cjs.map +1 -1
- package/dist/cjs/components/button/button.cjs +0 -1
- package/dist/cjs/components/button/button.cjs.map +1 -1
- package/dist/cjs/components/calendar/calendar.cjs +0 -1
- package/dist/cjs/components/calendar/calendar.cjs.map +1 -1
- package/dist/cjs/components/calendar/use-calendar.cjs +5 -4
- package/dist/cjs/components/calendar/use-calendar.cjs.map +1 -1
- package/dist/cjs/components/carousel/carousel.cjs +0 -1
- package/dist/cjs/components/carousel/carousel.cjs.map +1 -1
- package/dist/cjs/components/chart/area-chart.cjs +0 -1
- package/dist/cjs/components/chart/area-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/bar-chart.cjs +0 -1
- package/dist/cjs/components/chart/bar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/cartesian-chart.cjs +0 -1
- package/dist/cjs/components/chart/cartesian-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/chart.cjs +0 -1
- package/dist/cjs/components/chart/chart.cjs.map +1 -1
- package/dist/cjs/components/chart/composed-chart.cjs +0 -1
- package/dist/cjs/components/chart/composed-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/donut-chart.cjs +0 -1
- package/dist/cjs/components/chart/donut-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/line-chart.cjs +0 -1
- package/dist/cjs/components/chart/line-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/pie-chart.cjs +0 -1
- package/dist/cjs/components/chart/pie-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/polar-chart.cjs +0 -1
- package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/radar-chart.cjs +0 -1
- package/dist/cjs/components/chart/radar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/radial-chart.cjs +0 -1
- package/dist/cjs/components/chart/radial-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-cartesian-chart.cjs +0 -1
- package/dist/cjs/components/chart/use-cartesian-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-chart.cjs +0 -1
- package/dist/cjs/components/chart/use-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-polar-chart.cjs +0 -1
- package/dist/cjs/components/chart/use-polar-chart.cjs.map +1 -1
- package/dist/cjs/components/checkbox/checkbox-group.cjs +0 -1
- package/dist/cjs/components/checkbox/checkbox-group.cjs.map +1 -1
- package/dist/cjs/components/checkbox/checkbox.cjs +0 -1
- package/dist/cjs/components/checkbox/checkbox.cjs.map +1 -1
- package/dist/cjs/components/checkbox/use-checkbox-group.cjs +0 -1
- package/dist/cjs/components/checkbox/use-checkbox-group.cjs.map +1 -1
- package/dist/cjs/components/checkbox/use-checkbox.cjs +0 -1
- package/dist/cjs/components/checkbox/use-checkbox.cjs.map +1 -1
- package/dist/cjs/components/checkbox-card/checkbox-card-group.cjs +0 -1
- package/dist/cjs/components/checkbox-card/checkbox-card-group.cjs.map +1 -1
- package/dist/cjs/components/checkbox-card/checkbox-card.cjs +0 -1
- package/dist/cjs/components/checkbox-card/checkbox-card.cjs.map +1 -1
- package/dist/cjs/components/collapse/collapse.cjs +0 -1
- package/dist/cjs/components/collapse/collapse.cjs.map +1 -1
- package/dist/cjs/components/color-picker/color-picker.cjs +0 -1
- package/dist/cjs/components/color-picker/color-picker.cjs.map +1 -1
- package/dist/cjs/components/color-picker/use-color-picker.cjs +0 -1
- package/dist/cjs/components/color-picker/use-color-picker.cjs.map +1 -1
- package/dist/cjs/components/color-selector/color-selector.cjs +0 -1
- package/dist/cjs/components/color-selector/color-selector.cjs.map +1 -1
- package/dist/cjs/components/color-selector/use-color-selector.cjs +0 -1
- package/dist/cjs/components/color-selector/use-color-selector.cjs.map +1 -1
- package/dist/cjs/components/data-list/data-list.cjs +0 -1
- package/dist/cjs/components/data-list/data-list.cjs.map +1 -1
- package/dist/cjs/components/date-picker/date-picker.cjs +0 -1
- package/dist/cjs/components/date-picker/date-picker.cjs.map +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +0 -1
- package/dist/cjs/components/drawer/drawer.cjs.map +1 -1
- package/dist/cjs/components/drawer/use-drawer.cjs +0 -1
- package/dist/cjs/components/drawer/use-drawer.cjs.map +1 -1
- package/dist/cjs/components/dropzone/dropzone.cjs +0 -1
- package/dist/cjs/components/dropzone/dropzone.cjs.map +1 -1
- package/dist/cjs/components/dropzone/use-dropzone.cjs +0 -1
- package/dist/cjs/components/dropzone/use-dropzone.cjs.map +1 -1
- package/dist/cjs/components/editable/use-editable.cjs +0 -1
- package/dist/cjs/components/editable/use-editable.cjs.map +1 -1
- package/dist/cjs/components/fade/fade.cjs +0 -1
- package/dist/cjs/components/fade/fade.cjs.map +1 -1
- package/dist/cjs/components/fade-scale/fade-scale.cjs +0 -1
- package/dist/cjs/components/fade-scale/fade-scale.cjs.map +1 -1
- package/dist/cjs/components/field/field.cjs +0 -1
- package/dist/cjs/components/field/field.cjs.map +1 -1
- package/dist/cjs/components/field/use-field-props.cjs +0 -1
- package/dist/cjs/components/field/use-field-props.cjs.map +1 -1
- package/dist/cjs/components/fieldset/fieldset.cjs +0 -1
- package/dist/cjs/components/fieldset/fieldset.cjs.map +1 -1
- package/dist/cjs/components/file-button/use-file-button.cjs +0 -1
- package/dist/cjs/components/file-button/use-file-button.cjs.map +1 -1
- package/dist/cjs/components/file-input/file-input.cjs +0 -1
- package/dist/cjs/components/file-input/file-input.cjs.map +1 -1
- package/dist/cjs/components/file-input/use-file-input.cjs +0 -1
- package/dist/cjs/components/file-input/use-file-input.cjs.map +1 -1
- package/dist/cjs/components/flip/flip.cjs +0 -1
- package/dist/cjs/components/flip/flip.cjs.map +1 -1
- package/dist/cjs/components/float/float.style.cjs +1 -0
- package/dist/cjs/components/float/float.style.cjs.map +1 -1
- package/dist/cjs/components/form/form.cjs +0 -1
- package/dist/cjs/components/form/form.cjs.map +1 -1
- package/dist/cjs/components/format/use-format-byte.cjs +0 -1
- package/dist/cjs/components/format/use-format-byte.cjs.map +1 -1
- package/dist/cjs/components/format/use-format-date-time.cjs +0 -1
- package/dist/cjs/components/format/use-format-date-time.cjs.map +1 -1
- package/dist/cjs/components/format/use-format-number.cjs +0 -1
- package/dist/cjs/components/format/use-format-number.cjs.map +1 -1
- package/dist/cjs/components/group/use-group.cjs +0 -1
- package/dist/cjs/components/group/use-group.cjs.map +1 -1
- package/dist/cjs/components/highlight/highlight.cjs +0 -1
- package/dist/cjs/components/highlight/highlight.cjs.map +1 -1
- package/dist/cjs/components/highlight/use-highlight.cjs +0 -1
- package/dist/cjs/components/highlight/use-highlight.cjs.map +1 -1
- package/dist/cjs/components/hue-slider/hue-slider.cjs +0 -1
- package/dist/cjs/components/hue-slider/hue-slider.cjs.map +1 -1
- package/dist/cjs/components/icon/icons/briefcase-plus-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/briefcase-plus-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/clef-alto-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/clef-alto-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/clef-bass-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/clef-bass-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/clef-treble-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/clef-treble-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/cupcake-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/cupcake-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/door-closed-package-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/door-closed-package-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/faucet-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/faucet-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/house-cog-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/house-cog-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/index.cjs +60 -0
- package/dist/cjs/components/icon/icons/index.cjs.map +1 -1
- package/dist/cjs/components/icon/icons/lambda-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/lambda-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/line-dot-bottom-vertical-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/line-dot-bottom-vertical-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/line-dot-left-horizontal-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/line-dot-left-horizontal-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/line-dot-top-vertical-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/line-dot-top-vertical-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/monitor-pc-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/monitor-pc-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/nepali-rupee-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/nepali-rupee-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/rotate-cw-clock-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/rotate-cw-clock-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-dashed-plus-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-dashed-plus-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-corner-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-corner-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-dashed-x-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/square-sparkles-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/square-sparkles-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/tube-lotion-icon.cjs +14 -0
- package/dist/cjs/components/icon/icons/tube-lotion-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/index.cjs +40 -0
- package/dist/cjs/components/indicator/indicator.cjs +0 -1
- package/dist/cjs/components/indicator/indicator.cjs.map +1 -1
- package/dist/cjs/components/infinite-scroll-area/infinite-scroll-area.cjs +0 -1
- package/dist/cjs/components/infinite-scroll-area/infinite-scroll-area.cjs.map +1 -1
- package/dist/cjs/components/infinite-scroll-area/use-infinite-scroll.cjs +0 -1
- package/dist/cjs/components/infinite-scroll-area/use-infinite-scroll.cjs.map +1 -1
- package/dist/cjs/components/input/input-group.cjs +0 -1
- package/dist/cjs/components/input/input-group.cjs.map +1 -1
- package/dist/cjs/components/input/use-input-border.cjs +0 -1
- package/dist/cjs/components/input/use-input-border.cjs.map +1 -1
- package/dist/cjs/components/list/list.cjs +0 -1
- package/dist/cjs/components/list/list.cjs.map +1 -1
- package/dist/cjs/components/loading/background.cjs +0 -1
- package/dist/cjs/components/loading/background.cjs.map +1 -1
- package/dist/cjs/components/loading/loading-provider.cjs +0 -1
- package/dist/cjs/components/loading/loading-provider.cjs.map +1 -1
- package/dist/cjs/components/loading/page.cjs +0 -1
- package/dist/cjs/components/loading/page.cjs.map +1 -1
- package/dist/cjs/components/loading/screen.cjs +0 -1
- package/dist/cjs/components/loading/screen.cjs.map +1 -1
- package/dist/cjs/components/loading/suspense.cjs +0 -1
- package/dist/cjs/components/loading/suspense.cjs.map +1 -1
- package/dist/cjs/components/loading/use-loading-component.cjs +0 -1
- package/dist/cjs/components/loading/use-loading-component.cjs.map +1 -1
- package/dist/cjs/components/menu/menu.cjs +29 -29
- package/dist/cjs/components/menu/menu.cjs.map +1 -1
- package/dist/cjs/components/menu/use-menu.cjs +0 -1
- package/dist/cjs/components/menu/use-menu.cjs.map +1 -1
- package/dist/cjs/components/modal/modal.cjs +0 -1
- package/dist/cjs/components/modal/modal.cjs.map +1 -1
- package/dist/cjs/components/modal/use-modal.cjs +0 -1
- package/dist/cjs/components/modal/use-modal.cjs.map +1 -1
- package/dist/cjs/components/motion/motion.cjs +0 -1
- package/dist/cjs/components/motion/motion.cjs.map +1 -1
- package/dist/cjs/components/native-accordion/native-accordion.cjs +0 -1
- package/dist/cjs/components/native-accordion/native-accordion.cjs.map +1 -1
- package/dist/cjs/components/native-accordion/use-native-accordion.cjs +0 -1
- package/dist/cjs/components/native-accordion/use-native-accordion.cjs.map +1 -1
- package/dist/cjs/components/native-popover/native-popover.cjs +0 -1
- package/dist/cjs/components/native-popover/native-popover.cjs.map +1 -1
- package/dist/cjs/components/native-popover/use-native-popover.cjs +0 -1
- package/dist/cjs/components/native-popover/use-native-popover.cjs.map +1 -1
- package/dist/cjs/components/native-select/use-native-select.cjs +0 -1
- package/dist/cjs/components/native-select/use-native-select.cjs.map +1 -1
- package/dist/cjs/components/notice/notice-provider.cjs +0 -1
- package/dist/cjs/components/notice/notice-provider.cjs.map +1 -1
- package/dist/cjs/components/notice/notice.cjs +0 -1
- package/dist/cjs/components/notice/notice.cjs.map +1 -1
- package/dist/cjs/components/notice/use-notice.cjs +0 -1
- package/dist/cjs/components/notice/use-notice.cjs.map +1 -1
- package/dist/cjs/components/number-input/use-number-counter.cjs +0 -1
- package/dist/cjs/components/number-input/use-number-counter.cjs.map +1 -1
- package/dist/cjs/components/number-input/use-number-input.cjs +0 -1
- package/dist/cjs/components/number-input/use-number-input.cjs.map +1 -1
- package/dist/cjs/components/number-input/use-spinner.cjs +0 -1
- package/dist/cjs/components/number-input/use-spinner.cjs.map +1 -1
- package/dist/cjs/components/pagination/pagination.cjs +0 -1
- package/dist/cjs/components/pagination/pagination.cjs.map +1 -1
- package/dist/cjs/components/pagination/use-pagination.cjs +0 -1
- package/dist/cjs/components/pagination/use-pagination.cjs.map +1 -1
- package/dist/cjs/components/password-input/use-password-input.cjs +0 -1
- package/dist/cjs/components/password-input/use-password-input.cjs.map +1 -1
- package/dist/cjs/components/password-input/use-strength-meter.cjs +0 -1
- package/dist/cjs/components/password-input/use-strength-meter.cjs.map +1 -1
- package/dist/cjs/components/picture/picture.cjs +0 -1
- package/dist/cjs/components/picture/picture.cjs.map +1 -1
- package/dist/cjs/components/pin-input/pin-input.cjs +0 -1
- package/dist/cjs/components/pin-input/pin-input.cjs.map +1 -1
- package/dist/cjs/components/pin-input/use-pin-input.cjs +0 -1
- package/dist/cjs/components/pin-input/use-pin-input.cjs.map +1 -1
- package/dist/cjs/components/popover/popover.cjs +0 -1
- package/dist/cjs/components/popover/popover.cjs.map +1 -1
- package/dist/cjs/components/popover/use-popover.cjs +0 -1
- package/dist/cjs/components/popover/use-popover.cjs.map +1 -1
- package/dist/cjs/components/portal/portal.cjs +0 -1
- package/dist/cjs/components/portal/portal.cjs.map +1 -1
- package/dist/cjs/components/progress/use-progress.cjs +0 -1
- package/dist/cjs/components/progress/use-progress.cjs.map +1 -1
- package/dist/cjs/components/qr-code/qr-code.cjs +0 -1
- package/dist/cjs/components/qr-code/qr-code.cjs.map +1 -1
- package/dist/cjs/components/qr-code/use-qr-code.cjs +0 -1
- package/dist/cjs/components/qr-code/use-qr-code.cjs.map +1 -1
- package/dist/cjs/components/radio/radio-group.cjs +0 -1
- package/dist/cjs/components/radio/radio-group.cjs.map +1 -1
- package/dist/cjs/components/radio/radio.cjs +0 -1
- package/dist/cjs/components/radio/radio.cjs.map +1 -1
- package/dist/cjs/components/radio/use-radio-group.cjs +0 -1
- package/dist/cjs/components/radio/use-radio-group.cjs.map +1 -1
- package/dist/cjs/components/radio/use-radio.cjs +0 -1
- package/dist/cjs/components/radio/use-radio.cjs.map +1 -1
- package/dist/cjs/components/radio-card/radio-card-group.cjs +0 -1
- package/dist/cjs/components/radio-card/radio-card-group.cjs.map +1 -1
- package/dist/cjs/components/radio-card/radio-card.cjs +0 -1
- package/dist/cjs/components/radio-card/radio-card.cjs.map +1 -1
- package/dist/cjs/components/rating/rating.cjs +0 -1
- package/dist/cjs/components/rating/rating.cjs.map +1 -1
- package/dist/cjs/components/rating/use-rating.cjs +0 -1
- package/dist/cjs/components/rating/use-rating.cjs.map +1 -1
- package/dist/cjs/components/reorder/use-reorder.cjs +0 -1
- package/dist/cjs/components/reorder/use-reorder.cjs.map +1 -1
- package/dist/cjs/components/resizable/resizable.cjs +0 -1
- package/dist/cjs/components/resizable/resizable.cjs.map +1 -1
- package/dist/cjs/components/resizable/use-resizable.cjs +0 -1
- package/dist/cjs/components/resizable/use-resizable.cjs.map +1 -1
- package/dist/cjs/components/ripple/use-ripple.cjs +0 -1
- package/dist/cjs/components/ripple/use-ripple.cjs.map +1 -1
- package/dist/cjs/components/rotate/rotate.cjs +0 -1
- package/dist/cjs/components/rotate/rotate.cjs.map +1 -1
- package/dist/cjs/components/saturation-slider/saturation-slider.cjs +0 -1
- package/dist/cjs/components/saturation-slider/saturation-slider.cjs.map +1 -1
- package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs +0 -1
- package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs.map +1 -1
- package/dist/cjs/components/scroll-area/use-scroll-area.cjs +0 -1
- package/dist/cjs/components/scroll-area/use-scroll-area.cjs.map +1 -1
- package/dist/cjs/components/segmented-control/segmented-control.cjs +0 -1
- package/dist/cjs/components/segmented-control/segmented-control.cjs.map +1 -1
- package/dist/cjs/components/segmented-control/use-segmented-control.cjs +0 -1
- package/dist/cjs/components/segmented-control/use-segmented-control.cjs.map +1 -1
- package/dist/cjs/components/select/select.cjs +0 -1
- package/dist/cjs/components/select/select.cjs.map +1 -1
- package/dist/cjs/components/select/use-select.cjs +0 -1
- package/dist/cjs/components/select/use-select.cjs.map +1 -1
- package/dist/cjs/components/show/show.cjs +0 -1
- package/dist/cjs/components/show/show.cjs.map +1 -1
- package/dist/cjs/components/sidebar/sidebar.cjs +0 -1
- package/dist/cjs/components/sidebar/sidebar.cjs.map +1 -1
- package/dist/cjs/components/sidebar/use-sidebar.cjs +0 -1
- package/dist/cjs/components/sidebar/use-sidebar.cjs.map +1 -1
- package/dist/cjs/components/simple-grid/simple-grid.cjs +0 -1
- package/dist/cjs/components/simple-grid/simple-grid.cjs.map +1 -1
- package/dist/cjs/components/slide/slide.cjs +0 -1
- package/dist/cjs/components/slide/slide.cjs.map +1 -1
- package/dist/cjs/components/slide-fade/slide-fade.cjs +0 -1
- package/dist/cjs/components/slide-fade/slide-fade.cjs.map +1 -1
- package/dist/cjs/components/slider/slider.cjs +0 -1
- package/dist/cjs/components/slider/slider.cjs.map +1 -1
- package/dist/cjs/components/slider/use-slider.cjs +0 -1
- package/dist/cjs/components/slider/use-slider.cjs.map +1 -1
- package/dist/cjs/components/slot/slot.cjs +0 -1
- package/dist/cjs/components/slot/slot.cjs.map +1 -1
- package/dist/cjs/components/snacks/snacks.cjs +0 -1
- package/dist/cjs/components/snacks/snacks.cjs.map +1 -1
- package/dist/cjs/components/snacks/use-snacks.cjs +0 -1
- package/dist/cjs/components/snacks/use-snacks.cjs.map +1 -1
- package/dist/cjs/components/stack/stack.cjs +0 -1
- package/dist/cjs/components/stack/stack.cjs.map +1 -1
- package/dist/cjs/components/stack/z-stack.cjs +0 -1
- package/dist/cjs/components/stack/z-stack.cjs.map +1 -1
- package/dist/cjs/components/steps/steps.cjs +0 -1
- package/dist/cjs/components/steps/steps.cjs.map +1 -1
- package/dist/cjs/components/steps/use-steps.cjs +0 -1
- package/dist/cjs/components/steps/use-steps.cjs.map +1 -1
- package/dist/cjs/components/switch/use-switch.cjs +0 -1
- package/dist/cjs/components/switch/use-switch.cjs.map +1 -1
- package/dist/cjs/components/table/table.cjs +0 -1
- package/dist/cjs/components/table/table.cjs.map +1 -1
- package/dist/cjs/components/tabs/tabs.cjs +0 -1
- package/dist/cjs/components/tabs/tabs.cjs.map +1 -1
- package/dist/cjs/components/tabs/use-tabs.cjs +0 -1
- package/dist/cjs/components/tabs/use-tabs.cjs.map +1 -1
- package/dist/cjs/components/tag/tag.cjs +0 -1
- package/dist/cjs/components/tag/tag.cjs.map +1 -1
- package/dist/cjs/components/textarea/use-autosize.cjs +0 -1
- package/dist/cjs/components/textarea/use-autosize.cjs.map +1 -1
- package/dist/cjs/components/textarea/use-textarea.cjs +0 -1
- package/dist/cjs/components/textarea/use-textarea.cjs.map +1 -1
- package/dist/cjs/components/timeline/timeline.cjs +0 -1
- package/dist/cjs/components/timeline/timeline.cjs.map +1 -1
- package/dist/cjs/components/toggle/toggle-group.cjs +0 -1
- package/dist/cjs/components/toggle/toggle-group.cjs.map +1 -1
- package/dist/cjs/components/toggle/use-toggle-group.cjs +11 -11
- package/dist/cjs/components/toggle/use-toggle-group.cjs.map +1 -1
- package/dist/cjs/components/toggle/use-toggle.cjs +0 -1
- package/dist/cjs/components/toggle/use-toggle.cjs.map +1 -1
- package/dist/cjs/components/tooltip/use-tooltip.cjs +0 -1
- package/dist/cjs/components/tooltip/use-tooltip.cjs.map +1 -1
- package/dist/cjs/components/tree/tree.cjs +0 -1
- package/dist/cjs/components/tree/tree.cjs.map +1 -1
- package/dist/cjs/components/tree/use-tree.cjs +4 -4
- package/dist/cjs/components/tree/use-tree.cjs.map +1 -1
- package/dist/cjs/core/components/create-component.cjs +0 -1
- package/dist/cjs/core/components/create-component.cjs.map +1 -1
- package/dist/cjs/core/components/use-component-style.cjs +0 -1
- package/dist/cjs/core/components/use-component-style.cjs.map +1 -1
- package/dist/cjs/core/css/styles.cjs.map +1 -1
- package/dist/cjs/core/css/use-css.cjs +0 -1
- package/dist/cjs/core/css/use-css.cjs.map +1 -1
- package/dist/cjs/core/css/use-inject-vars.cjs +0 -1
- package/dist/cjs/core/css/use-inject-vars.cjs.map +1 -1
- package/dist/cjs/core/system/color-mode-provider.cjs +0 -1
- package/dist/cjs/core/system/color-mode-provider.cjs.map +1 -1
- package/dist/cjs/core/system/environment-provider.cjs +0 -1
- package/dist/cjs/core/system/environment-provider.cjs.map +1 -1
- package/dist/cjs/core/system/system-provider.cjs +0 -1
- package/dist/cjs/core/system/system-provider.cjs.map +1 -1
- package/dist/cjs/core/system/theme-provider.cjs +0 -1
- package/dist/cjs/core/system/theme-provider.cjs.map +1 -1
- package/dist/cjs/core/system/use-system-color-mode.cjs +0 -1
- package/dist/cjs/core/system/use-system-color-mode.cjs.map +1 -1
- package/dist/cjs/hooks/use-animation/index.cjs +0 -1
- package/dist/cjs/hooks/use-animation/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-async/index.cjs +0 -1
- package/dist/cjs/hooks/use-async/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-async-callback/index.cjs +0 -1
- package/dist/cjs/hooks/use-async-callback/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-boolean/index.cjs +0 -1
- package/dist/cjs/hooks/use-boolean/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-effect.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-effect.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-state.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-state.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-value.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint-value.cjs.map +1 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint.cjs +0 -1
- package/dist/cjs/hooks/use-breakpoint/use-breakpoint.cjs.map +1 -1
- package/dist/cjs/hooks/use-clickable/index.cjs +0 -1
- package/dist/cjs/hooks/use-clickable/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-controllable-state/index.cjs +0 -1
- package/dist/cjs/hooks/use-controllable-state/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-counter/index.cjs +0 -1
- package/dist/cjs/hooks/use-counter/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-descendants/index.cjs +0 -1
- package/dist/cjs/hooks/use-descendants/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-disclosure/use-disclosure.cjs +0 -1
- package/dist/cjs/hooks/use-disclosure/use-disclosure.cjs.map +1 -1
- package/dist/cjs/hooks/use-disclosure/use-promise-disclosure.cjs +0 -1
- package/dist/cjs/hooks/use-disclosure/use-promise-disclosure.cjs.map +1 -1
- package/dist/cjs/hooks/use-event-listener/index.cjs +0 -1
- package/dist/cjs/hooks/use-event-listener/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-eye-dropper/index.cjs +0 -1
- package/dist/cjs/hooks/use-eye-dropper/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-field-sizing/index.cjs +0 -1
- package/dist/cjs/hooks/use-field-sizing/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-focus/index.cjs +0 -1
- package/dist/cjs/hooks/use-focus/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-hover/index.cjs +0 -1
- package/dist/cjs/hooks/use-hover/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-idle/index.cjs +0 -1
- package/dist/cjs/hooks/use-idle/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-interval/index.cjs +0 -1
- package/dist/cjs/hooks/use-interval/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-lazy-mount/index.cjs +0 -1
- package/dist/cjs/hooks/use-lazy-mount/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-local-storage/index.cjs +0 -1
- package/dist/cjs/hooks/use-local-storage/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-media-query/index.cjs +0 -1
- package/dist/cjs/hooks/use-media-query/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-mounted/index.cjs +0 -1
- package/dist/cjs/hooks/use-mounted/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-online/index.cjs +0 -1
- package/dist/cjs/hooks/use-online/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-outside-click/index.cjs +0 -1
- package/dist/cjs/hooks/use-outside-click/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-pan-event/index.cjs +0 -1
- package/dist/cjs/hooks/use-pan-event/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-popper/index.cjs +0 -1
- package/dist/cjs/hooks/use-popper/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-previous/index.cjs +0 -1
- package/dist/cjs/hooks/use-previous/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-processing/index.cjs +0 -1
- package/dist/cjs/hooks/use-processing/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-resize-observer/index.cjs +0 -1
- package/dist/cjs/hooks/use-resize-observer/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-timeout/index.cjs +0 -1
- package/dist/cjs/hooks/use-timeout/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-value/index.cjs +0 -1
- package/dist/cjs/hooks/use-value/index.cjs.map +1 -1
- package/dist/cjs/hooks/use-window-event/index.cjs +0 -1
- package/dist/cjs/hooks/use-window-event/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +60 -0
- package/dist/cjs/utils/ssr.cjs +0 -1
- package/dist/cjs/utils/ssr.cjs.map +1 -1
- package/dist/cjs/utils/store.cjs +0 -1
- package/dist/cjs/utils/store.cjs.map +1 -1
- package/dist/esm/components/calendar/use-calendar.js +5 -4
- package/dist/esm/components/calendar/use-calendar.js.map +1 -1
- package/dist/esm/components/float/float.style.js +1 -0
- package/dist/esm/components/float/float.style.js.map +1 -1
- package/dist/esm/components/icon/icons/briefcase-plus-icon.js +14 -0
- package/dist/esm/components/icon/icons/briefcase-plus-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/clef-alto-icon.js +14 -0
- package/dist/esm/components/icon/icons/clef-alto-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/clef-bass-icon.js +14 -0
- package/dist/esm/components/icon/icons/clef-bass-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/clef-treble-icon.js +14 -0
- package/dist/esm/components/icon/icons/clef-treble-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/cupcake-icon.js +14 -0
- package/dist/esm/components/icon/icons/cupcake-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/door-closed-package-icon.js +14 -0
- package/dist/esm/components/icon/icons/door-closed-package-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/faucet-icon.js +14 -0
- package/dist/esm/components/icon/icons/faucet-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/house-cog-icon.js +14 -0
- package/dist/esm/components/icon/icons/house-cog-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/index.js +41 -1
- package/dist/esm/components/icon/icons/index.js.map +1 -1
- package/dist/esm/components/icon/icons/lambda-icon.js +14 -0
- package/dist/esm/components/icon/icons/lambda-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js +14 -0
- package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js +14 -0
- package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js +14 -0
- package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/monitor-pc-icon.js +14 -0
- package/dist/esm/components/icon/icons/monitor-pc-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/nepali-rupee-icon.js +14 -0
- package/dist/esm/components/icon/icons/nepali-rupee-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js +14 -0
- package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-dashed-plus-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-dashed-plus-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-dashed-x-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-dashed-x-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/square-sparkles-icon.js +14 -0
- package/dist/esm/components/icon/icons/square-sparkles-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/tube-lotion-icon.js +14 -0
- package/dist/esm/components/icon/icons/tube-lotion-icon.js.map +1 -0
- package/dist/esm/components/icon/index.js +21 -1
- package/dist/esm/components/menu/menu.js +29 -28
- package/dist/esm/components/menu/menu.js.map +1 -1
- package/dist/esm/components/toggle/use-toggle-group.js +11 -10
- package/dist/esm/components/toggle/use-toggle-group.js.map +1 -1
- package/dist/esm/components/tree/use-tree.js +4 -3
- package/dist/esm/components/tree/use-tree.js.map +1 -1
- package/dist/esm/core/css/styles.js.map +1 -1
- package/dist/esm/index.js +41 -1
- package/dist/esm/utils/store.js.map +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -10
- package/dist/types/components/accordion/accordion.style.d.ts +2 -3
- package/dist/types/components/accordion/use-accordion.d.ts +7 -7
- package/dist/types/components/action-bar/action-bar.d.ts +11 -11
- package/dist/types/components/action-bar/action-bar.style.d.ts +2 -3
- package/dist/types/components/action-bar/use-action-bar.d.ts +3 -4
- package/dist/types/components/airy/airy.d.ts +3 -3
- package/dist/types/components/airy/airy.style.d.ts +2 -3
- package/dist/types/components/alert/alert.d.ts +12 -11
- package/dist/types/components/alert/alert.style.d.ts +2 -3
- package/dist/types/components/alpha-slider/alpha-slider.d.ts +10 -9
- package/dist/types/components/alpha-slider/alpha-slider.style.d.ts +2 -3
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +3 -3
- package/dist/types/components/aspect-ratio/aspect-ratio.style.d.ts +2 -3
- package/dist/types/components/autocomplete/autocomplete.d.ts +10 -9
- package/dist/types/components/autocomplete/autocomplete.style.d.ts +2 -3
- package/dist/types/components/autocomplete/use-autocomplete.d.ts +10 -10
- package/dist/types/components/avatar/avatar-group.d.ts +2 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -3
- package/dist/types/components/avatar/avatar.style.d.ts +2 -3
- package/dist/types/components/avatar/use-avatar-group.d.ts +3 -4
- package/dist/types/components/avatar/use-avatar.d.ts +3 -4
- package/dist/types/components/badge/badge.d.ts +3 -3
- package/dist/types/components/badge/badge.style.d.ts +2 -3
- package/dist/types/components/bleed/bleed.d.ts +3 -3
- package/dist/types/components/bleed/bleed.style.d.ts +2 -3
- package/dist/types/components/blockquote/blockquote.d.ts +11 -11
- package/dist/types/components/blockquote/blockquote.style.d.ts +2 -3
- package/dist/types/components/box/box.d.ts +2 -3
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +7 -7
- package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +2 -3
- package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +4 -5
- package/dist/types/components/button/button-group.d.ts +2 -3
- package/dist/types/components/button/button.d.ts +4 -3
- package/dist/types/components/button/button.style.d.ts +2 -3
- package/dist/types/components/button/icon-button.d.ts +3 -3
- package/dist/types/components/button/icon-button.style.d.ts +2 -3
- package/dist/types/components/calendar/calendar.d.ts +18 -17
- package/dist/types/components/calendar/calendar.style.d.ts +3 -4
- package/dist/types/components/calendar/use-calendar.d.ts +41 -41
- package/dist/types/components/card/card.d.ts +9 -9
- package/dist/types/components/card/card.style.d.ts +2 -3
- package/dist/types/components/carousel/carousel.d.ts +15 -15
- package/dist/types/components/carousel/carousel.style.d.ts +2 -3
- package/dist/types/components/carousel/use-carousel.d.ts +12 -12
- package/dist/types/components/center/center.d.ts +3 -3
- package/dist/types/components/center/center.style.d.ts +2 -3
- package/dist/types/components/chart/area-chart.d.ts +3 -3
- package/dist/types/components/chart/area-chart.style.d.ts +2 -3
- package/dist/types/components/chart/bar-chart.d.ts +3 -3
- package/dist/types/components/chart/bar-chart.style.d.ts +2 -3
- package/dist/types/components/chart/cartesian-chart.d.ts +19 -19
- package/dist/types/components/chart/cartesian-chart.style.d.ts +2 -3
- package/dist/types/components/chart/chart.d.ts +20 -20
- package/dist/types/components/chart/chart.style.d.ts +2 -3
- package/dist/types/components/chart/composed-chart.d.ts +5 -5
- package/dist/types/components/chart/composed-chart.style.d.ts +2 -3
- package/dist/types/components/chart/donut-chart.d.ts +3 -3
- package/dist/types/components/chart/donut-chart.style.d.ts +2 -3
- package/dist/types/components/chart/line-chart.d.ts +3 -3
- package/dist/types/components/chart/line-chart.style.d.ts +2 -3
- package/dist/types/components/chart/pie-chart.d.ts +3 -3
- package/dist/types/components/chart/pie-chart.style.d.ts +2 -3
- package/dist/types/components/chart/polar-chart.d.ts +22 -22
- package/dist/types/components/chart/polar-chart.style.d.ts +2 -3
- package/dist/types/components/chart/radar-chart.d.ts +3 -3
- package/dist/types/components/chart/radar-chart.style.d.ts +2 -3
- package/dist/types/components/chart/radial-chart.d.ts +3 -3
- package/dist/types/components/chart/radial-chart.style.d.ts +2 -3
- package/dist/types/components/chart/use-cartesian-chart.d.ts +24 -25
- package/dist/types/components/chart/use-chart.d.ts +15 -15
- package/dist/types/components/chart/use-polar-chart.d.ts +30 -31
- package/dist/types/components/checkbox/checkbox-group.d.ts +3 -3
- package/dist/types/components/checkbox/checkbox.d.ts +3 -3
- package/dist/types/components/checkbox/checkbox.style.d.ts +2 -3
- package/dist/types/components/checkbox/use-checkbox-group.d.ts +4 -4
- package/dist/types/components/checkbox/use-checkbox.d.ts +3 -4
- package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +3 -3
- package/dist/types/components/checkbox-card/checkbox-card.d.ts +9 -9
- package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +2 -3
- package/dist/types/components/circle-progress/circle-progress.d.ts +5 -5
- package/dist/types/components/circle-progress/circle-progress.style.d.ts +2 -3
- package/dist/types/components/client-only/client-only.d.ts +2 -3
- package/dist/types/components/close-button/close-button.d.ts +3 -3
- package/dist/types/components/close-button/close-button.style.d.ts +2 -3
- package/dist/types/components/code/code.d.ts +3 -3
- package/dist/types/components/code/code.style.d.ts +2 -3
- package/dist/types/components/collapse/collapse.d.ts +3 -3
- package/dist/types/components/collapse/collapse.style.d.ts +2 -3
- package/dist/types/components/color-picker/color-picker.d.ts +6 -3
- package/dist/types/components/color-picker/color-picker.style.d.ts +2 -3
- package/dist/types/components/color-picker/use-color-picker.d.ts +3 -4
- package/dist/types/components/color-selector/color-selector.d.ts +18 -17
- package/dist/types/components/color-selector/color-selector.style.d.ts +3 -4
- package/dist/types/components/color-selector/use-color-selector.d.ts +3 -4
- package/dist/types/components/color-swatch/color-swatch-group.d.ts +2 -3
- package/dist/types/components/color-swatch/color-swatch.d.ts +4 -4
- package/dist/types/components/color-swatch/color-swatch.style.d.ts +2 -3
- package/dist/types/components/container/container.d.ts +9 -9
- package/dist/types/components/container/container.style.d.ts +2 -3
- package/dist/types/components/data-list/data-list.d.ts +10 -10
- package/dist/types/components/data-list/data-list.style.d.ts +2 -3
- package/dist/types/components/date-picker/date-picker.d.ts +6 -3
- package/dist/types/components/date-picker/date-picker.style.d.ts +2 -3
- package/dist/types/components/date-picker/use-date-picker.d.ts +5 -6
- package/dist/types/components/drawer/drawer.d.ts +23 -23
- package/dist/types/components/drawer/drawer.style.d.ts +2 -3
- package/dist/types/components/drawer/use-drawer.d.ts +3 -4
- package/dist/types/components/dropzone/accept-types.d.ts +7 -8
- package/dist/types/components/dropzone/dropzone.d.ts +16 -15
- package/dist/types/components/dropzone/dropzone.style.d.ts +2 -3
- package/dist/types/components/dropzone/use-dropzone.d.ts +3 -4
- package/dist/types/components/editable/editable.d.ts +17 -17
- package/dist/types/components/editable/editable.style.d.ts +2 -3
- package/dist/types/components/editable/use-editable.d.ts +4 -4
- package/dist/types/components/em/em.d.ts +3 -3
- package/dist/types/components/em/em.style.d.ts +2 -3
- package/dist/types/components/empty-state/empty-state.d.ts +11 -11
- package/dist/types/components/empty-state/empty-state.style.d.ts +2 -3
- package/dist/types/components/fade/fade.d.ts +4 -4
- package/dist/types/components/fade/fade.style.d.ts +2 -3
- package/dist/types/components/fade-scale/fade-scale.d.ts +3 -4
- package/dist/types/components/fade-scale/fade-scale.style.d.ts +2 -3
- package/dist/types/components/field/field.d.ts +10 -10
- package/dist/types/components/field/field.style.d.ts +2 -3
- package/dist/types/components/field/use-field-props.d.ts +4 -5
- package/dist/types/components/fieldset/fieldset.d.ts +13 -13
- package/dist/types/components/fieldset/fieldset.style.d.ts +2 -3
- package/dist/types/components/file-button/file-button.d.ts +3 -3
- package/dist/types/components/file-button/file-button.style.d.ts +2 -3
- package/dist/types/components/file-button/use-file-button.d.ts +3 -4
- package/dist/types/components/file-input/file-input.d.ts +3 -3
- package/dist/types/components/file-input/file-input.style.d.ts +2 -3
- package/dist/types/components/file-input/use-file-input.d.ts +3 -4
- package/dist/types/components/flex/flex.d.ts +3 -3
- package/dist/types/components/flex/flex.style.d.ts +2 -3
- package/dist/types/components/flex/spacer.d.ts +2 -3
- package/dist/types/components/flip/flip.d.ts +3 -3
- package/dist/types/components/flip/flip.style.d.ts +2 -3
- package/dist/types/components/float/float.d.ts +3 -3
- package/dist/types/components/float/float.style.d.ts +2 -3
- package/dist/types/components/focus-lock/focus-lock.d.ts +3 -3
- package/dist/types/components/for/for.d.ts +2 -3
- package/dist/types/components/form/form.d.ts +17 -17
- package/dist/types/components/form/form.style.d.ts +2 -3
- package/dist/types/components/format/format-byte.d.ts +3 -3
- package/dist/types/components/format/format-byte.style.d.ts +2 -3
- package/dist/types/components/format/format-date-time.d.ts +3 -3
- package/dist/types/components/format/format-date-time.style.d.ts +2 -3
- package/dist/types/components/format/format-number.d.ts +3 -3
- package/dist/types/components/format/format-number.style.d.ts +2 -3
- package/dist/types/components/format/use-format-byte.d.ts +5 -6
- package/dist/types/components/format/use-format-date-time.d.ts +6 -7
- package/dist/types/components/format/use-format-number.d.ts +6 -7
- package/dist/types/components/grid/grid-item.d.ts +3 -3
- package/dist/types/components/grid/grid-item.style.d.ts +2 -3
- package/dist/types/components/grid/grid.d.ts +3 -3
- package/dist/types/components/grid/grid.style.d.ts +2 -3
- package/dist/types/components/group/group.d.ts +3 -3
- package/dist/types/components/group/group.style.d.ts +2 -3
- package/dist/types/components/group/use-group.d.ts +4 -5
- package/dist/types/components/heading/heading.d.ts +3 -3
- package/dist/types/components/heading/heading.style.d.ts +2 -3
- package/dist/types/components/highlight/highlight.d.ts +2 -3
- package/dist/types/components/highlight/use-highlight.d.ts +4 -5
- package/dist/types/components/hue-slider/hue-slider.d.ts +10 -9
- package/dist/types/components/hue-slider/hue-slider.style.d.ts +2 -3
- package/dist/types/components/icon/icon.d.ts +3 -3
- package/dist/types/components/icon/icon.style.d.ts +2 -3
- package/dist/types/components/icon/icons/a-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/a-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/a-large-small-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/accessibility-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/activity-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/air-vent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/airplay-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-clock-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/alarm-smoke-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-center-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-center-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-end-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-end-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-distribute-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-distribute-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-distribute-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-justify-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-justify-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-justify-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-space-around-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-horizontal-space-between-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-start-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-start-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-distribute-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-distribute-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-distribute-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-justify-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-justify-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-justify-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-space-around-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/align-vertical-space-between-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ambulance-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ampersand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ampersands-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/amphora-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/anchor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/angle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/antenna-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/anvil-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/aperture-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/app-window-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/app-window-mac-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/apple-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/archive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/archive-restore-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/archive-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/armchair-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-down-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-left-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-right-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-up-dash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-big-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-a-z-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-narrow-wide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-to-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-wide-narrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down-z-a-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down01-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-down10-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-left-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-right-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-a-z-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-from-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-narrow-wide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-to-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-wide-narrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up-z-a-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up01-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrow-up10-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/arrows-up-from-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/asterisk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/astroid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/at-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/atom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-lines-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-lines-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-lines-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/audio-waveform-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/award-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/axe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/axis3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/baby-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/backpack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-cent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-dollar-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-indian-rupee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-info-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-japanese-yen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-russian-ruble-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-swiss-franc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-turkish-lira-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/badge-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/baggage-claim-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/balloon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banana-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bandage-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/banknote-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/barcode-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/barrel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/baseline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bath-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-charging-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-full-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-low-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-medium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/battery-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beaker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bean-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bean-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bed-double-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bed-single-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beef-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beef-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/beer-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-electric-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bell-ring-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-horizontal-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-horizontal-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-vertical-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/between-vertical-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/biceps-flexed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bike-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/binary-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/binoculars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/biohazard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bird-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/birdhouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bitcoin-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blend-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blender-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blinds-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/blocks-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-connected-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bluetooth-searching-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bold-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bolt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bomb-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bone-fracture-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-a-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-audio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-copy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-headphones-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-image-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-open-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-open-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-up2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/book-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bookmark-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/boom-box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bot-message-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bot-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bottle-wine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bow-arrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/boxes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/braces-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brackets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brain-circuit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brain-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brick-wall-fire-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brick-wall-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brick-wall-shield-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bridge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-business-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-conveyor-belt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-medical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/briefcase-plus-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/bring-to-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/broccoli-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/broom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/broom-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brush-cleaning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/brush-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bubbles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bug-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bug-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/building-complex-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/building-complex-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/building-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bus-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/bus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cable-car-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cable-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cake-slice-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calculator-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-check2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-chevrons-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-days-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-fold-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-minus2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-plus2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-range-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar-x2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendar1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/calendars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/camera-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/camera-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/can-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/can-soda-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/candy-cane-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/candy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/candy-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cannabis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cannabis-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/captions-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/captions-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-battery-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/car-taxi-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/caravan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/card-sim-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/carrot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/carton-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/carton-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/case-lower-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/case-sensitive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/case-upper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cassette-tape-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cast-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/castle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cctv-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cctv-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-area-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-decreasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-bar-stacked-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-candlestick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-decreasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-column-stacked-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-gantt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-network-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-column-decreasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-column-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-column-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-combined-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-no-axes-gantt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-pie-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-scatter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chart-spline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/check-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/check-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chef-hat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cherry-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-bishop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-king-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-knight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-pawn-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-queen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chess-rook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-first-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-last-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevron-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-down-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-left-right-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-left-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-right-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/chevrons-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/church-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cigarette-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cigarette-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-out-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-check-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-chevron-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dashed-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-divide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dollar-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dot-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-equal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-fading-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-fading-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-gauge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-parking-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-parking-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-pile-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-power-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-slash2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-small-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-stop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-user-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circle-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/circuit-board-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/citrus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clapperboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clef-alto-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/clef-bass-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/clef-treble-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/clipboard-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-copy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-list-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-paste-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-pen-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clipboard-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-fading-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock10-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock11-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock12-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock6-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock7-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock8-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clock9-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/closed-caption-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-backup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-download-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-drizzle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-fog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-hail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-lightning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-moon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-moon-rain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-rain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-rain-wind-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-snow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-sun-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-sun-rain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloud-upload-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cloudy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/clover-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/club-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/code-xml-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/coffee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/coins-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns3-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/columns4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/combine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/command-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/compass-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/component-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/computer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/concierge-bell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/construction-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/contact-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/contact-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/container-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/contrast-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cookie-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cooking-pot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copy-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copyleft-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/copyright-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-left-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-left-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-right-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-right-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/corner-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cpu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/creative-commons-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-reader-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/credit-card-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/croissant-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/crop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cross-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/crosshair-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/crown-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cuboid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cup-soda-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cupcake-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/currency-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/cylinder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dam-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-backup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/database-zap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/decimals-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/decimals-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/delete-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dessert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diameter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diamond-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dice6-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dices-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/diff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc-album-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/disc3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/divide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dna-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dna-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dollar-sign-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dome-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/donut-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-closed-locked-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-closed-package-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/door-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/door-stairwell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/download-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drafting-compass-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drama-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drill-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/droplet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/droplet-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/droplets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drum-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/drumstick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/dumbbell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ear-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ear-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/earth-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/earth-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eclipse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/egg-fried-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/egg-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/egg-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eject-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ellipse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ellipsis-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/engine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-approximately-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-approximately-not-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/equal-not-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eraser-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ethernet-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ev-charger-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/expand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/external-link-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/eye-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-angry-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-expressionless-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-grinning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-neutral-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-slightly-frowning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-slightly-smiling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/face-slightly-smiling-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/factory-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fast-forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/faucet-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/feather-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fence-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ferris-wheel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-archive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-axis3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-badge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-braces-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-braces-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-column-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-column-increasing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-chart-pie-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-check-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-code-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-diff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-digit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-exclamation-point-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-headphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-image-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-input-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-minus-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-output-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-pen-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-plus-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-scan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-search-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-signal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-sliders-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-spreadsheet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-stack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-symlink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-terminal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-type-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-video-camera-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-volume-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-x-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/file-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/files-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/film-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fingerprint-pattern-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fire-extinguisher-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fish-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fish-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fish-symbol-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fishing-hook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fishing-rod-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-triangle-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flag-triangle-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flame-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flame-kindling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flashlight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flashlight-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flask-conical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flask-conical-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flask-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flower-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/flower2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/focus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fold-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fold-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-archive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-git-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-git2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-input-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-open-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-output-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-root-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-search2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-symlink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-tree-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folder-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/folders-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/footprints-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/forklift-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/form-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/frame-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fuel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/fullscreen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/funnel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/funnel-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/funnel-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/galaxy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-horizontal-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-thumbnails-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-vertical-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gallery-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gamepad-directional-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gamepad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gamepad2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gap-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gap-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gauge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gavel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gem-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/georgian-lari-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/germ-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/germ-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ghost-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gift-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-branch-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-branch-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-branch-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-commit-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-commit-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-compare-arrows-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-compare-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-fork-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-graph-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-merge-conflict-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-merge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-arrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-closed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-create-arrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-create-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-draft-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/git-pull-request-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/glass-water-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/glasses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/globe-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/goal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/gpu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/graduation-cap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grape-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid2x2-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid3x2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grid3x3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grip-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grip-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/grip-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/group-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/guitar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ham-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hamburger-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hammer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-coins-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-fist-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-grab-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-helping-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-metal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hand-platter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/handbag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/handshake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-drive-download-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-drive-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-drive-upload-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hard-hat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hat-glasses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/haze-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hd-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hdmi-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heading6-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/headphone-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/headphones-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/headset-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-crack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-handshake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-pulse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heart-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/heater-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/helicopter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hexagon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/highlighter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hop-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hospital-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hotel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hourglass-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/hourglass-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-cog-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/house-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-plug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/house-wifi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/houses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ice-cream-bowl-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ice-cream-cone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/id-card-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/id-card-lanyard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/image-upscale-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/images-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/import-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/inbox-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/index.d.ts +22 -2
- package/dist/types/components/icon/icons/index.types.d.ts +1 -2
- package/dist/types/components/icon/icons/indian-rupee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/infinity-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/info-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/inspection-panel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/italic-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/iteration-ccw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/iteration-cw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/iv-bag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/japanese-yen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/joystick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/kayak-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/key-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/key-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/keyboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/keyboard-music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/keyboard-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lambda-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/lamp-ceiling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-desk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-floor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-wall-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lamp-wall-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/land-plot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/landmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/languages-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/laptop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/laptop-minimal-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/laptop-minimal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lasso-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lasso-select-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layer-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layer-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layers2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-dashboard-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-freeform-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-grid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-list-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-panel-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-panel-top-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/layout-template-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/leaf-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/leafy-green-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lectern-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lens-concave-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lens-convex-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/library-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/library-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/life-buoy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ligature-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lightbulb-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lightbulb-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lighthouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/line-dot-bottom-vertical-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/line-dot-left-horizontal-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/line-dot-right-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/line-dot-top-vertical-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/line-squiggle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/line-style-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/link-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/link2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/link2-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-checks-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-chevrons-down-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-chevrons-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-collapse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-filter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-filter-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-indent-decrease-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-indent-increase-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-ordered-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-restart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-sort-ascending-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-sort-descending-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-todo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-tree-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-video-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/list-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/loader-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/loader-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/loader-pinwheel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/locate-fixed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/locate-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/locate-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-keyhole-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-keyhole-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lock-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/log-in-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/log-out-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/logs-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/lollipop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/luggage-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/magnet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-badge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mail-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mailbox-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mails-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-check-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-house-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-minus-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-plus-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pin-x-inside-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-pinned-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/map-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mars-stroke-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/martini-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/maximize-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/maximize2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/medal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/megaphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/megaphone-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/memory-stick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/menu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/merge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-dashed-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-more-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-reply-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-circle-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-diff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-more-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-quote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-reply-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-share-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-warning-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/message-square-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/messages-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/messages-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/metronome-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-audio-lines-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-signal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mic-vocal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/microchip-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/microscope-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/microwave-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/midi-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/milestone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/milk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/milk-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/minimize-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/minimize2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mirror-rectangular-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mirror-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-cloud-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-pc-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/monitor-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-smartphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-speaker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-stop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/monitor-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/moon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/moon-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mop-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mosque-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/motorbike-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mountain-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mountain-snow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer-ban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer-click-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-pointer2-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouse-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouth-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/mouth-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-diagonal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-diagonal2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/move3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/music4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/navigation2-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nepali-rupee-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/network-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/newspaper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nfc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/non-binary-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-tabs-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notebook-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notepad-text-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/notepad-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nut-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/nut-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/octagon-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/omega-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/option-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/orbit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/origami-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/package2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paint-bucket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paint-roller-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paintbrush-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paintbrush-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/palette-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panda-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-bottom-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-left-right-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-right-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-bottom-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-close-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panel-top-open-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panels-left-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panels-right-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/panels-top-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paper-bag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paperclip-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/parasol-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/parentheses-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/park-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/parking-meter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/party-popper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/paw-print-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pc-case-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pen-tool-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-ruler-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pencil-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pentagon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/person-standing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/philippine-peso-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-call-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-forwarded-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-incoming-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-missed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/phone-outgoing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/piano-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pickaxe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/picture-in-picture-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/picture-in-picture2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/piggy-bank-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pilcrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pilcrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pilcrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pill-bottle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pill-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pin-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pin-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pipette-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pizza-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plane-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plane-landing-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plane-takeoff-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plant-pot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/play-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/playing-card-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/playing-cards-fan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/playing-cards-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plug-zap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plug2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pocket-knife-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/podium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pointer-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/popcorn-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/popsicle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/power-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/power-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/presentation-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/printer-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/printer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/printer-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/projector-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/proportions-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/puzzle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/pyramid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/qr-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/quote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rabbit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radar-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radiation-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-receiver-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radio-tower-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/radius-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rainbow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ratio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-cent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-euro-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-indian-rupee-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-japanese-yen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-pound-sterling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-russian-ruble-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-swiss-franc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/receipt-turkish-lira-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-circle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-goggles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rectangle-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/recycle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/redo-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/redo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/redo2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-ccw-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-ccw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-cw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refresh-cw-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/refrigerator-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/regex-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/remove-formatting-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/repeat2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/replace-all-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/replace-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/reply-all-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/reply-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rewind-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ribbon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/road-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/robot-arm-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/robot-vacuum-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rocket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rocking-chair-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/roller-coaster-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rose-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-ccw-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-cw-clock-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/rotate-cw-fading-clock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-cw-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate-cw-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rotate3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/route-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/route-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/router-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rows2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rows3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rows4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/rss-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ruler-dimension-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ruler-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/russian-ruble-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sailboat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/salad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sandwich-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/satellite-dish-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/satellite-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/saudi-riyal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-all-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/save-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scale-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scale3d-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scaling-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-barcode-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-box-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-eye-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-face-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-heart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-line-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-qr-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scan-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/school-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scissors-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scissors-line-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scooter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/screen-share-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/screen-share-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scroll-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/scroll-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/search-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/section-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/send-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/send-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/send-to-back-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/separator-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/separator-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-crash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/server-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/settings-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/settings2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shapes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/share-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/share2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sheet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shell-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shelving-unit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-ban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-cog-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-ellipsis-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-half-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-keyhole-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-question-mark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shield-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ship-cargo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ship-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ship-wheel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shirt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-bag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-basket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-cart-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-cart-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shopping-cart-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shovel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shower-head-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shredder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrimp-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrimp-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shrub-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/shuffle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sigma-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-high-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-low-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-medium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signal-zero-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signature-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signpost-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/signpost-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/siren-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/skip-back-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/skip-forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/skull-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/slice-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sliders-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sliders-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/smartphone-charging-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/smartphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/smartphone-nfc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/snail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/snowflake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/soap-dispenser-droplet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sofa-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/solar-panel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/soup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/space-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spade-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sparkle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/speaker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/speech-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spell-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spell-check2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spline-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spool-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sport-shoe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spotlight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/spray-can-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sprout-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-activity-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-down-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-down-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-out-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-right-enter-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-right-exit-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-up-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-arrow-up-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-asterisk-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-bookmark-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-bottom-dashed-scissors-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-centerline-dashed-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-centerline-dashed-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chart-gantt-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-check-big-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-chevron-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-bottom-code-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-bottom-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-mouse-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-plus-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-dashed-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-top-solid-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dashed-x-corner-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-dashed-x-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-dimensions-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-divide-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-equal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-exclamation-point-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-function-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-kanban-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-library-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-m-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-menu-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-mouse-pointer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-parking-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-parking-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pause-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-pilcrow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-power-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-radical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-round-corner-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-scissors-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-sigma-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-sparkles-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/square-split-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-split-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-stack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-stop-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-terminal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-text-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-user-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/square-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-exclude-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-intersect-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-subtract-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squares-unite-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squircle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squircle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/squirrel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stamp-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-half-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/star-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/step-back-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/step-forward-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stethoscope-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticker-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-note-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sticky-notes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/store-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stretch-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/stretch-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/strikethrough-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/subscript-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/summary-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-dim-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-medium-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-moon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sun-snow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sunrise-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sunset-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/superscript-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/swatch-book-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/swiss-franc-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/switch-camera-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/sword-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/swords-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/syringe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-cells-merge-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-cells-split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-columns-split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-of-contents-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-properties-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table-rows-split-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/table2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tablet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tablet-smartphone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tablets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tag-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tag-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tag-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tags-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally3-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally4-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tally5-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tangent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/target-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/telescope-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tent-tree-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/terminal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/test-tube-diagonal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/test-tube-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/test-tubes-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-center-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-end-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-justify-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-align-start-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-cursor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-cursor-input-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-initial-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-quote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/text-wrap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/theater-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thermometer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thermometer-snowflake-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thermometer-sun-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thumbs-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/thumbs-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tic-tac-toe-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-percent-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-slash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ticket-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tickets-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tickets-plane-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timeline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timer-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/timer-reset-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toggle-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toggle-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toilet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tool-case-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toolbox-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toothbrush-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toothbrush-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tornado-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/torus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/touchpad-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/touchpad-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/towel-rack-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tower-control-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/toy-brick-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tractor-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/traffic-cone-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trailer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/train-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/train-front-tunnel-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/train-track-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tram-front-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/transgender-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trash-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trash-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tree-deciduous-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tree-palm-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tree-pine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trees-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trending-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trending-up-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trending-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-alert-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-dashed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangle-right-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangles-centerline-dashed-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/triangles-centerline-dashed-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/trophy-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/truck-electric-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/truck-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tube-lotion-icon.d.ts +12 -0
- package/dist/types/components/icon/icons/turkish-lira-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/turntable-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/turtle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tv-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tv-minimal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/tv-minimal-play-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/type-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/type-outline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/umbrella-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/umbrella-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/underline-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/undo-dot-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/undo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/undo2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unfold-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unfold-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/ungroup-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/university-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unlink-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unlink2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/unplug-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/upload-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/usb-c-port-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/usb-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-group-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-lock-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-arrow-left-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-check-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-group-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-key-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-minus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-plus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-round-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-search-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-shield-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-star-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/user-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/users-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/users-round-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/utensils-crossed-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/utensils-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/utility-pole-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/van-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/variable-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vault-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vector-polygon-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vector-square-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vegan-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/venetian-mask-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/venus-and-mars-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/venus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vibrate-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vibrate-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/video-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/video-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/videotape-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/view-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/virus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/virus-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/voicemail-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volleyball-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume-x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume1-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/volume2-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/vote-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallet-cards-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallet-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallet-minimal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wallpaper-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wand-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wand-sparkles-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/warehouse-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/washing-machine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/watch-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-arrow-up-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-horizontal-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-ladder-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waves-vertical-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/waypoints-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webcam-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webcam-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webhook-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/webhook-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/weight-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/weight-tilde-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wheat-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wheat-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/whistle-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/whole-word-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-cog-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-high-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-low-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-pen-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-sync-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wifi-zero-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wind-arrow-down-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wind-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wine-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wine-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/workflow-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/worm-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wrench-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/wrench-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/x-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/x-line-top-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zap-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zap-off-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-aquarius-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-aries-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-cancer-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-capricorn-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-gemini-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-leo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-libra-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-ophiuchus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-pisces-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-sagittarius-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-scorpio-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-taurus-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zodiac-virgo-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zoom-in-icon.d.ts +1 -2
- package/dist/types/components/icon/icons/zoom-out-icon.d.ts +1 -2
- package/dist/types/components/icon/index.d.ts +21 -1
- package/dist/types/components/icon/lucide-icon.d.ts +2 -3
- package/dist/types/components/image/image.d.ts +3 -3
- package/dist/types/components/image/image.style.d.ts +2 -3
- package/dist/types/components/indicator/indicator.d.ts +3 -3
- package/dist/types/components/indicator/indicator.style.d.ts +2 -3
- package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +3 -3
- package/dist/types/components/infinite-scroll-area/infinite-scroll-area.style.d.ts +2 -3
- package/dist/types/components/infinite-scroll-area/use-infinite-scroll.d.ts +2 -3
- package/dist/types/components/input/input-addon.d.ts +3 -3
- package/dist/types/components/input/input-addon.style.d.ts +2 -3
- package/dist/types/components/input/input-element.d.ts +3 -3
- package/dist/types/components/input/input-element.style.d.ts +2 -3
- package/dist/types/components/input/input-group.d.ts +2 -3
- package/dist/types/components/input/input.d.ts +3 -3
- package/dist/types/components/input/input.style.d.ts +5 -6
- package/dist/types/components/input/use-input-border.d.ts +3 -4
- package/dist/types/components/kbd/kbd.d.ts +3 -3
- package/dist/types/components/kbd/kbd.style.d.ts +2 -3
- package/dist/types/components/link/link.d.ts +3 -3
- package/dist/types/components/link/link.style.d.ts +2 -3
- package/dist/types/components/link-box/link-box.d.ts +5 -5
- package/dist/types/components/link-box/link-box.style.d.ts +2 -3
- package/dist/types/components/list/list.d.ts +8 -8
- package/dist/types/components/list/list.style.d.ts +2 -3
- package/dist/types/components/loading/audio.d.ts +2 -3
- package/dist/types/components/loading/circles.d.ts +2 -3
- package/dist/types/components/loading/dots.d.ts +2 -3
- package/dist/types/components/loading/grid.d.ts +2 -3
- package/dist/types/components/loading/loading-provider.d.ts +5 -6
- package/dist/types/components/loading/loading.d.ts +2 -2
- package/dist/types/components/loading/loading.style.d.ts +2 -3
- package/dist/types/components/loading/oval.d.ts +2 -3
- package/dist/types/components/loading/puff.d.ts +2 -3
- package/dist/types/components/loading/rings.d.ts +2 -3
- package/dist/types/components/loading/suspense.d.ts +2 -2
- package/dist/types/components/loading/use-loading-component.d.ts +4 -4
- package/dist/types/components/mark/mark.d.ts +3 -3
- package/dist/types/components/mark/mark.style.d.ts +2 -3
- package/dist/types/components/menu/menu.d.ts +32 -31
- package/dist/types/components/menu/menu.style.d.ts +2 -3
- package/dist/types/components/menu/use-menu.d.ts +21 -21
- package/dist/types/components/modal/modal.d.ts +21 -21
- package/dist/types/components/modal/modal.style.d.ts +2 -3
- package/dist/types/components/modal/use-modal.d.ts +3 -4
- package/dist/types/components/motion/factory.d.ts +1 -2
- package/dist/types/components/motion/index.types.d.ts +8 -8
- package/dist/types/components/motion/motion.d.ts +1 -2
- package/dist/types/components/motion/transition.d.ts +1 -2
- package/dist/types/components/native-accordion/native-accordion.d.ts +12 -12
- package/dist/types/components/native-accordion/native-accordion.style.d.ts +2 -3
- package/dist/types/components/native-accordion/use-native-accordion.d.ts +7 -7
- package/dist/types/components/native-popover/native-popover.d.ts +17 -17
- package/dist/types/components/native-popover/native-popover.style.d.ts +2 -3
- package/dist/types/components/native-popover/use-native-popover.d.ts +3 -4
- package/dist/types/components/native-select/native-select.d.ts +10 -9
- package/dist/types/components/native-select/native-select.style.d.ts +2 -3
- package/dist/types/components/native-select/use-native-select.d.ts +4 -5
- package/dist/types/components/native-table/native-table.d.ts +21 -21
- package/dist/types/components/native-table/native-table.style.d.ts +2 -3
- package/dist/types/components/notice/notice-provider.d.ts +2 -3
- package/dist/types/components/notice/notice.style.d.ts +2 -3
- package/dist/types/components/notice/use-notice.d.ts +3 -3
- package/dist/types/components/number-input/number-input.d.ts +4 -3
- package/dist/types/components/number-input/number-input.style.d.ts +2 -3
- package/dist/types/components/number-input/use-number-input.d.ts +3 -4
- package/dist/types/components/pagination/pagination.d.ts +18 -17
- package/dist/types/components/pagination/pagination.style.d.ts +2 -3
- package/dist/types/components/pagination/use-pagination.d.ts +5 -5
- package/dist/types/components/password-input/password-input.d.ts +4 -3
- package/dist/types/components/password-input/password-input.style.d.ts +2 -3
- package/dist/types/components/password-input/strength-meter.d.ts +3 -3
- package/dist/types/components/password-input/strength-meter.style.d.ts +2 -3
- package/dist/types/components/password-input/use-password-input.d.ts +3 -4
- package/dist/types/components/password-input/use-strength-meter.d.ts +3 -4
- package/dist/types/components/picture/picture.d.ts +5 -6
- package/dist/types/components/pin-input/pin-input.d.ts +5 -5
- package/dist/types/components/pin-input/pin-input.style.d.ts +2 -3
- package/dist/types/components/pin-input/use-pin-input.d.ts +4 -4
- package/dist/types/components/popover/popover.d.ts +21 -21
- package/dist/types/components/popover/popover.style.d.ts +2 -3
- package/dist/types/components/popover/use-popover.d.ts +5 -6
- package/dist/types/components/portal/portal.d.ts +2 -3
- package/dist/types/components/progress/progress.d.ts +3 -3
- package/dist/types/components/progress/progress.style.d.ts +2 -3
- package/dist/types/components/progress/use-progress.d.ts +9 -10
- package/dist/types/components/qr-code/qr-code.d.ts +9 -9
- package/dist/types/components/qr-code/qr-code.style.d.ts +2 -3
- package/dist/types/components/qr-code/use-qr-code.d.ts +3 -4
- package/dist/types/components/radio/radio-group.d.ts +3 -3
- package/dist/types/components/radio/radio.d.ts +3 -3
- package/dist/types/components/radio/radio.style.d.ts +2 -3
- package/dist/types/components/radio/use-radio-group.d.ts +4 -4
- package/dist/types/components/radio/use-radio.d.ts +3 -4
- package/dist/types/components/radio-card/radio-card-group.d.ts +3 -3
- package/dist/types/components/radio-card/radio-card.d.ts +9 -9
- package/dist/types/components/radio-card/radio-card.style.d.ts +2 -3
- package/dist/types/components/rating/rating.d.ts +2 -3
- package/dist/types/components/rating/rating.style.d.ts +2 -3
- package/dist/types/components/rating/use-rating.d.ts +7 -7
- package/dist/types/components/reorder/reorder.d.ts +8 -8
- package/dist/types/components/reorder/reorder.style.d.ts +2 -3
- package/dist/types/components/reorder/use-reorder.d.ts +7 -7
- package/dist/types/components/resizable/resizable.d.ts +7 -7
- package/dist/types/components/resizable/resizable.style.d.ts +2 -3
- package/dist/types/components/resizable/use-resizable.d.ts +13 -13
- package/dist/types/components/ripple/ripple.d.ts +3 -3
- package/dist/types/components/ripple/ripple.style.d.ts +2 -3
- package/dist/types/components/ripple/use-ripple.d.ts +4 -5
- package/dist/types/components/rotate/rotate.d.ts +3 -3
- package/dist/types/components/rotate/rotate.style.d.ts +2 -3
- package/dist/types/components/saturation-slider/saturation-slider.d.ts +7 -7
- package/dist/types/components/saturation-slider/saturation-slider.style.d.ts +2 -3
- package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +3 -4
- package/dist/types/components/scroll-area/scroll-area.d.ts +3 -3
- package/dist/types/components/scroll-area/scroll-area.style.d.ts +2 -3
- package/dist/types/components/scroll-area/use-scroll-area.d.ts +3 -4
- package/dist/types/components/segmented-control/segmented-control.d.ts +6 -6
- package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -3
- package/dist/types/components/segmented-control/use-segmented-control.d.ts +7 -7
- package/dist/types/components/select/select.d.ts +12 -11
- package/dist/types/components/select/select.style.d.ts +2 -3
- package/dist/types/components/select/use-select.d.ts +8 -8
- package/dist/types/components/separator/separator.d.ts +3 -3
- package/dist/types/components/separator/separator.style.d.ts +2 -3
- package/dist/types/components/show/show.d.ts +2 -3
- package/dist/types/components/sidebar/sidebar.d.ts +46 -44
- package/dist/types/components/sidebar/sidebar.style.d.ts +2 -3
- package/dist/types/components/sidebar/use-sidebar.d.ts +11 -11
- package/dist/types/components/simple-grid/simple-grid.d.ts +3 -3
- package/dist/types/components/simple-grid/simple-grid.style.d.ts +2 -3
- package/dist/types/components/skeleton/skeleton-circle.d.ts +2 -3
- package/dist/types/components/skeleton/skeleton-text.d.ts +2 -3
- package/dist/types/components/skeleton/skeleton.d.ts +3 -3
- package/dist/types/components/skeleton/skeleton.style.d.ts +2 -3
- package/dist/types/components/slide/slide.d.ts +4 -4
- package/dist/types/components/slide/slide.style.d.ts +2 -3
- package/dist/types/components/slide-fade/slide-fade.d.ts +4 -4
- package/dist/types/components/slide-fade/slide-fade.style.d.ts +2 -3
- package/dist/types/components/slider/slider.d.ts +15 -15
- package/dist/types/components/slider/slider.style.d.ts +2 -3
- package/dist/types/components/slider/use-slider.d.ts +3 -4
- package/dist/types/components/slot/slot.d.ts +3 -4
- package/dist/types/components/snacks/snacks.d.ts +4 -5
- package/dist/types/components/snacks/use-snacks.d.ts +5 -5
- package/dist/types/components/stack/h-stack.d.ts +3 -3
- package/dist/types/components/stack/h-stack.style.d.ts +2 -3
- package/dist/types/components/stack/stack.d.ts +3 -3
- package/dist/types/components/stack/stack.style.d.ts +2 -3
- package/dist/types/components/stack/v-stack.d.ts +3 -3
- package/dist/types/components/stack/v-stack.style.d.ts +2 -3
- package/dist/types/components/stack/z-stack.d.ts +3 -3
- package/dist/types/components/stack/z-stack.style.d.ts +2 -3
- package/dist/types/components/stat/stat.d.ts +13 -13
- package/dist/types/components/stat/stat.style.d.ts +3 -4
- package/dist/types/components/status/status.d.ts +4 -4
- package/dist/types/components/status/status.style.d.ts +2 -3
- package/dist/types/components/steps/steps.d.ts +28 -28
- package/dist/types/components/steps/steps.style.d.ts +2 -3
- package/dist/types/components/steps/use-steps.d.ts +8 -8
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/switch/switch.style.d.ts +2 -3
- package/dist/types/components/switch/use-switch.d.ts +3 -4
- package/dist/types/components/table/table.d.ts +5 -4
- package/dist/types/components/tabs/tabs.d.ts +12 -12
- package/dist/types/components/tabs/tabs.style.d.ts +2 -3
- package/dist/types/components/tabs/use-tabs.d.ts +10 -10
- package/dist/types/components/tag/tag.d.ts +3 -3
- package/dist/types/components/tag/tag.style.d.ts +2 -3
- package/dist/types/components/text/text.d.ts +3 -3
- package/dist/types/components/text/text.style.d.ts +2 -3
- package/dist/types/components/textarea/textarea.d.ts +3 -3
- package/dist/types/components/textarea/textarea.style.d.ts +2 -3
- package/dist/types/components/textarea/use-autosize.d.ts +3 -4
- package/dist/types/components/textarea/use-textarea.d.ts +3 -4
- package/dist/types/components/timeline/timeline.d.ts +16 -16
- package/dist/types/components/timeline/timeline.style.d.ts +2 -3
- package/dist/types/components/tip/tip.d.ts +3 -4
- package/dist/types/components/toggle/toggle-group.d.ts +2 -3
- package/dist/types/components/toggle/toggle.d.ts +3 -3
- package/dist/types/components/toggle/toggle.style.d.ts +2 -3
- package/dist/types/components/toggle/use-toggle-group.d.ts +4 -4
- package/dist/types/components/toggle/use-toggle.d.ts +3 -4
- package/dist/types/components/tooltip/tooltip.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.style.d.ts +2 -3
- package/dist/types/components/tooltip/use-tooltip.d.ts +5 -6
- package/dist/types/components/tree/tree.d.ts +7 -6
- package/dist/types/components/tree/tree.style.d.ts +2 -3
- package/dist/types/components/tree/use-tree.d.ts +12 -12
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +3 -3
- package/dist/types/components/visually-hidden/visually-hidden.style.d.ts +2 -3
- package/dist/types/components/wrap/wrap.d.ts +3 -3
- package/dist/types/components/wrap/wrap.style.d.ts +2 -3
- package/dist/types/core/components/create-component.d.ts +10 -11
- package/dist/types/core/components/index.types.d.ts +18 -19
- package/dist/types/core/components/props.d.ts +10 -11
- package/dist/types/core/components/use-component-style.d.ts +6 -7
- package/dist/types/core/components/utils.d.ts +8 -9
- package/dist/types/core/constant.d.ts +6 -7
- package/dist/types/core/css/animation.d.ts +3 -4
- package/dist/types/core/css/calc.d.ts +1 -2
- package/dist/types/core/css/color-mix.d.ts +1 -2
- package/dist/types/core/css/color-scheme.d.ts +1 -2
- package/dist/types/core/css/conditions.d.ts +39 -40
- package/dist/types/core/css/config.d.ts +4 -5
- package/dist/types/core/css/css.d.ts +3 -4
- package/dist/types/core/css/display.d.ts +1 -2
- package/dist/types/core/css/filter.d.ts +1 -2
- package/dist/types/core/css/focus-ring.d.ts +2 -3
- package/dist/types/core/css/function.d.ts +1 -2
- package/dist/types/core/css/gradient.d.ts +1 -2
- package/dist/types/core/css/grid.d.ts +1 -2
- package/dist/types/core/css/index.types.d.ts +29 -29
- package/dist/types/core/css/merge-css.d.ts +1 -2
- package/dist/types/core/css/style.d.ts +1 -2
- package/dist/types/core/css/styles.d.ts +62 -58
- package/dist/types/core/css/token.d.ts +1 -2
- package/dist/types/core/css/transform.d.ts +1 -2
- package/dist/types/core/css/transition.d.ts +1 -2
- package/dist/types/core/css/use-css.d.ts +2 -3
- package/dist/types/core/css/use-inject-vars.d.ts +2 -3
- package/dist/types/core/css/utils.d.ts +9 -10
- package/dist/types/core/generated-theme-tokens.types.d.ts +1 -2
- package/dist/types/core/system/breakpoint.d.ts +2 -3
- package/dist/types/core/system/color-mode-provider.d.ts +4 -4
- package/dist/types/core/system/config.d.ts +14 -15
- package/dist/types/core/system/create-system.d.ts +9 -10
- package/dist/types/core/system/environment-provider.d.ts +6 -7
- package/dist/types/core/system/factory.d.ts +1 -2
- package/dist/types/core/system/index.types.d.ts +58 -59
- package/dist/types/core/system/layer.d.ts +3 -4
- package/dist/types/core/system/storage-manager.d.ts +3 -4
- package/dist/types/core/system/storage-script.d.ts +4 -5
- package/dist/types/core/system/styled.d.ts +3 -4
- package/dist/types/core/system/system-provider.d.ts +3 -4
- package/dist/types/core/system/theme-provider.d.ts +5 -5
- package/dist/types/core/system/use-color-mode-value.d.ts +2 -3
- package/dist/types/core/system/use-system-color-mode.d.ts +2 -3
- package/dist/types/core/system/var.d.ts +11 -12
- package/dist/types/hooks/use-animation/index.d.ts +2 -3
- package/dist/types/hooks/use-async/index.d.ts +8 -9
- package/dist/types/hooks/use-async-callback/index.d.ts +4 -4
- package/dist/types/hooks/use-boolean/index.d.ts +2 -3
- package/dist/types/hooks/use-breakpoint/use-breakpoint-effect.d.ts +1 -2
- package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +1 -2
- package/dist/types/hooks/use-breakpoint/use-breakpoint-value.d.ts +2 -3
- package/dist/types/hooks/use-breakpoint/use-breakpoint.d.ts +1 -2
- package/dist/types/hooks/use-breakpoint/use-update-breakpoint-effect.d.ts +1 -2
- package/dist/types/hooks/use-clickable/index.d.ts +3 -4
- package/dist/types/hooks/use-clipboard/index.d.ts +2 -3
- package/dist/types/hooks/use-combobox/index.d.ts +18 -18
- package/dist/types/hooks/use-controllable-state/index.d.ts +8 -9
- package/dist/types/hooks/use-counter/index.d.ts +3 -4
- package/dist/types/hooks/use-descendants/index.d.ts +5 -6
- package/dist/types/hooks/use-disclosure/use-disclosure.d.ts +4 -5
- package/dist/types/hooks/use-disclosure/use-promise-disclosure.d.ts +3 -4
- package/dist/types/hooks/use-event-listener/index.d.ts +2 -3
- package/dist/types/hooks/use-eye-dropper/index.d.ts +2 -3
- package/dist/types/hooks/use-field-sizing/index.d.ts +3 -4
- package/dist/types/hooks/use-focus/index.d.ts +4 -5
- package/dist/types/hooks/use-hover/index.d.ts +1 -2
- package/dist/types/hooks/use-idle/index.d.ts +2 -3
- package/dist/types/hooks/use-interval/index.d.ts +1 -2
- package/dist/types/hooks/use-lazy-mount/index.d.ts +3 -4
- package/dist/types/hooks/use-local-storage/index.d.ts +4 -5
- package/dist/types/hooks/use-media-query/index.d.ts +1 -2
- package/dist/types/hooks/use-mounted/index.d.ts +4 -5
- package/dist/types/hooks/use-online/index.d.ts +3 -4
- package/dist/types/hooks/use-os/index.d.ts +2 -3
- package/dist/types/hooks/use-outside-click/index.d.ts +2 -3
- package/dist/types/hooks/use-pan-event/index.d.ts +3 -4
- package/dist/types/hooks/use-popper/index.d.ts +5 -6
- package/dist/types/hooks/use-previous/index.d.ts +1 -2
- package/dist/types/hooks/use-processing/index.d.ts +2 -3
- package/dist/types/hooks/use-resize-observer/index.d.ts +3 -4
- package/dist/types/hooks/use-timeout/index.d.ts +1 -2
- package/dist/types/hooks/use-value/index.d.ts +2 -3
- package/dist/types/hooks/use-window-event/index.d.ts +1 -2
- package/dist/types/index.d.ts +22 -2
- package/dist/types/providers/i18n-provider/i18n-cache.d.ts +1 -2
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +9 -9
- package/dist/types/providers/i18n-provider/icu.types.d.ts +1 -2
- package/dist/types/providers/i18n-provider/intl/index.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +4 -5
- package/dist/types/theme/config.d.ts +1 -2
- package/dist/types/theme/index.d.ts +2 -2
- package/dist/types/theme/semantic-tokens/index.d.ts +1 -2
- package/dist/types/theme/styles/index.d.ts +1 -2
- package/dist/types/theme/tokens/index.d.ts +1 -2
- package/dist/types/utils/children.d.ts +18 -19
- package/dist/types/utils/context.d.ts +3 -4
- package/dist/types/utils/dom.d.ts +6 -7
- package/dist/types/utils/effect.d.ts +3 -4
- package/dist/types/utils/index.types.d.ts +2 -3
- package/dist/types/utils/ref.d.ts +5 -6
- package/dist/types/utils/ssr.d.ts +1 -2
- package/dist/types/utils/store.d.ts +8 -9
- package/package.json +7 -7
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_factory = require("../../core/system/factory.cjs");
|
|
4
3
|
const require_create_component = require("../../core/components/create-component.cjs");
|
|
5
4
|
const require_use_input_border = require("../input/use-input-border.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-card.cjs","names":["createSlotComponent","radioCardStyle","useRadio","useInputBorder","useMemo","styled"],"sources":["../../../../src/components/radio-card/radio-card.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { GenericsComponent, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { Merge } from \"../../utils\"\nimport type { UseInputBorderProps } from \"../input\"\nimport type { UseRadioProps } from \"../radio\"\nimport type { RadioCardStyle } from \"./radio-card.style\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useInputBorder } from \"../input\"\nimport { useRadio } from \"../radio\"\nimport { radioCardStyle } from \"./radio-card.style\"\n\nexport interface RadioCardRootProps<Y extends string = string>\n extends\n Merge<HTMLStyledProps<\"label\">, UseRadioProps<Y>>,\n ThemeProps<RadioCardStyle>,\n UseInputBorderProps {\n /**\n * The addon of the radio card.\n */\n addon?: ReactNode\n /**\n * The description of the radio card.\n */\n description?: ReactNode\n /**\n * The label of the radio card.\n */\n label?: ReactNode\n /**\n * If `true`, the indicator will be displayed.\n *\n * @default true\n */\n withIndicator?: boolean\n /**\n * Props for the addon component.\n */\n addonProps?: RadioCardAddonProps\n /**\n * Props for the description component.\n */\n descriptionProps?: RadioCardDescriptionProps\n /**\n * Props for the indicator component.\n */\n indicatorProps?: RadioCardIndicatorProps\n /**\n * Props for the input element.\n */\n inputProps?: HTMLStyledProps<\"input\">\n /**\n * Props for the label component.\n */\n labelProps?: RadioCardLabelProps\n /**\n * Props for the label element.\n */\n rootProps?: HTMLStyledProps<\"label\">\n}\n\nconst {\n component,\n PropsContext: RadioCardPropsContext,\n usePropsContext: useRadioCardPropsContext,\n withContext,\n withProvider,\n useRootComponentProps,\n} = createSlotComponent<RadioCardRootProps, RadioCardStyle>(\n \"radio-card\",\n radioCardStyle,\n)\n\nexport {\n component,\n RadioCardPropsContext,\n useRadioCardPropsContext,\n useRootComponentProps,\n}\n\n/**\n * `RadioCard` is a component used for allowing users to select one option from multiple choices.\n *\n * @see https://yamada-ui.com/docs/components/radio-card\n */\nexport const RadioCardRoot = withProvider<\"label\", RadioCardRootProps>(\n ({\n addon,\n children,\n description,\n errorBorderColor,\n focusBorderColor,\n label,\n withIndicator = true,\n addonProps,\n descriptionProps,\n indicatorProps,\n inputProps,\n labelProps,\n rootProps,\n ...rest\n }) => {\n const { getIndicatorProps, getInputProps, getRootProps } = useRadio(rest)\n const varProps = useInputBorder({ errorBorderColor, focusBorderColor })\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <>\n {label ? (\n <RadioCardLabel {...labelProps}>{label}</RadioCardLabel>\n ) : null}\n {description ? (\n <RadioCardDescription {...descriptionProps}>\n {description}\n </RadioCardDescription>\n ) : null}\n {addon ? (\n <RadioCardAddon {...addonProps}>{addon}</RadioCardAddon>\n ) : null}\n </>\n )\n }, [\n addon,\n addonProps,\n children,\n description,\n descriptionProps,\n label,\n labelProps,\n ])\n\n return (\n <styled.label {...getRootProps({ ...varProps, ...rootProps })}>\n <styled.input {...getInputProps(inputProps)} />\n {withIndicator ? (\n <RadioCardIndicator {...getIndicatorProps(indicatorProps)} />\n ) : null}\n\n {computedChildren}\n </styled.label>\n )\n },\n \"root\",\n)() as GenericsComponent<{\n <Y extends string = string>(props: RadioCardRootProps<Y>): ReactElement\n}>\n\ninterface RadioCardIndicatorProps extends HTMLStyledProps {}\n\nconst RadioCardIndicator = withContext<\"div\", RadioCardIndicatorProps>(\n \"div\",\n \"indicator\",\n)({ \"data-indicator\": \"\" })\n\nexport interface RadioCardLabelProps extends HTMLStyledProps {}\n\nexport const RadioCardLabel = withContext<\"span\", RadioCardLabelProps>(\n \"span\",\n \"label\",\n)()\n\nexport interface RadioCardDescriptionProps extends HTMLStyledProps {}\n\nexport const RadioCardDescription = withContext<\n \"span\",\n RadioCardDescriptionProps\n>(\"span\", \"description\")()\n\nexport interface RadioCardAddonProps extends HTMLStyledProps {}\n\nexport const RadioCardAddon = withContext<\"span\", RadioCardAddonProps>(\n \"span\",\n \"addon\",\n)()\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"radio-card.cjs","names":["createSlotComponent","radioCardStyle","useRadio","useInputBorder","useMemo","styled"],"sources":["../../../../src/components/radio-card/radio-card.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type { GenericsComponent, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { Merge } from \"../../utils\"\nimport type { UseInputBorderProps } from \"../input\"\nimport type { UseRadioProps } from \"../radio\"\nimport type { RadioCardStyle } from \"./radio-card.style\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useInputBorder } from \"../input\"\nimport { useRadio } from \"../radio\"\nimport { radioCardStyle } from \"./radio-card.style\"\n\nexport interface RadioCardRootProps<Y extends string = string>\n extends\n Merge<HTMLStyledProps<\"label\">, UseRadioProps<Y>>,\n ThemeProps<RadioCardStyle>,\n UseInputBorderProps {\n /**\n * The addon of the radio card.\n */\n addon?: ReactNode\n /**\n * The description of the radio card.\n */\n description?: ReactNode\n /**\n * The label of the radio card.\n */\n label?: ReactNode\n /**\n * If `true`, the indicator will be displayed.\n *\n * @default true\n */\n withIndicator?: boolean\n /**\n * Props for the addon component.\n */\n addonProps?: RadioCardAddonProps\n /**\n * Props for the description component.\n */\n descriptionProps?: RadioCardDescriptionProps\n /**\n * Props for the indicator component.\n */\n indicatorProps?: RadioCardIndicatorProps\n /**\n * Props for the input element.\n */\n inputProps?: HTMLStyledProps<\"input\">\n /**\n * Props for the label component.\n */\n labelProps?: RadioCardLabelProps\n /**\n * Props for the label element.\n */\n rootProps?: HTMLStyledProps<\"label\">\n}\n\nconst {\n component,\n PropsContext: RadioCardPropsContext,\n usePropsContext: useRadioCardPropsContext,\n withContext,\n withProvider,\n useRootComponentProps,\n} = createSlotComponent<RadioCardRootProps, RadioCardStyle>(\n \"radio-card\",\n radioCardStyle,\n)\n\nexport {\n component,\n RadioCardPropsContext,\n useRadioCardPropsContext,\n useRootComponentProps,\n}\n\n/**\n * `RadioCard` is a component used for allowing users to select one option from multiple choices.\n *\n * @see https://yamada-ui.com/docs/components/radio-card\n */\nexport const RadioCardRoot = withProvider<\"label\", RadioCardRootProps>(\n ({\n addon,\n children,\n description,\n errorBorderColor,\n focusBorderColor,\n label,\n withIndicator = true,\n addonProps,\n descriptionProps,\n indicatorProps,\n inputProps,\n labelProps,\n rootProps,\n ...rest\n }) => {\n const { getIndicatorProps, getInputProps, getRootProps } = useRadio(rest)\n const varProps = useInputBorder({ errorBorderColor, focusBorderColor })\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <>\n {label ? (\n <RadioCardLabel {...labelProps}>{label}</RadioCardLabel>\n ) : null}\n {description ? (\n <RadioCardDescription {...descriptionProps}>\n {description}\n </RadioCardDescription>\n ) : null}\n {addon ? (\n <RadioCardAddon {...addonProps}>{addon}</RadioCardAddon>\n ) : null}\n </>\n )\n }, [\n addon,\n addonProps,\n children,\n description,\n descriptionProps,\n label,\n labelProps,\n ])\n\n return (\n <styled.label {...getRootProps({ ...varProps, ...rootProps })}>\n <styled.input {...getInputProps(inputProps)} />\n {withIndicator ? (\n <RadioCardIndicator {...getIndicatorProps(indicatorProps)} />\n ) : null}\n\n {computedChildren}\n </styled.label>\n )\n },\n \"root\",\n)() as GenericsComponent<{\n <Y extends string = string>(props: RadioCardRootProps<Y>): ReactElement\n}>\n\ninterface RadioCardIndicatorProps extends HTMLStyledProps {}\n\nconst RadioCardIndicator = withContext<\"div\", RadioCardIndicatorProps>(\n \"div\",\n \"indicator\",\n)({ \"data-indicator\": \"\" })\n\nexport interface RadioCardLabelProps extends HTMLStyledProps {}\n\nexport const RadioCardLabel = withContext<\"span\", RadioCardLabelProps>(\n \"span\",\n \"label\",\n)()\n\nexport interface RadioCardDescriptionProps extends HTMLStyledProps {}\n\nexport const RadioCardDescription = withContext<\n \"span\",\n RadioCardDescriptionProps\n>(\"span\", \"description\")()\n\nexport interface RadioCardAddonProps extends HTMLStyledProps {}\n\nexport const Radio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I,CAAA,IAC1D;GAEH;EACW;;AAElB,GACA,MACF,CAAC,CAAC;AAMF,MAAM,qBAAqB,YACzB,OACA,WACF,CAAC,CAAC,EAAE,kBAAkB,GAAG,CAAC;AAI1B,MAAa,iBAAiB,YAC5B,QACA,OACF,CAAC,CAAC;AAIF,MAAa,uBAAuB,YAGlC,QAAQ,aAAa,CAAC,CAAC;AAIzB,MAAa,iBAAiB,YAC5B,QACA,OACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rating.cjs","names":["createSlotComponent","ratingStyle","useRating","useMemo","RatingContext","styled","useRatingContext","mergeProps","useRatingItem","StarIcon","varAttr"],"sources":["../../../../src/components/rating/rating.tsx"],"sourcesContent":["\"use client\"\n\nimport type { CSSProps, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { FunctionOrValue, Merge, ReactNodeOrFunction } from \"../../utils\"\nimport type { RatingStyle } from \"./rating.style\"\nimport type { UseRatingItemProps, UseRatingProps } from \"./use-rating\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, mergeProps, styled, varAttr } from \"../../core\"\nimport { runIfFn } from \"../../utils\"\nimport { StarIcon } from \"../icon\"\nimport { ratingStyle } from \"./rating.style\"\nimport {\n RatingContext,\n useRating,\n useRatingContext,\n useRatingItem,\n} from \"./use-rating\"\n\ninterface ComponentContext extends Pick<\n RatingProps,\n | \"color\"\n | \"emptyIcon\"\n | \"filledIcon\"\n | \"groupProps\"\n | \"iconProps\"\n | \"inputProps\"\n | \"itemProps\"\n> {}\n\nexport interface RatingProps\n extends\n Merge<Omit<HTMLStyledProps, \"children\" | \"color\">, UseRatingProps>,\n ThemeProps<RatingStyle> {\n /**\n * The color of the filled icons.\n */\n color?: FunctionOrValue<number, CSSProps[\"color\"]>\n /**\n * The empty icon for the rating.\n */\n emptyIcon?: ReactNodeOrFunction<number>\n /**\n * The filled icon for the rating.\n */\n filledIcon?: ReactNodeOrFunction<number>\n /**\n * Props for the rating group.\n */\n groupProps?: FunctionOrValue<number, RatingGroupProps>\n /**\n * Props for the rating item.\n */\n iconProps?: FunctionOrValue<number, RatingIconProps>\n /**\n * Props for the input element.\n */\n inputProps?: FunctionOrValue<number, HTMLStyledProps<\"input\">>\n /**\n * Props for the rating item.\n */\n itemProps?: FunctionOrValue<number, RatingItemProps>\n}\n\nconst {\n ComponentContext,\n PropsContext: RatingPropsContext,\n useComponentContext,\n usePropsContext: useRatingPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<RatingProps, RatingStyle, ComponentContext>(\n \"rating\",\n ratingStyle,\n)\n\nexport { RatingPropsContext, useRatingPropsContext }\n\n/**\n * `Rating` is a component used to allow users to provide ratings.\n *\n * @see https://yamada-ui.com/docs/components/rating\n */\nexport const Rating = withProvider<\"div\", RatingProps>(\n ({\n color,\n emptyIcon,\n filledIcon,\n groupProps,\n iconProps,\n inputProps,\n itemProps,\n ...rest\n }) => {\n const {\n id,\n name,\n count,\n decimal,\n disabled,\n displayValue,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n getRootProps,\n } = useRating(rest)\n const ratingContext = useMemo(\n () => ({\n id,\n name,\n count,\n decimal,\n disabled,\n displayValue,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n }),\n [\n id,\n name,\n count,\n decimal,\n disabled,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n displayValue,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n ],\n )\n const componentContext = useMemo(\n () => ({\n color,\n emptyIcon,\n filledIcon,\n groupProps,\n iconProps,\n inputProps,\n itemProps,\n }),\n [\n color,\n emptyIcon,\n filledIcon,\n groupProps,\n iconProps,\n inputProps,\n itemProps,\n ],\n )\n\n return (\n <RatingContext value={ratingContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>\n {Array.from({ length: count }).map((_, index) => (\n <RatingGroup key={index} value={index + 1} />\n ))}\n </styled.div>\n </ComponentContext>\n </RatingContext>\n )\n },\n \"root\",\n)()\n\ninterface RatingGroupProps extends HTMLStyledProps {\n value: number\n}\n\nconst RatingGroup = withContext<\"div\", RatingGroupProps>(\n ({ value, ...rest }) => {\n const { fractions } = useRatingContext()\n const { groupProps } = useComponentContext()\n const count = useMemo(\n () => (value === 1 ? fractions + 1 : fractions),\n [value, fractions],\n )\n\n return (\n <styled.div {...mergeProps(rest, runIfFn(groupProps, value))()}>\n {Array.from({ length: count }).map((_, index) => (\n <RatingItem key={index} groupValue={value} index={index} />\n ))}\n </styled.div>\n )\n },\n \"group\",\n)()\n\ninterface RatingItemProps\n extends HTMLStyledProps<\"label\">, UseRatingItemProps {}\n\nconst RatingItem = withContext<\"label\", RatingItemProps>((props) => {\n const {\n active,\n filled,\n fractionValue,\n groupValue,\n getInputProps,\n getLabelProps,\n } = useRatingItem(props)\n const {\n emptyIcon = <StarIcon fill=\"currentColor\" strokeColor=\"currentColor\" />,\n filledIcon = <StarIcon fill=\"currentColor\" strokeColor=\"currentColor\" />,\n iconProps,\n inputProps,\n itemProps,\n } = useComponentContext()\n const clipPath =\n fractionValue !== 1\n ? `inset(0 ${active ? 100 - fractionValue * 100 : 100}% 0 0)`\n : undefined\n\n return (\n <styled.label {...getLabelProps(runIfFn(itemProps, groupValue))}>\n <styled.input {...getInputProps(runIfFn(inputProps, groupValue))} />\n\n <RatingIcon\n {...{ \"--clip-path\": clipPath }}\n {...runIfFn(iconProps, groupValue)}\n >\n {filled\n ? runIfFn(filledIcon, groupValue)\n : runIfFn(emptyIcon, groupValue)}\n </RatingIcon>\n </styled.label>\n )\n}, \"item\")(undefined, ({ groupValue, ...rest }) => {\n const { color } = useComponentContext()\n\n return {\n \"--filled-color\": varAttr(runIfFn(color, groupValue), \"colors\"),\n groupValue,\n ...rest,\n }\n})\n\ninterface RatingIconProps extends HTMLStyledProps {}\n\nconst RatingIcon = withContext<\"div\", RatingIconProps>(\"div\", \"icon\")()\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"rating.cjs","names":["createSlotComponent","ratingStyle","useRating","useMemo","RatingContext","styled","useRatingContext","mergeProps","useRatingItem","StarIcon","varAttr"],"sources":["../../../../src/components/rating/rating.tsx"],"sourcesContent":["\"use client\"\n\nimport type { CSSProps, HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { FunctionOrValue, Merge, ReactNodeOrFunction } from \"../../utils\"\nimport type { RatingStyle } from \"./rating.style\"\nimport type { UseRatingItemProps, UseRatingProps } from \"./use-rating\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, mergeProps, styled, varAttr } from \"../../core\"\nimport { runIfFn } from \"../../utils\"\nimport { StarIcon } from \"../icon\"\nimport { ratingStyle } from \"./rating.style\"\nimport {\n RatingContext,\n useRating,\n useRatingContext,\n useRatingItem,\n} from \"./use-rating\"\n\ninterface ComponentContext extends Pick<\n RatingProps,\n | \"color\"\n | \"emptyIcon\"\n | \"filledIcon\"\n | \"groupProps\"\n | \"iconProps\"\n | \"inputProps\"\n | \"itemProps\"\n> {}\n\nexport interface RatingProps\n extends\n Merge<Omit<HTMLStyledProps, \"children\" | \"color\">, UseRatingProps>,\n ThemeProps<RatingStyle> {\n /**\n * The color of the filled icons.\n */\n color?: FunctionOrValue<number, CSSProps[\"color\"]>\n /**\n * The empty icon for the rating.\n */\n emptyIcon?: ReactNodeOrFunction<number>\n /**\n * The filled icon for the rating.\n */\n filledIcon?: ReactNodeOrFunction<number>\n /**\n * Props for the rating group.\n */\n groupProps?: FunctionOrValue<number, RatingGroupProps>\n /**\n * Props for the rating item.\n */\n iconProps?: FunctionOrValue<number, RatingIconProps>\n /**\n * Props for the input element.\n */\n inputProps?: FunctionOrValue<number, HTMLStyledProps<\"input\">>\n /**\n * Props for the rating item.\n */\n itemProps?: FunctionOrValue<number, RatingItemProps>\n}\n\nconst {\n ComponentContext,\n PropsContext: RatingPropsContext,\n useComponentContext,\n usePropsContext: useRatingPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<RatingProps, RatingStyle, ComponentContext>(\n \"rating\",\n ratingStyle,\n)\n\nexport { RatingPropsContext, useRatingPropsContext }\n\n/**\n * `Rating` is a component used to allow users to provide ratings.\n *\n * @see https://yamada-ui.com/docs/components/rating\n */\nexport const Rating = withProvider<\"div\", RatingProps>(\n ({\n color,\n emptyIcon,\n filledIcon,\n groupProps,\n iconProps,\n inputProps,\n itemProps,\n ...rest\n }) => {\n const {\n id,\n name,\n count,\n decimal,\n disabled,\n displayValue,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n getRootProps,\n } = useRating(rest)\n const ratingContext = useMemo(\n () => ({\n id,\n name,\n count,\n decimal,\n disabled,\n displayValue,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n }),\n [\n id,\n name,\n count,\n decimal,\n disabled,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n displayValue,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n ],\n )\n const componentContext = useMemo(\n () => ({\n color,\n emptyIcon,\n filledIcon,\n groupProps,\n iconProps,\n inputProps,\n itemProps,\n }),\n [\n color,\n emptyIcon,\n filledIcon,\n groupProps,\n iconProps,\n inputProps,\n itemProps,\n ],\n )\n\n return (\n <RatingContext value={ratingContext}>\n <ComponentContext value={componentContext}>\n <styled.div {...getRootProps()}>\n {Array.from({ length: count }).map((_, index) => (\n <RatingGroup key={index} value={index + 1} />\n ))}\n </styled.div>\n </ComponentContext>\n </RatingContext>\n )\n },\n \"root\",\n)()\n\ninterface RatingGroupProps extends HTMLStyledProps {\n value: number\n}\n\nconst RatingGroup = withContext<\"div\", RatingGroupProps>(\n ({ value, ...rest }) => {\n const { fractions } = useRatingContext()\n const { groupProps } = useComponentContext()\n const count = useMemo(\n () => (value === 1 ? fractions + 1 : fractions),\n [value, fractions],\n )\n\n return (\n <styled.div {...mergeProps(rest, runIfFn(groupProps, value))()}>\n {Array.from({ length: count }).map((_, index) => (\n <RatingItem key={index} groupValue={value} index={index} />\n ))}\n </styled.div>\n )\n },\n \"group\",\n)()\n\ninterface RatingItemProps\n extends HTMLStyledProps<\"label\">, UseRatingItemProps {}\n\nconst RatingItem = withContext<\"label\", RatingItemProps>((props) => {\n const {\n active,\n filled,\n fractionValue,\n groupValue,\n getInputProps,\n getLabelProps,\n } = useRatingItem(props)\n const {\n emptyIcon = <StarIcon fill=\"currentColor\" strokeColor=\"currentColor\" />,\n filledIcon = <StarIcon fill=\"currentColor\" strokeColor=\"currentColor\" />,\n iconProps,\n inputProps,\n itemProps,\n } = useComponentContext()\n const clipPath =\n fractionValue !== 1\n ? `inset(0 ${active ? 100 - fractionValue * 100 : 100}% 0 0)`\n : undefined\n\n return (\n <styled.label {...getLabelProps(runIfFn(itemProps, groupValue))}>\n <styled.input {...getInputProps(runIfFn(inputProps, groupValue))} />\n\n <RatingIcon\n {...{ \"--clip-path\": clipPath }}\n {...runIfFn(iconProps, groupValue)}\n >\n {filled\n ? runIfFn(filledIcon, groupValue)\n : runIfFn(emptyIcon, groupValue)}\n </RatingIcon>\n </styled.label>\n )\n}, \"item\")(undefined, ({ groupValue, ...rest }) => {\n const { color } = useComponentContext()\n\n return {\n \"--filled-color\": varAttr(runIfFn(color, groupValue), \"colors\"),\n groupValue,\n ...rest,\n }\n})\n\ninterface RatingIconProps extends HTMLStyledProps {}\n\nconst RatingIcon = withContext<\"div\", RatingIconProps>(\"div\", \"icon\")()\n"],"mappings":";;;;;;;;;;;;AA+DA,MAAM,EACJ,kBACA,cAAc,oBACd,qBACA,iBAAiB,uBACjB,aACA,iBACEA,yBAAAA,oBACF,UACAC,qBAAAA,WACF;;;;;;AASA,MAAa,SAAS,cACnB,EACC,OACA,WACA,YACA,YACA,WACA,YACA,WACA,GAAG,WACC;CACJ,MAAM,EACJ,IACA,MACA,OACA,SACA,UACA,cACA,WACA,uBACA,cACA,aACA,YACA,UACA,UACA,cACA,iBACA,UACA,OACA,WACA,WACA,YACA,iBACEC,mBAAAA,UAAU,IAAI;CAClB,MAAM,iBAAA,GAAgBC,MAAAA,QAAAA,QACb;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,IACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CACF;CACA,MAAM,oBAAA,GAAmBA,MAAAA,QAAAA,QAChB;EACL;EACA;EACA;EACA;EACA;EACA;EACA;CACF,IACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CACF;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,mBAAAA,eAAD;EAAe,OAAO;EACpB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAD;GAAkB,OAAO;GACvB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,gBAAAA,OAAO,KAAR;IAAY,GAAI,aAAa;IAC1B,UAAA,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,UACrC,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD,EAAyB,OAAO,QAAQ,EAAI,GAA1B,KAA0B,CAC7C;GACS,CAAA;EACI,CAAA;CACL,CAAA;AAEnB,GACA,MACF,CAAC,CAAC;AAM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AAA,cAAc,QAAA,CAAQ,YAAY,UAAU,CAAC,EAAI,CAAA,GAEnE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;GACQ,eAAe;GACrB,IAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,WAAW,UAAU;GAEhC,UAAA,UAAA,GAAA,oBAAA,cACG,QAAA,CAAQ,YAAY,UAAU,KAAA,GAAA,oBAAA,cAC9B,QAAA,CAAQ,WAAW,UAAU;EACvB,CAAA,CACA;;AAElB,GAAG,MAAM,CAAC,CAAC,KAAA,IAAY,EAAE,YAAY,GAAG,WAAW;CACjD,MAAM,EAAE,UAAU,oBAAoB;CAEtC,OAAO;EACL,kBAAkBK,YAAAA,SAAAA,GAAAA,oBAAAA,cAAQ,QAAA,CAAQ,OAAO,UAAU,GAAG,QAAQ;EAC9D;EACA,GAAG;CACL;AACF,CAAC;AAID,MAAM,aAAa,YAAoC,OAAO,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-rating.cjs","names":["createContext","useId","useFieldProps","useRef","useControllableState","useState","useMemo","useCallback","mergeProps","visuallyHiddenAttributes"],"sources":["../../../../src/components/rating/use-rating.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ChangeEvent, KeyboardEvent, MouseEvent, TouchEvent } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback, useId, useMemo, useRef, useState } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport {\n ariaAttr,\n clampNumber,\n createContext,\n dataAttr,\n handlerAll,\n runKeyAction,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\nconst getRoundedValue = (value: number, to: number) => {\n const rounded = Math.round(value / to) * to\n const precision = `${to}`.split(\".\")[1]?.length || 0\n\n return Number(rounded.toFixed(precision))\n}\n\nexport interface RatingContext extends Omit<UseRatingReturn, \"getRootProps\"> {}\n\nconst [RatingContext, useRatingContext] = createContext<RatingContext>({\n name: \"RatingContext\",\n})\n\nexport { RatingContext, useRatingContext }\n\nexport interface UseRatingProps\n extends FieldProps, Omit<HTMLProps, \"color\" | \"defaultValue\" | \"onChange\"> {\n /**\n * Number of controls that should be rendered.\n *\n * @default 5\n */\n count?: number\n /**\n * The initial value of the rating.\n *\n * @default 0\n */\n defaultValue?: number\n /**\n * Number of fractions each item can be divided into,\n *\n * @default 1\n */\n fractions?: number\n /**\n * If `true`, only the selected icons will be filled.\n *\n * @default false\n */\n highlightSelectedOnly?: boolean\n /**\n * The top-level id string that will be applied to the rating.\n * The index of the rating item will be appended to this top-level id.\n */\n id?: string\n /**\n * The name of the input element.\n */\n name?: string\n /**\n * The value of the rating.\n */\n value?: number\n /**\n * The callback invoked when value state changes.\n */\n onChange?: (value: number) => void\n /**\n * The callback invoked when hovering over the rating.\n */\n onHover?: (value: number) => void\n}\n\nexport const useRating = (props: UseRatingProps = {}) => {\n const uuid = useId()\n const {\n props: {\n id = uuid,\n name = uuid,\n count: countProp = 5,\n defaultValue = 0,\n disabled,\n fractions: fractionsProp = 1,\n highlightSelectedOnly = false,\n readOnly,\n required,\n value: valueProp,\n onChange: onChangeProp,\n onHover,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps({ ...props, notSupportReadOnly: true })\n const rootRef = useRef<HTMLDivElement>(null)\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const [hoveredValue, setHoveredValue] = useState(-1)\n const outsideRef = useRef(true)\n const fractions = Math.floor(fractionsProp)\n const count = Math.floor(countProp)\n const decimal = 1 / fractions\n const roundedValue = useMemo(\n () => getRoundedValue(value, decimal),\n [decimal, value],\n )\n const interactive = !(readOnly || disabled)\n const displayValue = hoveredValue !== -1 ? hoveredValue : roundedValue\n\n const getHoveredValue = useCallback(\n (x: number) => {\n if (!rootRef.current) return -1\n\n const { left, width } = rootRef.current.getBoundingClientRect()\n const itemWidth = width / count\n\n const hoveredValue = (x - left) / itemWidth\n\n const value = clampNumber(\n getRoundedValue(hoveredValue + decimal / 2, decimal),\n decimal,\n count,\n )\n\n return value\n },\n [count, decimal],\n )\n\n const onMouseEnter = useCallback(() => {\n if (interactive) outsideRef.current = false\n }, [interactive])\n\n const onMouseLeave = useCallback(() => {\n if (!interactive) return\n\n setHoveredValue(-1)\n outsideRef.current = true\n\n if (hoveredValue !== -1) onHover?.(-1)\n }, [hoveredValue, onHover, interactive, setHoveredValue])\n\n const onMouseMove = useCallback(\n (ev: MouseEvent<HTMLDivElement>) => {\n if (disabled || readOnly) return\n\n const roundedValue = getHoveredValue(ev.clientX)\n\n setHoveredValue(roundedValue)\n\n if (roundedValue !== hoveredValue) onHover?.(roundedValue)\n },\n [disabled, getHoveredValue, hoveredValue, readOnly, onHover],\n )\n\n const onTouchStart = useCallback(\n (ev: TouchEvent<HTMLDivElement>) => {\n ev.preventDefault()\n\n const el = ev.touches[0]\n\n if (!el) return\n\n const value = getHoveredValue(el.clientX)\n\n setValue(value)\n },\n [getHoveredValue, setValue],\n )\n\n const onTouchEnd = useCallback((ev: TouchEvent<HTMLDivElement>) => {\n ev.preventDefault()\n }, [])\n\n const getRootProps: PropGetter = useCallback(\n ({ ref, ...props } = {}) => {\n const merged = mergeProps(\n dataProps,\n eventProps,\n ariaProps,\n {\n id,\n \"aria-label\": `${value} Stars`,\n \"aria-readonly\": ariaAttr(readOnly),\n role: \"radiogroup\",\n },\n rest,\n props,\n { ref },\n { ref: rootRef },\n )()\n return {\n ...merged,\n onMouseEnter: handlerAll(\n props.onMouseEnter,\n rest.onMouseEnter,\n onMouseEnter,\n ),\n onMouseLeave: handlerAll(\n props.onMouseLeave,\n rest.onMouseLeave,\n onMouseLeave,\n ),\n onMouseMove: handlerAll(\n props.onMouseMove,\n rest.onMouseMove,\n onMouseMove,\n ),\n onTouchEnd: handlerAll(props.onTouchEnd, rest.onTouchEnd, onTouchEnd),\n onTouchStart: handlerAll(\n props.onTouchStart,\n rest.onTouchStart,\n onTouchStart,\n ),\n }\n },\n [\n ariaProps,\n dataProps,\n eventProps,\n id,\n onMouseEnter,\n onMouseLeave,\n onMouseMove,\n onTouchEnd,\n onTouchStart,\n readOnly,\n rest,\n value,\n ],\n )\n\n return {\n id,\n name,\n count,\n decimal,\n disabled,\n displayValue,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n getRootProps,\n }\n}\n\nexport type UseRatingReturn = ReturnType<typeof useRating>\n\nexport interface UseRatingItemProps extends HTMLProps<\"label\"> {\n groupValue: number\n index: number\n}\n\nexport const useRatingItem = ({\n groupValue,\n index,\n ...rest\n}: UseRatingItemProps) => {\n const {\n id: rootId,\n name,\n decimal,\n disabled,\n displayValue,\n highlightSelectedOnly,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n ariaProps,\n dataProps,\n eventProps,\n } = useRatingContext()\n const fractionValue = decimal * (groupValue === 1 ? index : index + 1)\n const value = useMemo(\n () => getRoundedValue(groupValue - 1 + fractionValue, decimal),\n [decimal, fractionValue, groupValue],\n )\n const active = value === displayValue\n const checked = value === roundedValue\n const filled = highlightSelectedOnly\n ? value === displayValue\n : value <= displayValue\n const id = `${rootId}-${groupValue}-${value}`\n\n const onBlur = useCallback(() => {\n if (outsideRef.current) setHoveredValue(-1)\n }, [outsideRef, setHoveredValue])\n\n const onInputChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n if (!interactive) return\n\n const value = parseFloat(ev.target.value)\n\n setHoveredValue(value)\n },\n [interactive, setHoveredValue],\n )\n\n const onChange = useCallback(\n (value: number) => {\n if (!interactive) return\n\n setValue(value)\n },\n [interactive, setValue],\n )\n\n const onMouseDown = useCallback(() => {\n onChange(value)\n }, [onChange, value])\n\n const onTouchStart = useCallback(() => {\n onChange(value)\n }, [onChange, value])\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLInputElement>) => {\n runKeyAction(ev, {\n Space: () => onChange(value),\n })\n },\n [onChange, value],\n )\n\n const getLabelProps: PropGetter<\"label\"> = useCallback(\n ({ style, ...props } = {}) =>\n mergeProps(\n dataProps,\n ariaProps,\n {\n htmlFor: id,\n \"data-active\": dataAttr(active),\n \"data-filled\": dataAttr(filled),\n },\n rest,\n props,\n { style },\n {\n style: {\n zIndex: fractionValue !== 1 ? (active ? 1 : -1) : undefined,\n },\n },\n { onMouseDown, onTouchStart },\n )(),\n [\n active,\n ariaProps,\n dataProps,\n filled,\n fractionValue,\n id,\n onMouseDown,\n onTouchStart,\n rest,\n ],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n ...dataProps,\n ...eventProps,\n ...ariaProps,\n id,\n type: \"radio\",\n name,\n style: visuallyHiddenAttributes.style,\n \"aria-label\": value.toString(),\n \"data-active\": dataAttr(active),\n \"data-checked\": dataAttr(checked),\n checked,\n disabled,\n readOnly,\n required,\n value,\n ...props,\n onBlur: handlerAll(onBlur, props.onBlur),\n onChange: handlerAll(props.onChange, onInputChange),\n onKeyDown: handlerAll(props.onKeyDown, onKeyDown),\n }),\n [\n id,\n name,\n value,\n active,\n checked,\n dataProps,\n eventProps,\n ariaProps,\n disabled,\n readOnly,\n required,\n onBlur,\n onInputChange,\n onKeyDown,\n ],\n )\n\n return {\n active,\n checked,\n filled,\n fractionValue,\n groupValue,\n value,\n getInputProps,\n getLabelProps,\n }\n}\n\nexport type UseRatingItemReturn = ReturnType<typeof useRatingItem>\n"],"mappings":";;;;;;;;;;AAmBA,MAAM,mBAAmB,OAAe,OAAe;CACrD,MAAM,UAAU,KAAK,MAAM,QAAQ,EAAE,IAAI;CACzC,MAAM,YAAY,GAAG,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,UAAU;CAEnD,OAAO,OAAO,QAAQ,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C9B,iBAAA,GAAA,oBAAA,cAAgB,SAAA,CAAS,OAAO;GAChC;GACA;GACA;GACA;GACA;GACA,GAAG;GACH,SAAA,GAAA,oBAAA,cAAQ,WAAA,CAAW,QAAQ,MAAM,MAAM;GACvC,WAAA,GAAA,oBAAA,cAAU,WAAA,CAAW,MAAM,UAAU,aAAa;GAClD,YAAA,GAAA,oBAAA,cAAW,WAAA,CAAW,MAAM,WAAW,SAAS;EAClD,IACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAUY;EACZ;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"use-rating.cjs","names":["createContext","useId","useFieldProps","useRef","useControllableState","useState","useMemo","useCallback","mergeProps","visuallyHiddenAttributes"],"sources":["../../../../src/components/rating/use-rating.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ChangeEvent, KeyboardEvent, MouseEvent, TouchEvent } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback, useId, useMemo, useRef, useState } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport {\n ariaAttr,\n clampNumber,\n createContext,\n dataAttr,\n handlerAll,\n runKeyAction,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { useFieldProps } from \"../field\"\n\nconst getRoundedValue = (value: number, to: number) => {\n const rounded = Math.round(value / to) * to\n const precision = `${to}`.split(\".\")[1]?.length || 0\n\n return Number(rounded.toFixed(precision))\n}\n\nexport interface RatingContext extends Omit<UseRatingReturn, \"getRootProps\"> {}\n\nconst [RatingContext, useRatingContext] = createContext<RatingContext>({\n name: \"RatingContext\",\n})\n\nexport { RatingContext, useRatingContext }\n\nexport interface UseRatingProps\n extends FieldProps, Omit<HTMLProps, \"color\" | \"defaultValue\" | \"onChange\"> {\n /**\n * Number of controls that should be rendered.\n *\n * @default 5\n */\n count?: number\n /**\n * The initial value of the rating.\n *\n * @default 0\n */\n defaultValue?: number\n /**\n * Number of fractions each item can be divided into,\n *\n * @default 1\n */\n fractions?: number\n /**\n * If `true`, only the selected icons will be filled.\n *\n * @default false\n */\n highlightSelectedOnly?: boolean\n /**\n * The top-level id string that will be applied to the rating.\n * The index of the rating item will be appended to this top-level id.\n */\n id?: string\n /**\n * The name of the input element.\n */\n name?: string\n /**\n * The value of the rating.\n */\n value?: number\n /**\n * The callback invoked when value state changes.\n */\n onChange?: (value: number) => void\n /**\n * The callback invoked when hovering over the rating.\n */\n onHover?: (value: number) => void\n}\n\nexport const useRating = (props: UseRatingProps = {}) => {\n const uuid = useId()\n const {\n props: {\n id = uuid,\n name = uuid,\n count: countProp = 5,\n defaultValue = 0,\n disabled,\n fractions: fractionsProp = 1,\n highlightSelectedOnly = false,\n readOnly,\n required,\n value: valueProp,\n onChange: onChangeProp,\n onHover,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps({ ...props, notSupportReadOnly: true })\n const rootRef = useRef<HTMLDivElement>(null)\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const [hoveredValue, setHoveredValue] = useState(-1)\n const outsideRef = useRef(true)\n const fractions = Math.floor(fractionsProp)\n const count = Math.floor(countProp)\n const decimal = 1 / fractions\n const roundedValue = useMemo(\n () => getRoundedValue(value, decimal),\n [decimal, value],\n )\n const interactive = !(readOnly || disabled)\n const displayValue = hoveredValue !== -1 ? hoveredValue : roundedValue\n\n const getHoveredValue = useCallback(\n (x: number) => {\n if (!rootRef.current) return -1\n\n const { left, width } = rootRef.current.getBoundingClientRect()\n const itemWidth = width / count\n\n const hoveredValue = (x - left) / itemWidth\n\n const value = clampNumber(\n getRoundedValue(hoveredValue + decimal / 2, decimal),\n decimal,\n count,\n )\n\n return value\n },\n [count, decimal],\n )\n\n const onMouseEnter = useCallback(() => {\n if (interactive) outsideRef.current = false\n }, [interactive])\n\n const onMouseLeave = useCallback(() => {\n if (!interactive) return\n\n setHoveredValue(-1)\n outsideRef.current = true\n\n if (hoveredValue !== -1) onHover?.(-1)\n }, [hoveredValue, onHover, interactive, setHoveredValue])\n\n const onMouseMove = useCallback(\n (ev: MouseEvent<HTMLDivElement>) => {\n if (disabled || readOnly) return\n\n const roundedValue = getHoveredValue(ev.clientX)\n\n setHoveredValue(roundedValue)\n\n if (roundedValue !== hoveredValue) onHover?.(roundedValue)\n },\n [disabled, getHoveredValue, hoveredValue, readOnly, onHover],\n )\n\n const onTouchStart = useCallback(\n (ev: TouchEvent<HTMLDivElement>) => {\n ev.preventDefault()\n\n const el = ev.touches[0]\n\n if (!el) return\n\n const value = getHoveredValue(el.clientX)\n\n setValue(value)\n },\n [getHoveredValue, setValue],\n )\n\n const onTouchEnd = useCallback((ev: TouchEvent<HTMLDivElement>) => {\n ev.preventDefault()\n }, [])\n\n const getRootProps: PropGetter = useCallback(\n ({ ref, ...props } = {}) => {\n const merged = mergeProps(\n dataProps,\n eventProps,\n ariaProps,\n {\n id,\n \"aria-label\": `${value} Stars`,\n \"aria-readonly\": ariaAttr(readOnly),\n role: \"radiogroup\",\n },\n rest,\n props,\n { ref },\n { ref: rootRef },\n )()\n return {\n ...merged,\n onMouseEnter: handlerAll(\n props.onMouseEnter,\n rest.onMouseEnter,\n onMouseEnter,\n ),\n onMouseLeave: handlerAll(\n props.onMouseLeave,\n rest.onMouseLeave,\n onMouseLeave,\n ),\n onMouseMove: handlerAll(\n props.onMouseMove,\n rest.onMouseMove,\n onMouseMove,\n ),\n onTouchEnd: handlerAll(props.onTouchEnd, rest.onTouchEnd, onTouchEnd),\n onTouchStart: handlerAll(\n props.onTouchStart,\n rest.onTouchStart,\n onTouchStart,\n ),\n }\n },\n [\n ariaProps,\n dataProps,\n eventProps,\n id,\n onMouseEnter,\n onMouseLeave,\n onMouseMove,\n onTouchEnd,\n onTouchStart,\n readOnly,\n rest,\n value,\n ],\n )\n\n return {\n id,\n name,\n count,\n decimal,\n disabled,\n displayValue,\n fractions,\n highlightSelectedOnly,\n hoveredValue,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n value,\n ariaProps,\n dataProps,\n eventProps,\n getRootProps,\n }\n}\n\nexport type UseRatingReturn = ReturnType<typeof useRating>\n\nexport interface UseRatingItemProps extends HTMLProps<\"label\"> {\n groupValue: number\n index: number\n}\n\nexport const useRatingItem = ({\n groupValue,\n index,\n ...rest\n}: UseRatingItemProps) => {\n const {\n id: rootId,\n name,\n decimal,\n disabled,\n displayValue,\n highlightSelectedOnly,\n interactive,\n outsideRef,\n readOnly,\n required,\n roundedValue,\n setHoveredValue,\n setValue,\n ariaProps,\n dataProps,\n eventProps,\n } = useRatingContext()\n const fractionValue = decimal * (groupValue === 1 ? index : index + 1)\n const value = useMemo(\n () => getRoundedValue(groupValue - 1 + fractionValue, decimal),\n [decimal, fractionValue, groupValue],\n )\n const active = value === displayValue\n const checked = value === roundedValue\n const filled = highlightSelectedOnly\n ? value === displayValue\n : value <= displayValue\n const id = `${rootId}-${groupValue}-${value}`\n\n const onBlur = useCallback(() => {\n if (outsideRef.current) setHoveredValue(-1)\n }, [outsideRef, setHoveredValue])\n\n const onInputChange = useCallback(\n (ev: ChangeEvent<HTMLInputElement>) => {\n if (!interactive) return\n\n const value = parseFloat(ev.target.value)\n\n setHoveredValue(value)\n },\n [interactive, setHoveredValue],\n )\n\n const onChange = useCallback(\n (value: number) => {\n if (!interactive) return\n\n setValue(value)\n },\n [interactive, setValue],\n )\n\n const onMouseDown = useCallback(() => {\n onChange(value)\n }, [onChange, value])\n\n const onTouchStart = useCallback(() => {\n onChange(value)\n }, [onChange, value])\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLInputElement>) => {\n runKeyAction(ev, {\n Space: () => onChange(value),\n })\n },\n [onChange, value],\n )\n\n const getLabelProps: PropGetter<\"label\"> = useCallback(\n ({ style, ...props } = {}) =>\n mergeProps(\n dataProps,\n ariaProps,\n {\n htmlFor: id,\n \"data-active\": dataAttr(active),\n \"data-filled\": dataAttr(filled),\n },\n rest,\n props,\n { style },\n {\n style: {\n zIndex: fractionValue !== 1 ? (active ? 1 : -1) : undefined,\n },\n },\n { onMouseDown, onTouchStart },\n )(),\n [\n active,\n ariaProps,\n dataProps,\n filled,\n fractionValue,\n id,\n onMouseDown,\n onTouchStart,\n rest,\n ],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n ...dataProps,\n ...eventProps,\n ...ariaProps,\n id,\n type: \"radio\",\n name,\n style: visuallyHiddenAttributes.style,\n \"aria-label\": value.toString(),\n \"data-active\": dataAttr(active),\n \"data-checked\": dataAttr(checked),\n checked,\n disabled,\n readOnly,\n required,\n value,\n ...props,\n onBlur: handlerAll(onBlur, props.onBlur),\n onChange: handlerAll(props.onChange, onInputChange),\n onKeyDown: handlerAll(props.onKeyDown, onKeyDown),\n }),\n [\n id,\n name,\n value,\n active,\n checked,\n dataProps,\n eventProps,\n ariaProps,\n disabled,\n readOnly,\n required,\n onBlur,\n onInputChange,\n onKeyDown,\n ],\n )\n\n return {\n active,\n checked,\n filled,\n fractionValue,\n groupValue,\n value,\n getInputProps,\n getLabelProps,\n }\n}\n\nexport type UseRatingItemReturn = ReturnType<typeof useRatingItem>\n"],"mappings":";;;;;;;;;AAmBA,MAAM,mBAAmB,OAAe,OAAe;CACrD,MAAM,UAAU,KAAK,MAAM,QAAQ,EAAE,IAAI;CACzC,MAAM,YAAY,GAAG,KAAK,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,UAAU;CAEnD,OAAO,OAAO,QAAQ,QAAQ,SAAS,CAAC;AAC1C;AAIA,MAAM,CAAC,eAAe,oBAAoBA,gBAAAA,cAA6B,EACrE,MAAM,gBACR,CAAC;AAqDD,MAAa,aAAa,QAAwB,CAAC,MAAM;CACvD,MAAM,QAAA,GAAOC,MAAAA,MAAAA,CAAM;CACnB,MAAM,EACJ,OAAO,EACL,KAAK,MACL,OAAO,M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AAA,cAAW,WAAA,CAAW,MAAM,WAAW,SAAS;EAClD,IACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAUY;EACZ;CACF;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-reorder.cjs","names":["createContext","useValidChildren","useMemo","useRef","useState","cloneElement","useCallback","mergeProps","useDragControls","useMotionValue","mergeRefs"],"sources":["../../../../src/components/reorder/use-reorder.ts"],"sourcesContent":["\"use client\"\n\nimport type { HTMLMotionProps, Reorder } from \"motion/react\"\nimport type { PropsWithChildren, ReactElement, ReactNode } from \"react\"\nimport type { Orientation, PropGetter } from \"../../core\"\nimport type { Dict, Merge } from \"../../utils\"\nimport { useDragControls, useMotionValue } from \"motion/react\"\nimport {\n cloneElement,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\"\nimport { mergeProps } from \"../../core\"\nimport {\n createContext,\n dataAttr,\n handlerAll,\n isArray,\n isObject,\n mergeRefs,\n useUpdateEffect,\n useValidChildren,\n} from \"../../utils\"\n\nconst getAlternativeValue = ({ children, label }: Dict = {}) =>\n serializeValue(children ?? label)\n\nconst serializeValue = (value: any) =>\n isObject(value) || isArray(value) ? JSON.stringify(value) : value\n\ntype ReorderGroupProps<Y = string> = Merge<\n HTMLMotionProps<\"ul\">,\n Pick<\n Parameters<typeof Reorder.Group<Y[]>>[0],\n \"axis\" | \"onReorder\" | \"values\"\n >\n>\ntype ReorderItemProps<Y = string> = Merge<\n HTMLMotionProps<\"li\">,\n Partial<Pick<Parameters<typeof Reorder.Item<Y>>[0], \"layout\" | \"value\">>\n>\n\ninterface ReorderContext extends Pick<UseReorderProps, \"orientation\"> {}\n\nconst [ReorderContext, useReorderContext] = createContext<ReorderContext>({\n name: \"ReorderContext\",\n})\n\nexport { ReorderContext, useReorderContext }\n\ninterface ReorderItemContext {\n getTriggerProps: PropGetter\n}\n\nconst [ReorderItemContext, useReorderItemContext] =\n createContext<ReorderItemContext>({\n name: \"ReorderItemContext\",\n })\n\nexport { ReorderItemContext, useReorderItemContext }\n\nexport interface UseReorderProps<Y = string>\n extends\n Partial<Omit<ReorderGroupProps<Y>, \"children\" | \"onChange\" | \"values\">>,\n PropsWithChildren {\n /**\n * The component to be used for the item.\n */\n item?: ReactElement<any>\n /**\n * If provided, generate reorder items based on items.\n *\n */\n items?: UseReorderItemProps<Y>[]\n /**\n * The orientation of the reorder.\n *\n * @default 'vertical'\n */\n orientation?: Orientation\n /**\n * The callback invoked when reorder items are moved.\n */\n onChange?: (values: Y[]) => void\n /**\n * The callback invoked when the movement of reorder items is completed.\n */\n onCompleteChange?: (values: Y[]) => void\n}\n\nexport const useReorder = <Y = string>({\n ref,\n children,\n item,\n items = [],\n orientation = \"vertical\",\n onChange,\n onCompleteChange,\n ...rest\n}: UseReorderProps<Y> = {}) => {\n const axis = orientation === \"vertical\" ? \"y\" : \"x\"\n const validChildren = useValidChildren(children)\n const hasChildren = !!validChildren.length\n const defaultValues = useMemo(() => {\n const values = hasChildren\n ? validChildren.map(\n ({ props }) => props.value ?? getAlternativeValue(props),\n )\n : items.map((props) => props.value ?? getAlternativeValue(props))\n\n const duplicatedValues = values.filter(\n (value, index, self) =>\n self.indexOf(value) === index && index !== self.lastIndexOf(value),\n )\n\n if (duplicatedValues.length)\n console.warn(\n `Reorder: 'value' of 'ReorderItem' must not be duplicated. duplicate 'value' is '${duplicatedValues.join(\n `', '`,\n )}' `,\n )\n\n return Array.from(new Set(values))\n }, [hasChildren, validChildren, items])\n const childMap = useMemo(() => {\n return Object.fromEntries(\n validChildren.map((child) => [\n serializeValue(child.props.value) ??\n serializeValue(getAlternativeValue(child.props)),\n child,\n ]),\n )\n }, [validChildren])\n const itemMap = useMemo(() => {\n return Object.fromEntries(\n items.map((props) => [\n serializeValue(props.value) ??\n serializeValue(getAlternativeValue(props)),\n props,\n ]),\n )\n }, [items])\n const prevDefaultValues = useRef<Y[]>(defaultValues)\n const [values, setValues] = useState<Y[]>(defaultValues)\n const prevValues = useRef<Y[]>(defaultValues)\n const cloneChildren = useMemo(\n () =>\n values.map((value) => {\n if (hasChildren) {\n return childMap[serializeValue(value)]\n } else {\n const props = itemMap[serializeValue(value)]\n\n return props && item\n ? cloneElement(item, { key: serializeValue(props.value), ...props })\n : null\n }\n }),\n [values, hasChildren, childMap, itemMap, item],\n )\n\n const onReorder = useCallback(\n (newValues: Y[]) => {\n setValues(newValues)\n\n onChange?.(newValues)\n },\n [onChange],\n )\n\n const onCompleteReorder = useCallback(() => {\n const equal = JSON.stringify(prevValues.current) === JSON.stringify(values)\n\n if (equal) return\n\n prevValues.current = values\n\n onCompleteChange?.(values)\n }, [onCompleteChange, values])\n\n useUpdateEffect(() => {\n const equal =\n JSON.stringify(defaultValues) ===\n JSON.stringify(prevDefaultValues.current)\n\n if (equal) return\n\n prevValues.current = defaultValues\n prevDefaultValues.current = defaultValues\n\n setValues(defaultValues)\n }, [defaultValues])\n\n const getRootProps: PropGetter<\n Partial<Omit<ReorderGroupProps<Y>, \"values\">>,\n undefined,\n ReorderGroupProps<Y>\n > = useCallback(\n (props = {}) =>\n mergeProps(\n { axis, values },\n rest,\n props,\n { ref },\n {\n onMouseUp: onCompleteReorder,\n onReorder,\n onTouchEnd: onCompleteReorder,\n },\n )(),\n [rest, ref, onCompleteReorder, onReorder, axis, values],\n )\n\n return { children: cloneChildren, orientation, values, getRootProps }\n}\n\nexport type UseReorderReturn<Y = string> = ReturnType<typeof useReorder<Y>>\n\nexport interface UseReorderItemProps<Y = string> extends ReorderItemProps<Y> {\n /**\n * The label of the reorder item.\n */\n label?: ReactNode\n /**\n * The value of the reorder item.\n */\n value?: Y\n}\n\nexport const useReorderItem = <Y = string>({\n ref,\n label,\n value,\n ...rest\n}: UseReorderItemProps<Y>) => {\n const { orientation } = useReorderContext()\n const dragControls = useDragControls()\n const [hasTrigger, setHasTrigger] = useState<boolean>(false)\n const [drag, setDrag] = useState<boolean>(false)\n const x = useMotionValue(0)\n const y = useMotionValue(0)\n\n const register = useCallback(\n (node: HTMLElement | null) => setHasTrigger(!!node),\n [],\n )\n\n useEffect(() => {\n const unsubscribeX = x.on(\"change\", (x) => {\n if (orientation === \"horizontal\") setDrag(x !== 0)\n })\n const unsubscribeY = y.on(\"change\", (y) => {\n if (orientation === \"vertical\") setDrag(y !== 0)\n })\n\n return () => {\n unsubscribeX()\n unsubscribeY()\n }\n }, [orientation, x, y])\n\n const getItemProps: PropGetter<\n Omit<HTMLMotionProps<\"li\">, \"layout\" | \"value\"> &\n Pick<ReorderItemProps<Y>, \"layout\">,\n undefined,\n ReorderItemProps<Y>\n > = useCallback(\n (props = {}) => {\n const children = props.children ?? rest.children ?? label\n\n const merged = mergeProps(\n {\n \"data-has-trigger\": dataAttr(hasTrigger),\n \"data-selected\": dataAttr(drag),\n dragControls,\n dragListener: !hasTrigger,\n value: value ?? getAlternativeValue({ children }),\n },\n props,\n rest,\n { ref },\n )()\n\n return {\n ...merged,\n style: { x, y, ...props.style, ...rest.style },\n children,\n }\n },\n [ref, rest, dragControls, hasTrigger, value, x, y, drag, label],\n )\n\n const getTriggerProps: PropGetter = useCallback(\n (props = {}) => ({\n ...props,\n ref: mergeRefs(register, props.ref),\n \"data-selected\": dataAttr(drag),\n onPointerDown: handlerAll(props.onPointerDown, (ev) =>\n dragControls.start(ev),\n ),\n }),\n [drag, dragControls, register],\n )\n\n return { getItemProps, getTriggerProps }\n}\n\nexport type UseReorderItemReturn<Y = string> = ReturnType<\n typeof useReorderItem<Y>\n>\n"],"mappings":";;;;;;;;;;;AA2BA,MAAM,uBAAuB,EAAE,UAAU,UAAgB,CAAC,MACxD,eAAe,YAAY,KAAK;AAElC,MAAM,kBAAkB,WAAA,GAAA,oBAAA,cACtB,SAAA,CAAS,KAAK,MAAA,GAAA,oBAAA,cAAK,QAAA,CAAQ,KAAK,IAAI,KAAK,UAAU,KAAK,IAAI;AAgB9D,MAAM,CAAC,gBAAgB,qBAAqBA,gBA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AAK;IAAM;IAC7C;GACF;EACF,GACA;GAAC;GAAK;GAAM;GAAc;GAAY;GAAO;GAAG;GAAG;GAAM;EAAK,CAe5C;EAAG,kBAAA,GAZaD,MAAAA,YAAAA,EACjC,QAAQ,CAAC,OAAO;GACf,GAAG;GACH,KAAKI,YAAAA,UAAU,UAAU,MAAM,GAAG;GAClC,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC9B,gBAAA,GAAA,oBAAA,cAAe,WAAA,CAAW,MAAM,gBAAgB,OAC9C,aAAa,MAAM,EAAE,CACvB;EACF,IACA;GAAC;GAAM;GAAc;EAAQ,CAGM;CAAE;AACzC"}
|
|
1
|
+
{"version":3,"file":"use-reorder.cjs","names":["createContext","useValidChildren","useMemo","useRef","useState","cloneElement","useCallback","mergeProps","useDragControls","useMotionValue","mergeRefs"],"sources":["../../../../src/components/reorder/use-reorder.ts"],"sourcesContent":["\"use client\"\n\nimport type { HTMLMotionProps, Reorder } from \"motion/react\"\nimport type { PropsWithChildren, ReactElement, ReactNode } from \"react\"\nimport type { Orientation, PropGetter } from \"../../core\"\nimport type { Dict, Merge } from \"../../utils\"\nimport { useDragControls, useMotionValue } from \"motion/react\"\nimport {\n cloneElement,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\"\nimport { mergeProps } from \"../../core\"\nimport {\n createContext,\n dataAttr,\n handlerAll,\n isArray,\n isObject,\n mergeRefs,\n useUpdateEffect,\n useValidChildren,\n} from \"../../utils\"\n\nconst getAlternativeValue = ({ children, label }: Dict = {}) =>\n serializeValue(children ?? label)\n\nconst serializeValue = (value: any) =>\n isObject(value) || isArray(value) ? JSON.stringify(value) : value\n\ntype ReorderGroupProps<Y = string> = Merge<\n HTMLMotionProps<\"ul\">,\n Pick<\n Parameters<typeof Reorder.Group<Y[]>>[0],\n \"axis\" | \"onReorder\" | \"values\"\n >\n>\ntype ReorderItemProps<Y = string> = Merge<\n HTMLMotionProps<\"li\">,\n Partial<Pick<Parameters<typeof Reorder.Item<Y>>[0], \"layout\" | \"value\">>\n>\n\ninterface ReorderContext extends Pick<UseReorderProps, \"orientation\"> {}\n\nconst [ReorderContext, useReorderContext] = createContext<ReorderContext>({\n name: \"ReorderContext\",\n})\n\nexport { ReorderContext, useReorderContext }\n\ninterface ReorderItemContext {\n getTriggerProps: PropGetter\n}\n\nconst [ReorderItemContext, useReorderItemContext] =\n createContext<ReorderItemContext>({\n name: \"ReorderItemContext\",\n })\n\nexport { ReorderItemContext, useReorderItemContext }\n\nexport interface UseReorderProps<Y = string>\n extends\n Partial<Omit<ReorderGroupProps<Y>, \"children\" | \"onChange\" | \"values\">>,\n PropsWithChildren {\n /**\n * The component to be used for the item.\n */\n item?: ReactElement<any>\n /**\n * If provided, generate reorder items based on items.\n *\n */\n items?: UseReorderItemProps<Y>[]\n /**\n * The orientation of the reorder.\n *\n * @default 'vertical'\n */\n orientation?: Orientation\n /**\n * The callback invoked when reorder items are moved.\n */\n onChange?: (values: Y[]) => void\n /**\n * The callback invoked when the movement of reorder items is completed.\n */\n onCompleteChange?: (values: Y[]) => void\n}\n\nexport const useReorder = <Y = string>({\n ref,\n children,\n item,\n items = [],\n orientation = \"vertical\",\n onChange,\n onCompleteChange,\n ...rest\n}: UseReorderProps<Y> = {}) => {\n const axis = orientation === \"vertical\" ? \"y\" : \"x\"\n const validChildren = useValidChildren(children)\n const hasChildren = !!validChildren.length\n const defaultValues = useMemo(() => {\n const values = hasChildren\n ? validChildren.map(\n ({ props }) => props.value ?? getAlternativeValue(props),\n )\n : items.map((props) => props.value ?? getAlternativeValue(props))\n\n const duplicatedValues = values.filter(\n (value, index, self) =>\n self.indexOf(value) === index && index !== self.lastIndexOf(value),\n )\n\n if (duplicatedValues.length)\n console.warn(\n `Reorder: 'value' of 'ReorderItem' must not be duplicated. duplicate 'value' is '${duplicatedValues.join(\n `', '`,\n )}' `,\n )\n\n return Array.from(new Set(values))\n }, [hasChildren, validChildren, items])\n const childMap = useMemo(() => {\n return Object.fromEntries(\n validChildren.map((child) => [\n serializeValue(child.props.value) ??\n serializeValue(getAlternativeValue(child.props)),\n child,\n ]),\n )\n }, [validChildren])\n const itemMap = useMemo(() => {\n return Object.fromEntries(\n items.map((props) => [\n serializeValue(props.value) ??\n serializeValue(getAlternativeValue(props)),\n props,\n ]),\n )\n }, [items])\n const prevDefaultValues = useRef<Y[]>(defaultValues)\n const [values, setValues] = useState<Y[]>(defaultValues)\n const prevValues = useRef<Y[]>(defaultValues)\n const cloneChildren = useMemo(\n () =>\n values.map((value) => {\n if (hasChildren) {\n return childMap[serializeValue(value)]\n } else {\n const props = itemMap[serializeValue(value)]\n\n return props && item\n ? cloneElement(item, { key: serializeValue(props.value), ...props })\n : null\n }\n }),\n [values, hasChildren, childMap, itemMap, item],\n )\n\n const onReorder = useCallback(\n (newValues: Y[]) => {\n setValues(newValues)\n\n onChange?.(newValues)\n },\n [onChange],\n )\n\n const onCompleteReorder = useCallback(() => {\n const equal = JSON.stringify(prevValues.current) === JSON.stringify(values)\n\n if (equal) return\n\n prevValues.current = values\n\n onCompleteChange?.(values)\n }, [onCompleteChange, values])\n\n useUpdateEffect(() => {\n const equal =\n JSON.stringify(defaultValues) ===\n JSON.stringify(prevDefaultValues.current)\n\n if (equal) return\n\n prevValues.current = defaultValues\n prevDefaultValues.current = defaultValues\n\n setValues(defaultValues)\n }, [defaultValues])\n\n const getRootProps: PropGetter<\n Partial<Omit<ReorderGroupProps<Y>, \"values\">>,\n undefined,\n ReorderGroupProps<Y>\n > = useCallback(\n (props = {}) =>\n mergeProps(\n { axis, values },\n rest,\n props,\n { ref },\n {\n onMouseUp: onCompleteReorder,\n onReorder,\n onTouchEnd: onCompleteReorder,\n },\n )(),\n [rest, ref, onCompleteReorder, onReorder, axis, values],\n )\n\n return { children: cloneChildren, orientation, values, getRootProps }\n}\n\nexport type UseReorderReturn<Y = string> = ReturnType<typeof useReorder<Y>>\n\nexport interface UseReorderItemProps<Y = string> extends ReorderItemProps<Y> {\n /**\n * The label of the reorder item.\n */\n label?: ReactNode\n /**\n * The value of the reorder item.\n */\n value?: Y\n}\n\nexport const useReorderItem = <Y = string>({\n ref,\n label,\n value,\n ...rest\n}: UseReorderItemProps<Y>) => {\n const { orientation } = useReorderContext()\n const dragControls = useDragControls()\n const [hasTrigger, setHasTrigger] = useState<boolean>(false)\n const [drag, setDrag] = useState<boolean>(false)\n const x = useMotionValue(0)\n const y = useMotionValue(0)\n\n const register = useCallback(\n (node: HTMLElement | null) => setHasTrigger(!!node),\n [],\n )\n\n useEffect(() => {\n const unsubscribeX = x.on(\"change\", (x) => {\n if (orientation === \"horizontal\") setDrag(x !== 0)\n })\n const unsubscribeY = y.on(\"change\", (y) => {\n if (orientation === \"vertical\") setDrag(y !== 0)\n })\n\n return () => {\n unsubscribeX()\n unsubscribeY()\n }\n }, [orientation, x, y])\n\n const getItemProps: PropGetter<\n Omit<HTMLMotionProps<\"li\">, \"layout\" | \"value\"> &\n Pick<ReorderItemProps<Y>, \"layout\">,\n undefined,\n ReorderItemProps<Y>\n > = useCallback(\n (props = {}) => {\n const children = props.children ?? rest.children ?? label\n\n const merged = mergeProps(\n {\n \"data-has-trigger\": dataAttr(hasTrigger),\n \"data-selected\": dataAttr(drag),\n dragControls,\n dragListener: !hasTrigger,\n value: value ?? getAlternativeValue({ children }),\n },\n props,\n rest,\n { ref },\n )()\n\n return {\n ...merged,\n style: { x, y, ...props.style, ...rest.style },\n children,\n }\n },\n [ref, rest, dragControls, hasTrigger, value, x, y, drag, label],\n )\n\n const getTriggerProps: PropGetter = useCallback(\n (props = {}) => ({\n ...props,\n ref: mergeRefs(register, props.ref),\n \"data-selected\": dataAttr(drag),\n onPointerDown: handlerAll(props.onPointerDown, (ev) =>\n dragControls.start(ev),\n ),\n }),\n [drag, dragControls, register],\n )\n\n return { getItemProps, getTriggerProps }\n}\n\nexport type UseReorderItemReturn<Y = string> = ReturnType<\n typeof useReorderItem<Y>\n>\n"],"mappings":";;;;;;;;;;AA2BA,MA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,SAAA,CAAS,UAAU;KACvC,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;KAC9B;KACA,cAAc,CAAC;KACf,OAAO,SAAS,oBAAoB,EAAE,SAAS,CAAC;IAClD,GACA,OACA,MACA,EAAE,IAAI,CACR,CAAC,CAGS;IACR,OAAO;KAAE;KAAG;KAAG,GAAG,MAAM;KAAO,GAAG,KAAK;IAAM;IAC7C;GACF;EACF,GACA;GAAC;GAAK;GAAM;GAAc;GAAY;GAAO;GAAG;GAAG;GAAM;EAAK,CAe5C;EAAG,kBAAA,GAZaD,MAAAA,YAAAA,EACjC,QAAQ,CAAC,OAAO;GACf,GAAG;GACH,KAAKI,YAAAA,UAAU,UAAU,MAAM,GAAG;GAClC,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,IAAI;GAC9B,gBAAA,GAAA,oBAAA,cAAe,WAAA,CAAW,MAAM,gBAAgB,OAC9C,aAAa,MAAM,EAAE,CACvB;EACF,IACA;GAAC;GAAM;GAAc;EAAQ,CAGM;CAAE;AACzC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_factory = require("../../core/system/factory.cjs");
|
|
4
3
|
const require_create_component = require("../../core/components/create-component.cjs");
|
|
5
4
|
const require_hooks_use_value_index = require("../../hooks/use-value/index.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable.cjs","names":["createSlotComponent","resizableStyle","useValue","useResizable","useMemo","ResizableContext","styled","Group","useResizableItem","Panel","useResizableTrigger","Separator"],"sources":["../../../../src/components/resizable/resizable.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement } from \"react\"\nimport type {\n HTMLStyledProps,\n HTMLStyledPropsWithoutAs,\n ThemeProps,\n} from \"../../core\"\nimport type { ResizableStyle } from \"./resizable.style\"\nimport type {\n UseResizableItemProps,\n UseResizableProps,\n UseResizableTriggerProps,\n} from \"./use-resizable\"\nimport { useMemo } from \"react\"\nimport { Group, Panel, Separator } from \"react-resizable-panels\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { resizableStyle } from \"./resizable.style\"\nimport {\n ResizableContext,\n useResizable,\n useResizableItem,\n useResizableTrigger,\n} from \"./use-resizable\"\n\n/**\n * `Resizable` is accessible resizable panel groups and layouts with keyboard support.\n *\n * @see https://yamada-ui.com/docs/components/resizable\n */\nexport interface ResizableRootProps\n extends\n HTMLStyledProps,\n ThemeProps<ResizableStyle>,\n Omit<UseResizableProps, \"orientation\"> {}\n\nconst {\n PropsContext: ResizablePropsContext,\n usePropsContext: useResizablePropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<ResizableRootProps, ResizableStyle>(\n \"resizable\",\n resizableStyle,\n)\n\nexport { ResizablePropsContext, useResizablePropsContext }\n\nexport const ResizableRoot = withProvider<\n \"div\",\n ResizableRootProps,\n \"orientation\"\n>(\n ({ children, orientation: orientationProp, ...rest }) => {\n const computedOrientation = useValue(orientationProp)\n const { disabled, groupRef, orientation, getRootProps } = useResizable({\n orientation: computedOrientation,\n ...rest,\n })\n\n const context = useMemo(\n () => ({ disabled, groupRef, orientation }),\n [disabled, orientation, groupRef],\n )\n\n return (\n <ResizableContext value={context}>\n <styled.div as={Group} {...getRootProps()}>\n {children}\n </styled.div>\n </ResizableContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)()\n\nexport interface ResizableItemProps\n extends HTMLStyledPropsWithoutAs, UseResizableItemProps {}\n\nexport const ResizableItem = withContext<\"div\", ResizableItemProps>((props) => {\n const { getItemProps } = useResizableItem(props)\n\n return <styled.div as={Panel} {...getItemProps()} />\n}, \"item\")()\n\nexport interface ResizableTriggerProps\n extends HTMLStyledPropsWithoutAs, UseResizableTriggerProps {\n /**\n * The resizable trigger icon to use.\n */\n icon?: ReactElement\n /**\n * Props for resizable trigger icon component.\n */\n iconProps?: HTMLStyledProps\n}\n\nexport const ResizableTrigger = withContext<\"div\", ResizableTriggerProps>(\n ({ children, icon, iconProps, ...rest }) => {\n const { getIconProps, getTriggerProps } = useResizableTrigger(rest)\n\n return (\n <styled.div as={Separator} {...getTriggerProps()}>\n {icon ? (\n <ResizableIcon {...getIconProps(iconProps)}>{icon}</ResizableIcon>\n ) : null}\n\n {children}\n </styled.div>\n )\n },\n \"trigger\",\n)()\n\ninterface ResizableIconProps extends HTMLStyledProps {}\n\nconst ResizableIcon = withContext<\"div\", ResizableIconProps>(\"div\", \"icon\")()\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resizable.cjs","names":["createSlotComponent","resizableStyle","useValue","useResizable","useMemo","ResizableContext","styled","Group","useResizableItem","Panel","useResizableTrigger","Separator"],"sources":["../../../../src/components/resizable/resizable.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement } from \"react\"\nimport type {\n HTMLStyledProps,\n HTMLStyledPropsWithoutAs,\n ThemeProps,\n} from \"../../core\"\nimport type { ResizableStyle } from \"./resizable.style\"\nimport type {\n UseResizableItemProps,\n UseResizableProps,\n UseResizableTriggerProps,\n} from \"./use-resizable\"\nimport { useMemo } from \"react\"\nimport { Group, Panel, Separator } from \"react-resizable-panels\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { resizableStyle } from \"./resizable.style\"\nimport {\n ResizableContext,\n useResizable,\n useResizableItem,\n useResizableTrigger,\n} from \"./use-resizable\"\n\n/**\n * `Resizable` is accessible resizable panel groups and layouts with keyboard support.\n *\n * @see https://yamada-ui.com/docs/components/resizable\n */\nexport interface ResizableRootProps\n extends\n HTMLStyledProps,\n ThemeProps<ResizableStyle>,\n Omit<UseResizableProps, \"orientation\"> {}\n\nconst {\n PropsContext: ResizablePropsContext,\n usePropsContext: useResizablePropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<ResizableRootProps, ResizableStyle>(\n \"resizable\",\n resizableStyle,\n)\n\nexport { ResizablePropsContext, useResizablePropsContext }\n\nexport const ResizableRoot = withProvider<\n \"div\",\n ResizableRootProps,\n \"orientation\"\n>(\n ({ children, orientation: orientationProp, ...rest }) => {\n const computedOrientation = useValue(orientationProp)\n const { disabled, groupRef, orientation, getRootProps } = useResizable({\n orientation: computedOrientation,\n ...rest,\n })\n\n const context = useMemo(\n () => ({ disabled, groupRef, orientation }),\n [disabled, orientation, groupRef],\n )\n\n return (\n <ResizableContext value={context}>\n <styled.div as={Group} {...getRootProps()}>\n {children}\n </styled.div>\n </ResizableContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)()\n\nexport interface ResizableItemProps\n extends HTMLStyledPropsWithoutAs, UseResizableItemProps {}\n\nexport const ResizableItem = withContext<\"div\", ResizableItemProps>((props) => {\n const { getItemProps } = useResizableItem(props)\n\n return <styled.div as={Panel} {...getItemProps()} />\n}, \"item\")()\n\nexport interface ResizableTriggerProps\n extends HTMLStyledPropsWithoutAs, UseResizableTriggerProps {\n /**\n * The resizable trigger icon to use.\n */\n icon?: ReactElement\n /**\n * Props for resizable trigger icon component.\n */\n iconProps?: HTMLStyledProps\n}\n\nexport const ResizableTrigger = withContext<\"div\", ResizableTriggerProps>(\n ({ children, icon, iconProps, ...rest }) => {\n const { getIconProps, getTriggerProps } = useResizableTrigger(rest)\n\n return (\n <styled.div as={Separator} {...getTriggerProps()}>\n {icon ? (\n <ResizableIcon {...getIconProps(iconProps)}>{icon}</ResizableIcon>\n ) : null}\n\n {children}\n </styled.div>\n )\n },\n \"trigger\",\n)()\n\ninterface ResizableIconProps extends HTMLStyledProps {}\n\nconst ResizableIcon = withContext<\"div\", ResizableIconProps>(\"div\", \"icon\")()\n"],"mappings":";;;;;;;;;;AAqCA,MAAM,EACJ,cAAc,uBACd,iBAAiB,0BACjB,aACA,iBACEA,yBAAAA,oBACF,aACAC,wBAAAA,cACF;AAIA,MAAa,gBAAgB,cAK1B,EAAE,UAAU,aAAa,iBAAiB,GAAG,WAAW;CACvD,MAAM,s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["createContext","useGroupRef","useCallback","mergeProps","mergeRefs","usePanelRef"],"sources":["../../../../src/components/resizable/use-resizable.ts"],"sourcesContent":["\"use client\"\n\nimport type { MouseEvent, RefObject } from \"react\"\nimport type {\n GroupImperativeHandle,\n GroupProps,\n LayoutStorage,\n PanelImperativeHandle,\n PanelProps,\n SeparatorProps,\n} from \"react-resizable-panels\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback } from \"react\"\nimport {\n useGroupRef,\n usePanelRef,\n useDefaultLayout as useResizableLayout,\n} from \"react-resizable-panels\"\nimport { mergeProps } from \"../../core\"\nimport {\n ariaAttr,\n createContext,\n dataAttr,\n fnAll,\n mergeRefs,\n} from \"../../utils\"\n\ninterface ResizableContext extends Omit<UseResizableReturn, \"getRootProps\"> {}\n\nconst [ResizableContext, useResizableContext] = createContext<ResizableContext>(\n {\n name: \"ResizableContext\",\n },\n)\n\nexport { ResizableContext, useResizableContext, useResizableLayout }\n\nexport interface ResizableStorage extends LayoutStorage {}\nexport interface ResizableRootControl extends GroupImperativeHandle {}\nexport interface ResizableItemControl extends PanelImperativeHandle {}\n\nexport interface UseResizableProps\n extends\n HTMLProps,\n Omit<GroupProps, \"color\" | \"content\" | \"elementRef\" | \"groupRef\"> {\n /**\n * Ref of the resizable item callback.\n */\n controlRef?: RefObject<null | ResizableRootControl>\n}\n\nexport const useResizable = ({\n controlRef,\n disabled,\n orientation = \"horizontal\",\n ...rest\n}: UseResizableProps = {}) => {\n const groupRef = useGroupRef()\n\n const getRootProps: PropGetter<GroupProps> = useCallback(\n (props = {}) => {\n const merged = mergeProps({ disabled, orientation }, rest, props)()\n\n return {\n ...merged,\n style: {\n height: undefined,\n width: undefined,\n ...rest.style,\n ...props.style,\n },\n elementRef: mergeRefs(props.elementRef, rest.ref),\n groupRef: mergeRefs(props.groupRef, groupRef, controlRef),\n onLayoutChange: fnAll(props.onLayoutChange, rest.onLayoutChange),\n onLayoutChanged: fnAll(props.onLayoutChanged, rest.onLayoutChanged),\n }\n },\n [disabled, orientation, groupRef, controlRef, rest],\n )\n\n return {\n disabled,\n groupRef,\n orientation,\n getRootProps,\n }\n}\n\nexport type UseResizableReturn = ReturnType<typeof useResizable>\n\nexport interface UseResizableItemProps\n extends\n HTMLProps,\n Omit<PanelProps, \"color\" | \"content\" | \"elementRef\" | \"panelRef\"> {\n /**\n * Ref of the resizable item callback.\n */\n controlRef?: RefObject<null | ResizableItemControl>\n}\n\nexport const useResizableItem = ({\n controlRef,\n ...rest\n}: UseResizableItemProps) => {\n const panelRef = usePanelRef()\n\n const getItemProps: PropGetter<PanelProps> = useCallback(\n (props = {}) => {\n const merged = mergeProps(rest, props)()\n\n return {\n ...merged,\n elementRef: mergeRefs(props.elementRef, rest.ref),\n panelRef: mergeRefs(props.panelRef, panelRef, controlRef),\n onResize: fnAll(props.onResize, rest.onResize),\n }\n },\n [panelRef, controlRef, rest],\n )\n\n return {\n panelRef,\n getItemProps,\n }\n}\n\nexport type UseResizableItemReturn = ReturnType<typeof useResizableItem>\n\nexport interface UseResizableTriggerProps\n extends HTMLProps, Omit<SeparatorProps, \"color\" | \"content\" | \"elementRef\"> {}\n\nexport const useResizableTrigger = ({\n disabled,\n ...rest\n}: UseResizableTriggerProps) => {\n const {\n disabled: groupDisabled,\n groupRef,\n orientation,\n } = useResizableContext()\n const trulyDisabled = disabled || groupDisabled\n\n const onDoubleClick = useCallback(\n (ev: MouseEvent<HTMLDivElement>) => {\n ev.preventDefault()\n\n const layout = groupRef.current?.getLayout()\n\n if (!layout) return\n\n const count = Object.keys(layout).length\n const size = 100 / count\n const nextLayout = Object.fromEntries(\n Object.keys(layout).map((key) => [key, size]),\n )\n\n groupRef.current?.setLayout(nextLayout)\n },\n [groupRef],\n )\n\n const getTriggerProps: PropGetter<SeparatorProps> = useCallback(\n (props = {}) => {\n const merged = mergeProps(\n {\n \"aria-disabled\": ariaAttr(trulyDisabled),\n \"aria-orientation\": orientation,\n \"data-disabled\": dataAttr(trulyDisabled),\n disabled: trulyDisabled,\n tabIndex: trulyDisabled ? -1 : 0,\n },\n props,\n rest,\n { onDoubleClick },\n )()\n\n return {\n ...merged,\n elementRef: mergeRefs(props.elementRef, rest.ref),\n }\n },\n [orientation, trulyDisabled, rest, onDoubleClick],\n )\n\n const getIconProps: PropGetter = useCallback(\n (props = {}) => ({\n \"data-icon\": \"\",\n ...props,\n }),\n [],\n )\n\n return {\n getIconProps,\n getTriggerProps,\n }\n}\n\nexport type UseResizableTriggerReturn = ReturnType<typeof useResizableTrigger>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-resizable.cjs","names":["createContext","useGroupRef","useCallback","mergeProps","mergeRefs","usePanelRef"],"sources":["../../../../src/components/resizable/use-resizable.ts"],"sourcesContent":["\"use client\"\n\nimport type { MouseEvent, RefObject } from \"react\"\nimport type {\n GroupImperativeHandle,\n GroupProps,\n LayoutStorage,\n PanelImperativeHandle,\n PanelProps,\n SeparatorProps,\n} from \"react-resizable-panels\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback } from \"react\"\nimport {\n useGroupRef,\n usePanelRef,\n useDefaultLayout as useResizableLayout,\n} from \"react-resizable-panels\"\nimport { mergeProps } from \"../../core\"\nimport {\n ariaAttr,\n createContext,\n dataAttr,\n fnAll,\n mergeRefs,\n} from \"../../utils\"\n\ninterface ResizableContext extends Omit<UseResizableReturn, \"getRootProps\"> {}\n\nconst [ResizableContext, useResizableContext] = createContext<ResizableContext>(\n {\n name: \"ResizableContext\",\n },\n)\n\nexport { ResizableContext, useResizableContext, useResizableLayout }\n\nexport interface ResizableStorage extends LayoutStorage {}\nexport interface ResizableRootControl extends GroupImperativeHandle {}\nexport interface ResizableItemControl extends PanelImperativeHandle {}\n\nexport interface UseResizableProps\n extends\n HTMLProps,\n Omit<GroupProps, \"color\" | \"content\" | \"elementRef\" | \"groupRef\"> {\n /**\n * Ref of the resizable item callback.\n */\n controlRef?: RefObject<null | ResizableRootControl>\n}\n\nexport const useResizable = ({\n controlRef,\n disabled,\n orientation = \"horizontal\",\n ...rest\n}: UseResizableProps = {}) => {\n const groupRef = useGroupRef()\n\n const getRootProps: PropGetter<GroupProps> = useCallback(\n (props = {}) => {\n const merged = mergeProps({ disabled, orientation }, rest, props)()\n\n return {\n ...merged,\n style: {\n height: undefined,\n width: undefined,\n ...rest.style,\n ...props.style,\n },\n elementRef: mergeRefs(props.elementRef, rest.ref),\n groupRef: mergeRefs(props.groupRef, groupRef, controlRef),\n onLayoutChange: fnAll(props.onLayoutChange, rest.onLayoutChange),\n onLayoutChanged: fnAll(props.onLayoutChanged, rest.onLayoutChanged),\n }\n },\n [disabled, orientation, groupRef, controlRef, rest],\n )\n\n return {\n disabled,\n groupRef,\n orientation,\n getRootProps,\n }\n}\n\nexport type UseResizableReturn = ReturnType<typeof useResizable>\n\nexport interface UseResizableItemProps\n extends\n HTMLProps,\n Omit<PanelProps, \"color\" | \"content\" | \"elementRef\" | \"panelRef\"> {\n /**\n * Ref of the resizable item callback.\n */\n controlRef?: RefObject<null | ResizableItemControl>\n}\n\nexport const useResizableItem = ({\n controlRef,\n ...rest\n}: UseResizableItemProps) => {\n const panelRef = usePanelRef()\n\n const getItemProps: PropGetter<PanelProps> = useCallback(\n (props = {}) => {\n const merged = mergeProps(rest, props)()\n\n return {\n ...merged,\n elementRef: mergeRefs(props.elementRef, rest.ref),\n panelRef: mergeRefs(props.panelRef, panelRef, controlRef),\n onResize: fnAll(props.onResize, rest.onResize),\n }\n },\n [panelRef, controlRef, rest],\n )\n\n return {\n panelRef,\n getItemProps,\n }\n}\n\nexport type UseResizableItemReturn = ReturnType<typeof useResizableItem>\n\nexport interface UseResizableTriggerProps\n extends HTMLProps, Omit<SeparatorProps, \"color\" | \"content\" | \"elementRef\"> {}\n\nexport const useResizableTrigger = ({\n disabled,\n ...rest\n}: UseResizableTriggerProps) => {\n const {\n disabled: groupDisabled,\n groupRef,\n orientation,\n } = useResizableContext()\n const trulyDisabled = disabled || groupDisabled\n\n const onDoubleClick = useCallback(\n (ev: MouseEvent<HTMLDivElement>) => {\n ev.preventDefault()\n\n const layout = groupRef.current?.getLayout()\n\n if (!layout) return\n\n const count = Object.keys(layout).length\n const size = 100 / count\n const nextLayout = Object.fromEntries(\n Object.keys(layout).map((key) => [key, size]),\n )\n\n groupRef.current?.setLayout(nextLayout)\n },\n [groupRef],\n )\n\n const getTriggerProps: PropGetter<SeparatorProps> = useCallback(\n (props = {}) => {\n const merged = mergeProps(\n {\n \"aria-disabled\": ariaAttr(trulyDisabled),\n \"aria-orientation\": orientation,\n \"data-disabled\": dataAttr(trulyDisabled),\n disabled: trulyDisabled,\n tabIndex: trulyDisabled ? -1 : 0,\n },\n props,\n rest,\n { onDoubleClick },\n )()\n\n return {\n ...merged,\n elementRef: mergeRefs(props.elementRef, rest.ref),\n }\n },\n [orientation, trulyDisabled, rest, onDoubleClick],\n )\n\n const getIconProps: PropGetter = useCallback(\n (props = {}) => ({\n \"data-icon\": \"\",\n ...props,\n }),\n [],\n )\n\n return {\n getIconProps,\n getTriggerProps,\n }\n}\n\nexport type UseResizableTriggerReturn = ReturnType<typeof useResizableTrigger>\n"],"mappings":";;;;;;;;AA6BA,MAAM,CAAC,kBAAkB,uBAAuBA,gBAAAA,cAC9C,EACE,MAAM,mBACR,CACF;AAkBA,MAAa,gBAAgB,EAC3B,YACA,UACA,cAAc,cACd,GAAG,SACkB,CAAC,MAAM;CAC5B,MAAM,YAAA,GAAWC,uBAAAA,YAAAA,CAAY;CAuB7B,OAAO;EACL;EACA;EACA;EACA,eAAA,GAzB2CC,MAAAA,YAAAA,EAC1C,QAAQ,CAAC,MAAM;GAGd,OAAO;IACL,GAHaC,cAAAA,WAAW;KAAE;KAAU;IAAY,GAAG,MAAM,KAAK,CAAC,CAGvD;IACR,OAAO;KACL,QAAQ,KAAA;KACR,OAAO,KAAA;KACP,GAAG,KAAK;KACR,GAAG,MAAM;IACX;IACA,YAAYC,YAAAA,UAAU,MAAM,YAAY,KAAK,GAAG;IAChD,UAAU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ACjD,QAAQ,CAAC,MAAM;EAcd,OAAO;GACL,GAdaC,cAAAA,WACb;IACE,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,aAAa;IACvC,oBAAoB;IACpB,kBAAA,GAAA,oBAAA,cAAiB,SAAA,CAAS,aAAa;IACvC,UAAU;IACV,UAAU,gBAAgB,KAAK;GACjC,GACA,OACA,MACA,EAAE,cAAc,CAClB,CAAC,CAGS;GACR,YAAYC,YAAAA,UAAU,MAAM,YAAY,KAAK,GAAG;EAClD;CACF,GACA;EAAC;EAAa;EAAe;EAAM;CAAa,CAClD;CAUA,OAAO;EACL,eAAA,GAT+BF,MAAAA,YAAAA,EAC9B,QAAQ,CAAC,OAAO;GACf,aAAa;GACb,GAAG;EACL,IACA,CAAC,CAIU;EACX;CACF;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-ripple.cjs","names":["useState","useCallback"],"sources":["../../../../src/components/ripple/use-ripple.ts"],"sourcesContent":["\"use client\"\n\nimport type { Key, MouseEventHandler } from \"react\"\nimport { useCallback, useState } from \"react\"\nimport { handlerAll, uuid } from \"../../utils\"\n\nexport interface RippleOptions {\n key: Key\n size: number\n x: number\n y: number\n}\n\nexport interface UseRippleProps<Y = HTMLElement> {\n disabled?: boolean\n onClick?: MouseEventHandler<Y>\n}\n\nexport const useRipple = <Y = HTMLElement>({\n disabled,\n ...rest\n}: UseRippleProps<Y> = {}) => {\n const [ripples, setRipples] = useState<RippleOptions[]>([])\n\n const onClick: MouseEventHandler<Y> = useCallback(\n (ev) => {\n if (disabled) return\n\n const trigger = ev.currentTarget as unknown as Element\n\n const size = Math.max(trigger.clientWidth, trigger.clientHeight)\n const rect = trigger.getBoundingClientRect()\n\n setRipples((prev) => [\n ...prev,\n {\n key: uuid(),\n size,\n x: ev.clientX - rect.x - size / 2,\n y: ev.clientY - rect.y - size / 2,\n },\n ])\n },\n [disabled],\n )\n\n const onClear = useCallback((key: Key) => {\n setRipples((prev) => prev.filter((item) => item.key !== key))\n }, [])\n\n return {\n ripples,\n onClear,\n onClick: handlerAll(onClick, rest.onClick),\n }\n}\n\nexport type UseRippleReturn = ReturnType<typeof useRipple>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-ripple.cjs","names":["useState","useCallback"],"sources":["../../../../src/components/ripple/use-ripple.ts"],"sourcesContent":["\"use client\"\n\nimport type { Key, MouseEventHandler } from \"react\"\nimport { useCallback, useState } from \"react\"\nimport { handlerAll, uuid } from \"../../utils\"\n\nexport interface RippleOptions {\n key: Key\n size: number\n x: number\n y: number\n}\n\nexport interface UseRippleProps<Y = HTMLElement> {\n disabled?: boolean\n onClick?: MouseEventHandler<Y>\n}\n\nexport const useRipple = <Y = HTMLElement>({\n disabled,\n ...rest\n}: UseRippleProps<Y> = {}) => {\n const [ripples, setRipples] = useState<RippleOptions[]>([])\n\n const onClick: MouseEventHandler<Y> = useCallback(\n (ev) => {\n if (disabled) return\n\n const trigger = ev.currentTarget as unknown as Element\n\n const size = Math.max(trigger.clientWidth, trigger.clientHeight)\n const rect = trigger.getBoundingClientRect()\n\n setRipples((prev) => [\n ...prev,\n {\n key: uuid(),\n size,\n x: ev.clientX - rect.x - size / 2,\n y: ev.clientY - rect.y - size / 2,\n },\n ])\n },\n [disabled],\n )\n\n const onClear = useCallback((key: Key) => {\n setRipples((prev) => prev.filter((item) => item.key !== key))\n }, [])\n\n return {\n ripples,\n onClear,\n onClick: handlerAll(onClick, rest.onClick),\n }\n}\n\nexport type UseRippleReturn = ReturnType<typeof useRipple>\n"],"mappings":";;;;AAkBA,MAAa,aAA8B,EACzC,UACA,GAAG,SACkB,CAAC,MAAM;CAC5B,MAAM,CAAC,SAAS,eAAA,GAAcA,MAAAA,SAAAA,CAA0B,CAAC,CAAC;CAE1D,MAAM,WAAA,GAAgCC,MAAAA,YAAAA,EACnC,OAAO;EACN,IAAI,UAAU;EAEd,MAAM,UAAU,GAAG;EAEnB,MAAM,OAAO,KAAK,IAAI,QAAQ,aAAa,QAAQ,YAAY;EAC/D,MAAM,OAAO,QAAQ,sBAAsB;EAE3C,YAAY,SAAS,CACnB,GAAG,MACH;GACE,MAAA,GAAA,oBAAA,cAAK,KAAA,CAAK;GACV;GACA,GAAG,GAAG,UAAU,KAAK,IAAI,OAAO;GAChC,GAAG,GAAG,UAAU,KAAK,IAAI,OAAO;EAClC,CACF,CAAC;CACH,GACA,CAAC,QAAQ,CACX;CAMA,OAAO;EACL;EACA,UAAA,GANcA,MAAAA,YAAAA,EAAa,QAAa;GACxC,YAAY,SAAS,KAAK,QAAQ,SAAS,KAAK,QAAQ,GAAG,CAAC;EAC9D,GAAG,CAAC,CAII;EACN,UAAA,GAAA,oBAAA,cAAS,WAAA,CAAW,SAAS,KAAK,OAAO;CAC3C;AACF"}
|
|
@@ -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_use_inject_vars = require("../../core/css/use-inject-vars.cjs");
|
|
5
4
|
const require_create_component = require("../../core/components/create-component.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rotate.cjs","names":["createComponent","rotateStyle","useAnimation","useControllableState","useCallback","motion","useInjectVarsIntoCss","useInjectVarsIntoProps"],"sources":["../../../../src/components/rotate/rotate.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode } from \"react\"\nimport type { KeyframeIdent, ThemeProps } from \"../../core\"\nimport type { HTMLMotionProps } from \"../motion\"\nimport type { RotateStyle } from \"./rotate.style\"\nimport { useAnimation } from \"motion/react\"\nimport { useCallback } from \"react\"\nimport {\n createComponent,\n useInjectVarsIntoCss,\n useInjectVarsIntoProps,\n} from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { dataAttr, handlerAll } from \"../../utils\"\nimport { motion } from \"../motion\"\nimport { rotateStyle } from \"./rotate.style\"\n\nexport interface RotateProps\n extends\n Omit<HTMLMotionProps<\"button\">, \"onChange\" | \"rotate\">,\n ThemeProps<RotateStyle> {\n /**\n * Passing React elements to \"from\" is required.\n */\n from: ReactNode\n /**\n * Passing React elements to \"to\" is required.\n */\n to: ReactNode\n /**\n * You can set the initial state.\n *\n * @default 'from'\n */\n defaultValue?: KeyframeIdent\n /**\n * The animation delay.\n *\n * @default 0\n */\n delay?: number\n /**\n * If `true`, the component is disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * The animation duration.\n *\n * @default 0.4\n */\n duration?: number\n /**\n * If `true`, the component is readonly.\n *\n * @default false\n */\n readOnly?: boolean\n /**\n * The animation rotation.\n *\n * @default 45\n */\n rotate?: number\n /**\n * Use this when you want to control the animation from outside the component.\n */\n value?: KeyframeIdent\n /**\n * This is a callback function that is called when the animation state changes.\n */\n onChange?: (value: KeyframeIdent) => void\n}\n\nconst {\n PropsContext: RotatePropsContext,\n usePropsContext: useRotatePropsContext,\n withContext,\n} = createComponent<RotateProps, RotateStyle>(\"rotate\", rotateStyle)\n\nexport { RotatePropsContext, useRotatePropsContext }\n\n/**\n * `Rotate` is an animation component that alternately rotates two elements as they switch.\n *\n * @see https://yamada-ui.com/docs/components/rotate\n */\nexport const Rotate = withContext<\"button\", RotateProps>(\n ({\n defaultValue = \"from\",\n delay = 0,\n disabled,\n duration = 0.4,\n from,\n readOnly,\n rotate = 45,\n to,\n value: valueProp,\n onChange,\n onClick: onClickProp,\n ...rest\n }) => {\n const opacity = \"var(--opacity)\"\n const animate = useAnimation()\n const [value, setValue] = useControllableState<KeyframeIdent>({\n defaultValue,\n value: valueProp,\n onChange,\n })\n\n const onClick = useCallback(async () => {\n if (readOnly) return\n\n await animate.start({\n opacity: 0,\n rotate: `${rotate}deg`,\n transition: { delay, duration },\n })\n\n setValue((prev) => (prev === \"from\" ? \"to\" : \"from\"))\n\n await animate.start({\n opacity: \"var(--opacity)\",\n rotate: \"0deg\",\n transition: { duration },\n })\n }, [readOnly, animate, rotate, duration, delay, setValue])\n\n return (\n <motion.button\n type=\"button\"\n data-disabled={dataAttr(disabled)}\n data-readonly={dataAttr(readOnly)}\n data-value={value}\n animate={animate}\n custom={{ rotate }}\n disabled={disabled}\n initial={{ opacity, rotate: \"0deg\" }}\n onClick={handlerAll(onClickProp, onClick)}\n {...rest}\n >\n {value === \"from\" ? from : to}\n </motion.button>\n )\n },\n)(undefined, (props) => {\n const css = useInjectVarsIntoCss(props.css, { opacity: \"opacity\" })\n const rest = useInjectVarsIntoProps(props, { opacity: \"opacity\" })\n\n return { ...rest, css, opacity: \"{opacity}\" }\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"rotate.cjs","names":["createComponent","rotateStyle","useAnimation","useControllableState","useCallback","motion","useInjectVarsIntoCss","useInjectVarsIntoProps"],"sources":["../../../../src/components/rotate/rotate.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode } from \"react\"\nimport type { KeyframeIdent, ThemeProps } from \"../../core\"\nimport type { HTMLMotionProps } from \"../motion\"\nimport type { RotateStyle } from \"./rotate.style\"\nimport { useAnimation } from \"motion/react\"\nimport { useCallback } from \"react\"\nimport {\n createComponent,\n useInjectVarsIntoCss,\n useInjectVarsIntoProps,\n} from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { dataAttr, handlerAll } from \"../../utils\"\nimport { motion } from \"../motion\"\nimport { rotateStyle } from \"./rotate.style\"\n\nexport interface RotateProps\n extends\n Omit<HTMLMotionProps<\"button\">, \"onChange\" | \"rotate\">,\n ThemeProps<RotateStyle> {\n /**\n * Passing React elements to \"from\" is required.\n */\n from: ReactNode\n /**\n * Passing React elements to \"to\" is required.\n */\n to: ReactNode\n /**\n * You can set the initial state.\n *\n * @default 'from'\n */\n defaultValue?: KeyframeIdent\n /**\n * The animation delay.\n *\n * @default 0\n */\n delay?: number\n /**\n * If `true`, the component is disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * The animation duration.\n *\n * @default 0.4\n */\n duration?: number\n /**\n * If `true`, the component is readonly.\n *\n * @default false\n */\n readOnly?: boolean\n /**\n * The animation rotation.\n *\n * @default 45\n */\n rotate?: number\n /**\n * Use this when you want to control the animation from outside the component.\n */\n value?: KeyframeIdent\n /**\n * This is a callback function that is called when the animation state changes.\n */\n onChange?: (value: KeyframeIdent) => void\n}\n\nconst {\n PropsContext: RotatePropsContext,\n usePropsContext: useRotatePropsContext,\n withContext,\n} = createComponent<RotateProps, RotateStyle>(\"rotate\", rotateStyle)\n\nexport { RotatePropsContext, useRotatePropsContext }\n\n/**\n * `Rotate` is an animation component that alternately rotates two elements as they switch.\n *\n * @see https://yamada-ui.com/docs/components/rotate\n */\nexport const Rotate = withContext<\"button\", RotateProps>(\n ({\n defaultValue = \"from\",\n delay = 0,\n disabled,\n duration = 0.4,\n from,\n readOnly,\n rotate = 45,\n to,\n value: valueProp,\n onChange,\n onClick: onClickProp,\n ...rest\n }) => {\n const opacity = \"var(--opacity)\"\n const animate = useAnimation()\n const [value, setValue] = useControllableState<KeyframeIdent>({\n defaultValue,\n value: valueProp,\n onChange,\n })\n\n const onClick = useCallback(async () => {\n if (readOnly) return\n\n await animate.start({\n opacity: 0,\n rotate: `${rotate}deg`,\n transition: { delay, duration },\n })\n\n setValue((prev) => (prev === \"from\" ? \"to\" : \"from\"))\n\n await animate.start({\n opacity: \"var(--opacity)\",\n rotate: \"0deg\",\n transition: { duration },\n })\n }, [readOnly, animate, rotate, duration, delay, setValue])\n\n return (\n <motion.button\n type=\"button\"\n data-disabled={dataAttr(disabled)}\n data-readonly={dataAttr(readOnly)}\n data-value={value}\n animate={animate}\n custom={{ rotate }}\n disabled={disabled}\n initial={{ opacity, rotate: \"0deg\" }}\n onClick={handlerAll(onClickProp, onClick)}\n {...rest}\n >\n {value === \"from\" ? from : to}\n </motion.button>\n )\n },\n)(undefined, (props) => {\n const css = useInjectVarsIntoCss(props.css, { opacity: \"opacity\" })\n const rest = useInjectVarsIntoProps(props, { opacity: \"opacity\" })\n\n return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qB,MAAM,KAAK,EAAE,SAAS,UAAU,CAAC;CAGlE,OAAO;EAAE,GAFIC,wBAAAA,uBAAuB,OAAO,EAAE,SAAS,UAAU,CAEjD;EAAG;EAAK,SAAS;CAAY;AAC9C,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_factory = require("../../core/system/factory.cjs");
|
|
4
3
|
const require_create_component = require("../../core/components/create-component.cjs");
|
|
5
4
|
const require_saturation_slider_style = require("./saturation-slider.style.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saturation-slider.cjs","names":["createSlotComponent","saturationSliderStyle","useSaturationSlider","useMemo","styled"],"sources":["../../../../src/components/saturation-slider/saturation-slider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { Merge } from \"../../utils\"\nimport type { SaturationSliderStyle } from \"./saturation-slider.style\"\nimport type {\n UseSaturationSliderProps,\n UseSaturationSliderReturn,\n} from \"./use-saturation-slider\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { saturationSliderStyle } from \"./saturation-slider.style\"\nimport { useSaturationSlider } from \"./use-saturation-slider\"\n\ninterface ComponentContext extends Pick<\n UseSaturationSliderReturn,\n \"getThumbProps\" | \"getTrackProps\"\n> {}\n\nexport interface SaturationSliderRootProps\n extends\n Merge<HTMLStyledProps, UseSaturationSliderProps>,\n ThemeProps<SaturationSliderStyle> {\n /**\n * Props for the input element.\n */\n inputProps?: HTMLStyledProps<\"input\">\n /**\n * Props for the thumb element.\n */\n thumbProps?: SaturationSliderThumbProps\n /**\n * Props for the track element.\n */\n trackProps?: SaturationSliderTrackProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SaturationSliderPropsContext,\n useComponentContext,\n usePropsContext: useSaturationSliderPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<\n SaturationSliderRootProps,\n SaturationSliderStyle,\n ComponentContext\n>(\"saturation-slider\", saturationSliderStyle)\n\nexport { SaturationSliderPropsContext, useSaturationSliderPropsContext }\n\n/**\n * `SaturationSlider` is a component used to allow the user to select a color saturation.\n *\n * @see https://yamada-ui.com/docs/components/saturation-slider\n */\nexport const SaturationSliderRoot = withProvider<\n \"input\",\n SaturationSliderRootProps\n>(({ children, inputProps, thumbProps, trackProps, ...rest }) => {\n const { getInputProps, getRootProps, getThumbProps, getTrackProps } =\n useSaturationSlider(rest)\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <SaturationSliderTrack {...trackProps}>\n <SaturationSliderThumb {...thumbProps} />\n </SaturationSliderTrack>\n )\n }, [children, thumbProps, trackProps])\n const context = useMemo(\n () => ({ getThumbProps, getTrackProps }),\n [getThumbProps, getTrackProps],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.div {...getRootProps()}>\n <styled.input {...getInputProps(inputProps)} />\n {computedChildren}\n </styled.div>\n </ComponentContext>\n )\n}, \"root\")()\n\nexport interface SaturationSliderTrackProps extends HTMLStyledProps {}\n\nexport const SaturationSliderTrack = withContext<\n \"div\",\n SaturationSliderTrackProps\n>(\"div\", \"track\")(undefined, (props) => {\n const { getTrackProps } = useComponentContext()\n\n return getTrackProps(props)\n})\n\nexport interface SaturationSliderThumbProps extends HTMLStyledProps {}\n\nexport const SaturationSliderThumb = withContext<\n \"div\",\n SaturationSliderThumbProps\n>(\"div\", \"thumb\")(undefined, (props) => {\n const { getThumbProps } = useComponentContext()\n\n return getThumbProps(props)\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"saturation-slider.cjs","names":["createSlotComponent","saturationSliderStyle","useSaturationSlider","useMemo","styled"],"sources":["../../../../src/components/saturation-slider/saturation-slider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { HTMLStyledProps, ThemeProps } from \"../../core\"\nimport type { Merge } from \"../../utils\"\nimport type { SaturationSliderStyle } from \"./saturation-slider.style\"\nimport type {\n UseSaturationSliderProps,\n UseSaturationSliderReturn,\n} from \"./use-saturation-slider\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled } from \"../../core\"\nimport { saturationSliderStyle } from \"./saturation-slider.style\"\nimport { useSaturationSlider } from \"./use-saturation-slider\"\n\ninterface ComponentContext extends Pick<\n UseSaturationSliderReturn,\n \"getThumbProps\" | \"getTrackProps\"\n> {}\n\nexport interface SaturationSliderRootProps\n extends\n Merge<HTMLStyledProps, UseSaturationSliderProps>,\n ThemeProps<SaturationSliderStyle> {\n /**\n * Props for the input element.\n */\n inputProps?: HTMLStyledProps<\"input\">\n /**\n * Props for the thumb element.\n */\n thumbProps?: SaturationSliderThumbProps\n /**\n * Props for the track element.\n */\n trackProps?: SaturationSliderTrackProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SaturationSliderPropsContext,\n useComponentContext,\n usePropsContext: useSaturationSliderPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<\n SaturationSliderRootProps,\n SaturationSliderStyle,\n ComponentContext\n>(\"saturation-slider\", saturationSliderStyle)\n\nexport { SaturationSliderPropsContext, useSaturationSliderPropsContext }\n\n/**\n * `SaturationSlider` is a component used to allow the user to select a color saturation.\n *\n * @see https://yamada-ui.com/docs/components/saturation-slider\n */\nexport const SaturationSliderRoot = withProvider<\n \"input\",\n SaturationSliderRootProps\n>(({ children, inputProps, thumbProps, trackProps, ...rest }) => {\n const { getInputProps, getRootProps, getThumbProps, getTrackProps } =\n useSaturationSlider(rest)\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <SaturationSliderTrack {...trackProps}>\n <SaturationSliderThumb {...thumbProps} />\n </SaturationSliderTrack>\n )\n }, [children, thumbProps, trackProps])\n const context = useMemo(\n () => ({ getThumbProps, getTrackProps }),\n [getThumbProps, getTrackProps],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.div {...getRootProps()}>\n <styled.input {...getInputProps(inputProps)} />\n {computedChildren}\n </styled.div>\n </ComponentContext>\n )\n}, \"root\")()\n\nexport interface SaturationSliderTrackProps extends HTMLStyledProps {}\n\nexport const SaturationSliderTrack = withContext<\n \"div\",\n SaturationSliderTrackProps\n>(\"div\", \"track\")(undefined, (props) => {\n const { getTrackProps } = useComponentContext()\n\n return getTrackProps(props)\n})\n\nexport interface SaturationSliderThumbProps extends HTMLStyledProps {}\n\nexport const SaturationSliderThumb = withContext<\n \"div\",\n SaturationSliderThumbProps\n>(\"div\", \"thumb\")(undefined, (props) => {\n const { getThumbProps } = useComponentContext()\n\n return getThumbProps(props)\n})\n"],"mappings":";;;;;;;;AAqCA,MAAM,EACJ,kBACA,cAAc,8BACd,qBACA,iBAAiB,iCACjB,aACA,iBACEA,yBAAAA,oBAIF,qBAAqBC,gCAAAA,qBAAqB;;;;;;AAS5C,MAAa,uBAAuB,cAGjC,EAAE,UAAU,YAAY,YAAY,YAAY,GAAG,WAAW;CAC/D,MAAM,EAAE,eAAe,cAAc,eAAe,kBAClDC,8BAAAA,oBAAoB,IAAI;CAC1B,MAAM,oBAAA,GAAmBC,MAAAA,QAAAA,OAAc;EACrC,IAAI,UAAU,OAAO;EAErB,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,uBAAD;GAAuB,GAAI;GACzB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,uBAAD,EAAuB,GAAI,WAAa,CAAA;EACnB,CAAA;CAE3B,GAAG;EAAC;EAAU;EAAY;CAAU,CAAC;CACrC,MAAM,WAAA,GAAUA,MAAAA,QAAAA,QACP;EAAE;EAAe;CAAc,IACtC,CAAC,eAAe,aAAa,CAC/B;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAD;EAAkB,OAAO;EACvB,UAAA,iBAAA,GAAA,kBAAA,KAAA,CAACC,gBAAAA,OAAO,KAAR;GAAY,GAAI,aAAa;GAA7B,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,gBAAAA,OAAO,OAAR,EAAc,GAAI,cAAc,UAAU,EAAI,CAAA,GAC7C,gBACS;;CACI,CAAA;AAEtB,GAAG,MAAM,CAAC,CAAC;AAIX,MAAa,wBAAwB,YAGnC,OAAO,OAAO,CAAC,CAAC,KAAA,IAAY,UAAU;CACtC,MAAM,EAAE,kBAAkB,oBAAoB;CAE9C,OAAO,cAAc,KAAK;AAC5B,CAAC;AAID,MAAa,wBAAwB,YAGnC,OAAO,OAAO,CAAC,CAAC,KAAA,IAAY,UAAU;CACtC,MAAM,EAAE,kBAAkB,oBAAoB;CAE9C,OAAO,cAAc,KAAK;AAC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-saturation-slider.cjs","names":["useFieldProps","useI18n","useControllableState","usePanEvent","useCallback","mergeProps","visuallyHiddenAttributes","mergeRefs"],"sources":["../../../../src/components/saturation-slider/use-saturation-slider.ts"],"sourcesContent":["\"use client\"\n\nimport type { KeyboardEvent } from \"react\"\nimport type { HTMLProps, HTMLRefAttributes, PropGetter } from \"../../core\"\nimport type { Point } from \"../../utils\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { usePanEvent } from \"../../hooks/use-pan-event\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n clampNumber,\n cx,\n handlerAll,\n mergeRefs,\n roundNumberToStep,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { runKeyAction } from \"../../utils/dom\"\nimport { useFieldProps } from \"../field\"\n\nfunction clampValue(value: [number, number, number]) {\n return [\n clampNumber(value[0], 0, 360),\n clampNumber(value[1], 0, 1),\n clampNumber(value[2], 0, 1),\n ] as [number, number, number]\n}\n\nexport interface UseSaturationSliderProps\n extends\n Omit<HTMLProps, \"defaultValue\" | \"onChange\" | \"ref\">,\n HTMLRefAttributes<\"input\">,\n FieldProps {\n /**\n * The initial value of the saturation slider.\n *\n * @default [0, 0, 1]\n */\n defaultValue?: [number, number, number]\n /**\n * The base `id` to use for the slider.\n */\n id?: string\n /**\n * The name attribute of the hidden `input` field.\n * This is particularly useful in forms.\n */\n name?: string\n /**\n * The step in which increments or decrements have to be made.\n *\n * @default 0.01\n */\n step?: number\n /**\n * The value of the saturation slider.\n */\n value?: [number, number, number]\n /**\n * This is used to format the value so that screen readers\n * can speak out a more human-friendly value.\n *\n * It is used to set the `aria-valuetext` property of the input.\n */\n getAriaValueText?: (value: [number, number, number]) => string | undefined\n /**\n * Function called whenever the saturation slider value changes.\n */\n onChange?: (value: [number, number, number]) => void\n /**\n * Function called when the user is done selecting a new value.\n */\n onChangeEnd?: (value: [number, number, number]) => void\n /**\n * Function called when the user starts selecting a new value.\n */\n onChangeStart?: (value: [number, number, number]) => void\n}\n\nexport const useSaturationSlider = (props: UseSaturationSliderProps = {}) => {\n const {\n props: {\n id,\n ref,\n name,\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-valuetext\": ariaValueText,\n defaultValue = [0, 0, 1],\n disabled,\n getAriaValueText,\n readOnly,\n required,\n step = 0.01,\n value: valueProp,\n onChange: onChangeProp,\n onChangeEnd,\n onChangeStart,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const { t } = useI18n(\"saturationSlider\")\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const [h, s, v] = clampValue(value)\n const interactive = !(disabled || readOnly)\n const [_, getPanEventProps] = usePanEvent<HTMLDivElement>({\n onEnd: (_, point, rect) => {\n if (!interactive) return\n\n const panValue = getPanValue(point, rect)\n\n onChangeEnd?.(panValue)\n },\n onMove: (_, point, rect) => {\n if (!interactive) return\n\n const panValue = getPanValue(point, rect)\n\n setValue(panValue)\n },\n onStart: (_, point, rect) => {\n if (!interactive) return\n\n const panValue = getPanValue(point, rect)\n\n onChangeStart?.(value)\n setValue(panValue)\n },\n })\n\n const onChange = useCallback(\n ([h, s, v]: [number, number, number]) => {\n if (!interactive) return\n\n s = clampNumber(s, 0, 1)\n v = clampNumber(v, 0, 1)\n\n setValue([h, s, v])\n },\n [interactive, setValue],\n )\n\n const getPanValue = useCallback(\n (\n { x, y }: Point,\n { bottom, height, left, width }: DOMRect,\n ): [number, number, number] => {\n const diff = { x: x - left, y: bottom - y }\n const percent = { x: diff.x / width, y: diff.y / height }\n const clamp = {\n x: clampNumber(percent.x, 0, 1),\n y: clampNumber(percent.y, 0, 1),\n }\n const s = roundNumberToStep(clamp.x, 0, step)\n const v = roundNumberToStep(clamp.y, 0, step)\n\n return [h, parseFloat(s), parseFloat(v)]\n },\n [h, step],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLDivElement>) => {\n runKeyAction(ev, {\n ArrowDown: () => onChange([h, s, v - step]),\n ArrowLeft: () => onChange([h, s - step, v]),\n ArrowRight: () => onChange([h, s + step, v]),\n ArrowUp: () => onChange([h, s, v + step]),\n })\n },\n [h, onChange, s, step, v],\n )\n\n const getRootProps: PropGetter = useCallback(\n (props = {}) => {\n const merged = mergeProps(dataProps, rest, props)()\n\n return {\n ...merged,\n style: {\n ...rest.style,\n ...props.style,\n \"--x\": `${Math.abs(s * 100)}%`,\n \"--y\": `${Math.abs(100 - v * 100)}%`,\n backgroundColor: `hsl(${h}, 100%, 50%)`,\n backgroundImage:\n \"linear-gradient(0deg, #000, transparent), linear-gradient(90deg, #fff, transparent)\",\n },\n onBlur: handlerAll(props.onBlur, eventProps.onBlur),\n onFocus: handlerAll(props.onFocus, eventProps.onFocus),\n }\n },\n [dataProps, eventProps, h, rest, s, v],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n ...visuallyHiddenAttributes,\n ...dataProps,\n ...ariaProps,\n id,\n type: \"hidden\",\n name,\n disabled,\n readOnly,\n required,\n value: [h, s, v].toString(),\n ...props,\n ref: mergeRefs(props.ref, ref),\n }),\n [\n ariaProps,\n dataProps,\n disabled,\n h,\n id,\n name,\n readOnly,\n ref,\n required,\n s,\n v,\n ],\n )\n\n const getTrackProps: PropGetter = useCallback(\n (props = {}) => getPanEventProps({ ...dataProps, ...props }),\n [dataProps, getPanEventProps],\n )\n\n const getThumbProps: PropGetter = useCallback(\n (props = {}) => ({\n ...dataProps,\n ...ariaProps,\n \"aria-label\": t(\"Saturation and brightness thumb\"),\n \"aria-roledescription\": \"2D slider\",\n \"aria-valuemax\": 100,\n \"aria-valuemin\": 0,\n \"aria-valuenow\": s * 100,\n \"aria-valuetext\":\n ariaValueText ??\n getAriaValueText?.(value) ??\n t(\"Saturation {saturation}%, Brightness {brightness}%\", {\n brightness: v * 100,\n saturation: s * 100,\n }),\n role: \"slider\",\n tabIndex: interactive ? 0 : -1,\n ...props,\n \"aria-labelledby\": cx(props[\"aria-labelledby\"], ariaLabelledBy),\n onKeyDown: handlerAll(props.onKeyDown, onKeyDown),\n }),\n [\n ariaLabelledBy,\n ariaProps,\n ariaValueText,\n dataProps,\n getAriaValueText,\n interactive,\n onKeyDown,\n s,\n t,\n v,\n value,\n ],\n )\n\n return {\n setValue,\n value,\n getInputProps,\n getRootProps,\n getThumbProps,\n getTrackProps,\n onChange,\n }\n}\n\nexport type UseSaturationSliderReturn = ReturnType<typeof useSaturationSlider>\n"],"mappings":";;;;;;;;;;;;AAsBA,SAAS,WAAW,OAAiC;CACnD,OAAO;GACL,GAAA,oBAAA,cAAA,YAAA,CAAY,MAAM,IAAI,GAAG,GAAG;GAC5B,GAAA,oBAAA,cAAA,YAAA,CAAY,MAAM,IAAI,GAAG,CAAC;GAC1B,GAAA,oBAAA,cAAA,YAAA,CAAY,MAAM,IAAI,GAAG,CAAC;CAC5B;AACF;AAqDA,MAAa,uBAAuB,QAAkC,CAAC,MAAM;CAC3E,MAAM,EACJ,OAAO,EACL,IACA,KACA,MACA,mBAAmB,gBACnB,kBAAkB,eAClB,eAAe;EAAC;EAAG;EAAG;CAAC,GACvB,UACA,kBACA,UACA,UACA,OAAO,KACP,OAAO,WACP,UAAU,cACV,aACA,eACA,GAAG,QAE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A;EAAC;EAAW;EAAY;EAAG;EAAM;EAAG;CAAC,CACvC;CAEA,MAAM,iBAAA,GAAqCD,MAAAA,YAAAA,EACxC,QAAQ,CAAC,OAAO;EACf,GAAGE,YAAAA;EACH,GAAG;EACH,GAAG;EACH;EACA,MAAM;EACN;EACA;EACA;EACA;EACA,OAAO;GAAC;GAAG;GAAG;EAAC,CAAC,CAAC,SAAS;EAC1B,GAAG;EACH,KAAKC,YAAAA,UAAU,MAAM,KAAK,GAAG;CAC/B,IACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CACF;CAEA,MAAM,iBAAA,GAA4BH,MAAAA,YAAAA,EAC/B,QAAQ,CAAC,MAAM,iBAAiB;EAAE,GAAG;EAAW,GAAG;CAAM,CAAC,GAC3D,CAAC,WAAW,gBAAgB,CAC9B;CAuCA,OAAO;EACL;EACA;EACA;EACA;EACA,gBAAA,GA1CgCA,MAAAA,YAAAA,EAC/B,QAAQ,CAAC,OAAO;GACf,GAAG;GACH,GAAG;GACH,cAAc,EAAE,iCAAiC;GACjD,wBAAwB;GACxB,iBAAiB;GACjB,iBAAiB;GACjB,iBAAiB,IAAI;GACrB,kBACE,iBACA,mBAAmB,KAAK,KACxB,EAAE,sDAAsD;IACtD,YAAY,IAAI;IAChB,YAAY,IAAI;GAClB,CAAC;GACH,MAAM;GACN,UAAU,cAAc,IAAI;GAC5B,GAAG;GACH,oBAAA,GAAA,oBAAA,cAAmB,GAAA,CAAG,MAAM,oBAAoB,cAAc;GAC9D,YAAA,GAAA,oBAAA,cAAW,WAAA,CAAW,MAAM,WAAW,SAAS;EAClD,IACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAQY;EACZ;EACA;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"use-saturation-slider.cjs","names":["useFieldProps","useI18n","useControllableState","usePanEvent","useCallback","mergeProps","visuallyHiddenAttributes","mergeRefs"],"sources":["../../../../src/components/saturation-slider/use-saturation-slider.ts"],"sourcesContent":["\"use client\"\n\nimport type { KeyboardEvent } from \"react\"\nimport type { HTMLProps, HTMLRefAttributes, PropGetter } from \"../../core\"\nimport type { Point } from \"../../utils\"\nimport type { FieldProps } from \"../field\"\nimport { useCallback } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { usePanEvent } from \"../../hooks/use-pan-event\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n clampNumber,\n cx,\n handlerAll,\n mergeRefs,\n roundNumberToStep,\n visuallyHiddenAttributes,\n} from \"../../utils\"\nimport { runKeyAction } from \"../../utils/dom\"\nimport { useFieldProps } from \"../field\"\n\nfunction clampValue(value: [number, number, number]) {\n return [\n clampNumber(value[0], 0, 360),\n clampNumber(value[1], 0, 1),\n clampNumber(value[2], 0, 1),\n ] as [number, number, number]\n}\n\nexport interface UseSaturationSliderProps\n extends\n Omit<HTMLProps, \"defaultValue\" | \"onChange\" | \"ref\">,\n HTMLRefAttributes<\"input\">,\n FieldProps {\n /**\n * The initial value of the saturation slider.\n *\n * @default [0, 0, 1]\n */\n defaultValue?: [number, number, number]\n /**\n * The base `id` to use for the slider.\n */\n id?: string\n /**\n * The name attribute of the hidden `input` field.\n * This is particularly useful in forms.\n */\n name?: string\n /**\n * The step in which increments or decrements have to be made.\n *\n * @default 0.01\n */\n step?: number\n /**\n * The value of the saturation slider.\n */\n value?: [number, number, number]\n /**\n * This is used to format the value so that screen readers\n * can speak out a more human-friendly value.\n *\n * It is used to set the `aria-valuetext` property of the input.\n */\n getAriaValueText?: (value: [number, number, number]) => string | undefined\n /**\n * Function called whenever the saturation slider value changes.\n */\n onChange?: (value: [number, number, number]) => void\n /**\n * Function called when the user is done selecting a new value.\n */\n onChangeEnd?: (value: [number, number, number]) => void\n /**\n * Function called when the user starts selecting a new value.\n */\n onChangeStart?: (value: [number, number, number]) => void\n}\n\nexport const useSaturationSlider = (props: UseSaturationSliderProps = {}) => {\n const {\n props: {\n id,\n ref,\n name,\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-valuetext\": ariaValueText,\n defaultValue = [0, 0, 1],\n disabled,\n getAriaValueText,\n readOnly,\n required,\n step = 0.01,\n value: valueProp,\n onChange: onChangeProp,\n onChangeEnd,\n onChangeStart,\n ...rest\n },\n ariaProps,\n dataProps,\n eventProps,\n } = useFieldProps(props)\n const { t } = useI18n(\"saturationSlider\")\n const [value, setValue] = useControllableState({\n defaultValue,\n value: valueProp,\n onChange: onChangeProp,\n })\n const [h, s, v] = clampValue(value)\n const interactive = !(disabled || readOnly)\n const [_, getPanEventProps] = usePanEvent<HTMLDivElement>({\n onEnd: (_, point, rect) => {\n if (!interactive) return\n\n const panValue = getPanValue(point, rect)\n\n onChangeEnd?.(panValue)\n },\n onMove: (_, point, rect) => {\n if (!interactive) return\n\n const panValue = getPanValue(point, rect)\n\n setValue(panValue)\n },\n onStart: (_, point, rect) => {\n if (!interactive) return\n\n const panValue = getPanValue(point, rect)\n\n onChangeStart?.(value)\n setValue(panValue)\n },\n })\n\n const onChange = useCallback(\n ([h, s, v]: [number, number, number]) => {\n if (!interactive) return\n\n s = clampNumber(s, 0, 1)\n v = clampNumber(v, 0, 1)\n\n setValue([h, s, v])\n },\n [interactive, setValue],\n )\n\n const getPanValue = useCallback(\n (\n { x, y }: Point,\n { bottom, height, left, width }: DOMRect,\n ): [number, number, number] => {\n const diff = { x: x - left, y: bottom - y }\n const percent = { x: diff.x / width, y: diff.y / height }\n const clamp = {\n x: clampNumber(percent.x, 0, 1),\n y: clampNumber(percent.y, 0, 1),\n }\n const s = roundNumberToStep(clamp.x, 0, step)\n const v = roundNumberToStep(clamp.y, 0, step)\n\n return [h, parseFloat(s), parseFloat(v)]\n },\n [h, step],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<HTMLDivElement>) => {\n runKeyAction(ev, {\n ArrowDown: () => onChange([h, s, v - step]),\n ArrowLeft: () => onChange([h, s - step, v]),\n ArrowRight: () => onChange([h, s + step, v]),\n ArrowUp: () => onChange([h, s, v + step]),\n })\n },\n [h, onChange, s, step, v],\n )\n\n const getRootProps: PropGetter = useCallback(\n (props = {}) => {\n const merged = mergeProps(dataProps, rest, props)()\n\n return {\n ...merged,\n style: {\n ...rest.style,\n ...props.style,\n \"--x\": `${Math.abs(s * 100)}%`,\n \"--y\": `${Math.abs(100 - v * 100)}%`,\n backgroundColor: `hsl(${h}, 100%, 50%)`,\n backgroundImage:\n \"linear-gradient(0deg, #000, transparent), linear-gradient(90deg, #fff, transparent)\",\n },\n onBlur: handlerAll(props.onBlur, eventProps.onBlur),\n onFocus: handlerAll(props.onFocus, eventProps.onFocus),\n }\n },\n [dataProps, eventProps, h, rest, s, v],\n )\n\n const getInputProps: PropGetter<\"input\"> = useCallback(\n (props = {}) => ({\n ...visuallyHiddenAttributes,\n ...dataProps,\n ...ariaProps,\n id,\n type: \"hidden\",\n name,\n disabled,\n readOnly,\n required,\n value: [h, s, v].toString(),\n ...props,\n ref: mergeRefs(props.ref, ref),\n }),\n [\n ariaProps,\n dataProps,\n disabled,\n h,\n id,\n name,\n readOnly,\n ref,\n required,\n s,\n v,\n ],\n )\n\n const getTrackProps: PropGetter = useCallback(\n (props = {}) => getPanEventProps({ ...dataProps, ...props }),\n [dataProps, getPanEventProps],\n )\n\n const getThumbProps: PropGetter = useCallback(\n (props = {}) => ({\n ...dataProps,\n ...ariaProps,\n \"aria-label\": t(\"Saturation and brightness thumb\"),\n \"aria-roledescription\": \"2D slider\",\n \"aria-valuemax\": 100,\n \"aria-valuemin\": 0,\n \"aria-valuenow\": s * 100,\n \"aria-valuetext\":\n ariaValueText ??\n getAriaValueText?.(value) ??\n t(\"Saturation {saturation}%, Brightness {brightness}%\", {\n brightness: v * 100,\n saturation: s * 100,\n }),\n role: \"slider\",\n tabIndex: interactive ? 0 : -1,\n ...props,\n \"aria-labelledby\": cx(props[\"aria-labelledby\"], ariaLabelledBy),\n onKeyDown: handlerAll(props.onKeyDown, onKeyDown),\n }),\n [\n ariaLabelledBy,\n ariaProps,\n ariaValueText,\n dataProps,\n getAriaValueText,\n interactive,\n onKeyDown,\n s,\n t,\n v,\n value,\n ],\n )\n\n return {\n setValue,\n value,\n getInputProps,\n getRootProps,\n getThumbProps,\n getTrackProps,\n onChange,\n }\n}\n\nexport type UseSaturationSliderReturn = ReturnType<typeof useSaturationSlider>\n"],"mappings":";;;;;;;;;;;AAsBA,SAAS,WAAW,OAAiC;CACnD,OAAO;GACL,GAAA,oBAAA,cAAA,YAAA,CAAY,MAAM,IAAI,GAAG,GAAG;GAC5B,GAAA,oBAAA,cAAA,YAAA,CAAY,MAAM,IAAI,GAAG,CAAC;GAC1B,GAAA,oBAAA,cAAA,YAAA,CAAY,MAAM,IAAI,GAAG,CAAC;CAC5B;AACF;AAqDA,MAAa,uBAAuB,QAAkC,CAAC,MAAM;CAC3E,MAAM,EACJ,OAAO,EACL,IACA,KACA,MACA,mBAAmB,gBACnB,kBAAkB,eAClB,eAAe;EAAC;EAAG;EAAG;CAAC,GACvB,UACA,kBACA,UACA,UACA,OAAO,KACP,OAAO,WACP,UAAU,cACV,aACA,eACA,GAAG,QAEL,WACA,WACA,eACEA,wBAAAA,cAAc,KAAK;CACvB,MAAM,EAAE,MAAMC,sBAAAA,QAAQ,kBAAkB;CACxC,MAAM,CAAC,OAAO,YAAYC,2CAAAA,qBAAqB;EAC7C;EACA,OAAO;EACP,UAAU;CACZ,CAAC;CACD,MAAM,CAAC,GAAG,GAAG,KAAK,WAAW,KAAK;CAClC,MAAM,cAAc,EAAE,YAAY;CAClC,MAAM,CAAC,GAAG,oBAAoBC,kCAAAA,YAA4B;EACxD,QAAQ,GAAG,OAAO,SAAS;GACzB,IAAI,CAAC,aAAa;GAElB,MAAM,WAAW,YAAY,OAAO,IAAI;GAExC,cAAc,QAAQ;EACxB;EACA,SAAS,GAAG,OAAO,SAAS;GAC1B,IAAI,CAAC,aAAa;GAElB,MAAM,WAAW,YAAY,O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AAC,WAAW,gBAAgB,CAC9B;CAuCA,OAAO;EACL;EACA;EACA;EACA;EACA,gBAAA,GA1CgCA,MAAAA,YAAAA,EAC/B,QAAQ,CAAC,OAAO;GACf,GAAG;GACH,GAAG;GACH,cAAc,EAAE,iCAAiC;GACjD,wBAAwB;GACxB,iBAAiB;GACjB,iBAAiB;GACjB,iBAAiB,IAAI;GACrB,kBACE,iBACA,mBAAmB,KAAK,KACxB,EAAE,sDAAsD;IACtD,YAAY,IAAI;IAChB,YAAY,IAAI;GAClB,CAAC;GACH,MAAM;GACN,UAAU,cAAc,IAAI;GAC5B,GAAG;GACH,oBAAA,GAAA,oBAAA,cAAmB,GAAA,CAAG,MAAM,oBAAoB,cAAc;GAC9D,YAAA,GAAA,oBAAA,cAAW,WAAA,CAAW,MAAM,WAAW,SAAS;EAClD,IACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAQY;EACZ;EACA;CACF;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll-area.cjs","names":["useState","useId","useRef","useCallback","mergeProps"],"sources":["../../../../src/components/scroll-area/use-scroll-area.ts"],"sourcesContent":["\"use client\"\n\nimport type { UIEvent } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback, useEffect, useId, useRef, useState } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { dataAttr, isMac, useSafeLayoutEffect, vendor } from \"../../utils\"\n\nexport interface UseScrollAreaProps extends HTMLProps {\n /**\n * Delay in milliseconds before scrollbars are hidden.\n *\n * @default 1000\n */\n scrollHideDelay?: number\n /**\n * Scrollbar visibility type.\n *\n * @default 'hover'\n */\n type?: \"always\" | \"hover\" | \"never\" | \"scroll\"\n /**\n * Callback function for when the scroll position changes.\n */\n onScrollPositionChange?: ({ x, y }: { x: number; y: number }) => void\n}\n\nexport const useScrollArea = ({\n id,\n type = \"hover\",\n scrollHideDelay = 1000,\n onScrollPositionChange,\n ...rest\n}: UseScrollAreaProps = {}) => {\n const [isHovered, setIsHovered] = useState<boolean>(false)\n const [isScrolling, setIsScrolling] = useState<boolean>(false)\n const isAlways = type === \"always\"\n const isNever = type === \"never\"\n const isHidden = !isAlways && !isHovered && !isScrolling\n const isSafari = isMac() && vendor(/apple/i)\n const uuid = useId()\n const key = `${id ?? uuid}-${isHovered}-${isScrolling}`\n\n const hoverTimeout = useRef<any>(undefined)\n const scrollTimeout = useRef<any>(undefined)\n const scrollAreaRef = useRef<HTMLDivElement>(null)\n const scrollPosition = useRef({ x: 0, y: 0 })\n\n useSafeLayoutEffect(() => {\n if (!scrollAreaRef.current || !isSafari) return\n\n scrollAreaRef.current.scrollLeft = scrollPosition.current.x\n scrollAreaRef.current.scrollTop = scrollPosition.current.y\n })\n\n const onMouseEnter = useCallback(() => {\n if (type !== \"hover\") return\n\n clearTimeout(hoverTimeout.current)\n\n setIsHovered(true)\n }, [type])\n\n const onMouseLeave = useCallback(() => {\n if (type !== \"hover\") return\n\n hoverTimeout.current = setTimeout(\n () => setIsHovered(false),\n scrollHideDelay,\n )\n }, [scrollHideDelay, type])\n\n const onScroll = useCallback(\n (ev: UIEvent<HTMLDivElement>) => {\n const el = ev.target as HTMLDivElement\n\n const { scrollLeft: x, scrollTop: y } = el\n const { x: prevX, y: prevY } = scrollPosition.current\n const isEqual = Math.abs(x - prevX) <= 5 && Math.abs(y - prevY) <= 5\n\n onScrollPositionChange?.({ x, y })\n scrollPosition.current = { x, y }\n\n if (type !== \"scroll\" || isEqual) return\n\n if (!isScrolling) setIsScrolling(true)\n\n clearTimeout(scrollTimeout.current)\n\n scrollTimeout.current = setTimeout(\n () => setIsScrolling(false),\n scrollHideDelay,\n )\n },\n [isScrolling, onScrollPositionChange, scrollHideDelay, type],\n )\n\n useEffect(() => {\n return () => {\n if (hoverTimeout.current) clearTimeout(hoverTimeout.current)\n if (scrollTimeout.current) clearTimeout(scrollTimeout.current)\n }\n }, [])\n\n const getRootProps: PropGetter = useCallback(\n (props = {}) =>\n mergeProps(\n {\n style: { overflow: \"auto\" },\n \"data-hidden\": dataAttr(isHidden),\n \"data-hover\": dataAttr(isHovered),\n \"data-never\": dataAttr(isNever),\n \"data-scroll\": dataAttr(isScrolling),\n tabIndex: 0,\n },\n isSafari ? { key, ref: scrollAreaRef, \"data-key\": key } : {},\n rest,\n props,\n {\n onMouseEnter,\n onMouseLeave,\n onPointerEnter: onMouseEnter,\n onPointerLeave: onMouseLeave,\n onScroll,\n },\n )(),\n [\n isNever,\n isHidden,\n isHovered,\n isScrolling,\n isSafari,\n key,\n rest,\n onMouseEnter,\n onMouseLeave,\n onScroll,\n ],\n )\n\n return {\n isAlways,\n isHidden,\n isHovered,\n isNever,\n isScrolling,\n getRootProps,\n }\n}\n\nexport type UseScrollAreaReturn = ReturnType<typeof useScrollArea>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-scroll-area.cjs","names":["useState","useId","useRef","useCallback","mergeProps"],"sources":["../../../../src/components/scroll-area/use-scroll-area.ts"],"sourcesContent":["\"use client\"\n\nimport type { UIEvent } from \"react\"\nimport type { HTMLProps, PropGetter } from \"../../core\"\nimport { useCallback, useEffect, useId, useRef, useState } from \"react\"\nimport { mergeProps } from \"../../core\"\nimport { dataAttr, isMac, useSafeLayoutEffect, vendor } from \"../../utils\"\n\nexport interface UseScrollAreaProps extends HTMLProps {\n /**\n * Delay in milliseconds before scrollbars are hidden.\n *\n * @default 1000\n */\n scrollHideDelay?: number\n /**\n * Scrollbar visibility type.\n *\n * @default 'hover'\n */\n type?: \"always\" | \"hover\" | \"never\" | \"scroll\"\n /**\n * Callback function for when the scroll position changes.\n */\n onScrollPositionChange?: ({ x, y }: { x: number; y: number }) => void\n}\n\nexport const useScrollArea = ({\n id,\n type = \"hover\",\n scrollHideDelay = 1000,\n onScrollPositionChange,\n ...rest\n}: UseScrollAreaProps = {}) => {\n const [isHovered, setIsHovered] = useState<boolean>(false)\n const [isScrolling, setIsScrolling] = useState<boolean>(false)\n const isAlways = type === \"always\"\n const isNever = type === \"never\"\n const isHidden = !isAlways && !isHovered && !isScrolling\n const isSafari = isMac() && vendor(/apple/i)\n const uuid = useId()\n const key = `${id ?? uuid}-${isHovered}-${isScrolling}`\n\n const hoverTimeout = useRef<any>(undefined)\n const scrollTimeout = useRef<any>(undefined)\n const scrollAreaRef = useRef<HTMLDivElement>(null)\n const scrollPosition = useRef({ x: 0, y: 0 })\n\n useSafeLayoutEffect(() => {\n if (!scrollAreaRef.current || !isSafari) return\n\n scrollAreaRef.current.scrollLeft = scrollPosition.current.x\n scrollAreaRef.current.scrollTop = scrollPosition.current.y\n })\n\n const onMouseEnter = useCallback(() => {\n if (type !== \"hover\") return\n\n clearTimeout(hoverTimeout.current)\n\n setIsHovered(true)\n }, [type])\n\n const onMouseLeave = useCallback(() => {\n if (type !== \"hover\") return\n\n hoverTimeout.current = setTimeout(\n () => setIsHovered(false),\n scrollHideDelay,\n )\n }, [scrollHideDelay, type])\n\n const onScroll = useCallback(\n (ev: UIEvent<HTMLDivElement>) => {\n const el = ev.target as HTMLDivElement\n\n const { scrollLeft: x, scrollTop: y } = el\n const { x: prevX, y: prevY } = scrollPosition.current\n const isEqual = Math.abs(x - prevX) <= 5 && Math.abs(y - prevY) <= 5\n\n onScrollPositionChange?.({ x, y })\n scrollPosition.current = { x, y }\n\n if (type !== \"scroll\" || isEqual) return\n\n if (!isScrolling) setIsScrolling(true)\n\n clearTimeout(scrollTimeout.current)\n\n scrollTimeout.current = setTimeout(\n () => setIsScrolling(false),\n scrollHideDelay,\n )\n },\n [isScrolling, onScrollPositionChange, scrollHideDelay, type],\n )\n\n useEffect(() => {\n return () => {\n if (hoverTimeout.current) clearTimeout(hoverTimeout.current)\n if (scrollTimeout.current) clearTimeout(scrollTimeout.current)\n }\n }, [])\n\n const getRootProps: PropGetter = useCallback(\n (props = {}) =>\n mergeProps(\n {\n style: { overflow: \"auto\" },\n \"data-hidden\": dataAttr(isHidden),\n \"data-hover\": dataAttr(isHovered),\n \"data-never\": dataAttr(isNever),\n \"data-scroll\": dataAttr(isScrolling),\n tabIndex: 0,\n },\n isSafari ? { key, ref: scrollAreaRef, \"data-key\": key } : {},\n rest,\n props,\n {\n onMouseEnter,\n onMouseLeave,\n onPointerEnter: onMouseEnter,\n onPointerLeave: onMouseLeave,\n onScroll,\n },\n )(),\n [\n isNever,\n isHidden,\n isHovered,\n isScrolling,\n isSafari,\n key,\n rest,\n onMouseEnter,\n onMouseLeave,\n onScroll,\n ],\n )\n\n return {\n isAlways,\n isHidden,\n isHovered,\n isNever,\n isScrolling,\n getRootProps,\n }\n}\n\nexport type UseScrollAreaReturn = ReturnType<typeof useScrollArea>\n"],"mappings":";;;;;;AA2BA,MAAa,iBAAiB,EAC5B,IACA,OAAO,SACP,kBAAkB,KAClB,wBACA,GAAG,SACmB,CAAC,MAAM;CAC7B,MAAM,CAAC,WAAW,iBAAA,GAAgBA,MAAAA,SAAAA,CAAkB,KAAK;CACzD,MAAM,CAAC,aAAa,mBAAA,GAAkBA,MAAAA,SAAAA,CAAkB,KAAK;CAC7D,MAAM,WAAW,SAAS;CAC1B,MAAM,UAAU,SAAS;CACzB,MAAM,WAAW,CAAC,YAAY,CAAC,aAAa,CAAC;CAC7C,MAAM,YAAA,GAAA,oBAAA,cAAW,MAAA,CAAM,MAAA,GAAA,oBAAA,cAAK,OAAA,CAAO,QAAQ;CAC3C,MAAM,QAAA,GAAOC,MAAAA,MAAAA,CAAM;CACnB,MAAM,MAAM,GAAG,MAAM,KAAK,GAAG,UAAU,GAAG;CAE1C,MAAM,gBAAA,GAAeC,MAAAA,OAAAA,CAAY,KAAA,CAAS;CAC1C,MAAM,iBAAA,GAAgBA,MAAAA,OAAAA,CAAY,KAAA,CAAS;CAC3C,MAAM,iBAAA,GAAgBA,MAAAA,OAAAA,CAAuB,IAAI;CACjD,MAAM,kBAAA,GAAiBA,MAAAA,OAAAA,CAAO;EAAE,GAAG;EAAG,GAAG;CAAE,CAAC;CAE5C,eAA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O,EAAE,UAAU,OAAO;GAC1B,gBAAA,GAAA,oBAAA,cAAe,SAAA,CAAS,QAAQ;GAChC,eAAA,GAAA,oBAAA,cAAc,SAAA,CAAS,SAAS;GAChC,eAAA,GAAA,oBAAA,cAAc,SAAA,CAAS,OAAO;GAC9B,gBAAA,GAAA,oBAAA,cAAe,SAAA,CAAS,WAAW;GACnC,UAAU;EACZ,GACA,WAAW;GAAE;GAAK,KAAK;GAAe,YAAY;EAAI,IAAI,CAAC,GAC3D,MACA,OACA;GACE;GACA;GACA,gBAAgB;GAChB,gBAAgB;GAChB;EACF,CACF,CAAC,CAAC,GACJ;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CASW;CACb;AACF"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
require("../../_virtual/_rolldown/runtime.cjs");
|
|
3
2
|
const require_factory = require("../../core/system/factory.cjs");
|
|
4
3
|
const require_create_component = require("../../core/components/create-component.cjs");
|
|
5
4
|
const require_factory$1 = require("../motion/factory.cjs");
|