@yamada-ui/react 2.1.1-dev-20260303170810 → 2.1.1-dev-20260303175135
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/chart/area-chart.cjs +3 -8
- package/dist/cjs/components/chart/area-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/area-chart.style.cjs +2 -4
- package/dist/cjs/components/chart/area-chart.style.cjs.map +1 -1
- package/dist/cjs/components/chart/bar-chart.cjs +3 -8
- package/dist/cjs/components/chart/bar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/bar-chart.style.cjs +2 -2
- package/dist/cjs/components/chart/bar-chart.style.cjs.map +1 -1
- package/dist/cjs/components/chart/cartesian-chart.cjs +14 -3
- package/dist/cjs/components/chart/cartesian-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/cartesian-chart.style.cjs +12 -5
- package/dist/cjs/components/chart/cartesian-chart.style.cjs.map +1 -1
- package/dist/cjs/components/chart/chart.cjs.map +1 -1
- package/dist/cjs/components/chart/composed-chart.cjs +67 -0
- package/dist/cjs/components/chart/composed-chart.cjs.map +1 -0
- package/dist/cjs/components/chart/composed-chart.namespace.cjs +32 -0
- package/dist/cjs/components/chart/composed-chart.namespace.cjs.map +1 -0
- package/dist/cjs/components/chart/composed-chart.style.cjs +14 -0
- package/dist/cjs/components/chart/composed-chart.style.cjs.map +1 -0
- package/dist/cjs/components/chart/donut-chart.cjs +3 -8
- package/dist/cjs/components/chart/donut-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/index.cjs +12 -13
- package/dist/cjs/components/chart/line-chart.cjs +3 -8
- package/dist/cjs/components/chart/line-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/pie-chart.cjs +3 -8
- package/dist/cjs/components/chart/pie-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/polar-chart.cjs +7 -2
- package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/radar-chart.cjs +3 -8
- package/dist/cjs/components/chart/radar-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/radial-chart.cjs +7 -14
- package/dist/cjs/components/chart/radial-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-cartesian-chart.cjs +32 -0
- package/dist/cjs/components/chart/use-cartesian-chart.cjs.map +1 -1
- package/dist/cjs/components/chart/use-polar-chart.cjs +54 -0
- package/dist/cjs/components/chart/use-polar-chart.cjs.map +1 -1
- package/dist/cjs/components/icon/icons/fishing-rod-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/fishing-rod-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/index.cjs +42 -0
- package/dist/cjs/components/icon/icons/index.cjs.map +1 -1
- package/dist/cjs/components/icon/icons/zodiac-aquarius-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-aquarius-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-aries-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-aries-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-cancer-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-cancer-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-capricorn-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-capricorn-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-gemini-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-gemini-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-leo-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-leo-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-libra-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-libra-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-ophiuchus-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-ophiuchus-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-pisces-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-pisces-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-sagittarius-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-sagittarius-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-scorpio-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-scorpio-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-taurus-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-taurus-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/icons/zodiac-virgo-icon.cjs +17 -0
- package/dist/cjs/components/icon/icons/zodiac-virgo-icon.cjs.map +1 -0
- package/dist/cjs/components/icon/index.cjs +28 -0
- package/dist/cjs/index.cjs +58 -19
- package/dist/esm/components/chart/area-chart.js +3 -8
- package/dist/esm/components/chart/area-chart.js.map +1 -1
- package/dist/esm/components/chart/area-chart.style.js +2 -4
- package/dist/esm/components/chart/area-chart.style.js.map +1 -1
- package/dist/esm/components/chart/bar-chart.js +3 -8
- package/dist/esm/components/chart/bar-chart.js.map +1 -1
- package/dist/esm/components/chart/bar-chart.style.js +2 -2
- package/dist/esm/components/chart/bar-chart.style.js.map +1 -1
- package/dist/esm/components/chart/cartesian-chart.js +15 -4
- package/dist/esm/components/chart/cartesian-chart.js.map +1 -1
- package/dist/esm/components/chart/cartesian-chart.style.js +12 -5
- package/dist/esm/components/chart/cartesian-chart.style.js.map +1 -1
- package/dist/esm/components/chart/chart.js.map +1 -1
- package/dist/esm/components/chart/composed-chart.js +63 -0
- package/dist/esm/components/chart/composed-chart.js.map +1 -0
- package/dist/esm/components/chart/composed-chart.namespace.js +27 -0
- package/dist/esm/components/chart/composed-chart.namespace.js.map +1 -0
- package/dist/esm/components/chart/composed-chart.style.js +14 -0
- package/dist/esm/components/chart/composed-chart.style.js.map +1 -0
- package/dist/esm/components/chart/donut-chart.js +3 -8
- package/dist/esm/components/chart/donut-chart.js.map +1 -1
- package/dist/esm/components/chart/index.js +6 -10
- package/dist/esm/components/chart/line-chart.js +3 -8
- package/dist/esm/components/chart/line-chart.js.map +1 -1
- package/dist/esm/components/chart/pie-chart.js +3 -8
- package/dist/esm/components/chart/pie-chart.js.map +1 -1
- package/dist/esm/components/chart/polar-chart.js +8 -3
- package/dist/esm/components/chart/polar-chart.js.map +1 -1
- package/dist/esm/components/chart/radar-chart.js +3 -8
- package/dist/esm/components/chart/radar-chart.js.map +1 -1
- package/dist/esm/components/chart/radial-chart.js +7 -14
- package/dist/esm/components/chart/radial-chart.js.map +1 -1
- package/dist/esm/components/chart/use-cartesian-chart.js +32 -1
- package/dist/esm/components/chart/use-cartesian-chart.js.map +1 -1
- package/dist/esm/components/chart/use-polar-chart.js +54 -1
- package/dist/esm/components/chart/use-polar-chart.js.map +1 -1
- package/dist/esm/components/icon/icons/fishing-rod-icon.js +16 -0
- package/dist/esm/components/icon/icons/fishing-rod-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/index.js +29 -1
- package/dist/esm/components/icon/icons/index.js.map +1 -1
- package/dist/esm/components/icon/icons/zodiac-aquarius-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-aquarius-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-aries-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-aries-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-cancer-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-cancer-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-capricorn-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-capricorn-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-gemini-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-gemini-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-leo-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-leo-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-libra-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-libra-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-ophiuchus-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-ophiuchus-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-pisces-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-pisces-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-sagittarius-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-sagittarius-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-scorpio-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-scorpio-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-taurus-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-taurus-icon.js.map +1 -0
- package/dist/esm/components/icon/icons/zodiac-virgo-icon.js +16 -0
- package/dist/esm/components/icon/icons/zodiac-virgo-icon.js.map +1 -0
- package/dist/esm/components/icon/index.js +15 -1
- package/dist/esm/index.js +38 -16
- package/dist/types/components/accordion/accordion.d.ts +4 -2
- package/dist/types/components/accordion/use-accordion.d.ts +11 -11
- package/dist/types/components/airy/airy.d.ts +3 -2
- package/dist/types/components/alert/alert.d.ts +5 -2
- package/dist/types/components/alert/alert.style.d.ts +1 -1
- package/dist/types/components/alpha-slider/alpha-slider.d.ts +3 -2
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +2 -2
- package/dist/types/components/autocomplete/autocomplete.d.ts +4 -2
- package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
- package/dist/types/components/autocomplete/use-autocomplete.d.ts +7 -5
- package/dist/types/components/avatar/avatar.d.ts +3 -3
- package/dist/types/components/avatar/use-avatar-group.d.ts +2 -2
- package/dist/types/components/badge/badge.d.ts +2 -2
- package/dist/types/components/bleed/bleed.d.ts +2 -2
- package/dist/types/components/blockquote/blockquote.d.ts +2 -2
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +2 -2
- package/dist/types/components/button/button-group.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +3 -2
- package/dist/types/components/button/icon-button.d.ts +2 -2
- package/dist/types/components/calendar/calendar.d.ts +3 -2
- package/dist/types/components/calendar/calendar.style.d.ts +2 -2
- package/dist/types/components/calendar/use-calendar.d.ts +9 -8
- package/dist/types/components/card/card.d.ts +2 -2
- package/dist/types/components/carousel/carousel.d.ts +3 -2
- package/dist/types/components/carousel/carousel.style.d.ts +2 -2
- package/dist/types/components/carousel/use-carousel.d.ts +3 -3
- package/dist/types/components/center/center.d.ts +2 -2
- package/dist/types/components/chart/area-chart.d.ts +2 -8
- package/dist/types/components/chart/bar-chart.d.ts +2 -8
- package/dist/types/components/chart/cartesian-chart.d.ts +34 -18
- package/dist/types/components/chart/cartesian-chart.style.d.ts +1 -1
- package/dist/types/components/chart/chart.d.ts +8 -8
- package/dist/types/components/chart/composed-chart.d.ts +32 -0
- package/dist/types/components/chart/composed-chart.namespace.d.ts +11 -0
- package/dist/types/components/chart/composed-chart.style.d.ts +10 -0
- package/dist/types/components/chart/donut-chart.d.ts +4 -10
- package/dist/types/components/chart/index.d.ts +5 -9
- package/dist/types/components/chart/line-chart.d.ts +4 -10
- package/dist/types/components/chart/pie-chart.d.ts +4 -10
- package/dist/types/components/chart/polar-chart.d.ts +9 -4
- package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
- package/dist/types/components/chart/radar-chart.d.ts +1 -2
- package/dist/types/components/chart/radial-chart.d.ts +4 -10
- package/dist/types/components/chart/use-cartesian-chart.d.ts +23 -2
- package/dist/types/components/chart/use-chart.d.ts +2 -2
- package/dist/types/components/chart/use-polar-chart.d.ts +33 -1
- package/dist/types/components/checkbox/checkbox-group.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.d.ts +5 -4
- package/dist/types/components/checkbox/use-checkbox-group.d.ts +3 -2
- package/dist/types/components/checkbox/use-checkbox.d.ts +1 -0
- package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +3 -0
- package/dist/types/components/checkbox-card/checkbox-card.d.ts +7 -5
- package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +1 -1
- package/dist/types/components/circle-progress/circle-progress.d.ts +3 -2
- package/dist/types/components/close-button/close-button.d.ts +3 -2
- package/dist/types/components/code/code.d.ts +2 -2
- package/dist/types/components/collapse/collapse.d.ts +3 -2
- package/dist/types/components/color-picker/color-picker.d.ts +6 -2
- package/dist/types/components/color-picker/color-picker.style.d.ts +1 -1
- package/dist/types/components/color-picker/use-color-picker.d.ts +5 -2
- package/dist/types/components/color-selector/color-selector.d.ts +6 -2
- package/dist/types/components/color-selector/color-selector.style.d.ts +2 -2
- package/dist/types/components/color-selector/use-color-selector.d.ts +5 -3
- package/dist/types/components/color-swatch/color-swatch.d.ts +2 -2
- package/dist/types/components/container/container.d.ts +2 -2
- package/dist/types/components/data-list/data-list.d.ts +2 -2
- package/dist/types/components/data-list/data-list.style.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +5 -2
- package/dist/types/components/date-picker/date-picker.style.d.ts +1 -1
- package/dist/types/components/date-picker/use-date-picker.d.ts +7 -4
- package/dist/types/components/drawer/drawer.d.ts +5 -2
- package/dist/types/components/drawer/use-drawer.d.ts +2 -0
- package/dist/types/components/dropzone/dropzone.d.ts +8 -5
- package/dist/types/components/dropzone/dropzone.style.d.ts +1 -1
- package/dist/types/components/dropzone/use-dropzone.d.ts +1 -0
- package/dist/types/components/editable/editable.d.ts +3 -2
- package/dist/types/components/editable/use-editable.d.ts +3 -2
- package/dist/types/components/em/em.d.ts +2 -2
- package/dist/types/components/empty-state/empty-state.d.ts +2 -2
- package/dist/types/components/empty-state/empty-state.style.d.ts +2 -2
- package/dist/types/components/fade/fade.d.ts +3 -2
- package/dist/types/components/fade-scale/fade-scale.d.ts +1 -0
- package/dist/types/components/field/field.d.ts +3 -3
- package/dist/types/components/field/field.style.d.ts +2 -2
- package/dist/types/components/field/use-field-props.d.ts +4 -4
- package/dist/types/components/fieldset/fieldset.d.ts +4 -3
- package/dist/types/components/fieldset/fieldset.style.d.ts +1 -1
- package/dist/types/components/file-button/file-button.d.ts +4 -2
- package/dist/types/components/file-button/use-file-button.d.ts +20 -18
- package/dist/types/components/file-input/file-input.d.ts +4 -2
- package/dist/types/components/file-input/use-file-input.d.ts +16 -15
- package/dist/types/components/flex/flex.d.ts +2 -2
- package/dist/types/components/flip/flip.d.ts +5 -4
- package/dist/types/components/float/float.d.ts +2 -2
- package/dist/types/components/form/form.d.ts +4 -3
- package/dist/types/components/form/form.style.d.ts +1 -1
- package/dist/types/components/format/format-byte.d.ts +4 -4
- package/dist/types/components/format/format-date-time.d.ts +4 -4
- package/dist/types/components/format/format-number.d.ts +2 -2
- package/dist/types/components/format/use-format-byte.d.ts +1 -0
- package/dist/types/components/format/use-format-date-time.d.ts +1 -0
- package/dist/types/components/format/use-format-number.d.ts +1 -0
- package/dist/types/components/grid/grid-item.d.ts +2 -2
- package/dist/types/components/grid/grid.d.ts +2 -2
- package/dist/types/components/group/group.d.ts +3 -2
- package/dist/types/components/group/use-group.d.ts +2 -2
- package/dist/types/components/heading/heading.d.ts +2 -2
- package/dist/types/components/highlight/highlight.d.ts +2 -0
- package/dist/types/components/hue-slider/hue-slider.d.ts +4 -3
- package/dist/types/components/icon/icon.d.ts +4 -4
- package/dist/types/components/icon/icons/fishing-rod-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/index.d.ts +16 -2
- package/dist/types/components/icon/icons/index.types.d.ts +1 -1
- package/dist/types/components/icon/icons/zodiac-aquarius-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-aries-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-cancer-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-capricorn-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-gemini-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-leo-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-libra-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-ophiuchus-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-pisces-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-sagittarius-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-scorpio-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-taurus-icon.d.ts +15 -0
- package/dist/types/components/icon/icons/zodiac-virgo-icon.d.ts +15 -0
- package/dist/types/components/icon/index.d.ts +15 -1
- package/dist/types/components/image/image.d.ts +2 -2
- package/dist/types/components/indicator/indicator.d.ts +5 -4
- package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +2 -2
- package/dist/types/components/input/input-addon.d.ts +2 -2
- package/dist/types/components/input/input-element.d.ts +2 -2
- package/dist/types/components/input/input-group.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +3 -2
- package/dist/types/components/kbd/kbd.d.ts +2 -2
- package/dist/types/components/link/link.d.ts +2 -2
- package/dist/types/components/link-box/link-box.d.ts +2 -2
- package/dist/types/components/list/list.d.ts +2 -2
- package/dist/types/components/loading/loading-provider.d.ts +2 -2
- package/dist/types/components/loading/loading.d.ts +4 -3
- package/dist/types/components/loading/use-loading-component.d.ts +1 -0
- package/dist/types/components/mark/mark.d.ts +2 -2
- package/dist/types/components/menu/menu.d.ts +3 -2
- package/dist/types/components/menu/use-menu.d.ts +11 -11
- package/dist/types/components/modal/modal.d.ts +6 -2
- package/dist/types/components/native-accordion/native-accordion.d.ts +2 -2
- package/dist/types/components/native-accordion/use-native-accordion.d.ts +2 -2
- package/dist/types/components/native-popover/native-popover.d.ts +2 -2
- package/dist/types/components/native-select/native-select.d.ts +4 -2
- package/dist/types/components/native-select/native-select.style.d.ts +1 -1
- package/dist/types/components/native-select/use-native-select.d.ts +1 -0
- package/dist/types/components/native-table/native-table.d.ts +4 -4
- package/dist/types/components/notice/use-notice.d.ts +3 -0
- package/dist/types/components/number-input/number-input.d.ts +3 -2
- package/dist/types/components/number-input/number-input.style.d.ts +1 -1
- package/dist/types/components/number-input/use-number-input.d.ts +1 -0
- package/dist/types/components/pagination/pagination.d.ts +3 -2
- package/dist/types/components/pagination/use-pagination.d.ts +2 -2
- package/dist/types/components/password-input/password-input.d.ts +3 -2
- package/dist/types/components/password-input/password-input.style.d.ts +1 -1
- package/dist/types/components/password-input/strength-meter.d.ts +2 -2
- package/dist/types/components/password-input/use-password-input.d.ts +3 -2
- package/dist/types/components/picture/picture.d.ts +1 -0
- package/dist/types/components/pin-input/pin-input.d.ts +4 -2
- package/dist/types/components/pin-input/pin-input.style.d.ts +1 -1
- package/dist/types/components/pin-input/use-pin-input.d.ts +8 -7
- package/dist/types/components/popover/popover.d.ts +3 -2
- package/dist/types/components/progress/progress.d.ts +4 -4
- package/dist/types/components/progress/use-progress.d.ts +706 -706
- package/dist/types/components/qr-code/qr-code.d.ts +2 -2
- package/dist/types/components/radio/radio-group.d.ts +2 -0
- package/dist/types/components/radio/radio.d.ts +4 -3
- package/dist/types/components/radio/use-radio-group.d.ts +3 -2
- package/dist/types/components/radio/use-radio.d.ts +1 -0
- package/dist/types/components/radio-card/radio-card-group.d.ts +3 -0
- package/dist/types/components/radio-card/radio-card.d.ts +6 -4
- package/dist/types/components/radio-card/radio-card.style.d.ts +1 -1
- package/dist/types/components/rating/use-rating.d.ts +8 -7
- package/dist/types/components/reorder/reorder.d.ts +3 -2
- package/dist/types/components/reorder/use-reorder.d.ts +3 -3
- package/dist/types/components/resizable/resizable.d.ts +2 -2
- package/dist/types/components/resizable/use-resizable.d.ts +2 -2
- package/dist/types/components/ripple/ripple.d.ts +3 -2
- package/dist/types/components/ripple/use-ripple.d.ts +2 -2
- package/dist/types/components/rotate/rotate.d.ts +3 -2
- package/dist/types/components/saturation-slider/saturation-slider.d.ts +2 -2
- package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +3 -2
- package/dist/types/components/scroll-area/scroll-area.d.ts +2 -2
- package/dist/types/components/segmented-control/segmented-control.d.ts +3 -2
- package/dist/types/components/segmented-control/use-segmented-control.d.ts +10 -9
- package/dist/types/components/select/select.d.ts +4 -2
- package/dist/types/components/select/select.style.d.ts +1 -1
- package/dist/types/components/select/use-select.d.ts +6 -4
- package/dist/types/components/separator/separator.d.ts +2 -2
- package/dist/types/components/simple-grid/simple-grid.d.ts +3 -2
- package/dist/types/components/skeleton/skeleton.d.ts +2 -2
- package/dist/types/components/slide/slide.d.ts +3 -2
- package/dist/types/components/slide-fade/slide-fade.d.ts +3 -2
- package/dist/types/components/slider/slider.d.ts +2 -2
- package/dist/types/components/slider/use-slider.d.ts +3 -2
- package/dist/types/components/snacks/snacks.d.ts +2 -0
- package/dist/types/components/snacks/use-snacks.d.ts +1 -0
- package/dist/types/components/stack/h-stack.d.ts +2 -2
- package/dist/types/components/stack/stack.d.ts +2 -2
- package/dist/types/components/stack/v-stack.d.ts +2 -2
- package/dist/types/components/stack/z-stack.d.ts +2 -2
- package/dist/types/components/stat/stat.d.ts +2 -2
- package/dist/types/components/stat/stat.style.d.ts +2 -2
- package/dist/types/components/status/status.d.ts +2 -2
- package/dist/types/components/steps/steps.d.ts +2 -2
- package/dist/types/components/steps/steps.style.d.ts +1 -1
- package/dist/types/components/steps/use-steps.d.ts +10 -10
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/switch/use-switch.d.ts +1 -0
- package/dist/types/components/table/table.d.ts +4 -2
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/tabs/use-tabs.d.ts +16 -16
- package/dist/types/components/tag/tag.d.ts +2 -2
- package/dist/types/components/text/text.d.ts +2 -2
- package/dist/types/components/textarea/textarea.d.ts +4 -2
- package/dist/types/components/textarea/use-autosize.d.ts +2 -2
- package/dist/types/components/timeline/timeline.d.ts +5 -5
- package/dist/types/components/timeline/timeline.style.d.ts +2 -2
- package/dist/types/components/tip/tip.d.ts +2 -0
- package/dist/types/components/toggle/toggle-group.d.ts +1 -1
- package/dist/types/components/toggle/toggle.d.ts +5 -3
- package/dist/types/components/toggle/use-toggle-group.d.ts +2 -2
- package/dist/types/components/toggle/use-toggle.d.ts +3 -2
- package/dist/types/components/tooltip/tooltip.d.ts +4 -2
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/types/components/wrap/wrap.d.ts +3 -2
- package/dist/types/core/components/create-component.d.ts +7 -9
- package/dist/types/core/components/index.types.d.ts +0 -1
- package/dist/types/core/components/use-component-style.d.ts +0 -2
- package/dist/types/core/components/utils.d.ts +0 -1
- package/dist/types/core/constant.d.ts +0 -1
- package/dist/types/core/css/calc.d.ts +0 -1
- package/dist/types/core/css/config.d.ts +0 -1
- package/dist/types/core/css/css.d.ts +0 -1
- package/dist/types/core/css/index.types.d.ts +0 -1
- package/dist/types/core/css/styles.d.ts +0 -1
- package/dist/types/core/css/token.d.ts +0 -1
- package/dist/types/core/css/use-css.d.ts +0 -1
- package/dist/types/core/css/utils.d.ts +0 -2
- package/dist/types/core/generated-theme-tokens.types.d.ts +0 -1
- package/dist/types/core/index.d.ts +0 -2
- package/dist/types/core/system/color-mode-provider.d.ts +2 -2
- package/dist/types/core/system/config.d.ts +0 -1
- package/dist/types/core/system/factory.d.ts +0 -1
- package/dist/types/core/system/index.types.d.ts +0 -1
- package/dist/types/core/system/storage-script.d.ts +3 -3
- package/dist/types/core/system/styled.d.ts +2 -3
- package/dist/types/core/system/system-provider.d.ts +2 -2
- package/dist/types/core/system/var.d.ts +0 -2
- package/dist/types/hooks/use-async-callback/index.d.ts +1 -0
- package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +2 -2
- package/dist/types/hooks/use-clipboard/index.d.ts +2 -2
- package/dist/types/hooks/use-combobox/index.d.ts +13 -12
- package/dist/types/hooks/use-counter/index.d.ts +2 -2
- package/dist/types/hooks/use-descendants/index.d.ts +2 -2
- package/dist/types/hooks/use-field-sizing/index.d.ts +2 -2
- package/dist/types/hooks/use-popper/index.d.ts +2 -2
- package/dist/types/hooks/use-resize-observer/index.d.ts +3 -3
- package/dist/types/index.d.ts +123 -10
- package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
- package/dist/types/providers/ui-provider/ui-provider.d.ts +3 -2
- package/package.json +5 -5
- package/dist/cjs/components/chart/use-area-chart.cjs +0 -41
- package/dist/cjs/components/chart/use-area-chart.cjs.map +0 -1
- package/dist/cjs/components/chart/use-bar-chart.cjs +0 -41
- package/dist/cjs/components/chart/use-bar-chart.cjs.map +0 -1
- package/dist/cjs/components/chart/use-line-chart.cjs +0 -41
- package/dist/cjs/components/chart/use-line-chart.cjs.map +0 -1
- package/dist/cjs/components/chart/use-pie-chart.cjs +0 -43
- package/dist/cjs/components/chart/use-pie-chart.cjs.map +0 -1
- package/dist/cjs/components/chart/use-radar-chart.cjs +0 -45
- package/dist/cjs/components/chart/use-radar-chart.cjs.map +0 -1
- package/dist/cjs/components/chart/use-radial-chart.cjs +0 -63
- package/dist/cjs/components/chart/use-radial-chart.cjs.map +0 -1
- package/dist/esm/components/chart/use-area-chart.js +0 -40
- package/dist/esm/components/chart/use-area-chart.js.map +0 -1
- package/dist/esm/components/chart/use-bar-chart.js +0 -40
- package/dist/esm/components/chart/use-bar-chart.js.map +0 -1
- package/dist/esm/components/chart/use-line-chart.js +0 -40
- package/dist/esm/components/chart/use-line-chart.js.map +0 -1
- package/dist/esm/components/chart/use-pie-chart.js +0 -42
- package/dist/esm/components/chart/use-pie-chart.js.map +0 -1
- package/dist/esm/components/chart/use-radar-chart.js +0 -44
- package/dist/esm/components/chart/use-radar-chart.js.map +0 -1
- package/dist/esm/components/chart/use-radial-chart.js +0 -62
- package/dist/esm/components/chart/use-radial-chart.js.map +0 -1
- package/dist/types/components/chart/use-area-chart.d.ts +0 -29
- package/dist/types/components/chart/use-bar-chart.d.ts +0 -29
- package/dist/types/components/chart/use-line-chart.d.ts +0 -29
- package/dist/types/components/chart/use-pie-chart.d.ts +0 -30
- package/dist/types/components/chart/use-radar-chart.d.ts +0 -31
- package/dist/types/components/chart/use-radial-chart.d.ts +0 -40
|
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/
|
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/chart/cartesian-chart.style.d.ts
|
|
6
|
-
declare const cartesianChartStyle: ComponentSlotStyle<"area" | "line" | "grid" | "bar" | "dot" | "root" | "
|
|
6
|
+
declare const cartesianChartStyle: ComponentSlotStyle<"area" | "line" | "grid" | "bar" | "dot" | "root" | "activeDot" | "labelList" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine", CSSPropObject<CSSSlotObject<"area" | "line" | "grid" | "bar" | "dot" | "root" | "activeDot" | "labelList" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine">>, CSSModifierObject<CSSSlotObject<"area" | "line" | "grid" | "bar" | "dot" | "root" | "activeDot" | "labelList" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine">>, CSSModifierObject<CSSSlotObject<"area" | "line" | "grid" | "bar" | "dot" | "root" | "activeDot" | "labelList" | "referenceLine" | "referenceLineLabel" | "xAxis" | "xAxisLabel" | "xAxisTick" | "xAxisTickLine" | "yAxis" | "yAxisLabel" | "yAxisTick" | "yAxisTickLine">>>;
|
|
7
7
|
type CartesianChartStyle = typeof cartesianChartStyle;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CartesianChartStyle, cartesianChartStyle };
|
|
@@ -6,8 +6,8 @@ import "../../core/index.js";
|
|
|
6
6
|
import { ChartStyle } from "./chart.style.js";
|
|
7
7
|
import { UseChartLabelListProps, UseChartLabelProps, UseChartLegendProps, UseChartTooltipProps } from "./use-chart.js";
|
|
8
8
|
import "../../index.js";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
9
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
10
|
+
import * as react1027 from "react";
|
|
11
11
|
import { JSXElementConstructor, PropsWithChildren, ReactElement, ReactNode, RefObject } from "react";
|
|
12
12
|
import { ActiveDotProps, DataKey, DefaultLegendContentProps, DotItemDotProps, DotProps, LabelProps, RenderableText, ResponsiveContainerProps, TooltipContentProps } from "recharts";
|
|
13
13
|
|
|
@@ -21,12 +21,12 @@ type ChartLabelList = ((props: LabelProps) => ReactElement | RenderableText) | b
|
|
|
21
21
|
type ChartTickLine = boolean | HTMLStyledProps<"line">;
|
|
22
22
|
type GradientStrategy = "invert" | "shade" | "tint";
|
|
23
23
|
declare function mergeSeries<Y>(series: Y[], color?: CSSProps["color"], strategy?: GradientStrategy): (Y & {
|
|
24
|
-
color: CSSProps["
|
|
24
|
+
color: CSSProps["color"];
|
|
25
25
|
})[];
|
|
26
26
|
declare function mergeData<Y>(data: Y[], color?: CSSProps["fill"], strategy?: GradientStrategy): (Y & {
|
|
27
27
|
fill: CSSProps["fill"];
|
|
28
28
|
})[];
|
|
29
|
-
declare function gradients(length: number, color?: CSSProps["color"], strategy?: GradientStrategy): CSSProps["
|
|
29
|
+
declare function gradients(length: number, color?: CSSProps["color"], strategy?: GradientStrategy): CSSProps["color"][];
|
|
30
30
|
interface ComponentContext extends Pick<ChartProps, "legendProps" | "tooltipProps"> {
|
|
31
31
|
nameKeyRef: RefObject<string | undefined>;
|
|
32
32
|
}
|
|
@@ -87,7 +87,7 @@ interface ChartProps extends HTMLStyledProps, ThemeProps<ChartStyle> {
|
|
|
87
87
|
*/
|
|
88
88
|
tooltipProps?: ChartTooltipProps;
|
|
89
89
|
}
|
|
90
|
-
declare const ComponentContext:
|
|
90
|
+
declare const ComponentContext: react1027.Context<ComponentContext>, ChartPropsContext: react1027.Context<Partial<ChartProps> | undefined>, useChartComponentContext: () => ComponentContext, useChartPropsContext: () => Partial<ChartProps> | undefined;
|
|
91
91
|
declare const Chart: Component<({
|
|
92
92
|
children,
|
|
93
93
|
components: componentsProp,
|
|
@@ -98,7 +98,7 @@ declare const Chart: Component<({
|
|
|
98
98
|
responsiveContainerProps,
|
|
99
99
|
tooltipProps,
|
|
100
100
|
...rest
|
|
101
|
-
}: ChartProps) =>
|
|
101
|
+
}: ChartProps) => react_jsx_runtime13.JSX.Element, ChartProps>;
|
|
102
102
|
interface ChartLegendProps extends Merge<HTMLStyledProps, UseChartLegendProps> {
|
|
103
103
|
/**
|
|
104
104
|
* Props for the content component.
|
|
@@ -122,7 +122,7 @@ interface ChartTooltipProps<Y extends (number | string)[] | number | string = nu
|
|
|
122
122
|
*/
|
|
123
123
|
contentProps?: Omit<ChartTooltipContentProps, "formatter" | "label" | "labelFormatter" | "payload">;
|
|
124
124
|
}
|
|
125
|
-
declare const ChartTooltip: <Y extends (number | string)[] | number | string, M extends number | string>(props: ChartTooltipProps<Y, M>) =>
|
|
125
|
+
declare const ChartTooltip: <Y extends (number | string)[] | number | string, M extends number | string>(props: ChartTooltipProps<Y, M>) => react_jsx_runtime13.JSX.Element;
|
|
126
126
|
interface ChartTooltipCursorProps extends Omit<HTMLStyledProps<"path">, "height" | "points" | "width"> {
|
|
127
127
|
brushBottom?: number;
|
|
128
128
|
height?: number;
|
|
@@ -145,5 +145,5 @@ declare const ChartLabelList: Component<"text", ChartLabelListProps>;
|
|
|
145
145
|
interface ChartLabelProps extends Merge<HTMLStyledProps<"text">, UseChartLabelProps> {}
|
|
146
146
|
declare const ChartLabel: Component<"text", ChartLabelProps>;
|
|
147
147
|
//#endregion
|
|
148
|
-
export { Chart, ChartActiveDot, ChartDot, ChartLabel, ChartLabelList, ChartLabelListProps, ChartLabelProps, ChartLegend, ChartLegendProps, ChartProps, ChartPropsContext, ChartTickLine, ChartTooltip, ChartTooltipProps, gradients, mergeData, mergeSeries, useChartPropsContext };
|
|
148
|
+
export { Chart, ChartActiveDot, ChartDot, ChartLabel, ChartLabelList, ChartLabelListProps, ChartLabelProps, ChartLegend, ChartLegendProps, ChartProps, ChartPropsContext, ChartTickLine, ChartTooltip, ChartTooltipProps, GradientStrategy, gradients, mergeData, mergeSeries, useChartPropsContext };
|
|
149
149
|
//# sourceMappingURL=chart.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Dict } from "../../utils/index.js";
|
|
2
|
+
import { ThemeProps } from "../../core/system/index.types.js";
|
|
3
|
+
import { CSSProps } from "../../core/css/index.types.js";
|
|
4
|
+
import { GenericsComponent } from "../../core/components/index.types.js";
|
|
5
|
+
import "../../core/index.js";
|
|
6
|
+
import { LineChartStyle } from "./line-chart.style.js";
|
|
7
|
+
import { GradientStrategy } from "./chart.js";
|
|
8
|
+
import { CartesianChartProps, ChartAreaProps, ChartBarProps, ChartLineProps } from "./cartesian-chart.js";
|
|
9
|
+
import * as react1050 from "react";
|
|
10
|
+
import { ReactElement } from "react";
|
|
11
|
+
|
|
12
|
+
//#region src/components/chart/composed-chart.d.ts
|
|
13
|
+
type ComposedProps<Y extends Dict = Dict> = readonly ["area", ChartAreaProps<Y>] | readonly ["bar", ChartBarProps<Y>] | readonly ["line", ChartLineProps<Y>];
|
|
14
|
+
declare function mergeSeries<Y extends Dict = Dict>(series: ComposedProps<Y>[], color?: CSSProps["color"], strategy?: GradientStrategy): ComposedProps<Y>[];
|
|
15
|
+
interface ComposedChartProps<Y extends Dict = Dict> extends Omit<CartesianChartProps<Y>, "components" | "render">, ThemeProps<LineChartStyle> {
|
|
16
|
+
/**
|
|
17
|
+
* If provided, generate lines based on series.
|
|
18
|
+
*/
|
|
19
|
+
series?: ComposedProps<Y>[];
|
|
20
|
+
}
|
|
21
|
+
declare const ComposedChartPropsContext: react1050.Context<Partial<ComposedChartProps<Dict<any>>> | undefined>, useComposedChartPropsContext: () => Partial<ComposedChartProps<Dict<any>>> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* `ComposedChart` is a component for drawing composed charts to compare multiple sets of data.
|
|
24
|
+
*
|
|
25
|
+
* @see https://yamada-ui.com/docs/components/composed-chart
|
|
26
|
+
*/
|
|
27
|
+
declare const ComposedChart: GenericsComponent<{
|
|
28
|
+
<Y extends Dict>(props: ComposedChartProps<Y>): ReactElement;
|
|
29
|
+
}>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ComposedChart, ComposedChartProps, ComposedChartPropsContext, ComposedProps, mergeSeries, useComposedChartPropsContext };
|
|
32
|
+
//# sourceMappingURL=composed-chart.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ChartActiveDot, ChartDot, ChartLabel, ChartLabelList, ChartLabelListProps, ChartLabelProps, ChartLegend, ChartLegendProps, ChartTickLine, ChartTooltip, ChartTooltipProps } from "./chart.js";
|
|
2
|
+
import { ChartArea, ChartAreaProps, ChartBar, ChartBarProps, ChartGrid, ChartGridProps, ChartLine, ChartLineProps, ChartReferenceLine, ChartReferenceLineProps, ChartXAxis, ChartXAxisProps, ChartXAxisTick, ChartYAxis, ChartYAxisProps, ChartYAxisTick } from "./cartesian-chart.js";
|
|
3
|
+
import { ComposedChart, ComposedChartProps, ComposedChartPropsContext, ComposedProps, mergeSeries, useComposedChartPropsContext } from "./composed-chart.js";
|
|
4
|
+
|
|
5
|
+
//#region src/components/chart/composed-chart.namespace.d.ts
|
|
6
|
+
declare namespace composed_chart_namespace_d_exports {
|
|
7
|
+
export { ChartActiveDot as ActiveDot, ChartArea as Area, ChartAreaProps as AreaProps, ChartBar as Bar, ChartBarProps as BarProps, ChartLabel as ComposedLabel, ChartLabelList as ComposedLabelList, ComposedProps, ChartDot as Dot, ChartGrid as Grid, ChartGridProps as GridProps, ChartLabel as Label, ChartLabelList as LabelList, ChartLabelListProps as LabelListProps, ChartLabelProps as LabelProps, ChartLegend as Legend, ChartLegendProps as LegendProps, ChartLine as Line, ChartLineProps as LineProps, ComposedChartPropsContext as PropsContext, ChartReferenceLine as ReferenceLine, ChartReferenceLineProps as ReferenceLineProps, ComposedChart as Root, ComposedChartProps as RootProps, ChartTickLine as TickLine, ChartTooltip as Tooltip, ChartTooltipProps as TooltipProps, ChartXAxis as XAxis, ChartXAxisProps as XAxisProps, ChartXAxisTick as XAxisTick, ChartYAxis as YAxis, ChartYAxisProps as YAxisProps, ChartYAxisTick as YAxisTick, mergeSeries, useComposedChartPropsContext as usePropsContext };
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { composed_chart_namespace_d_exports };
|
|
11
|
+
//# sourceMappingURL=composed-chart.namespace.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentStyle } from "../../core/system/index.types.js";
|
|
2
|
+
import { CSSModifierObject, CSSObject, CSSPropObject } from "../../core/css/index.types.js";
|
|
3
|
+
import "../../index.js";
|
|
4
|
+
|
|
5
|
+
//#region src/components/chart/composed-chart.style.d.ts
|
|
6
|
+
declare const composedChartStyle: ComponentStyle<CSSPropObject<CSSObject>, CSSModifierObject, CSSModifierObject>;
|
|
7
|
+
type ComposedChartStyle = typeof composedChartStyle;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ComposedChartStyle, composedChartStyle };
|
|
10
|
+
//# sourceMappingURL=composed-chart.style.d.ts.map
|
|
@@ -3,24 +3,18 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
3
3
|
import { GenericsComponent } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { DonutChartStyle } from "./donut-chart.style.js";
|
|
6
|
-
import { ChartDonutProps, PolarChartProps
|
|
7
|
-
import
|
|
8
|
-
import * as react1050 from "react";
|
|
6
|
+
import { ChartDonutProps, PolarChartProps } from "./polar-chart.js";
|
|
7
|
+
import * as react1051 from "react";
|
|
9
8
|
import { ReactElement } from "react";
|
|
10
|
-
import { PolarChartProps } from "recharts/types/util/types";
|
|
11
9
|
|
|
12
10
|
//#region src/components/chart/donut-chart.d.ts
|
|
13
|
-
interface DonutChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps
|
|
11
|
+
interface DonutChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps<Y>, "components" | "nameKey" | "render">, ThemeProps<DonutChartStyle> {
|
|
14
12
|
/***
|
|
15
13
|
* If provided, generate lines based on series.
|
|
16
14
|
*/
|
|
17
15
|
series?: ChartDonutProps<Y>[];
|
|
18
|
-
/**
|
|
19
|
-
* Props for the polar chart component.
|
|
20
|
-
*/
|
|
21
|
-
chartProps?: Omit<PolarChartProps, "data">;
|
|
22
16
|
}
|
|
23
|
-
declare const DonutChartPropsContext:
|
|
17
|
+
declare const DonutChartPropsContext: react1051.Context<Partial<DonutChartProps<Dict<any>>> | undefined>, useDonutChartPropsContext: () => Partial<DonutChartProps<Dict<any>>> | undefined;
|
|
24
18
|
/**
|
|
25
19
|
* `DonutChart` is a component for drawing donut charts to compare multiple sets of data.
|
|
26
20
|
*
|
|
@@ -2,6 +2,7 @@ import { AreaChartStyle, areaChartStyle } from "./area-chart.style.js";
|
|
|
2
2
|
import { BarChartStyle, barChartStyle } from "./bar-chart.style.js";
|
|
3
3
|
import { CartesianChartStyle, cartesianChartStyle } from "./cartesian-chart.style.js";
|
|
4
4
|
import { ChartStyle, chartStyle } from "./chart.style.js";
|
|
5
|
+
import { ComposedChartStyle, composedChartStyle } from "./composed-chart.style.js";
|
|
5
6
|
import { DonutChartStyle, donutChartStyle } from "./donut-chart.style.js";
|
|
6
7
|
import { LineChartStyle, lineChartStyle } from "./line-chart.style.js";
|
|
7
8
|
import { PieChartStyle, pieChartStyle } from "./pie-chart.style.js";
|
|
@@ -10,21 +11,16 @@ import { RadarChartStyle, radarChartStyle } from "./radar-chart.style.js";
|
|
|
10
11
|
import { RadialChartStyle, radialChartStyle } from "./radial-chart.style.js";
|
|
11
12
|
import { ChartContext, UseChartLabelListProps, UseChartLabelListReturn, UseChartLabelProps, UseChartLabelReturn, UseChartLegendProps, UseChartLegendReturn, UseChartReturn, UseChartTooltipProps, UseChartTooltipReturn, useChart, useChartContext, useChartLabel, useChartLabelList, useChartLegend, useChartTooltip } from "./use-chart.js";
|
|
12
13
|
import { Chart, ChartActiveDot, ChartDot, ChartLabel, ChartLabelList, ChartLabelListProps, ChartLabelProps, ChartLegend, ChartLegendProps, ChartProps, ChartPropsContext, ChartTickLine, ChartTooltip, ChartTooltipProps, useChartPropsContext } from "./chart.js";
|
|
13
|
-
import { UseChartAreaProps, UseChartAreaReturn, UseChartBarProps, UseChartBarReturn, UseChartGridProps, UseChartGridReturn, UseChartLineProps, UseChartLineReturn, UseChartReferenceLineProps, UseChartReferenceLineReturn, UseChartXAxisProps, UseChartXAxisReturn, UseChartYAxisProps, UseChartYAxisReturn, useChartArea, useChartBar, useChartGrid, useChartLine, useChartReferenceLine, useChartXAxis, useChartYAxis } from "./use-cartesian-chart.js";
|
|
14
|
+
import { UseCartesianChartProps, UseCartesianChartReturn, UseChartAreaProps, UseChartAreaReturn, UseChartBarProps, UseChartBarReturn, UseChartGridProps, UseChartGridReturn, UseChartLineProps, UseChartLineReturn, UseChartReferenceLineProps, UseChartReferenceLineReturn, UseChartXAxisProps, UseChartXAxisReturn, UseChartYAxisProps, UseChartYAxisReturn, useCartesianChart, useChartArea, useChartBar, useChartGrid, useChartLine, useChartReferenceLine, useChartXAxis, useChartYAxis } from "./use-cartesian-chart.js";
|
|
14
15
|
import { CartesianChart, CartesianChartProps, ChartArea, ChartAreaProps, ChartBar, ChartBarProps, ChartGrid, ChartGridProps, ChartLine, ChartLineProps, ChartReferenceLine, ChartReferenceLineProps, ChartXAxis, ChartXAxisProps, ChartXAxisTick, ChartYAxis, ChartYAxisProps, ChartYAxisTick } from "./cartesian-chart.js";
|
|
15
|
-
import { UseAreaChartProps, UseAreaChartReturn, useAreaChart } from "./use-area-chart.js";
|
|
16
16
|
import { area_chart_namespace_d_exports } from "./area-chart.namespace.js";
|
|
17
|
-
import { UseBarChartProps, UseBarChartReturn, useBarChart } from "./use-bar-chart.js";
|
|
18
17
|
import { bar_chart_namespace_d_exports } from "./bar-chart.namespace.js";
|
|
19
|
-
import {
|
|
18
|
+
import { composed_chart_namespace_d_exports } from "./composed-chart.namespace.js";
|
|
19
|
+
import { UseAngleAxisProps, UseAngleAxisReturn, UseChartPieLabelLineProps, UseChartPieLabelLineReturn, UseChartPieLabelProps, UseChartPieLabelReturn, UseChartPieProps, UseChartPieReturn, UseChartRadarProps, UseChartRadarReturn, UseChartRadialProps, UseChartRadialReturn, UseChartSectorProps, UseChartSectorReturn, UsePolarChartProps, UsePolarChartReturn, UsePolarGridProps, UsePolarGridReturn, UseRadiusAxisProps, UseRadiusAxisReturn, useAngleAxis, useChartPie, useChartPieLabel, useChartPieLabelLine, useChartRadar, useChartRadial, useChartSector, usePolarChart, usePolarGrid, useRadiusAxis } from "./use-polar-chart.js";
|
|
20
20
|
import { ChartAngleAxis, ChartAngleAxisProps, ChartDonut, ChartDonutProps, ChartPie, ChartPieLabel, ChartPieLabelLine, ChartPieLabelList, ChartPieProps, ChartPolarGrid, ChartPolarGridProps, ChartRadar, ChartRadarProps, ChartRadial, ChartRadialProps, ChartRadiusAxis, ChartRadiusAxisProps, PolarChart, PolarChartProps } from "./polar-chart.js";
|
|
21
|
-
import { UsePieChartProps, UsePieChartReturn, usePieChart } from "./use-pie-chart.js";
|
|
22
21
|
import { donut_chart_namespace_d_exports } from "./donut-chart.namespace.js";
|
|
23
|
-
import { UseLineChartProps, UseLineChartReturn, useLineChart } from "./use-line-chart.js";
|
|
24
22
|
import { line_chart_namespace_d_exports } from "./line-chart.namespace.js";
|
|
25
23
|
import { pie_chart_namespace_d_exports } from "./pie-chart.namespace.js";
|
|
26
|
-
import { UseRadarChartProps, UseRadarChartReturn, useRadarChart } from "./use-radar-chart.js";
|
|
27
24
|
import { radar_chart_namespace_d_exports } from "./radar-chart.namespace.js";
|
|
28
|
-
import { UseRadialChartProps, UseRadialChartReturn, useRadialChart } from "./use-radial-chart.js";
|
|
29
25
|
import { radial_chart_namespace_d_exports } from "./radial-chart.namespace.js";
|
|
30
|
-
export { area_chart_namespace_d_exports as AreaChart, AreaChartStyle, bar_chart_namespace_d_exports as BarChart, BarChartStyle, CartesianChart, type CartesianChartProps, CartesianChartStyle, Chart, type ChartActiveDot, ChartAngleAxis, type ChartAngleAxisProps, ChartArea, type ChartAreaProps, ChartBar, type ChartBarProps, ChartContext, ChartDonut, type ChartDonutProps, type ChartDot, ChartGrid, type ChartGridProps, ChartLabel, ChartLabelList, type ChartLabelListProps, type ChartLabelProps, ChartLegend, type ChartLegendProps, ChartLine, type ChartLineProps, ChartPie, type ChartPieLabel, type ChartPieLabelLine, type ChartPieLabelList, type ChartPieProps, ChartPolarGrid, type ChartPolarGridProps, type ChartProps, ChartPropsContext, ChartRadar, type ChartRadarProps, ChartRadial, type ChartRadialProps, ChartRadiusAxis, type ChartRadiusAxisProps, ChartReferenceLine, type ChartReferenceLineProps, ChartStyle, type ChartTickLine, ChartTooltip, type ChartTooltipProps, ChartXAxis, type ChartXAxisProps, type ChartXAxisTick, ChartYAxis, type ChartYAxisProps, type ChartYAxisTick, donut_chart_namespace_d_exports as DonutChart, DonutChartStyle, line_chart_namespace_d_exports as LineChart, LineChartStyle, pie_chart_namespace_d_exports as PieChart, PieChartStyle, PolarChart, type PolarChartProps, PolarChartStyle, radar_chart_namespace_d_exports as RadarChart, RadarChartStyle, radial_chart_namespace_d_exports as RadialChart, RadialChartStyle, UseAngleAxisProps, UseAngleAxisReturn,
|
|
26
|
+
export { area_chart_namespace_d_exports as AreaChart, AreaChartStyle, bar_chart_namespace_d_exports as BarChart, BarChartStyle, CartesianChart, type CartesianChartProps, CartesianChartStyle, Chart, type ChartActiveDot, ChartAngleAxis, type ChartAngleAxisProps, ChartArea, type ChartAreaProps, ChartBar, type ChartBarProps, ChartContext, ChartDonut, type ChartDonutProps, type ChartDot, ChartGrid, type ChartGridProps, ChartLabel, ChartLabelList, type ChartLabelListProps, type ChartLabelProps, ChartLegend, type ChartLegendProps, ChartLine, type ChartLineProps, ChartPie, type ChartPieLabel, type ChartPieLabelLine, type ChartPieLabelList, type ChartPieProps, ChartPolarGrid, type ChartPolarGridProps, type ChartProps, ChartPropsContext, ChartRadar, type ChartRadarProps, ChartRadial, type ChartRadialProps, ChartRadiusAxis, type ChartRadiusAxisProps, ChartReferenceLine, type ChartReferenceLineProps, ChartStyle, type ChartTickLine, ChartTooltip, type ChartTooltipProps, ChartXAxis, type ChartXAxisProps, type ChartXAxisTick, ChartYAxis, type ChartYAxisProps, type ChartYAxisTick, composed_chart_namespace_d_exports as ComposedChart, ComposedChartStyle, donut_chart_namespace_d_exports as DonutChart, DonutChartStyle, line_chart_namespace_d_exports as LineChart, LineChartStyle, pie_chart_namespace_d_exports as PieChart, PieChartStyle, PolarChart, type PolarChartProps, PolarChartStyle, radar_chart_namespace_d_exports as RadarChart, RadarChartStyle, radial_chart_namespace_d_exports as RadialChart, RadialChartStyle, UseAngleAxisProps, UseAngleAxisReturn, UseCartesianChartProps, UseCartesianChartReturn, UseChartAreaProps, UseChartAreaReturn, UseChartBarProps, UseChartBarReturn, UseChartGridProps, UseChartGridReturn, UseChartLabelListProps, UseChartLabelListReturn, UseChartLabelProps, UseChartLabelReturn, UseChartLegendProps, UseChartLegendReturn, UseChartLineProps, UseChartLineReturn, UseChartPieLabelLineProps, UseChartPieLabelLineReturn, UseChartPieLabelProps, UseChartPieLabelReturn, UseChartPieProps, UseChartPieReturn, UseChartRadarProps, UseChartRadarReturn, UseChartRadialProps, UseChartRadialReturn, UseChartReferenceLineProps, UseChartReferenceLineReturn, UseChartReturn, UseChartSectorProps, UseChartSectorReturn, UseChartTooltipProps, UseChartTooltipReturn, UseChartXAxisProps, UseChartXAxisReturn, UseChartYAxisProps, UseChartYAxisReturn, UsePolarChartProps, UsePolarChartReturn, UsePolarGridProps, UsePolarGridReturn, UseRadiusAxisProps, UseRadiusAxisReturn, areaChartStyle, barChartStyle, cartesianChartStyle, chartStyle, composedChartStyle, donutChartStyle, lineChartStyle, pieChartStyle, polarChartStyle, radarChartStyle, radialChartStyle, useAngleAxis, useCartesianChart, useChart, useChartArea, useChartBar, useChartContext, useChartGrid, useChartLabel, useChartLabelList, useChartLegend, useChartLine, useChartPie, useChartPieLabel, useChartPieLabelLine, useChartPropsContext, useChartRadar, useChartRadial, useChartReferenceLine, useChartSector, useChartTooltip, useChartXAxis, useChartYAxis, usePolarChart, usePolarGrid, useRadiusAxis };
|
|
@@ -3,24 +3,18 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
3
3
|
import { GenericsComponent } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { LineChartStyle } from "./line-chart.style.js";
|
|
6
|
-
import { CartesianChartProps
|
|
7
|
-
import
|
|
8
|
-
import * as react1051 from "react";
|
|
6
|
+
import { CartesianChartProps, ChartLineProps } from "./cartesian-chart.js";
|
|
7
|
+
import * as react1052 from "react";
|
|
9
8
|
import { ReactElement } from "react";
|
|
10
|
-
import { CartesianChartProps } from "recharts/types/util/types";
|
|
11
9
|
|
|
12
10
|
//#region src/components/chart/line-chart.d.ts
|
|
13
|
-
interface LineChartProps<Y extends Dict = Dict> extends Omit<CartesianChartProps
|
|
11
|
+
interface LineChartProps<Y extends Dict = Dict> extends Omit<CartesianChartProps<Y>, "components" | "render">, ThemeProps<LineChartStyle> {
|
|
14
12
|
/**
|
|
15
13
|
* If provided, generate lines based on series.
|
|
16
14
|
*/
|
|
17
15
|
series?: ChartLineProps<Y>[];
|
|
18
|
-
/**
|
|
19
|
-
* Props for the line chart component.
|
|
20
|
-
*/
|
|
21
|
-
chartProps?: Omit<CartesianChartProps, "data">;
|
|
22
16
|
}
|
|
23
|
-
declare const LineChartPropsContext:
|
|
17
|
+
declare const LineChartPropsContext: react1052.Context<Partial<LineChartProps<Dict<any>>> | undefined>, useLineChartPropsContext: () => Partial<LineChartProps<Dict<any>>> | undefined;
|
|
24
18
|
/**
|
|
25
19
|
* `LineChart` is a component for drawing line charts to compare multiple sets of data.
|
|
26
20
|
*
|
|
@@ -3,24 +3,18 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
3
3
|
import { GenericsComponent } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { PieChartStyle } from "./pie-chart.style.js";
|
|
6
|
-
import { ChartPieProps, PolarChartProps
|
|
7
|
-
import
|
|
8
|
-
import * as react1052 from "react";
|
|
6
|
+
import { ChartPieProps, PolarChartProps } from "./polar-chart.js";
|
|
7
|
+
import * as react1053 from "react";
|
|
9
8
|
import { ReactElement } from "react";
|
|
10
|
-
import { PolarChartProps } from "recharts/types/util/types";
|
|
11
9
|
|
|
12
10
|
//#region src/components/chart/pie-chart.d.ts
|
|
13
|
-
interface PieChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps
|
|
11
|
+
interface PieChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps<Y>, "components" | "nameKey" | "render">, ThemeProps<PieChartStyle> {
|
|
14
12
|
/***
|
|
15
13
|
* If provided, generate lines based on series.
|
|
16
14
|
*/
|
|
17
15
|
series?: ChartPieProps<Y>[];
|
|
18
|
-
/**
|
|
19
|
-
* Props for the polar chart component.
|
|
20
|
-
*/
|
|
21
|
-
chartProps?: Omit<PolarChartProps, "data">;
|
|
22
16
|
}
|
|
23
|
-
declare const PieChartPropsContext:
|
|
17
|
+
declare const PieChartPropsContext: react1053.Context<Partial<PieChartProps<Dict<any>>> | undefined>, usePieChartPropsContext: () => Partial<PieChartProps<Dict<any>>> | undefined;
|
|
24
18
|
/**
|
|
25
19
|
* `PieChart` is a component for drawing pie charts to compare multiple sets of data.
|
|
26
20
|
*
|
|
@@ -5,13 +5,14 @@ import { Component, GenericsComponent, HTMLStyledProps } from "../../core/compon
|
|
|
5
5
|
import "../../core/index.js";
|
|
6
6
|
import { PolarChartStyle } from "./polar-chart.style.js";
|
|
7
7
|
import { ChartActiveDot, ChartDot, ChartLabel, ChartLabelList, ChartLabelListProps, ChartProps, ChartTickLine } from "./chart.js";
|
|
8
|
-
import { UseAngleAxisProps, UseChartPieLabelLineProps, UseChartPieLabelProps, UseChartPieProps, UseChartRadarProps, UseChartRadialProps, UseChartSectorProps, UsePolarGridProps, UseRadiusAxisProps } from "./use-polar-chart.js";
|
|
8
|
+
import { UseAngleAxisProps, UseChartPieLabelLineProps, UseChartPieLabelProps, UseChartPieProps, UseChartRadarProps, UseChartRadialProps, UseChartSectorProps, UsePolarChartProps, UsePolarGridProps, UseRadiusAxisProps } from "./use-polar-chart.js";
|
|
9
9
|
import "../../index.js";
|
|
10
10
|
import { ReactElement, ReactNode } from "react";
|
|
11
|
+
import { PolarChartProps } from "recharts/types/util/types";
|
|
11
12
|
import { BaseTickContentProps, PieLabelRenderProps, PieSectorShapeProps, SectorProps } from "recharts";
|
|
12
13
|
|
|
13
14
|
//#region src/components/chart/polar-chart.d.ts
|
|
14
|
-
interface PolarChartProps<Y extends Dict = Dict> extends Omit<ChartProps, "cx" | "cy">, ThemeProps<PolarChartStyle> {
|
|
15
|
+
interface PolarChartProps$1<Y extends Dict = Dict> extends Omit<ChartProps, "cx" | "cy">, UsePolarChartProps<Y>, ThemeProps<PolarChartStyle> {
|
|
15
16
|
/**
|
|
16
17
|
* The fill of the active dot.
|
|
17
18
|
*/
|
|
@@ -186,6 +187,10 @@ interface PolarChartProps<Y extends Dict = Dict> extends Omit<ChartProps, "cx" |
|
|
|
186
187
|
* Props for the angle axis component.
|
|
187
188
|
*/
|
|
188
189
|
angleAxisProps?: UseAngleAxisProps;
|
|
190
|
+
/**
|
|
191
|
+
* Props for the polar chart component.
|
|
192
|
+
*/
|
|
193
|
+
chartProps?: Omit<PolarChartProps, "data">;
|
|
189
194
|
/**
|
|
190
195
|
* Props for the donut component.
|
|
191
196
|
*/
|
|
@@ -216,7 +221,7 @@ interface PolarChartProps<Y extends Dict = Dict> extends Omit<ChartProps, "cx" |
|
|
|
216
221
|
sectorProps?: ChartSectorProps;
|
|
217
222
|
}
|
|
218
223
|
declare const PolarChart: GenericsComponent<{
|
|
219
|
-
<Y extends Dict>(props: PolarChartProps<Y>): ReactElement;
|
|
224
|
+
<Y extends Dict>(props: PolarChartProps$1<Y>): ReactElement;
|
|
220
225
|
}>;
|
|
221
226
|
type ChartPieLabel = ((props: PieLabelRenderProps) => Partial<ChartPieLabelProps>) | boolean | Partial<ChartPieLabelProps>;
|
|
222
227
|
type ChartPieLabelLine = ((props: any) => ChartPieLabelLineProps) | boolean | ChartPieLabelLineProps;
|
|
@@ -397,5 +402,5 @@ declare const ChartRadial: GenericsComponent<{
|
|
|
397
402
|
<Y extends Dict>(props: ChartRadialProps<Y>): ReactElement;
|
|
398
403
|
}>;
|
|
399
404
|
//#endregion
|
|
400
|
-
export { ChartAngleAxis, ChartAngleAxisProps, ChartAxisLine, ChartDonut, ChartDonutProps, ChartPie, ChartPieLabel, ChartPieLabelLine, ChartPieLabelList, ChartPieProps, ChartPolarAxisTick, ChartPolarGrid, ChartPolarGridProps, ChartRadar, ChartRadarProps, ChartRadial, ChartRadialBackground, ChartRadialProps, ChartRadiusAxis, ChartRadiusAxisProps, PolarChart, PolarChartProps };
|
|
405
|
+
export { ChartAngleAxis, ChartAngleAxisProps, ChartAxisLine, ChartDonut, ChartDonutProps, ChartPie, ChartPieLabel, ChartPieLabelLine, ChartPieLabelList, ChartPieProps, ChartPolarAxisTick, ChartPolarGrid, ChartPolarGridProps, ChartRadar, ChartRadarProps, ChartRadial, ChartRadialBackground, ChartRadialProps, ChartRadiusAxis, ChartRadiusAxisProps, PolarChart, PolarChartProps$1 as PolarChartProps };
|
|
401
406
|
//# sourceMappingURL=polar-chart.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/
|
|
|
3
3
|
import "../../index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/chart/polar-chart.style.d.ts
|
|
6
|
-
declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "
|
|
6
|
+
declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "radial" | "labelLine" | "activeDot" | "labelList" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector", CSSPropObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "radial" | "labelLine" | "activeDot" | "labelList" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "radial" | "labelLine" | "activeDot" | "labelList" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "radial" | "labelLine" | "activeDot" | "labelList" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>>;
|
|
7
7
|
type PolarChartStyle = typeof polarChartStyle;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PolarChartStyle, polarChartStyle };
|
|
@@ -4,13 +4,12 @@ import { GenericsComponent } from "../../core/components/index.types.js";
|
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { RadarChartStyle } from "./radar-chart.style.js";
|
|
6
6
|
import { ChartRadarProps, PolarChartProps as PolarChartProps$1 } from "./polar-chart.js";
|
|
7
|
-
import { UseRadarChartProps } from "./use-radar-chart.js";
|
|
8
7
|
import * as react1054 from "react";
|
|
9
8
|
import { ReactElement } from "react";
|
|
10
9
|
import { PolarChartProps } from "recharts/types/util/types";
|
|
11
10
|
|
|
12
11
|
//#region src/components/chart/radar-chart.d.ts
|
|
13
|
-
interface RadarChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps$1<Y>, "components" | "
|
|
12
|
+
interface RadarChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps$1<Y>, "components" | "render">, ThemeProps<RadarChartStyle> {
|
|
14
13
|
/***
|
|
15
14
|
* If provided, generate lines based on series.
|
|
16
15
|
*/
|
|
@@ -3,24 +3,18 @@ import { ThemeProps } from "../../core/system/index.types.js";
|
|
|
3
3
|
import { GenericsComponent } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
5
|
import { RadialChartStyle } from "./radial-chart.style.js";
|
|
6
|
-
import { ChartRadialProps, PolarChartProps
|
|
7
|
-
import
|
|
8
|
-
import * as react1053 from "react";
|
|
6
|
+
import { ChartRadialProps, PolarChartProps } from "./polar-chart.js";
|
|
7
|
+
import * as react1055 from "react";
|
|
9
8
|
import { ReactElement } from "react";
|
|
10
|
-
import { PolarChartProps } from "recharts/types/util/types";
|
|
11
9
|
|
|
12
10
|
//#region src/components/chart/radial-chart.d.ts
|
|
13
|
-
interface RadialChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps
|
|
11
|
+
interface RadialChartProps<Y extends Dict = Dict> extends Omit<PolarChartProps<Y>, "components" | "nameKey" | "render">, ThemeProps<RadialChartStyle> {
|
|
14
12
|
/***
|
|
15
13
|
* If provided, generate lines based on series.
|
|
16
14
|
*/
|
|
17
15
|
series?: ChartRadialProps<Y>[];
|
|
18
|
-
/**
|
|
19
|
-
* Props for the polar chart component.
|
|
20
|
-
*/
|
|
21
|
-
chartProps?: Omit<PolarChartProps, "data">;
|
|
22
16
|
}
|
|
23
|
-
declare const RadialChartPropsContext:
|
|
17
|
+
declare const RadialChartPropsContext: react1055.Context<Partial<RadialChartProps<Dict<any>>> | undefined>, useRadialChartPropsContext: () => Partial<RadialChartProps<Dict<any>>> | undefined;
|
|
24
18
|
/**
|
|
25
19
|
* `RadialChart` is a component for drawing radial charts to compare multiple sets of data.
|
|
26
20
|
*
|
|
@@ -1,10 +1,31 @@
|
|
|
1
|
-
import { Merge } from "../../utils/index.js";
|
|
1
|
+
import { Dict, Merge } from "../../utils/index.js";
|
|
2
2
|
import { SimpleDirection } from "../../core/system/index.types.js";
|
|
3
3
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
|
+
import { CartesianChartProps } from "recharts/types/util/types";
|
|
5
6
|
import { AreaProps, BarProps, CartesianGridProps, LineProps, ReferenceLineProps, XAxisProps, YAxisProps } from "recharts";
|
|
6
7
|
|
|
7
8
|
//#region src/components/chart/use-cartesian-chart.d.ts
|
|
9
|
+
interface UseCartesianChartProps<Y extends Dict> extends HTMLProps, Pick<CartesianChartProps, "accessibilityLayer" | "compact" | "layout" | "responsive" | "syncId" | "syncMethod"> {
|
|
10
|
+
/**
|
|
11
|
+
* Chart data.
|
|
12
|
+
*/
|
|
13
|
+
data?: Y[];
|
|
14
|
+
}
|
|
15
|
+
declare const useCartesianChart: <Y extends Dict>({
|
|
16
|
+
accessibilityLayer,
|
|
17
|
+
compact,
|
|
18
|
+
data,
|
|
19
|
+
layout,
|
|
20
|
+
responsive,
|
|
21
|
+
syncId,
|
|
22
|
+
syncMethod,
|
|
23
|
+
...rest
|
|
24
|
+
}: UseCartesianChartProps<Y>) => {
|
|
25
|
+
getChartProps: PropGetter<CartesianChartProps, undefined, undefined>;
|
|
26
|
+
getRootProps: PropGetter<"div", undefined, undefined>;
|
|
27
|
+
};
|
|
28
|
+
type UseCartesianChartReturn<Y extends Dict> = ReturnType<typeof useCartesianChart<Y>>;
|
|
8
29
|
interface UseChartXAxisProps extends Merge<HTMLProps<"svg">, Pick<XAxisProps, "allowDataOverflow" | "allowDecimals" | "allowDuplicatedCategory" | "angle" | "axisLine" | "dataKey" | "domain" | "height" | "hide" | "includeHidden" | "interval" | "label" | "minTickGap" | "mirror" | "name" | "orientation" | "padding" | "range" | "reversed" | "scale" | "tick" | "tickCount" | "tickFormatter" | "tickLine" | "tickMargin" | "ticks" | "tickSize" | "type" | "unit" | "xAxisId">> {}
|
|
9
30
|
declare const useChartXAxis: ({
|
|
10
31
|
type,
|
|
@@ -237,5 +258,5 @@ declare const useChartGrid: ({
|
|
|
237
258
|
};
|
|
238
259
|
type UseChartGridReturn = ReturnType<typeof useChartGrid>;
|
|
239
260
|
//#endregion
|
|
240
|
-
export { UseChartAreaProps, UseChartAreaReturn, UseChartBarProps, UseChartBarReturn, UseChartGridProps, UseChartGridReturn, UseChartLineProps, UseChartLineReturn, UseChartReferenceLineProps, UseChartReferenceLineReturn, UseChartXAxisProps, UseChartXAxisReturn, UseChartYAxisProps, UseChartYAxisReturn, useChartArea, useChartBar, useChartGrid, useChartLine, useChartReferenceLine, useChartXAxis, useChartYAxis };
|
|
261
|
+
export { UseCartesianChartProps, UseCartesianChartReturn, UseChartAreaProps, UseChartAreaReturn, UseChartBarProps, UseChartBarReturn, UseChartGridProps, UseChartGridReturn, UseChartLineProps, UseChartLineReturn, UseChartReferenceLineProps, UseChartReferenceLineReturn, UseChartXAxisProps, UseChartXAxisReturn, UseChartYAxisProps, UseChartYAxisReturn, useCartesianChart, useChartArea, useChartBar, useChartGrid, useChartLine, useChartReferenceLine, useChartXAxis, useChartYAxis };
|
|
241
262
|
//# sourceMappingURL=use-cartesian-chart.d.ts.map
|
|
@@ -2,12 +2,12 @@ import { Merge } from "../../utils/index.js";
|
|
|
2
2
|
import { Direction } from "../../core/system/index.types.js";
|
|
3
3
|
import { HTMLProps, PropGetter, RequiredPropGetter } from "../../core/components/index.types.js";
|
|
4
4
|
import "../../core/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react1030 from "react";
|
|
6
6
|
import { LabelListProps, LabelProps, LegendProps, TooltipProps } from "recharts";
|
|
7
7
|
|
|
8
8
|
//#region src/components/chart/use-chart.d.ts
|
|
9
9
|
interface ChartContext extends UseChartReturn {}
|
|
10
|
-
declare const ChartContext:
|
|
10
|
+
declare const ChartContext: react1030.Context<ChartContext>, useChartContext: () => ChartContext;
|
|
11
11
|
declare const useChart: () => {
|
|
12
12
|
highlightedDataKey: string | number | undefined;
|
|
13
13
|
onHighlight: (dataKey?: number | string) => void;
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { Dict, Merge } from "../../utils/index.js";
|
|
2
2
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
3
3
|
import "../../core/index.js";
|
|
4
|
+
import { PolarChartProps } from "recharts/types/util/types";
|
|
4
5
|
import { CurveProps, PieLabelRenderProps, PieProps, PieSectorDataItem, PolarAngleAxisProps, PolarGridProps, PolarRadiusAxisProps, RadarProps, RadialBarProps, RenderableText, SectorProps, TextProps } from "recharts";
|
|
5
6
|
|
|
6
7
|
//#region src/components/chart/use-polar-chart.d.ts
|
|
8
|
+
interface UsePolarChartProps<Y extends Dict> extends HTMLProps, Pick<PolarChartProps, "accessibilityLayer" | "barCategoryGap" | "barGap" | "barSize" | "cx" | "cy" | "endAngle" | "innerRadius" | "layout" | "maxBarSize" | "outerRadius" | "responsive" | "reverseStackOrder" | "stackOffset" | "startAngle" | "syncId" | "syncMethod"> {
|
|
9
|
+
/**
|
|
10
|
+
* Chart data.
|
|
11
|
+
*/
|
|
12
|
+
data?: Y[];
|
|
13
|
+
}
|
|
14
|
+
declare const usePolarChart: <Y extends Dict>({
|
|
15
|
+
accessibilityLayer,
|
|
16
|
+
barCategoryGap,
|
|
17
|
+
barGap,
|
|
18
|
+
barSize,
|
|
19
|
+
cx,
|
|
20
|
+
cy,
|
|
21
|
+
data,
|
|
22
|
+
endAngle,
|
|
23
|
+
innerRadius,
|
|
24
|
+
layout,
|
|
25
|
+
maxBarSize,
|
|
26
|
+
outerRadius,
|
|
27
|
+
responsive,
|
|
28
|
+
reverseStackOrder,
|
|
29
|
+
stackOffset,
|
|
30
|
+
startAngle,
|
|
31
|
+
syncId,
|
|
32
|
+
syncMethod,
|
|
33
|
+
...rest
|
|
34
|
+
}: UsePolarChartProps<Y>) => {
|
|
35
|
+
getChartProps: PropGetter<PolarChartProps, undefined, undefined>;
|
|
36
|
+
getRootProps: PropGetter<"div", undefined, undefined>;
|
|
37
|
+
};
|
|
38
|
+
type UsePolarChartReturn<Y extends Dict> = ReturnType<typeof usePolarChart<Y>>;
|
|
7
39
|
interface UseChartPieProps extends Merge<HTMLProps<"svg">, Pick<PieProps, "activeShape" | "animationBegin" | "animationDuration" | "animationEasing" | "cornerRadius" | "cx" | "cy" | "data" | "dataKey" | "endAngle" | "hide" | "inactiveShape" | "innerRadius" | "isAnimationActive" | "label" | "labelLine" | "legendType" | "maxRadius" | "minAngle" | "nameKey" | "onAnimationEnd" | "onAnimationStart" | "onClick" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onMouseUp" | "outerRadius" | "paddingAngle" | "rootTabIndex" | "shape" | "startAngle" | "tooltipType" | "zIndex">> {}
|
|
8
40
|
declare const useChartPie: ({
|
|
9
41
|
activeShape,
|
|
@@ -327,5 +359,5 @@ declare const useChartRadial: <Y extends Dict>({
|
|
|
327
359
|
};
|
|
328
360
|
type UseChartRadialReturn = ReturnType<typeof useChartRadial>;
|
|
329
361
|
//#endregion
|
|
330
|
-
export { UseAngleAxisProps, UseAngleAxisReturn, UseChartPieLabelLineProps, UseChartPieLabelLineReturn, UseChartPieLabelProps, UseChartPieLabelReturn, UseChartPieProps, UseChartPieReturn, UseChartRadarProps, UseChartRadarReturn, UseChartRadialProps, UseChartRadialReturn, UseChartSectorProps, UseChartSectorReturn, UsePolarGridProps, UsePolarGridReturn, UseRadiusAxisProps, UseRadiusAxisReturn, useAngleAxis, useChartPie, useChartPieLabel, useChartPieLabelLine, useChartRadar, useChartRadial, useChartSector, usePolarGrid, useRadiusAxis };
|
|
362
|
+
export { UseAngleAxisProps, UseAngleAxisReturn, UseChartPieLabelLineProps, UseChartPieLabelLineReturn, UseChartPieLabelProps, UseChartPieLabelReturn, UseChartPieProps, UseChartPieReturn, UseChartRadarProps, UseChartRadarReturn, UseChartRadialProps, UseChartRadialReturn, UseChartSectorProps, UseChartSectorReturn, UsePolarChartProps, UsePolarChartReturn, UsePolarGridProps, UsePolarGridReturn, UseRadiusAxisProps, UseRadiusAxisReturn, useAngleAxis, useChartPie, useChartPieLabel, useChartPieLabelLine, useChartRadar, useChartRadial, useChartSector, usePolarChart, usePolarGrid, useRadiusAxis };
|
|
331
363
|
//# sourceMappingURL=use-polar-chart.d.ts.map
|
|
@@ -3,6 +3,8 @@ import { GenericsComponent } from "../../core/components/index.types.js";
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
5
5
|
import { GroupProps } from "../group/group.js";
|
|
6
|
+
import "../group/index.js";
|
|
7
|
+
import "../input/index.js";
|
|
6
8
|
import { CheckboxStyle } from "./checkbox.style.js";
|
|
7
9
|
import { Checkbox, CheckboxProps } from "./checkbox.js";
|
|
8
10
|
import { UseCheckboxGroupProps } from "./use-checkbox-group.js";
|
|
@@ -5,12 +5,13 @@ import { As, Component, GenericsComponent, HTMLStyledProps } from "../../core/co
|
|
|
5
5
|
import { ComponentOptions, ComponentSlot, ComponentSlotName, InitialProps, SuperProps, UseComponentPropsOptions } from "../../core/components/create-component.js";
|
|
6
6
|
import "../../core/index.js";
|
|
7
7
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
8
|
+
import "../input/index.js";
|
|
8
9
|
import { CheckboxStyle } from "./checkbox.style.js";
|
|
9
10
|
import { UseCheckboxProps } from "./use-checkbox.js";
|
|
10
11
|
import "../../index.js";
|
|
11
|
-
import * as
|
|
12
|
+
import * as react797 from "react";
|
|
12
13
|
import { ReactElement, ReactNode } from "react";
|
|
13
|
-
import * as
|
|
14
|
+
import * as _yamada_ui_utils3 from "@yamada-ui/utils";
|
|
14
15
|
|
|
15
16
|
//#region src/components/checkbox/checkbox.d.ts
|
|
16
17
|
interface CheckboxProps<Y extends string = string> extends Merge<HTMLStyledProps<"label">, UseCheckboxProps<Y>>, ThemeProps<CheckboxStyle>, UseInputBorderProps {
|
|
@@ -39,7 +40,7 @@ interface CheckboxProps<Y extends string = string> extends Merge<HTMLStyledProps
|
|
|
39
40
|
*/
|
|
40
41
|
rootProps?: HTMLStyledProps<"label">;
|
|
41
42
|
}
|
|
42
|
-
declare const component: <H extends "fragment" | As = "div", R extends
|
|
43
|
+
declare const component: <H extends "fragment" | As = "div", R extends _yamada_ui_utils3.Dict = _yamada_ui_utils3.Dict<any>>(el: H | react797.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
|
|
43
44
|
shape: {
|
|
44
45
|
rounded: {
|
|
45
46
|
indicator: {
|
|
@@ -135,7 +136,7 @@ declare const component: <H extends "fragment" | As = "div", R extends _yamada_u
|
|
|
135
136
|
name,
|
|
136
137
|
className,
|
|
137
138
|
...options
|
|
138
|
-
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ?
|
|
139
|
+
}?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react797.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, CheckboxPropsContext: react797.Context<Partial<CheckboxProps<string>> | undefined>, useCheckboxPropsContext: () => Partial<CheckboxProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils3.Dict = _yamada_ui_utils3.Dict<any>, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
|
|
139
140
|
shape: {
|
|
140
141
|
rounded: {
|
|
141
142
|
indicator: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { FieldProps } from "../field/field.js";
|
|
4
|
-
import
|
|
4
|
+
import "../field/index.js";
|
|
5
|
+
import * as react796 from "react";
|
|
5
6
|
import { ChangeEvent } from "react";
|
|
6
7
|
|
|
7
8
|
//#region src/components/checkbox/use-checkbox-group.d.ts
|
|
8
9
|
interface CheckboxGroupContext extends Omit<UseCheckboxGroupReturn, "getRootProps"> {}
|
|
9
|
-
declare const CheckboxGroupContext:
|
|
10
|
+
declare const CheckboxGroupContext: react796.Context<CheckboxGroupContext | undefined>, useCheckboxGroupContext: () => CheckboxGroupContext | undefined;
|
|
10
11
|
interface UseCheckboxGroupProps<Y extends string = string> extends Omit<HTMLProps, "defaultValue" | "onChange" | "value">, FieldProps {
|
|
11
12
|
/**
|
|
12
13
|
* The initial value of the checkbox group.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/index.types.js";
|
|
2
2
|
import "../../core/index.js";
|
|
3
3
|
import { FieldProps } from "../field/field.js";
|
|
4
|
+
import "../field/index.js";
|
|
4
5
|
import { ChangeEvent, ChangeEventHandler, FocusEventHandler } from "react";
|
|
5
6
|
|
|
6
7
|
//#region src/components/checkbox/use-checkbox.d.ts
|
|
@@ -3,7 +3,10 @@ import { GenericsComponent } from "../../core/components/index.types.js";
|
|
|
3
3
|
import "../../core/index.js";
|
|
4
4
|
import { UseInputBorderProps } from "../input/use-input-border.js";
|
|
5
5
|
import { GroupProps } from "../group/group.js";
|
|
6
|
+
import "../group/index.js";
|
|
7
|
+
import "../input/index.js";
|
|
6
8
|
import { UseCheckboxGroupProps } from "../checkbox/use-checkbox-group.js";
|
|
9
|
+
import "../checkbox/index.js";
|
|
7
10
|
import { CheckboxCardStyle } from "./checkbox-card.style.js";
|
|
8
11
|
import { CheckboxCardRoot, CheckboxCardRootProps } from "./checkbox-card.js";
|
|
9
12
|
import { ReactElement } from "react";
|