@alfalab/core-components-select 17.20.1 → 17.20.3
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/components/arrow/Component.js +1 -1
- package/components/arrow/index.css +8 -5
- package/components/base-checkmark/Component.js +1 -1
- package/components/base-checkmark/index.css +9 -6
- package/components/base-option/Component.js +1 -1
- package/components/base-option/index.css +19 -16
- package/components/base-select/Component.js +2 -2
- package/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/components/base-select/index.css +15 -12
- package/components/base-select/mobile.css +16 -13
- package/components/checkmark/Component.js +1 -1
- package/components/checkmark/index.css +14 -11
- package/components/checkmark-mobile/Component.js +1 -1
- package/components/checkmark-mobile/index.css +9 -6
- package/components/clear-button/Component.js +1 -1
- package/components/clear-button/index.css +10 -7
- package/components/field/Component.js +1 -1
- package/components/field/index.css +17 -14
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +8 -5
- package/components/optgroup/Component.js +1 -1
- package/components/optgroup/index.css +9 -6
- package/components/option/desktop/Component.js +1 -1
- package/components/option/desktop/index.css +26 -23
- package/components/option/mobile/Component.js +1 -1
- package/components/option/mobile/index.css +23 -20
- package/components/options-list/Component.js +11 -2
- package/components/options-list/index.css +15 -12
- package/components/search/Component.js +1 -1
- package/components/search/index.css +5 -2
- package/components/virtual-options-list/Component.js +1 -1
- package/components/virtual-options-list/index.css +19 -16
- package/cssm/components/arrow/index.module.css +3 -0
- package/cssm/components/base-checkmark/index.module.css +3 -0
- package/cssm/components/base-option/index.module.css +4 -1
- package/cssm/components/base-select/index.module.css +4 -1
- package/cssm/components/base-select/mobile.module.css +4 -1
- package/cssm/components/checkmark/index.module.css +4 -1
- package/cssm/components/checkmark-mobile/index.module.css +3 -0
- package/cssm/components/clear-button/index.module.css +3 -0
- package/cssm/components/field/index.module.css +3 -0
- package/cssm/components/footer/index.module.css +3 -0
- package/cssm/components/optgroup/index.module.css +3 -0
- package/cssm/components/option/desktop/index.module.css +4 -1
- package/cssm/components/option/index.module.css +4 -1
- package/cssm/components/option/mobile/index.module.css +4 -1
- package/cssm/components/options-list/Component.js +10 -1
- package/cssm/components/options-list/index.module.css +4 -1
- package/cssm/components/search/index.module.css +3 -0
- package/cssm/components/virtual-options-list/index.module.css +4 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +3 -0
- package/cssm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +3 -0
- package/esm/components/arrow/Component.js +1 -1
- package/esm/components/arrow/index.css +8 -5
- package/esm/components/base-checkmark/Component.js +1 -1
- package/esm/components/base-checkmark/index.css +9 -6
- package/esm/components/base-option/Component.js +1 -1
- package/esm/components/base-option/index.css +19 -16
- package/esm/components/base-select/Component.js +2 -2
- package/esm/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/esm/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/esm/components/base-select/index.css +15 -12
- package/esm/components/base-select/mobile.css +16 -13
- package/esm/components/checkmark/Component.js +1 -1
- package/esm/components/checkmark/index.css +14 -11
- package/esm/components/checkmark-mobile/Component.js +1 -1
- package/esm/components/checkmark-mobile/index.css +9 -6
- package/esm/components/clear-button/Component.js +1 -1
- package/esm/components/clear-button/index.css +10 -7
- package/esm/components/field/Component.js +1 -1
- package/esm/components/field/index.css +17 -14
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +8 -5
- package/esm/components/optgroup/Component.js +1 -1
- package/esm/components/optgroup/index.css +9 -6
- package/esm/components/option/desktop/Component.js +1 -1
- package/esm/components/option/desktop/index.css +26 -23
- package/esm/components/option/mobile/Component.js +1 -1
- package/esm/components/option/mobile/index.css +23 -20
- package/esm/components/options-list/Component.js +11 -2
- package/esm/components/options-list/index.css +15 -12
- package/esm/components/search/Component.js +1 -1
- package/esm/components/search/index.css +5 -2
- package/esm/components/virtual-options-list/Component.js +1 -1
- package/esm/components/virtual-options-list/index.css +19 -16
- package/esm/{list-popover-desktop-2ecb3c74.js → list-popover-desktop-3b4ea5e5.js} +1 -1
- package/esm/mobile/Component.mobile.js +1 -1
- package/esm/mobile.module-98f3996e.js +4 -0
- package/esm/presets/index.js +1 -1
- package/esm/presets/useSelectWithApply/hook.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +6 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/shared/index.js +1 -1
- package/{list-popover-desktop-5ac1964a.js → list-popover-desktop-268c5430.js} +1 -1
- package/mobile/Component.mobile.js +1 -1
- package/mobile.module-2570e121.js +6 -0
- package/modern/components/arrow/Component.js +1 -1
- package/modern/components/arrow/index.css +8 -5
- package/modern/components/base-checkmark/Component.js +1 -1
- package/modern/components/base-checkmark/index.css +9 -6
- package/modern/components/base-option/Component.js +1 -1
- package/modern/components/base-option/index.css +19 -16
- package/modern/components/base-select/Component.js +2 -2
- package/modern/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +1 -1
- package/modern/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/modern/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/modern/components/base-select/index.css +15 -12
- package/modern/components/base-select/mobile.css +16 -13
- package/modern/components/checkmark/Component.js +1 -1
- package/modern/components/checkmark/index.css +14 -11
- package/modern/components/checkmark-mobile/Component.js +1 -1
- package/modern/components/checkmark-mobile/index.css +9 -6
- package/modern/components/clear-button/Component.js +1 -1
- package/modern/components/clear-button/index.css +10 -7
- package/modern/components/field/Component.js +1 -1
- package/modern/components/field/index.css +17 -14
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +8 -5
- package/modern/components/optgroup/Component.js +1 -1
- package/modern/components/optgroup/index.css +9 -6
- package/modern/components/option/desktop/Component.js +1 -1
- package/modern/components/option/desktop/index.css +26 -23
- package/modern/components/option/mobile/Component.js +1 -1
- package/modern/components/option/mobile/index.css +23 -20
- package/modern/components/options-list/Component.js +10 -2
- package/modern/components/options-list/index.css +15 -12
- package/modern/components/search/Component.js +1 -1
- package/modern/components/search/index.css +5 -2
- package/modern/components/virtual-options-list/Component.js +1 -1
- package/modern/components/virtual-options-list/index.css +19 -16
- package/modern/{list-popover-desktop-edd27f5e.js → list-popover-desktop-74fd734c.js} +1 -1
- package/modern/mobile/Component.mobile.js +1 -1
- package/modern/mobile.module-b948b52a.js +4 -0
- package/modern/presets/index.js +1 -1
- package/modern/presets/useSelectWithApply/hook.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +6 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/shared/index.js +1 -1
- package/moderncssm/components/options-list/Component.js +9 -1
- package/package.json +12 -12
- package/presets/index.js +1 -1
- package/presets/useSelectWithApply/hook.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -3
- package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/header/index.css +6 -3
- package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/presets/useSelectWithLoading/hook.js +1 -1
- package/presets/useSelectWithLoading/index.css +2 -2
- package/shared/index.js +1 -1
- package/src/components/options-list/Component.tsx +9 -1
- package/esm/mobile.module-0044dacb.js +0 -4
- package/mobile.module-10633efa.js +0 -6
- package/modern/mobile.module-b160a7de.js +0 -4
- /package/esm/{hook-d1496a1f.d.ts → hook-f04657a6.d.ts} +0 -0
- /package/esm/{hook-d1496a1f.js → hook-f04657a6.js} +0 -0
- /package/esm/{list-popover-desktop-2ecb3c74.d.ts → list-popover-desktop-3b4ea5e5.d.ts} +0 -0
- /package/{hook-4d462686.d.ts → hook-f7f3212d.d.ts} +0 -0
- /package/{hook-4d462686.js → hook-f7f3212d.js} +0 -0
- /package/{list-popover-desktop-5ac1964a.d.ts → list-popover-desktop-268c5430.d.ts} +0 -0
- /package/modern/{hook-e1bb3e1e.d.ts → hook-8809c244.d.ts} +0 -0
- /package/modern/{hook-e1bb3e1e.js → hook-8809c244.js} +0 -0
- /package/modern/{list-popover-desktop-edd27f5e.d.ts → list-popover-desktop-74fd734c.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1sdkz */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb;
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
--gap-xl: 24px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
22
22
|
|
|
23
23
|
/* новые значения, используйте их */
|
|
24
|
-
|
|
24
|
+
|
|
25
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
26
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
27
|
+
--gap-0: 0px;
|
|
25
28
|
--gap-12: var(--gap-s);
|
|
26
29
|
--gap-16: var(--gap-m);
|
|
27
30
|
--gap-24: var(--gap-xl);
|
|
@@ -37,34 +40,34 @@
|
|
|
37
40
|
/* checkmark */
|
|
38
41
|
|
|
39
42
|
/* optgroup */
|
|
40
|
-
} .
|
|
43
|
+
} .select__optionsList_txbd4 {
|
|
41
44
|
width: 100%;
|
|
42
45
|
outline: none;
|
|
43
46
|
box-sizing: border-box;
|
|
44
47
|
position: relative;
|
|
45
|
-
} .
|
|
48
|
+
} .select__optionsListHeader_txbd4 {
|
|
46
49
|
box-sizing: border-box;
|
|
47
50
|
border-bottom: 1px solid transparent;
|
|
48
51
|
transition: border-color 0.2s ease
|
|
49
|
-
} .
|
|
52
|
+
} .select__optionsListHeader_txbd4.select__headerHighlighted_txbd4 {
|
|
50
53
|
border-bottom-color: var(--color-light-neutral-300);
|
|
51
|
-
} .
|
|
54
|
+
} .select__optionsListFooter_txbd4 {
|
|
52
55
|
position: sticky;
|
|
53
56
|
bottom: var(--gap-0);
|
|
54
57
|
box-sizing: border-box;
|
|
55
58
|
border-top: 1px solid transparent;
|
|
56
59
|
transition: border-color 0.2s ease
|
|
57
|
-
} .
|
|
60
|
+
} .select__optionsListFooter_txbd4.select__withBorder_txbd4 {
|
|
58
61
|
border-top-color: var(--color-light-neutral-300);
|
|
59
|
-
} .
|
|
62
|
+
} .select__scrollable_txbd4 {
|
|
60
63
|
overflow: auto;
|
|
61
64
|
width: 100%;
|
|
62
|
-
} .
|
|
65
|
+
} .select__mask_txbd4 {
|
|
63
66
|
min-width: 4000px;
|
|
64
|
-
} .
|
|
67
|
+
} .select__emptyPlaceholder_txbd4 {
|
|
65
68
|
padding: var(--gap-16) var(--gap-12);
|
|
66
69
|
color: var(--select-options-list-empty-placeholder-color);
|
|
67
|
-
} .select__size-
|
|
68
|
-
.select__size-
|
|
70
|
+
} .select__size-64_txbd4 .select__emptyPlaceholder_txbd4,
|
|
71
|
+
.select__size-72_txbd4 .select__emptyPlaceholder_txbd4 {
|
|
69
72
|
padding: var(--gap-24) var(--gap-16);
|
|
70
73
|
}
|
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"component":"
|
|
16
|
+
var styles = {"component":"select__component_gyz2b"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Search = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ug7z */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
17
17
|
|
|
18
18
|
/* новые значения, используйте их */
|
|
19
|
+
|
|
20
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
21
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
19
22
|
} :root {
|
|
20
23
|
} :root {
|
|
21
24
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
|
@@ -27,6 +30,6 @@
|
|
|
27
30
|
/* checkmark */
|
|
28
31
|
|
|
29
32
|
/* optgroup */
|
|
30
|
-
} .
|
|
33
|
+
} .select__component_gyz2b.select__component_gyz2b {
|
|
31
34
|
width: auto;
|
|
32
35
|
}
|
|
@@ -20,7 +20,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
20
20
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
21
21
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
22
22
|
|
|
23
|
-
var styles = {"virtualOptionsList":"
|
|
23
|
+
var styles = {"virtualOptionsList":"select__virtualOptionsList_cm7ic","virtualOptionsListHeader":"select__virtualOptionsListHeader_cm7ic","virtualOptionsListFooter":"select__virtualOptionsListFooter_cm7ic","withBorder":"select__withBorder_cm7ic","scrollable":"select__scrollable_cm7ic","inner":"select__inner_cm7ic","virtualRow":"select__virtualRow_cm7ic","highlighted":"select__highlighted_cm7ic","emptyPlaceholder":"select__emptyPlaceholder_cm7ic","size-64":"select__size-64_cm7ic","size-72":"select__size-72_cm7ic"};
|
|
24
24
|
require('./index.css')
|
|
25
25
|
|
|
26
26
|
var VirtualOptionsList = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hra0 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb;
|
|
@@ -22,7 +22,10 @@
|
|
|
22
22
|
--gap-xl: 24px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
23
23
|
|
|
24
24
|
/* новые значения, используйте их */
|
|
25
|
-
|
|
25
|
+
|
|
26
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
27
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
28
|
+
--gap-0: 0px;
|
|
26
29
|
--gap-12: var(--gap-s);
|
|
27
30
|
--gap-16: var(--gap-m);
|
|
28
31
|
--gap-24: var(--gap-xl);
|
|
@@ -43,35 +46,35 @@
|
|
|
43
46
|
/* checkmark */
|
|
44
47
|
|
|
45
48
|
/* optgroup */
|
|
46
|
-
} .
|
|
49
|
+
} .select__virtualOptionsList_cm7ic {
|
|
47
50
|
width: 100%;
|
|
48
51
|
outline: none;
|
|
49
52
|
box-sizing: border-box;
|
|
50
53
|
position: sticky;
|
|
51
54
|
justify-content: space-between;
|
|
52
|
-
} .
|
|
55
|
+
} .select__virtualOptionsListHeader_cm7ic {
|
|
53
56
|
box-sizing: border-box;
|
|
54
57
|
border-bottom: 1px solid var(--color-light-neutral-300);
|
|
55
|
-
} .
|
|
58
|
+
} .select__virtualOptionsListFooter_cm7ic {
|
|
56
59
|
position: sticky;
|
|
57
60
|
bottom: var(--gap-0);
|
|
58
61
|
box-sizing: border-box;
|
|
59
62
|
border-top: 1px solid transparent
|
|
60
|
-
} .
|
|
63
|
+
} .select__virtualOptionsListFooter_cm7ic.select__withBorder_cm7ic {
|
|
61
64
|
border-top: 1px solid var(--color-light-neutral-300);
|
|
62
|
-
} .
|
|
65
|
+
} .select__scrollable_cm7ic {
|
|
63
66
|
position: relative;
|
|
64
67
|
overflow: auto;
|
|
65
68
|
width: 100%;
|
|
66
|
-
} .
|
|
69
|
+
} .select__inner_cm7ic {
|
|
67
70
|
position: relative;
|
|
68
71
|
width: 100%;
|
|
69
|
-
} .
|
|
72
|
+
} .select__virtualRow_cm7ic {
|
|
70
73
|
position: absolute;
|
|
71
74
|
top: var(--gap-0);
|
|
72
75
|
left: var(--gap-0);
|
|
73
76
|
width: 100%
|
|
74
|
-
} .
|
|
77
|
+
} .select__virtualRow_cm7ic:before {
|
|
75
78
|
content: '';
|
|
76
79
|
position: absolute;
|
|
77
80
|
z-index: 1;
|
|
@@ -81,16 +84,16 @@
|
|
|
81
84
|
height: 1px;
|
|
82
85
|
background: var(--select-option-divider-background);
|
|
83
86
|
display: var(--select-option-divider-display);
|
|
84
|
-
} .
|
|
87
|
+
} .select__virtualRow_cm7ic:first-child:before {
|
|
85
88
|
display: none;
|
|
86
|
-
} .
|
|
87
|
-
.
|
|
89
|
+
} .select__highlighted_cm7ic:before,
|
|
90
|
+
.select__highlighted_cm7ic + .select__virtualRow_cm7ic:before {
|
|
88
91
|
display: none;
|
|
89
|
-
} .
|
|
92
|
+
} .select__emptyPlaceholder_cm7ic {
|
|
90
93
|
padding: var(--gap-16) var(--gap-12);
|
|
91
94
|
color: var(--select-options-list-empty-placeholder-color);
|
|
92
95
|
flex: 1;
|
|
93
|
-
} .select__size-
|
|
94
|
-
.select__size-
|
|
96
|
+
} .select__size-64_cm7ic .select__emptyPlaceholder_cm7ic,
|
|
97
|
+
.select__size-72_cm7ic .select__emptyPlaceholder_cm7ic {
|
|
95
98
|
padding: var(--gap-24) var(--gap-16);
|
|
96
99
|
}
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
18
18
|
|
|
19
19
|
/* новые значения, используйте их */
|
|
20
|
+
|
|
21
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
22
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
20
23
|
} :root {
|
|
21
24
|
} :root {
|
|
22
25
|
--arrow-transform: rotate(180deg);
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
16
16
|
|
|
17
17
|
/* новые значения, используйте их */
|
|
18
|
+
|
|
19
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
20
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
18
21
|
} :root {
|
|
19
22
|
} :root {
|
|
20
23
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
--gap-l: 20px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
24
24
|
|
|
25
25
|
/* новые значения, используйте их */
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
28
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
29
|
+
--gap-0: 0px;
|
|
27
30
|
--gap-12: var(--gap-s);
|
|
28
31
|
--gap-16: var(--gap-m);
|
|
29
32
|
--gap-20: var(--gap-l);
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
24
24
|
|
|
25
25
|
/* новые значения, используйте их */
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
28
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
29
|
+
--gap-0: 0px;
|
|
27
30
|
--gap-4: var(--gap-2xs);
|
|
28
31
|
--gap-12: var(--gap-s);
|
|
29
32
|
} :root {
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
--gap-l: 20px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
20
20
|
|
|
21
21
|
/* новые значения, используйте их */
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
24
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
25
|
+
--gap-0: 0px;
|
|
23
26
|
--gap-4: var(--gap-2xs);
|
|
24
27
|
--gap-8: var(--gap-xs);
|
|
25
28
|
--gap-16: var(--gap-m);
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
21
21
|
|
|
22
22
|
/* новые значения, используйте их */
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
25
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
26
|
+
--gap-0: 0px;
|
|
24
27
|
--gap-8: var(--gap-xs);
|
|
25
28
|
--gap-12: var(--gap-s);
|
|
26
29
|
} :root {
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
16
16
|
|
|
17
17
|
/* новые значения, используйте их */
|
|
18
|
+
|
|
19
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
20
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
18
21
|
} :root {
|
|
19
22
|
} :root {
|
|
20
23
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
--gap-2xs: 4px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
20
20
|
|
|
21
21
|
/* новые значения, используйте их */
|
|
22
|
+
|
|
23
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
24
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
22
25
|
--gap-4: var(--gap-2xs);
|
|
23
26
|
} :root {
|
|
24
27
|
} :root {
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
19
19
|
|
|
20
20
|
/* новые значения, используйте их */
|
|
21
|
+
|
|
22
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
23
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
21
24
|
} :root {
|
|
22
25
|
} :root {
|
|
23
26
|
--focus-color: var(--color-light-status-info);
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
19
19
|
|
|
20
20
|
/* новые значения, используйте их */
|
|
21
|
+
|
|
22
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
23
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
21
24
|
--gap-16: var(--gap-m);
|
|
22
25
|
} :root {
|
|
23
26
|
} :root {
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
21
21
|
|
|
22
22
|
/* новые значения, используйте их */
|
|
23
|
+
|
|
24
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
25
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
23
26
|
--gap-4: var(--gap-2xs);
|
|
24
27
|
--gap-12: var(--gap-s);
|
|
25
28
|
--gap-16: var(--gap-m);
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
24
24
|
|
|
25
25
|
/* новые значения, используйте их */
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
28
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
29
|
+
--gap-0: 0px;
|
|
27
30
|
--gap-12: var(--gap-s);
|
|
28
31
|
--gap-16: var(--gap-m);
|
|
29
32
|
} :root {
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
24
24
|
|
|
25
25
|
/* новые значения, используйте их */
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
28
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
29
|
+
--gap-0: 0px;
|
|
27
30
|
--gap-12: var(--gap-s);
|
|
28
31
|
--gap-16: var(--gap-m);
|
|
29
32
|
} :root {
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
24
24
|
|
|
25
25
|
/* новые значения, используйте их */
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
28
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
29
|
+
--gap-0: 0px;
|
|
27
30
|
--gap-12: var(--gap-s);
|
|
28
31
|
--gap-16: var(--gap-m);
|
|
29
32
|
} :root {
|
|
@@ -82,12 +82,21 @@ var OptionsList = React.forwardRef(function (_a, ref) {
|
|
|
82
82
|
}),
|
|
83
83
|
emptyPlaceholder && options.length === 0 && (React__default.default.createElement("div", { className: styles__default.default.emptyPlaceholder }, emptyPlaceholder)))); };
|
|
84
84
|
var renderWithCustomScrollbar = function () {
|
|
85
|
+
var _a;
|
|
85
86
|
var scrollableNodeProps = {
|
|
86
87
|
onScroll: handleScroll,
|
|
87
88
|
'data-test-id': dataTestId,
|
|
88
89
|
ref: ref,
|
|
89
90
|
};
|
|
90
|
-
return (React__default.default.createElement(coreComponentsScrollbar.Scrollbar, { className: cn__default.default(styles__default.default.scrollable, scrollbarClassName), ref: scrollbarRef, horizontalAutoStretch: optionsListWidth === 'content', scrollableNodeProps: scrollableNodeProps, contentNodeProps: { ref: listRef }, maskProps: {
|
|
91
|
+
return (React__default.default.createElement(coreComponentsScrollbar.Scrollbar, { className: cn__default.default(styles__default.default.scrollable, scrollbarClassName), ref: scrollbarRef, horizontalAutoStretch: optionsListWidth === 'content', scrollableNodeProps: scrollableNodeProps, contentNodeProps: { ref: listRef }, maskProps: {
|
|
92
|
+
/*
|
|
93
|
+
* Для корректного подсчета высоты опций(иначе для optionsListWidth: 'field'
|
|
94
|
+
* высота опции всегда будет равна высоте одной строчки)
|
|
95
|
+
*/
|
|
96
|
+
className: cn__default.default((_a = {},
|
|
97
|
+
_a[styles__default.default.mask] = optionsListWidth === 'content' && !measured,
|
|
98
|
+
_a)),
|
|
99
|
+
} }, renderListItems()));
|
|
91
100
|
};
|
|
92
101
|
var renderWithNativeScrollbar = function () { return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.scrollable, scrollbarClassName), ref: mergeRefs__default.default([listRef, ref]), onScroll: handleScroll }, renderListItems())); };
|
|
93
102
|
var resetHighlightedIndex = function () { return setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(-1); };
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
--gap-xl: 24px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
21
21
|
|
|
22
22
|
/* новые значения, используйте их */
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
25
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
26
|
+
--gap-0: 0px;
|
|
24
27
|
--gap-12: var(--gap-s);
|
|
25
28
|
--gap-16: var(--gap-m);
|
|
26
29
|
--gap-24: var(--gap-xl);
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
16
16
|
|
|
17
17
|
/* новые значения, используйте их */
|
|
18
|
+
|
|
19
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
20
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
18
21
|
} :root {
|
|
19
22
|
} :root {
|
|
20
23
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
--gap-xl: 24px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
22
22
|
|
|
23
23
|
/* новые значения, используйте их */
|
|
24
|
-
|
|
24
|
+
|
|
25
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
26
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
27
|
+
--gap-0: 0px;
|
|
25
28
|
--gap-12: var(--gap-s);
|
|
26
29
|
--gap-16: var(--gap-m);
|
|
27
30
|
--gap-24: var(--gap-xl);
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
19
19
|
|
|
20
20
|
/* новые значения, используйте их */
|
|
21
|
+
|
|
22
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
23
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
21
24
|
--gap-8: var(--gap-xs);
|
|
22
25
|
--gap-12: var(--gap-s);
|
|
23
26
|
} :root {
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
18
18
|
|
|
19
19
|
/* новые значения, используйте их */
|
|
20
|
+
|
|
21
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
22
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
20
23
|
--gap-8: var(--gap-xs);
|
|
21
24
|
--gap-12: var(--gap-s);
|
|
22
25
|
} :root {
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { ChevronDownMIcon } from '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
4
4
|
import { ChevronDownSIcon } from '@alfalab/icons-glyph/ChevronDownSIcon';
|
|
5
5
|
|
|
6
|
-
var styles = {"arrow":"
|
|
6
|
+
var styles = {"arrow":"select__arrow_1byy4","disabled":"select__disabled_1byy4","size-40":"select__size-40_1byy4","open":"select__open_1byy4"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var Arrow = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1rgnn */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-translucent-500: rgba(9, 12, 37, 0.28);
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
19
19
|
|
|
20
20
|
/* новые значения, используйте их */
|
|
21
|
+
|
|
22
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
23
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
21
24
|
} :root {
|
|
22
25
|
} :root {
|
|
23
26
|
--arrow-transform: rotate(180deg);
|
|
@@ -32,18 +35,18 @@
|
|
|
32
35
|
/* checkmark */
|
|
33
36
|
|
|
34
37
|
/* optgroup */
|
|
35
|
-
} .
|
|
38
|
+
} .select__arrow_1byy4 {
|
|
36
39
|
display: block;
|
|
37
40
|
width: 24px;
|
|
38
41
|
height: 24px;
|
|
39
42
|
color: var(--select-arrow-color);
|
|
40
43
|
|
|
41
44
|
transition: transform 0.15s ease-in-out, opacity 0.2s ease
|
|
42
|
-
} .
|
|
45
|
+
} .select__arrow_1byy4.select__disabled_1byy4 {
|
|
43
46
|
color: var(--select-arrow-disabled-color);
|
|
44
|
-
} .
|
|
47
|
+
} .select__arrow_1byy4.select__size-40_1byy4 {
|
|
45
48
|
width: unset;
|
|
46
49
|
height: unset;
|
|
47
|
-
} .
|
|
50
|
+
} .select__open_1byy4 {
|
|
48
51
|
transform: var(--arrow-transform);
|
|
49
52
|
}
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { Checkbox } from '@alfalab/core-components-checkbox/esm';
|
|
4
4
|
import { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
5
5
|
|
|
6
|
-
var styles = {"checkmark":"
|
|
6
|
+
var styles = {"checkmark":"select__checkmark_bvkgo","start":"select__start_bvkgo","center":"select__center_bvkgo","single":"select__single_bvkgo","selected":"select__selected_bvkgo"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var BaseCheckmark = function (_a) {
|