@alfalab/core-components-select 10.6.4 → 10.6.5
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/dist/Component-9404bb50.d.ts +33 -0
- package/dist/Component-9404bb50.js +359 -0
- package/dist/Component-b963ee30.d.ts +5 -0
- package/dist/Component-b963ee30.js +247 -0
- package/dist/Component.d.ts +1 -1
- package/dist/Component.js +2 -2
- package/dist/components/arrow/Component.js +1 -1
- package/dist/components/arrow/index.css +3 -3
- package/dist/components/base-select/Component.d.ts +0 -5
- package/dist/components/base-select/Component.js +11 -241
- package/dist/components/base-select/index.css +7 -7
- package/dist/components/base-select/index.d.ts +1 -1
- package/dist/components/base-select/index.js +2 -2
- package/dist/components/checkmark/Component.js +1 -1
- package/dist/components/checkmark/index.css +7 -7
- package/dist/components/field/Component.js +2 -2
- package/dist/components/field/index.css +9 -9
- package/dist/components/field/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +12 -2
- package/dist/components/native-select/Component.js +1 -1
- package/dist/components/native-select/index.js +1 -1
- package/dist/components/optgroup/Component.d.ts +1 -1
- package/dist/components/optgroup/Component.js +3 -3
- package/dist/components/optgroup/index.css +6 -6
- package/dist/components/option/Component.js +2 -2
- package/dist/components/option/index.css +20 -20
- package/dist/components/option/index.js +1 -1
- package/dist/components/options-list/Component.js +4 -4
- package/dist/components/options-list/index.css +6 -6
- package/dist/components/options-list/index.js +1 -1
- package/dist/components/select-mobile/Component.d.ts +0 -0
- package/dist/components/select-mobile/Component.js +38 -0
- package/dist/components/select-mobile/checkmark/Component.d.ts +4 -0
- package/dist/components/select-mobile/checkmark/Component.js +24 -0
- package/dist/components/select-mobile/checkmark/index.css +37 -0
- package/dist/components/select-mobile/checkmark/index.d.ts +1 -0
- package/dist/components/select-mobile/checkmark/index.js +11 -0
- package/dist/components/select-mobile/index.css +68 -0
- package/dist/components/select-mobile/index.d.ts +1 -0
- package/dist/components/select-mobile/index.js +38 -0
- package/dist/components/select-mobile/options-list/Component.d.ts +4 -0
- package/dist/components/select-mobile/options-list/Component.js +51 -0
- package/dist/components/select-mobile/options-list/index.css +65 -0
- package/dist/components/select-mobile/options-list/index.d.ts +1 -0
- package/dist/components/select-mobile/options-list/index.js +16 -0
- package/dist/components/virtual-options-list/Component.js +2 -2
- package/dist/components/virtual-options-list/index.css +12 -12
- package/dist/components/virtual-options-list/index.js +1 -1
- package/dist/cssm/Component-9bc41b6c.d.ts +5 -0
- package/dist/cssm/Component-9bc41b6c.js +246 -0
- package/dist/cssm/Component-d45c0e41.d.ts +33 -0
- package/dist/cssm/Component-d45c0e41.js +365 -0
- package/dist/cssm/Component.d.ts +1 -1
- package/dist/cssm/Component.js +1 -1
- package/dist/cssm/components/base-select/Component.d.ts +0 -5
- package/dist/cssm/components/base-select/Component.js +12 -240
- package/dist/cssm/components/base-select/index.d.ts +1 -1
- package/dist/cssm/components/base-select/index.js +1 -1
- package/dist/cssm/components/index.d.ts +1 -0
- package/dist/cssm/components/index.js +17 -1
- package/dist/cssm/components/optgroup/Component.d.ts +1 -1
- package/dist/cssm/components/optgroup/Component.js +2 -2
- package/dist/cssm/components/options-list/Component.js +2 -2
- package/dist/cssm/components/select-mobile/Component.d.ts +0 -0
- package/dist/cssm/components/select-mobile/Component.js +52 -0
- package/dist/cssm/components/select-mobile/checkmark/Component.d.ts +4 -0
- package/dist/cssm/components/select-mobile/checkmark/Component.js +23 -0
- package/dist/cssm/components/select-mobile/checkmark/index.d.ts +1 -0
- package/dist/cssm/components/select-mobile/checkmark/index.js +12 -0
- package/dist/cssm/components/select-mobile/checkmark/index.module.css +36 -0
- package/dist/cssm/components/select-mobile/index.d.ts +1 -0
- package/dist/cssm/components/select-mobile/index.js +52 -0
- package/dist/cssm/components/select-mobile/index.module.css +67 -0
- package/dist/cssm/components/select-mobile/options-list/Component.d.ts +4 -0
- package/dist/cssm/components/select-mobile/options-list/Component.js +51 -0
- package/dist/cssm/components/select-mobile/options-list/index.d.ts +1 -0
- package/dist/cssm/components/select-mobile/options-list/index.js +18 -0
- package/dist/cssm/components/select-mobile/options-list/index.module.css +64 -0
- package/dist/cssm/getDataTestId-3fe0d3e6.d.ts +2 -0
- package/dist/cssm/hook-f5b8fe4f.d.ts +3 -3
- package/dist/cssm/index.js +14 -6
- package/dist/cssm/presets/index.js +13 -6
- package/dist/cssm/presets/useSelectWithApply/hook.js +13 -6
- package/dist/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +12 -5
- package/dist/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/dist/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +12 -5
- package/dist/cssm/typings.d.ts +29 -0
- package/dist/esm/Component-25510e34.d.ts +33 -0
- package/dist/esm/Component-25510e34.js +348 -0
- package/dist/esm/Component-385efde8.d.ts +5 -0
- package/dist/esm/Component-385efde8.js +238 -0
- package/dist/esm/Component.d.ts +1 -1
- package/dist/esm/Component.js +2 -2
- package/dist/esm/components/arrow/Component.js +1 -1
- package/dist/esm/components/arrow/index.css +3 -3
- package/dist/esm/components/base-select/Component.d.ts +0 -5
- package/dist/esm/components/base-select/Component.js +10 -238
- package/dist/esm/components/base-select/index.css +7 -7
- package/dist/esm/components/base-select/index.d.ts +1 -1
- package/dist/esm/components/base-select/index.js +2 -2
- package/dist/esm/components/checkmark/Component.js +1 -1
- package/dist/esm/components/checkmark/index.css +7 -7
- package/dist/esm/components/field/Component.js +2 -2
- package/dist/esm/components/field/index.css +9 -9
- package/dist/esm/components/field/index.js +1 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.js +11 -2
- package/dist/esm/components/native-select/Component.js +1 -1
- package/dist/esm/components/native-select/index.js +1 -1
- package/dist/esm/components/optgroup/Component.d.ts +1 -1
- package/dist/esm/components/optgroup/Component.js +3 -3
- package/dist/esm/components/optgroup/index.css +6 -6
- package/dist/esm/components/option/Component.js +2 -2
- package/dist/esm/components/option/index.css +20 -20
- package/dist/esm/components/option/index.js +1 -1
- package/dist/esm/components/options-list/Component.js +4 -4
- package/dist/esm/components/options-list/index.css +6 -6
- package/dist/esm/components/options-list/index.js +1 -1
- package/dist/esm/components/select-mobile/Component.d.ts +0 -0
- package/dist/esm/components/select-mobile/Component.js +30 -0
- package/dist/esm/components/select-mobile/checkmark/Component.d.ts +4 -0
- package/dist/esm/components/select-mobile/checkmark/Component.js +15 -0
- package/dist/esm/components/select-mobile/checkmark/index.css +37 -0
- package/dist/esm/components/select-mobile/checkmark/index.d.ts +1 -0
- package/dist/esm/components/select-mobile/checkmark/index.js +3 -0
- package/dist/esm/components/select-mobile/index.css +68 -0
- package/dist/esm/components/select-mobile/index.d.ts +1 -0
- package/dist/esm/components/select-mobile/index.js +30 -0
- package/dist/esm/components/select-mobile/options-list/Component.d.ts +4 -0
- package/dist/esm/components/select-mobile/options-list/Component.js +42 -0
- package/dist/esm/components/select-mobile/options-list/index.css +65 -0
- package/dist/esm/components/select-mobile/options-list/index.d.ts +1 -0
- package/dist/esm/components/select-mobile/options-list/index.js +8 -0
- package/dist/esm/components/virtual-options-list/Component.js +2 -2
- package/dist/esm/components/virtual-options-list/index.css +12 -12
- package/dist/esm/components/virtual-options-list/index.js +1 -1
- package/dist/esm/getDataTestId-3fe0d3e6.d.ts +2 -0
- package/dist/esm/hook-f5b8fe4f.d.ts +3 -3
- package/dist/esm/index.js +9 -5
- package/dist/esm/{intersection-observer-812c9e4f.d.ts → intersection-observer-0bdc3704.d.ts} +0 -0
- package/dist/esm/{intersection-observer-812c9e4f.js → intersection-observer-0bdc3704.js} +0 -0
- package/dist/esm/presets/index.js +9 -5
- package/dist/esm/presets/useLazyLoading/hook.js +3 -3
- package/dist/esm/presets/useLazyLoading/index.css +2 -2
- package/dist/esm/presets/useSelectWithApply/hook.js +9 -5
- package/dist/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +9 -5
- package/dist/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- package/dist/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/dist/esm/presets/useSelectWithApply/options-list-with-apply/index.js +9 -5
- package/dist/esm/presets/useSelectWithLoading/hook.js +2 -2
- package/dist/esm/presets/useSelectWithLoading/index.css +2 -2
- package/dist/esm/{tslib.es6-de132685.d.ts → tslib.es6-a9457d88.d.ts} +0 -0
- package/dist/esm/{tslib.es6-de132685.js → tslib.es6-a9457d88.js} +0 -0
- package/dist/esm/typings.d.ts +29 -0
- package/dist/getDataTestId-3fe0d3e6.d.ts +2 -0
- package/dist/hook-f5b8fe4f.d.ts +3 -3
- package/dist/index.js +12 -7
- package/dist/{intersection-observer-25b5554f.d.ts → intersection-observer-0fef5c01.d.ts} +0 -0
- package/dist/{intersection-observer-25b5554f.js → intersection-observer-0fef5c01.js} +0 -0
- package/dist/modern/Component-17dae8dc.d.ts +33 -0
- package/dist/modern/Component-17dae8dc.js +363 -0
- package/dist/modern/Component-e21aa51b.d.ts +5 -0
- package/dist/modern/Component-e21aa51b.js +247 -0
- package/dist/modern/Component.d.ts +1 -1
- package/dist/modern/Component.js +1 -1
- package/dist/modern/components/arrow/Component.js +1 -1
- package/dist/modern/components/arrow/index.css +3 -3
- package/dist/modern/components/base-select/Component.d.ts +0 -5
- package/dist/modern/components/base-select/Component.js +9 -247
- package/dist/modern/components/base-select/index.css +7 -7
- package/dist/modern/components/base-select/index.d.ts +1 -1
- package/dist/modern/components/base-select/index.js +1 -1
- package/dist/modern/components/checkmark/Component.js +1 -1
- package/dist/modern/components/checkmark/index.css +7 -7
- package/dist/modern/components/field/Component.js +1 -1
- package/dist/modern/components/field/index.css +9 -9
- package/dist/modern/components/index.d.ts +1 -0
- package/dist/modern/components/index.js +10 -1
- package/dist/modern/components/optgroup/Component.d.ts +1 -1
- package/dist/modern/components/optgroup/Component.js +3 -3
- package/dist/modern/components/optgroup/index.css +6 -6
- package/dist/modern/components/option/Component.js +1 -1
- package/dist/modern/components/option/index.css +20 -20
- package/dist/modern/components/options-list/Component.js +3 -3
- package/dist/modern/components/options-list/index.css +6 -6
- package/dist/modern/components/select-mobile/Component.d.ts +0 -0
- package/dist/modern/components/select-mobile/Component.js +29 -0
- package/dist/modern/components/select-mobile/checkmark/Component.d.ts +4 -0
- package/dist/modern/components/select-mobile/checkmark/Component.js +11 -0
- package/dist/modern/components/select-mobile/checkmark/index.css +37 -0
- package/dist/modern/components/select-mobile/checkmark/index.d.ts +1 -0
- package/dist/modern/components/select-mobile/checkmark/index.js +3 -0
- package/dist/modern/components/select-mobile/index.css +68 -0
- package/dist/modern/components/select-mobile/index.d.ts +1 -0
- package/dist/modern/components/select-mobile/index.js +29 -0
- package/dist/modern/components/select-mobile/options-list/Component.d.ts +4 -0
- package/dist/modern/components/select-mobile/options-list/Component.js +37 -0
- package/dist/modern/components/select-mobile/options-list/index.css +65 -0
- package/dist/modern/components/select-mobile/options-list/index.d.ts +1 -0
- package/dist/modern/components/select-mobile/options-list/index.js +7 -0
- package/dist/modern/components/virtual-options-list/Component.js +1 -1
- package/dist/modern/components/virtual-options-list/index.css +12 -12
- package/dist/modern/getDataTestId-3fe0d3e6.d.ts +2 -0
- package/dist/modern/hook-f5b8fe4f.d.ts +3 -3
- package/dist/modern/index.js +8 -4
- package/dist/modern/{intersection-observer-812c9e4f.d.ts → intersection-observer-0bdc3704.d.ts} +0 -0
- package/dist/modern/{intersection-observer-812c9e4f.js → intersection-observer-0bdc3704.js} +0 -0
- package/dist/modern/presets/index.js +8 -4
- package/dist/modern/presets/useLazyLoading/hook.js +2 -2
- package/dist/modern/presets/useLazyLoading/index.css +2 -2
- package/dist/modern/presets/useSelectWithApply/hook.js +8 -4
- package/dist/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +8 -4
- package/dist/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- package/dist/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/dist/modern/presets/useSelectWithApply/options-list-with-apply/index.js +8 -4
- package/dist/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/dist/modern/presets/useSelectWithLoading/index.css +2 -2
- package/dist/modern/typings.d.ts +29 -0
- package/dist/presets/index.js +11 -7
- package/dist/presets/useLazyLoading/hook.js +3 -3
- package/dist/presets/useLazyLoading/index.css +2 -2
- package/dist/presets/useSelectWithApply/hook.js +11 -7
- package/dist/presets/useSelectWithApply/options-list-with-apply/Component.js +10 -6
- package/dist/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- package/dist/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/dist/presets/useSelectWithApply/options-list-with-apply/index.js +10 -6
- package/dist/presets/useSelectWithLoading/hook.js +2 -2
- package/dist/presets/useSelectWithLoading/index.css +2 -2
- package/dist/{tslib.es6-2027080d.d.ts → tslib.es6-b9d0d522.d.ts} +0 -0
- package/dist/{tslib.es6-2027080d.js → tslib.es6-b9d0d522.js} +0 -0
- package/dist/typings.d.ts +29 -0
- package/package.json +14 -12
- package/dist/cssm/hook-3b9bd559.d.ts +0 -12
- package/dist/cssm/hook-3b9bd559.js +0 -147
- package/dist/esm/hook-73d6fe0f.d.ts +0 -12
- package/dist/esm/hook-73d6fe0f.js +0 -131
- package/dist/hook-81a989b0.d.ts +0 -12
- package/dist/hook-81a989b0.js +0 -140
- package/dist/modern/hook-42b89ed1.d.ts +0 -12
- package/dist/modern/hook-42b89ed1.js +0 -132
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1h44s */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-text-secondary: #546272;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
--select-optgroup-l-left-padding: var(--gap-m);
|
|
34
34
|
--select-optgroup-l-right-padding: var(--gap-m);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__optgroup_1bpl4 {
|
|
37
37
|
position: relative;
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
background: var(--select-optgroup-background);
|
|
44
44
|
min-height: 40px
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__optgroup_1bpl4 + *[role='option']:before {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.select__label_1bpl4 {
|
|
50
50
|
font-size: 12px;
|
|
51
51
|
line-height: 16px;
|
|
52
52
|
font-weight: 500;
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
display: block;
|
|
57
57
|
color: var(--select-optgroup-color);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
60
|
-
.
|
|
59
|
+
.select__l_1bpl4,
|
|
60
|
+
.select__xl_1bpl4 {
|
|
61
61
|
padding-left: var(--select-optgroup-l-left-padding);
|
|
62
62
|
padding-right: var(--select-optgroup-l-right-padding);
|
|
63
63
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b9d0d522.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-checkbox');
|
|
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"option":"
|
|
16
|
+
var styles = {"option":"select__option_1d3iv","disabled":"select__disabled_1d3iv","s":"select__s_1d3iv","m":"select__m_1d3iv","l":"select__l_1d3iv","xl":"select__xl_1d3iv","selected":"select__selected_1d3iv","highlighted":"select__highlighted_1d3iv","content":"select__content_1d3iv","textContent":"select__textContent_1d3iv"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Option = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1qn2g */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-bg-secondary: #f3f4f5;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
/* optgroup */
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.select__option_1d3iv {
|
|
57
57
|
font-size: 16px;
|
|
58
58
|
line-height: 20px;
|
|
59
59
|
font-weight: 400;
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
position: relative;
|
|
70
70
|
cursor: pointer
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.select__option_1d3iv:not(.select__disabled_1d3iv):active {
|
|
73
73
|
background: var(--select-option-active-background);
|
|
74
74
|
color: var(--select-option-active-color);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.select__option_1d3iv:before {
|
|
77
77
|
content: '';
|
|
78
78
|
position: absolute;
|
|
79
79
|
left: var(--select-option-left-padding);
|
|
@@ -84,60 +84,60 @@
|
|
|
84
84
|
display: var(--select-option-divider-display);
|
|
85
85
|
transition: opacity 0.2s ease;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
.select__option_1d3iv:first-child:before {
|
|
88
88
|
display: none;
|
|
89
89
|
}
|
|
90
|
-
.
|
|
90
|
+
.select__s_1d3iv {
|
|
91
91
|
min-height: var(--size-s-height);
|
|
92
92
|
}
|
|
93
|
-
.
|
|
93
|
+
.select__m_1d3iv {
|
|
94
94
|
min-height: var(--size-m-height);
|
|
95
95
|
}
|
|
96
|
-
.
|
|
96
|
+
.select__l_1d3iv {
|
|
97
97
|
min-height: var(--size-l-height);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.select__xl_1d3iv {
|
|
100
100
|
min-height: var(--size-xl-height);
|
|
101
101
|
}
|
|
102
|
-
.
|
|
103
|
-
.
|
|
102
|
+
.select__l_1d3iv,
|
|
103
|
+
.select__xl_1d3iv {
|
|
104
104
|
padding-left: var(--select-option-l-left-padding);
|
|
105
105
|
padding-right: var(--select-option-l-right-padding)
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
.select__l_1d3iv:before, .select__xl_1d3iv:before {
|
|
108
108
|
left: var(--select-option-l-left-padding);
|
|
109
109
|
right: var(--select-option-l-right-padding);
|
|
110
110
|
}
|
|
111
|
-
.
|
|
111
|
+
.select__selected_1d3iv {
|
|
112
112
|
background: var(--select-option-selected-background);
|
|
113
113
|
color: var(--select-option-selected-color);
|
|
114
114
|
cursor: default;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.select__highlighted_1d3iv {
|
|
117
117
|
background: var(--select-option-hover-background);
|
|
118
118
|
color: var(--select-option-hover-color)
|
|
119
119
|
}
|
|
120
|
-
.
|
|
121
|
-
.
|
|
120
|
+
.select__highlighted_1d3iv:before,
|
|
121
|
+
.select__highlighted_1d3iv + .select__option_1d3iv:before {
|
|
122
122
|
opacity: 0;
|
|
123
123
|
}
|
|
124
|
-
.
|
|
124
|
+
.select__disabled_1d3iv {
|
|
125
125
|
cursor: var(--disabled-cursor);
|
|
126
126
|
background: var(--select-option-disabled-background);
|
|
127
127
|
color: var(--select-option-disabled-color);
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
.select__content_1d3iv {
|
|
130
130
|
overflow: hidden;
|
|
131
131
|
flex: 1;
|
|
132
132
|
text-overflow: ellipsis;
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.select__textContent_1d3iv {
|
|
135
135
|
padding-top: var(--gap-s);
|
|
136
136
|
padding-bottom: var(--gap-s);
|
|
137
137
|
}
|
|
138
138
|
/* IE min-height fix */
|
|
139
139
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
140
|
-
.
|
|
140
|
+
.select__option_1d3iv:after {
|
|
141
141
|
min-height: inherit;
|
|
142
142
|
font-size: 0;
|
|
143
143
|
content: '';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b9d0d522.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var utils = require('../../utils.js');
|
|
@@ -15,7 +15,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
16
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultLegacy(mergeRefs);
|
|
17
17
|
|
|
18
|
-
var styles = {"optionsList":"
|
|
18
|
+
var styles = {"optionsList":"select__optionsList_lcurb","scrollable":"select__scrollable_lcurb","emptyPlaceholder":"select__emptyPlaceholder_lcurb","l":"select__l_lcurb","xl":"select__xl_lcurb"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var createCounter = function () {
|
|
@@ -24,11 +24,11 @@ var createCounter = function () {
|
|
|
24
24
|
return function () { return count++; };
|
|
25
25
|
};
|
|
26
26
|
var OptionsList = React.forwardRef(function (_a, ref) {
|
|
27
|
-
var _b = _a.size, size = _b === void 0 ? 's' : _b, className = _a.className, Option = _a.Option, getOptionProps = _a.getOptionProps, _c = _a.options, options = _c === void 0 ? [] : _c, _d = _a.Optgroup, Optgroup = _d === void 0 ? components_optgroup_Component.Optgroup : _d, dataTestId = _a.dataTestId, emptyPlaceholder = _a.emptyPlaceholder, _e = _a.visibleOptions, visibleOptions = _e === void 0 ? 5 : _e, onScroll = _a.onScroll, open = _a.open, header = _a.header, footer = _a.footer;
|
|
27
|
+
var _b = _a.size, size = _b === void 0 ? 's' : _b, className = _a.className, optionGroupClassName = _a.optionGroupClassName, Option = _a.Option, getOptionProps = _a.getOptionProps, _c = _a.options, options = _c === void 0 ? [] : _c, _d = _a.Optgroup, Optgroup = _d === void 0 ? components_optgroup_Component.Optgroup : _d, dataTestId = _a.dataTestId, emptyPlaceholder = _a.emptyPlaceholder, _e = _a.visibleOptions, visibleOptions = _e === void 0 ? 5 : _e, onScroll = _a.onScroll, open = _a.open, header = _a.header, footer = _a.footer;
|
|
28
28
|
var renderOption = React.useCallback(function (option, index) { return (React__default['default'].createElement(Option, tslib_es6.__assign({ key: option.key }, getOptionProps(option, index)))); }, [getOptionProps]);
|
|
29
29
|
var listRef = React.useRef(null);
|
|
30
30
|
var counter = createCounter();
|
|
31
|
-
var renderGroup = React.useCallback(function (group) { return (React__default['default'].createElement(Optgroup, { label: group.label, key: group.label, size: size }, group.options.map(function (option) { return renderOption(option, counter()); }))); }, [counter, renderOption, size]);
|
|
31
|
+
var renderGroup = React.useCallback(function (group) { return (React__default['default'].createElement(Optgroup, { className: optionGroupClassName, label: group.label, key: group.label, size: size }, group.options.map(function (option) { return renderOption(option, counter()); }))); }, [optionGroupClassName, counter, renderOption, size]);
|
|
32
32
|
utils.useVisibleOptions({
|
|
33
33
|
visibleOptions: visibleOptions,
|
|
34
34
|
listRef: listRef,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1cp4a */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-secondary: #546272;
|
|
4
4
|
}
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
|
|
27
27
|
/* optgroup */
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
.select__optionsList_lcurb {
|
|
30
30
|
overflow: auto;
|
|
31
31
|
width: 100%;
|
|
32
32
|
outline: none;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
.select__scrollable_lcurb {
|
|
36
36
|
overflow: auto;
|
|
37
37
|
width: 100%;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.select__emptyPlaceholder_lcurb {
|
|
40
40
|
padding: var(--gap-m) var(--gap-s);
|
|
41
41
|
color: var(--select-options-list-empty-placeholder-color);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
44
|
-
.
|
|
43
|
+
.select__l_lcurb .select__emptyPlaceholder_lcurb,
|
|
44
|
+
.select__xl_lcurb .select__emptyPlaceholder_lcurb {
|
|
45
45
|
padding: var(--gap-xl) var(--gap-m);
|
|
46
46
|
}
|
|
File without changes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../tslib.es6-b9d0d522.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('@alfalab/hooks');
|
|
9
|
+
require('@alfalab/core-components-form-control');
|
|
10
|
+
require('../../utils.js');
|
|
11
|
+
require('../field/Component.js');
|
|
12
|
+
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
13
|
+
require('../arrow/Component.js');
|
|
14
|
+
require('react-merge-refs');
|
|
15
|
+
require('../optgroup/Component.js');
|
|
16
|
+
require('../options-list/Component.js');
|
|
17
|
+
require('@alfalab/core-components-checkbox');
|
|
18
|
+
require('../checkmark/Component.js');
|
|
19
|
+
require('../option/Component.js');
|
|
20
|
+
require('resize-observer');
|
|
21
|
+
require('@alfalab/core-components-popover');
|
|
22
|
+
require('downshift');
|
|
23
|
+
require('../native-select/Component.js');
|
|
24
|
+
require('../../Component-b963ee30.js');
|
|
25
|
+
require('../../Component.js');
|
|
26
|
+
require('@alfalab/core-components-bottom-sheet');
|
|
27
|
+
require('@alfalab/core-components-button');
|
|
28
|
+
require('@alfalab/core-components-base-modal');
|
|
29
|
+
require('./options-list/Component.js');
|
|
30
|
+
require('./checkmark/Component.js');
|
|
31
|
+
var presets_useSelectWithApply_hook = require('../../Component-9404bb50.js');
|
|
32
|
+
require('react-virtual');
|
|
33
|
+
require('@alfalab/core-components-skeleton');
|
|
34
|
+
require('../../intersection-observer-0fef5c01.js');
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
exports.SelectMobile = presets_useSelectWithApply_hook.SelectMobile;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var cn = require('classnames');
|
|
7
|
+
|
|
8
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
+
|
|
10
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
|
+
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
12
|
+
|
|
13
|
+
var styles = {"checkmark":"select__checkmark_rglhd","selected":"select__selected_rglhd"};
|
|
14
|
+
require('./index.css')
|
|
15
|
+
|
|
16
|
+
var Checkmark = function (_a) {
|
|
17
|
+
var _b;
|
|
18
|
+
var selected = _a.selected, className = _a.className;
|
|
19
|
+
return (React__default['default'].createElement("span", { className: cn__default['default'](styles.checkmark, className, (_b = {},
|
|
20
|
+
_b[styles.selected] = selected,
|
|
21
|
+
_b)) }));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
exports.Checkmark = Checkmark;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* hash: ze7dr */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
|
|
12
|
+
/* options list */
|
|
13
|
+
|
|
14
|
+
/* option */
|
|
15
|
+
|
|
16
|
+
/* checkmark */
|
|
17
|
+
--select-mobile-checkmark-background: url('https://alfabank.gcdn.co/icons/glyph_checkmark_m.svg');
|
|
18
|
+
|
|
19
|
+
/* optgroup */
|
|
20
|
+
}
|
|
21
|
+
.select__checkmark_rglhd {
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
background: var(--select-mobile-checkmark-background);
|
|
27
|
+
background-size: cover;
|
|
28
|
+
width: 24px;
|
|
29
|
+
height: 24px;
|
|
30
|
+
opacity: 0
|
|
31
|
+
}
|
|
32
|
+
.select__checkmark_rglhd:first-child {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
.select__checkmark_rglhd.select__selected_rglhd {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('react');
|
|
6
|
+
require('classnames');
|
|
7
|
+
var components_selectMobile_checkmark_Component = require('./Component.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.Checkmark = components_selectMobile_checkmark_Component.Checkmark;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* hash: kvx79 */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-2xs: 4px;
|
|
12
|
+
--gap-xs: 8px;
|
|
13
|
+
--gap-m: 16px;
|
|
14
|
+
--gap-l: 20px;
|
|
15
|
+
}
|
|
16
|
+
:root {
|
|
17
|
+
|
|
18
|
+
/* options list */
|
|
19
|
+
--select-options-list-offset: 0;
|
|
20
|
+
|
|
21
|
+
/* option */
|
|
22
|
+
|
|
23
|
+
/* checkmark */
|
|
24
|
+
|
|
25
|
+
/* optgroup */
|
|
26
|
+
}
|
|
27
|
+
.select__component_10sq7 {
|
|
28
|
+
width: max-content;
|
|
29
|
+
position: relative;
|
|
30
|
+
outline: 0;
|
|
31
|
+
}
|
|
32
|
+
.select__popoverInner_10sq7 {
|
|
33
|
+
padding-top: var(--select-options-list-offset);
|
|
34
|
+
padding-bottom: var(--select-options-list-offset);
|
|
35
|
+
box-shadow: none;
|
|
36
|
+
border: none;
|
|
37
|
+
background: transparent;
|
|
38
|
+
border-radius: 0;
|
|
39
|
+
position: relative;
|
|
40
|
+
}
|
|
41
|
+
.select__sheet_10sq7 {
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
}
|
|
44
|
+
.select__sheetContent_10sq7 {
|
|
45
|
+
padding: 0;
|
|
46
|
+
}
|
|
47
|
+
.select__sheetContainer_10sq7 {
|
|
48
|
+
padding: 0;
|
|
49
|
+
}
|
|
50
|
+
.select__block_10sq7 {
|
|
51
|
+
width: 100%;
|
|
52
|
+
}
|
|
53
|
+
/* width: max-content; fix for IE */
|
|
54
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
55
|
+
.select__component_10sq7 {
|
|
56
|
+
float: left;
|
|
57
|
+
clear: left;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.select__option_10sq7 {
|
|
61
|
+
padding: var(--gap-2xs) var(--gap-l) var(--gap-2xs) var(--gap-m)
|
|
62
|
+
}
|
|
63
|
+
.select__option_10sq7:before {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
.select__optionGroup_10sq7 {
|
|
67
|
+
padding: var(--gap-m) var(--gap-m) var(--gap-xs);
|
|
68
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../Component-9404bb50";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../tslib.es6-b9d0d522.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('@alfalab/hooks');
|
|
9
|
+
require('@alfalab/core-components-form-control');
|
|
10
|
+
require('../../utils.js');
|
|
11
|
+
require('../field/Component.js');
|
|
12
|
+
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
13
|
+
require('../arrow/Component.js');
|
|
14
|
+
require('react-merge-refs');
|
|
15
|
+
require('../optgroup/Component.js');
|
|
16
|
+
require('../options-list/Component.js');
|
|
17
|
+
require('@alfalab/core-components-checkbox');
|
|
18
|
+
require('../checkmark/Component.js');
|
|
19
|
+
require('../option/Component.js');
|
|
20
|
+
require('resize-observer');
|
|
21
|
+
require('@alfalab/core-components-popover');
|
|
22
|
+
require('downshift');
|
|
23
|
+
require('../native-select/Component.js');
|
|
24
|
+
require('../../Component-b963ee30.js');
|
|
25
|
+
require('../../Component.js');
|
|
26
|
+
require('@alfalab/core-components-bottom-sheet');
|
|
27
|
+
require('@alfalab/core-components-button');
|
|
28
|
+
require('@alfalab/core-components-base-modal');
|
|
29
|
+
require('./options-list/Component.js');
|
|
30
|
+
require('./checkmark/Component.js');
|
|
31
|
+
var presets_useSelectWithApply_hook = require('../../Component-9404bb50.js');
|
|
32
|
+
require('react-virtual');
|
|
33
|
+
require('@alfalab/core-components-skeleton');
|
|
34
|
+
require('../../intersection-observer-0fef5c01.js');
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
exports.SelectMobile = presets_useSelectWithApply_hook.SelectMobile;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { OptionsListProps } from "../../../typings";
|
|
3
|
+
declare const OptionsList: ({ size, className, optionGroupClassName, Option, getOptionProps, options, Optgroup, dataTestId, emptyPlaceholder, showFooter, onApply, onClear, }: OptionsListProps) => JSX.Element | null;
|
|
4
|
+
export { OptionsList };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib_es6 = require('../../../tslib.es6-b9d0d522.js');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var cn = require('classnames');
|
|
8
|
+
var utils = require('../../../utils.js');
|
|
9
|
+
var components_optgroup_Component = require('../../optgroup/Component.js');
|
|
10
|
+
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
11
|
+
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
12
|
+
|
|
13
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
|
+
|
|
15
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
|
+
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
17
|
+
|
|
18
|
+
var styles = {"optionsList":"select__optionsList_ruojk","emptyPlaceholder":"select__emptyPlaceholder_ruojk","l":"select__l_ruojk","xl":"select__xl_ruojk","footer":"select__footer_ruojk","footerButton":"select__footerButton_ruojk","highlighted":"select__highlighted_ruojk"};
|
|
19
|
+
require('./index.css')
|
|
20
|
+
|
|
21
|
+
var createCounter = function () {
|
|
22
|
+
var count = 0;
|
|
23
|
+
// eslint-disable-next-line no-plusplus
|
|
24
|
+
return function () { return count++; };
|
|
25
|
+
};
|
|
26
|
+
var OptionsList = function (_a) {
|
|
27
|
+
var _b;
|
|
28
|
+
var _c = _a.size, size = _c === void 0 ? 's' : _c, className = _a.className, optionGroupClassName = _a.optionGroupClassName, Option = _a.Option, getOptionProps = _a.getOptionProps, _d = _a.options, options = _d === void 0 ? [] : _d, _e = _a.Optgroup, Optgroup = _e === void 0 ? components_optgroup_Component.Optgroup : _e, dataTestId = _a.dataTestId, emptyPlaceholder = _a.emptyPlaceholder, showFooter = _a.showFooter, _f = _a.onApply, onApply = _f === void 0 ? function () { return null; } : _f, _g = _a.onClear, onClear = _g === void 0 ? function () { return null; } : _g;
|
|
29
|
+
var _h = React.useContext(coreComponentsBaseModal.BaseModalContext), footerHighlighted = _h.footerHighlighted, setHasFooter = _h.setHasFooter;
|
|
30
|
+
React.useEffect(function () {
|
|
31
|
+
setHasFooter(true);
|
|
32
|
+
}, [setHasFooter]);
|
|
33
|
+
var renderOption = React.useCallback(function (option, index) { return (React__default['default'].createElement(Option, tslib_es6.__assign({ key: option.key }, getOptionProps(option, index)))); }, [getOptionProps]);
|
|
34
|
+
var counter = createCounter();
|
|
35
|
+
var renderGroup = React.useCallback(function (group) { return (React__default['default'].createElement(Optgroup, { className: optionGroupClassName, label: group.label, key: group.label, size: size }, group.options.map(function (option) { return renderOption(option, counter()); }))); }, [optionGroupClassName, counter, renderOption, size]);
|
|
36
|
+
if (options.length === 0 && !emptyPlaceholder) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return (React__default['default'].createElement("div", { className: cn__default['default'](styles.optionsList, styles[size], className), "data-test-id": dataTestId },
|
|
40
|
+
options.map(function (option) {
|
|
41
|
+
return utils.isGroup(option) ? renderGroup(option) : renderOption(option, counter());
|
|
42
|
+
}),
|
|
43
|
+
emptyPlaceholder && options.length === 0 && (React__default['default'].createElement("div", { className: styles.emptyPlaceholder }, emptyPlaceholder)),
|
|
44
|
+
showFooter && (React__default['default'].createElement("div", { className: cn__default['default'](styles.footer, className, (_b = {},
|
|
45
|
+
_b[styles.highlighted] = footerHighlighted,
|
|
46
|
+
_b)) },
|
|
47
|
+
React__default['default'].createElement(coreComponentsButton.Button, { size: 's', view: 'primary', onClick: onApply, className: styles.footerButton }, "\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C"),
|
|
48
|
+
React__default['default'].createElement(coreComponentsButton.Button, { size: 's', view: 'secondary', onClick: onClear, className: styles.footerButton }, "\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C")))));
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports.OptionsList = OptionsList;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* hash: 1g06x */
|
|
2
|
+
:root {
|
|
3
|
+
--color-light-bg-primary: #fff;
|
|
4
|
+
--color-light-border-primary: #dbdee1;
|
|
5
|
+
--color-light-text-secondary: #546272;
|
|
6
|
+
}
|
|
7
|
+
:root {
|
|
8
|
+
|
|
9
|
+
/* Hard */
|
|
10
|
+
|
|
11
|
+
/* Up */
|
|
12
|
+
|
|
13
|
+
/* Hard up */
|
|
14
|
+
}
|
|
15
|
+
:root {
|
|
16
|
+
--gap-s: 12px;
|
|
17
|
+
--gap-m: 16px;
|
|
18
|
+
--gap-xl: 24px;
|
|
19
|
+
}
|
|
20
|
+
:root {
|
|
21
|
+
|
|
22
|
+
/* options list */
|
|
23
|
+
--select-options-list-empty-placeholder-color: var(--color-light-text-secondary);
|
|
24
|
+
|
|
25
|
+
/* option */
|
|
26
|
+
|
|
27
|
+
/* checkmark */
|
|
28
|
+
|
|
29
|
+
/* optgroup */
|
|
30
|
+
}
|
|
31
|
+
:root {
|
|
32
|
+
--select-mobile-footer-border-top: 1px solid var(--color-light-border-primary);
|
|
33
|
+
--select-mobile-footer-background-color: var(--color-light-bg-primary);
|
|
34
|
+
}
|
|
35
|
+
.select__optionsList_ruojk {
|
|
36
|
+
width: 100%;
|
|
37
|
+
outline: none;
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
}
|
|
40
|
+
.select__emptyPlaceholder_ruojk {
|
|
41
|
+
padding: var(--gap-m) var(--gap-s);
|
|
42
|
+
color: var(--select-options-list-empty-placeholder-color);
|
|
43
|
+
}
|
|
44
|
+
.select__l_ruojk .select__emptyPlaceholder_ruojk,
|
|
45
|
+
.select__xl_ruojk .select__emptyPlaceholder_ruojk {
|
|
46
|
+
padding: var(--gap-xl) var(--gap-m);
|
|
47
|
+
}
|
|
48
|
+
.select__footer_ruojk {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
position: sticky;
|
|
52
|
+
padding: var(--gap-m) var(--gap-m);
|
|
53
|
+
background-color: var(--color-light-bg-primary);
|
|
54
|
+
bottom: 0
|
|
55
|
+
}
|
|
56
|
+
.select__footer_ruojk .select__footerButton_ruojk:first-of-type {
|
|
57
|
+
margin-right: var(--gap-m);
|
|
58
|
+
}
|
|
59
|
+
.select__footerButton_ruojk {
|
|
60
|
+
width: 50%;
|
|
61
|
+
}
|
|
62
|
+
.select__highlighted_ruojk {
|
|
63
|
+
border-top: var(--select-mobile-footer-border-top);
|
|
64
|
+
background-color: var(--select-mobile-footer-background-color);
|
|
65
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../../tslib.es6-b9d0d522.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('../../../utils.js');
|
|
9
|
+
require('../../optgroup/Component.js');
|
|
10
|
+
require('@alfalab/core-components-button');
|
|
11
|
+
require('@alfalab/core-components-base-modal');
|
|
12
|
+
var components_selectMobile_optionsList_Component = require('./Component.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.OptionsList = components_selectMobile_optionsList_Component.OptionsList;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b9d0d522.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var utils = require('../../utils.js');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"virtualOptionsList":"
|
|
17
|
+
var styles = {"virtualOptionsList":"select__virtualOptionsList_pjid4","scrollable":"select__scrollable_pjid4","inner":"select__inner_pjid4","virtualRow":"select__virtualRow_pjid4","highlighted":"select__highlighted_pjid4","emptyPlaceholder":"select__emptyPlaceholder_pjid4","l":"select__l_pjid4","xl":"select__xl_pjid4"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
/* eslint-disable react-hooks/exhaustive-deps */
|