@alfalab/core-components-select 19.1.4 → 19.1.5-alfasans
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/index.css +4 -4
- package/components/arrow/index.module.css.js +1 -1
- package/components/base-checkmark/index.css +12 -12
- package/components/base-checkmark/index.module.css.js +1 -1
- package/components/base-option/index.css +20 -18
- package/components/base-option/index.module.css.js +1 -1
- package/components/base-option/index.module.css.js.map +1 -1
- package/components/base-select/index.css +11 -11
- package/components/base-select/index.module.css.js +1 -1
- package/components/base-select/mobile.css +12 -12
- package/components/base-select/mobile.module.css.js +1 -1
- package/components/base-select/mobile.module.css.js.map +1 -1
- package/components/checkmark/index.css +11 -11
- package/components/checkmark/index.module.css.js +1 -1
- package/components/checkmark-mobile/index.css +6 -6
- package/components/checkmark-mobile/index.module.css.js +1 -1
- package/components/clear-button/index.css +4 -4
- package/components/clear-button/index.module.css.js +1 -1
- package/components/field/index.css +22 -18
- package/components/field/index.module.css.js +1 -1
- package/components/footer/index.css +4 -4
- package/components/footer/index.module.css.js +1 -1
- package/components/optgroup/index.css +8 -7
- package/components/optgroup/index.module.css.js +1 -1
- package/components/option/desktop/index.css +24 -22
- package/components/option/desktop/index.module.css.js +1 -1
- package/components/option/mobile/index.css +21 -19
- package/components/option/mobile/index.module.css.js +1 -1
- package/components/options-list/index.css +13 -13
- package/components/options-list/index.module.css.js +1 -1
- package/components/search/index.css +1 -1
- package/components/search/index.module.css.js +1 -1
- package/components/virtual-options-list/index.css +13 -13
- package/components/virtual-options-list/index.module.css.js +1 -1
- package/cssm/components/base-option/index.module.css +6 -4
- package/cssm/components/base-select/mobile.module.css +1 -1
- package/cssm/components/field/index.module.css +9 -5
- package/cssm/components/optgroup/index.module.css +4 -3
- package/cssm/components/option/desktop/index.module.css +5 -3
- package/cssm/components/option/mobile/index.module.css +5 -3
- package/cssm/mobile/Component.modal.mobile.js +8 -1
- package/cssm/mobile/Component.modal.mobile.js.map +1 -1
- package/cssm/mobile/modal.mobile.module.css +8 -0
- package/esm/components/arrow/index.css +4 -4
- package/esm/components/arrow/index.module.css.js +1 -1
- package/esm/components/base-checkmark/index.css +12 -12
- package/esm/components/base-checkmark/index.module.css.js +1 -1
- package/esm/components/base-option/index.css +20 -18
- package/esm/components/base-option/index.module.css.js +1 -1
- package/esm/components/base-option/index.module.css.js.map +1 -1
- package/esm/components/base-select/index.css +11 -11
- package/esm/components/base-select/index.module.css.js +1 -1
- package/esm/components/base-select/mobile.css +12 -12
- package/esm/components/base-select/mobile.module.css.js +1 -1
- package/esm/components/base-select/mobile.module.css.js.map +1 -1
- package/esm/components/checkmark/index.css +11 -11
- package/esm/components/checkmark/index.module.css.js +1 -1
- package/esm/components/checkmark-mobile/index.css +6 -6
- package/esm/components/checkmark-mobile/index.module.css.js +1 -1
- package/esm/components/clear-button/index.css +4 -4
- package/esm/components/clear-button/index.module.css.js +1 -1
- package/esm/components/field/index.css +22 -18
- package/esm/components/field/index.module.css.js +1 -1
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.module.css.js +1 -1
- package/esm/components/optgroup/index.css +8 -7
- package/esm/components/optgroup/index.module.css.js +1 -1
- package/esm/components/option/desktop/index.css +24 -22
- package/esm/components/option/desktop/index.module.css.js +1 -1
- package/esm/components/option/mobile/index.css +21 -19
- package/esm/components/option/mobile/index.module.css.js +1 -1
- package/esm/components/options-list/index.css +13 -13
- package/esm/components/options-list/index.module.css.js +1 -1
- package/esm/components/search/index.css +1 -1
- package/esm/components/search/index.module.css.js +1 -1
- package/esm/components/virtual-options-list/index.css +13 -13
- package/esm/components/virtual-options-list/index.module.css.js +1 -1
- package/esm/mobile/Component.modal.mobile.js +6 -1
- package/esm/mobile/Component.modal.mobile.js.map +1 -1
- package/esm/mobile/modal.mobile.css +8 -0
- package/esm/mobile/modal.mobile.module.css.js +6 -0
- package/esm/mobile/modal.mobile.module.css.js.map +1 -0
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +1 -1
- package/esm/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/mobile/Component.modal.mobile.js +7 -1
- package/mobile/Component.modal.mobile.js.map +1 -1
- package/mobile/modal.mobile.css +8 -0
- package/mobile/modal.mobile.module.css.js +8 -0
- package/mobile/modal.mobile.module.css.js.map +1 -0
- package/modern/components/arrow/index.css +4 -4
- package/modern/components/arrow/index.module.css.js +1 -1
- package/modern/components/base-checkmark/index.css +12 -12
- package/modern/components/base-checkmark/index.module.css.js +1 -1
- package/modern/components/base-option/index.css +20 -18
- package/modern/components/base-option/index.module.css.js +1 -1
- package/modern/components/base-option/index.module.css.js.map +1 -1
- package/modern/components/base-select/index.css +11 -11
- package/modern/components/base-select/index.module.css.js +1 -1
- package/modern/components/base-select/mobile.css +12 -12
- package/modern/components/base-select/mobile.module.css.js +1 -1
- package/modern/components/base-select/mobile.module.css.js.map +1 -1
- package/modern/components/checkmark/index.css +11 -11
- package/modern/components/checkmark/index.module.css.js +1 -1
- package/modern/components/checkmark-mobile/index.css +6 -6
- package/modern/components/checkmark-mobile/index.module.css.js +1 -1
- package/modern/components/clear-button/index.css +4 -4
- package/modern/components/clear-button/index.module.css.js +1 -1
- package/modern/components/field/index.css +22 -18
- package/modern/components/field/index.module.css.js +1 -1
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.module.css.js +1 -1
- package/modern/components/optgroup/index.css +8 -7
- package/modern/components/optgroup/index.module.css.js +1 -1
- package/modern/components/option/desktop/index.css +24 -22
- package/modern/components/option/desktop/index.module.css.js +1 -1
- package/modern/components/option/mobile/index.css +21 -19
- package/modern/components/option/mobile/index.module.css.js +1 -1
- package/modern/components/options-list/index.css +13 -13
- package/modern/components/options-list/index.module.css.js +1 -1
- package/modern/components/search/index.css +1 -1
- package/modern/components/search/index.module.css.js +1 -1
- package/modern/components/virtual-options-list/index.css +13 -13
- package/modern/components/virtual-options-list/index.module.css.js +1 -1
- package/modern/mobile/Component.modal.mobile.js +9 -1
- package/modern/mobile/Component.modal.mobile.js.map +1 -1
- package/modern/mobile/modal.mobile.css +8 -0
- package/modern/mobile/modal.mobile.module.css.js +6 -0
- package/modern/mobile/modal.mobile.module.css.js.map +1 -0
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +1 -1
- package/modern/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/moderncssm/components/base-option/index.module.css +3 -2
- package/moderncssm/components/base-select/mobile.module.css +1 -1
- package/moderncssm/components/field/index.module.css +6 -3
- package/moderncssm/components/optgroup/index.module.css +1 -1
- package/moderncssm/components/option/desktop/index.module.css +2 -1
- package/moderncssm/components/option/mobile/index.module.css +2 -1
- package/moderncssm/mobile/Component.modal.mobile.js +9 -1
- package/moderncssm/mobile/Component.modal.mobile.js.map +1 -1
- package/moderncssm/mobile/modal.mobile.module.css +6 -0
- package/package.json +15 -15
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
- package/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/presets/useSelectWithLoading/index.css +1 -1
- package/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/src/components/base-option/index.module.css +1 -1
- package/src/components/base-select/mobile.module.css +1 -1
- package/src/mobile/Component.modal.mobile.tsx +18 -3
- package/src/mobile/modal.mobile.module.css +6 -0
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--select-arrow-color: var(--color-light-neutral-translucent-700);
|
|
10
10
|
--select-arrow-disabled-color: var(--color-light-neutral-translucent-500);
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.select__arrow_1s79h {
|
|
13
13
|
display: block;
|
|
14
14
|
width: 24px;
|
|
15
15
|
height: 24px;
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
transform 0.15s ease-in-out,
|
|
20
20
|
opacity 0.2s ease;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.select__arrow_1s79h.select__disabled_1s79h {
|
|
23
23
|
color: var(--select-arrow-disabled-color);
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__arrow_1s79h.select__size-40_1s79h {
|
|
26
26
|
width: auto;
|
|
27
27
|
width: initial;
|
|
28
28
|
height: auto;
|
|
29
29
|
height: initial;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.select__open_1s79h {
|
|
32
32
|
transform: var(--arrow-transform);
|
|
33
33
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"arrow":"
|
|
5
|
+
var styles = {"arrow":"select__arrow_1s79h","disabled":"select__disabled_1s79h","size-40":"select__size-40_1s79h","open":"select__open_1s79h"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -2,45 +2,45 @@
|
|
|
2
2
|
--gap-s: 12px;
|
|
3
3
|
--gap-12: var(--gap-s);
|
|
4
4
|
}
|
|
5
|
-
.
|
|
5
|
+
.select__checkmark_95upm {
|
|
6
6
|
flex-shrink: 0;
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.select__checkmark_95upm.select__start_95upm {
|
|
10
10
|
align-self: start;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.select__checkmark_95upm.select__center_95upm {
|
|
13
13
|
align-self: center;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.select__positionAfter_95upm {
|
|
16
16
|
margin-left: 0;
|
|
17
17
|
margin-left: initial;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__container_95upm {
|
|
20
20
|
display: flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
justify-content: center;
|
|
23
23
|
width: 100%;
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__container_95upm.select__start_95upm {
|
|
26
26
|
align-items: flex-start;
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.select__container_95upm.select__center_95upm {
|
|
29
29
|
align-items: center;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.select__singleIcon_95upm {
|
|
32
32
|
flex-shrink: 0;
|
|
33
33
|
opacity: 0;
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
.select__singleIcon_95upm.select__before_95upm {
|
|
36
36
|
margin-right: var(--gap-12);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.select__singleIcon_95upm.select__after_95upm {
|
|
39
39
|
margin-left: var(--gap-12);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.select__singleIcon_95upm.select__selected_95upm {
|
|
42
42
|
opacity: 1;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.select__content_95upm {
|
|
45
45
|
flex: 1;
|
|
46
46
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"checkmark":"
|
|
5
|
+
var styles = {"checkmark":"select__checkmark_95upm","start":"select__start_95upm","center":"select__center_95upm","positionAfter":"select__positionAfter_95upm","container":"select__container_95upm","singleIcon":"select__singleIcon_95upm","before":"select__before_95upm","after":"select__after_95upm","selected":"select__selected_95upm","content":"select__content_95upm"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
--gap-20: var(--gap-l);
|
|
16
16
|
}
|
|
17
17
|
:root {
|
|
18
|
-
--font-family-
|
|
19
|
-
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
18
|
+
--font-family-alfasans:
|
|
19
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
20
|
+
Helvetica, sans-serif;
|
|
20
21
|
}
|
|
21
22
|
:root {
|
|
22
23
|
--disabled-cursor: not-allowed;
|
|
@@ -34,11 +35,12 @@
|
|
|
34
35
|
--select-option-active-color: var(--color-light-text-primary);
|
|
35
36
|
--select-option-disabled-color: var(--color-light-text-secondary);
|
|
36
37
|
}
|
|
37
|
-
.
|
|
38
|
+
.select__option_1m8n7 {
|
|
38
39
|
font-size: 16px;
|
|
39
40
|
line-height: 20px;
|
|
40
41
|
font-weight: 400;
|
|
41
|
-
|
|
42
|
+
letter-spacing: -0.24px;
|
|
43
|
+
font-family: var(--font-family-alfasans);
|
|
42
44
|
|
|
43
45
|
display: flex;
|
|
44
46
|
align-items: center;
|
|
@@ -50,49 +52,49 @@
|
|
|
50
52
|
cursor: pointer;
|
|
51
53
|
min-height: var(--size-s-height);
|
|
52
54
|
}
|
|
53
|
-
.
|
|
55
|
+
.select__option_1m8n7:not(.select__disabled_1m8n7):active {
|
|
54
56
|
background: var(--select-option-active-background);
|
|
55
57
|
color: var(--select-option-active-color);
|
|
56
58
|
}
|
|
57
|
-
.
|
|
59
|
+
.select__option_1m8n7.select__checkmarkBefore_1m8n7 {
|
|
58
60
|
padding: var(--gap-0) var(--gap-0) var(--gap-0) var(--gap-12);
|
|
59
61
|
}
|
|
60
|
-
.
|
|
62
|
+
.select__option_1m8n7.select__checkmarkBefore_1m8n7.select__mobile_1m8n7 {
|
|
61
63
|
padding-left: var(--gap-16);
|
|
62
64
|
}
|
|
63
|
-
.
|
|
65
|
+
.select__option_1m8n7.select__checkmarkAfter_1m8n7.select__checkmarkAfter_1m8n7 {
|
|
64
66
|
padding: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-0);
|
|
65
67
|
}
|
|
66
|
-
.
|
|
68
|
+
.select__option_1m8n7.select__checkmarkAfter_1m8n7.select__checkmarkAfter_1m8n7.select__size-72_1m8n7 {
|
|
67
69
|
padding-right: var(--gap-16);
|
|
68
70
|
}
|
|
69
|
-
.
|
|
71
|
+
.select__option_1m8n7.select__checkmarkAfter_1m8n7.select__checkmarkAfter_1m8n7.select__mobile_1m8n7 {
|
|
70
72
|
padding-right: var(--gap-20);
|
|
71
73
|
}
|
|
72
|
-
.
|
|
74
|
+
.select__option_1m8n7.select__textContent_1m8n7 {
|
|
73
75
|
padding: var(--gap-12);
|
|
74
76
|
}
|
|
75
|
-
.
|
|
77
|
+
.select__option_1m8n7.select__textContent_1m8n7.select__size-72_1m8n7 {
|
|
76
78
|
padding-left: var(--gap-16);
|
|
77
79
|
padding-right: var(--gap-16);
|
|
78
80
|
}
|
|
79
|
-
.
|
|
80
|
-
padding: var(--gap-16) var(--gap-20)
|
|
81
|
+
.select__option_1m8n7.select__textContent_1m8n7.select__mobile_1m8n7 {
|
|
82
|
+
padding: var(--gap-16) var(--gap-20);
|
|
81
83
|
}
|
|
82
|
-
.
|
|
84
|
+
.select__selected_1m8n7 {
|
|
83
85
|
background: var(--select-option-selected-background);
|
|
84
86
|
color: var(--select-option-selected-color);
|
|
85
87
|
cursor: default;
|
|
86
88
|
}
|
|
87
|
-
.
|
|
89
|
+
.select__highlighted_1m8n7 {
|
|
88
90
|
background: var(--select-option-hover-background);
|
|
89
91
|
color: var(--select-option-hover-color);
|
|
90
92
|
}
|
|
91
|
-
.
|
|
93
|
+
.select__disabled_1m8n7 {
|
|
92
94
|
cursor: var(--disabled-cursor);
|
|
93
95
|
background: var(--select-option-disabled-background);
|
|
94
96
|
color: var(--select-option-disabled-color);
|
|
95
97
|
}
|
|
96
|
-
.
|
|
98
|
+
.select__content_1m8n7 {
|
|
97
99
|
flex: 1;
|
|
98
100
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"option":"
|
|
5
|
+
var styles = {"option":"select__option_1m8n7","disabled":"select__disabled_1m8n7","checkmarkBefore":"select__checkmarkBefore_1m8n7","mobile":"select__mobile_1m8n7","checkmarkAfter":"select__checkmarkAfter_1m8n7","size-72":"select__size-72_1m8n7","textContent":"select__textContent_1m8n7","selected":"select__selected_1m8n7","highlighted":"select__highlighted_1m8n7","content":"select__content_1m8n7"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/base-option/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.option {\n @mixin paragraph_component;\n\n display: flex;\n align-items: center;\n transition: background-color 0.2s ease;\n background: var(--select-option-background);\n color: var(--select-option-color);\n box-sizing: border-box;\n position: relative;\n cursor: pointer;\n min-height: var(--size-s-height);\n\n &:not(.disabled):active {\n background: var(--select-option-active-background);\n color: var(--select-option-active-color);\n }\n\n &.checkmarkBefore {\n padding: var(--gap-0) var(--gap-0) var(--gap-0) var(--gap-12);\n\n &.mobile {\n padding-left: var(--gap-16);\n }\n }\n\n &.checkmarkAfter.checkmarkAfter {\n padding: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-0);\n\n &.size-72 {\n padding-right: var(--gap-16);\n }\n\n &.mobile {\n padding-right: var(--gap-20);\n }\n }\n\n &.textContent {\n padding: var(--gap-12);\n\n &.size-72 {\n padding-left: var(--gap-16);\n padding-right: var(--gap-16);\n }\n\n &.mobile {\n padding: var(--gap-16) var(--gap-20)
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/base-option/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.option {\n @mixin paragraph_component;\n\n display: flex;\n align-items: center;\n transition: background-color 0.2s ease;\n background: var(--select-option-background);\n color: var(--select-option-color);\n box-sizing: border-box;\n position: relative;\n cursor: pointer;\n min-height: var(--size-s-height);\n\n &:not(.disabled):active {\n background: var(--select-option-active-background);\n color: var(--select-option-active-color);\n }\n\n &.checkmarkBefore {\n padding: var(--gap-0) var(--gap-0) var(--gap-0) var(--gap-12);\n\n &.mobile {\n padding-left: var(--gap-16);\n }\n }\n\n &.checkmarkAfter.checkmarkAfter {\n padding: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-0);\n\n &.size-72 {\n padding-right: var(--gap-16);\n }\n\n &.mobile {\n padding-right: var(--gap-20);\n }\n }\n\n &.textContent {\n padding: var(--gap-12);\n\n &.size-72 {\n padding-left: var(--gap-16);\n padding-right: var(--gap-16);\n }\n\n &.mobile {\n padding: var(--gap-16) var(--gap-20);\n }\n }\n}\n\n.selected {\n background: var(--select-option-selected-background);\n color: var(--select-option-selected-color);\n cursor: default;\n}\n\n.highlighted {\n background: var(--select-option-hover-background);\n color: var(--select-option-hover-color);\n}\n\n.disabled {\n cursor: var(--disabled-cursor);\n background: var(--select-option-disabled-background);\n color: var(--select-option-disabled-color);\n}\n\n.content {\n flex: 1;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,QAAQ,CAAC,sBAAsB,CAAC,UAAU,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,+BAA+B,CAAC,QAAQ,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,8BAA8B,CAAC,SAAS,CAAC,uBAAuB,CAAC,aAAa,CAAC,2BAA2B,CAAC,UAAU,CAAC,wBAAwB,CAAC,aAAa,CAAC,2BAA2B,CAAC,SAAS,CAAC,uBAAuB,CAAC;;;;"}
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
--select-options-list-bottom-padding: var(--gap-0);
|
|
31
31
|
--select-option-background: var(--color-light-modal-bg-primary);
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.select__component_1tzw0 {
|
|
34
34
|
width: -moz-max-content;
|
|
35
35
|
width: max-content;
|
|
36
36
|
position: relative;
|
|
37
37
|
outline: 0;
|
|
38
38
|
max-width: 100%;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__popoverInner_1tzw0 {
|
|
41
41
|
padding-top: var(--select-options-list-offset);
|
|
42
42
|
padding-bottom: var(--select-options-list-offset);
|
|
43
43
|
background: transparent;
|
|
44
44
|
border-radius: var(--border-radius-0);
|
|
45
45
|
position: relative;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.select__popoverInner_1tzw0.select__popoverInner_1tzw0 {
|
|
48
48
|
box-shadow: none;
|
|
49
49
|
border: none;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.select__optionsListWrapper_1tzw0 {
|
|
52
52
|
position: relative;
|
|
53
53
|
padding-top: var(--select-options-list-top-padding);
|
|
54
54
|
padding-bottom: var(--select-options-list-bottom-padding);
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
overflow: hidden;
|
|
59
59
|
will-change: transform;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.select__optionsListBorder_1tzw0 {
|
|
62
62
|
position: absolute;
|
|
63
63
|
top: var(--gap-0);
|
|
64
64
|
right: var(--gap-0);
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
border-radius: inherit;
|
|
69
69
|
pointer-events: none;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.select__nativeSelect_1tzw0 {
|
|
72
72
|
opacity: 0;
|
|
73
73
|
overflow: hidden;
|
|
74
74
|
position: absolute;
|
|
@@ -82,19 +82,19 @@
|
|
|
82
82
|
cursor: pointer;
|
|
83
83
|
z-index: 1;
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.select__block_1tzw0 {
|
|
86
86
|
width: 100%;
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.select__emptySearchPlaceholder_1tzw0 {
|
|
89
89
|
text-align: center;
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.select__search_1tzw0 {
|
|
92
92
|
margin: var(--gap-12) var(--gap-12) var(--gap-0);
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
.select__search_1tzw0.select__size-72_1tzw0 {
|
|
95
95
|
margin-left: var(--gap-16);
|
|
96
96
|
margin-right: var(--gap-16);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.select__search_1tzw0:last-child {
|
|
99
99
|
margin-bottom: var(--gap-12);
|
|
100
100
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"
|
|
5
|
+
var styles = {"component":"select__component_1tzw0","popoverInner":"select__popoverInner_1tzw0","optionsListWrapper":"select__optionsListWrapper_1tzw0","optionsListBorder":"select__optionsListBorder_1tzw0","nativeSelect":"select__nativeSelect_1tzw0","block":"select__block_1tzw0","emptySearchPlaceholder":"select__emptySearchPlaceholder_1tzw0","search":"select__search_1tzw0","size-72":"select__size-72_1tzw0"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -9,40 +9,40 @@
|
|
|
9
9
|
--gap-16: var(--gap-m);
|
|
10
10
|
--gap-20: var(--gap-l);
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.select__sheet_8lldb {
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.select__sheetContent_8lldb.select__sheetContent_8lldb {
|
|
16
16
|
padding: var(--gap-0);
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.select__sheetContent_8lldb.select__sheetContent_8lldb .select__modalContent_8lldb {
|
|
19
19
|
padding: var(--gap-0);
|
|
20
20
|
display: flex;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.select__sheetContainer_8lldb {
|
|
24
24
|
padding: var(--gap-0);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.select__optionsListWrapper_8lldb {
|
|
27
27
|
flex: 1;
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
.select__optionsList_8lldb.select__optionsList_8lldb {
|
|
30
30
|
height: 100%;
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.select__scrollbar_8lldb {
|
|
35
35
|
flex: 1;
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.select__search_8lldb {
|
|
38
38
|
padding: var(--gap-8);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
41
|
-
padding: var(--gap-4) var(--gap-20) var(--gap-4)
|
|
40
|
+
.select__option_8lldb.select__option_8lldb {
|
|
41
|
+
padding: var(--gap-4) var(--gap-20) var(--gap-4);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.select__option_8lldb.select__option_8lldb:before {
|
|
44
44
|
display: none;
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__optionGroup_8lldb.select__optionGroup_8lldb {
|
|
47
47
|
padding: var(--gap-16) var(--gap-16) var(--gap-8);
|
|
48
48
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./mobile.css');
|
|
4
4
|
|
|
5
|
-
var mobileStyles = {"sheet":"
|
|
5
|
+
var mobileStyles = {"sheet":"select__sheet_8lldb","sheetContent":"select__sheetContent_8lldb","modalContent":"select__modalContent_8lldb","sheetContainer":"select__sheetContainer_8lldb","optionsListWrapper":"select__optionsListWrapper_8lldb","optionsList":"select__optionsList_8lldb","scrollbar":"select__scrollbar_8lldb","search":"select__search_8lldb","option":"select__option_8lldb","optionGroup":"select__optionGroup_8lldb"};
|
|
6
6
|
|
|
7
7
|
module.exports = mobileStyles;
|
|
8
8
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobile.module.css.js","sources":["../../src/components/base-select/mobile.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.sheet {\n overflow: hidden;\n}\n\n.sheetContent.sheetContent {\n padding: var(--gap-0);\n\n & .modalContent {\n padding: var(--gap-0);\n display: flex;\n flex-direction: column;\n }\n}\n\n.sheetContainer {\n padding: var(--gap-0);\n}\n\n.optionsListWrapper {\n flex: 1;\n}\n\n.optionsList.optionsList {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.scrollbar {\n flex: 1;\n}\n\n.search {\n padding: var(--gap-8);\n}\n\n.option.option {\n padding: var(--gap-4) var(--gap-20) var(--gap-4)
|
|
1
|
+
{"version":3,"file":"mobile.module.css.js","sources":["../../src/components/base-select/mobile.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.sheet {\n overflow: hidden;\n}\n\n.sheetContent.sheetContent {\n padding: var(--gap-0);\n\n & .modalContent {\n padding: var(--gap-0);\n display: flex;\n flex-direction: column;\n }\n}\n\n.sheetContainer {\n padding: var(--gap-0);\n}\n\n.optionsListWrapper {\n flex: 1;\n}\n\n.optionsList.optionsList {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.scrollbar {\n flex: 1;\n}\n\n.search {\n padding: var(--gap-8);\n}\n\n.option.option {\n padding: var(--gap-4) var(--gap-20) var(--gap-4);\n\n &:before {\n display: none;\n }\n}\n\n.optionGroup.optionGroup {\n padding: var(--gap-16) var(--gap-16) var(--gap-8);\n}\n"],"names":[],"mappings":";;;;AAEgB,mBAAe,CAAC,OAAO,CAAC,qBAAqB,CAAC,cAAc,CAAC,4BAA4B,CAAC,cAAc,CAAC,4BAA4B,CAAC,gBAAgB,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,kCAAkC,CAAC,aAAa,CAAC,2BAA2B,CAAC,WAAW,CAAC,yBAAyB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,aAAa,CAAC,2BAA2B,CAAC;;;;"}
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
--select-checkmark-after-display-single: flex;
|
|
14
14
|
--select-checkmark-unselected-opacity: 0;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.select__checkmark_93116 {
|
|
17
17
|
flex-shrink: 0;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__checkmark_93116.select__before_93116 {
|
|
20
20
|
display: var(--select-checkmark-before-display);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.select__checkmark_93116.select__after_93116 {
|
|
23
23
|
display: var(--select-checkmark-after-display);
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__single_93116 {
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: center;
|
|
28
28
|
justify-content: center;
|
|
@@ -30,26 +30,26 @@
|
|
|
30
30
|
width: var(--select-checkmark-size);
|
|
31
31
|
height: var(--select-checkmark-size);
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.select__single_93116.select__selected_93116 {
|
|
34
34
|
opacity: 1;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__multiple_93116.select__before_93116 {
|
|
37
37
|
margin-right: var(--gap-12);
|
|
38
38
|
display: var(--select-checkmark-before-display-multiple);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__multiple_93116.select__after_93116 {
|
|
41
41
|
margin-left: var(--gap-12);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.select__after_93116.select__after_93116 {
|
|
44
44
|
display: var(--select-checkmark-after-display);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__after_93116.select__after_93116.select__single_93116 {
|
|
47
47
|
display: var(--select-checkmark-after-display-single);
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.select__colorIcon_93116 {
|
|
50
50
|
color: var(--color-light-status-positive);
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.select__displayIcon_93116 {
|
|
53
53
|
display: block;
|
|
54
54
|
width: 100%;
|
|
55
55
|
height: 100%;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"checkmark":"
|
|
5
|
+
var styles = {"checkmark":"select__checkmark_93116","before":"select__before_93116","after":"select__after_93116","single":"select__single_93116","selected":"select__selected_93116","multiple":"select__multiple_93116","colorIcon":"select__colorIcon_93116","displayIcon":"select__displayIcon_93116"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
--select-mobile-checkmark-display-icon: block;
|
|
7
7
|
--select-mobile-checkmark-display-badge: none;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.select__checkmark_1ryr4 {
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
height: 24px;
|
|
16
16
|
opacity: 0;
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.select__checkmark_1ryr4.select__selected_1ryr4 {
|
|
19
19
|
opacity: 1;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.select__checkmark_1ryr4.select__before_1ryr4 {
|
|
22
22
|
margin-right: var(--gap-8);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.select__checkmark_1ryr4.select__after_1ryr4 {
|
|
25
25
|
margin-left: var(--gap-8);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.select__displayIcon_1ryr4 {
|
|
28
28
|
display: var(--select-mobile-checkmark-display-icon);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.select__displayBadge_1ryr4 {
|
|
31
31
|
display: var(--select-mobile-checkmark-display-badge);
|
|
32
32
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"checkmark":"
|
|
5
|
+
var styles = {"checkmark":"select__checkmark_1ryr4","selected":"select__selected_1ryr4","before":"select__before_1ryr4","after":"select__after_1ryr4","displayIcon":"select__displayIcon_1ryr4","displayBadge":"select__displayBadge_1ryr4"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--input-error-icon-display: none;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.select__clearIcon_1gzw1 {
|
|
10
10
|
display: block;
|
|
11
11
|
color: var(--color-light-neutral-translucent-500);
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.select__clearIcon_1gzw1:hover {
|
|
14
14
|
color: var(--color-light-neutral-translucent-500-hover);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.select__clearIcon_1gzw1:active {
|
|
17
17
|
color: var(--color-light-neutral-translucent-500-press);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__clearButton_1gzw1 + [data-addon='error-icon'] {
|
|
20
20
|
display: var(--input-error-icon-display);
|
|
21
21
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"clearIcon":"
|
|
5
|
+
var styles = {"clearIcon":"select__clearIcon_1gzw1","clearButton":"select__clearButton_1gzw1"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
--color-light-text-tertiary: rgba(5, 8, 29, 0.38);
|
|
5
5
|
}
|
|
6
6
|
:root {
|
|
7
|
-
--font-family-
|
|
8
|
-
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
7
|
+
--font-family-alfasans:
|
|
8
|
+
'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
9
|
+
Helvetica, sans-serif;
|
|
9
10
|
}
|
|
10
11
|
:root {
|
|
11
12
|
--focus-color: var(--color-light-status-info);
|
|
@@ -18,60 +19,63 @@
|
|
|
18
19
|
:root {
|
|
19
20
|
--select-arrow-hover-opacity: 0.7;
|
|
20
21
|
}
|
|
21
|
-
.
|
|
22
|
+
.select__component_14900 {
|
|
22
23
|
width: 100%;
|
|
23
24
|
outline: none;
|
|
24
25
|
}
|
|
25
|
-
.
|
|
26
|
+
.select__field_14900:not(.select__disabled_14900) {
|
|
26
27
|
cursor: pointer;
|
|
27
28
|
}
|
|
28
|
-
.
|
|
29
|
+
.select__field_14900:not(.select__disabled_14900):hover .select__arrow_14900 {
|
|
29
30
|
opacity: var(--select-arrow-hover-opacity);
|
|
30
31
|
}
|
|
31
|
-
.
|
|
32
|
+
.select__disabled_14900 {
|
|
32
33
|
cursor: var(--disabled-cursor);
|
|
33
34
|
}
|
|
34
|
-
.
|
|
35
|
+
.select__placeholder_14900 {
|
|
35
36
|
color: var(--input-placeholder-color);
|
|
36
37
|
transition: color 0.2s ease;
|
|
37
|
-
animation: select__show-
|
|
38
|
+
animation: select__show-placeholder_14900 0.2s ease;
|
|
38
39
|
}
|
|
39
|
-
.
|
|
40
|
+
.select__placeholder_14900.select__focused_14900 {
|
|
40
41
|
color: var(--input-focus-placeholder-color);
|
|
41
42
|
}
|
|
42
|
-
.
|
|
43
|
+
.select__contentWrapper_14900 {
|
|
43
44
|
font-size: 16px;
|
|
44
45
|
line-height: 20px;
|
|
45
46
|
font-weight: 400;
|
|
46
|
-
|
|
47
|
+
letter-spacing: -0.24px;
|
|
48
|
+
font-family: var(--font-family-alfasans);
|
|
47
49
|
|
|
48
50
|
white-space: nowrap;
|
|
49
51
|
text-overflow: ellipsis;
|
|
50
52
|
overflow: hidden;
|
|
51
53
|
width: 100%;
|
|
52
54
|
}
|
|
53
|
-
.
|
|
55
|
+
.select__contentWrapper_14900.select__size-40_14900 {
|
|
54
56
|
font-size: 14px;
|
|
55
57
|
line-height: 18px;
|
|
56
58
|
font-weight: 400;
|
|
57
|
-
|
|
59
|
+
letter-spacing: -0.08px;
|
|
60
|
+
font-family: var(--font-family-alfasans);
|
|
58
61
|
}
|
|
59
|
-
.
|
|
62
|
+
.select__value_14900 {
|
|
60
63
|
overflow: hidden;
|
|
61
64
|
text-overflow: ellipsis;
|
|
62
65
|
text-align: left;
|
|
63
66
|
}
|
|
64
|
-
.
|
|
67
|
+
.select__value_14900.select__size-40_14900 {
|
|
65
68
|
font-size: 14px;
|
|
66
69
|
line-height: 18px;
|
|
67
70
|
font-weight: 400;
|
|
68
|
-
|
|
71
|
+
letter-spacing: -0.08px;
|
|
72
|
+
font-family: var(--font-family-alfasans);
|
|
69
73
|
}
|
|
70
|
-
.
|
|
74
|
+
.select__focusVisible_14900 {
|
|
71
75
|
outline: 2px solid var(--focus-color);
|
|
72
76
|
outline-offset: 2px;
|
|
73
77
|
}
|
|
74
|
-
@keyframes select__show-
|
|
78
|
+
@keyframes select__show-placeholder_14900 {
|
|
75
79
|
from {
|
|
76
80
|
opacity: 0;
|
|
77
81
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"
|
|
5
|
+
var styles = {"component":"select__component_14900","field":"select__field_14900","disabled":"select__disabled_14900","arrow":"select__arrow_14900","placeholder":"select__placeholder_14900","show-placeholder":"select__show-placeholder_14900","focused":"select__focused_14900","contentWrapper":"select__contentWrapper_14900","size-40":"select__size-40_14900","value":"select__value_14900","focusVisible":"select__focusVisible_14900"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|