@alfalab/core-components 45.3.0-beta.1 → 45.4.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/button/components/base-button/Component.js +8 -9
- package/button/components/base-button/default.css +56 -24
- package/button/components/base-button/index.css +30 -6
- package/button/components/base-button/inverted.css +64 -21
- package/button/cssm/components/base-button/Component.js +5 -6
- package/button/cssm/components/base-button/default.module.css +56 -24
- package/button/cssm/components/base-button/index.module.css +30 -6
- package/button/cssm/components/base-button/inverted.module.css +64 -21
- package/button/cssm/desktop/default.desktop.module.css +34 -0
- package/button/cssm/desktop/desktop.module.css +20 -0
- package/button/cssm/desktop/inverted.desktop.module.css +36 -0
- package/button/cssm/mobile/default.mobile.module.css +34 -0
- package/button/cssm/mobile/inverted.mobile.module.css +36 -0
- package/button/cssm/mobile/mobile.module.css +20 -0
- package/button/cssm/typings.d.ts +1 -1
- package/button/cssm/vars.css +20 -0
- package/button/desktop/Component.desktop.js +2 -2
- package/button/desktop/default.desktop.css +34 -0
- package/button/desktop/desktop.css +20 -0
- package/button/desktop/inverted.desktop.css +36 -0
- package/button/esm/components/base-button/Component.js +8 -9
- package/button/esm/components/base-button/default.css +56 -24
- package/button/esm/components/base-button/index.css +30 -6
- package/button/esm/components/base-button/inverted.css +64 -21
- package/button/esm/desktop/Component.desktop.js +2 -2
- package/button/esm/desktop/default.desktop.css +34 -0
- package/button/esm/desktop/desktop.css +20 -0
- package/button/esm/desktop/inverted.desktop.css +36 -0
- package/button/esm/mobile/Component.mobile.js +2 -2
- package/button/esm/mobile/default.mobile.css +34 -0
- package/button/esm/mobile/inverted.mobile.css +36 -0
- package/button/esm/mobile/mobile.css +20 -0
- package/button/esm/typings.d.ts +1 -1
- package/button/mobile/Component.mobile.js +2 -2
- package/button/mobile/default.mobile.css +34 -0
- package/button/mobile/inverted.mobile.css +36 -0
- package/button/mobile/mobile.css +20 -0
- package/button/modern/components/base-button/Component.js +8 -9
- package/button/modern/components/base-button/default.css +56 -24
- package/button/modern/components/base-button/index.css +30 -6
- package/button/modern/components/base-button/inverted.css +64 -21
- package/button/modern/desktop/Component.desktop.js +2 -2
- package/button/modern/desktop/default.desktop.css +34 -0
- package/button/modern/desktop/desktop.css +20 -0
- package/button/modern/desktop/inverted.desktop.css +36 -0
- package/button/modern/mobile/Component.mobile.js +2 -2
- package/button/modern/mobile/default.mobile.css +34 -0
- package/button/modern/mobile/inverted.mobile.css +36 -0
- package/button/modern/mobile/mobile.css +20 -0
- package/button/modern/typings.d.ts +1 -1
- package/button/typings.d.ts +1 -1
- package/calendar/components/calendar-mobile/Component.js +14 -2
- package/calendar/components/days-table/Component.js +1 -1
- package/calendar/components/period-slider/Component.js +2 -2
- package/calendar/components/period-slider/utils.js +8 -0
- package/calendar/components/select-button/Component.js +1 -1
- package/calendar/cssm/components/calendar-mobile/Component.js +14 -2
- package/calendar/cssm/components/days-table/Component.js +1 -1
- package/calendar/cssm/components/period-slider/Component.js +2 -2
- package/calendar/cssm/components/period-slider/utils.js +8 -0
- package/calendar/cssm/components/select-button/Component.js +1 -1
- package/calendar/cssm/desktop/Component.desktop.js +1 -0
- package/calendar/desktop/Component.desktop.js +1 -0
- package/calendar/esm/Component.responsive.js +1 -0
- package/calendar/esm/components/calendar-mobile/Component.js +15 -2
- package/calendar/esm/components/calendar-mobile/index.js +1 -0
- package/calendar/esm/components/days-table/Component.js +1 -1
- package/calendar/esm/components/period-slider/Component.js +3 -2
- package/calendar/esm/components/period-slider/index.js +1 -0
- package/calendar/esm/components/period-slider/utils.js +7 -0
- package/calendar/esm/components/select-button/Component.js +1 -1
- package/calendar/esm/desktop/Component.desktop.js +1 -0
- package/calendar/esm/desktop/index.js +1 -0
- package/calendar/esm/index.js +1 -0
- package/calendar/esm/mobile/index.js +1 -0
- package/calendar/modern/Component.responsive.js +1 -0
- package/calendar/modern/components/calendar-mobile/Component.js +15 -2
- package/calendar/modern/components/calendar-mobile/index.js +1 -0
- package/calendar/modern/components/days-table/Component.js +1 -1
- package/calendar/modern/components/period-slider/Component.js +3 -2
- package/calendar/modern/components/period-slider/index.js +1 -0
- package/calendar/modern/components/period-slider/utils.js +7 -0
- package/calendar/modern/components/select-button/Component.js +1 -1
- package/calendar/modern/desktop/Component.desktop.js +1 -0
- package/calendar/modern/desktop/index.js +1 -0
- package/calendar/modern/index.js +1 -0
- package/calendar/modern/mobile/index.js +1 -0
- package/calendar-range/utils.js +3 -1
- package/confirmation/components/screens/initial/component.js +2 -2
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/cssm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.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 +2 -2
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.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 +2 -2
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/file-upload-item/Component.d.ts +4 -0
- package/file-upload-item/Component.js +4 -3
- package/file-upload-item/cssm/Component.d.ts +4 -0
- package/file-upload-item/cssm/Component.js +3 -2
- package/file-upload-item/cssm/index.module.css +8 -3
- package/file-upload-item/esm/Component.d.ts +4 -0
- package/file-upload-item/esm/Component.js +4 -3
- package/file-upload-item/esm/index.css +8 -3
- package/file-upload-item/index.css +8 -3
- package/file-upload-item/modern/Component.d.ts +4 -0
- package/file-upload-item/modern/Component.js +3 -3
- package/file-upload-item/modern/index.css +8 -3
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- 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-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.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 +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/icon-button/Component.js +1 -1
- package/icon-button/cssm/Component.js +1 -1
- package/icon-button/esm/Component.js +1 -1
- package/icon-button/modern/Component.js +1 -1
- package/input/components/clear-button/Component.js +1 -1
- package/input/cssm/components/clear-button/Component.js +1 -1
- package/input/esm/components/clear-button/Component.js +1 -1
- package/input/modern/components/clear-button/Component.js +1 -1
- package/international-phone-input/{cssm/Component-61e2321e.d.ts → Component-6d57839f.d.ts} +1 -1
- package/international-phone-input/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/{modern/Component-61e2321e.d.ts → cssm/Component-6d57839f.d.ts} +1 -1
- package/international-phone-input/cssm/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/cssm/data/country-data.js +225 -211
- package/international-phone-input/cssm/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/international-phone-input/cssm/index-8566963f.d.ts +2 -2
- package/international-phone-input/cssm/{typings-61e2321e.d.ts → typings-6d57839f.d.ts} +1 -1
- package/international-phone-input/cssm/typings-70284312.d.ts +1 -1
- package/international-phone-input/data/country-data.js +225 -211
- package/international-phone-input/esm/{Component-61e2321e.d.ts → Component-6d57839f.d.ts} +1 -1
- package/international-phone-input/esm/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/esm/data/country-data.js +225 -211
- package/international-phone-input/esm/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/international-phone-input/esm/index-8566963f.d.ts +2 -2
- package/international-phone-input/{modern/typings-61e2321e.d.ts → esm/typings-6d57839f.d.ts} +1 -1
- package/international-phone-input/esm/typings-70284312.d.ts +1 -1
- package/international-phone-input/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/international-phone-input/index-8566963f.d.ts +2 -2
- package/international-phone-input/{Component-61e2321e.d.ts → modern/Component-6d57839f.d.ts} +1 -1
- package/international-phone-input/modern/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/modern/data/country-data.js +225 -211
- package/international-phone-input/modern/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/international-phone-input/modern/index-8566963f.d.ts +2 -2
- package/international-phone-input/{esm/typings-61e2321e.d.ts → modern/typings-6d57839f.d.ts} +1 -1
- package/international-phone-input/modern/typings-70284312.d.ts +1 -1
- package/international-phone-input/{typings-61e2321e.d.ts → typings-6d57839f.d.ts} +1 -1
- package/international-phone-input/typings-70284312.d.ts +1 -1
- package/link/cssm/default.module.css +12 -6
- package/link/cssm/index.module.css +5 -2
- package/link/cssm/inverted.module.css +12 -6
- package/link/default.css +12 -6
- package/link/esm/default.css +12 -6
- package/link/esm/index.css +5 -2
- package/link/esm/inverted.css +12 -6
- package/link/index.css +5 -2
- package/link/inverted.css +12 -6
- package/link/modern/default.css +12 -6
- package/link/modern/index.css +5 -2
- package/link/modern/inverted.css +12 -6
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/navigation-bar/components/back-arrow-addon/Component.js +1 -1
- package/navigation-bar/cssm/components/back-arrow-addon/Component.js +1 -1
- package/navigation-bar/esm/components/back-arrow-addon/Component.js +1 -1
- package/navigation-bar/modern/components/back-arrow-addon/Component.js +1 -1
- package/package.json +1 -1
- package/pass-code/components/KeyPad/Component.js +1 -1
- package/pass-code/cssm/components/KeyPad/Component.js +1 -1
- package/pass-code/esm/components/KeyPad/Component.js +1 -1
- package/pass-code/modern/components/KeyPad/Component.js +1 -1
- package/pattern-lock/components/base-pattern-lock/Component.js +1 -1
- package/pattern-lock/cssm/components/base-pattern-lock/Component.js +1 -1
- package/pattern-lock/esm/components/base-pattern-lock/Component.js +1 -1
- package/pattern-lock/modern/components/base-pattern-lock/Component.js +1 -1
- package/picker-button/Component-c44170fe.d.ts +1 -1
- package/pure-cell/{component-fd7196d2.d.ts → component-9cd60393.d.ts} +6 -6
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/addon/component.js +1 -1
- package/pure-cell/components/addon/index.d.ts +1 -1
- package/pure-cell/components/addon/index.js +1 -1
- package/pure-cell/components/amount/component.js +1 -1
- package/pure-cell/components/amount/index.d.ts +1 -1
- package/pure-cell/components/amount/index.js +1 -1
- package/pure-cell/components/amount-title/component.js +1 -1
- package/pure-cell/components/amount-title/index.d.ts +1 -1
- package/pure-cell/components/amount-title/index.js +1 -1
- package/pure-cell/components/category/component.js +1 -1
- package/pure-cell/components/category/index.d.ts +1 -1
- package/pure-cell/components/category/index.js +1 -1
- package/pure-cell/components/content/component.js +1 -1
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +1 -1
- package/pure-cell/components/footer/component.js +1 -1
- package/pure-cell/components/footer/index.d.ts +1 -1
- package/pure-cell/components/footer/index.js +1 -1
- package/pure-cell/components/footer-button/component.js +1 -1
- package/pure-cell/components/footer-button/index.d.ts +1 -1
- package/pure-cell/components/footer-button/index.js +1 -1
- package/pure-cell/components/footer-text/component.js +1 -1
- package/pure-cell/components/footer-text/index.d.ts +1 -1
- package/pure-cell/components/footer-text/index.js +1 -1
- package/pure-cell/components/graphics/component.js +1 -1
- package/pure-cell/components/graphics/index.d.ts +1 -1
- package/pure-cell/components/graphics/index.js +1 -1
- package/pure-cell/components/main/component.js +1 -1
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +1 -1
- package/pure-cell/components/text/component.js +1 -1
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +1 -1
- package/pure-cell/cssm/{component-fd7196d2.d.ts → component-9cd60393.d.ts} +6 -6
- package/pure-cell/cssm/index.d.ts +2 -1
- package/pure-cell/esm/{component-fd7196d2.d.ts → component-9cd60393.d.ts} +6 -6
- package/pure-cell/esm/component.js +1 -1
- package/pure-cell/esm/components/addon/component.js +1 -1
- package/pure-cell/esm/components/addon/index.d.ts +1 -1
- package/pure-cell/esm/components/addon/index.js +1 -1
- package/pure-cell/esm/components/amount/component.js +1 -1
- package/pure-cell/esm/components/amount/index.d.ts +1 -1
- package/pure-cell/esm/components/amount/index.js +1 -1
- package/pure-cell/esm/components/amount-title/component.js +1 -1
- package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
- package/pure-cell/esm/components/amount-title/index.js +1 -1
- package/pure-cell/esm/components/category/component.js +1 -1
- package/pure-cell/esm/components/category/index.d.ts +1 -1
- package/pure-cell/esm/components/category/index.js +1 -1
- package/pure-cell/esm/components/content/component.js +1 -1
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -1
- package/pure-cell/esm/components/footer/component.js +1 -1
- package/pure-cell/esm/components/footer/index.d.ts +1 -1
- package/pure-cell/esm/components/footer/index.js +1 -1
- package/pure-cell/esm/components/footer-button/component.js +1 -1
- package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-button/index.js +1 -1
- package/pure-cell/esm/components/footer-text/component.js +1 -1
- package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-text/index.js +1 -1
- package/pure-cell/esm/components/graphics/component.js +1 -1
- package/pure-cell/esm/components/graphics/index.d.ts +1 -1
- package/pure-cell/esm/components/graphics/index.js +1 -1
- package/pure-cell/esm/components/main/component.js +1 -1
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -1
- package/pure-cell/esm/components/text/component.js +1 -1
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -1
- package/pure-cell/esm/index.d.ts +2 -1
- package/pure-cell/esm/index.js +1 -1
- package/pure-cell/index.d.ts +2 -1
- package/pure-cell/index.js +1 -1
- package/pure-cell/modern/{component-fd7196d2.d.ts → component-9cd60393.d.ts} +6 -6
- package/pure-cell/modern/component.js +1 -1
- package/pure-cell/modern/components/addon/component.js +1 -1
- package/pure-cell/modern/components/addon/index.d.ts +1 -1
- package/pure-cell/modern/components/addon/index.js +1 -1
- package/pure-cell/modern/components/amount/component.js +1 -1
- package/pure-cell/modern/components/amount/index.d.ts +1 -1
- package/pure-cell/modern/components/amount/index.js +1 -1
- package/pure-cell/modern/components/amount-title/component.js +1 -1
- package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
- package/pure-cell/modern/components/amount-title/index.js +1 -1
- package/pure-cell/modern/components/category/component.js +1 -1
- package/pure-cell/modern/components/category/index.d.ts +1 -1
- package/pure-cell/modern/components/category/index.js +1 -1
- package/pure-cell/modern/components/content/component.js +1 -1
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -1
- package/pure-cell/modern/components/footer/component.js +1 -1
- package/pure-cell/modern/components/footer/index.d.ts +1 -1
- package/pure-cell/modern/components/footer/index.js +1 -1
- package/pure-cell/modern/components/footer-button/component.js +1 -1
- package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-button/index.js +1 -1
- package/pure-cell/modern/components/footer-text/component.js +1 -1
- package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-text/index.js +1 -1
- package/pure-cell/modern/components/graphics/component.js +1 -1
- package/pure-cell/modern/components/graphics/index.d.ts +1 -1
- package/pure-cell/modern/components/graphics/index.js +1 -1
- package/pure-cell/modern/components/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.d.ts +2 -1
- package/pure-cell/modern/index.js +1 -1
- package/select/components/base-select/mobile.css +2 -2
- package/select/cssm/components/base-select/mobile.module.css +2 -2
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/components/base-select/mobile.css +2 -2
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- 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 +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/components/base-select/mobile.css +2 -2
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- 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 +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/table/components/pagination/select-field/index.js +1 -1
- package/table/cssm/components/pagination/select-field/index.js +1 -1
- package/table/esm/components/pagination/select-field/index.js +1 -1
- package/table/modern/components/pagination/select-field/index.js +1 -1
- package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/cssm/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +48 -33
- package/universal-date-input/Component-6d57839f.d.ts +47 -0
- package/universal-date-input/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/cssm/Component-6d57839f.d.ts +47 -0
- package/universal-date-input/cssm/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/cssm/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/universal-date-input/cssm/index-71043c62.d.ts +2 -2
- package/universal-date-input/cssm/index-f034f741.d.ts +1 -1
- package/universal-date-input/cssm/typings-6d57839f.d.ts +114 -0
- package/universal-date-input/esm/Component-6d57839f.d.ts +47 -0
- package/universal-date-input/esm/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/esm/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/universal-date-input/esm/index-71043c62.d.ts +2 -2
- package/universal-date-input/esm/index-f034f741.d.ts +1 -1
- package/universal-date-input/esm/typings-6d57839f.d.ts +114 -0
- package/universal-date-input/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/universal-date-input/index-71043c62.d.ts +2 -2
- package/universal-date-input/index-f034f741.d.ts +1 -1
- package/universal-date-input/modern/Component-6d57839f.d.ts +47 -0
- package/universal-date-input/modern/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/modern/{index-61e2321e.d.ts → index-6d57839f.d.ts} +1 -1
- package/universal-date-input/modern/index-71043c62.d.ts +2 -2
- package/universal-date-input/modern/index-f034f741.d.ts +1 -1
- package/universal-date-input/modern/typings-6d57839f.d.ts +114 -0
- package/universal-date-input/typings-6d57839f.d.ts +114 -0
- package/universal-date-input/Component-61e2321e.d.ts +0 -47
- package/universal-date-input/cssm/Component-61e2321e.d.ts +0 -47
- package/universal-date-input/cssm/typings-61e2321e.d.ts +0 -114
- package/universal-date-input/esm/Component-61e2321e.d.ts +0 -47
- package/universal-date-input/esm/typings-61e2321e.d.ts +0 -114
- package/universal-date-input/modern/Component-61e2321e.d.ts +0 -47
- package/universal-date-input/modern/typings-61e2321e.d.ts +0 -114
- package/universal-date-input/typings-61e2321e.d.ts +0 -114
- /package/confirmation/{countdown-section-f0928054.d.ts → countdown-section-c7b95621.d.ts} +0 -0
- /package/confirmation/{countdown-section-f0928054.js → countdown-section-c7b95621.js} +0 -0
- /package/confirmation/esm/{countdown-section-9f6a0e69.d.ts → countdown-section-b0eafcff.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-9f6a0e69.js → countdown-section-b0eafcff.js} +0 -0
- /package/confirmation/modern/{countdown-section-bf3d2d78.d.ts → countdown-section-0eefd440.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-bf3d2d78.js → countdown-section-0eefd440.js} +0 -0
- /package/gallery/{buttons-1c0cdc14.d.ts → buttons-18e23a2f.d.ts} +0 -0
- /package/gallery/{buttons-1c0cdc14.js → buttons-18e23a2f.js} +0 -0
- /package/gallery/esm/{buttons-7e925cf3.d.ts → buttons-fd4c2149.d.ts} +0 -0
- /package/gallery/esm/{buttons-7e925cf3.js → buttons-fd4c2149.js} +0 -0
- /package/gallery/esm/{slide-3feace8e.d.ts → slide-cf9447e4.d.ts} +0 -0
- /package/gallery/esm/{slide-3feace8e.js → slide-cf9447e4.js} +0 -0
- /package/gallery/modern/{buttons-d84b4f9a.d.ts → buttons-d3be09c1.d.ts} +0 -0
- /package/gallery/modern/{buttons-d84b4f9a.js → buttons-d3be09c1.js} +0 -0
- /package/gallery/modern/{slide-c6df0579.d.ts → slide-e2f7f858.d.ts} +0 -0
- /package/gallery/modern/{slide-c6df0579.js → slide-e2f7f858.js} +0 -0
- /package/gallery/{slide-535aa79e.d.ts → slide-f2e3c7bf.d.ts} +0 -0
- /package/gallery/{slide-535aa79e.js → slide-f2e3c7bf.js} +0 -0
- /package/modal/esm/{layout.module-7fed901a.js → layout.module-a1fa9754.js} +0 -0
- /package/modal/{layout.module-19c570e6.js → layout.module-fe843796.js} +0 -0
- /package/modal/modern/{layout.module-c12b8ceb.js → layout.module-6ffd48ba.js} +0 -0
- /package/pure-cell/{component-62687ca9.d.ts → component-49e6db18.d.ts} +0 -0
- /package/pure-cell/{component-62687ca9.js → component-49e6db18.js} +0 -0
- /package/pure-cell/esm/{component-a3078d37.d.ts → component-5eb318e0.d.ts} +0 -0
- /package/pure-cell/esm/{component-a3078d37.js → component-5eb318e0.js} +0 -0
- /package/pure-cell/modern/{component-2b59df70.d.ts → component-d1c071aa.d.ts} +0 -0
- /package/pure-cell/modern/{component-2b59df70.js → component-d1c071aa.js} +0 -0
- /package/select/esm/{hook-47802ae2.d.ts → hook-db3bacf5.d.ts} +0 -0
- /package/select/esm/{hook-47802ae2.js → hook-db3bacf5.js} +0 -0
- /package/select/{hook-1b6b8f9e.d.ts → hook-4d7077f8.d.ts} +0 -0
- /package/select/{hook-1b6b8f9e.js → hook-4d7077f8.js} +0 -0
- /package/select/modern/{hook-f2b8c0de.d.ts → hook-0b1ac3c1.d.ts} +0 -0
- /package/select/modern/{hook-f2b8c0de.js → hook-0b1ac3c1.js} +0 -0
- /package/side-panel/esm/{layout.module-a1f1e5d5.js → layout.module-10b60370.js} +0 -0
- /package/side-panel/{layout.module-58cb0667.js → layout.module-3789959a.js} +0 -0
- /package/side-panel/modern/{layout.module-3d5b6e76.js → layout.module-a3ff3ebd.js} +0 -0
- /package/universal-date-input/cssm/{utils-e0a54580.d.ts → utils-b1bfe0d1.d.ts} +0 -0
- /package/universal-date-input/esm/{utils-e0a54580.d.ts → utils-b1bfe0d1.d.ts} +0 -0
- /package/universal-date-input/modern/{utils-e0a54580.d.ts → utils-b1bfe0d1.d.ts} +0 -0
- /package/universal-date-input/{utils-e0a54580.d.ts → utils-b1bfe0d1.d.ts} +0 -0
|
@@ -6,13 +6,13 @@ import { getDataTestId } from '../../../../shared/esm';
|
|
|
6
6
|
import { Spinner } from '../../../../spinner/esm';
|
|
7
7
|
import { useFocus } from '@alfalab/hooks';
|
|
8
8
|
|
|
9
|
-
var defaultColors = {"accent":"button__accent_18hzv","loader":"button__loader_18hzv","primary":"button__primary_18hzv","secondary":"button__secondary_18hzv","outlined":"button__outlined_18hzv","tertiary":"button__tertiary_18hzv","filled":"button__filled_18hzv","transparent":"button__transparent_18hzv","link":"button__link_18hzv","ghost":"button__ghost_18hzv","component":"button__component_18hzv","loading":"button__loading_18hzv"};
|
|
9
|
+
var defaultColors = {"accent":"button__accent_18hzv","loader":"button__loader_18hzv","primary":"button__primary_18hzv","secondary":"button__secondary_18hzv","outlined":"button__outlined_18hzv","tertiary":"button__tertiary_18hzv","filled":"button__filled_18hzv","transparent":"button__transparent_18hzv","link":"button__link_18hzv","text":"button__text_18hzv","ghost":"button__ghost_18hzv","component":"button__component_18hzv","loading":"button__loading_18hzv"};
|
|
10
10
|
require('./default.css');
|
|
11
11
|
|
|
12
|
-
var commonStyles = {"component":"button__component_1ctpo","hug":"button__hug_1ctpo","fill":"button__fill_1ctpo","hint":"button__hint_1ctpo","allowBackdropBlur":"button__allowBackdropBlur_1ctpo","secondary":"button__secondary_1ctpo","accent":"button__accent_1ctpo","primary":"button__primary_1ctpo","focused":"button__focused_1ctpo","loading":"button__loading_1ctpo","
|
|
12
|
+
var commonStyles = {"component":"button__component_1ctpo","hug":"button__hug_1ctpo","fill":"button__fill_1ctpo","hint":"button__hint_1ctpo","allowBackdropBlur":"button__allowBackdropBlur_1ctpo","secondary":"button__secondary_1ctpo","accent":"button__accent_1ctpo","primary":"button__primary_1ctpo","focused":"button__focused_1ctpo","loading":"button__loading_1ctpo","label":"button__label_1ctpo","addons":"button__addons_1ctpo","stretchText":"button__stretchText_1ctpo","loader":"button__loader_1ctpo","size-32":"button__size-32_1ctpo","iconOnly":"button__iconOnly_1ctpo","size-40":"button__size-40_1ctpo","size-48":"button__size-48_1ctpo","size-56":"button__size-56_1ctpo","size-64":"button__size-64_1ctpo","size-72":"button__size-72_1ctpo","withRightAddons":"button__withRightAddons_1ctpo","ghost":"button__ghost_1ctpo","text":"button__text_1ctpo","withLeftAddons":"button__withLeftAddons_1ctpo","link":"button__link_1ctpo","transparent":"button__transparent_1ctpo","block":"button__block_1ctpo","nowrap":"button__nowrap_1ctpo","rounded":"button__rounded_1ctpo"};
|
|
13
13
|
require('./index.css');
|
|
14
14
|
|
|
15
|
-
var invertedColors = {"accent":"button__accent_1qwie","loader":"button__loader_1qwie","primary":"button__primary_1qwie","secondary":"button__secondary_1qwie","outlined":"button__outlined_1qwie","tertiary":"button__tertiary_1qwie","filled":"button__filled_1qwie","transparent":"button__transparent_1qwie","link":"button__link_1qwie","ghost":"button__ghost_1qwie","component":"button__component_1qwie","loading":"button__loading_1qwie"};
|
|
15
|
+
var invertedColors = {"accent":"button__accent_1qwie","loader":"button__loader_1qwie","primary":"button__primary_1qwie","secondary":"button__secondary_1qwie","outlined":"button__outlined_1qwie","tertiary":"button__tertiary_1qwie","filled":"button__filled_1qwie","transparent":"button__transparent_1qwie","link":"button__link_1qwie","text":"button__text_1qwie","ghost":"button__ghost_1qwie","component":"button__component_1qwie","loading":"button__loading_1qwie"};
|
|
16
16
|
require('./inverted.css');
|
|
17
17
|
|
|
18
18
|
var colorStyles = {
|
|
@@ -29,16 +29,15 @@ var logWarning = function (view) {
|
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
var viewsMap = {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
outlined: 'tertiary',
|
|
32
|
+
link: 'transparent',
|
|
33
|
+
ghost: 'text',
|
|
35
34
|
};
|
|
36
35
|
// eslint-disable-next-line no-console
|
|
37
36
|
console.warn(
|
|
38
37
|
// eslint-disable-next-line prefer-template
|
|
39
38
|
"@alfalab/core-components/button: view='".concat(view, "' \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043B\u0435\u043D \u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u043C\u0430\u0436\u043E\u0440\u043D\u044B\u0445 \u0432\u0435\u0440\u0441\u0438\u044F\u0445. ") +
|
|
40
39
|
"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 view='".concat(viewsMap[view], "'. \u0427\u0442\u043E\u0431\u044B \u043F\u043E\u043C\u0435\u043D\u044F\u0442\u044C \u0432\u0441\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u043D\u0430 \u043F\u0440\u043E\u0435\u043A\u0442\u0435 \u0440\u0430\u0437\u043E\u043C, \u043C\u043E\u0436\u043D\u043E \u0432\u043E\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F codemod: ") +
|
|
41
|
-
'npx @alfalab/core-components-codemod --transformers=button-views src/**/*.tsx');
|
|
40
|
+
'npx @alfalab/core-components-codemod --transformers=button-views-45 src/**/*.tsx');
|
|
42
41
|
};
|
|
43
42
|
var SIZE_TO_CLASSNAME_MAP = {
|
|
44
43
|
xxs: 'size-32',
|
|
@@ -57,7 +56,7 @@ var SIZE_TO_CLASSNAME_MAP = {
|
|
|
57
56
|
var BaseButton = React.forwardRef(function (_a, ref) {
|
|
58
57
|
var _b, _c, _d;
|
|
59
58
|
var allowBackdropBlur = _a.allowBackdropBlur, children = _a.children, _e = _a.view, view = _e === void 0 ? 'secondary' : _e, _f = _a.shape, shape = _f === void 0 ? 'rectangular' : _f, _g = _a.textResizing, textResizing = _g === void 0 ? 'hug' : _g, hint = _a.hint, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, _h = _a.size, size = _h === void 0 ? 56 : _h, _j = _a.block, block = _j === void 0 ? false : _j, className = _a.className, spinnerClassName = _a.spinnerClassName, dataTestId = _a.dataTestId, href = _a.href, _k = _a.loading, loading = _k === void 0 ? false : _k, _l = _a.nowrap, nowrap = _l === void 0 ? false : _l, _m = _a.colors, colors = _m === void 0 ? 'default' : _m, _o = _a.Component, Component = _o === void 0 ? href ? 'a' : 'button' : _o, onClick = _a.onClick, _p = _a.styles, styles = _p === void 0 ? {} : _p, _q = _a.colorStylesMap, colorStylesMap = _q === void 0 ? { default: {}, inverted: {} } : _q, restProps = __rest(_a, ["allowBackdropBlur", "children", "view", "shape", "textResizing", "hint", "leftAddons", "rightAddons", "size", "block", "className", "spinnerClassName", "dataTestId", "href", "loading", "nowrap", "colors", "Component", "onClick", "styles", "colorStylesMap"]);
|
|
60
|
-
if (['
|
|
59
|
+
if (['link', 'ghost'].includes(view)) {
|
|
61
60
|
logWarning(view);
|
|
62
61
|
}
|
|
63
62
|
var buttonRef = useRef(null);
|
|
@@ -85,7 +84,7 @@ var BaseButton = React.forwardRef(function (_a, ref) {
|
|
|
85
84
|
var _s = restProps, disabled = _s.disabled, _t = _s.type, type = _t === void 0 ? 'button' : _t, restButtonProps = __rest(_s, ["disabled", "type"]);
|
|
86
85
|
var buttonChildren = (React.createElement(React.Fragment, null,
|
|
87
86
|
leftAddons && React.createElement("span", { className: commonStyles.addons }, leftAddons),
|
|
88
|
-
children && (React.createElement("span", { className: cn(commonStyles.
|
|
87
|
+
children && (React.createElement("span", { className: cn(commonStyles.label, (_c = {},
|
|
89
88
|
_c[commonStyles.nowrap] = nowrap,
|
|
90
89
|
_c[commonStyles.stretchText] = !(leftAddons || rightAddons) || textResizing === 'fill',
|
|
91
90
|
_c)) },
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
--color-light-accent-primary-hover: #e32a17;
|
|
6
6
|
--color-light-accent-primary-press: #d72505;
|
|
7
7
|
--color-light-bg-quaternary: #dcdee2;
|
|
8
|
-
--color-light-border-underline-inverted: #49494f;
|
|
9
8
|
--color-light-neutral-1500: #0e0e0e;
|
|
10
9
|
--color-light-neutral-translucent-100: rgba(38, 55, 88, 0.06);
|
|
11
10
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
@@ -17,14 +16,9 @@
|
|
|
17
16
|
--color-light-transparent-default-press: rgba(30, 43, 68, 0.08);
|
|
18
17
|
--color-static-neutral-1500-inverted: #fff;
|
|
19
18
|
--color-static-text-primary-inverted: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
20
|
-
--color-light-bg-primary-inverted-alpha-3: rgba(14, 14, 14, 0.03);
|
|
21
|
-
--color-light-bg-primary-inverted-alpha-10: rgba(14, 14, 14, 0.1);
|
|
22
|
-
--color-light-bg-primary-inverted-alpha-20: rgba(14, 14, 14, 0.2);
|
|
23
|
-
--color-light-bg-primary-inverted-alpha-40: rgba(14, 14, 14, 0.4);
|
|
24
19
|
--color-light-bg-quaternary-alpha-30: rgba(220, 222, 226, 0.3);
|
|
25
20
|
--color-light-bg-quaternary-shade-7: rgb(205, 206, 210);
|
|
26
21
|
--color-light-bg-quaternary-shade-15: rgb(187, 189, 192);
|
|
27
|
-
--color-light-border-underline-inverted-alpha-30: rgba(73, 73, 79, 0.3);
|
|
28
22
|
--color-light-text-primary-alpha-30: rgba(14, 14, 14, 0.3);
|
|
29
23
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
30
24
|
} :root {
|
|
@@ -70,24 +64,32 @@
|
|
|
70
64
|
--button-tertiary-color: var(--color-light-text-primary);
|
|
71
65
|
|
|
72
66
|
/* outlined */
|
|
73
|
-
--button-outlined-base-bg-color: transparent;
|
|
74
|
-
--button-outlined-hover-bg-color:
|
|
75
|
-
--button-outlined-active-bg-color:
|
|
76
|
-
--button-outlined-
|
|
77
|
-
--button-outlined-
|
|
78
|
-
--button-outlined-
|
|
67
|
+
--button-outlined-base-bg-color: var(--color-light-transparent-default);
|
|
68
|
+
--button-outlined-hover-bg-color: var(--color-light-transparent-default-hover);
|
|
69
|
+
--button-outlined-active-bg-color: var(--color-light-transparent-default-press);
|
|
70
|
+
--button-outlined-hover-border-color: var(--color-light-neutral-1500);
|
|
71
|
+
--button-outlined-disabled-bg-color: var(--color-light-transparent-default);
|
|
72
|
+
--button-outlined-base-border-color: var(--color-light-neutral-1500);
|
|
79
73
|
--button-outlined-color: var(--color-light-text-primary);
|
|
80
|
-
--button-outlined-disabled-color: var(--color-light-text-primary-alpha-30);
|
|
81
74
|
|
|
82
75
|
/* ghost */
|
|
83
76
|
--button-ghost-base-color: var(--color-light-text-primary);
|
|
84
77
|
--button-ghost-hover-color: var(--color-light-text-primary-hover);
|
|
85
78
|
|
|
79
|
+
/* text */
|
|
80
|
+
--button-text-base-color: var(--color-light-text-primary);
|
|
81
|
+
--button-text-hover-color: var(--color-light-text-primary-hover);
|
|
82
|
+
|
|
86
83
|
/* link */
|
|
87
84
|
--button-link-base-color: var(--color-light-text-primary);
|
|
88
85
|
--button-link-hover-bg-color: var(--color-light-transparent-default-hover);
|
|
89
86
|
--button-link-active-bg-color: var(--color-light-transparent-default-press);
|
|
90
87
|
|
|
88
|
+
/* transparent */
|
|
89
|
+
--button-transparent-base-color: var(--color-light-text-primary);
|
|
90
|
+
--button-transparent-hover-bg-color: var(--color-light-transparent-default-hover);
|
|
91
|
+
--button-transparent-active-bg-color: var(--color-light-transparent-default-press);
|
|
92
|
+
|
|
91
93
|
/* loader */
|
|
92
94
|
--button-spinner-static-color: var(--color-static-neutral-1500-inverted);
|
|
93
95
|
--button-spinner-default-color: var(--color-light-neutral-1500);
|
|
@@ -104,8 +106,12 @@
|
|
|
104
106
|
|
|
105
107
|
/* ghost inverted */
|
|
106
108
|
|
|
109
|
+
/* text inverted */
|
|
110
|
+
|
|
107
111
|
/* link inverted */
|
|
108
112
|
|
|
113
|
+
/* transparent inverted */
|
|
114
|
+
|
|
109
115
|
/* loader inverted */
|
|
110
116
|
|
|
111
117
|
/* border-radius mobile */
|
|
@@ -122,14 +128,26 @@
|
|
|
122
128
|
|
|
123
129
|
/* tertiary inverted mobile */
|
|
124
130
|
|
|
131
|
+
/* outlined mobile */
|
|
132
|
+
|
|
133
|
+
/* outlined inverted mobile */
|
|
134
|
+
|
|
125
135
|
/* link mobile */
|
|
126
136
|
|
|
127
137
|
/* link inverted mobile */
|
|
128
138
|
|
|
139
|
+
/* transparent mobile */
|
|
140
|
+
|
|
141
|
+
/* transparent inverted mobile */
|
|
142
|
+
|
|
129
143
|
/* ghost mobile */
|
|
130
144
|
|
|
131
145
|
/* ghost mobile inverted */
|
|
132
146
|
|
|
147
|
+
/* text mobile */
|
|
148
|
+
|
|
149
|
+
/* text mobile inverted */
|
|
150
|
+
|
|
133
151
|
/* loader mobile */
|
|
134
152
|
} .button__accent_18hzv {
|
|
135
153
|
color: var(--button-accent-color);
|
|
@@ -157,9 +175,12 @@
|
|
|
157
175
|
} @media (hover: hover) {
|
|
158
176
|
.button__outlined_18hzv:hover {
|
|
159
177
|
background-color: var(--button-outlined-hover-bg-color);
|
|
178
|
+
border-color: var(--button-outlined-hover-border-color);
|
|
160
179
|
}
|
|
161
180
|
} .button__outlined_18hzv:active {
|
|
162
181
|
background-color: var(--button-outlined-active-bg-color);
|
|
182
|
+
} .button__outlined_18hzv > .button__loader_18hzv {
|
|
183
|
+
color: var(--button-spinner-default-color);
|
|
163
184
|
} .button__tertiary_18hzv {
|
|
164
185
|
color: var(--button-tertiary-color);
|
|
165
186
|
background-color: var(--button-tertiary-base-bg-color);
|
|
@@ -183,14 +204,17 @@
|
|
|
183
204
|
} .button__filled_18hzv:active {
|
|
184
205
|
background-color: var(--color-light-bg-quaternary-shade-15);
|
|
185
206
|
} .button__transparent_18hzv {
|
|
186
|
-
color: var(--
|
|
187
|
-
background-color:
|
|
207
|
+
color: var(--button-transparent-base-color);
|
|
208
|
+
background-color: transparent;
|
|
209
|
+
border: 1px solid transparent
|
|
188
210
|
} @media (hover: hover) {
|
|
189
211
|
.button__transparent_18hzv:hover {
|
|
190
|
-
background-color: var(--
|
|
212
|
+
background-color: var(--button-transparent-hover-bg-color);
|
|
191
213
|
}
|
|
192
214
|
} .button__transparent_18hzv:active {
|
|
193
|
-
background-color: var(--
|
|
215
|
+
background-color: var(--button-transparent-active-bg-color);
|
|
216
|
+
} .button__transparent_18hzv > .button__loader_18hzv {
|
|
217
|
+
color: var(--button-spinner-default-color);
|
|
194
218
|
} .button__link_18hzv {
|
|
195
219
|
color: var(--button-link-base-color);
|
|
196
220
|
background-color: transparent;
|
|
@@ -203,6 +227,15 @@
|
|
|
203
227
|
background-color: var(--button-link-active-bg-color);
|
|
204
228
|
} .button__link_18hzv > .button__loader_18hzv {
|
|
205
229
|
color: var(--button-spinner-default-color);
|
|
230
|
+
} .button__text_18hzv {
|
|
231
|
+
background-color: transparent;
|
|
232
|
+
color: var(--button-text-base-color)
|
|
233
|
+
} @media (hover: hover) {
|
|
234
|
+
.button__text_18hzv:hover {
|
|
235
|
+
color: var(--button-text-hover-color);
|
|
236
|
+
}
|
|
237
|
+
} .button__text_18hzv > .button__loader_18hzv {
|
|
238
|
+
color: var(--button-spinner-default-color);
|
|
206
239
|
} .button__ghost_18hzv {
|
|
207
240
|
background-color: transparent;
|
|
208
241
|
color: var(--button-ghost-base-color)
|
|
@@ -224,11 +257,10 @@
|
|
|
224
257
|
background-color: var(--button-secondary-base-bg-color);
|
|
225
258
|
border-color: var(--button-secondary-base-border-color);
|
|
226
259
|
} .button__component_18hzv[disabled].button__outlined_18hzv {
|
|
227
|
-
color: var(--button-outlined-disabled-color)
|
|
228
|
-
background-color: var(--button-outlined-disabled-bg-color);
|
|
229
|
-
border-color: var(--button-outlined-disabled-border-color)
|
|
260
|
+
background-color: var(--button-outlined-disabled-bg-color)
|
|
230
261
|
} .button__component_18hzv[disabled].button__outlined_18hzv.button__loading_18hzv {
|
|
231
262
|
color: var(--button-outlined-color);
|
|
263
|
+
border-color: var(--button-outlined-base-border-color);
|
|
232
264
|
} .button__component_18hzv[disabled].button__tertiary_18hzv {
|
|
233
265
|
background-color: var(--button-tertiary-disabled-bg-color)
|
|
234
266
|
} .button__component_18hzv[disabled].button__tertiary_18hzv.button__loading_18hzv {
|
|
@@ -241,15 +273,15 @@
|
|
|
241
273
|
color: var(--color-light-text-primary);
|
|
242
274
|
background-color: var(--color-light-bg-quaternary);
|
|
243
275
|
} .button__component_18hzv[disabled].button__transparent_18hzv {
|
|
244
|
-
color:
|
|
245
|
-
background-color: var(--color-light-bg-primary-inverted-alpha-3)
|
|
276
|
+
background-color: transparent
|
|
246
277
|
} .button__component_18hzv[disabled].button__transparent_18hzv.button__loading_18hzv {
|
|
247
|
-
color: var(--
|
|
248
|
-
background-color: var(--color-light-bg-primary-inverted-alpha-10);
|
|
278
|
+
color: var(--button-transparent-base-color);
|
|
249
279
|
} .button__component_18hzv[disabled].button__link_18hzv {
|
|
250
280
|
background-color: transparent
|
|
251
281
|
} .button__component_18hzv[disabled].button__link_18hzv.button__loading_18hzv {
|
|
252
282
|
color: var(--button-link-base-color);
|
|
283
|
+
} .button__component_18hzv[disabled].button__text_18hzv.button__loading_18hzv {
|
|
284
|
+
color: var(--button-text-base-color);
|
|
253
285
|
} .button__component_18hzv[disabled].button__ghost_18hzv.button__loading_18hzv {
|
|
254
286
|
color: var(--button-ghost-base-color);
|
|
255
287
|
}
|
|
@@ -46,8 +46,12 @@
|
|
|
46
46
|
|
|
47
47
|
/* ghost */
|
|
48
48
|
|
|
49
|
+
/* text */
|
|
50
|
+
|
|
49
51
|
/* link */
|
|
50
52
|
|
|
53
|
+
/* transparent */
|
|
54
|
+
|
|
51
55
|
/* loader */
|
|
52
56
|
|
|
53
57
|
/* primary inverted */
|
|
@@ -62,8 +66,12 @@
|
|
|
62
66
|
|
|
63
67
|
/* ghost inverted */
|
|
64
68
|
|
|
69
|
+
/* text inverted */
|
|
70
|
+
|
|
65
71
|
/* link inverted */
|
|
66
72
|
|
|
73
|
+
/* transparent inverted */
|
|
74
|
+
|
|
67
75
|
/* loader inverted */
|
|
68
76
|
|
|
69
77
|
/* border-radius mobile */
|
|
@@ -80,14 +88,26 @@
|
|
|
80
88
|
|
|
81
89
|
/* tertiary inverted mobile */
|
|
82
90
|
|
|
91
|
+
/* outlined mobile */
|
|
92
|
+
|
|
93
|
+
/* outlined inverted mobile */
|
|
94
|
+
|
|
83
95
|
/* link mobile */
|
|
84
96
|
|
|
85
97
|
/* link inverted mobile */
|
|
86
98
|
|
|
99
|
+
/* transparent mobile */
|
|
100
|
+
|
|
101
|
+
/* transparent inverted mobile */
|
|
102
|
+
|
|
87
103
|
/* ghost mobile */
|
|
88
104
|
|
|
89
105
|
/* ghost mobile inverted */
|
|
90
106
|
|
|
107
|
+
/* text mobile */
|
|
108
|
+
|
|
109
|
+
/* text mobile inverted */
|
|
110
|
+
|
|
91
111
|
/* loader mobile */
|
|
92
112
|
} .button__component_1ctpo {
|
|
93
113
|
position: relative;
|
|
@@ -129,7 +149,7 @@
|
|
|
129
149
|
} .button__focused_1ctpo {
|
|
130
150
|
outline: 2px solid var(--focus-color);
|
|
131
151
|
outline-offset: 2px;
|
|
132
|
-
} .button__loading_1ctpo .
|
|
152
|
+
} .button__loading_1ctpo .button__label_1ctpo,
|
|
133
153
|
.button__loading_1ctpo .button__addons_1ctpo {
|
|
134
154
|
opacity: 0;
|
|
135
155
|
} .button__stretchText_1ctpo {
|
|
@@ -197,7 +217,8 @@
|
|
|
197
217
|
padding-right: 27px;
|
|
198
218
|
} .button__withRightAddons_1ctpo.button__size-72_1ctpo {
|
|
199
219
|
padding-right: 31px;
|
|
200
|
-
} .button__withRightAddons_1ctpo.button__ghost_1ctpo
|
|
220
|
+
} .button__withRightAddons_1ctpo.button__ghost_1ctpo,
|
|
221
|
+
.button__withRightAddons_1ctpo.button__text_1ctpo {
|
|
201
222
|
padding-right: 0;
|
|
202
223
|
} .button__withLeftAddons_1ctpo.button__size-32_1ctpo {
|
|
203
224
|
padding-left: 11px;
|
|
@@ -211,17 +232,20 @@
|
|
|
211
232
|
padding-left: 27px;
|
|
212
233
|
} .button__withLeftAddons_1ctpo.button__size-72_1ctpo {
|
|
213
234
|
padding-left: 31px;
|
|
214
|
-
} .button__withLeftAddons_1ctpo.button__ghost_1ctpo
|
|
235
|
+
} .button__withLeftAddons_1ctpo.button__ghost_1ctpo,
|
|
236
|
+
.button__withLeftAddons_1ctpo.button__text_1ctpo {
|
|
215
237
|
padding-left: 0;
|
|
216
|
-
} .button__link_1ctpo
|
|
238
|
+
} .button__link_1ctpo,
|
|
239
|
+
.button__transparent_1ctpo {
|
|
217
240
|
min-width: 0;
|
|
218
|
-
} .button__ghost_1ctpo
|
|
241
|
+
} .button__ghost_1ctpo,
|
|
242
|
+
.button__text_1ctpo {
|
|
219
243
|
min-width: 0;
|
|
220
244
|
min-height: 0;
|
|
221
245
|
padding: 0;
|
|
222
246
|
border: none;
|
|
223
247
|
appearance: none
|
|
224
|
-
} .button__ghost_1ctpo.button__iconOnly_1ctpo {
|
|
248
|
+
} .button__ghost_1ctpo.button__iconOnly_1ctpo, .button__text_1ctpo.button__iconOnly_1ctpo {
|
|
225
249
|
min-width: 0;
|
|
226
250
|
} /* Disabled */ .button__component_1ctpo[disabled] {
|
|
227
251
|
cursor: var(--disabled-cursor)
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
--color-light-accent-primary-inverted: #f83a2a;
|
|
7
7
|
--color-light-accent-primary-inverted-hover: #ff503e;
|
|
8
8
|
--color-light-accent-primary-inverted-press: #fd624e;
|
|
9
|
-
--color-light-border-underline-inverted: #49494f;
|
|
10
9
|
--color-light-neutral-1500-inverted: #fff;
|
|
11
10
|
--color-light-neutral-translucent-100-inverted: rgba(214, 214, 229, 0.07);
|
|
12
11
|
--color-light-neutral-translucent-300-inverted: rgba(222, 222, 238, 0.13);
|
|
@@ -48,8 +47,12 @@
|
|
|
48
47
|
|
|
49
48
|
/* ghost */
|
|
50
49
|
|
|
50
|
+
/* text */
|
|
51
|
+
|
|
51
52
|
/* link */
|
|
52
53
|
|
|
54
|
+
/* transparent */
|
|
55
|
+
|
|
53
56
|
/* loader */
|
|
54
57
|
|
|
55
58
|
/* primary inverted */
|
|
@@ -82,24 +85,40 @@
|
|
|
82
85
|
--button-inverted-tertiary-color: var(--color-light-text-primary-inverted);
|
|
83
86
|
|
|
84
87
|
/* outlined inverted */
|
|
85
|
-
--button-inverted-outlined-base-bg-color: transparent;
|
|
86
|
-
--button-inverted-outlined-hover-bg-color:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
--button-inverted-outlined-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
--button-inverted-outlined-
|
|
88
|
+
--button-inverted-outlined-base-bg-color: var(--color-light-transparent-default);
|
|
89
|
+
--button-inverted-outlined-hover-bg-color: var(
|
|
90
|
+
--color-light-transparent-default-inverted-hover
|
|
91
|
+
);
|
|
92
|
+
--button-inverted-outlined-active-bg-color: var(
|
|
93
|
+
--color-light-transparent-default-inverted-press
|
|
94
|
+
);
|
|
95
|
+
--button-inverted-outlined-hover-border-color: var(--color-light-neutral-1500-inverted);
|
|
96
|
+
--button-inverted-outlined-disabled-bg-color: var(--color-light-transparent-default);
|
|
97
|
+
--button-inverted-outlined-base-border-color: var(--color-light-neutral-1500-inverted);
|
|
98
|
+
--button-inverted-outlined-color: var(--color-light-text-primary-inverted);
|
|
93
99
|
|
|
94
100
|
/* ghost inverted */
|
|
95
101
|
--button-inverted-ghost-base-color: var(--color-light-text-primary-inverted);
|
|
96
102
|
--button-inverted-ghost-hover-color: var(--color-light-text-primary-inverted-hover);
|
|
97
103
|
|
|
104
|
+
/* text inverted */
|
|
105
|
+
--button-inverted-text-base-color: var(--color-light-text-primary-inverted);
|
|
106
|
+
--button-inverted-text-hover-color: var(--color-light-text-primary-inverted-hover);
|
|
107
|
+
|
|
98
108
|
/* link inverted */
|
|
99
109
|
--button-inverted-link-base-color: var(--color-light-text-primary-inverted);
|
|
100
110
|
--button-inverted-link-hover-bg-color: var(--color-light-transparent-default-inverted-hover);
|
|
101
111
|
--button-inverted-link-active-bg-color: var(--color-light-transparent-default-inverted-press);
|
|
102
112
|
|
|
113
|
+
/* transparent inverted */
|
|
114
|
+
--button-inverted-transparent-base-color: var(--color-light-text-primary-inverted);
|
|
115
|
+
--button-inverted-transparent-hover-bg-color: var(
|
|
116
|
+
--color-light-transparent-default-inverted-hover
|
|
117
|
+
);
|
|
118
|
+
--button-inverted-transparent-active-bg-color: var(
|
|
119
|
+
--color-light-transparent-default-inverted-press
|
|
120
|
+
);
|
|
121
|
+
|
|
103
122
|
/* loader inverted */
|
|
104
123
|
--button-spinner-inverted-static-color: var(--color-static-neutral-1500-inverted);
|
|
105
124
|
--button-spinner-inverted-color: var(--color-light-neutral-1500-inverted);
|
|
@@ -118,14 +137,26 @@
|
|
|
118
137
|
|
|
119
138
|
/* tertiary inverted mobile */
|
|
120
139
|
|
|
140
|
+
/* outlined mobile */
|
|
141
|
+
|
|
142
|
+
/* outlined inverted mobile */
|
|
143
|
+
|
|
121
144
|
/* link mobile */
|
|
122
145
|
|
|
123
146
|
/* link inverted mobile */
|
|
124
147
|
|
|
148
|
+
/* transparent mobile */
|
|
149
|
+
|
|
150
|
+
/* transparent inverted mobile */
|
|
151
|
+
|
|
125
152
|
/* ghost mobile */
|
|
126
153
|
|
|
127
154
|
/* ghost mobile inverted */
|
|
128
155
|
|
|
156
|
+
/* text mobile */
|
|
157
|
+
|
|
158
|
+
/* text mobile inverted */
|
|
159
|
+
|
|
129
160
|
/* loader mobile */
|
|
130
161
|
} .button__accent_1qwie {
|
|
131
162
|
color: var(--button-inverted-accent-color);
|
|
@@ -153,9 +184,12 @@
|
|
|
153
184
|
} @media (hover: hover) {
|
|
154
185
|
.button__outlined_1qwie:hover {
|
|
155
186
|
background-color: var(--button-inverted-outlined-hover-bg-color);
|
|
187
|
+
border-color: var(--button-inverted-outlined-hover-border-color);
|
|
156
188
|
}
|
|
157
189
|
} .button__outlined_1qwie:active {
|
|
158
190
|
background-color: var(--button-inverted-outlined-active-bg-color);
|
|
191
|
+
} .button__outlined_1qwie > .button__loader_1qwie {
|
|
192
|
+
color: var(--button-spinner-inverted-color);
|
|
159
193
|
} .button__tertiary_1qwie {
|
|
160
194
|
color: var(--button-inverted-tertiary-color);
|
|
161
195
|
background-color: var(--button-inverted-tertiary-base-bg-color);
|
|
@@ -179,15 +213,17 @@
|
|
|
179
213
|
} .button__filled_1qwie:active {
|
|
180
214
|
background-color: rgb(46, 46, 49);
|
|
181
215
|
} .button__transparent_1qwie {
|
|
182
|
-
color: var(--
|
|
183
|
-
background-color:
|
|
216
|
+
color: var(--button-inverted-transparent-base-color);
|
|
217
|
+
background-color: transparent;
|
|
218
|
+
border: 1px solid transparent
|
|
184
219
|
} @media (hover: hover) {
|
|
185
220
|
.button__transparent_1qwie:hover {
|
|
186
|
-
background-color:
|
|
221
|
+
background-color: var(--button-inverted-transparent-hover-bg-color);
|
|
187
222
|
}
|
|
188
223
|
} .button__transparent_1qwie:active {
|
|
189
|
-
|
|
190
|
-
|
|
224
|
+
background-color: var(--button-inverted-transparent-active-bg-color);
|
|
225
|
+
} .button__transparent_1qwie > .button__loader_1qwie {
|
|
226
|
+
color: var(--button-spinner-inverted-color);
|
|
191
227
|
} .button__link_1qwie {
|
|
192
228
|
color: var(--button-inverted-link-base-color);
|
|
193
229
|
background-color: transparent;
|
|
@@ -201,6 +237,15 @@
|
|
|
201
237
|
background-color: var(--button-inverted-link-active-bg-color);
|
|
202
238
|
} .button__link_1qwie > .button__loader_1qwie {
|
|
203
239
|
color: var(--button-spinner-inverted-color);
|
|
240
|
+
} .button__text_1qwie {
|
|
241
|
+
background-color: transparent;
|
|
242
|
+
color: var(--button-inverted-text-base-color)
|
|
243
|
+
} @media (hover: hover) {
|
|
244
|
+
.button__text_1qwie:hover {
|
|
245
|
+
color: var(--button-inverted-text-hover-color);
|
|
246
|
+
}
|
|
247
|
+
} .button__text_1qwie > .button__loader_1qwie {
|
|
248
|
+
color: var(--button-spinner-inverted-color);
|
|
204
249
|
} .button__ghost_1qwie {
|
|
205
250
|
background-color: transparent;
|
|
206
251
|
color: var(--button-inverted-ghost-base-color)
|
|
@@ -222,9 +267,7 @@
|
|
|
222
267
|
background-color: var(--button-inverted-secondary-base-bg-color);
|
|
223
268
|
border-color: var(--button-inverted-secondary-base-border-color);
|
|
224
269
|
} .button__component_1qwie[disabled].button__outlined_1qwie {
|
|
225
|
-
color: var(--button-inverted-outlined-disabled-color)
|
|
226
|
-
background-color: var(--button-inverted-outlined-disabled-bg-color);
|
|
227
|
-
border-color: var(--button-inverted-outlined-disabled-border-color)
|
|
270
|
+
background-color: var(--button-inverted-outlined-disabled-bg-color)
|
|
228
271
|
} .button__component_1qwie[disabled].button__outlined_1qwie.button__loading_1qwie {
|
|
229
272
|
color: var(--button-inverted-outlined-color);
|
|
230
273
|
} .button__component_1qwie[disabled].button__tertiary_1qwie {
|
|
@@ -240,15 +283,15 @@
|
|
|
240
283
|
background-color: var(--color-dark-bg-quaternary);
|
|
241
284
|
border-color: transparent;
|
|
242
285
|
} .button__component_1qwie[disabled].button__transparent_1qwie {
|
|
243
|
-
color:
|
|
244
|
-
background-color: rgba(255, 255, 255, 0.03)
|
|
286
|
+
background-color: transparent
|
|
245
287
|
} .button__component_1qwie[disabled].button__transparent_1qwie.button__loading_1qwie {
|
|
246
|
-
color: var(--
|
|
247
|
-
background-color: rgba(255, 255, 255, 0.1);
|
|
288
|
+
color: var(--button-inverted-transparent-base-color);
|
|
248
289
|
} .button__component_1qwie[disabled].button__link_1qwie {
|
|
249
290
|
background-color: transparent
|
|
250
291
|
} .button__component_1qwie[disabled].button__link_1qwie.button__loading_1qwie {
|
|
251
292
|
color: var(--button-inverted-link-base-color);
|
|
293
|
+
} .button__component_1qwie[disabled].button__text_1qwie.button__loading_1qwie {
|
|
294
|
+
color: var(--button-inverted-text-base-color);
|
|
252
295
|
} .button__component_1qwie[disabled].button__ghost_1qwie.button__loading_1qwie {
|
|
253
296
|
color: var(--button-inverted-ghost-base-color);
|
|
254
297
|
}
|
|
@@ -7,13 +7,13 @@ import '../../../shared/esm';
|
|
|
7
7
|
import '../../../spinner/esm';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
|
|
10
|
-
var defaultColors = {"primary":"button__primary_n4zdd","loader":"button__loader_n4zdd","secondary":"button__secondary_n4zdd","ghost":"button__ghost_n4zdd","component":"button__component_n4zdd","loading":"button__loading_n4zdd","tertiary":"button__tertiary_n4zdd","link":"button__link_n4zdd"};
|
|
10
|
+
var defaultColors = {"primary":"button__primary_n4zdd","loader":"button__loader_n4zdd","secondary":"button__secondary_n4zdd","text":"button__text_n4zdd","ghost":"button__ghost_n4zdd","component":"button__component_n4zdd","loading":"button__loading_n4zdd","outlined":"button__outlined_n4zdd","tertiary":"button__tertiary_n4zdd","transparent":"button__transparent_n4zdd","link":"button__link_n4zdd"};
|
|
11
11
|
require('./default.desktop.css');
|
|
12
12
|
|
|
13
13
|
var styles = {"size-32":"button__size-32_137fp","size-40":"button__size-40_137fp","size-48":"button__size-48_137fp","size-56":"button__size-56_137fp","size-64":"button__size-64_137fp","size-72":"button__size-72_137fp"};
|
|
14
14
|
require('./desktop.css');
|
|
15
15
|
|
|
16
|
-
var invertedColors = {"primary":"button__primary_6ljbd","loader":"button__loader_6ljbd","secondary":"button__secondary_6ljbd","ghost":"button__ghost_6ljbd","component":"button__component_6ljbd","loading":"button__loading_6ljbd","tertiary":"button__tertiary_6ljbd","link":"button__link_6ljbd"};
|
|
16
|
+
var invertedColors = {"primary":"button__primary_6ljbd","loader":"button__loader_6ljbd","secondary":"button__secondary_6ljbd","text":"button__text_6ljbd","ghost":"button__ghost_6ljbd","component":"button__component_6ljbd","loading":"button__loading_6ljbd","outlined":"button__outlined_6ljbd","tertiary":"button__tertiary_6ljbd","transparent":"button__transparent_6ljbd","link":"button__link_6ljbd"};
|
|
17
17
|
require('./inverted.desktop.css');
|
|
18
18
|
|
|
19
19
|
var colorStyles = {
|
|
@@ -53,14 +53,23 @@
|
|
|
53
53
|
--button-tertiary-disabled-color: var(--color-light-text-tertiary);
|
|
54
54
|
|
|
55
55
|
/* outlined */
|
|
56
|
+
--button-outlined-disabled-border-color: var(--color-light-neutral-translucent-500);
|
|
57
|
+
--button-outlined-disabled-color: var(--color-light-text-tertiary);
|
|
56
58
|
|
|
57
59
|
/* ghost */
|
|
58
60
|
--button-ghost-active-color: var(--color-light-text-primary-press);
|
|
59
61
|
--button-ghost-disabled-color: var(--color-light-text-tertiary);
|
|
60
62
|
|
|
63
|
+
/* text */
|
|
64
|
+
--button-text-active-color: var(--color-light-text-primary-press);
|
|
65
|
+
--button-text-disabled-color: var(--color-light-text-tertiary);
|
|
66
|
+
|
|
61
67
|
/* link */
|
|
62
68
|
--button-link-disabled-color: var(--color-light-text-tertiary);
|
|
63
69
|
|
|
70
|
+
/* transparent */
|
|
71
|
+
--button-transparent-disabled-color: var(--color-light-text-tertiary);
|
|
72
|
+
|
|
64
73
|
/* loader */
|
|
65
74
|
--button-spinner-primary-color: var(--color-light-neutral-1500-inverted);
|
|
66
75
|
|
|
@@ -76,8 +85,12 @@
|
|
|
76
85
|
|
|
77
86
|
/* ghost inverted */
|
|
78
87
|
|
|
88
|
+
/* text inverted */
|
|
89
|
+
|
|
79
90
|
/* link inverted */
|
|
80
91
|
|
|
92
|
+
/* transparent inverted */
|
|
93
|
+
|
|
81
94
|
/* loader inverted */
|
|
82
95
|
|
|
83
96
|
/* border-radius mobile */
|
|
@@ -94,14 +107,26 @@
|
|
|
94
107
|
|
|
95
108
|
/* tertiary inverted mobile */
|
|
96
109
|
|
|
110
|
+
/* outlined mobile */
|
|
111
|
+
|
|
112
|
+
/* outlined inverted mobile */
|
|
113
|
+
|
|
97
114
|
/* link mobile */
|
|
98
115
|
|
|
99
116
|
/* link inverted mobile */
|
|
100
117
|
|
|
118
|
+
/* transparent mobile */
|
|
119
|
+
|
|
120
|
+
/* transparent inverted mobile */
|
|
121
|
+
|
|
101
122
|
/* ghost mobile */
|
|
102
123
|
|
|
103
124
|
/* ghost mobile inverted */
|
|
104
125
|
|
|
126
|
+
/* text mobile */
|
|
127
|
+
|
|
128
|
+
/* text mobile inverted */
|
|
129
|
+
|
|
105
130
|
/* loader mobile */
|
|
106
131
|
} .button__primary_n4zdd {
|
|
107
132
|
color: var(--button-primary-color);
|
|
@@ -120,6 +145,8 @@
|
|
|
120
145
|
background-color: var(--button-secondary-hover-bg-color);
|
|
121
146
|
} .button__secondary_n4zdd:active {
|
|
122
147
|
background-color: var(--button-secondary-active-bg-color);
|
|
148
|
+
} .button__text_n4zdd:active {
|
|
149
|
+
color: var(--button-text-active-color);
|
|
123
150
|
} .button__ghost_n4zdd:active {
|
|
124
151
|
color: var(--button-ghost-active-color);
|
|
125
152
|
} .button__component_n4zdd[disabled].button__primary_n4zdd {
|
|
@@ -130,11 +157,18 @@
|
|
|
130
157
|
} .button__component_n4zdd[disabled].button__secondary_n4zdd {
|
|
131
158
|
color: var(--button-secondary-disabled-color);
|
|
132
159
|
background-color: var(--button-secondary-disabled-bg-color);
|
|
160
|
+
} .button__component_n4zdd[disabled].button__outlined_n4zdd {
|
|
161
|
+
color: var(--button-outlined-disabled-color);
|
|
162
|
+
border-color: var(--button-outlined-disabled-border-color);
|
|
133
163
|
} .button__component_n4zdd[disabled].button__tertiary_n4zdd {
|
|
134
164
|
color: var(--button-tertiary-disabled-color);
|
|
135
165
|
border-color: var(--button-tertiary-disabled-border-color);
|
|
166
|
+
} .button__component_n4zdd[disabled].button__transparent_n4zdd {
|
|
167
|
+
color: var(--button-transparent-disabled-color);
|
|
136
168
|
} .button__component_n4zdd[disabled].button__link_n4zdd {
|
|
137
169
|
color: var(--button-link-disabled-color);
|
|
170
|
+
} .button__component_n4zdd[disabled].button__text_n4zdd {
|
|
171
|
+
color: var(--button-text-disabled-color);
|
|
138
172
|
} .button__component_n4zdd[disabled].button__ghost_n4zdd {
|
|
139
173
|
color: var(--button-ghost-disabled-color);
|
|
140
174
|
}
|