@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"
|
|
4
|
+
var styles = {"component":"tabs__component_6ts2l","hidden":"tabs__hidden_6ts2l"};
|
|
5
5
|
require('./index.css');
|
|
6
6
|
|
|
7
7
|
var Tab = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6db4bd77.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '../../../../keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import '../primary-tablist/Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-770329cf.js';
|
|
10
10
|
import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
|
|
11
11
|
import '../../../../tag/esm';
|
|
12
12
|
import '../secondary-tablist/Component.js';
|
|
13
|
-
import '../../index.module-
|
|
13
|
+
import '../../index.module-f503c285.js';
|
|
14
14
|
import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
|
|
15
15
|
import { Tabs } from './Component.js';
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6db4bd77.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '../../../../keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,10 +6,10 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import '../primary-tablist/Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-770329cf.js';
|
|
10
10
|
import '../../../../tag/esm';
|
|
11
11
|
import '../secondary-tablist/Component.js';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-f503c285.js';
|
|
13
13
|
import { Tabs } from './Component.js';
|
|
14
14
|
import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
|
|
15
15
|
import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6db4bd77.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '../../../../keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import '../primary-tablist/Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-770329cf.js';
|
|
10
10
|
import '../primary-tablist/Component.desktop.js';
|
|
11
11
|
import '../../../../tag/esm';
|
|
12
12
|
import '../secondary-tablist/Component.js';
|
|
13
|
-
import '../../index.module-
|
|
13
|
+
import '../../index.module-f503c285.js';
|
|
14
14
|
import '../secondary-tablist/Component.desktop.js';
|
|
15
15
|
import { Tabs } from './Component.js';
|
|
16
16
|
import '@alfalab/hooks';
|
package/tabs/esm/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-6db4bd77.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-770329cf.js';
|
|
10
10
|
export { PrimaryTabListDesktop } from './components/primary-tablist/Component.desktop.js';
|
|
11
11
|
import '../../tag/esm';
|
|
12
12
|
import './components/secondary-tablist/Component.js';
|
|
13
|
-
import './index.module-
|
|
13
|
+
import './index.module-f503c285.js';
|
|
14
14
|
export { SecondaryTabListDesktop } from './components/secondary-tablist/Component.desktop.js';
|
|
15
15
|
export { Tab } from './components/tab/Component.js';
|
|
16
16
|
import './components/tabs/Component.js';
|
package/tabs/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-6db4bd77.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-770329cf.js';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
11
11
|
import '../../tag/esm';
|
|
12
12
|
import './components/secondary-tablist/Component.js';
|
|
13
|
-
import './index.module-
|
|
13
|
+
import './index.module-f503c285.js';
|
|
14
14
|
import './components/secondary-tablist/Component.desktop.js';
|
|
15
15
|
export { Tab } from './components/tab/Component.js';
|
|
16
16
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1cjc8","container":"tabs__container_1cjc8","title":"tabs__title_1cjc8","disabled":"tabs__disabled_1cjc8","focused":"tabs__focused_1cjc8","selected":"tabs__selected_1cjc8","line":"tabs__line_1cjc8","scrollable":"tabs__scrollable_1cjc8","s":"tabs__s_1cjc8","m":"tabs__m_1cjc8","l":"tabs__l_1cjc8","xl":"tabs__xl_1cjc8","rightAddons":"tabs__rightAddons_1cjc8"};
|
|
2
|
+
require('./components/primary-tablist/index.css');
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1vzpv","container":"tabs__container_1vzpv","title":"tabs__title_1vzpv","s":"tabs__s_1vzpv","m":"tabs__m_1vzpv","l":"tabs__l_1vzpv","xl":"tabs__xl_1vzpv"};
|
|
2
|
+
require('./components/secondary-tablist/index.css');
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/tabs/esm/mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-6db4bd77.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,10 +6,10 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-770329cf.js';
|
|
10
10
|
import '../../tag/esm';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-f503c285.js';
|
|
13
13
|
export { Tab } from './components/tab/Component.js';
|
|
14
14
|
import './components/tabs/Component.js';
|
|
15
15
|
export { PrimaryTabListMobile } from './components/primary-tablist/Component.mobile.js';
|
package/tabs/esm/responsive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-6db4bd77.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-770329cf.js';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
11
11
|
import '../../tag/esm';
|
|
12
12
|
import './components/secondary-tablist/Component.js';
|
|
13
|
-
import './index.module-
|
|
13
|
+
import './index.module-f503c285.js';
|
|
14
14
|
import './components/secondary-tablist/Component.desktop.js';
|
|
15
15
|
export { Tab } from './components/tab/Component.js';
|
|
16
16
|
import './components/tabs/Component.js';
|
|
File without changes
|
|
File without changes
|
package/tabs/esm/useTabs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KeyboardEvent, MouseEvent, MutableRefObject } from 'react';
|
|
2
2
|
import { UseTabsProps } from "./typings";
|
|
3
3
|
declare function useTabs({ titles, selectedId, onChange }: UseTabsProps): {
|
|
4
4
|
getTabListItemProps: (index: number, outerRef?: MutableRefObject<HTMLElement> | undefined) => {
|
package/tabs/esm/useTabs.js
CHANGED
|
@@ -17,7 +17,8 @@ function useTabs(_a) {
|
|
|
17
17
|
}, [onChange, selectedId]);
|
|
18
18
|
var focusTab = useCallback(function (position) {
|
|
19
19
|
var refs = itemRefs.current;
|
|
20
|
-
|
|
20
|
+
var tabAvailable = function (ref) { return ref && !ref.disabled; };
|
|
21
|
+
if (refs.every(function (ref) { return !tabAvailable(ref); }))
|
|
21
22
|
return;
|
|
22
23
|
var focusedTabIndex = refs.findIndex(function (node) { return document.activeElement === node; });
|
|
23
24
|
if (focusedTabIndex === -1) {
|
|
@@ -39,7 +40,7 @@ function useTabs(_a) {
|
|
|
39
40
|
break;
|
|
40
41
|
}
|
|
41
42
|
var shift = ['prev', 'end'].includes(position) ? -1 : 1;
|
|
42
|
-
while (refs[newFocusIndex]
|
|
43
|
+
while (!tabAvailable(refs[newFocusIndex])) {
|
|
43
44
|
newFocusIndex = (refs.length + newFocusIndex + shift) % refs.length;
|
|
44
45
|
}
|
|
45
46
|
refs[newFocusIndex].focus();
|
package/tabs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
require('./tslib.es6-
|
|
3
|
+
require('./tslib.es6-7e1681a9.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('../keyboard-focusable');
|
|
6
6
|
require('classnames');
|
|
@@ -8,11 +8,11 @@ require('compute-scroll-into-view');
|
|
|
8
8
|
var components_scrollableContainer_Component = require('./components/scrollable-container/Component.js');
|
|
9
9
|
var useTabs = require('./useTabs.js');
|
|
10
10
|
require('./components/primary-tablist/Component.js');
|
|
11
|
-
require('./index.module-
|
|
11
|
+
require('./index.module-e147b404.js');
|
|
12
12
|
require('./components/primary-tablist/Component.desktop.js');
|
|
13
13
|
require('../tag');
|
|
14
14
|
require('./components/secondary-tablist/Component.js');
|
|
15
|
-
require('./index.module-
|
|
15
|
+
require('./index.module-d58ceb27.js');
|
|
16
16
|
require('./components/secondary-tablist/Component.desktop.js');
|
|
17
17
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
18
18
|
require('./components/tabs/Component.js');
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1vzpv","container":"tabs__container_1vzpv","title":"tabs__title_1vzpv","s":"tabs__s_1vzpv","m":"tabs__m_1vzpv","l":"tabs__l_1vzpv","xl":"tabs__xl_1vzpv"};
|
|
2
|
+
require('./components/secondary-tablist/index.css');
|
|
3
|
+
|
|
4
|
+
exports.commonStyles = commonStyles;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1cjc8","container":"tabs__container_1cjc8","title":"tabs__title_1cjc8","disabled":"tabs__disabled_1cjc8","focused":"tabs__focused_1cjc8","selected":"tabs__selected_1cjc8","line":"tabs__line_1cjc8","scrollable":"tabs__scrollable_1cjc8","s":"tabs__s_1cjc8","m":"tabs__m_1cjc8","l":"tabs__l_1cjc8","xl":"tabs__xl_1cjc8","rightAddons":"tabs__rightAddons_1cjc8"};
|
|
2
|
+
require('./components/primary-tablist/index.css');
|
|
3
|
+
|
|
4
|
+
exports.commonStyles = commonStyles;
|
package/tabs/mobile.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
require('./tslib.es6-
|
|
3
|
+
require('./tslib.es6-7e1681a9.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('../keyboard-focusable');
|
|
6
6
|
require('classnames');
|
|
@@ -8,10 +8,10 @@ require('compute-scroll-into-view');
|
|
|
8
8
|
var components_scrollableContainer_Component = require('./components/scrollable-container/Component.js');
|
|
9
9
|
var useTabs = require('./useTabs.js');
|
|
10
10
|
require('./components/primary-tablist/Component.js');
|
|
11
|
-
require('./index.module-
|
|
11
|
+
require('./index.module-e147b404.js');
|
|
12
12
|
require('../tag');
|
|
13
13
|
require('./components/secondary-tablist/Component.js');
|
|
14
|
-
require('./index.module-
|
|
14
|
+
require('./index.module-d58ceb27.js');
|
|
15
15
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
16
16
|
require('./components/tabs/Component.js');
|
|
17
17
|
var components_primaryTablist_Component_mobile = require('./components/primary-tablist/Component.mobile.js');
|
|
@@ -5,7 +5,7 @@ import '../../../../keyboard-focusable/modern';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import { PrimaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-770329cf.js';
|
|
9
9
|
|
|
10
10
|
const PrimaryTabListDesktop = ({ size = 'm', ...restProps }) => (React.createElement(PrimaryTabList, Object.assign({}, restProps, { size: size, styles: commonStyles })));
|
|
11
11
|
|
|
@@ -19,14 +19,16 @@ const PrimaryTabList = ({ size, styles = {}, className, containerClassName, titl
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const renderContent = () => (React.createElement(React.Fragment, null,
|
|
22
|
-
titles
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
titles.map((item, index) => {
|
|
23
|
+
if (item.hidden)
|
|
24
|
+
return null;
|
|
25
|
+
return (React.createElement(KeyboardFocusable, { key: item.id }, (ref, focused) => (React.createElement("button", Object.assign({}, getTabListItemProps(index, ref), { type: 'button', className: cn(styles.title, {
|
|
26
|
+
[styles.selected]: item.id === selectedId,
|
|
27
|
+
[styles.disabled]: item.disabled,
|
|
28
|
+
}) }),
|
|
29
|
+
React.createElement("span", { className: focused ? styles.focused : undefined }, item.title),
|
|
30
|
+
item.rightAddons && (React.createElement("span", { className: styles.rightAddons }, item.rightAddons))))));
|
|
31
|
+
}),
|
|
30
32
|
React.createElement("div", { className: styles.line, ref: lineRef })));
|
|
31
33
|
return (React.createElement("div", { role: 'tablist', "data-test-id": dataTestId, className: cn(styles.component, className, size && styles[size], {
|
|
32
34
|
[styles.scrollable]: scrollable,
|
|
@@ -5,9 +5,9 @@ import '../../../../keyboard-focusable/modern';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import { PrimaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-770329cf.js';
|
|
9
9
|
|
|
10
|
-
var mobileStyles = {"title":"
|
|
10
|
+
var mobileStyles = {"title":"tabs__title_1sue5 tabs__title_1cjc8"};
|
|
11
11
|
require('./mobile.css');
|
|
12
12
|
|
|
13
13
|
const styles = {
|
|
@@ -6,7 +6,7 @@ import '../../../../keyboard-focusable/modern';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-770329cf.js';
|
|
10
10
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
12
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1cjc8 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
|
|
80
80
|
/* size xl */
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.tabs__component_1cjc8 {
|
|
83
83
|
position: relative
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.tabs__component_1cjc8:before {
|
|
86
86
|
content: '';
|
|
87
87
|
display: block;
|
|
88
88
|
position: absolute;
|
|
@@ -91,11 +91,11 @@
|
|
|
91
91
|
width: 100%;
|
|
92
92
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
.tabs__container_1cjc8 {
|
|
95
95
|
position: relative;
|
|
96
96
|
display: flex;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.tabs__title_1cjc8 {
|
|
99
99
|
display: flex;
|
|
100
100
|
align-items: center;
|
|
101
101
|
height: 100%;
|
|
@@ -113,22 +113,22 @@
|
|
|
113
113
|
cursor: pointer;
|
|
114
114
|
outline: none
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.tabs__title_1cjc8:not(.tabs__disabled_1cjc8):hover {
|
|
117
117
|
color: var(--primary-tablist-hover-color);
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.tabs__focused_1cjc8 {
|
|
120
120
|
outline: 2px solid var(--focus-color);
|
|
121
121
|
outline-offset: 2px;
|
|
122
122
|
}
|
|
123
|
-
.
|
|
123
|
+
.tabs__selected_1cjc8 {
|
|
124
124
|
cursor: default;
|
|
125
125
|
color: var(--primary-tablist-selected-color);
|
|
126
126
|
}
|
|
127
|
-
.
|
|
127
|
+
.tabs__disabled_1cjc8 {
|
|
128
128
|
cursor: var(--disabled-cursor);
|
|
129
129
|
color: var(--primary-tablist-disabled-color);
|
|
130
130
|
}
|
|
131
|
-
.
|
|
131
|
+
.tabs__line_1cjc8 {
|
|
132
132
|
position: absolute;
|
|
133
133
|
height: 3px;
|
|
134
134
|
bottom: 0;
|
|
@@ -136,50 +136,50 @@
|
|
|
136
136
|
background-color: var(--primary-tablist-line-color);
|
|
137
137
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
.tabs__scrollable_1cjc8 .tabs__line_1cjc8 {
|
|
140
140
|
bottom: var(--tablist-hidden-scrollbar-height);
|
|
141
141
|
}
|
|
142
142
|
/* sizes */
|
|
143
|
-
.
|
|
143
|
+
.tabs__s_1cjc8 .tabs__title_1cjc8 {
|
|
144
144
|
padding: var(--primary-tablist-s-padding);
|
|
145
145
|
font-size: var(--primary-tablist-s-font-size);
|
|
146
146
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
147
147
|
font-family: var(--primary-tablist-s-font-family);
|
|
148
148
|
line-height: 24px;
|
|
149
149
|
}
|
|
150
|
-
.
|
|
150
|
+
.tabs__s_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
151
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
152
152
|
}
|
|
153
|
-
.
|
|
153
|
+
.tabs__m_1cjc8 .tabs__title_1cjc8 {
|
|
154
154
|
padding: var(--primary-tablist-m-padding);
|
|
155
155
|
font-size: var(--primary-tablist-m-font-size);
|
|
156
156
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
157
157
|
font-family: var(--primary-tablist-m-font-family);
|
|
158
158
|
line-height: 24px;
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
.tabs__m_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
161
161
|
margin-left: var(--primary-tablist-m-gaps);
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.tabs__l_1cjc8 .tabs__title_1cjc8 {
|
|
164
164
|
padding: var(--primary-tablist-l-padding);
|
|
165
165
|
font-size: var(--primary-tablist-l-font-size);
|
|
166
166
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
167
167
|
font-family: var(--primary-tablist-l-font-family);
|
|
168
168
|
line-height: 24px;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.tabs__l_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
171
171
|
margin-left: var(--primary-tablist-l-gaps);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.tabs__xl_1cjc8 .tabs__title_1cjc8 {
|
|
174
174
|
padding: var(--primary-tablist-xl-padding);
|
|
175
175
|
font-size: var(--primary-tablist-xl-font-size);
|
|
176
176
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
177
177
|
font-family: var(--primary-tablist-xl-font-family);
|
|
178
178
|
line-height: 32px;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.tabs__xl_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
181
181
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__rightAddons_1cjc8 {
|
|
184
184
|
margin-left: var(--gap-xs);
|
|
185
185
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1sue5 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
/* size l */
|
|
84
84
|
|
|
85
85
|
/* size xl */
|
|
86
|
-
}.
|
|
86
|
+
}.tabs__component_1cjc8 {
|
|
87
87
|
position: relative
|
|
88
|
-
}.
|
|
88
|
+
}.tabs__component_1cjc8:before {
|
|
89
89
|
content: '';
|
|
90
90
|
display: block;
|
|
91
91
|
position: absolute;
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
height: 1px;
|
|
94
94
|
width: 100%;
|
|
95
95
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
96
|
-
}.
|
|
96
|
+
}.tabs__container_1cjc8 {
|
|
97
97
|
position: relative;
|
|
98
98
|
display: flex;
|
|
99
|
-
}.
|
|
99
|
+
}.tabs__title_1cjc8 {
|
|
100
100
|
display: flex;
|
|
101
101
|
align-items: center;
|
|
102
102
|
height: 100%;
|
|
@@ -113,59 +113,59 @@
|
|
|
113
113
|
user-select: none;
|
|
114
114
|
cursor: pointer;
|
|
115
115
|
outline: none
|
|
116
|
-
}.
|
|
116
|
+
}.tabs__title_1cjc8:not(.tabs__disabled_1cjc8):hover {
|
|
117
117
|
color: var(--primary-tablist-hover-color);
|
|
118
|
-
}.
|
|
118
|
+
}.tabs__focused_1cjc8 {
|
|
119
119
|
outline: 2px solid var(--focus-color);
|
|
120
120
|
outline-offset: 2px;
|
|
121
|
-
}.
|
|
121
|
+
}.tabs__selected_1cjc8 {
|
|
122
122
|
cursor: default;
|
|
123
123
|
color: var(--primary-tablist-selected-color);
|
|
124
|
-
}.
|
|
124
|
+
}.tabs__disabled_1cjc8 {
|
|
125
125
|
cursor: var(--disabled-cursor);
|
|
126
126
|
color: var(--primary-tablist-disabled-color);
|
|
127
|
-
}.
|
|
127
|
+
}.tabs__line_1cjc8 {
|
|
128
128
|
position: absolute;
|
|
129
129
|
height: 3px;
|
|
130
130
|
bottom: 0;
|
|
131
131
|
left: 0;
|
|
132
132
|
background-color: var(--primary-tablist-line-color);
|
|
133
133
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
134
|
-
}.
|
|
134
|
+
}.tabs__scrollable_1cjc8 .tabs__line_1cjc8 {
|
|
135
135
|
bottom: var(--tablist-hidden-scrollbar-height);
|
|
136
|
-
}/* sizes */.
|
|
136
|
+
}/* sizes */.tabs__s_1cjc8 .tabs__title_1cjc8 {
|
|
137
137
|
padding: var(--primary-tablist-s-padding);
|
|
138
138
|
font-size: var(--primary-tablist-s-font-size);
|
|
139
139
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
140
140
|
font-family: var(--primary-tablist-s-font-family);
|
|
141
141
|
line-height: 24px;
|
|
142
|
-
}.
|
|
142
|
+
}.tabs__s_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
143
143
|
margin-left: var(--primary-tablist-s-gaps);
|
|
144
|
-
}.
|
|
144
|
+
}.tabs__m_1cjc8 .tabs__title_1cjc8 {
|
|
145
145
|
padding: var(--primary-tablist-m-padding);
|
|
146
146
|
font-size: var(--primary-tablist-m-font-size);
|
|
147
147
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
148
148
|
font-family: var(--primary-tablist-m-font-family);
|
|
149
149
|
line-height: 24px;
|
|
150
|
-
}.
|
|
150
|
+
}.tabs__m_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
151
151
|
margin-left: var(--primary-tablist-m-gaps);
|
|
152
|
-
}.
|
|
152
|
+
}.tabs__l_1cjc8 .tabs__title_1cjc8 {
|
|
153
153
|
padding: var(--primary-tablist-l-padding);
|
|
154
154
|
font-size: var(--primary-tablist-l-font-size);
|
|
155
155
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
156
156
|
font-family: var(--primary-tablist-l-font-family);
|
|
157
157
|
line-height: 24px;
|
|
158
|
-
}.
|
|
158
|
+
}.tabs__l_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
159
159
|
margin-left: var(--primary-tablist-l-gaps);
|
|
160
|
-
}.
|
|
160
|
+
}.tabs__xl_1cjc8 .tabs__title_1cjc8 {
|
|
161
161
|
padding: var(--primary-tablist-xl-padding);
|
|
162
162
|
font-size: var(--primary-tablist-xl-font-size);
|
|
163
163
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
164
164
|
font-family: var(--primary-tablist-xl-font-family);
|
|
165
165
|
line-height: 32px;
|
|
166
|
-
}.
|
|
166
|
+
}.tabs__xl_1cjc8 .tabs__title_1cjc8 + .tabs__title_1cjc8 {
|
|
167
167
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
168
|
-
}.
|
|
168
|
+
}.tabs__rightAddons_1cjc8 {
|
|
169
169
|
margin-left: var(--gap-xs);
|
|
170
170
|
}
|
|
171
171
|
:root {
|
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
/* size xl */
|
|
739
739
|
--secondary-tablist-xl-gaps: var(--gap-s);
|
|
740
740
|
}
|
|
741
|
-
.
|
|
741
|
+
.tabs__title_1sue5 {
|
|
742
742
|
|
|
743
743
|
padding: var(--primary-tablist-mobile-padding);
|
|
744
744
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
@@ -746,6 +746,6 @@
|
|
|
746
746
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
747
747
|
line-height: 24px
|
|
748
748
|
}
|
|
749
|
-
.
|
|
749
|
+
.tabs__title_1sue5 + .tabs__title_1sue5 {
|
|
750
750
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
751
751
|
}
|
|
@@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import computeScrollIntoView from 'compute-scroll-into-view';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"
|
|
5
|
+
var styles = {"component":"tabs__component_6y7dd","container":"tabs__container_6y7dd"};
|
|
6
6
|
require('./index.css');
|
|
7
7
|
|
|
8
8
|
const ScrollableContainer = ({ containerClassName, children, activeChild, }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 6y7dd */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
|
|
31
31
|
/* size xl */
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.tabs__component_6y7dd {
|
|
34
34
|
overflow: hidden
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.tabs__component_6y7dd:after {
|
|
37
37
|
content: '';
|
|
38
38
|
display: block;
|
|
39
39
|
margin-bottom: calc(var(--tablist-hidden-scrollbar-height) * -1);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.tabs__container_6y7dd {
|
|
42
42
|
position: relative;
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
@@ -5,7 +5,7 @@ import '../scrollable-container/Component.js';
|
|
|
5
5
|
import '../../useTabs.js';
|
|
6
6
|
import '../../../../tag/modern';
|
|
7
7
|
import { SecondaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-f503c285.js';
|
|
9
9
|
|
|
10
10
|
const SecondaryTabListDesktop = ({ size = 'm', ...restProps }) => (React.createElement(SecondaryTabList, Object.assign({}, restProps, { size: size, styles: commonStyles, tagSize: size === 's' ? 'xs' : 's' })));
|
|
11
11
|
|
|
@@ -5,9 +5,9 @@ import '../scrollable-container/Component.js';
|
|
|
5
5
|
import '../../useTabs.js';
|
|
6
6
|
import '../../../../tag/modern';
|
|
7
7
|
import { SecondaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-f503c285.js';
|
|
9
9
|
|
|
10
|
-
var mobileStyles = {"title":"
|
|
10
|
+
var mobileStyles = {"title":"tabs__title_1glaw tabs__title_1vzpv","mobile":"tabs__mobile_1glaw"};
|
|
11
11
|
require('./mobile.css');
|
|
12
12
|
|
|
13
13
|
const styles = {
|