@alfalab/core-components 20.6.0 → 21.0.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-input/Component.js +3 -3
- package/amount-input/default.css +2 -2
- package/amount-input/esm/Component.js +3 -3
- package/amount-input/esm/default.css +2 -2
- package/amount-input/esm/index.css +7 -7
- package/amount-input/esm/inverted.css +2 -2
- package/amount-input/index.css +7 -7
- package/amount-input/inverted.css +2 -2
- package/amount-input/modern/Component.js +3 -3
- package/amount-input/modern/default.css +2 -2
- package/amount-input/modern/index.css +7 -7
- package/amount-input/modern/inverted.css +2 -2
- package/bank-card/Component.js +1 -1
- package/bank-card/esm/Component.js +1 -1
- package/bank-card/esm/index.css +20 -20
- package/bank-card/index.css +20 -20
- package/bank-card/modern/Component.js +1 -1
- package/bank-card/modern/index.css +20 -20
- package/calendar/Component.js +1 -1
- package/calendar/components/days-table/Component.js +1 -1
- package/calendar/components/days-table/index.js +1 -1
- package/calendar/components/header/Component.js +1 -1
- package/calendar/components/header/index.js +1 -1
- package/calendar/components/months-table/Component.js +1 -1
- package/calendar/components/months-table/index.js +1 -1
- package/calendar/components/select-button/Component.js +1 -1
- package/calendar/components/select-button/index.js +1 -1
- package/calendar/components/years-table/Component.js +1 -1
- package/calendar/components/years-table/index.js +1 -1
- package/calendar/esm/Component.js +1 -1
- package/calendar/esm/components/days-table/Component.js +1 -1
- package/calendar/esm/components/days-table/index.js +1 -1
- package/calendar/esm/components/header/Component.js +1 -1
- package/calendar/esm/components/header/index.js +1 -1
- package/calendar/esm/components/months-table/Component.js +1 -1
- package/calendar/esm/components/months-table/index.js +1 -1
- package/calendar/esm/components/select-button/Component.js +1 -1
- package/calendar/esm/components/select-button/index.js +1 -1
- package/calendar/esm/components/years-table/Component.js +1 -1
- package/calendar/esm/components/years-table/index.js +1 -1
- package/calendar/esm/index.js +1 -1
- package/calendar/esm/{tslib.es6-decc30d3.d.ts → tslib.es6-592d5eb5.d.ts} +0 -0
- package/calendar/esm/{tslib.es6-decc30d3.js → tslib.es6-592d5eb5.js} +0 -0
- package/calendar/index.js +1 -1
- package/calendar/{tslib.es6-af3fab91.d.ts → tslib.es6-4fa31cb9.d.ts} +0 -0
- package/calendar/{tslib.es6-af3fab91.js → tslib.es6-4fa31cb9.js} +0 -0
- package/calendar-input/Component.js +3 -2
- package/calendar-input/cssm/Component.js +2 -1
- package/calendar-input/cssm/index.js +1 -0
- package/calendar-input/cssm/index.module.css +7 -6
- package/calendar-input/esm/Component.js +3 -2
- package/calendar-input/esm/index.css +16 -15
- package/calendar-input/esm/index.js +1 -0
- package/calendar-input/index.css +16 -15
- package/calendar-input/index.js +1 -0
- package/calendar-input/modern/Component.js +3 -2
- package/calendar-input/modern/index.css +16 -15
- package/calendar-input/modern/index.js +1 -0
- package/calendar-range/Component.js +1 -1
- package/calendar-range/esm/Component.js +1 -1
- package/calendar-range/esm/index.css +5 -5
- package/calendar-range/index.css +5 -5
- package/calendar-range/modern/Component.js +1 -1
- package/calendar-range/modern/index.css +5 -5
- package/checkbox-group/Component.js +1 -1
- package/checkbox-group/esm/Component.js +1 -1
- package/checkbox-group/esm/index.css +17 -17
- package/checkbox-group/index.css +17 -17
- package/checkbox-group/modern/Component.js +1 -1
- package/checkbox-group/modern/index.css +17 -17
- package/confirmation/component.js +1 -1
- package/confirmation/components/code-input/component.js +1 -1
- package/confirmation/components/code-input/index.css +9 -9
- package/confirmation/components/countdown/component.js +1 -1
- package/confirmation/components/countdown/index.css +13 -13
- package/confirmation/components/countdown-loader/component.js +1 -1
- package/confirmation/components/countdown-loader/index.css +2 -2
- package/confirmation/components/overlimit/component.js +1 -1
- package/confirmation/components/overlimit/index.css +9 -9
- package/confirmation/components/sign-confirmation/component.js +1 -1
- package/confirmation/components/sign-confirmation/index.css +13 -13
- package/confirmation/esm/component.js +1 -1
- package/confirmation/esm/components/code-input/component.js +1 -1
- package/confirmation/esm/components/code-input/index.css +9 -9
- package/confirmation/esm/components/countdown/component.js +1 -1
- package/confirmation/esm/components/countdown/index.css +13 -13
- package/confirmation/esm/components/countdown-loader/component.js +1 -1
- package/confirmation/esm/components/countdown-loader/index.css +2 -2
- package/confirmation/esm/components/overlimit/component.js +1 -1
- package/confirmation/esm/components/overlimit/index.css +9 -9
- package/confirmation/esm/components/sign-confirmation/component.js +1 -1
- package/confirmation/esm/components/sign-confirmation/index.css +13 -13
- package/confirmation/esm/index.css +14 -14
- package/confirmation/index.css +14 -14
- package/confirmation/modern/component.js +1 -1
- package/confirmation/modern/components/code-input/component.js +1 -1
- package/confirmation/modern/components/code-input/index.css +9 -9
- package/confirmation/modern/components/countdown/component.js +1 -1
- package/confirmation/modern/components/countdown/index.css +13 -13
- package/confirmation/modern/components/countdown-loader/component.js +1 -1
- package/confirmation/modern/components/countdown-loader/index.css +2 -2
- package/confirmation/modern/components/overlimit/component.js +1 -1
- package/confirmation/modern/components/overlimit/index.css +9 -9
- package/confirmation/modern/components/sign-confirmation/component.js +1 -1
- package/confirmation/modern/components/sign-confirmation/index.css +13 -13
- package/confirmation/modern/index.css +14 -14
- package/date-input/Component.js +1 -1
- package/date-input/esm/Component.js +1 -1
- package/date-input/esm/index.css +4 -4
- package/date-input/index.css +4 -4
- package/date-input/modern/Component.js +1 -1
- package/date-input/modern/index.css +4 -4
- package/file-upload-item/Component.d.ts +5 -0
- package/file-upload-item/Component.js +3 -3
- package/file-upload-item/cssm/Component.d.ts +5 -0
- package/file-upload-item/cssm/Component.js +2 -2
- package/file-upload-item/esm/Component.d.ts +5 -0
- package/file-upload-item/esm/Component.js +3 -3
- package/file-upload-item/esm/index.css +16 -16
- package/file-upload-item/index.css +16 -16
- package/file-upload-item/modern/Component.d.ts +5 -0
- package/file-upload-item/modern/Component.js +3 -3
- package/file-upload-item/modern/index.css +16 -16
- package/form-control/Component.js +3 -3
- package/form-control/default.css +15 -15
- package/form-control/esm/Component.js +3 -3
- package/form-control/esm/default.css +15 -15
- package/form-control/esm/index.css +42 -42
- package/form-control/esm/inverted.css +15 -15
- package/form-control/index.css +42 -42
- package/form-control/inverted.css +15 -15
- package/form-control/modern/Component.js +3 -3
- package/form-control/modern/default.css +15 -15
- package/form-control/modern/index.css +42 -42
- package/form-control/modern/inverted.css +15 -15
- package/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-c9c70930.d.ts → gutters.module-b39da5b6.d.ts} +0 -0
- package/grid/esm/{gutters.module-c9c70930.js → gutters.module-b39da5b6.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-ec984f94.d.ts → gutters.module-d3fcf523.d.ts} +0 -0
- package/grid/{gutters.module-ec984f94.js → gutters.module-d3fcf523.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-157a0bab.js → gutters.module-3f6357c5.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/input/Component.js +3 -3
- package/input/cssm/default.module.css +1 -0
- package/input/cssm/index.module.css +1 -0
- package/input/cssm/inverted.module.css +1 -0
- package/input/default.css +14 -13
- package/input/esm/Component.js +3 -3
- package/input/esm/default.css +14 -13
- package/input/esm/index.css +32 -31
- package/input/esm/inverted.css +14 -13
- package/input/index.css +32 -31
- package/input/inverted.css +14 -13
- package/input/modern/Component.js +3 -3
- package/input/modern/default.css +14 -13
- package/input/modern/index.css +32 -31
- package/input/modern/inverted.css +14 -13
- package/input-autocomplete/{Component-658ecc84.d.ts → Component-50e308c3.d.ts} +0 -0
- package/input-autocomplete/{Component-658ecc84.js → Component-50e308c3.js} +1 -1
- package/input-autocomplete/Component.js +1 -1
- package/input-autocomplete/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/autocomplete-field/index.css +2 -2
- package/input-autocomplete/autocomplete-field/index.d.ts +1 -1
- package/input-autocomplete/autocomplete-field/index.js +1 -1
- package/input-autocomplete/esm/{Component-35cb3144.d.ts → Component-9846da19.d.ts} +0 -0
- package/input-autocomplete/esm/{Component-35cb3144.js → Component-9846da19.js} +1 -1
- package/input-autocomplete/esm/Component.js +1 -1
- package/input-autocomplete/esm/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/esm/autocomplete-field/index.css +2 -2
- package/input-autocomplete/esm/autocomplete-field/index.d.ts +1 -1
- package/input-autocomplete/esm/autocomplete-field/index.js +1 -1
- package/input-autocomplete/esm/index.js +1 -1
- package/input-autocomplete/index.js +1 -1
- package/input-autocomplete/modern/autocomplete-field/Component.js +1 -1
- package/input-autocomplete/modern/autocomplete-field/index.css +2 -2
- package/intl-phone-input/{component-f9a47d45.d.ts → component-0ae65331.d.ts} +0 -0
- package/intl-phone-input/{component-f9a47d45.js → component-0ae65331.js} +1 -1
- package/intl-phone-input/component.d.ts +1 -1
- package/intl-phone-input/component.js +3 -3
- package/intl-phone-input/components/flag-icon/component.js +1 -1
- package/intl-phone-input/components/flag-icon/index.css +784 -784
- package/intl-phone-input/components/index.js +1 -1
- package/intl-phone-input/components/select/component.js +2 -2
- package/intl-phone-input/components/select/index.css +6 -6
- package/intl-phone-input/components/select/index.js +1 -1
- package/intl-phone-input/components/select-field/component.js +1 -1
- package/intl-phone-input/components/select-field/index.css +8 -8
- package/intl-phone-input/components/select-field/index.d.ts +1 -1
- package/intl-phone-input/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/{component-7c45ec39.d.ts → component-35a8a72f.d.ts} +0 -0
- package/intl-phone-input/esm/{component-7c45ec39.js → component-35a8a72f.js} +1 -1
- package/intl-phone-input/esm/component.js +3 -3
- package/intl-phone-input/esm/components/flag-icon/component.js +1 -1
- package/intl-phone-input/esm/components/flag-icon/index.css +784 -784
- package/intl-phone-input/esm/components/index.js +1 -1
- package/intl-phone-input/esm/components/select/component.js +2 -2
- package/intl-phone-input/esm/components/select/index.css +6 -6
- package/intl-phone-input/esm/components/select/index.js +1 -1
- package/intl-phone-input/esm/components/select-field/component.js +1 -1
- package/intl-phone-input/esm/components/select-field/index.css +8 -8
- package/intl-phone-input/esm/components/select-field/index.d.ts +1 -1
- package/intl-phone-input/esm/components/select-field/index.js +1 -1
- package/intl-phone-input/esm/index.css +3 -3
- package/intl-phone-input/esm/index.js +1 -1
- package/intl-phone-input/esm/{libphonenumber-js.min-dc49e49a.d.ts → libphonenumber-js.min-352b09e0.d.ts} +0 -0
- package/intl-phone-input/esm/{libphonenumber-js.min-dc49e49a.js → libphonenumber-js.min-352b09e0.js} +0 -0
- package/intl-phone-input/index.css +3 -3
- package/intl-phone-input/index.js +1 -1
- package/intl-phone-input/{libphonenumber-js.min-c4a1a8b5.d.ts → libphonenumber-js.min-2276947d.d.ts} +0 -0
- package/intl-phone-input/{libphonenumber-js.min-c4a1a8b5.js → libphonenumber-js.min-2276947d.js} +0 -0
- package/intl-phone-input/modern/component.js +2 -2
- package/intl-phone-input/modern/components/flag-icon/component.js +1 -1
- package/intl-phone-input/modern/components/flag-icon/index.css +784 -784
- package/intl-phone-input/modern/components/select/component.js +1 -1
- package/intl-phone-input/modern/components/select/index.css +6 -6
- package/intl-phone-input/modern/components/select-field/component.js +1 -1
- package/intl-phone-input/modern/components/select-field/index.css +8 -8
- package/intl-phone-input/modern/index.css +3 -3
- package/intl-phone-input/modern/{libphonenumber-js.min-dc49e49a.d.ts → libphonenumber-js.min-352b09e0.d.ts} +0 -0
- package/intl-phone-input/modern/{libphonenumber-js.min-dc49e49a.js → libphonenumber-js.min-352b09e0.js} +0 -0
- package/masked-input/Component.js +1 -1
- package/masked-input/esm/Component.js +1 -1
- package/masked-input/esm/index.css +2 -2
- package/masked-input/index.css +2 -2
- package/masked-input/modern/Component.js +1 -1
- package/masked-input/modern/index.css +2 -2
- package/modal/Component.desktop.js +2 -2
- package/modal/Component.mobile.js +2 -2
- package/modal/Component.responsive.d.ts +3 -3
- package/modal/Component.responsive.js +2 -2
- package/modal/components/closer/Component.js +1 -1
- package/modal/components/content/Component.desktop.js +1 -1
- package/modal/components/content/Component.mobile.js +1 -1
- package/modal/components/footer/Component.desktop.js +1 -1
- package/modal/components/footer/Component.mobile.js +1 -1
- package/modal/components/header/Component.desktop.js +1 -1
- package/modal/components/header/Component.js +1 -1
- package/modal/components/header/Component.mobile.js +1 -1
- package/modal/desktop.js +2 -2
- package/modal/esm/Component.desktop.js +2 -2
- package/modal/esm/Component.mobile.js +2 -2
- package/modal/esm/Component.responsive.js +2 -2
- package/modal/esm/components/closer/Component.js +1 -1
- package/modal/esm/components/content/Component.desktop.js +1 -1
- package/modal/esm/components/content/Component.mobile.js +1 -1
- package/modal/esm/components/footer/Component.desktop.js +1 -1
- package/modal/esm/components/footer/Component.mobile.js +1 -1
- package/modal/esm/components/header/Component.desktop.js +1 -1
- package/modal/esm/components/header/Component.js +1 -1
- package/modal/esm/components/header/Component.mobile.js +1 -1
- package/modal/esm/desktop.js +2 -2
- package/modal/esm/index.js +2 -2
- package/modal/esm/mobile.js +2 -2
- package/modal/esm/responsive.js +2 -2
- package/modal/esm/{transitions.module-97448997.js → transitions.module-683182f2.js} +0 -0
- package/modal/esm/{tslib.es6-a89fa585.d.ts → tslib.es6-f3d79081.d.ts} +0 -0
- package/modal/esm/{tslib.es6-a89fa585.js → tslib.es6-f3d79081.js} +0 -0
- package/modal/index.js +2 -2
- package/modal/mobile.js +2 -2
- package/modal/modern/Component.desktop.js +1 -1
- package/modal/modern/Component.mobile.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/desktop.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile.js +1 -1
- package/modal/modern/responsive.js +1 -1
- package/modal/modern/{transitions.module-97448997.js → transitions.module-683182f2.js} +0 -0
- package/modal/responsive.js +2 -2
- package/modal/{transitions.module-01b58cd2.js → transitions.module-c7d97d9d.js} +0 -0
- package/modal/{tslib.es6-434258af.d.ts → tslib.es6-6d6e5bf3.d.ts} +0 -0
- package/modal/{tslib.es6-434258af.js → tslib.es6-6d6e5bf3.js} +0 -0
- package/package.json +2 -2
- package/password-input/component.js +1 -1
- package/password-input/esm/component.js +1 -1
- package/password-input/esm/index.css +5 -5
- package/password-input/index.css +5 -5
- package/password-input/modern/component.js +1 -1
- package/password-input/modern/index.css +5 -5
- package/picker-button/{Component-cb99627b.d.ts → Component-bc62e4c2.d.ts} +0 -0
- package/picker-button/{Component-cb99627b.js → Component-bc62e4c2.js} +1 -1
- package/picker-button/Component.d.ts +1 -1
- package/picker-button/Component.js +2 -2
- package/picker-button/esm/{Component-94ad1b6c.d.ts → Component-7bcce42b.d.ts} +0 -0
- package/picker-button/esm/{Component-94ad1b6c.js → Component-7bcce42b.js} +1 -1
- package/picker-button/esm/Component.js +2 -2
- package/picker-button/esm/field/Component.js +1 -1
- package/picker-button/esm/field/index.css +3 -3
- package/picker-button/esm/field/index.d.ts +1 -1
- package/picker-button/esm/field/index.js +1 -1
- package/picker-button/esm/index.css +2 -2
- package/picker-button/esm/index.js +1 -1
- package/picker-button/field/Component.js +1 -1
- package/picker-button/field/index.css +3 -3
- package/picker-button/field/index.d.ts +1 -1
- package/picker-button/field/index.js +1 -1
- package/picker-button/index.css +2 -2
- package/picker-button/index.js +1 -1
- package/picker-button/modern/Component.js +1 -1
- package/picker-button/modern/field/Component.js +1 -1
- package/picker-button/modern/field/index.css +3 -3
- package/picker-button/modern/index.css +2 -2
- package/pure-input/cssm/index.module.css +1 -0
- package/pure-input/esm/index.css +1 -0
- package/pure-input/index.css +1 -0
- package/pure-input/modern/index.css +1 -0
- package/radio-group/Component.js +1 -1
- package/radio-group/esm/Component.js +1 -1
- package/radio-group/esm/index.css +17 -17
- package/radio-group/index.css +17 -17
- package/radio-group/modern/Component.js +1 -1
- package/radio-group/modern/index.css +17 -17
- package/select/Component.js +2 -1
- package/select/components/arrow/Component.js +3 -2
- package/select/components/arrow/index.css +8 -7
- package/select/components/arrow/index.js +1 -0
- package/select/components/base-select/Component.js +2 -2
- package/select/components/base-select/index.css +7 -7
- package/select/components/base-select/index.js +1 -1
- package/select/components/checkmark/Component.js +1 -1
- package/select/components/checkmark/index.css +3 -3
- package/select/components/field/Component.js +2 -2
- package/select/components/field/index.css +9 -9
- package/select/components/field/index.js +1 -1
- package/select/components/index.js +2 -1
- package/select/components/native-select/Component.js +1 -1
- package/select/components/native-select/index.js +1 -1
- package/select/components/optgroup/Component.js +1 -1
- package/select/components/optgroup/index.css +6 -6
- package/select/components/option/Component.js +2 -2
- package/select/components/option/index.css +20 -20
- package/select/components/option/index.js +1 -1
- package/select/components/options-list/Component.js +1 -1
- package/select/components/options-list/index.css +5 -5
- package/select/components/virtual-options-list/Component.js +1 -1
- package/select/components/virtual-options-list/index.css +11 -11
- package/select/cssm/Component.js +1 -0
- package/select/cssm/components/arrow/Component.js +2 -1
- package/select/cssm/components/arrow/index.js +1 -0
- package/select/cssm/components/arrow/index.module.css +5 -4
- package/select/cssm/components/index.js +1 -0
- package/select/cssm/index.js +1 -0
- package/select/esm/Component.js +2 -1
- package/select/esm/components/arrow/Component.js +3 -2
- package/select/esm/components/arrow/index.css +8 -7
- package/select/esm/components/arrow/index.js +1 -0
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/base-select/index.css +7 -7
- package/select/esm/components/base-select/index.js +1 -1
- package/select/esm/components/checkmark/Component.js +1 -1
- package/select/esm/components/checkmark/index.css +3 -3
- package/select/esm/components/field/Component.js +2 -2
- package/select/esm/components/field/index.css +9 -9
- package/select/esm/components/field/index.js +1 -1
- package/select/esm/components/index.js +2 -1
- package/select/esm/components/native-select/Component.js +1 -1
- package/select/esm/components/native-select/index.js +1 -1
- package/select/esm/components/optgroup/Component.js +1 -1
- package/select/esm/components/optgroup/index.css +6 -6
- package/select/esm/components/option/Component.js +2 -2
- package/select/esm/components/option/index.css +20 -20
- package/select/esm/components/option/index.js +1 -1
- package/select/esm/components/options-list/Component.js +1 -1
- package/select/esm/components/options-list/index.css +5 -5
- package/select/esm/components/virtual-options-list/Component.js +1 -1
- package/select/esm/components/virtual-options-list/index.css +11 -11
- package/select/esm/index.js +2 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useLazyLoading/hook.js +2 -2
- package/select/esm/presets/useLazyLoading/index.css +2 -2
- package/select/esm/presets/useSelectWithLoading/hook.js +2 -2
- package/select/esm/presets/useSelectWithLoading/index.css +2 -2
- package/select/esm/{tslib.es6-7e869378.d.ts → tslib.es6-6ca380f2.d.ts} +0 -0
- package/select/esm/{tslib.es6-7e869378.js → tslib.es6-6ca380f2.js} +0 -0
- package/select/index.js +2 -1
- package/select/modern/Component.js +1 -0
- package/select/modern/components/arrow/Component.js +3 -2
- package/select/modern/components/arrow/index.css +8 -7
- package/select/modern/components/arrow/index.js +1 -0
- package/select/modern/components/base-select/Component.js +1 -1
- package/select/modern/components/base-select/index.css +7 -7
- package/select/modern/components/checkmark/Component.js +1 -1
- package/select/modern/components/checkmark/index.css +3 -3
- package/select/modern/components/field/Component.js +1 -1
- package/select/modern/components/field/index.css +9 -9
- package/select/modern/components/index.js +1 -0
- package/select/modern/components/optgroup/Component.js +1 -1
- package/select/modern/components/optgroup/index.css +6 -6
- package/select/modern/components/option/Component.js +1 -1
- package/select/modern/components/option/index.css +20 -20
- package/select/modern/components/options-list/Component.js +1 -1
- package/select/modern/components/options-list/index.css +5 -5
- package/select/modern/components/virtual-options-list/Component.js +1 -1
- package/select/modern/components/virtual-options-list/index.css +11 -11
- package/select/modern/index.js +1 -0
- package/select/modern/presets/useLazyLoading/hook.js +1 -1
- package/select/modern/presets/useLazyLoading/index.css +2 -2
- package/select/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/select/modern/presets/useSelectWithLoading/index.css +2 -2
- package/select/presets/index.js +1 -1
- package/select/presets/useLazyLoading/hook.js +2 -2
- package/select/presets/useLazyLoading/index.css +2 -2
- package/select/presets/useSelectWithLoading/hook.js +2 -2
- package/select/presets/useSelectWithLoading/index.css +2 -2
- package/select/{tslib.es6-5adca550.d.ts → tslib.es6-d00003ef.d.ts} +0 -0
- package/select/{tslib.es6-5adca550.js → tslib.es6-d00003ef.js} +0 -0
- package/slider-input/Component.js +1 -1
- package/slider-input/esm/Component.js +1 -1
- package/slider-input/esm/index.css +17 -17
- package/slider-input/index.css +17 -17
- package/slider-input/modern/Component.js +1 -1
- package/slider-input/modern/index.css +17 -17
- package/tabs/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/components/primary-tablist/Component.js +14 -12
- package/tabs/components/primary-tablist/Component.mobile.js +3 -3
- package/tabs/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/components/primary-tablist/index.css +20 -20
- package/tabs/components/primary-tablist/mobile.css +22 -22
- package/tabs/components/scrollable-container/Component.js +1 -1
- package/tabs/components/scrollable-container/index.css +4 -4
- 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 +3 -3
- package/tabs/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/components/secondary-tablist/index.css +12 -12
- package/tabs/components/secondary-tablist/mobile.css +15 -15
- package/tabs/components/tab/Component.js +1 -1
- package/tabs/components/tab/index.css +3 -3
- package/tabs/components/tabs/Component.desktop.js +3 -3
- package/tabs/components/tabs/Component.mobile.js +3 -3
- package/tabs/components/tabs/Component.responsive.js +3 -3
- package/tabs/cssm/components/primary-tablist/Component.js +13 -11
- package/tabs/cssm/useTabs.d.ts +1 -1
- package/tabs/cssm/useTabs.js +3 -2
- package/tabs/desktop.js +3 -3
- package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.js +14 -12
- package/tabs/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/primary-tablist/index.css +20 -20
- package/tabs/esm/components/primary-tablist/mobile.css +22 -22
- package/tabs/esm/components/scrollable-container/Component.js +1 -1
- package/tabs/esm/components/scrollable-container/index.css +4 -4
- 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 +3 -3
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/secondary-tablist/index.css +12 -12
- package/tabs/esm/components/secondary-tablist/mobile.css +15 -15
- package/tabs/esm/components/tab/Component.js +1 -1
- package/tabs/esm/components/tab/index.css +3 -3
- 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-770329cf.js +4 -0
- package/tabs/esm/index.module-f503c285.js +4 -0
- package/tabs/esm/mobile.js +3 -3
- package/tabs/esm/responsive.js +3 -3
- package/tabs/esm/{tslib.es6-8f0739df.d.ts → tslib.es6-6db4bd77.d.ts} +0 -0
- package/tabs/esm/{tslib.es6-8f0739df.js → tslib.es6-6db4bd77.js} +0 -0
- package/tabs/esm/useTabs.d.ts +1 -1
- package/tabs/esm/useTabs.js +3 -2
- package/tabs/index.js +3 -3
- package/tabs/index.module-d58ceb27.js +4 -0
- package/tabs/index.module-e147b404.js +4 -0
- package/tabs/mobile.js +3 -3
- package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.js +10 -8
- package/tabs/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/primary-tablist/index.css +20 -20
- package/tabs/modern/components/primary-tablist/mobile.css +22 -22
- package/tabs/modern/components/scrollable-container/Component.js +1 -1
- package/tabs/modern/components/scrollable-container/index.css +4 -4
- package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/secondary-tablist/index.css +12 -12
- package/tabs/modern/components/secondary-tablist/mobile.css +15 -15
- package/tabs/modern/components/tab/Component.js +1 -1
- package/tabs/modern/components/tab/index.css +3 -3
- 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-770329cf.js +4 -0
- package/tabs/modern/index.module-f503c285.js +4 -0
- package/tabs/modern/mobile.js +2 -2
- package/tabs/modern/responsive.js +2 -2
- package/tabs/modern/useTabs.d.ts +1 -1
- package/tabs/modern/useTabs.js +3 -2
- package/tabs/responsive.js +3 -3
- package/tabs/{tslib.es6-7078bc0a.d.ts → tslib.es6-7e1681a9.d.ts} +0 -0
- package/tabs/{tslib.es6-7078bc0a.js → tslib.es6-7e1681a9.js} +0 -0
- package/tabs/useTabs.d.ts +1 -1
- package/tabs/useTabs.js +3 -2
- package/textarea/Component.js +3 -3
- package/textarea/cssm/default.module.css +2 -0
- package/textarea/cssm/index.module.css +1 -0
- package/textarea/cssm/inverted.module.css +2 -0
- package/textarea/default.css +21 -19
- package/textarea/esm/Component.js +3 -3
- package/textarea/esm/default.css +21 -19
- package/textarea/esm/index.css +23 -22
- package/textarea/esm/inverted.css +21 -19
- package/textarea/index.css +23 -22
- package/textarea/inverted.css +21 -19
- package/textarea/modern/Component.js +3 -3
- package/textarea/modern/default.css +21 -19
- package/textarea/modern/index.css +23 -22
- package/textarea/modern/inverted.css +21 -19
- package/themes/calendar-input/click.css +4 -0
- package/themes/calendar-input/corp.css +3 -0
- package/themes/click.css +2 -0
- package/themes/compiled/mobile-dark-bluetint.css +83 -40
- package/themes/corp.css +2 -0
- package/themes/dist/calendar-input/click.css +4 -0
- package/themes/dist/calendar-input/corp.css +3 -0
- package/themes/dist/click.css +2 -0
- package/themes/dist/compiled/mobile-dark-bluetint.css +182 -170
- package/themes/dist/corp.css +2 -0
- package/themes/dist/mixins/calendar-input/click.css +4 -0
- package/themes/dist/mixins/calendar-input/corp.css +3 -0
- package/themes/dist/mixins/click.css +2 -0
- package/themes/dist/mixins/corp.css +4 -0
- package/themes/dist/mixins/mobile.css +0 -2
- package/themes/dist/mixins/select/corp.css +3 -0
- package/themes/dist/mobile.css +0 -1
- package/themes/dist/package.json +1 -1
- package/themes/dist/select/corp.css +3 -0
- package/themes/mixins/calendar-input/click.css +4 -0
- package/themes/mixins/calendar-input/corp.css +3 -0
- package/themes/mixins/click.css +2 -0
- package/themes/mixins/corp.css +4 -0
- package/themes/mixins/mobile.css +0 -2
- package/themes/mixins/select/corp.css +3 -0
- package/themes/mobile.css +0 -1
- package/themes/select/corp.css +3 -0
- package/with-suffix/Component.js +1 -1
- package/with-suffix/esm/Component.js +1 -1
- package/with-suffix/esm/index.css +9 -9
- package/with-suffix/index.css +9 -9
- package/with-suffix/modern/Component.js +1 -1
- package/with-suffix/modern/index.css +9 -9
- package/tabs/esm/index.module-2eb64cb0.js +0 -4
- package/tabs/esm/index.module-878a7a87.js +0 -4
- package/tabs/index.module-278c87fb.js +0 -4
- package/tabs/index.module-adf99814.js +0 -4
- package/tabs/modern/index.module-2eb64cb0.js +0 -4
- package/tabs/modern/index.module-878a7a87.js +0 -4
- package/themes/calendar-input/mobile.css +0 -3
- package/themes/dist/calendar-input/mobile.css +0 -3
- package/themes/dist/mixins/calendar-input/mobile.css +0 -3
- package/themes/mixins/calendar-input/mobile.css +0 -3
package/radio-group/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1diw5 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-negative: #d91d0b;
|
|
4
4
|
--color-light-text-primary: #0b1f35;
|
|
@@ -25,68 +25,68 @@
|
|
|
25
25
|
--radio-group-hint-color: var(--color-light-text-secondary);
|
|
26
26
|
--radio-group-label-color: var(--color-light-text-primary);
|
|
27
27
|
}
|
|
28
|
-
.radio-
|
|
28
|
+
.radio-group__component_1diw5 {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
}
|
|
32
|
-
.radio-
|
|
32
|
+
.radio-group__error_1diw5 {
|
|
33
33
|
padding-left: var(--gap-xs);
|
|
34
34
|
border-left: 1px solid var(--radio-group-error-color);
|
|
35
35
|
}
|
|
36
|
-
.radio-
|
|
36
|
+
.radio-group__radioList_1diw5 {
|
|
37
37
|
display: flex;
|
|
38
38
|
}
|
|
39
|
-
.radio-
|
|
39
|
+
.radio-group__vertical_1diw5 .radio-group__radioList_1diw5 {
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
align-items: flex-start;
|
|
42
42
|
}
|
|
43
|
-
.radio-
|
|
43
|
+
.radio-group__vertical_1diw5 .radio-group__radio_1diw5 {
|
|
44
44
|
margin-bottom: var(--gap-m)
|
|
45
45
|
}
|
|
46
|
-
.radio-
|
|
46
|
+
.radio-group__vertical_1diw5 .radio-group__radio_1diw5:last-child {
|
|
47
47
|
margin-bottom: 0;
|
|
48
48
|
}
|
|
49
|
-
.radio-
|
|
49
|
+
.radio-group__horizontal_1diw5 .radio-group__radioList_1diw5 {
|
|
50
50
|
flex-wrap: wrap;
|
|
51
51
|
margin-right: var(--gap-xl-neg);
|
|
52
52
|
margin-bottom: var(--gap-xs-neg);
|
|
53
53
|
}
|
|
54
|
-
.radio-
|
|
54
|
+
.radio-group__tag_1diw5.radio-group__horizontal_1diw5 .radio-group__radioList_1diw5 {
|
|
55
55
|
margin-right: var(--gap-xs-neg);
|
|
56
56
|
}
|
|
57
|
-
.radio-
|
|
57
|
+
.radio-group__horizontal_1diw5 .radio-group__radio_1diw5 {
|
|
58
58
|
margin-right: var(--gap-xl);
|
|
59
59
|
margin-bottom: var(--gap-xs);
|
|
60
60
|
}
|
|
61
|
-
.radio-
|
|
61
|
+
.radio-group__horizontal_1diw5 .radio-group__tagLabel_1diw5 {
|
|
62
62
|
margin-right: var(--gap-xs);
|
|
63
63
|
}
|
|
64
|
-
.radio-
|
|
64
|
+
.radio-group__label_1diw5 {
|
|
65
65
|
font-size: 16px;
|
|
66
66
|
line-height: 24px;
|
|
67
67
|
font-weight: 400;
|
|
68
68
|
margin-bottom: var(--gap-s);
|
|
69
69
|
color: var(--radio-group-label-color);
|
|
70
70
|
}
|
|
71
|
-
.radio-
|
|
71
|
+
.radio-group__sub_1diw5 {
|
|
72
72
|
font-size: 14px;
|
|
73
73
|
line-height: 18px;
|
|
74
74
|
font-weight: 400;
|
|
75
75
|
margin-top: var(--gap-s);
|
|
76
76
|
}
|
|
77
|
-
.radio-
|
|
77
|
+
.radio-group__errorMessage_1diw5 {
|
|
78
78
|
color: var(--radio-group-error-color);
|
|
79
79
|
}
|
|
80
|
-
.radio-
|
|
80
|
+
.radio-group__hint_1diw5 {
|
|
81
81
|
color: var(--radio-group-hint-color);
|
|
82
82
|
}
|
|
83
|
-
.radio-
|
|
83
|
+
.radio-group__hiddenInput_1diw5 {
|
|
84
84
|
position: absolute;
|
|
85
85
|
z-index: -1;
|
|
86
86
|
top: 0;
|
|
87
87
|
left: 0;
|
|
88
88
|
opacity: 0;
|
|
89
89
|
}
|
|
90
|
-
.radio-
|
|
90
|
+
.radio-group__tagLabel_1diw5 {
|
|
91
91
|
position: relative;
|
|
92
92
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef, useState, Children, isValidElement, cloneElement } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"radio-
|
|
4
|
+
var styles = {"component":"radio-group__component_1diw5","error":"radio-group__error_1diw5","radioList":"radio-group__radioList_1diw5","vertical":"radio-group__vertical_1diw5","radio":"radio-group__radio_1diw5","horizontal":"radio-group__horizontal_1diw5","tag":"radio-group__tag_1diw5","tagLabel":"radio-group__tagLabel_1diw5","label":"radio-group__label_1diw5","sub":"radio-group__sub_1diw5","errorMessage":"radio-group__errorMessage_1diw5","hint":"radio-group__hint_1diw5","hiddenInput":"radio-group__hiddenInput_1diw5"};
|
|
5
5
|
require('./index.css');
|
|
6
6
|
|
|
7
7
|
const RadioGroup = forwardRef(({ children, className, direction = 'vertical', label, error, hint, onChange, type = 'radio', dataTestId, disabled = false, name, value, }, ref) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1diw5 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-negative: #d91d0b;
|
|
4
4
|
--color-light-text-primary: #0b1f35;
|
|
@@ -25,68 +25,68 @@
|
|
|
25
25
|
--radio-group-hint-color: var(--color-light-text-secondary);
|
|
26
26
|
--radio-group-label-color: var(--color-light-text-primary);
|
|
27
27
|
}
|
|
28
|
-
.radio-
|
|
28
|
+
.radio-group__component_1diw5 {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
}
|
|
32
|
-
.radio-
|
|
32
|
+
.radio-group__error_1diw5 {
|
|
33
33
|
padding-left: var(--gap-xs);
|
|
34
34
|
border-left: 1px solid var(--radio-group-error-color);
|
|
35
35
|
}
|
|
36
|
-
.radio-
|
|
36
|
+
.radio-group__radioList_1diw5 {
|
|
37
37
|
display: flex;
|
|
38
38
|
}
|
|
39
|
-
.radio-
|
|
39
|
+
.radio-group__vertical_1diw5 .radio-group__radioList_1diw5 {
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
align-items: flex-start;
|
|
42
42
|
}
|
|
43
|
-
.radio-
|
|
43
|
+
.radio-group__vertical_1diw5 .radio-group__radio_1diw5 {
|
|
44
44
|
margin-bottom: var(--gap-m)
|
|
45
45
|
}
|
|
46
|
-
.radio-
|
|
46
|
+
.radio-group__vertical_1diw5 .radio-group__radio_1diw5:last-child {
|
|
47
47
|
margin-bottom: 0;
|
|
48
48
|
}
|
|
49
|
-
.radio-
|
|
49
|
+
.radio-group__horizontal_1diw5 .radio-group__radioList_1diw5 {
|
|
50
50
|
flex-wrap: wrap;
|
|
51
51
|
margin-right: var(--gap-xl-neg);
|
|
52
52
|
margin-bottom: var(--gap-xs-neg);
|
|
53
53
|
}
|
|
54
|
-
.radio-
|
|
54
|
+
.radio-group__tag_1diw5.radio-group__horizontal_1diw5 .radio-group__radioList_1diw5 {
|
|
55
55
|
margin-right: var(--gap-xs-neg);
|
|
56
56
|
}
|
|
57
|
-
.radio-
|
|
57
|
+
.radio-group__horizontal_1diw5 .radio-group__radio_1diw5 {
|
|
58
58
|
margin-right: var(--gap-xl);
|
|
59
59
|
margin-bottom: var(--gap-xs);
|
|
60
60
|
}
|
|
61
|
-
.radio-
|
|
61
|
+
.radio-group__horizontal_1diw5 .radio-group__tagLabel_1diw5 {
|
|
62
62
|
margin-right: var(--gap-xs);
|
|
63
63
|
}
|
|
64
|
-
.radio-
|
|
64
|
+
.radio-group__label_1diw5 {
|
|
65
65
|
font-size: 16px;
|
|
66
66
|
line-height: 24px;
|
|
67
67
|
font-weight: 400;
|
|
68
68
|
margin-bottom: var(--gap-s);
|
|
69
69
|
color: var(--radio-group-label-color);
|
|
70
70
|
}
|
|
71
|
-
.radio-
|
|
71
|
+
.radio-group__sub_1diw5 {
|
|
72
72
|
font-size: 14px;
|
|
73
73
|
line-height: 18px;
|
|
74
74
|
font-weight: 400;
|
|
75
75
|
margin-top: var(--gap-s);
|
|
76
76
|
}
|
|
77
|
-
.radio-
|
|
77
|
+
.radio-group__errorMessage_1diw5 {
|
|
78
78
|
color: var(--radio-group-error-color);
|
|
79
79
|
}
|
|
80
|
-
.radio-
|
|
80
|
+
.radio-group__hint_1diw5 {
|
|
81
81
|
color: var(--radio-group-hint-color);
|
|
82
82
|
}
|
|
83
|
-
.radio-
|
|
83
|
+
.radio-group__hiddenInput_1diw5 {
|
|
84
84
|
position: absolute;
|
|
85
85
|
z-index: -1;
|
|
86
86
|
top: 0;
|
|
87
87
|
left: 0;
|
|
88
88
|
opacity: 0;
|
|
89
89
|
}
|
|
90
|
-
.radio-
|
|
90
|
+
.radio-group__tagLabel_1diw5 {
|
|
91
91
|
position: relative;
|
|
92
92
|
}
|
package/select/Component.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-d00003ef.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('@alfalab/hooks');
|
|
7
7
|
require('../form-control');
|
|
8
8
|
require('./utils.js');
|
|
9
9
|
var components_field_Component = require('./components/field/Component.js');
|
|
10
|
+
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
10
11
|
var components_arrow_Component = require('./components/arrow/Component.js');
|
|
11
12
|
require('react-merge-refs');
|
|
12
13
|
var components_optgroup_Component = require('./components/optgroup/Component.js');
|
|
@@ -2,19 +2,20 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var cn = require('classnames');
|
|
5
|
+
var ChevronDownMIcon = require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
5
6
|
|
|
6
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
8
|
|
|
8
9
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
9
10
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
10
11
|
|
|
11
|
-
var styles = {"arrow":"
|
|
12
|
+
var styles = {"arrow":"select__arrow_1pfzl","open":"select__open_1pfzl"};
|
|
12
13
|
require('./index.css');
|
|
13
14
|
|
|
14
15
|
var Arrow = function (_a) {
|
|
15
16
|
var _b;
|
|
16
17
|
var open = _a.open, className = _a.className;
|
|
17
|
-
return (React__default['default'].createElement(
|
|
18
|
+
return (React__default['default'].createElement(ChevronDownMIcon.ChevronDownMIcon, { className: cn__default['default'](styles.arrow, className, (_b = {}, _b[styles.open] = open, _b)) }));
|
|
18
19
|
};
|
|
19
20
|
|
|
20
21
|
exports.Arrow = Arrow;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1pfzl */
|
|
2
|
+
:root {
|
|
3
|
+
--color-light-graphic-primary: #0b1f35;
|
|
4
|
+
}
|
|
2
5
|
:root {
|
|
3
6
|
|
|
4
7
|
/* Hard */
|
|
@@ -11,7 +14,7 @@
|
|
|
11
14
|
--arrow-transform: rotate(180deg);
|
|
12
15
|
}
|
|
13
16
|
:root {
|
|
14
|
-
--select-arrow-
|
|
17
|
+
--select-arrow-color: var(--color-light-graphic-primary);
|
|
15
18
|
|
|
16
19
|
/* options list */
|
|
17
20
|
|
|
@@ -21,16 +24,14 @@
|
|
|
21
24
|
|
|
22
25
|
/* optgroup */
|
|
23
26
|
}
|
|
24
|
-
.
|
|
27
|
+
.select__arrow_1pfzl {
|
|
25
28
|
display: block;
|
|
26
29
|
width: 24px;
|
|
27
30
|
height: 24px;
|
|
31
|
+
color: var(--select-arrow-color);
|
|
28
32
|
|
|
29
|
-
background: var(--select-arrow-background);
|
|
30
|
-
background-size: cover;
|
|
31
|
-
background-position: center;
|
|
32
33
|
transition: transform 0.15s ease-in-out, opacity 0.2s ease;
|
|
33
34
|
}
|
|
34
|
-
.
|
|
35
|
+
.select__open_1pfzl {
|
|
35
36
|
transform: var(--arrow-transform);
|
|
36
37
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-d00003ef.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var utils = require('../../utils.js');
|
|
@@ -21,7 +21,7 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
21
21
|
return dataTestId ? "" + dataTestId + elementPart : undefined;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
var styles = {"component":"
|
|
24
|
+
var styles = {"component":"select__component_jdx2x","popoverInner":"select__popoverInner_jdx2x","optionsList":"select__optionsList_jdx2x","nativeSelect":"select__nativeSelect_jdx2x","block":"select__block_jdx2x"};
|
|
25
25
|
require('./index.css');
|
|
26
26
|
|
|
27
27
|
var BaseSelect = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jdx2x */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
}
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
|
|
29
29
|
/* optgroup */
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.select__component_jdx2x {
|
|
32
32
|
width: max-content;
|
|
33
33
|
position: relative;
|
|
34
34
|
outline: 0;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__popoverInner_jdx2x {
|
|
37
37
|
padding-top: var(--select-options-list-offset);
|
|
38
38
|
padding-bottom: var(--select-options-list-offset);
|
|
39
39
|
box-shadow: none;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
border-radius: 0;
|
|
43
43
|
position: relative;
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.select__optionsList_jdx2x {
|
|
46
46
|
padding-top: var(--select-options-list-top-padding);
|
|
47
47
|
padding-bottom: var(--select-options-list-bottom-padding);
|
|
48
48
|
box-shadow: var(--select-options-list-box-shadow);
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
overflow: hidden;
|
|
52
52
|
will-change: transform;
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.select__nativeSelect_jdx2x {
|
|
55
55
|
opacity: 0;
|
|
56
56
|
overflow: hidden;
|
|
57
57
|
position: absolute;
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
cursor: pointer;
|
|
66
66
|
z-index: 1;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.select__block_jdx2x {
|
|
69
69
|
width: 100%;
|
|
70
70
|
}
|
|
71
71
|
/* width: max-content; fix for IE */
|
|
72
72
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
73
|
-
.
|
|
73
|
+
.select__component_jdx2x {
|
|
74
74
|
float: left;
|
|
75
75
|
clear: left;
|
|
76
76
|
}
|
|
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
9
9
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
10
10
|
|
|
11
|
-
var styles = {"checkmark":"
|
|
11
|
+
var styles = {"checkmark":"select__checkmark_1kdq1","selected":"select__selected_1kdq1"};
|
|
12
12
|
require('./index.css');
|
|
13
13
|
|
|
14
14
|
var Checkmark = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1kdq1 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
/* optgroup */
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__checkmark_1kdq1 {
|
|
37
37
|
display: flex;
|
|
38
38
|
align-items: center;
|
|
39
39
|
justify-content: center;
|
|
@@ -47,6 +47,6 @@
|
|
|
47
47
|
width: var(--select-checkmark-size);
|
|
48
48
|
height: var(--select-checkmark-size);
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.select__selected_1kdq1 {
|
|
51
51
|
opacity: 1;
|
|
52
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-d00003ef.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var hooks = require('@alfalab/hooks');
|
|
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
13
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
14
14
|
|
|
15
|
-
var styles = {"component":"
|
|
15
|
+
var styles = {"component":"select__component_1ozzk","field":"select__field_1ozzk","disabled":"select__disabled_1ozzk","arrow":"select__arrow_1ozzk","placeholder":"select__placeholder_1ozzk","contentWrapper":"select__contentWrapper_1ozzk","value":"select__value_1ozzk","focusVisible":"select__focusVisible_1ozzk"};
|
|
16
16
|
require('./index.css');
|
|
17
17
|
|
|
18
18
|
var Field = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ozzk */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-link: #007aff;
|
|
4
4
|
--color-light-text-secondary: #546272;
|
|
@@ -26,24 +26,24 @@
|
|
|
26
26
|
|
|
27
27
|
/* optgroup */
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
.select__component_1ozzk {
|
|
30
30
|
width: 100%;
|
|
31
31
|
outline: none;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.select__field_1ozzk:not(.select__disabled_1ozzk) {
|
|
34
34
|
cursor: pointer
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__field_1ozzk:not(.select__disabled_1ozzk):hover .select__arrow_1ozzk {
|
|
37
37
|
opacity: var(--select-arrow-hover-opacity);
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.select__disabled_1ozzk {
|
|
40
40
|
cursor: var(--disabled-cursor);
|
|
41
41
|
}
|
|
42
42
|
/* TODO: Заюзать переменные из инпута */
|
|
43
|
-
.
|
|
43
|
+
.select__placeholder_1ozzk {
|
|
44
44
|
color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__contentWrapper_1ozzk {
|
|
47
47
|
font-size: 16px;
|
|
48
48
|
line-height: 20px;
|
|
49
49
|
font-weight: 400;
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
width: 100%;
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.select__value_1ozzk {
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
text-overflow: ellipsis;
|
|
59
59
|
text-align: left;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.select__focusVisible_1ozzk {
|
|
62
62
|
outline: 2px solid var(--focus-color);
|
|
63
63
|
outline-offset: 2px;
|
|
64
64
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
require('../tslib.es6-
|
|
3
|
+
require('../tslib.es6-d00003ef.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('@alfalab/hooks');
|
|
7
7
|
require('../../form-control');
|
|
8
8
|
require('../utils.js');
|
|
9
9
|
var components_field_Component = require('./field/Component.js');
|
|
10
|
+
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
10
11
|
var components_arrow_Component = require('./arrow/Component.js');
|
|
11
12
|
require('react-merge-refs');
|
|
12
13
|
var components_optgroup_Component = require('./optgroup/Component.js');
|
|
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
9
9
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
10
10
|
|
|
11
|
-
var styles = {"optgroup":"
|
|
11
|
+
var styles = {"optgroup":"select__optgroup_1dtr6","label":"select__label_1dtr6","l":"select__l_1dtr6","xl":"select__xl_1dtr6"};
|
|
12
12
|
require('./index.css');
|
|
13
13
|
|
|
14
14
|
var Optgroup = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dtr6 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-text-secondary: #546272;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
--select-optgroup-l-left-padding: var(--gap-m);
|
|
34
34
|
--select-optgroup-l-right-padding: var(--gap-m);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__optgroup_1dtr6 {
|
|
37
37
|
position: relative;
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
background: var(--select-optgroup-background);
|
|
44
44
|
min-height: 40px
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__optgroup_1dtr6 + *[role='option']:before {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.select__label_1dtr6 {
|
|
50
50
|
font-size: 12px;
|
|
51
51
|
line-height: 16px;
|
|
52
52
|
font-weight: 500;
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
display: block;
|
|
57
57
|
color: var(--select-optgroup-color);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
60
|
-
.
|
|
59
|
+
.select__l_1dtr6,
|
|
60
|
+
.select__xl_1dtr6 {
|
|
61
61
|
padding-left: var(--select-optgroup-l-left-padding);
|
|
62
62
|
padding-right: var(--select-optgroup-l-right-padding);
|
|
63
63
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-d00003ef.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var components_checkmark_Component = require('../checkmark/Component.js');
|
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
11
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
12
12
|
|
|
13
|
-
var styles = {"option":"
|
|
13
|
+
var styles = {"option":"select__option_sbaon","disabled":"select__disabled_sbaon","s":"select__s_sbaon","m":"select__m_sbaon","l":"select__l_sbaon","xl":"select__xl_sbaon","selected":"select__selected_sbaon","highlighted":"select__highlighted_sbaon","content":"select__content_sbaon","textContent":"select__textContent_sbaon"};
|
|
14
14
|
require('./index.css');
|
|
15
15
|
|
|
16
16
|
var Option = function (_a) {
|