@alfalab/core-components 20.4.0 → 20.7.1
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/amount-input/Component.js +3 -3
- package/amount-input/default.css +2 -2
- package/amount-input/esm/Component.js +3 -3
- package/amount-input/esm/default.css +2 -2
- package/amount-input/esm/index.css +7 -7
- package/amount-input/esm/inverted.css +2 -2
- package/amount-input/index.css +7 -7
- package/amount-input/inverted.css +2 -2
- package/amount-input/modern/Component.js +3 -3
- package/amount-input/modern/default.css +2 -2
- package/amount-input/modern/index.css +7 -7
- package/amount-input/modern/inverted.css +2 -2
- package/bank-card/Component.js +1 -1
- package/bank-card/esm/Component.js +1 -1
- package/bank-card/esm/index.css +20 -20
- package/bank-card/index.css +20 -20
- package/bank-card/modern/Component.js +1 -1
- package/bank-card/modern/index.css +20 -20
- package/calendar/Component.js +1 -1
- package/calendar/components/days-table/Component.js +1 -1
- package/calendar/components/days-table/index.js +1 -1
- package/calendar/components/header/Component.js +1 -1
- package/calendar/components/header/index.js +1 -1
- package/calendar/components/months-table/Component.js +1 -1
- package/calendar/components/months-table/index.js +1 -1
- package/calendar/components/select-button/Component.js +1 -1
- package/calendar/components/select-button/index.js +1 -1
- package/calendar/components/years-table/Component.js +1 -1
- package/calendar/components/years-table/index.js +1 -1
- package/calendar/esm/Component.js +1 -1
- package/calendar/esm/components/days-table/Component.js +1 -1
- package/calendar/esm/components/days-table/index.js +1 -1
- package/calendar/esm/components/header/Component.js +1 -1
- package/calendar/esm/components/header/index.js +1 -1
- package/calendar/esm/components/months-table/Component.js +1 -1
- package/calendar/esm/components/months-table/index.js +1 -1
- package/calendar/esm/components/select-button/Component.js +1 -1
- package/calendar/esm/components/select-button/index.js +1 -1
- package/calendar/esm/components/years-table/Component.js +1 -1
- package/calendar/esm/components/years-table/index.js +1 -1
- package/calendar/esm/index.js +1 -1
- package/calendar/esm/{tslib.es6-decc30d3.d.ts → tslib.es6-78b906d0.d.ts} +0 -0
- package/calendar/esm/{tslib.es6-decc30d3.js → tslib.es6-78b906d0.js} +0 -0
- package/calendar/index.js +1 -1
- package/calendar/{tslib.es6-af3fab91.d.ts → tslib.es6-643f6e6d.d.ts} +0 -0
- package/calendar/{tslib.es6-af3fab91.js → tslib.es6-643f6e6d.js} +0 -0
- package/calendar-input/Component.d.ts +1 -1
- package/calendar-input/Component.js +1 -1
- package/calendar-input/esm/Component.js +1 -1
- package/calendar-input/esm/index.css +9 -9
- package/calendar-input/index.css +9 -9
- package/calendar-input/modern/Component.js +1 -1
- package/calendar-input/modern/index.css +9 -9
- package/calendar-range/Component.js +1 -1
- package/calendar-range/esm/Component.js +1 -1
- package/calendar-range/esm/index.css +5 -5
- package/calendar-range/index.css +5 -5
- package/calendar-range/modern/Component.js +1 -1
- package/calendar-range/modern/index.css +5 -5
- package/chart/Component.js +20 -10
- package/chart/components/CustomizedLabel.d.ts +4 -0
- package/chart/components/CustomizedLabel.js +18 -0
- package/chart/components/Dot/index.css +8 -8
- package/chart/components/Dot/index.js +1 -1
- package/chart/components/Legends/index.css +8 -8
- package/chart/components/Legends/index.js +1 -1
- package/chart/components/RectBar.d.ts +4 -0
- package/chart/components/RectBar.js +30 -0
- package/chart/components/Tick/index.css +4 -4
- package/chart/components/Tick/index.js +1 -1
- package/chart/components/TooltipContent/index.css +7 -7
- package/chart/components/TooltipContent/index.js +1 -1
- package/chart/cssm/Component.js +18 -8
- package/chart/cssm/components/CustomizedLabel.d.ts +4 -0
- package/chart/cssm/components/CustomizedLabel.js +18 -0
- package/chart/cssm/components/RectBar.d.ts +4 -0
- package/chart/cssm/components/RectBar.js +30 -0
- package/chart/cssm/hooks/usePathBar/index.d.ts +14 -0
- package/chart/cssm/hooks/usePathBar/index.js +39 -0
- package/chart/cssm/hooks/usePathBar/utils/getRadius.d.ts +2 -0
- package/chart/cssm/hooks/usePathBar/utils/getRadius.js +8 -0
- package/chart/cssm/hooks/useSettings/index.js +2 -2
- package/chart/cssm/icons/Circle.js +1 -1
- package/chart/cssm/icons/CircleLine.js +1 -1
- package/chart/cssm/icons/StrokeCircle.js +1 -1
- package/chart/cssm/index.js +4 -0
- package/chart/cssm/types/labelList.types.d.ts +5 -0
- package/chart/cssm/types/labelList.types.js +1 -0
- package/chart/cssm/types/seria.types.d.ts +14 -1
- package/chart/esm/Component.js +21 -11
- package/chart/esm/components/CustomizedLabel.d.ts +4 -0
- package/chart/esm/components/CustomizedLabel.js +12 -0
- package/chart/esm/components/Dot/index.css +8 -8
- package/chart/esm/components/Dot/index.js +1 -1
- package/chart/esm/components/Legends/index.css +8 -8
- package/chart/esm/components/Legends/index.js +1 -1
- package/chart/esm/components/RectBar.d.ts +4 -0
- package/chart/esm/components/RectBar.js +26 -0
- package/chart/esm/components/Tick/index.css +4 -4
- package/chart/esm/components/Tick/index.js +1 -1
- package/chart/esm/components/TooltipContent/index.css +7 -7
- package/chart/esm/components/TooltipContent/index.js +1 -1
- package/chart/esm/hooks/usePathBar/index.d.ts +14 -0
- package/chart/esm/hooks/usePathBar/index.js +37 -0
- package/chart/esm/hooks/usePathBar/utils/getRadius.d.ts +2 -0
- package/chart/esm/hooks/usePathBar/utils/getRadius.js +6 -0
- package/chart/esm/hooks/useSettings/index.js +2 -2
- package/chart/esm/hooks/useSettings/utils/setDatas.js +1 -1
- package/chart/esm/hooks/useSettings/utils/setGradientCharts.js +1 -1
- package/chart/esm/icons/Circle.js +1 -1
- package/chart/esm/icons/CircleLine.js +1 -1
- package/chart/esm/icons/StrokeCircle.js +1 -1
- package/chart/esm/index.css +3 -3
- package/chart/esm/index.js +5 -1
- package/chart/esm/{tslib.es6-defbba9d.d.ts → tslib.es6-a3fbf5e6.d.ts} +0 -0
- package/chart/esm/{tslib.es6-defbba9d.js → tslib.es6-a3fbf5e6.js} +0 -0
- package/chart/esm/types/labelList.types.d.ts +5 -0
- package/chart/esm/types/labelList.types.js +1 -0
- package/chart/esm/types/seria.types.d.ts +14 -1
- package/chart/hooks/usePathBar/index.d.ts +14 -0
- package/chart/hooks/usePathBar/index.js +39 -0
- package/chart/hooks/usePathBar/utils/getRadius.d.ts +2 -0
- package/chart/hooks/usePathBar/utils/getRadius.js +8 -0
- package/chart/hooks/useSettings/index.js +2 -2
- package/chart/hooks/useSettings/utils/setDatas.js +1 -1
- package/chart/hooks/useSettings/utils/setGradientCharts.js +1 -1
- package/chart/icons/Circle.js +1 -1
- package/chart/icons/CircleLine.js +1 -1
- package/chart/icons/StrokeCircle.js +1 -1
- package/chart/index.css +3 -3
- package/chart/index.js +5 -1
- package/chart/modern/Component.js +20 -10
- package/chart/modern/components/CustomizedLabel.d.ts +4 -0
- package/chart/modern/components/CustomizedLabel.js +11 -0
- package/chart/modern/components/Dot/index.css +8 -8
- package/chart/modern/components/Dot/index.js +1 -1
- package/chart/modern/components/Legends/index.css +8 -8
- package/chart/modern/components/Legends/index.js +1 -1
- package/chart/modern/components/RectBar.d.ts +4 -0
- package/chart/modern/components/RectBar.js +33 -0
- package/chart/modern/components/Tick/index.css +4 -4
- package/chart/modern/components/Tick/index.js +1 -1
- package/chart/modern/components/TooltipContent/index.css +7 -7
- package/chart/modern/components/TooltipContent/index.js +1 -1
- package/chart/modern/hooks/usePathBar/index.d.ts +14 -0
- package/chart/modern/hooks/usePathBar/index.js +37 -0
- package/chart/modern/hooks/usePathBar/utils/getRadius.d.ts +2 -0
- package/chart/modern/hooks/usePathBar/utils/getRadius.js +6 -0
- package/chart/modern/hooks/useSettings/index.js +1 -1
- package/chart/modern/icons/Circle.js +1 -1
- package/chart/modern/icons/CircleLine.js +1 -1
- package/chart/modern/icons/StrokeCircle.js +1 -1
- package/chart/modern/index.css +3 -3
- package/chart/modern/index.js +4 -0
- package/chart/modern/types/labelList.types.d.ts +5 -0
- package/chart/modern/types/labelList.types.js +1 -0
- package/chart/modern/types/seria.types.d.ts +14 -1
- package/chart/{tslib.es6-62c2b032.d.ts → tslib.es6-8e7742ab.d.ts} +0 -0
- package/chart/{tslib.es6-62c2b032.js → tslib.es6-8e7742ab.js} +0 -0
- package/chart/types/labelList.types.d.ts +5 -0
- package/chart/types/labelList.types.js +1 -0
- package/chart/types/seria.types.d.ts +14 -1
- package/checkbox-group/Component.js +2 -2
- package/checkbox-group/cssm/Component.js +1 -1
- package/checkbox-group/esm/Component.js +2 -2
- package/checkbox-group/esm/index.css +17 -17
- package/checkbox-group/index.css +17 -17
- package/checkbox-group/modern/Component.js +2 -2
- package/checkbox-group/modern/index.css +17 -17
- package/confirmation/component.js +2 -2
- package/confirmation/components/code-input/component.js +1 -1
- package/confirmation/components/code-input/index.css +9 -9
- package/confirmation/components/countdown/component.js +1 -1
- package/confirmation/components/countdown/index.css +13 -13
- package/confirmation/components/countdown-loader/component.js +1 -1
- package/confirmation/components/countdown-loader/index.css +2 -2
- package/confirmation/components/overlimit/component.js +1 -1
- package/confirmation/components/overlimit/index.css +9 -9
- package/confirmation/components/sign-confirmation/component.js +2 -2
- package/confirmation/components/sign-confirmation/index.css +13 -13
- package/confirmation/cssm/component.js +1 -1
- package/confirmation/cssm/components/sign-confirmation/component.js +1 -1
- package/confirmation/esm/component.js +2 -2
- package/confirmation/esm/components/code-input/component.js +1 -1
- package/confirmation/esm/components/code-input/index.css +9 -9
- package/confirmation/esm/components/countdown/component.js +1 -1
- package/confirmation/esm/components/countdown/index.css +13 -13
- package/confirmation/esm/components/countdown-loader/component.js +1 -1
- package/confirmation/esm/components/countdown-loader/index.css +2 -2
- package/confirmation/esm/components/overlimit/component.js +1 -1
- package/confirmation/esm/components/overlimit/index.css +9 -9
- package/confirmation/esm/components/sign-confirmation/component.js +2 -2
- package/confirmation/esm/components/sign-confirmation/index.css +13 -13
- package/confirmation/esm/index.css +14 -14
- package/confirmation/index.css +14 -14
- package/confirmation/modern/component.js +2 -2
- package/confirmation/modern/components/code-input/component.js +1 -1
- package/confirmation/modern/components/code-input/index.css +9 -9
- package/confirmation/modern/components/countdown/component.js +1 -1
- package/confirmation/modern/components/countdown/index.css +13 -13
- package/confirmation/modern/components/countdown-loader/component.js +1 -1
- package/confirmation/modern/components/countdown-loader/index.css +2 -2
- package/confirmation/modern/components/overlimit/component.js +1 -1
- package/confirmation/modern/components/overlimit/index.css +9 -9
- package/confirmation/modern/components/sign-confirmation/component.js +2 -2
- package/confirmation/modern/components/sign-confirmation/index.css +13 -13
- package/confirmation/modern/index.css +14 -14
- package/date-input/Component.js +1 -1
- package/date-input/esm/Component.js +1 -1
- package/date-input/esm/index.css +4 -4
- package/date-input/index.css +4 -4
- package/date-input/modern/Component.js +1 -1
- package/date-input/modern/index.css +4 -4
- package/file-upload-item/Component.d.ts +12 -1
- package/file-upload-item/Component.js +5 -6
- package/file-upload-item/cssm/Component.d.ts +12 -1
- package/file-upload-item/cssm/Component.js +4 -5
- package/file-upload-item/esm/Component.d.ts +12 -1
- package/file-upload-item/esm/Component.js +5 -6
- package/file-upload-item/esm/index.css +16 -16
- package/file-upload-item/index.css +16 -16
- package/file-upload-item/modern/Component.d.ts +12 -1
- package/file-upload-item/modern/Component.js +5 -6
- package/file-upload-item/modern/index.css +16 -16
- package/form-control/Component.js +4 -4
- package/form-control/cssm/Component.js +1 -1
- package/form-control/default.css +15 -15
- package/form-control/esm/Component.js +4 -4
- package/form-control/esm/default.css +15 -15
- package/form-control/esm/index.css +42 -42
- package/form-control/esm/inverted.css +15 -15
- package/form-control/index.css +42 -42
- package/form-control/inverted.css +15 -15
- package/form-control/modern/Component.js +4 -4
- package/form-control/modern/default.css +15 -15
- package/form-control/modern/index.css +42 -42
- package/form-control/modern/inverted.css +15 -15
- package/gallery/Component.js +2 -2
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/header/index.js +1 -1
- package/gallery/components/image-viewer/component.js +2 -2
- package/gallery/components/image-viewer/index.js +2 -2
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/components/index.js +2 -2
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +2 -2
- package/gallery/esm/components/image-viewer/index.js +2 -2
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/index.js +2 -2
- package/gallery/esm/{slide-2c5303bf.d.ts → slide-87570b70.d.ts} +0 -0
- package/gallery/esm/{slide-2c5303bf.js → slide-87570b70.js} +0 -0
- package/gallery/esm/{tslib.es6-e5bfa024.d.ts → tslib.es6-76ecfd4c.d.ts} +0 -0
- package/gallery/esm/{tslib.es6-e5bfa024.js → tslib.es6-76ecfd4c.js} +0 -0
- package/gallery/index.js +2 -2
- package/gallery/modern/Component.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +1 -1
- package/gallery/modern/index.js +1 -1
- package/gallery/modern/{slide-31efe610.d.ts → slide-d973cd14.d.ts} +0 -0
- package/gallery/modern/{slide-31efe610.js → slide-d973cd14.js} +0 -0
- package/gallery/{slide-5f9593b7.d.ts → slide-4c7a53b7.d.ts} +0 -0
- package/gallery/{slide-5f9593b7.js → slide-4c7a53b7.js} +0 -0
- package/gallery/{tslib.es6-d5e3524f.d.ts → tslib.es6-d8fd377b.d.ts} +0 -0
- package/gallery/{tslib.es6-d5e3524f.js → tslib.es6-d8fd377b.js} +0 -0
- package/input/Component.js +3 -3
- package/input/default.css +13 -13
- package/input/esm/Component.js +3 -3
- package/input/esm/default.css +13 -13
- package/input/esm/index.css +31 -31
- package/input/esm/inverted.css +13 -13
- package/input/index.css +31 -31
- package/input/inverted.css +13 -13
- package/input/modern/Component.js +3 -3
- package/input/modern/default.css +13 -13
- package/input/modern/index.css +31 -31
- package/input/modern/inverted.css +13 -13
- package/input-autocomplete/{Component-658ecc84.d.ts → Component-0e73e267.d.ts} +0 -0
- package/input-autocomplete/{Component-658ecc84.js → Component-0e73e267.js} +1 -1
- package/input-autocomplete/Component.js +1 -1
- package/input-autocomplete/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/autocomplete-field/index.css +2 -2
- package/input-autocomplete/autocomplete-field/index.d.ts +1 -1
- package/input-autocomplete/autocomplete-field/index.js +1 -1
- package/input-autocomplete/esm/{Component-35cb3144.d.ts → Component-dd7c3b6d.d.ts} +0 -0
- package/input-autocomplete/esm/{Component-35cb3144.js → Component-dd7c3b6d.js} +1 -1
- package/input-autocomplete/esm/Component.js +1 -1
- package/input-autocomplete/esm/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/esm/autocomplete-field/index.css +2 -2
- package/input-autocomplete/esm/autocomplete-field/index.d.ts +1 -1
- package/input-autocomplete/esm/autocomplete-field/index.js +1 -1
- package/input-autocomplete/esm/index.js +1 -1
- package/input-autocomplete/index.js +1 -1
- package/input-autocomplete/modern/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/modern/autocomplete-field/index.css +2 -2
- package/intl-phone-input/{component-2901b48c.d.ts → component-498d4124.d.ts} +0 -0
- package/intl-phone-input/{component-2901b48c.js → component-498d4124.js} +1 -1
- package/intl-phone-input/component.d.ts +1 -1
- package/intl-phone-input/component.js +3 -3
- package/intl-phone-input/components/flag-icon/component.js +1 -1
- package/intl-phone-input/components/flag-icon/index.css +784 -784
- package/intl-phone-input/components/index.js +1 -1
- package/intl-phone-input/components/select/component.js +2 -2
- package/intl-phone-input/components/select/index.css +6 -6
- package/intl-phone-input/components/select/index.js +1 -1
- package/intl-phone-input/components/select-field/component.js +1 -1
- package/intl-phone-input/components/select-field/index.css +8 -8
- package/intl-phone-input/components/select-field/index.d.ts +1 -1
- package/intl-phone-input/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/{component-b0494269.d.ts → component-ef978414.d.ts} +0 -0
- package/intl-phone-input/esm/{component-b0494269.js → component-ef978414.js} +1 -1
- package/intl-phone-input/esm/component.js +3 -3
- package/intl-phone-input/esm/components/flag-icon/component.js +1 -1
- package/intl-phone-input/esm/components/flag-icon/index.css +784 -784
- package/intl-phone-input/esm/components/index.js +1 -1
- package/intl-phone-input/esm/components/select/component.js +2 -2
- package/intl-phone-input/esm/components/select/index.css +6 -6
- package/intl-phone-input/esm/components/select/index.js +1 -1
- package/intl-phone-input/esm/components/select-field/component.js +1 -1
- package/intl-phone-input/esm/components/select-field/index.css +8 -8
- package/intl-phone-input/esm/components/select-field/index.d.ts +1 -1
- package/intl-phone-input/esm/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/index.css +3 -3
- package/intl-phone-input/esm/index.js +1 -1
- package/intl-phone-input/esm/{libphonenumber-js.min-4d9b997b.d.ts → libphonenumber-js.min-34032a4a.d.ts} +0 -0
- package/intl-phone-input/esm/{libphonenumber-js.min-4d9b997b.js → libphonenumber-js.min-34032a4a.js} +0 -0
- package/intl-phone-input/index.css +3 -3
- package/intl-phone-input/index.js +1 -1
- package/intl-phone-input/{libphonenumber-js.min-893b6a4c.d.ts → libphonenumber-js.min-5ea47984.d.ts} +0 -0
- package/intl-phone-input/{libphonenumber-js.min-893b6a4c.js → libphonenumber-js.min-5ea47984.js} +0 -0
- package/intl-phone-input/modern/component.js +2 -2
- package/intl-phone-input/modern/components/flag-icon/component.js +1 -1
- package/intl-phone-input/modern/components/flag-icon/index.css +784 -784
- package/intl-phone-input/modern/components/select/component.js +1 -1
- package/intl-phone-input/modern/components/select/index.css +6 -6
- package/intl-phone-input/modern/components/select-field/component.js +1 -1
- package/intl-phone-input/modern/components/select-field/index.css +8 -8
- package/intl-phone-input/modern/index.css +3 -3
- package/intl-phone-input/modern/{libphonenumber-js.min-4d9b997b.d.ts → libphonenumber-js.min-34032a4a.d.ts} +0 -0
- package/intl-phone-input/modern/{libphonenumber-js.min-4d9b997b.js → libphonenumber-js.min-34032a4a.js} +0 -0
- package/masked-input/Component.js +1 -1
- package/masked-input/esm/Component.js +1 -1
- package/masked-input/esm/index.css +2 -2
- package/masked-input/index.css +2 -2
- package/masked-input/modern/Component.js +1 -1
- package/masked-input/modern/index.css +2 -2
- package/modal/Component.desktop.js +2 -2
- package/modal/Component.mobile.js +2 -2
- package/modal/Component.responsive.js +2 -2
- package/modal/components/closer/Component.js +1 -1
- package/modal/components/content/Component.desktop.js +1 -1
- package/modal/components/content/Component.mobile.js +1 -1
- package/modal/components/footer/Component.desktop.js +1 -1
- package/modal/components/footer/Component.mobile.js +1 -1
- package/modal/components/header/Component.desktop.js +1 -1
- package/modal/components/header/Component.js +1 -1
- package/modal/components/header/Component.mobile.js +1 -1
- package/modal/desktop.js +2 -2
- package/modal/esm/Component.desktop.js +2 -2
- package/modal/esm/Component.mobile.js +2 -2
- package/modal/esm/Component.responsive.js +2 -2
- package/modal/esm/components/closer/Component.js +1 -1
- package/modal/esm/components/content/Component.desktop.js +1 -1
- package/modal/esm/components/content/Component.mobile.js +1 -1
- package/modal/esm/components/footer/Component.desktop.js +1 -1
- package/modal/esm/components/footer/Component.mobile.js +1 -1
- package/modal/esm/components/header/Component.desktop.js +1 -1
- package/modal/esm/components/header/Component.js +1 -1
- package/modal/esm/components/header/Component.mobile.js +1 -1
- package/modal/esm/desktop.js +2 -2
- package/modal/esm/index.js +2 -2
- package/modal/esm/mobile.js +2 -2
- package/modal/esm/responsive.js +2 -2
- package/modal/esm/{transitions.module-45fbb621.js → transitions.module-149880b4.js} +0 -0
- package/modal/esm/{tslib.es6-4214739e.d.ts → tslib.es6-44283f35.d.ts} +0 -0
- package/modal/esm/{tslib.es6-4214739e.js → tslib.es6-44283f35.js} +0 -0
- package/modal/index.js +2 -2
- package/modal/mobile.js +2 -2
- package/modal/modern/Component.desktop.js +1 -1
- package/modal/modern/Component.mobile.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/desktop.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile.js +1 -1
- package/modal/modern/responsive.js +1 -1
- package/modal/modern/{transitions.module-45fbb621.js → transitions.module-149880b4.js} +0 -0
- package/modal/responsive.js +2 -2
- package/modal/{transitions.module-b67d0f1c.js → transitions.module-fb5051a6.js} +0 -0
- package/modal/{tslib.es6-ccd35f7f.d.ts → tslib.es6-dffc199b.d.ts} +0 -0
- package/modal/{tslib.es6-ccd35f7f.js → tslib.es6-dffc199b.js} +0 -0
- package/package.json +3 -2
- package/password-input/component.js +1 -1
- package/password-input/esm/component.js +1 -1
- package/password-input/esm/index.css +5 -5
- package/password-input/index.css +5 -5
- package/password-input/modern/component.js +1 -1
- package/password-input/modern/index.css +5 -5
- package/picker-button/{Component-cb99627b.d.ts → Component-8a497560.d.ts} +0 -0
- package/picker-button/{Component-cb99627b.js → Component-8a497560.js} +1 -1
- package/picker-button/Component.d.ts +1 -1
- package/picker-button/Component.js +2 -2
- package/picker-button/esm/{Component-94ad1b6c.d.ts → Component-a0f8bf33.d.ts} +0 -0
- package/picker-button/esm/{Component-94ad1b6c.js → Component-a0f8bf33.js} +1 -1
- package/picker-button/esm/Component.js +2 -2
- package/picker-button/esm/field/Component.js +1 -1
- package/picker-button/esm/field/index.css +3 -3
- package/picker-button/esm/field/index.d.ts +1 -1
- package/picker-button/esm/field/index.js +1 -1
- package/picker-button/esm/index.css +2 -2
- package/picker-button/esm/index.js +1 -1
- package/picker-button/field/Component.js +1 -1
- package/picker-button/field/index.css +3 -3
- package/picker-button/field/index.d.ts +1 -1
- package/picker-button/field/index.js +1 -1
- package/picker-button/index.css +2 -2
- package/picker-button/index.js +1 -1
- package/picker-button/modern/Component.js +1 -1
- package/picker-button/modern/field/Component.js +1 -1
- package/picker-button/modern/field/index.css +3 -3
- package/picker-button/modern/index.css +2 -2
- package/radio-group/Component.js +2 -2
- package/radio-group/cssm/Component.js +1 -1
- package/radio-group/esm/Component.js +2 -2
- package/radio-group/esm/index.css +17 -17
- package/radio-group/index.css +17 -17
- package/radio-group/modern/Component.js +2 -2
- package/radio-group/modern/index.css +17 -17
- package/select/Component.js +1 -1
- package/select/components/arrow/Component.js +1 -1
- package/select/components/arrow/index.css +3 -3
- package/select/components/base-select/Component.js +2 -2
- package/select/components/base-select/index.css +7 -7
- package/select/components/base-select/index.js +1 -1
- package/select/components/checkmark/Component.js +1 -1
- package/select/components/checkmark/index.css +3 -3
- package/select/components/field/Component.js +2 -2
- package/select/components/field/index.css +9 -9
- package/select/components/field/index.js +1 -1
- package/select/components/index.js +1 -1
- package/select/components/native-select/Component.js +1 -1
- package/select/components/native-select/index.js +1 -1
- package/select/components/optgroup/Component.js +1 -1
- package/select/components/optgroup/index.css +6 -6
- package/select/components/option/Component.js +2 -2
- package/select/components/option/index.css +20 -20
- package/select/components/option/index.js +1 -1
- package/select/components/options-list/Component.js +1 -1
- package/select/components/options-list/index.css +5 -5
- package/select/components/virtual-options-list/Component.js +1 -1
- package/select/components/virtual-options-list/index.css +11 -11
- package/select/esm/Component.js +1 -1
- package/select/esm/components/arrow/Component.js +1 -1
- package/select/esm/components/arrow/index.css +3 -3
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/base-select/index.css +7 -7
- package/select/esm/components/base-select/index.js +1 -1
- package/select/esm/components/checkmark/Component.js +1 -1
- package/select/esm/components/checkmark/index.css +3 -3
- package/select/esm/components/field/Component.js +2 -2
- package/select/esm/components/field/index.css +9 -9
- package/select/esm/components/field/index.js +1 -1
- package/select/esm/components/index.js +1 -1
- package/select/esm/components/native-select/Component.js +1 -1
- package/select/esm/components/native-select/index.js +1 -1
- package/select/esm/components/optgroup/Component.js +1 -1
- package/select/esm/components/optgroup/index.css +6 -6
- package/select/esm/components/option/Component.js +2 -2
- package/select/esm/components/option/index.css +20 -20
- package/select/esm/components/option/index.js +1 -1
- package/select/esm/components/options-list/Component.js +1 -1
- package/select/esm/components/options-list/index.css +5 -5
- package/select/esm/components/virtual-options-list/Component.js +1 -1
- package/select/esm/components/virtual-options-list/index.css +11 -11
- package/select/esm/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useLazyLoading/hook.js +2 -2
- package/select/esm/presets/useLazyLoading/index.css +2 -2
- package/select/esm/presets/useSelectWithLoading/hook.js +2 -2
- package/select/esm/presets/useSelectWithLoading/index.css +2 -2
- package/select/esm/{tslib.es6-abde084a.d.ts → tslib.es6-c439a3c2.d.ts} +0 -0
- package/select/esm/{tslib.es6-abde084a.js → tslib.es6-c439a3c2.js} +0 -0
- package/select/index.js +1 -1
- package/select/modern/components/arrow/Component.js +1 -1
- package/select/modern/components/arrow/index.css +3 -3
- package/select/modern/components/base-select/Component.js +1 -1
- package/select/modern/components/base-select/index.css +7 -7
- package/select/modern/components/checkmark/Component.js +1 -1
- package/select/modern/components/checkmark/index.css +3 -3
- package/select/modern/components/field/Component.js +1 -1
- package/select/modern/components/field/index.css +9 -9
- package/select/modern/components/optgroup/Component.js +1 -1
- package/select/modern/components/optgroup/index.css +6 -6
- package/select/modern/components/option/Component.js +1 -1
- package/select/modern/components/option/index.css +20 -20
- package/select/modern/components/options-list/Component.js +1 -1
- package/select/modern/components/options-list/index.css +5 -5
- package/select/modern/components/virtual-options-list/Component.js +1 -1
- package/select/modern/components/virtual-options-list/index.css +11 -11
- package/select/modern/presets/useLazyLoading/hook.js +1 -1
- package/select/modern/presets/useLazyLoading/index.css +2 -2
- package/select/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/select/modern/presets/useSelectWithLoading/index.css +2 -2
- package/select/presets/index.js +1 -1
- package/select/presets/useLazyLoading/hook.js +2 -2
- package/select/presets/useLazyLoading/index.css +2 -2
- package/select/presets/useSelectWithLoading/hook.js +2 -2
- package/select/presets/useSelectWithLoading/index.css +2 -2
- package/select/{tslib.es6-0f234b35.d.ts → tslib.es6-f0c8b058.d.ts} +0 -0
- package/select/{tslib.es6-0f234b35.js → tslib.es6-f0c8b058.js} +0 -0
- package/slider-input/Component.js +1 -1
- package/slider-input/esm/Component.js +1 -1
- package/slider-input/esm/index.css +17 -17
- package/slider-input/index.css +17 -17
- package/slider-input/modern/Component.js +1 -1
- package/slider-input/modern/index.css +17 -17
- package/tabs/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/components/primary-tablist/Component.js +14 -12
- package/tabs/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/components/secondary-tablist/Component.desktop.js +2 -2
- package/tabs/components/secondary-tablist/Component.js +1 -1
- package/tabs/components/secondary-tablist/Component.mobile.js +2 -2
- package/tabs/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/components/tabs/Component.desktop.js +3 -3
- package/tabs/components/tabs/Component.mobile.js +3 -3
- package/tabs/components/tabs/Component.responsive.js +3 -3
- package/tabs/cssm/components/primary-tablist/Component.js +13 -11
- package/tabs/cssm/useTabs.d.ts +1 -1
- package/tabs/cssm/useTabs.js +3 -2
- package/tabs/desktop.js +3 -3
- package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.js +14 -12
- package/tabs/esm/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.mobile.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/tabs/Component.desktop.js +3 -3
- package/tabs/esm/components/tabs/Component.mobile.js +3 -3
- package/tabs/esm/components/tabs/Component.responsive.js +3 -3
- package/tabs/esm/desktop.js +3 -3
- package/tabs/esm/index.js +3 -3
- package/tabs/esm/{index.module-c8448fef.js → index.module-31042309.js} +0 -0
- package/tabs/esm/{index.module-fbbc84ff.js → index.module-4b8e748a.js} +0 -0
- package/tabs/esm/mobile.js +3 -3
- package/tabs/esm/responsive.js +3 -3
- package/tabs/esm/{tslib.es6-787ef7a5.d.ts → tslib.es6-ca61a599.d.ts} +0 -0
- package/tabs/esm/{tslib.es6-787ef7a5.js → tslib.es6-ca61a599.js} +0 -0
- package/tabs/esm/useTabs.d.ts +1 -1
- package/tabs/esm/useTabs.js +3 -2
- package/tabs/index.js +3 -3
- package/tabs/{index.module-91539407.js → index.module-962759d1.js} +0 -0
- package/tabs/{index.module-95d8761b.js → index.module-c1c14145.js} +0 -0
- package/tabs/mobile.js +3 -3
- package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.js +10 -8
- package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/tabs/Component.desktop.js +2 -2
- package/tabs/modern/components/tabs/Component.mobile.js +2 -2
- package/tabs/modern/components/tabs/Component.responsive.js +2 -2
- package/tabs/modern/desktop.js +2 -2
- package/tabs/modern/index.js +2 -2
- package/tabs/modern/{index.module-c8448fef.js → index.module-31042309.js} +0 -0
- package/tabs/modern/{index.module-fbbc84ff.js → index.module-4b8e748a.js} +0 -0
- package/tabs/modern/mobile.js +2 -2
- package/tabs/modern/responsive.js +2 -2
- package/tabs/modern/useTabs.d.ts +1 -1
- package/tabs/modern/useTabs.js +3 -2
- package/tabs/responsive.js +3 -3
- package/tabs/{tslib.es6-da6ab86a.d.ts → tslib.es6-351f4d47.d.ts} +0 -0
- package/tabs/{tslib.es6-da6ab86a.js → tslib.es6-351f4d47.js} +0 -0
- package/tabs/useTabs.d.ts +1 -1
- package/tabs/useTabs.js +3 -2
- package/textarea/Component.js +3 -3
- package/textarea/default.css +19 -19
- package/textarea/esm/Component.js +3 -3
- package/textarea/esm/default.css +19 -19
- package/textarea/esm/index.css +22 -22
- package/textarea/esm/inverted.css +19 -19
- package/textarea/index.css +22 -22
- package/textarea/inverted.css +19 -19
- package/textarea/modern/Component.js +3 -3
- package/textarea/modern/default.css +19 -19
- package/textarea/modern/index.css +22 -22
- package/textarea/modern/inverted.css +19 -19
- package/themes/compiled/mobile-dark-bluetint.css +28 -28
- package/themes/dist/compiled/mobile-dark-bluetint.css +154 -154
- package/typography/{colors.module-b49182a7.d.ts → colors.module-ded492e1.d.ts} +0 -0
- package/typography/{colors.module-b49182a7.js → colors.module-ded492e1.js} +0 -0
- package/typography/{common.module-263677ac.js → common.module-1de331b9.js} +0 -0
- package/typography/component.js +2 -2
- package/typography/esm/{colors.module-509f4855.d.ts → colors.module-d21f47ee.d.ts} +0 -0
- package/typography/esm/{colors.module-509f4855.js → colors.module-d21f47ee.js} +0 -0
- package/typography/esm/{common.module-961ee2a7.js → common.module-9782b936.js} +0 -0
- package/typography/esm/component.js +2 -2
- package/typography/esm/index.js +2 -2
- package/typography/esm/text/component.js +1 -1
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.js +2 -2
- package/typography/esm/title-responsive/component.js +2 -2
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/index.js +2 -2
- package/typography/modern/{colors.module-07a98532.js → colors.module-5a6490a8.js} +0 -0
- package/typography/modern/{common.module-961ee2a7.js → common.module-9782b936.js} +0 -0
- package/typography/modern/component.js +2 -2
- package/typography/modern/index.js +2 -2
- package/typography/modern/text/component.js +1 -1
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.js +2 -2
- package/typography/modern/title-responsive/component.js +2 -2
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +1 -1
- package/typography/text/index.js +1 -1
- package/typography/title/component.js +1 -1
- package/typography/title/index.js +2 -2
- package/typography/title-responsive/component.js +2 -2
- package/typography/title-responsive/index.js +2 -2
- package/with-suffix/Component.js +1 -1
- package/with-suffix/esm/Component.js +1 -1
- package/with-suffix/esm/index.css +9 -9
- package/with-suffix/index.css +9 -9
- package/with-suffix/modern/Component.js +1 -1
- package/with-suffix/modern/index.css +9 -9
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../hooks/usePathBar/utils/getRadius.js';
|
|
3
|
+
import { usePathBar } from '../hooks/usePathBar/index.js';
|
|
4
|
+
|
|
5
|
+
var CustomizedLabel = function (_a) {
|
|
6
|
+
var x = _a.x, y = _a.y, value = _a.value, offset = _a.offset, radius = _a.radius, height = _a.height, width = _a.width, formatter = _a.formatter;
|
|
7
|
+
var initHeight = usePathBar({ radius: radius, height: height })[0];
|
|
8
|
+
return (React.createElement("text", { x: x + width / 2, y: y + height - (initHeight + offset), width: width, height: initHeight, textAnchor: 'middle' },
|
|
9
|
+
React.createElement("tspan", { x: x + width / 2 }, formatter ? formatter(value) : value)));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { CustomizedLabel };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
1
|
+
/* hash: 1wctd */
|
|
2
|
+
.chart__dotUnfocused_1wctd {
|
|
3
3
|
opacity: 0.3;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.
|
|
7
|
-
.
|
|
8
|
-
.
|
|
6
|
+
.chart__dot_1wctd,
|
|
7
|
+
.chart__dotItem_1wctd,
|
|
8
|
+
.chart__dotWrap_1wctd {
|
|
9
9
|
transition: all 0.2s ease;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
13
|
-
animation:
|
|
12
|
+
.chart__dot_1wctd {
|
|
13
|
+
animation: chart__showDot_1wctd 0.5s ease;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
@keyframes
|
|
16
|
+
@keyframes chart__showDot_1wctd {
|
|
17
17
|
from {
|
|
18
18
|
opacity: 0;
|
|
19
19
|
}
|
|
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { PointIcon } from '../../icons/Point.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"dotUnfocused":"
|
|
5
|
+
var styles = {"dotUnfocused":"chart__dotUnfocused_1wctd","dot":"chart__dot_1wctd","dotItem":"chart__dotItem_1wctd","dotWrap":"chart__dotWrap_1wctd","showDot":"chart__showDot_1wctd"};
|
|
6
6
|
require('./index.css');
|
|
7
7
|
|
|
8
8
|
var Dot = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: zwswg */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,31 +10,31 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-2xl: 32px;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.chart__legendContent_zwswg {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
flex-wrap: wrap;
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.chart__legendWrap_zwswg {
|
|
19
19
|
width: 100%;
|
|
20
20
|
margin: 0;
|
|
21
21
|
padding: 0;
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.chart__legendItem_zwswg {
|
|
24
24
|
margin-right: var(--gap-2xl);
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
display: inline-block;
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.chart__legendItem_zwswg:last-child {
|
|
29
29
|
margin-right: 0;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.chart__legendUnactive_zwswg {
|
|
32
32
|
opacity: 0.3;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.chart__legendIcon_zwswg {
|
|
35
35
|
margin-right: 13px;
|
|
36
36
|
display: flex;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.chart__legendValue_zwswg {
|
|
39
39
|
text-transform: capitalize;
|
|
40
40
|
}
|
|
@@ -6,7 +6,7 @@ import { CircleLineIcon } from '../../icons/CircleLine.js';
|
|
|
6
6
|
import { FilledCircleIcon } from '../../icons/FilledCircle.js';
|
|
7
7
|
import { StrokeCircleIcon } from '../../icons/StrokeCircle.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"legendContent":"
|
|
9
|
+
var styles = {"legendContent":"chart__legendContent_zwswg","legendWrap":"chart__legendWrap_zwswg","legendItem":"chart__legendItem_zwswg","legendUnactive":"chart__legendUnactive_zwswg","legendIcon":"chart__legendIcon_zwswg","legendValue":"chart__legendValue_zwswg"};
|
|
10
10
|
require('./index.css');
|
|
11
11
|
|
|
12
12
|
var icons = {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
|
+
import '../hooks/usePathBar/utils/getRadius.js';
|
|
3
|
+
import { usePathBar } from '../hooks/usePathBar/index.js';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line complexity
|
|
6
|
+
var getPath = function (x, width, height, initHeight, topRadius, bottomRadius, initY) {
|
|
7
|
+
return "\n M" + (x + ((height !== 0 && bottomRadius) || 0)) + " " + (initY + initHeight || 0) + "\n Q" + x + " " + (initY + initHeight) + " " + x + " " + (initY +
|
|
8
|
+
initHeight -
|
|
9
|
+
((height !== 0 && bottomRadius) || 0)) + "\n L" + x + " " + (initY + ((height !== 0 && topRadius) || 0)) + "\n Q" + x + " " + initY + " " + (x + ((height !== 0 && topRadius) || 0)) + " " + initY + "\n L" + (x + width - ((height !== 0 && topRadius) || 0)) + " " + initY + "\n Q" + (x + width) + " " + initY + " " + (x + width) + " " + (initY + (topRadius || 0)) + "\n L" + (x + width) + " " + (initY + initHeight - ((height !== 0 && bottomRadius) || 0)) + "\n Q" + (x + width) + " " + (initY + initHeight) + " " + (x +
|
|
10
|
+
width -
|
|
11
|
+
((height !== 0 && bottomRadius) || 0)) + " " + (initY + initHeight) + "\n Z\n ";
|
|
12
|
+
};
|
|
13
|
+
var RectBar = function (_a) {
|
|
14
|
+
var fill = _a.fill, x = _a.x, y = _a.y, width = _a.width, height = _a.height, radius = _a.radius, background = _a.background;
|
|
15
|
+
var _b = usePathBar({
|
|
16
|
+
radius: radius,
|
|
17
|
+
height: height,
|
|
18
|
+
background: background,
|
|
19
|
+
y: y,
|
|
20
|
+
}), initHeight = _b[0], topRadius = _b[1], bottomRadius = _b[2], initY = _b[3];
|
|
21
|
+
var path = useMemo(function () { return (React.createElement("path", { d: getPath(x, width, height, initHeight, topRadius, bottomRadius, initY), stroke: 'none', fill: fill })); }, [x, width, height, initHeight, topRadius, bottomRadius, initY, fill]);
|
|
22
|
+
return React.createElement(React.Fragment, null, path);
|
|
23
|
+
};
|
|
24
|
+
var RectBar$1 = React.memo(RectBar);
|
|
25
|
+
|
|
26
|
+
export default RectBar$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vfd9 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-dark-bg-primary: #0b1f35;
|
|
4
4
|
--color-light-text-primary: #0b1f35;
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
|
|
12
12
|
/* Hard up */
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
.chart__tickText_1vfd9 {
|
|
15
15
|
fill: var(--color-light-text-primary);
|
|
16
16
|
font-size: 16px;
|
|
17
17
|
line-height: 24px;
|
|
18
18
|
font-weight: 400;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.chart__circle_1vfd9 {
|
|
21
21
|
opacity: 0.3;
|
|
22
22
|
fill: var(--color-dark-bg-primary);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.chart__circle_1vfd9 {
|
|
25
25
|
opacity: 0.3;
|
|
26
26
|
fill: var(--color-dark-bg-primary);
|
|
27
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"tickText":"
|
|
4
|
+
var styles = {"tickText":"chart__tickText_1vfd9","circle":"chart__circle_1vfd9"};
|
|
5
5
|
require('./index.css');
|
|
6
6
|
|
|
7
7
|
var Tick = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1b2rk */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-border-primary: #dbdee1;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
:root {
|
|
20
20
|
--border-radius-m: 8px;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.chart__tooltip_1b2rk {
|
|
23
23
|
background-color: var(--color-light-bg-primary);
|
|
24
24
|
border: 1px solid var(--color-light-border-primary);
|
|
25
25
|
box-shadow: var(--shadow-l);
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
pointer-events: none;
|
|
29
29
|
position: relative;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.chart__tooltipList_1b2rk {
|
|
32
32
|
position: relative;
|
|
33
33
|
z-index: 5;
|
|
34
34
|
list-style-type: none;
|
|
35
35
|
padding: 0;
|
|
36
36
|
margin: 0;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.chart__tooltipItem_1b2rk {
|
|
39
39
|
margin-bottom: 10px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.chart__tooltipArrow_1b2rk {
|
|
42
42
|
position: absolute;
|
|
43
43
|
left: 0;
|
|
44
44
|
top: 50%;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
border: 1px solid var(--color-light-border-primary);
|
|
49
49
|
background-color: var(--color-light-bg-primary);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.chart__tooltipArrow_1b2rk:before {
|
|
52
52
|
content: '';
|
|
53
53
|
position: absolute;
|
|
54
54
|
left: -2px;
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
border-width: 0 24px 24px 0;
|
|
60
60
|
border-color: transparent var(--color-light-bg-primary) transparent transparent;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.chart__tooltipArrowRight_1b2rk {
|
|
63
63
|
left: 100%;
|
|
64
64
|
transform: translate(-50%, -50%) scale(-1, 1) rotate(45deg);
|
|
65
65
|
}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Typography } from '../../../../typography/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"tooltip":"
|
|
5
|
+
var styles = {"tooltip":"chart__tooltip_1b2rk","tooltipList":"chart__tooltipList_1b2rk","tooltipItem":"chart__tooltipItem_1b2rk","tooltipArrow":"chart__tooltipArrow_1b2rk","tooltipArrowRight":"chart__tooltipArrowRight_1b2rk"};
|
|
6
6
|
require('./index.css');
|
|
7
7
|
|
|
8
8
|
var TooltipContent = function (_a) {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RadiusProp } from "../../types/seria.types";
|
|
2
|
+
type usePathBarProps = {
|
|
3
|
+
radius?: RadiusProp;
|
|
4
|
+
height: number;
|
|
5
|
+
background?: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
height: number;
|
|
9
|
+
width: number;
|
|
10
|
+
};
|
|
11
|
+
y?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const usePathBar: (props: usePathBarProps) => number[];
|
|
14
|
+
export { usePathBarProps, usePathBar };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
import { getRadius } from './utils/getRadius.js';
|
|
3
|
+
|
|
4
|
+
var usePathBar = function (props) {
|
|
5
|
+
var _a = useState(0), topRadius = _a[0], setTopRadius = _a[1];
|
|
6
|
+
var _b = useState(0), bottomRadius = _b[0], setBottomRadius = _b[1];
|
|
7
|
+
var _c = useState(0), initHeight = _c[0], setInitHeight = _c[1];
|
|
8
|
+
var _d = useState(0), initY = _d[0], setInitY = _d[1];
|
|
9
|
+
useEffect(function () {
|
|
10
|
+
var radius = props.radius, height = props.height, background = props.background, y = props.y;
|
|
11
|
+
var radiusTop = (radius === null || radius === void 0 ? void 0 : radius.top) ? getRadius(height, radius.top) : 0;
|
|
12
|
+
var radiusBottom = (radius === null || radius === void 0 ? void 0 : radius.bottom) ? getRadius(height, radius.bottom) : 0;
|
|
13
|
+
var heightCheck = (radius && height !== 0 && height / 2 < ((radius === null || radius === void 0 ? void 0 : radius.top) || 0)) ||
|
|
14
|
+
height / 2 < ((radius === null || radius === void 0 ? void 0 : radius.bottom) || 0);
|
|
15
|
+
// eslint-disable-next-line no-nested-ternary
|
|
16
|
+
var heightInit = heightCheck
|
|
17
|
+
? (radiusTop || radiusBottom) && radiusTop + radiusBottom
|
|
18
|
+
: height > 0 && height < 2
|
|
19
|
+
? 2
|
|
20
|
+
: height;
|
|
21
|
+
if (background && y) {
|
|
22
|
+
var yInit = heightCheck
|
|
23
|
+
? background.height + background.y - (radiusTop + radiusBottom)
|
|
24
|
+
: y;
|
|
25
|
+
setInitY(yInit);
|
|
26
|
+
}
|
|
27
|
+
if (radiusTop !== 0)
|
|
28
|
+
setTopRadius(radiusTop);
|
|
29
|
+
if (radiusBottom !== 0)
|
|
30
|
+
setBottomRadius(radiusBottom);
|
|
31
|
+
if (heightInit !== 0)
|
|
32
|
+
setInitHeight(heightInit);
|
|
33
|
+
}, [props]);
|
|
34
|
+
return [initHeight, topRadius, bottomRadius, initY];
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export { usePathBar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../../tslib.es6-
|
|
1
|
+
import { _ as __assign } from '../../tslib.es6-a3fbf5e6.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
import { setComposedChartsMargin } from './utils/setComposedChartsMargin.js';
|
|
4
4
|
import { setDatas } from './utils/setDatas.js';
|
|
@@ -13,7 +13,7 @@ var useSettings = function (options) {
|
|
|
13
13
|
var _d = useState(0), filterCount = _d[0], setFilterCount = _d[1];
|
|
14
14
|
useEffect(function () {
|
|
15
15
|
var _a;
|
|
16
|
-
var settings =
|
|
16
|
+
var settings = __assign({}, options);
|
|
17
17
|
var brush = settings.brush, legend = settings.legend, series = settings.series, labels = settings.labels, composeChart = settings.composeChart, xAxis = settings.xAxis;
|
|
18
18
|
if (((_a = settings.legend) === null || _a === void 0 ? void 0 : _a.margin) && brush && legend)
|
|
19
19
|
settings.legend.margin.top = setLegendMargin(brush, legend);
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
var CircleIcon = function (_a) {
|
|
4
4
|
var _b = _a.fill, fill = _b === void 0 ? '#FF5C5C' : _b, _c = _a.height, height = _c === void 0 ? 16 : _c;
|
|
5
|
-
return (React.createElement("svg", { xmlns: 'http://www.w3.org/2000/svg',
|
|
5
|
+
return (React.createElement("svg", { xmlns: 'http://www.w3.org/2000/svg', height: height, viewBox: '0 0 16 16', fill: 'none' },
|
|
6
6
|
React.createElement("circle", { cx: '8', cy: '8', r: '8', fill: fill })));
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
var CircleLineIcon = function (_a) {
|
|
4
4
|
var _b = _a.fill, fill = _b === void 0 ? '#FF5C5C' : _b, _c = _a.height, height = _c === void 0 ? 16 : _c;
|
|
5
|
-
return (React.createElement("svg", { xmlns: 'http://www.w3.org/2000/svg',
|
|
5
|
+
return (React.createElement("svg", { xmlns: 'http://www.w3.org/2000/svg', height: height, viewBox: '0 0 22 12', fill: 'none' },
|
|
6
6
|
React.createElement("circle", { cx: '11', cy: '6', r: '6', fill: fill }),
|
|
7
7
|
React.createElement("rect", { y: '5', width: '22', height: '2', fill: fill })));
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
var StrokeCircleIcon = function (_a) {
|
|
4
4
|
var _b = _a.fill, fill = _b === void 0 ? '#5A8ECF' : _b, _c = _a.height, height = _c === void 0 ? 16 : _c;
|
|
5
|
-
return (React.createElement("svg", { xmlns: 'http://www.w3.org/2000/svg',
|
|
5
|
+
return (React.createElement("svg", { xmlns: 'http://www.w3.org/2000/svg', height: height, viewBox: '0 0 22 22', fill: 'none' },
|
|
6
6
|
React.createElement("circle", { cx: '11', cy: '11', r: '10', stroke: fill, strokeWidth: '2', strokeDasharray: '8 8' })));
|
|
7
7
|
};
|
|
8
8
|
|
package/chart/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ftghw */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
.chart__bar_ftghw {
|
|
11
11
|
transition: opacity 0.2s ease-out, d 0.2s ease-out;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.chart__unfocused_ftghw {
|
|
14
14
|
opacity: 0.3;
|
|
15
15
|
}
|
package/chart/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-a3fbf5e6.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'recharts';
|
|
@@ -17,6 +17,10 @@ import './hooks/useSettings/utils/setGradientCharts.js';
|
|
|
17
17
|
import './hooks/useSettings/utils/setLegendMargin.js';
|
|
18
18
|
import './hooks/useSettings/utils/sortByIndex.js';
|
|
19
19
|
import './hooks/useSettings/index.js';
|
|
20
|
+
import './hooks/usePathBar/utils/getRadius.js';
|
|
21
|
+
import './hooks/usePathBar/index.js';
|
|
22
|
+
import './components/CustomizedLabel.js';
|
|
23
|
+
import './components/RectBar.js';
|
|
20
24
|
import './components/Tick/index.js';
|
|
21
25
|
import './components/TooltipContent/index.js';
|
|
22
26
|
import './Component.js';
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ChartProps } from "./chart.types";
|
|
2
|
+
import { LabelListProps } from "./labelList.types";
|
|
2
3
|
import { DataProps } from "./utils/data.types";
|
|
3
4
|
import { GradientProps } from "./utils/gradient.types";
|
|
5
|
+
type RadiusProp = {
|
|
6
|
+
top?: number;
|
|
7
|
+
bottom?: number;
|
|
8
|
+
};
|
|
4
9
|
interface SeriaProps {
|
|
5
10
|
/**
|
|
6
11
|
* Скрыть график
|
|
@@ -22,6 +27,10 @@ interface SeriaProps {
|
|
|
22
27
|
* Тип графика
|
|
23
28
|
*/
|
|
24
29
|
chart: 'line' | 'area' | 'bar' | 'gradient';
|
|
30
|
+
/**
|
|
31
|
+
* Радиус закругления углов графика типа bar
|
|
32
|
+
*/
|
|
33
|
+
radius?: RadiusProp;
|
|
25
34
|
/**
|
|
26
35
|
* Тип иконки для графика
|
|
27
36
|
*/
|
|
@@ -47,6 +56,10 @@ interface SeriaProps {
|
|
|
47
56
|
*/
|
|
48
57
|
points: GradientProps[];
|
|
49
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* Параметры labels для графика типа bar
|
|
61
|
+
*/
|
|
62
|
+
labelList?: LabelListProps;
|
|
50
63
|
/**
|
|
51
64
|
* Параметры графика
|
|
52
65
|
*/
|
|
@@ -56,4 +69,4 @@ interface SeriaProps {
|
|
|
56
69
|
*/
|
|
57
70
|
data: DataProps[];
|
|
58
71
|
}
|
|
59
|
-
export { SeriaProps };
|
|
72
|
+
export { RadiusProp, SeriaProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RadiusProp } from "../../types/seria.types";
|
|
2
|
+
type usePathBarProps = {
|
|
3
|
+
radius?: RadiusProp;
|
|
4
|
+
height: number;
|
|
5
|
+
background?: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
height: number;
|
|
9
|
+
width: number;
|
|
10
|
+
};
|
|
11
|
+
y?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const usePathBar: (props: usePathBarProps) => number[];
|
|
14
|
+
export { usePathBarProps, usePathBar };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var hooks_usePathBar_utils_getRadius = require('./utils/getRadius.js');
|
|
5
|
+
|
|
6
|
+
var usePathBar = function (props) {
|
|
7
|
+
var _a = React.useState(0), topRadius = _a[0], setTopRadius = _a[1];
|
|
8
|
+
var _b = React.useState(0), bottomRadius = _b[0], setBottomRadius = _b[1];
|
|
9
|
+
var _c = React.useState(0), initHeight = _c[0], setInitHeight = _c[1];
|
|
10
|
+
var _d = React.useState(0), initY = _d[0], setInitY = _d[1];
|
|
11
|
+
React.useEffect(function () {
|
|
12
|
+
var radius = props.radius, height = props.height, background = props.background, y = props.y;
|
|
13
|
+
var radiusTop = (radius === null || radius === void 0 ? void 0 : radius.top) ? hooks_usePathBar_utils_getRadius.getRadius(height, radius.top) : 0;
|
|
14
|
+
var radiusBottom = (radius === null || radius === void 0 ? void 0 : radius.bottom) ? hooks_usePathBar_utils_getRadius.getRadius(height, radius.bottom) : 0;
|
|
15
|
+
var heightCheck = (radius && height !== 0 && height / 2 < ((radius === null || radius === void 0 ? void 0 : radius.top) || 0)) ||
|
|
16
|
+
height / 2 < ((radius === null || radius === void 0 ? void 0 : radius.bottom) || 0);
|
|
17
|
+
// eslint-disable-next-line no-nested-ternary
|
|
18
|
+
var heightInit = heightCheck
|
|
19
|
+
? (radiusTop || radiusBottom) && radiusTop + radiusBottom
|
|
20
|
+
: height > 0 && height < 2
|
|
21
|
+
? 2
|
|
22
|
+
: height;
|
|
23
|
+
if (background && y) {
|
|
24
|
+
var yInit = heightCheck
|
|
25
|
+
? background.height + background.y - (radiusTop + radiusBottom)
|
|
26
|
+
: y;
|
|
27
|
+
setInitY(yInit);
|
|
28
|
+
}
|
|
29
|
+
if (radiusTop !== 0)
|
|
30
|
+
setTopRadius(radiusTop);
|
|
31
|
+
if (radiusBottom !== 0)
|
|
32
|
+
setBottomRadius(radiusBottom);
|
|
33
|
+
if (heightInit !== 0)
|
|
34
|
+
setInitHeight(heightInit);
|
|
35
|
+
}, [props]);
|
|
36
|
+
return [initHeight, topRadius, bottomRadius, initY];
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
exports.usePathBar = usePathBar;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-8e7742ab.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var hooks_useSettings_utils_setComposedChartsMargin = require('./utils/setComposedChartsMargin.js');
|
|
6
6
|
var hooks_useSettings_utils_setDatas = require('./utils/setDatas.js');
|
|
@@ -15,7 +15,7 @@ var useSettings = function (options) {
|
|
|
15
15
|
var _d = React.useState(0), filterCount = _d[0], setFilterCount = _d[1];
|
|
16
16
|
React.useEffect(function () {
|
|
17
17
|
var _a;
|
|
18
|
-
var settings =
|
|
18
|
+
var settings = tslib_es6.__assign({}, options);
|
|
19
19
|
var brush = settings.brush, legend = settings.legend, series = settings.series, labels = settings.labels, composeChart = settings.composeChart, xAxis = settings.xAxis;
|
|
20
20
|
if (((_a = settings.legend) === null || _a === void 0 ? void 0 : _a.margin) && brush && legend)
|
|
21
21
|
settings.legend.margin.top = hooks_useSettings_utils_setLegendMargin.setLegendMargin(brush, legend);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../../tslib.es6-8e7742ab.js');
|
|
4
4
|
|
|
5
5
|
var setGradientCharts = function (series) {
|
|
6
6
|
var filterSeries = series.filter(function (item) { return item.chart !== 'gradient'; });
|
package/chart/icons/Circle.js
CHANGED
|
@@ -8,7 +8,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
8
8
|
|
|
9
9
|
var CircleIcon = function (_a) {
|
|
10
10
|
var _b = _a.fill, fill = _b === void 0 ? '#FF5C5C' : _b, _c = _a.height, height = _c === void 0 ? 16 : _c;
|
|
11
|
-
return (React__default['default'].createElement("svg", { xmlns: 'http://www.w3.org/2000/svg',
|
|
11
|
+
return (React__default['default'].createElement("svg", { xmlns: 'http://www.w3.org/2000/svg', height: height, viewBox: '0 0 16 16', fill: 'none' },
|
|
12
12
|
React__default['default'].createElement("circle", { cx: '8', cy: '8', r: '8', fill: fill })));
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
8
8
|
|
|
9
9
|
var CircleLineIcon = function (_a) {
|
|
10
10
|
var _b = _a.fill, fill = _b === void 0 ? '#FF5C5C' : _b, _c = _a.height, height = _c === void 0 ? 16 : _c;
|
|
11
|
-
return (React__default['default'].createElement("svg", { xmlns: 'http://www.w3.org/2000/svg',
|
|
11
|
+
return (React__default['default'].createElement("svg", { xmlns: 'http://www.w3.org/2000/svg', height: height, viewBox: '0 0 22 12', fill: 'none' },
|
|
12
12
|
React__default['default'].createElement("circle", { cx: '11', cy: '6', r: '6', fill: fill }),
|
|
13
13
|
React__default['default'].createElement("rect", { y: '5', width: '22', height: '2', fill: fill })));
|
|
14
14
|
};
|
|
@@ -8,7 +8,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
8
8
|
|
|
9
9
|
var StrokeCircleIcon = function (_a) {
|
|
10
10
|
var _b = _a.fill, fill = _b === void 0 ? '#5A8ECF' : _b, _c = _a.height, height = _c === void 0 ? 16 : _c;
|
|
11
|
-
return (React__default['default'].createElement("svg", { xmlns: 'http://www.w3.org/2000/svg',
|
|
11
|
+
return (React__default['default'].createElement("svg", { xmlns: 'http://www.w3.org/2000/svg', height: height, viewBox: '0 0 22 22', fill: 'none' },
|
|
12
12
|
React__default['default'].createElement("circle", { cx: '11', cy: '11', r: '10', stroke: fill, strokeWidth: '2', strokeDasharray: '8 8' })));
|
|
13
13
|
};
|
|
14
14
|
|
package/chart/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ftghw */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
.chart__bar_ftghw {
|
|
11
11
|
transition: opacity 0.2s ease-out, d 0.2s ease-out;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.chart__unfocused_ftghw {
|
|
14
14
|
opacity: 0.3;
|
|
15
15
|
}
|
package/chart/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('./tslib.es6-
|
|
1
|
+
require('./tslib.es6-8e7742ab.js');
|
|
2
2
|
require('react');
|
|
3
3
|
require('classnames');
|
|
4
4
|
require('recharts');
|
|
@@ -18,5 +18,9 @@ require('./hooks/useSettings/utils/setGradientCharts.js');
|
|
|
18
18
|
require('./hooks/useSettings/utils/setLegendMargin.js');
|
|
19
19
|
require('./hooks/useSettings/utils/sortByIndex.js');
|
|
20
20
|
require('./hooks/useSettings/index.js');
|
|
21
|
+
require('./hooks/usePathBar/utils/getRadius.js');
|
|
22
|
+
require('./hooks/usePathBar/index.js');
|
|
23
|
+
require('./components/CustomizedLabel.js');
|
|
24
|
+
require('./components/RectBar.js');
|
|
21
25
|
require('./components/Tick/index.js');
|
|
22
26
|
require('./components/TooltipContent/index.js');
|