@alfalab/core-components 26.12.0 → 27.0.0-beta.0
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/component.js +6 -15
- package/amount/cssm/component.js +5 -14
- package/amount/cssm/index.module.css +2 -14
- package/amount/cssm/pure/component.d.ts +0 -2
- package/amount/cssm/pure/component.js +0 -2
- package/amount/cssm/types/amount-props.d.ts +0 -8
- package/amount/esm/component.js +6 -15
- package/amount/esm/index.css +3 -15
- package/amount/esm/pure/component.d.ts +0 -2
- package/amount/esm/pure/component.js +0 -2
- package/amount/esm/pure/index.css +1 -1
- package/amount/esm/types/amount-props.d.ts +0 -8
- package/amount/index.css +3 -15
- package/amount/modern/component.js +4 -12
- package/amount/modern/index.css +3 -15
- package/amount/modern/pure/component.d.ts +0 -2
- package/amount/modern/pure/component.js +0 -2
- package/amount/modern/pure/index.css +1 -1
- package/amount/modern/types/amount-props.d.ts +0 -8
- package/amount/pure/component.d.ts +0 -2
- package/amount/pure/component.js +0 -2
- package/amount/pure/index.css +1 -1
- package/amount/types/amount-props.d.ts +0 -8
- package/bank-card/cssm/index.module.css +165 -68
- package/bank-card/esm/index.css +165 -68
- package/bank-card/index.css +165 -68
- package/bank-card/modern/index.css +165 -68
- package/bottom-sheet/{component-ac179f0f.d.ts → component-cb2f5174.d.ts} +0 -0
- package/bottom-sheet/{component-ac179f0f.js → component-cb2f5174.js} +1 -1
- package/bottom-sheet/component.js +2 -2
- package/bottom-sheet/components/backer/Component.js +1 -1
- package/bottom-sheet/components/closer/Component.js +1 -1
- package/bottom-sheet/components/header/Component.js +2 -2
- package/bottom-sheet/components/swipeable-backdrop/Component.js +1 -1
- package/bottom-sheet/cssm/index.module.css +2 -2
- package/bottom-sheet/esm/{component-4876d7a4.d.ts → component-2929b201.d.ts} +0 -0
- package/bottom-sheet/esm/{component-4876d7a4.js → component-2929b201.js} +1 -1
- package/bottom-sheet/esm/component.js +2 -2
- package/bottom-sheet/esm/components/backer/Component.js +1 -1
- package/bottom-sheet/esm/components/closer/Component.js +1 -1
- package/bottom-sheet/esm/components/header/Component.js +2 -2
- package/bottom-sheet/esm/components/swipeable-backdrop/Component.js +1 -1
- package/bottom-sheet/esm/index.css +2 -2
- package/bottom-sheet/esm/index.d.ts +1 -1
- package/bottom-sheet/esm/index.js +2 -2
- package/bottom-sheet/esm/{tslib.es6-97fcee33.d.ts → tslib.es6-58b5de0a.d.ts} +0 -0
- package/bottom-sheet/esm/{tslib.es6-97fcee33.js → tslib.es6-58b5de0a.js} +0 -0
- package/bottom-sheet/index.css +2 -2
- package/bottom-sheet/index.d.ts +1 -1
- package/bottom-sheet/index.js +2 -2
- package/bottom-sheet/modern/{component-cb0940a7.d.ts → component-bbe76b59.d.ts} +0 -0
- package/bottom-sheet/modern/{component-cb0940a7.js → component-bbe76b59.js} +0 -0
- package/bottom-sheet/modern/component.js +1 -1
- package/bottom-sheet/modern/components/header/Component.js +1 -1
- package/bottom-sheet/modern/index.css +2 -2
- package/bottom-sheet/modern/index.d.ts +1 -1
- package/bottom-sheet/modern/index.js +1 -1
- package/bottom-sheet/{tslib.es6-6270a94a.d.ts → tslib.es6-78658827.d.ts} +0 -0
- package/bottom-sheet/{tslib.es6-6270a94a.js → tslib.es6-78658827.js} +0 -0
- package/button/cssm/default.module.css +30 -26
- package/button/cssm/inverted.module.css +45 -29
- package/button/default.css +30 -26
- package/button/esm/default.css +30 -26
- package/button/esm/inverted.css +45 -29
- package/button/inverted.css +45 -29
- package/button/modern/default.css +30 -26
- package/button/modern/inverted.css +45 -29
- package/calendar/Component.js +1 -1
- package/calendar/components/days-table/Component.js +1 -1
- package/calendar/components/days-table/index.css +2 -2
- package/calendar/components/days-table/index.js +1 -1
- package/calendar/components/month-year-header/Component.js +1 -1
- package/calendar/components/month-year-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/cssm/components/days-table/index.module.css +2 -2
- package/calendar/cssm/components/select-button/Component.d.ts +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.css +2 -2
- package/calendar/esm/components/days-table/index.js +1 -1
- package/calendar/esm/components/month-year-header/Component.js +1 -1
- package/calendar/esm/components/month-year-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.d.ts +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-dcaa720f.d.ts → tslib.es6-cc88169d.d.ts} +0 -0
- package/calendar/esm/{tslib.es6-dcaa720f.js → tslib.es6-cc88169d.js} +0 -0
- package/calendar/index.js +1 -1
- package/calendar/modern/components/days-table/index.css +2 -2
- package/calendar/{tslib.es6-143012f2.d.ts → tslib.es6-9016aae0.d.ts} +0 -0
- package/calendar/{tslib.es6-143012f2.js → tslib.es6-9016aae0.js} +0 -0
- package/calendar-range/Component.js +1 -1
- package/calendar-range/esm/Component.js +1 -1
- package/calendar-range/esm/index.js +1 -1
- package/calendar-range/esm/{index.module-e24e5cda.d.ts → index.module-180edf9f.d.ts} +0 -0
- package/calendar-range/esm/{index.module-e24e5cda.js → index.module-180edf9f.js} +0 -0
- package/calendar-range/esm/views/popover.js +1 -1
- package/calendar-range/esm/views/static.js +1 -1
- package/calendar-range/index.js +1 -1
- package/calendar-range/{index.module-f524d00d.d.ts → index.module-56ec1ab3.d.ts} +0 -0
- package/calendar-range/{index.module-f524d00d.js → index.module-56ec1ab3.js} +0 -0
- package/calendar-range/modern/Component.js +1 -1
- package/calendar-range/modern/index.js +1 -1
- package/calendar-range/modern/{index.module-e9ae4588.js → index.module-db728217.js} +0 -0
- package/calendar-range/modern/views/popover.js +1 -1
- package/calendar-range/modern/views/static.js +1 -1
- package/calendar-range/views/popover.js +1 -1
- package/calendar-range/views/static.js +1 -1
- package/chart/Component.js +1 -1
- package/chart/esm/Component.js +1 -1
- package/chart/esm/hooks/useSettings/index.js +1 -1
- package/chart/esm/hooks/useSettings/utils/setDatas.js +1 -1
- package/chart/esm/hooks/useSettings/utils/setGradientCharts.js +1 -1
- package/chart/esm/index.js +1 -1
- package/chart/esm/{tslib.es6-ecd58c05.d.ts → tslib.es6-91da9559.d.ts} +0 -0
- package/chart/esm/{tslib.es6-ecd58c05.js → tslib.es6-91da9559.js} +0 -0
- package/chart/hooks/useSettings/index.js +1 -1
- package/chart/hooks/useSettings/utils/setDatas.d.ts +2 -1
- package/chart/hooks/useSettings/utils/setDatas.js +1 -1
- package/chart/hooks/useSettings/utils/setGradientCharts.js +1 -1
- package/chart/index.js +1 -1
- package/chart/modern/hooks/useSettings/utils/setDatas.d.ts +2 -1
- package/chart/{tslib.es6-30c58b24.d.ts → tslib.es6-ff6bc76d.d.ts} +0 -0
- package/chart/{tslib.es6-30c58b24.js → tslib.es6-ff6bc76d.js} +0 -0
- package/checkbox/cssm/index.module.css +6 -6
- package/checkbox/esm/index.css +6 -6
- package/checkbox/index.css +6 -6
- package/checkbox/modern/index.css +6 -6
- package/confirmation/component.js +1 -1
- package/confirmation/components/index.js +1 -1
- package/confirmation/components/screens/index.js +1 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/components/screens/initial/index.js +1 -1
- package/confirmation/{countdown-section-aeaa4fb5.d.ts → countdown-section-f9e59127.d.ts} +0 -0
- package/confirmation/{countdown-section-aeaa4fb5.js → countdown-section-f9e59127.js} +0 -0
- package/confirmation/esm/component.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/{countdown-section-fc478e90.d.ts → countdown-section-0252e8b9.d.ts} +0 -0
- package/confirmation/esm/{countdown-section-fc478e90.js → countdown-section-0252e8b9.js} +0 -0
- package/confirmation/esm/index.js +1 -1
- package/confirmation/index.js +1 -1
- package/confirmation/modern/component.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/{countdown-section-63b2a9a6.d.ts → countdown-section-7f6bab79.d.ts} +0 -0
- package/confirmation/modern/{countdown-section-63b2a9a6.js → countdown-section-7f6bab79.js} +0 -0
- package/confirmation/modern/index.js +1 -1
- package/date-input/cssm/Component.d.ts +1 -1
- package/dropzone/cssm/index.module.css +2 -2
- package/dropzone/esm/index.css +2 -2
- package/dropzone/index.css +2 -2
- package/dropzone/modern/index.css +2 -2
- package/form-control/cssm/default.module.css +3 -3
- package/form-control/default.css +3 -3
- package/form-control/esm/default.css +3 -3
- package/form-control/modern/default.css +3 -3
- 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-7fb5d007.d.ts → slide-71941cc8.d.ts} +0 -0
- package/gallery/esm/{slide-7fb5d007.js → slide-71941cc8.js} +0 -0
- package/gallery/esm/{tslib.es6-6d3e6f47.d.ts → tslib.es6-875422e0.d.ts} +0 -0
- package/gallery/esm/{tslib.es6-6d3e6f47.js → tslib.es6-875422e0.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-a3275080.d.ts → slide-1df71b26.d.ts} +0 -0
- package/gallery/modern/{slide-a3275080.js → slide-1df71b26.js} +0 -0
- package/gallery/{slide-e3b1256b.d.ts → slide-378f8a6a.d.ts} +0 -0
- package/gallery/{slide-e3b1256b.js → slide-378f8a6a.js} +0 -0
- package/gallery/{tslib.es6-2a2f3603.d.ts → tslib.es6-682e8e27.d.ts} +0 -0
- package/gallery/{tslib.es6-2a2f3603.js → tslib.es6-682e8e27.js} +0 -0
- package/grid/Component.js +1 -1
- package/grid/col/Component.js +1 -1
- package/grid/col/index.js +1 -1
- package/grid/esm/Component.js +1 -1
- package/grid/esm/col/Component.js +1 -1
- package/grid/esm/col/index.js +1 -1
- package/grid/esm/{gutters.module-4c13feb8.d.ts → gutters.module-e926dd15.d.ts} +0 -0
- package/grid/esm/{gutters.module-4c13feb8.js → gutters.module-e926dd15.js} +0 -0
- package/grid/esm/index.js +1 -1
- package/grid/esm/row/Component.js +1 -1
- package/grid/esm/row/index.js +1 -1
- package/grid/{gutters.module-9717f2e9.d.ts → gutters.module-527484e4.d.ts} +0 -0
- package/grid/{gutters.module-9717f2e9.js → gutters.module-527484e4.js} +0 -0
- package/grid/index.js +1 -1
- package/grid/modern/Component.js +1 -1
- package/grid/modern/col/Component.js +1 -1
- package/grid/modern/col/index.js +1 -1
- package/grid/modern/{gutters.module-32bff58c.js → gutters.module-546d9e29.js} +0 -0
- package/grid/modern/index.js +1 -1
- package/grid/modern/row/Component.js +1 -1
- package/grid/modern/row/index.js +1 -1
- package/grid/row/Component.js +1 -1
- package/grid/row/index.js +1 -1
- package/icon-button/Component.d.ts +2 -2
- package/icon-button/Component.js +3 -3
- package/icon-button/cssm/Component.d.ts +2 -2
- package/icon-button/cssm/Component.js +1 -1
- package/icon-button/cssm/default.module.css +36 -7
- package/icon-button/cssm/inverted.module.css +44 -10
- package/icon-button/default.css +36 -7
- package/icon-button/esm/Component.d.ts +2 -2
- package/icon-button/esm/Component.js +3 -3
- package/icon-button/esm/default.css +36 -7
- package/icon-button/esm/inverted.css +44 -10
- package/icon-button/inverted.css +44 -10
- package/icon-button/modern/Component.d.ts +2 -2
- package/icon-button/modern/Component.js +3 -3
- package/icon-button/modern/default.css +36 -7
- package/icon-button/modern/inverted.css +44 -10
- package/icon-view/circle.js +1 -1
- package/icon-view/components/circle/component.js +1 -1
- package/icon-view/components/circle/index.js +1 -1
- package/icon-view/components/index.js +1 -1
- package/icon-view/components/super-ellipse/component.js +1 -1
- package/icon-view/components/super-ellipse/index.js +1 -1
- package/icon-view/esm/circle.js +1 -1
- package/icon-view/esm/components/circle/component.js +1 -1
- package/icon-view/esm/components/circle/index.js +1 -1
- package/icon-view/esm/components/index.js +1 -1
- package/icon-view/esm/components/super-ellipse/component.js +1 -1
- package/icon-view/esm/components/super-ellipse/index.js +1 -1
- package/icon-view/esm/super-ellipse.js +1 -1
- package/icon-view/esm/{tslib.es6-62ec6b5d.d.ts → tslib.es6-5a02ea80.d.ts} +0 -0
- package/icon-view/esm/{tslib.es6-62ec6b5d.js → tslib.es6-5a02ea80.js} +0 -0
- package/icon-view/super-ellipse.js +1 -1
- package/icon-view/{tslib.es6-713fbafd.d.ts → tslib.es6-ef431aff.d.ts} +0 -0
- package/icon-view/{tslib.es6-713fbafd.js → tslib.es6-ef431aff.js} +0 -0
- package/intl-phone-input/{component-6aa7c1d6.d.ts → component-b32c87f0.d.ts} +0 -0
- package/intl-phone-input/{component-6aa7c1d6.js → component-b32c87f0.js} +0 -0
- package/intl-phone-input/component.js +2 -2
- package/intl-phone-input/components/index.js +1 -1
- package/intl-phone-input/components/select/component.js +1 -1
- 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.d.ts +1 -1
- package/intl-phone-input/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/{component-c6c7a649.d.ts → component-e8e7f02a.d.ts} +0 -0
- package/intl-phone-input/esm/{component-c6c7a649.js → component-e8e7f02a.js} +0 -0
- package/intl-phone-input/esm/component.js +2 -2
- package/intl-phone-input/esm/components/index.js +1 -1
- package/intl-phone-input/esm/components/select/component.js +1 -1
- 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.d.ts +1 -1
- package/intl-phone-input/esm/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/index.js +1 -1
- package/intl-phone-input/esm/{libphonenumber-js.min-71baaecc.d.ts → libphonenumber-js.min-79cae751.d.ts} +0 -0
- package/intl-phone-input/esm/{libphonenumber-js.min-71baaecc.js → libphonenumber-js.min-79cae751.js} +0 -0
- package/intl-phone-input/index.js +1 -1
- package/intl-phone-input/{libphonenumber-js.min-c39889b0.d.ts → libphonenumber-js.min-9745165b.d.ts} +0 -0
- package/intl-phone-input/{libphonenumber-js.min-c39889b0.js → libphonenumber-js.min-9745165b.js} +0 -0
- package/intl-phone-input/modern/component.js +1 -1
- package/intl-phone-input/modern/{libphonenumber-js.min-71baaecc.d.ts → libphonenumber-js.min-79cae751.d.ts} +0 -0
- package/intl-phone-input/modern/{libphonenumber-js.min-71baaecc.js → libphonenumber-js.min-79cae751.js} +0 -0
- 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.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.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-045f0acc.js → transitions.module-68527aae.js} +0 -0
- package/modal/esm/{tslib.es6-926adafc.d.ts → tslib.es6-3852fc63.d.ts} +0 -0
- package/modal/esm/{tslib.es6-926adafc.js → tslib.es6-3852fc63.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.d.ts +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-045f0acc.js → transitions.module-68527aae.js} +0 -0
- package/modal/responsive.js +2 -2
- package/modal/{transitions.module-78f5235e.js → transitions.module-6ad80b82.js} +0 -0
- package/modal/{tslib.es6-33906f7c.d.ts → tslib.es6-b75c94d3.d.ts} +0 -0
- package/modal/{tslib.es6-33906f7c.js → tslib.es6-b75c94d3.js} +0 -0
- package/package.json +1 -1
- package/pagination/components/tag/index.css +2 -2
- package/pagination/cssm/components/tag/index.module.css +2 -2
- package/pagination/esm/components/tag/index.css +2 -2
- package/pagination/modern/components/tag/index.css +2 -2
- package/phone-input/esm/utils/index.js +7 -5
- package/phone-input/utils/index.js +5 -7
- package/picker-button/Component.js +1 -1
- package/picker-button/esm/Component.js +1 -1
- package/picker-button/esm/field/Component.js +1 -1
- package/picker-button/esm/field/index.js +1 -1
- package/picker-button/esm/index.js +1 -1
- package/picker-button/esm/option/Component.js +1 -1
- package/picker-button/esm/option/index.js +1 -1
- package/picker-button/esm/{tslib.es6-fe077bfd.d.ts → tslib.es6-88641d51.d.ts} +0 -0
- package/picker-button/esm/{tslib.es6-fe077bfd.js → tslib.es6-88641d51.js} +0 -0
- package/picker-button/field/Component.js +1 -1
- package/picker-button/field/index.js +1 -1
- package/picker-button/index.js +1 -1
- package/picker-button/option/Component.js +1 -1
- package/picker-button/option/index.js +1 -1
- package/picker-button/{tslib.es6-c60862eb.d.ts → tslib.es6-057c91a6.d.ts} +0 -0
- package/picker-button/{tslib.es6-c60862eb.js → tslib.es6-057c91a6.js} +0 -0
- package/radio/cssm/index.module.css +9 -9
- package/radio/esm/index.css +9 -9
- package/radio/index.css +9 -9
- package/radio/modern/index.css +9 -9
- package/select/{Component-59ee901e.d.ts → Component-25f36dc0.d.ts} +0 -0
- package/select/{Component-59ee901e.js → Component-25f36dc0.js} +1 -1
- package/select/{Component-cbbcfb97.d.ts → Component-da55892c.d.ts} +0 -0
- package/select/{Component-cbbcfb97.js → Component-da55892c.js} +3 -3
- package/select/Component.js +2 -2
- package/select/components/base-select/Component.js +2 -2
- package/select/components/base-select/index.d.ts +1 -1
- package/select/components/base-select/index.js +2 -2
- package/select/components/field/Component.js +1 -1
- package/select/components/field/index.js +1 -1
- package/select/components/index.js +4 -4
- package/select/components/native-select/Component.js +1 -1
- package/select/components/native-select/index.js +1 -1
- package/select/components/option/Component.js +1 -1
- package/select/components/option/index.js +1 -1
- package/select/components/options-list/Component.js +1 -1
- package/select/components/options-list/index.js +1 -1
- package/select/components/select-mobile/Component.js +4 -4
- package/select/components/select-mobile/index.d.ts +1 -1
- package/select/components/select-mobile/index.js +4 -4
- package/select/components/select-mobile/options-list/Component.js +1 -1
- package/select/components/select-mobile/options-list/index.js +1 -1
- package/select/components/virtual-options-list/Component.js +1 -1
- package/select/components/virtual-options-list/index.js +1 -1
- package/select/esm/{Component-67ca3113.d.ts → Component-2ae8e5a1.d.ts} +0 -0
- package/select/esm/{Component-67ca3113.js → Component-2ae8e5a1.js} +2 -2
- package/select/esm/{Component-10659b80.d.ts → Component-a591cb6f.d.ts} +0 -0
- package/select/esm/{Component-10659b80.js → Component-a591cb6f.js} +9 -9
- package/select/esm/Component.js +8 -8
- package/select/esm/components/base-select/Component.js +3 -3
- package/select/esm/components/base-select/index.d.ts +1 -1
- package/select/esm/components/base-select/index.js +3 -3
- package/select/esm/components/field/Component.js +2 -2
- package/select/esm/components/field/index.js +2 -2
- package/select/esm/components/index.js +10 -10
- package/select/esm/components/native-select/Component.js +1 -1
- package/select/esm/components/native-select/index.js +1 -1
- package/select/esm/components/option/Component.js +1 -1
- 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.js +1 -1
- package/select/esm/components/select-mobile/Component.js +10 -10
- package/select/esm/components/select-mobile/index.d.ts +1 -1
- package/select/esm/components/select-mobile/index.js +10 -10
- package/select/esm/components/select-mobile/options-list/Component.js +1 -1
- package/select/esm/components/select-mobile/options-list/index.js +1 -1
- package/select/esm/components/virtual-options-list/Component.js +1 -1
- package/select/esm/components/virtual-options-list/index.js +1 -1
- package/select/esm/index.js +10 -10
- package/select/esm/{intersection-observer-c97fa82b.d.ts → intersection-observer-38d83a42.d.ts} +0 -0
- package/select/esm/{intersection-observer-c97fa82b.js → intersection-observer-38d83a42.js} +0 -0
- package/select/esm/presets/index.js +10 -10
- package/select/esm/presets/useLazyLoading/hook.js +2 -2
- package/select/esm/presets/useSelectWithApply/hook.js +10 -10
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +10 -10
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +10 -10
- package/select/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/select/esm/{tslib.es6-dfe5e05c.d.ts → tslib.es6-d934a155.d.ts} +0 -0
- package/select/esm/{tslib.es6-dfe5e05c.js → tslib.es6-d934a155.js} +0 -0
- package/select/index.js +4 -4
- package/select/{intersection-observer-91bd8519.d.ts → intersection-observer-e16c7d61.d.ts} +0 -0
- package/select/{intersection-observer-91bd8519.js → intersection-observer-e16c7d61.js} +0 -0
- package/select/modern/{Component-8aa58d39.d.ts → Component-41045f11.d.ts} +0 -0
- package/select/modern/{Component-8aa58d39.js → Component-41045f11.js} +1 -1
- package/select/modern/{Component-251596cb.d.ts → Component-80e0d0f3.d.ts} +0 -0
- package/select/modern/{Component-251596cb.js → Component-80e0d0f3.js} +8 -8
- package/select/modern/Component.js +7 -7
- package/select/modern/components/base-select/Component.js +2 -2
- package/select/modern/components/base-select/index.d.ts +1 -1
- package/select/modern/components/base-select/index.js +2 -2
- package/select/modern/components/field/Component.js +1 -1
- package/select/modern/components/field/index.js +1 -1
- package/select/modern/components/index.js +9 -9
- package/select/modern/components/select-mobile/Component.js +9 -9
- package/select/modern/components/select-mobile/index.d.ts +1 -1
- package/select/modern/components/select-mobile/index.js +9 -9
- package/select/modern/index.js +9 -9
- package/select/modern/{intersection-observer-c97fa82b.d.ts → intersection-observer-38d83a42.d.ts} +0 -0
- package/select/modern/{intersection-observer-c97fa82b.js → intersection-observer-38d83a42.js} +0 -0
- package/select/modern/presets/index.js +9 -9
- package/select/modern/presets/useLazyLoading/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +9 -9
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +9 -9
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +9 -9
- package/select/presets/index.js +4 -4
- package/select/presets/useLazyLoading/hook.js +2 -2
- package/select/presets/useSelectWithApply/hook.js +4 -4
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
- package/select/presets/useSelectWithLoading/hook.js +1 -1
- package/select/{tslib.es6-df76916a.d.ts → tslib.es6-2dc46ea8.d.ts} +0 -0
- package/select/{tslib.es6-df76916a.js → tslib.es6-2dc46ea8.js} +0 -0
- package/select-with-tags/component.js +1 -1
- package/select-with-tags/components/index.js +1 -1
- package/select-with-tags/components/tag/component.js +1 -1
- package/select-with-tags/components/tag/index.js +1 -1
- package/select-with-tags/components/tag-list/component.js +1 -1
- package/select-with-tags/components/tag-list/index.js +1 -1
- package/select-with-tags/esm/component.js +1 -1
- package/select-with-tags/esm/components/index.js +1 -1
- package/select-with-tags/esm/components/tag/component.js +1 -1
- package/select-with-tags/esm/components/tag/index.js +1 -1
- package/select-with-tags/esm/components/tag-list/component.js +1 -1
- package/select-with-tags/esm/components/tag-list/index.js +1 -1
- package/select-with-tags/esm/index.js +1 -1
- package/select-with-tags/esm/{tslib.es6-341f67df.d.ts → tslib.es6-cb3df343.d.ts} +0 -0
- package/select-with-tags/esm/{tslib.es6-341f67df.js → tslib.es6-cb3df343.js} +0 -0
- package/select-with-tags/esm/utils/index.js +1 -1
- package/select-with-tags/esm/utils/match.js +1 -1
- package/select-with-tags/index.js +1 -1
- package/select-with-tags/{tslib.es6-7b812af1.d.ts → tslib.es6-dd85aeee.d.ts} +0 -0
- package/select-with-tags/{tslib.es6-7b812af1.js → tslib.es6-dd85aeee.js} +0 -0
- package/select-with-tags/utils/index.js +1 -1
- package/select-with-tags/utils/match.js +1 -1
- package/space/Component.js +1 -1
- package/space/{Item-bdd7ff58.d.ts → Item-b1811bd4.d.ts} +0 -0
- package/space/{Item-bdd7ff58.js → Item-b1811bd4.js} +0 -0
- package/space/Item.js +1 -1
- package/space/esm/Component.js +1 -1
- package/space/esm/{Item-78c94425.d.ts → Item-dfbfa290.d.ts} +0 -0
- package/space/esm/{Item-78c94425.js → Item-dfbfa290.js} +0 -0
- package/space/esm/Item.js +1 -1
- package/space/esm/index.js +1 -1
- package/space/index.js +1 -1
- package/switch/cssm/index.module.css +5 -5
- package/switch/esm/index.css +5 -5
- package/switch/index.css +5 -5
- package/switch/modern/index.css +5 -5
- package/table/component.js +1 -1
- package/table/components/index.js +1 -1
- package/table/components/pagination/Component.js +1 -1
- package/table/components/pagination/index.js +1 -1
- package/table/components/pagination/select-field/index.js +1 -1
- package/table/components/table/Component.js +1 -1
- package/table/components/table/index.js +1 -1
- package/table/components/table/utils.js +1 -1
- package/table/components/tbody/Component.js +1 -1
- package/table/components/tbody/index.js +1 -1
- package/table/components/tcell/Component.js +1 -1
- package/table/components/tcell/index.js +1 -1
- package/table/components/texpandable-row/Component.js +1 -1
- package/table/components/texpandable-row/index.js +1 -1
- package/table/components/thead/Component.js +1 -1
- package/table/components/thead/index.css +2 -2
- package/table/components/thead/index.js +1 -1
- package/table/components/thead-cell/Component.js +1 -1
- package/table/components/thead-cell/index.js +1 -1
- package/table/components/trow/Component.js +1 -1
- package/table/components/trow/index.js +1 -1
- package/table/components/tsortable-head-cell/Component.js +1 -1
- package/table/components/tsortable-head-cell/index.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/table/cssm/components/thead/index.module.css +2 -2
- package/table/esm/component.js +1 -1
- package/table/esm/components/index.js +1 -1
- package/table/esm/components/pagination/Component.js +1 -1
- package/table/esm/components/pagination/index.js +1 -1
- package/table/esm/components/pagination/select-field/index.js +1 -1
- package/table/esm/components/table/Component.js +1 -1
- package/table/esm/components/table/index.js +1 -1
- package/table/esm/components/table/utils.js +1 -1
- package/table/esm/components/tbody/Component.js +1 -1
- package/table/esm/components/tbody/index.js +1 -1
- package/table/esm/components/tcell/Component.js +1 -1
- package/table/esm/components/tcell/index.js +1 -1
- package/table/esm/components/texpandable-row/Component.js +1 -1
- package/table/esm/components/texpandable-row/index.js +1 -1
- package/table/esm/components/thead/Component.js +1 -1
- package/table/esm/components/thead/index.css +2 -2
- package/table/esm/components/thead/index.js +1 -1
- package/table/esm/components/thead-cell/Component.js +1 -1
- package/table/esm/components/thead-cell/index.js +1 -1
- package/table/esm/components/trow/Component.js +1 -1
- package/table/esm/components/trow/index.js +1 -1
- package/table/esm/components/tsortable-head-cell/Component.js +1 -1
- package/table/esm/components/tsortable-head-cell/index.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/table/esm/index.js +1 -1
- package/table/esm/{tslib.es6-adc3606f.d.ts → tslib.es6-ed06fa90.d.ts} +0 -0
- package/table/esm/{tslib.es6-adc3606f.js → tslib.es6-ed06fa90.js} +0 -0
- package/table/index.js +1 -1
- package/table/modern/components/thead/index.css +2 -2
- package/table/{tslib.es6-b12352ea.d.ts → tslib.es6-4c011f96.d.ts} +0 -0
- package/table/{tslib.es6-b12352ea.js → tslib.es6-4c011f96.js} +0 -0
- package/tabs/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/components/primary-tablist/Component.js +1 -1
- package/tabs/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/components/primary-tablist/index.css +1 -1
- package/tabs/components/primary-tablist/mobile.css +166 -69
- package/tabs/components/scrollable-container/index.css +1 -1
- 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/secondary-tablist/index.css +1 -1
- package/tabs/components/secondary-tablist/mobile.css +166 -69
- package/tabs/components/tab/index.css +1 -1
- 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/desktop.js +3 -3
- package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.js +1 -1
- 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/primary-tablist/index.css +1 -1
- package/tabs/esm/components/primary-tablist/mobile.css +166 -69
- package/tabs/esm/components/scrollable-container/index.css +1 -1
- 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/secondary-tablist/index.css +1 -1
- package/tabs/esm/components/secondary-tablist/mobile.css +166 -69
- package/tabs/esm/components/tab/index.css +1 -1
- 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-4f872dce.js → index.module-6044d167.js} +0 -0
- package/tabs/esm/{index.module-cb2d5475.js → index.module-d99125d1.js} +0 -0
- package/tabs/esm/mobile.js +3 -3
- package/tabs/esm/responsive.js +3 -3
- package/tabs/esm/{tslib.es6-99e48a82.d.ts → tslib.es6-d6de3657.d.ts} +0 -0
- package/tabs/esm/{tslib.es6-99e48a82.js → tslib.es6-d6de3657.js} +0 -0
- package/tabs/index.js +3 -3
- package/tabs/{index.module-676d379f.js → index.module-56e38fc6.js} +0 -0
- package/tabs/{index.module-46c31e55.js → index.module-752bf0c5.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.mobile.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/primary-tablist/index.css +1 -1
- package/tabs/modern/components/primary-tablist/mobile.css +166 -69
- package/tabs/modern/components/scrollable-container/index.css +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/secondary-tablist/index.css +1 -1
- package/tabs/modern/components/secondary-tablist/mobile.css +166 -69
- package/tabs/modern/components/tab/index.css +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-4f872dce.js → index.module-6044d167.js} +0 -0
- package/tabs/modern/{index.module-cb2d5475.js → index.module-d99125d1.js} +0 -0
- package/tabs/modern/mobile.js +2 -2
- package/tabs/modern/responsive.js +2 -2
- package/tabs/responsive.js +3 -3
- package/tabs/{tslib.es6-28db86de.d.ts → tslib.es6-47ab097a.d.ts} +0 -0
- package/tabs/{tslib.es6-28db86de.js → tslib.es6-47ab097a.js} +0 -0
- package/tag/cssm/inverted.module.css +0 -1
- package/tag/esm/inverted.css +0 -1
- package/tag/inverted.css +0 -1
- package/tag/modern/inverted.css +0 -1
- package/themes/button/click.css +12 -10
- package/themes/button/corp.css +27 -21
- package/themes/button/intranet.css +11 -9
- package/themes/button/mobile.css +11 -9
- package/themes/button/site.css +3 -0
- package/themes/click.css +211 -88
- package/themes/compiled/mobile-dark-bluetint.css +220 -193
- package/themes/corp.css +197 -90
- package/themes/dark.css +110 -24
- package/themes/icon-button/click.css +24 -0
- package/themes/intranet.css +182 -57
- package/themes/link/click.css +8 -8
- package/themes/mixins/button/click.css +12 -10
- package/themes/mixins/button/corp.css +27 -21
- package/themes/mixins/button/intranet.css +11 -9
- package/themes/mixins/button/mobile.css +11 -9
- package/themes/mixins/button/site.css +3 -0
- package/themes/mixins/click.css +2 -0
- package/themes/mixins/dark.css +110 -24
- package/themes/mixins/icon-button/click.css +24 -0
- package/themes/mixins/link/click.css +8 -8
- package/themes/mixins/skeleton/click.css +1 -1
- package/themes/mixins/slider/click.css +2 -2
- package/themes/mixins/slider/intranet.css +2 -2
- package/themes/mixins/slider/mobile.css +2 -2
- package/themes/mixins/tabs/corp.css +1 -1
- package/themes/mixins/tabs/site.css +1 -1
- package/themes/mobile.css +182 -57
- package/themes/site.css +172 -69
- package/themes/skeleton/click.css +1 -1
- package/themes/slider/click.css +2 -2
- package/themes/slider/intranet.css +2 -2
- package/themes/slider/mobile.css +2 -2
- package/themes/tabs/corp.css +1 -1
- package/themes/tabs/site.css +1 -1
- package/toast-plate/cssm/index.module.css +165 -68
- package/toast-plate/esm/index.css +165 -68
- package/toast-plate/index.css +165 -68
- package/toast-plate/modern/index.css +165 -68
- package/tooltip/{Component-afaf8c3c.d.ts → Component-a23d8071.d.ts} +0 -0
- package/tooltip/{Component-afaf8c3c.js → Component-a23d8071.js} +0 -0
- package/tooltip/Component.js +1 -1
- package/tooltip/component.responsive.js +1 -1
- package/tooltip/esm/{Component-651cb90c.d.ts → Component-69264c9e.d.ts} +0 -0
- package/tooltip/esm/{Component-651cb90c.js → Component-69264c9e.js} +0 -0
- package/tooltip/esm/Component.js +1 -1
- package/tooltip/esm/component.responsive.js +1 -1
- package/tooltip/esm/index.d.ts +1 -1
- package/tooltip/esm/index.js +1 -1
- package/tooltip/esm/responsive.js +1 -1
- package/tooltip/index.d.ts +1 -1
- package/tooltip/index.js +1 -1
- package/tooltip/responsive.js +1 -1
- package/typography/{colors.module-173b4448.d.ts → colors.module-2043bf7a.d.ts} +0 -0
- package/typography/{colors.module-173b4448.js → colors.module-2043bf7a.js} +0 -0
- package/typography/{common.module-e4c75f4c.js → common.module-05e92f66.js} +0 -0
- package/typography/component.js +2 -2
- package/typography/esm/{colors.module-5b3adeb6.d.ts → colors.module-4559178f.d.ts} +0 -0
- package/typography/esm/{colors.module-5b3adeb6.js → colors.module-4559178f.js} +0 -0
- package/typography/esm/{common.module-483d5e47.js → common.module-1fbc639a.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-mobile/component.js +2 -2
- package/typography/esm/title-mobile/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-feaa4986.js → colors.module-0859bdd1.js} +0 -0
- package/typography/modern/{common.module-483d5e47.js → common.module-1fbc639a.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-mobile/component.js +2 -2
- package/typography/modern/title-mobile/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-mobile/component.js +2 -2
- package/typography/title-mobile/index.js +2 -2
- package/typography/title-responsive/component.js +2 -2
- package/typography/title-responsive/index.js +2 -2
- package/vars/colors-bluetint.css +165 -46
- package/vars/colors-indigo.css +165 -68
- package/vars/colors-x5.css +4 -0
- package/vars/cssm/colors-bluetint.css +165 -46
- package/vars/cssm/colors-indigo.css +165 -68
- package/vars/cssm/colors-x5.css +4 -0
- package/vars/cssm/index.css +165 -68
package/amount/component.js
CHANGED
|
@@ -9,7 +9,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
10
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
11
11
|
|
|
12
|
-
var styles = {"component":"amount__component_1m9ep","
|
|
12
|
+
var styles = {"component":"amount__component_1m9ep","minorPartAndCurrency":"amount__minorPartAndCurrency_1m9ep"};
|
|
13
13
|
require('./index.css');
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -17,26 +17,17 @@ require('./index.css');
|
|
|
17
17
|
* https://design.alfabank.ru/patterns/amount
|
|
18
18
|
*/
|
|
19
19
|
var Amount = function (_a) {
|
|
20
|
-
var _b, _c;
|
|
21
|
-
var
|
|
22
|
-
var _f = utils.formatAmount({
|
|
20
|
+
var value = _a.value, minority = _a.minority, currency = _a.currency, _b = _a.view, view = _b === void 0 ? 'default' : _b, rightAddons = _a.rightAddons, _c = _a.showPlus, showPlus = _c === void 0 ? false : _c, className = _a.className, dataTestId = _a.dataTestId;
|
|
21
|
+
var _d = utils.formatAmount({
|
|
23
22
|
value: value,
|
|
24
23
|
currency: currency,
|
|
25
24
|
minority: minority,
|
|
26
25
|
view: view,
|
|
27
|
-
}), majorPart =
|
|
28
|
-
|
|
29
|
-
return (React__default['default'].createElement("span", { className: cn__default['default'](styles.component, className, (_b = {},
|
|
30
|
-
_b[styles.bold] = bold === 'full' || bold === 'major',
|
|
31
|
-
_b[styles.defaultStyles] = defaultStyles,
|
|
32
|
-
_b)), "data-test-id": dataTestId },
|
|
26
|
+
}), majorPart = _d.majorPart, minorPart = _d.minorPart, currencySymbol = _d.currencySymbol;
|
|
27
|
+
return (React__default['default'].createElement("span", { className: cn__default['default'](styles.component, className), "data-test-id": dataTestId },
|
|
33
28
|
showPlus && value > 0 ? '+' : '',
|
|
34
29
|
majorPart,
|
|
35
|
-
React__default['default'].createElement("span", { className:
|
|
36
|
-
_c[styles.transparentMinor] = transparentMinor,
|
|
37
|
-
_c[styles.normalMinor] = bold === 'major',
|
|
38
|
-
_c[styles.defaultMinor] = defaultStyles,
|
|
39
|
-
_c)) },
|
|
30
|
+
React__default['default'].createElement("span", { className: styles.minorPartAndCurrency },
|
|
40
31
|
minorPart && utils.AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,
|
|
41
32
|
minorPart,
|
|
42
33
|
currency ? "" + utils.THINSP + currencySymbol : null,
|
package/amount/cssm/component.js
CHANGED
|
@@ -16,26 +16,17 @@ var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
|
|
|
16
16
|
* https://design.alfabank.ru/patterns/amount
|
|
17
17
|
*/
|
|
18
18
|
var Amount = function (_a) {
|
|
19
|
-
var _b, _c;
|
|
20
|
-
var
|
|
21
|
-
var _f = utils.formatAmount({
|
|
19
|
+
var value = _a.value, minority = _a.minority, currency = _a.currency, _b = _a.view, view = _b === void 0 ? 'default' : _b, rightAddons = _a.rightAddons, _c = _a.showPlus, showPlus = _c === void 0 ? false : _c, className = _a.className, dataTestId = _a.dataTestId;
|
|
20
|
+
var _d = utils.formatAmount({
|
|
22
21
|
value: value,
|
|
23
22
|
currency: currency,
|
|
24
23
|
minority: minority,
|
|
25
24
|
view: view,
|
|
26
|
-
}), majorPart =
|
|
27
|
-
|
|
28
|
-
return (React__default['default'].createElement("span", { className: cn__default['default'](styles__default['default'].component, className, (_b = {},
|
|
29
|
-
_b[styles__default['default'].bold] = bold === 'full' || bold === 'major',
|
|
30
|
-
_b[styles__default['default'].defaultStyles] = defaultStyles,
|
|
31
|
-
_b)), "data-test-id": dataTestId },
|
|
25
|
+
}), majorPart = _d.majorPart, minorPart = _d.minorPart, currencySymbol = _d.currencySymbol;
|
|
26
|
+
return (React__default['default'].createElement("span", { className: cn__default['default'](styles__default['default'].component, className), "data-test-id": dataTestId },
|
|
32
27
|
showPlus && value > 0 ? '+' : '',
|
|
33
28
|
majorPart,
|
|
34
|
-
React__default['default'].createElement("span", { className:
|
|
35
|
-
_c[styles__default['default'].transparentMinor] = transparentMinor,
|
|
36
|
-
_c[styles__default['default'].normalMinor] = bold === 'major',
|
|
37
|
-
_c[styles__default['default'].defaultMinor] = defaultStyles,
|
|
38
|
-
_c)) },
|
|
29
|
+
React__default['default'].createElement("span", { className: styles__default['default'].minorPartAndCurrency },
|
|
39
30
|
minorPart && utils.AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,
|
|
40
31
|
minorPart,
|
|
41
32
|
currency ? "" + utils.THINSP + currencySymbol : null,
|
|
@@ -9,24 +9,12 @@
|
|
|
9
9
|
:root {
|
|
10
10
|
--amount-major-part-font-weight: bold;
|
|
11
11
|
--amount-minor-part-font-weight: normal;
|
|
12
|
-
--amount-minor-part-opacity: 0.6;
|
|
13
12
|
}
|
|
14
13
|
.component {
|
|
15
14
|
white-space: nowrap;
|
|
16
|
-
}
|
|
17
|
-
.transparentMinor {
|
|
18
|
-
opacity: 0.6;
|
|
19
|
-
}
|
|
20
|
-
.bold {
|
|
21
|
-
font-weight: bold;
|
|
22
|
-
}
|
|
23
|
-
.normalMinor {
|
|
24
|
-
font-weight: normal;
|
|
25
|
-
}
|
|
26
|
-
.defaultStyles {
|
|
27
15
|
font-weight: var(--amount-major-part-font-weight);
|
|
28
16
|
}
|
|
29
|
-
.
|
|
30
|
-
opacity:
|
|
17
|
+
.minorPartAndCurrency {
|
|
18
|
+
opacity: 0.6;
|
|
31
19
|
font-weight: var(--amount-minor-part-font-weight);
|
|
32
20
|
}
|
|
@@ -5,8 +5,6 @@ import { AmountProps } from "../types/index";
|
|
|
5
5
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
6
6
|
* https://design.alfabank.ru/patterns/amount
|
|
7
7
|
* Не содержит стилей кроме неразрывности строки
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
10
8
|
*/
|
|
11
9
|
declare const PureAmount: React.FC<AmountProps>;
|
|
12
10
|
export { PureAmount };
|
|
@@ -15,8 +15,6 @@ var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
|
|
|
15
15
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
16
16
|
* https://design.alfabank.ru/patterns/amount
|
|
17
17
|
* Не содержит стилей кроме неразрывности строки
|
|
18
|
-
*
|
|
19
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
20
18
|
*/
|
|
21
19
|
var PureAmount = function (_a) {
|
|
22
20
|
var value = _a.value, minority = _a.minority, currency = _a.currency, rightAddons = _a.rightAddons, _b = _a.view, view = _b === void 0 ? 'default' : _b, _c = _a.showPlus, showPlus = _c === void 0 ? false : _c, className = _a.className, dataTestId = _a.dataTestId;
|
|
@@ -22,14 +22,6 @@ type AmountProps = {
|
|
|
22
22
|
* withZeroMinorPart - отображаем копейки, даже если их значение равно 0
|
|
23
23
|
*/
|
|
24
24
|
view?: 'default' | 'withZeroMinorPart';
|
|
25
|
-
/**
|
|
26
|
-
* Управление жирностью
|
|
27
|
-
*/
|
|
28
|
-
bold?: 'full' | 'major' | 'none';
|
|
29
|
-
/**
|
|
30
|
-
* Делает минорную часть полупрозрачной
|
|
31
|
-
*/
|
|
32
|
-
transparentMinor?: boolean;
|
|
33
25
|
/**
|
|
34
26
|
* Показывать значок + для положительных значений
|
|
35
27
|
*/
|
package/amount/esm/component.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { formatAmount, AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR, THINSP } from '@alfalab/utils';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"amount__component_1m9ep","
|
|
5
|
+
var styles = {"component":"amount__component_1m9ep","minorPartAndCurrency":"amount__minorPartAndCurrency_1m9ep"};
|
|
6
6
|
require('./index.css');
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -10,26 +10,17 @@ require('./index.css');
|
|
|
10
10
|
* https://design.alfabank.ru/patterns/amount
|
|
11
11
|
*/
|
|
12
12
|
var Amount = function (_a) {
|
|
13
|
-
var _b, _c;
|
|
14
|
-
var
|
|
15
|
-
var _f = formatAmount({
|
|
13
|
+
var value = _a.value, minority = _a.minority, currency = _a.currency, _b = _a.view, view = _b === void 0 ? 'default' : _b, rightAddons = _a.rightAddons, _c = _a.showPlus, showPlus = _c === void 0 ? false : _c, className = _a.className, dataTestId = _a.dataTestId;
|
|
14
|
+
var _d = formatAmount({
|
|
16
15
|
value: value,
|
|
17
16
|
currency: currency,
|
|
18
17
|
minority: minority,
|
|
19
18
|
view: view,
|
|
20
|
-
}), majorPart =
|
|
21
|
-
|
|
22
|
-
return (React.createElement("span", { className: cn(styles.component, className, (_b = {},
|
|
23
|
-
_b[styles.bold] = bold === 'full' || bold === 'major',
|
|
24
|
-
_b[styles.defaultStyles] = defaultStyles,
|
|
25
|
-
_b)), "data-test-id": dataTestId },
|
|
19
|
+
}), majorPart = _d.majorPart, minorPart = _d.minorPart, currencySymbol = _d.currencySymbol;
|
|
20
|
+
return (React.createElement("span", { className: cn(styles.component, className), "data-test-id": dataTestId },
|
|
26
21
|
showPlus && value > 0 ? '+' : '',
|
|
27
22
|
majorPart,
|
|
28
|
-
React.createElement("span", { className:
|
|
29
|
-
_c[styles.transparentMinor] = transparentMinor,
|
|
30
|
-
_c[styles.normalMinor] = bold === 'major',
|
|
31
|
-
_c[styles.defaultMinor] = defaultStyles,
|
|
32
|
-
_c)) },
|
|
23
|
+
React.createElement("span", { className: styles.minorPartAndCurrency },
|
|
33
24
|
minorPart && AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,
|
|
34
25
|
minorPart,
|
|
35
26
|
currency ? "" + THINSP + currencySymbol : null,
|
package/amount/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gh2f */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,24 +10,12 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--amount-major-part-font-weight: bold;
|
|
12
12
|
--amount-minor-part-font-weight: normal;
|
|
13
|
-
--amount-minor-part-opacity: 0.6;
|
|
14
13
|
}
|
|
15
14
|
.amount__component_1m9ep {
|
|
16
15
|
white-space: nowrap;
|
|
17
|
-
}
|
|
18
|
-
.amount__transparentMinor_1m9ep {
|
|
19
|
-
opacity: 0.6;
|
|
20
|
-
}
|
|
21
|
-
.amount__bold_1m9ep {
|
|
22
|
-
font-weight: bold;
|
|
23
|
-
}
|
|
24
|
-
.amount__normalMinor_1m9ep {
|
|
25
|
-
font-weight: normal;
|
|
26
|
-
}
|
|
27
|
-
.amount__defaultStyles_1m9ep {
|
|
28
16
|
font-weight: var(--amount-major-part-font-weight);
|
|
29
17
|
}
|
|
30
|
-
.
|
|
31
|
-
opacity:
|
|
18
|
+
.amount__minorPartAndCurrency_1m9ep {
|
|
19
|
+
opacity: 0.6;
|
|
32
20
|
font-weight: var(--amount-minor-part-font-weight);
|
|
33
21
|
}
|
|
@@ -5,8 +5,6 @@ import { AmountProps } from "../types/index";
|
|
|
5
5
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
6
6
|
* https://design.alfabank.ru/patterns/amount
|
|
7
7
|
* Не содержит стилей кроме неразрывности строки
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
10
8
|
*/
|
|
11
9
|
declare const PureAmount: React.FC<AmountProps>;
|
|
12
10
|
export { PureAmount };
|
|
@@ -9,8 +9,6 @@ require('./index.css');
|
|
|
9
9
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
10
10
|
* https://design.alfabank.ru/patterns/amount
|
|
11
11
|
* Не содержит стилей кроме неразрывности строки
|
|
12
|
-
*
|
|
13
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
14
12
|
*/
|
|
15
13
|
var PureAmount = function (_a) {
|
|
16
14
|
var value = _a.value, minority = _a.minority, currency = _a.currency, rightAddons = _a.rightAddons, _b = _a.view, view = _b === void 0 ? 'default' : _b, _c = _a.showPlus, showPlus = _c === void 0 ? false : _c, className = _a.className, dataTestId = _a.dataTestId;
|
|
@@ -22,14 +22,6 @@ type AmountProps = {
|
|
|
22
22
|
* withZeroMinorPart - отображаем копейки, даже если их значение равно 0
|
|
23
23
|
*/
|
|
24
24
|
view?: 'default' | 'withZeroMinorPart';
|
|
25
|
-
/**
|
|
26
|
-
* Управление жирностью
|
|
27
|
-
*/
|
|
28
|
-
bold?: 'full' | 'major' | 'none';
|
|
29
|
-
/**
|
|
30
|
-
* Делает минорную часть полупрозрачной
|
|
31
|
-
*/
|
|
32
|
-
transparentMinor?: boolean;
|
|
33
25
|
/**
|
|
34
26
|
* Показывать значок + для положительных значений
|
|
35
27
|
*/
|
package/amount/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gh2f */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,24 +10,12 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--amount-major-part-font-weight: bold;
|
|
12
12
|
--amount-minor-part-font-weight: normal;
|
|
13
|
-
--amount-minor-part-opacity: 0.6;
|
|
14
13
|
}
|
|
15
14
|
.amount__component_1m9ep {
|
|
16
15
|
white-space: nowrap;
|
|
17
|
-
}
|
|
18
|
-
.amount__transparentMinor_1m9ep {
|
|
19
|
-
opacity: 0.6;
|
|
20
|
-
}
|
|
21
|
-
.amount__bold_1m9ep {
|
|
22
|
-
font-weight: bold;
|
|
23
|
-
}
|
|
24
|
-
.amount__normalMinor_1m9ep {
|
|
25
|
-
font-weight: normal;
|
|
26
|
-
}
|
|
27
|
-
.amount__defaultStyles_1m9ep {
|
|
28
16
|
font-weight: var(--amount-major-part-font-weight);
|
|
29
17
|
}
|
|
30
|
-
.
|
|
31
|
-
opacity:
|
|
18
|
+
.amount__minorPartAndCurrency_1m9ep {
|
|
19
|
+
opacity: 0.6;
|
|
32
20
|
font-weight: var(--amount-minor-part-font-weight);
|
|
33
21
|
}
|
|
@@ -2,32 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { formatAmount, AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR, THINSP } from '@alfalab/utils';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"amount__component_1m9ep","
|
|
5
|
+
var styles = {"component":"amount__component_1m9ep","minorPartAndCurrency":"amount__minorPartAndCurrency_1m9ep"};
|
|
6
6
|
require('./index.css');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
10
10
|
* https://design.alfabank.ru/patterns/amount
|
|
11
11
|
*/
|
|
12
|
-
const Amount = ({ value, minority, currency, view = 'default',
|
|
12
|
+
const Amount = ({ value, minority, currency, view = 'default', rightAddons, showPlus = false, className, dataTestId, }) => {
|
|
13
13
|
const { majorPart, minorPart, currencySymbol } = formatAmount({
|
|
14
14
|
value,
|
|
15
15
|
currency,
|
|
16
16
|
minority,
|
|
17
17
|
view,
|
|
18
18
|
});
|
|
19
|
-
|
|
20
|
-
return (React.createElement("span", { className: cn(styles.component, className, {
|
|
21
|
-
[styles.bold]: bold === 'full' || bold === 'major',
|
|
22
|
-
[styles.defaultStyles]: defaultStyles,
|
|
23
|
-
}), "data-test-id": dataTestId },
|
|
19
|
+
return (React.createElement("span", { className: cn(styles.component, className), "data-test-id": dataTestId },
|
|
24
20
|
showPlus && value > 0 ? '+' : '',
|
|
25
21
|
majorPart,
|
|
26
|
-
React.createElement("span", { className:
|
|
27
|
-
[styles.transparentMinor]: transparentMinor,
|
|
28
|
-
[styles.normalMinor]: bold === 'major',
|
|
29
|
-
[styles.defaultMinor]: defaultStyles,
|
|
30
|
-
}) },
|
|
22
|
+
React.createElement("span", { className: styles.minorPartAndCurrency },
|
|
31
23
|
minorPart && AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,
|
|
32
24
|
minorPart,
|
|
33
25
|
currency ? `${THINSP}${currencySymbol}` : null,
|
package/amount/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gh2f */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,24 +10,12 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--amount-major-part-font-weight: bold;
|
|
12
12
|
--amount-minor-part-font-weight: normal;
|
|
13
|
-
--amount-minor-part-opacity: 0.6;
|
|
14
13
|
}
|
|
15
14
|
.amount__component_1m9ep {
|
|
16
15
|
white-space: nowrap;
|
|
17
|
-
}
|
|
18
|
-
.amount__transparentMinor_1m9ep {
|
|
19
|
-
opacity: 0.6;
|
|
20
|
-
}
|
|
21
|
-
.amount__bold_1m9ep {
|
|
22
|
-
font-weight: bold;
|
|
23
|
-
}
|
|
24
|
-
.amount__normalMinor_1m9ep {
|
|
25
|
-
font-weight: normal;
|
|
26
|
-
}
|
|
27
|
-
.amount__defaultStyles_1m9ep {
|
|
28
16
|
font-weight: var(--amount-major-part-font-weight);
|
|
29
17
|
}
|
|
30
|
-
.
|
|
31
|
-
opacity:
|
|
18
|
+
.amount__minorPartAndCurrency_1m9ep {
|
|
19
|
+
opacity: 0.6;
|
|
32
20
|
font-weight: var(--amount-minor-part-font-weight);
|
|
33
21
|
}
|
|
@@ -5,8 +5,6 @@ import { AmountProps } from "../types/index";
|
|
|
5
5
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
6
6
|
* https://design.alfabank.ru/patterns/amount
|
|
7
7
|
* Не содержит стилей кроме неразрывности строки
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
10
8
|
*/
|
|
11
9
|
declare const PureAmount: React.FC<AmountProps>;
|
|
12
10
|
export { PureAmount };
|
|
@@ -9,8 +9,6 @@ require('./index.css');
|
|
|
9
9
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
10
10
|
* https://design.alfabank.ru/patterns/amount
|
|
11
11
|
* Не содержит стилей кроме неразрывности строки
|
|
12
|
-
*
|
|
13
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
14
12
|
*/
|
|
15
13
|
const PureAmount = ({ value, minority, currency, rightAddons, view = 'default', showPlus = false, className, dataTestId, }) => {
|
|
16
14
|
const { formatted, currencySymbol } = formatAmount({
|
|
@@ -22,14 +22,6 @@ type AmountProps = {
|
|
|
22
22
|
* withZeroMinorPart - отображаем копейки, даже если их значение равно 0
|
|
23
23
|
*/
|
|
24
24
|
view?: 'default' | 'withZeroMinorPart';
|
|
25
|
-
/**
|
|
26
|
-
* Управление жирностью
|
|
27
|
-
*/
|
|
28
|
-
bold?: 'full' | 'major' | 'none';
|
|
29
|
-
/**
|
|
30
|
-
* Делает минорную часть полупрозрачной
|
|
31
|
-
*/
|
|
32
|
-
transparentMinor?: boolean;
|
|
33
25
|
/**
|
|
34
26
|
* Показывать значок + для положительных значений
|
|
35
27
|
*/
|
|
@@ -5,8 +5,6 @@ import { AmountProps } from "../types/index";
|
|
|
5
5
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
6
6
|
* https://design.alfabank.ru/patterns/amount
|
|
7
7
|
* Не содержит стилей кроме неразрывности строки
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
10
8
|
*/
|
|
11
9
|
declare const PureAmount: React.FC<AmountProps>;
|
|
12
10
|
export { PureAmount };
|
package/amount/pure/component.js
CHANGED
|
@@ -16,8 +16,6 @@ require('./index.css');
|
|
|
16
16
|
* Компонент для отображения суммы, согласно следующему гайдлайну:
|
|
17
17
|
* https://design.alfabank.ru/patterns/amount
|
|
18
18
|
* Не содержит стилей кроме неразрывности строки
|
|
19
|
-
*
|
|
20
|
-
* @deprecated Используйте основной компонент. Стилизацию можно настроить через пропсы
|
|
21
19
|
*/
|
|
22
20
|
var PureAmount = function (_a) {
|
|
23
21
|
var value = _a.value, minority = _a.minority, currency = _a.currency, rightAddons = _a.rightAddons, _b = _a.view, view = _b === void 0 ? 'default' : _b, _c = _a.showPlus, showPlus = _c === void 0 ? false : _c, className = _a.className, dataTestId = _a.dataTestId;
|
package/amount/pure/index.css
CHANGED
|
@@ -22,14 +22,6 @@ type AmountProps = {
|
|
|
22
22
|
* withZeroMinorPart - отображаем копейки, даже если их значение равно 0
|
|
23
23
|
*/
|
|
24
24
|
view?: 'default' | 'withZeroMinorPart';
|
|
25
|
-
/**
|
|
26
|
-
* Управление жирностью
|
|
27
|
-
*/
|
|
28
|
-
bold?: 'full' | 'major' | 'none';
|
|
29
|
-
/**
|
|
30
|
-
* Делает минорную часть полупрозрачной
|
|
31
|
-
*/
|
|
32
|
-
transparentMinor?: boolean;
|
|
33
25
|
/**
|
|
34
26
|
* Показывать значок + для положительных значений
|
|
35
27
|
*/
|