@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
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--color-light-graphic-negative: #f15045;
|
|
3
3
|
--color-light-graphic-primary-inverted: #fff;
|
|
4
|
-
--color-light-graphic-secondary-inverted: #
|
|
4
|
+
--color-light-graphic-secondary-inverted: #b6bcc3;
|
|
5
|
+
--color-light-graphic-tertiary-inverted: #6d7986;
|
|
6
|
+
--color-light-graphic-negative-shade-7: rgb(224, 74, 64);
|
|
7
|
+
--color-light-graphic-negative-shade-15: rgb(205, 68, 59);
|
|
8
|
+
--color-light-graphic-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
5
9
|
}
|
|
6
10
|
:root {
|
|
7
11
|
|
|
@@ -14,23 +18,44 @@
|
|
|
14
18
|
:root {
|
|
15
19
|
/* primary */
|
|
16
20
|
--icon-button-inverted-primary-base-color: var(--color-light-graphic-primary-inverted);
|
|
17
|
-
--icon-button-inverted-primary-hover-color:
|
|
18
|
-
--icon-button-inverted-primary-active-color:
|
|
21
|
+
--icon-button-inverted-primary-hover-color: var(--color-light-graphic-primary-inverted-shade-7);
|
|
22
|
+
--icon-button-inverted-primary-active-color: var(
|
|
23
|
+
--color-light-graphic-primary-inverted-shade-15
|
|
24
|
+
);
|
|
19
25
|
|
|
20
26
|
/* secondary */
|
|
21
27
|
--icon-button-inverted-secondary-base-color: var(--color-light-graphic-secondary-inverted);
|
|
22
|
-
--icon-button-inverted-secondary-hover-color:
|
|
23
|
-
|
|
28
|
+
--icon-button-inverted-secondary-hover-color: var(
|
|
29
|
+
--color-light-graphic-secondary-inverted-tint-15
|
|
30
|
+
);
|
|
31
|
+
--icon-button-inverted-secondary-active-color: var(
|
|
32
|
+
--color-light-graphic-secondary-inverted-tint-20
|
|
33
|
+
);
|
|
24
34
|
|
|
25
35
|
/* transparent */
|
|
26
|
-
--icon-button-inverted-transparent-base-color:
|
|
27
|
-
|
|
28
|
-
|
|
36
|
+
--icon-button-inverted-transparent-base-color: var(
|
|
37
|
+
--color-light-graphic-primary-inverted-alpha-30
|
|
38
|
+
);
|
|
39
|
+
--icon-button-inverted-transparent-hover-color: var(
|
|
40
|
+
--color-light-graphic-primary-inverted-alpha-40
|
|
41
|
+
);
|
|
42
|
+
--icon-button-inverted-transparent-active-color: var(
|
|
43
|
+
--color-light-graphic-primary-inverted-alpha-50
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
/* tertiary */
|
|
47
|
+
--icon-button-inverted-tertiary-base-color: var(--color-light-graphic-tertiary-inverted);
|
|
48
|
+
--icon-button-inverted-tertiary-hover-color: var(
|
|
49
|
+
--color-light-graphic-tertiary-inverted-tint-15
|
|
50
|
+
);
|
|
51
|
+
--icon-button-inverted-tertiary-active-color: var(
|
|
52
|
+
--color-light-graphic-tertiary-inverted-tint-20
|
|
53
|
+
);
|
|
29
54
|
|
|
30
55
|
/* negative */
|
|
31
56
|
--icon-button-inverted-negative-base-color: var(--color-light-graphic-negative);
|
|
32
|
-
--icon-button-inverted-negative-hover-color:
|
|
33
|
-
--icon-button-inverted-negative-active-color:
|
|
57
|
+
--icon-button-inverted-negative-hover-color: var(--color-light-graphic-negative-shade-7);
|
|
58
|
+
--icon-button-inverted-negative-active-color: var(--color-light-graphic-negative-shade-15);
|
|
34
59
|
}
|
|
35
60
|
.primary {
|
|
36
61
|
color: var(--icon-button-inverted-primary-base-color)
|
|
@@ -68,3 +93,12 @@
|
|
|
68
93
|
.negative:active {
|
|
69
94
|
color: var(--icon-button-inverted-negative-active-color);
|
|
70
95
|
}
|
|
96
|
+
.tertiary {
|
|
97
|
+
color: var(--icon-button-inverted-tertiary-base-color)
|
|
98
|
+
}
|
|
99
|
+
.tertiary:hover {
|
|
100
|
+
color: var(--icon-button-inverted-tertiary-hover-color);
|
|
101
|
+
}
|
|
102
|
+
.tertiary:active {
|
|
103
|
+
color: var(--icon-button-inverted-tertiary-active-color);
|
|
104
|
+
}
|
package/icon-button/default.css
CHANGED
|
@@ -3,15 +3,18 @@
|
|
|
3
3
|
--color-light-graphic-negative: #f15045;
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
5
5
|
--color-light-graphic-secondary: #6d7986;
|
|
6
|
-
--color-light-graphic-
|
|
7
|
-
--color-light-graphic-negative-
|
|
6
|
+
--color-light-graphic-tertiary: #b6bcc3;
|
|
7
|
+
--color-light-graphic-negative-shade-7: rgb(224, 74, 64);
|
|
8
|
+
--color-light-graphic-negative-shade-15: rgb(205, 68, 59);
|
|
8
9
|
--color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
9
10
|
--color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
10
11
|
--color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
|
|
12
|
+
--color-light-graphic-primary-tint-20: rgb(60, 76, 93);
|
|
11
13
|
--color-light-graphic-primary-tint-30: rgb(84, 98, 114);
|
|
12
|
-
--color-light-graphic-primary-tint-50: rgb(133, 143, 154);
|
|
13
14
|
--color-light-graphic-secondary-shade-30: rgb(76, 85, 94);
|
|
14
15
|
--color-light-graphic-secondary-shade-50: rgb(55, 61, 67);
|
|
16
|
+
--color-light-graphic-tertiary-shade-7: rgb(169, 175, 181);
|
|
17
|
+
--color-light-graphic-tertiary-shade-15: rgb(155, 160, 166);
|
|
15
18
|
}
|
|
16
19
|
:root {
|
|
17
20
|
|
|
@@ -24,8 +27,8 @@
|
|
|
24
27
|
:root {
|
|
25
28
|
/* primary */
|
|
26
29
|
--icon-button-primary-base-color: var(--color-light-graphic-primary);
|
|
27
|
-
--icon-button-primary-hover-color: var(--color-light-graphic-primary-tint-
|
|
28
|
-
--icon-button-primary-active-color: var(--color-light-graphic-primary-tint-
|
|
30
|
+
--icon-button-primary-hover-color: var(--color-light-graphic-primary-tint-20);
|
|
31
|
+
--icon-button-primary-active-color: var(--color-light-graphic-primary-tint-30);
|
|
29
32
|
|
|
30
33
|
/* secondary */
|
|
31
34
|
--icon-button-secondary-base-color: var(--color-light-graphic-secondary);
|
|
@@ -37,10 +40,15 @@
|
|
|
37
40
|
--icon-button-transparent-hover-color: var(--color-light-graphic-primary-alpha-40);
|
|
38
41
|
--icon-button-transparent-active-color: var(--color-light-graphic-primary-alpha-50);
|
|
39
42
|
|
|
43
|
+
/* tertiary */
|
|
44
|
+
--icon-button-tertiary-base-color: var(--color-light-graphic-tertiary);
|
|
45
|
+
--icon-button-tertiary-hover-color: var(--color-light-graphic-tertiary-shade-7);
|
|
46
|
+
--icon-button-tertiary-active-color: var(--color-light-graphic-tertiary-shade-15);
|
|
47
|
+
|
|
40
48
|
/* negative */
|
|
41
49
|
--icon-button-negative-base-color: var(--color-light-graphic-negative);
|
|
42
|
-
--icon-button-negative-hover-color: var(--color-light-graphic-negative-
|
|
43
|
-
--icon-button-negative-active-color: var(--color-light-graphic-negative-
|
|
50
|
+
--icon-button-negative-hover-color: var(--color-light-graphic-negative-shade-7);
|
|
51
|
+
--icon-button-negative-active-color: var(--color-light-graphic-negative-shade-15);
|
|
44
52
|
}
|
|
45
53
|
.icon-button__primary_12z4x {
|
|
46
54
|
color: var(--icon-button-primary-base-color)
|
|
@@ -51,6 +59,9 @@
|
|
|
51
59
|
.icon-button__primary_12z4x:active {
|
|
52
60
|
color: var(--icon-button-primary-active-color);
|
|
53
61
|
}
|
|
62
|
+
.icon-button__primary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
63
|
+
color: var(--icon-button-primary-base-color);
|
|
64
|
+
}
|
|
54
65
|
.icon-button__secondary_12z4x {
|
|
55
66
|
color: var(--icon-button-secondary-base-color)
|
|
56
67
|
}
|
|
@@ -60,6 +71,9 @@
|
|
|
60
71
|
.icon-button__secondary_12z4x:active {
|
|
61
72
|
color: var(--icon-button-secondary-active-color);
|
|
62
73
|
}
|
|
74
|
+
.icon-button__secondary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
75
|
+
color: var(--icon-button-secondary-base-color);
|
|
76
|
+
}
|
|
63
77
|
.icon-button__transparent_12z4x {
|
|
64
78
|
color: var(--icon-button-transparent-base-color)
|
|
65
79
|
}
|
|
@@ -78,3 +92,18 @@
|
|
|
78
92
|
.icon-button__negative_12z4x:active {
|
|
79
93
|
color: var(--icon-button-negative-active-color);
|
|
80
94
|
}
|
|
95
|
+
.icon-button__negative_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
96
|
+
color: var(--icon-button-negative-base-color);
|
|
97
|
+
}
|
|
98
|
+
.icon-button__tertiary_12z4x {
|
|
99
|
+
color: var(--icon-button-tertiary-base-color)
|
|
100
|
+
}
|
|
101
|
+
.icon-button__tertiary_12z4x:hover {
|
|
102
|
+
color: var(--icon-button-tertiary-hover-color);
|
|
103
|
+
}
|
|
104
|
+
.icon-button__tertiary_12z4x:active {
|
|
105
|
+
color: var(--icon-button-tertiary-active-color);
|
|
106
|
+
}
|
|
107
|
+
.icon-button__tertiary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
108
|
+
color: var(--icon-button-tertiary-base-color);
|
|
109
|
+
}
|
|
@@ -12,7 +12,7 @@ type IconButtonProps = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Тип кнопки
|
|
14
14
|
*/
|
|
15
|
-
view?: 'primary' | 'secondary' | 'transparent' | 'negative';
|
|
15
|
+
view?: 'primary' | 'secondary' | 'transparent' | 'tertiary' | 'negative';
|
|
16
16
|
/**
|
|
17
17
|
* Размер компонента
|
|
18
18
|
*/
|
|
@@ -40,7 +40,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
40
40
|
/**
|
|
41
41
|
* Тип кнопки
|
|
42
42
|
*/
|
|
43
|
-
view?: "primary" | "secondary" | "transparent" | "negative" | undefined;
|
|
43
|
+
view?: "primary" | "secondary" | "tertiary" | "transparent" | "negative" | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Размер компонента
|
|
46
46
|
*/
|
|
@@ -44,10 +44,10 @@ function __rest(s, e) {
|
|
|
44
44
|
var styles = {"xxs":"icon-button__xxs_1o376","xs":"icon-button__xs_1o376","s":"icon-button__s_1o376","iconWrapper":"icon-button__iconWrapper_1o376","icon":"icon-button__icon_1o376"};
|
|
45
45
|
require('./index.css');
|
|
46
46
|
|
|
47
|
-
var defaultColors = {"primary":"icon-button__primary_12z4x","secondary":"icon-button__secondary_12z4x","transparent":"icon-button__transparent_12z4x","negative":"icon-button__negative_12z4x"};
|
|
47
|
+
var defaultColors = {"primary":"icon-button__primary_12z4x","component":"icon-button__component_12z4x","loader":"icon-button__loader_12z4x","secondary":"icon-button__secondary_12z4x","transparent":"icon-button__transparent_12z4x","negative":"icon-button__negative_12z4x","tertiary":"icon-button__tertiary_12z4x"};
|
|
48
48
|
require('./default.css');
|
|
49
49
|
|
|
50
|
-
var invertedColors = {"primary":"icon-button__primary_13j3b","secondary":"icon-button__secondary_13j3b","transparent":"icon-button__transparent_13j3b","negative":"icon-button__negative_13j3b"};
|
|
50
|
+
var invertedColors = {"primary":"icon-button__primary_13j3b","secondary":"icon-button__secondary_13j3b","transparent":"icon-button__transparent_13j3b","negative":"icon-button__negative_13j3b","tertiary":"icon-button__tertiary_13j3b"};
|
|
51
51
|
require('./inverted.css');
|
|
52
52
|
|
|
53
53
|
var colorStyles = {
|
|
@@ -56,7 +56,7 @@ var colorStyles = {
|
|
|
56
56
|
};
|
|
57
57
|
var IconButton = forwardRef(function (_a, ref) {
|
|
58
58
|
var className = _a.className, Icon = _a.icon, _b = _a.view, view = _b === void 0 ? 'primary' : _b, _c = _a.size, size = _c === void 0 ? 's' : _c, _d = _a.colors, colors = _d === void 0 ? 'default' : _d, restProps = __rest(_a, ["className", "icon", "view", "size", "colors"]);
|
|
59
|
-
return (React.createElement(Button, __assign({}, restProps, { ref: ref, view: 'ghost', className: cn(className, colorStyles[colors][view]), size: 's', leftAddons: React.createElement("span", { className: cn(styles.iconWrapper, styles[size]) },
|
|
59
|
+
return (React.createElement(Button, __assign({}, restProps, { ref: ref, view: 'ghost', className: cn(className, colorStyles[colors][view], colorStyles[colors].component, colorStyles[colors].loader), size: 's', leftAddons: React.createElement("span", { className: cn(styles.iconWrapper, styles[size]) },
|
|
60
60
|
React.createElement(Icon, { className: styles.icon })) })));
|
|
61
61
|
});
|
|
62
62
|
|
|
@@ -3,15 +3,18 @@
|
|
|
3
3
|
--color-light-graphic-negative: #f15045;
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
5
5
|
--color-light-graphic-secondary: #6d7986;
|
|
6
|
-
--color-light-graphic-
|
|
7
|
-
--color-light-graphic-negative-
|
|
6
|
+
--color-light-graphic-tertiary: #b6bcc3;
|
|
7
|
+
--color-light-graphic-negative-shade-7: rgb(224, 74, 64);
|
|
8
|
+
--color-light-graphic-negative-shade-15: rgb(205, 68, 59);
|
|
8
9
|
--color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
9
10
|
--color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
10
11
|
--color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
|
|
12
|
+
--color-light-graphic-primary-tint-20: rgb(60, 76, 93);
|
|
11
13
|
--color-light-graphic-primary-tint-30: rgb(84, 98, 114);
|
|
12
|
-
--color-light-graphic-primary-tint-50: rgb(133, 143, 154);
|
|
13
14
|
--color-light-graphic-secondary-shade-30: rgb(76, 85, 94);
|
|
14
15
|
--color-light-graphic-secondary-shade-50: rgb(55, 61, 67);
|
|
16
|
+
--color-light-graphic-tertiary-shade-7: rgb(169, 175, 181);
|
|
17
|
+
--color-light-graphic-tertiary-shade-15: rgb(155, 160, 166);
|
|
15
18
|
}
|
|
16
19
|
:root {
|
|
17
20
|
|
|
@@ -24,8 +27,8 @@
|
|
|
24
27
|
:root {
|
|
25
28
|
/* primary */
|
|
26
29
|
--icon-button-primary-base-color: var(--color-light-graphic-primary);
|
|
27
|
-
--icon-button-primary-hover-color: var(--color-light-graphic-primary-tint-
|
|
28
|
-
--icon-button-primary-active-color: var(--color-light-graphic-primary-tint-
|
|
30
|
+
--icon-button-primary-hover-color: var(--color-light-graphic-primary-tint-20);
|
|
31
|
+
--icon-button-primary-active-color: var(--color-light-graphic-primary-tint-30);
|
|
29
32
|
|
|
30
33
|
/* secondary */
|
|
31
34
|
--icon-button-secondary-base-color: var(--color-light-graphic-secondary);
|
|
@@ -37,10 +40,15 @@
|
|
|
37
40
|
--icon-button-transparent-hover-color: var(--color-light-graphic-primary-alpha-40);
|
|
38
41
|
--icon-button-transparent-active-color: var(--color-light-graphic-primary-alpha-50);
|
|
39
42
|
|
|
43
|
+
/* tertiary */
|
|
44
|
+
--icon-button-tertiary-base-color: var(--color-light-graphic-tertiary);
|
|
45
|
+
--icon-button-tertiary-hover-color: var(--color-light-graphic-tertiary-shade-7);
|
|
46
|
+
--icon-button-tertiary-active-color: var(--color-light-graphic-tertiary-shade-15);
|
|
47
|
+
|
|
40
48
|
/* negative */
|
|
41
49
|
--icon-button-negative-base-color: var(--color-light-graphic-negative);
|
|
42
|
-
--icon-button-negative-hover-color: var(--color-light-graphic-negative-
|
|
43
|
-
--icon-button-negative-active-color: var(--color-light-graphic-negative-
|
|
50
|
+
--icon-button-negative-hover-color: var(--color-light-graphic-negative-shade-7);
|
|
51
|
+
--icon-button-negative-active-color: var(--color-light-graphic-negative-shade-15);
|
|
44
52
|
}
|
|
45
53
|
.icon-button__primary_12z4x {
|
|
46
54
|
color: var(--icon-button-primary-base-color)
|
|
@@ -51,6 +59,9 @@
|
|
|
51
59
|
.icon-button__primary_12z4x:active {
|
|
52
60
|
color: var(--icon-button-primary-active-color);
|
|
53
61
|
}
|
|
62
|
+
.icon-button__primary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
63
|
+
color: var(--icon-button-primary-base-color);
|
|
64
|
+
}
|
|
54
65
|
.icon-button__secondary_12z4x {
|
|
55
66
|
color: var(--icon-button-secondary-base-color)
|
|
56
67
|
}
|
|
@@ -60,6 +71,9 @@
|
|
|
60
71
|
.icon-button__secondary_12z4x:active {
|
|
61
72
|
color: var(--icon-button-secondary-active-color);
|
|
62
73
|
}
|
|
74
|
+
.icon-button__secondary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
75
|
+
color: var(--icon-button-secondary-base-color);
|
|
76
|
+
}
|
|
63
77
|
.icon-button__transparent_12z4x {
|
|
64
78
|
color: var(--icon-button-transparent-base-color)
|
|
65
79
|
}
|
|
@@ -78,3 +92,18 @@
|
|
|
78
92
|
.icon-button__negative_12z4x:active {
|
|
79
93
|
color: var(--icon-button-negative-active-color);
|
|
80
94
|
}
|
|
95
|
+
.icon-button__negative_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
96
|
+
color: var(--icon-button-negative-base-color);
|
|
97
|
+
}
|
|
98
|
+
.icon-button__tertiary_12z4x {
|
|
99
|
+
color: var(--icon-button-tertiary-base-color)
|
|
100
|
+
}
|
|
101
|
+
.icon-button__tertiary_12z4x:hover {
|
|
102
|
+
color: var(--icon-button-tertiary-hover-color);
|
|
103
|
+
}
|
|
104
|
+
.icon-button__tertiary_12z4x:active {
|
|
105
|
+
color: var(--icon-button-tertiary-active-color);
|
|
106
|
+
}
|
|
107
|
+
.icon-button__tertiary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
108
|
+
color: var(--icon-button-tertiary-base-color);
|
|
109
|
+
}
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-negative: #f15045;
|
|
4
4
|
--color-light-graphic-primary-inverted: #fff;
|
|
5
|
-
--color-light-graphic-secondary-inverted: #
|
|
5
|
+
--color-light-graphic-secondary-inverted: #b6bcc3;
|
|
6
|
+
--color-light-graphic-tertiary-inverted: #6d7986;
|
|
7
|
+
--color-light-graphic-negative-shade-7: rgb(224, 74, 64);
|
|
8
|
+
--color-light-graphic-negative-shade-15: rgb(205, 68, 59);
|
|
9
|
+
--color-light-graphic-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
6
10
|
}
|
|
7
11
|
:root {
|
|
8
12
|
|
|
@@ -15,23 +19,44 @@
|
|
|
15
19
|
:root {
|
|
16
20
|
/* primary */
|
|
17
21
|
--icon-button-inverted-primary-base-color: var(--color-light-graphic-primary-inverted);
|
|
18
|
-
--icon-button-inverted-primary-hover-color:
|
|
19
|
-
--icon-button-inverted-primary-active-color:
|
|
22
|
+
--icon-button-inverted-primary-hover-color: var(--color-light-graphic-primary-inverted-shade-7);
|
|
23
|
+
--icon-button-inverted-primary-active-color: var(
|
|
24
|
+
--color-light-graphic-primary-inverted-shade-15
|
|
25
|
+
);
|
|
20
26
|
|
|
21
27
|
/* secondary */
|
|
22
28
|
--icon-button-inverted-secondary-base-color: var(--color-light-graphic-secondary-inverted);
|
|
23
|
-
--icon-button-inverted-secondary-hover-color:
|
|
24
|
-
|
|
29
|
+
--icon-button-inverted-secondary-hover-color: var(
|
|
30
|
+
--color-light-graphic-secondary-inverted-tint-15
|
|
31
|
+
);
|
|
32
|
+
--icon-button-inverted-secondary-active-color: var(
|
|
33
|
+
--color-light-graphic-secondary-inverted-tint-20
|
|
34
|
+
);
|
|
25
35
|
|
|
26
36
|
/* transparent */
|
|
27
|
-
--icon-button-inverted-transparent-base-color:
|
|
28
|
-
|
|
29
|
-
|
|
37
|
+
--icon-button-inverted-transparent-base-color: var(
|
|
38
|
+
--color-light-graphic-primary-inverted-alpha-30
|
|
39
|
+
);
|
|
40
|
+
--icon-button-inverted-transparent-hover-color: var(
|
|
41
|
+
--color-light-graphic-primary-inverted-alpha-40
|
|
42
|
+
);
|
|
43
|
+
--icon-button-inverted-transparent-active-color: var(
|
|
44
|
+
--color-light-graphic-primary-inverted-alpha-50
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
/* tertiary */
|
|
48
|
+
--icon-button-inverted-tertiary-base-color: var(--color-light-graphic-tertiary-inverted);
|
|
49
|
+
--icon-button-inverted-tertiary-hover-color: var(
|
|
50
|
+
--color-light-graphic-tertiary-inverted-tint-15
|
|
51
|
+
);
|
|
52
|
+
--icon-button-inverted-tertiary-active-color: var(
|
|
53
|
+
--color-light-graphic-tertiary-inverted-tint-20
|
|
54
|
+
);
|
|
30
55
|
|
|
31
56
|
/* negative */
|
|
32
57
|
--icon-button-inverted-negative-base-color: var(--color-light-graphic-negative);
|
|
33
|
-
--icon-button-inverted-negative-hover-color:
|
|
34
|
-
--icon-button-inverted-negative-active-color:
|
|
58
|
+
--icon-button-inverted-negative-hover-color: var(--color-light-graphic-negative-shade-7);
|
|
59
|
+
--icon-button-inverted-negative-active-color: var(--color-light-graphic-negative-shade-15);
|
|
35
60
|
}
|
|
36
61
|
.icon-button__primary_13j3b {
|
|
37
62
|
color: var(--icon-button-inverted-primary-base-color)
|
|
@@ -69,3 +94,12 @@
|
|
|
69
94
|
.icon-button__negative_13j3b:active {
|
|
70
95
|
color: var(--icon-button-inverted-negative-active-color);
|
|
71
96
|
}
|
|
97
|
+
.icon-button__tertiary_13j3b {
|
|
98
|
+
color: var(--icon-button-inverted-tertiary-base-color)
|
|
99
|
+
}
|
|
100
|
+
.icon-button__tertiary_13j3b:hover {
|
|
101
|
+
color: var(--icon-button-inverted-tertiary-hover-color);
|
|
102
|
+
}
|
|
103
|
+
.icon-button__tertiary_13j3b:active {
|
|
104
|
+
color: var(--icon-button-inverted-tertiary-active-color);
|
|
105
|
+
}
|
package/icon-button/inverted.css
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-negative: #f15045;
|
|
4
4
|
--color-light-graphic-primary-inverted: #fff;
|
|
5
|
-
--color-light-graphic-secondary-inverted: #
|
|
5
|
+
--color-light-graphic-secondary-inverted: #b6bcc3;
|
|
6
|
+
--color-light-graphic-tertiary-inverted: #6d7986;
|
|
7
|
+
--color-light-graphic-negative-shade-7: rgb(224, 74, 64);
|
|
8
|
+
--color-light-graphic-negative-shade-15: rgb(205, 68, 59);
|
|
9
|
+
--color-light-graphic-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
6
10
|
}
|
|
7
11
|
:root {
|
|
8
12
|
|
|
@@ -15,23 +19,44 @@
|
|
|
15
19
|
:root {
|
|
16
20
|
/* primary */
|
|
17
21
|
--icon-button-inverted-primary-base-color: var(--color-light-graphic-primary-inverted);
|
|
18
|
-
--icon-button-inverted-primary-hover-color:
|
|
19
|
-
--icon-button-inverted-primary-active-color:
|
|
22
|
+
--icon-button-inverted-primary-hover-color: var(--color-light-graphic-primary-inverted-shade-7);
|
|
23
|
+
--icon-button-inverted-primary-active-color: var(
|
|
24
|
+
--color-light-graphic-primary-inverted-shade-15
|
|
25
|
+
);
|
|
20
26
|
|
|
21
27
|
/* secondary */
|
|
22
28
|
--icon-button-inverted-secondary-base-color: var(--color-light-graphic-secondary-inverted);
|
|
23
|
-
--icon-button-inverted-secondary-hover-color:
|
|
24
|
-
|
|
29
|
+
--icon-button-inverted-secondary-hover-color: var(
|
|
30
|
+
--color-light-graphic-secondary-inverted-tint-15
|
|
31
|
+
);
|
|
32
|
+
--icon-button-inverted-secondary-active-color: var(
|
|
33
|
+
--color-light-graphic-secondary-inverted-tint-20
|
|
34
|
+
);
|
|
25
35
|
|
|
26
36
|
/* transparent */
|
|
27
|
-
--icon-button-inverted-transparent-base-color:
|
|
28
|
-
|
|
29
|
-
|
|
37
|
+
--icon-button-inverted-transparent-base-color: var(
|
|
38
|
+
--color-light-graphic-primary-inverted-alpha-30
|
|
39
|
+
);
|
|
40
|
+
--icon-button-inverted-transparent-hover-color: var(
|
|
41
|
+
--color-light-graphic-primary-inverted-alpha-40
|
|
42
|
+
);
|
|
43
|
+
--icon-button-inverted-transparent-active-color: var(
|
|
44
|
+
--color-light-graphic-primary-inverted-alpha-50
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
/* tertiary */
|
|
48
|
+
--icon-button-inverted-tertiary-base-color: var(--color-light-graphic-tertiary-inverted);
|
|
49
|
+
--icon-button-inverted-tertiary-hover-color: var(
|
|
50
|
+
--color-light-graphic-tertiary-inverted-tint-15
|
|
51
|
+
);
|
|
52
|
+
--icon-button-inverted-tertiary-active-color: var(
|
|
53
|
+
--color-light-graphic-tertiary-inverted-tint-20
|
|
54
|
+
);
|
|
30
55
|
|
|
31
56
|
/* negative */
|
|
32
57
|
--icon-button-inverted-negative-base-color: var(--color-light-graphic-negative);
|
|
33
|
-
--icon-button-inverted-negative-hover-color:
|
|
34
|
-
--icon-button-inverted-negative-active-color:
|
|
58
|
+
--icon-button-inverted-negative-hover-color: var(--color-light-graphic-negative-shade-7);
|
|
59
|
+
--icon-button-inverted-negative-active-color: var(--color-light-graphic-negative-shade-15);
|
|
35
60
|
}
|
|
36
61
|
.icon-button__primary_13j3b {
|
|
37
62
|
color: var(--icon-button-inverted-primary-base-color)
|
|
@@ -69,3 +94,12 @@
|
|
|
69
94
|
.icon-button__negative_13j3b:active {
|
|
70
95
|
color: var(--icon-button-inverted-negative-active-color);
|
|
71
96
|
}
|
|
97
|
+
.icon-button__tertiary_13j3b {
|
|
98
|
+
color: var(--icon-button-inverted-tertiary-base-color)
|
|
99
|
+
}
|
|
100
|
+
.icon-button__tertiary_13j3b:hover {
|
|
101
|
+
color: var(--icon-button-inverted-tertiary-hover-color);
|
|
102
|
+
}
|
|
103
|
+
.icon-button__tertiary_13j3b:active {
|
|
104
|
+
color: var(--icon-button-inverted-tertiary-active-color);
|
|
105
|
+
}
|
|
@@ -12,7 +12,7 @@ type IconButtonProps = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Тип кнопки
|
|
14
14
|
*/
|
|
15
|
-
view?: 'primary' | 'secondary' | 'transparent' | 'negative';
|
|
15
|
+
view?: 'primary' | 'secondary' | 'transparent' | 'tertiary' | 'negative';
|
|
16
16
|
/**
|
|
17
17
|
* Размер компонента
|
|
18
18
|
*/
|
|
@@ -40,7 +40,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
40
40
|
/**
|
|
41
41
|
* Тип кнопки
|
|
42
42
|
*/
|
|
43
|
-
view?: "primary" | "secondary" | "transparent" | "negative" | undefined;
|
|
43
|
+
view?: "primary" | "secondary" | "tertiary" | "transparent" | "negative" | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* Размер компонента
|
|
46
46
|
*/
|
|
@@ -5,10 +5,10 @@ import { Button } from '../../button/modern';
|
|
|
5
5
|
var styles = {"xxs":"icon-button__xxs_1o376","xs":"icon-button__xs_1o376","s":"icon-button__s_1o376","iconWrapper":"icon-button__iconWrapper_1o376","icon":"icon-button__icon_1o376"};
|
|
6
6
|
require('./index.css');
|
|
7
7
|
|
|
8
|
-
var defaultColors = {"primary":"icon-button__primary_12z4x","secondary":"icon-button__secondary_12z4x","transparent":"icon-button__transparent_12z4x","negative":"icon-button__negative_12z4x"};
|
|
8
|
+
var defaultColors = {"primary":"icon-button__primary_12z4x","component":"icon-button__component_12z4x","loader":"icon-button__loader_12z4x","secondary":"icon-button__secondary_12z4x","transparent":"icon-button__transparent_12z4x","negative":"icon-button__negative_12z4x","tertiary":"icon-button__tertiary_12z4x"};
|
|
9
9
|
require('./default.css');
|
|
10
10
|
|
|
11
|
-
var invertedColors = {"primary":"icon-button__primary_13j3b","secondary":"icon-button__secondary_13j3b","transparent":"icon-button__transparent_13j3b","negative":"icon-button__negative_13j3b"};
|
|
11
|
+
var invertedColors = {"primary":"icon-button__primary_13j3b","secondary":"icon-button__secondary_13j3b","transparent":"icon-button__transparent_13j3b","negative":"icon-button__negative_13j3b","tertiary":"icon-button__tertiary_13j3b"};
|
|
12
12
|
require('./inverted.css');
|
|
13
13
|
|
|
14
14
|
const colorStyles = {
|
|
@@ -16,7 +16,7 @@ const colorStyles = {
|
|
|
16
16
|
inverted: invertedColors,
|
|
17
17
|
};
|
|
18
18
|
const IconButton = forwardRef(({ className, icon: Icon, view = 'primary', size = 's', colors = 'default', ...restProps }, ref) => {
|
|
19
|
-
return (React.createElement(Button, Object.assign({}, restProps, { ref: ref, view: 'ghost', className: cn(className, colorStyles[colors][view]), size: 's', leftAddons: React.createElement("span", { className: cn(styles.iconWrapper, styles[size]) },
|
|
19
|
+
return (React.createElement(Button, Object.assign({}, restProps, { ref: ref, view: 'ghost', className: cn(className, colorStyles[colors][view], colorStyles[colors].component, colorStyles[colors].loader), size: 's', leftAddons: React.createElement("span", { className: cn(styles.iconWrapper, styles[size]) },
|
|
20
20
|
React.createElement(Icon, { className: styles.icon })) })));
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -3,15 +3,18 @@
|
|
|
3
3
|
--color-light-graphic-negative: #f15045;
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
5
5
|
--color-light-graphic-secondary: #6d7986;
|
|
6
|
-
--color-light-graphic-
|
|
7
|
-
--color-light-graphic-negative-
|
|
6
|
+
--color-light-graphic-tertiary: #b6bcc3;
|
|
7
|
+
--color-light-graphic-negative-shade-7: rgb(224, 74, 64);
|
|
8
|
+
--color-light-graphic-negative-shade-15: rgb(205, 68, 59);
|
|
8
9
|
--color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
9
10
|
--color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
10
11
|
--color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
|
|
12
|
+
--color-light-graphic-primary-tint-20: rgb(60, 76, 93);
|
|
11
13
|
--color-light-graphic-primary-tint-30: rgb(84, 98, 114);
|
|
12
|
-
--color-light-graphic-primary-tint-50: rgb(133, 143, 154);
|
|
13
14
|
--color-light-graphic-secondary-shade-30: rgb(76, 85, 94);
|
|
14
15
|
--color-light-graphic-secondary-shade-50: rgb(55, 61, 67);
|
|
16
|
+
--color-light-graphic-tertiary-shade-7: rgb(169, 175, 181);
|
|
17
|
+
--color-light-graphic-tertiary-shade-15: rgb(155, 160, 166);
|
|
15
18
|
}
|
|
16
19
|
:root {
|
|
17
20
|
|
|
@@ -24,8 +27,8 @@
|
|
|
24
27
|
:root {
|
|
25
28
|
/* primary */
|
|
26
29
|
--icon-button-primary-base-color: var(--color-light-graphic-primary);
|
|
27
|
-
--icon-button-primary-hover-color: var(--color-light-graphic-primary-tint-
|
|
28
|
-
--icon-button-primary-active-color: var(--color-light-graphic-primary-tint-
|
|
30
|
+
--icon-button-primary-hover-color: var(--color-light-graphic-primary-tint-20);
|
|
31
|
+
--icon-button-primary-active-color: var(--color-light-graphic-primary-tint-30);
|
|
29
32
|
|
|
30
33
|
/* secondary */
|
|
31
34
|
--icon-button-secondary-base-color: var(--color-light-graphic-secondary);
|
|
@@ -37,10 +40,15 @@
|
|
|
37
40
|
--icon-button-transparent-hover-color: var(--color-light-graphic-primary-alpha-40);
|
|
38
41
|
--icon-button-transparent-active-color: var(--color-light-graphic-primary-alpha-50);
|
|
39
42
|
|
|
43
|
+
/* tertiary */
|
|
44
|
+
--icon-button-tertiary-base-color: var(--color-light-graphic-tertiary);
|
|
45
|
+
--icon-button-tertiary-hover-color: var(--color-light-graphic-tertiary-shade-7);
|
|
46
|
+
--icon-button-tertiary-active-color: var(--color-light-graphic-tertiary-shade-15);
|
|
47
|
+
|
|
40
48
|
/* negative */
|
|
41
49
|
--icon-button-negative-base-color: var(--color-light-graphic-negative);
|
|
42
|
-
--icon-button-negative-hover-color: var(--color-light-graphic-negative-
|
|
43
|
-
--icon-button-negative-active-color: var(--color-light-graphic-negative-
|
|
50
|
+
--icon-button-negative-hover-color: var(--color-light-graphic-negative-shade-7);
|
|
51
|
+
--icon-button-negative-active-color: var(--color-light-graphic-negative-shade-15);
|
|
44
52
|
}
|
|
45
53
|
.icon-button__primary_12z4x {
|
|
46
54
|
color: var(--icon-button-primary-base-color)
|
|
@@ -51,6 +59,9 @@
|
|
|
51
59
|
.icon-button__primary_12z4x:active {
|
|
52
60
|
color: var(--icon-button-primary-active-color);
|
|
53
61
|
}
|
|
62
|
+
.icon-button__primary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
63
|
+
color: var(--icon-button-primary-base-color);
|
|
64
|
+
}
|
|
54
65
|
.icon-button__secondary_12z4x {
|
|
55
66
|
color: var(--icon-button-secondary-base-color)
|
|
56
67
|
}
|
|
@@ -60,6 +71,9 @@
|
|
|
60
71
|
.icon-button__secondary_12z4x:active {
|
|
61
72
|
color: var(--icon-button-secondary-active-color);
|
|
62
73
|
}
|
|
74
|
+
.icon-button__secondary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
75
|
+
color: var(--icon-button-secondary-base-color);
|
|
76
|
+
}
|
|
63
77
|
.icon-button__transparent_12z4x {
|
|
64
78
|
color: var(--icon-button-transparent-base-color)
|
|
65
79
|
}
|
|
@@ -78,3 +92,18 @@
|
|
|
78
92
|
.icon-button__negative_12z4x:active {
|
|
79
93
|
color: var(--icon-button-negative-active-color);
|
|
80
94
|
}
|
|
95
|
+
.icon-button__negative_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
96
|
+
color: var(--icon-button-negative-base-color);
|
|
97
|
+
}
|
|
98
|
+
.icon-button__tertiary_12z4x {
|
|
99
|
+
color: var(--icon-button-tertiary-base-color)
|
|
100
|
+
}
|
|
101
|
+
.icon-button__tertiary_12z4x:hover {
|
|
102
|
+
color: var(--icon-button-tertiary-hover-color);
|
|
103
|
+
}
|
|
104
|
+
.icon-button__tertiary_12z4x:active {
|
|
105
|
+
color: var(--icon-button-tertiary-active-color);
|
|
106
|
+
}
|
|
107
|
+
.icon-button__tertiary_12z4x.icon-button__component_12z4x:disabled.icon-button__loader_12z4x {
|
|
108
|
+
color: var(--icon-button-tertiary-base-color);
|
|
109
|
+
}
|