@alfalab/core-components-select 19.0.4 → 19.0.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/components/arrow/index.css +4 -4
- package/components/arrow/index.module.css.js +1 -1
- package/components/base-checkmark/index.css +5 -5
- package/components/base-checkmark/index.module.css.js +1 -1
- package/components/base-option/index.css +16 -16
- package/components/base-option/index.module.css.js +1 -1
- package/components/base-select/Component.js +1 -1
- package/components/base-select/Component.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 +11 -11
- package/components/base-select/mobile.module.css.js +1 -1
- package/components/checkmark/index.css +9 -9
- package/components/checkmark/index.module.css.js +1 -1
- package/components/checkmark-mobile/index.css +5 -5
- 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 +13 -13
- 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 +4 -4
- package/components/optgroup/index.module.css.js +1 -1
- package/components/option/desktop/index.css +19 -19
- package/components/option/desktop/index.module.css.js +1 -1
- package/components/option/mobile/index.css +16 -16
- 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-select/Component.js +1 -1
- package/cssm/components/base-select/Component.js.map +1 -1
- 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 +5 -5
- package/esm/components/base-checkmark/index.module.css.js +1 -1
- package/esm/components/base-option/index.css +16 -16
- package/esm/components/base-option/index.module.css.js +1 -1
- package/esm/components/base-select/Component.js +1 -1
- package/esm/components/base-select/Component.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 +11 -11
- package/esm/components/base-select/mobile.module.css.js +1 -1
- package/esm/components/checkmark/index.css +9 -9
- package/esm/components/checkmark/index.module.css.js +1 -1
- package/esm/components/checkmark-mobile/index.css +5 -5
- 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 +13 -13
- 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 +4 -4
- package/esm/components/optgroup/index.module.css.js +1 -1
- package/esm/components/option/desktop/index.css +19 -19
- package/esm/components/option/desktop/index.module.css.js +1 -1
- package/esm/components/option/mobile/index.css +16 -16
- 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/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 +3 -3
- 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/modern/components/arrow/index.css +4 -4
- package/modern/components/arrow/index.module.css.js +1 -1
- package/modern/components/base-checkmark/index.css +5 -5
- package/modern/components/base-checkmark/index.module.css.js +1 -1
- package/modern/components/base-option/index.css +16 -16
- package/modern/components/base-option/index.module.css.js +1 -1
- package/modern/components/base-select/Component.js +1 -1
- package/modern/components/base-select/Component.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 +11 -11
- package/modern/components/base-select/mobile.module.css.js +1 -1
- package/modern/components/checkmark/index.css +9 -9
- package/modern/components/checkmark/index.module.css.js +1 -1
- package/modern/components/checkmark-mobile/index.css +5 -5
- 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 +13 -13
- 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 +4 -4
- package/modern/components/optgroup/index.module.css.js +1 -1
- package/modern/components/option/desktop/index.css +19 -19
- package/modern/components/option/desktop/index.module.css.js +1 -1
- package/modern/components/option/mobile/index.css +16 -16
- 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/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 +3 -3
- 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-select/Component.js +1 -1
- package/moderncssm/components/base-select/Component.js.map +1 -1
- package/package.json +11 -11
- 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 +3 -3
- 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-select/Component.tsx +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
--select-mobile-checkmark-display-icon: block;
|
|
3
3
|
--select-mobile-checkmark-display-badge: none;
|
|
4
4
|
}
|
|
5
|
-
.
|
|
5
|
+
.select__checkmark_1m5h7 {
|
|
6
6
|
flex-shrink: 0;
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
height: 24px;
|
|
12
12
|
opacity: 0;
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
.select__checkmark_1m5h7:first-child {
|
|
15
15
|
display: none;
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
.select__checkmark_1m5h7.select__selected_1m5h7 {
|
|
18
18
|
opacity: 1;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.select__displayIcon_1m5h7 {
|
|
21
21
|
display: var(--select-mobile-checkmark-display-icon);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.select__displayBadge_1m5h7 {
|
|
24
24
|
display: var(--select-mobile-checkmark-display-badge);
|
|
25
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"checkmark":"
|
|
3
|
+
const styles = {"checkmark":"select__checkmark_1m5h7","selected":"select__selected_1m5h7","displayIcon":"select__displayIcon_1m5h7"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# 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_4824s {
|
|
10
10
|
display: block;
|
|
11
11
|
color: var(--color-light-neutral-translucent-500);
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.select__clearIcon_4824s:hover {
|
|
14
14
|
color: var(--color-light-neutral-translucent-500-hover);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.select__clearIcon_4824s:active {
|
|
17
17
|
color: var(--color-light-neutral-translucent-500-press);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__clearButton_4824s + [data-addon='error-icon'] {
|
|
20
20
|
display: var(--input-error-icon-display);
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"clearIcon":"
|
|
3
|
+
const styles = {"clearIcon":"select__clearIcon_4824s","clearButton":"select__clearButton_4824s"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -18,28 +18,28 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--select-arrow-hover-opacity: 0.7;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.select__component_19cpr {
|
|
22
22
|
width: 100%;
|
|
23
23
|
outline: none;
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__field_19cpr:not(.select__disabled_19cpr) {
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.select__field_19cpr:not(.select__disabled_19cpr):hover .select__arrow_19cpr {
|
|
29
29
|
opacity: var(--select-arrow-hover-opacity);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.select__disabled_19cpr {
|
|
32
32
|
cursor: var(--disabled-cursor);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.select__placeholder_19cpr {
|
|
35
35
|
color: var(--input-placeholder-color);
|
|
36
36
|
transition: color 0.2s ease;
|
|
37
|
-
animation: select__show-
|
|
37
|
+
animation: select__show-placeholder_19cpr 0.2s ease;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.select__placeholder_19cpr.select__focused_19cpr {
|
|
40
40
|
color: var(--input-focus-placeholder-color);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.select__contentWrapper_19cpr {
|
|
43
43
|
font-size: 16px;
|
|
44
44
|
line-height: 20px;
|
|
45
45
|
font-weight: 400;
|
|
@@ -50,28 +50,28 @@
|
|
|
50
50
|
overflow: hidden;
|
|
51
51
|
width: 100%;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.select__contentWrapper_19cpr.select__size-40_19cpr {
|
|
54
54
|
font-size: 14px;
|
|
55
55
|
line-height: 18px;
|
|
56
56
|
font-weight: 400;
|
|
57
57
|
font-family: var(--font-family-system);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
.select__value_19cpr {
|
|
60
60
|
overflow: hidden;
|
|
61
61
|
text-overflow: ellipsis;
|
|
62
62
|
text-align: left;
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.select__value_19cpr.select__size-40_19cpr {
|
|
65
65
|
font-size: 14px;
|
|
66
66
|
line-height: 18px;
|
|
67
67
|
font-weight: 400;
|
|
68
68
|
font-family: var(--font-family-system);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.select__focusVisible_19cpr {
|
|
71
71
|
outline: 2px solid var(--focus-color);
|
|
72
72
|
outline-offset: 2px;
|
|
73
73
|
}
|
|
74
|
-
@keyframes select__show-
|
|
74
|
+
@keyframes select__show-placeholder_19cpr {
|
|
75
75
|
from {
|
|
76
76
|
opacity: 0;
|
|
77
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"component":"
|
|
3
|
+
const styles = {"component":"select__component_19cpr","field":"select__field_19cpr","disabled":"select__disabled_19cpr","arrow":"select__arrow_19cpr","placeholder":"select__placeholder_19cpr","show-placeholder":"select__show-placeholder_19cpr","focused":"select__focused_19cpr","contentWrapper":"select__contentWrapper_19cpr","size-40":"select__size-40_19cpr","value":"select__value_19cpr","focusVisible":"select__focusVisible_19cpr"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
--gap-m: 16px;
|
|
7
7
|
--gap-16: var(--gap-m);
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.select__footer_dby9q {
|
|
10
10
|
display: flex;
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
width: 100%;
|
|
13
13
|
padding: var(--gap-16) var(--gap-16);
|
|
14
14
|
background-color: var(--color-light-modal-bg-primary);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.select__footer_dby9q .select__button_dby9q:first-of-type {
|
|
17
17
|
margin-right: var(--gap-16);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__button_dby9q {
|
|
20
20
|
width: 50%;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.select__highlighted_dby9q {
|
|
23
23
|
border-top: 1px solid var(--color-light-neutral-300);
|
|
24
24
|
background-color: var(--color-light-modal-bg-primary);
|
|
25
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"footer":"
|
|
3
|
+
const styles = {"footer":"select__footer_dby9q","button":"select__button_dby9q","highlighted":"select__highlighted_dby9q"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
--select-optgroup-l-left-padding: var(--gap-16);
|
|
24
24
|
--select-optgroup-l-right-padding: var(--gap-16);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.select__optgroup_1ly5z {
|
|
27
27
|
position: relative;
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
background: var(--select-optgroup-background);
|
|
34
34
|
min-height: 40px;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__optgroup_1ly5z + *[role='option']:before {
|
|
37
37
|
display: none;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.select__label_1ly5z {
|
|
40
40
|
font-size: 12px;
|
|
41
41
|
line-height: 16px;
|
|
42
42
|
font-weight: 400;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
display: block;
|
|
48
48
|
color: var(--select-optgroup-color);
|
|
49
49
|
}
|
|
50
|
-
.select__size-
|
|
50
|
+
.select__size-72_1ly5z {
|
|
51
51
|
padding-left: var(--select-optgroup-l-left-padding);
|
|
52
52
|
padding-right: var(--select-optgroup-l-right-padding);
|
|
53
53
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"optgroup":"
|
|
3
|
+
const styles = {"optgroup":"select__optgroup_1ly5z","label":"select__label_1ly5z","size-72":"select__size-72_1ly5z"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
--select-option-active-color: var(--color-light-text-primary);
|
|
44
44
|
--select-option-disabled-color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__option_oxr56 {
|
|
47
47
|
font-size: 16px;
|
|
48
48
|
line-height: 20px;
|
|
49
49
|
font-weight: 400;
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
position: relative;
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.select__option_oxr56:not(.select__disabled_oxr56):active {
|
|
64
64
|
background: var(--select-option-active-background);
|
|
65
65
|
color: var(--select-option-active-color);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.select__option_oxr56:before {
|
|
68
68
|
content: '';
|
|
69
69
|
position: absolute;
|
|
70
70
|
left: var(--select-option-left-padding);
|
|
@@ -75,59 +75,59 @@
|
|
|
75
75
|
display: var(--select-option-divider-display);
|
|
76
76
|
transition: opacity 0.2s ease;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.select__option_oxr56:first-child:before {
|
|
79
79
|
display: none;
|
|
80
80
|
}
|
|
81
|
-
.select__size-
|
|
81
|
+
.select__size-48_oxr56 {
|
|
82
82
|
min-height: var(--size-s-height);
|
|
83
83
|
}
|
|
84
|
-
.select__size-
|
|
84
|
+
.select__size-56_oxr56 {
|
|
85
85
|
min-height: var(--size-m-height);
|
|
86
86
|
}
|
|
87
|
-
.select__size-
|
|
87
|
+
.select__size-64_oxr56 {
|
|
88
88
|
min-height: var(--size-l-height);
|
|
89
89
|
}
|
|
90
|
-
.select__size-
|
|
90
|
+
.select__size-72_oxr56 {
|
|
91
91
|
min-height: var(--size-xl-height);
|
|
92
92
|
padding-left: var(--select-option-l-left-padding);
|
|
93
93
|
padding-right: var(--select-option-l-right-padding);
|
|
94
94
|
}
|
|
95
|
-
.select__size-
|
|
95
|
+
.select__size-72_oxr56:before {
|
|
96
96
|
left: var(--select-option-l-left-padding);
|
|
97
97
|
right: var(--select-option-l-right-padding);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.select__selected_oxr56 {
|
|
100
100
|
background: var(--select-option-selected-background);
|
|
101
101
|
color: var(--select-option-selected-color);
|
|
102
102
|
cursor: default;
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.select__highlighted_oxr56 {
|
|
105
105
|
background: var(--select-option-hover-background);
|
|
106
106
|
color: var(--select-option-hover-color);
|
|
107
107
|
}
|
|
108
|
-
.
|
|
109
|
-
.
|
|
108
|
+
.select__highlighted_oxr56:before,
|
|
109
|
+
.select__highlighted_oxr56 + .select__option_oxr56:before {
|
|
110
110
|
opacity: 0;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
.select__disabled_oxr56 {
|
|
113
113
|
cursor: var(--disabled-cursor);
|
|
114
114
|
background: var(--select-option-disabled-background);
|
|
115
115
|
color: var(--select-option-disabled-color);
|
|
116
116
|
}
|
|
117
|
-
.
|
|
117
|
+
.select__content_oxr56 {
|
|
118
118
|
overflow: hidden;
|
|
119
119
|
flex: 1;
|
|
120
120
|
text-overflow: ellipsis;
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.select__textContent_oxr56 {
|
|
123
123
|
padding-top: var(--gap-12);
|
|
124
124
|
padding-bottom: var(--gap-12);
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.select__highlighted_oxr56 {
|
|
127
127
|
background: var(--select-option-hover-background);
|
|
128
128
|
color: var(--select-option-hover-color);
|
|
129
129
|
}
|
|
130
|
-
.
|
|
131
|
-
.
|
|
130
|
+
.select__highlighted_oxr56:before,
|
|
131
|
+
.select__highlighted_oxr56 + .select__option_oxr56:before {
|
|
132
132
|
opacity: 0;
|
|
133
133
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"option":"
|
|
3
|
+
const styles = {"option":"select__option_oxr56","disabled":"select__disabled_oxr56","size-48":"select__size-48_oxr56","size-56":"select__size-56_oxr56","size-64":"select__size-64_oxr56","size-72":"select__size-72_oxr56","selected":"select__selected_oxr56","highlighted":"select__highlighted_oxr56","content":"select__content_oxr56","textContent":"select__textContent_oxr56"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
--select-option-active-color: var(--color-light-text-primary);
|
|
44
44
|
--select-option-disabled-color: var(--color-light-text-secondary);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__option_xrvsu {
|
|
47
47
|
font-size: 16px;
|
|
48
48
|
line-height: 20px;
|
|
49
49
|
font-weight: 400;
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
position: relative;
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.select__option_xrvsu:not(.select__disabled_xrvsu):active {
|
|
64
64
|
background: var(--select-option-active-background);
|
|
65
65
|
color: var(--select-option-active-color);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.select__option_xrvsu:before {
|
|
68
68
|
content: '';
|
|
69
69
|
position: absolute;
|
|
70
70
|
left: var(--select-option-left-padding);
|
|
@@ -75,51 +75,51 @@
|
|
|
75
75
|
display: var(--select-option-divider-display);
|
|
76
76
|
transition: opacity 0.2s ease;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.select__option_xrvsu:first-child:before {
|
|
79
79
|
display: none;
|
|
80
80
|
}
|
|
81
|
-
.select__size-
|
|
81
|
+
.select__size-48_xrvsu {
|
|
82
82
|
min-height: var(--size-s-height);
|
|
83
83
|
}
|
|
84
|
-
.select__size-
|
|
84
|
+
.select__size-56_xrvsu {
|
|
85
85
|
min-height: var(--size-m-height);
|
|
86
86
|
}
|
|
87
|
-
.select__size-
|
|
87
|
+
.select__size-64_xrvsu {
|
|
88
88
|
min-height: var(--size-l-height);
|
|
89
89
|
}
|
|
90
|
-
.select__size-
|
|
90
|
+
.select__size-72_xrvsu {
|
|
91
91
|
min-height: var(--size-xl-height);
|
|
92
92
|
padding-left: var(--select-option-l-left-padding);
|
|
93
93
|
padding-right: var(--select-option-l-right-padding);
|
|
94
94
|
}
|
|
95
|
-
.select__size-
|
|
95
|
+
.select__size-72_xrvsu:before {
|
|
96
96
|
left: var(--select-option-l-left-padding);
|
|
97
97
|
right: var(--select-option-l-right-padding);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.select__selected_xrvsu {
|
|
100
100
|
background: var(--select-option-selected-background);
|
|
101
101
|
color: var(--select-option-selected-color);
|
|
102
102
|
cursor: default;
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.select__highlighted_xrvsu {
|
|
105
105
|
background: var(--select-option-hover-background);
|
|
106
106
|
color: var(--select-option-hover-color);
|
|
107
107
|
}
|
|
108
|
-
.
|
|
109
|
-
.
|
|
108
|
+
.select__highlighted_xrvsu:before,
|
|
109
|
+
.select__highlighted_xrvsu + .select__option_xrvsu:before {
|
|
110
110
|
opacity: 0;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
.select__disabled_xrvsu {
|
|
113
113
|
cursor: var(--disabled-cursor);
|
|
114
114
|
background: var(--select-option-disabled-background);
|
|
115
115
|
color: var(--select-option-disabled-color);
|
|
116
116
|
}
|
|
117
|
-
.
|
|
117
|
+
.select__content_xrvsu {
|
|
118
118
|
overflow: hidden;
|
|
119
119
|
flex: 1;
|
|
120
120
|
text-overflow: ellipsis;
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.select__textContent_xrvsu {
|
|
123
123
|
padding-top: var(--gap-12);
|
|
124
124
|
padding-bottom: var(--gap-12);
|
|
125
125
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"option":"
|
|
3
|
+
const styles = {"option":"select__option_xrvsu","disabled":"select__disabled_xrvsu","size-48":"select__size-48_xrvsu","size-56":"select__size-56_xrvsu","size-64":"select__size-64_xrvsu","size-72":"select__size-72_xrvsu","selected":"select__selected_xrvsu","highlighted":"select__highlighted_xrvsu","content":"select__content_xrvsu","textContent":"select__textContent_xrvsu"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -15,57 +15,57 @@
|
|
|
15
15
|
--select-options-list-scrollbar-gap: var(--gap-12);
|
|
16
16
|
--select-options-list-empty-placeholder-color: var(--color-light-text-secondary);
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.select__optionsList_1baeo {
|
|
19
19
|
width: 100%;
|
|
20
20
|
outline: none;
|
|
21
21
|
box-sizing: border-box;
|
|
22
22
|
position: relative;
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.select__optionsList_1baeo .select__scrollable_1baeo {
|
|
25
25
|
overflow: auto;
|
|
26
26
|
width: 100%;
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.select__optionsList_1baeo .select__scrollable_1baeo .select__verticalBar_1baeo.select__verticalBar_1baeo {
|
|
29
29
|
top: var(--select-options-list-scrollbar-gap);
|
|
30
30
|
height: calc(100% - 2 * var(--select-options-list-scrollbar-gap));
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.select__optionsList_1baeo .select__scrollable_1baeo .select__verticalBar_1baeo.select__verticalBar_1baeo.select__verticalBarWithHeader_1baeo {
|
|
33
33
|
top: 0;
|
|
34
34
|
height: calc(100% - var(--select-options-list-scrollbar-gap));
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__optionsList_1baeo .select__scrollable_1baeo .select__verticalBar_1baeo.select__verticalBar_1baeo.select__verticalBarWithFooter_1baeo {
|
|
37
37
|
top: var(--select-options-list-scrollbar-gap);
|
|
38
38
|
height: calc(100% - var(--select-options-list-scrollbar-gap));
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__optionsList_1baeo .select__scrollable_1baeo .select__verticalBar_1baeo.select__verticalBar_1baeo.select__verticalBarWithHeader_1baeo.select__verticalBarWithFooter_1baeo {
|
|
41
41
|
top: 0;
|
|
42
42
|
height: 100%;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.select__optionsListHeader_1baeo {
|
|
45
45
|
box-sizing: border-box;
|
|
46
46
|
border-bottom: 1px solid transparent;
|
|
47
47
|
transition: border-color 0.2s ease;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.select__optionsListHeader_1baeo.select__headerHighlighted_1baeo {
|
|
50
50
|
border-bottom-color: var(--color-light-neutral-300);
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.select__optionsListFooter_1baeo {
|
|
53
53
|
position: sticky;
|
|
54
54
|
bottom: var(--gap-0);
|
|
55
55
|
box-sizing: border-box;
|
|
56
56
|
border-top: 1px solid transparent;
|
|
57
57
|
transition: border-color 0.2s ease;
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
.select__optionsListFooter_1baeo.select__withBorder_1baeo {
|
|
60
60
|
border-top-color: var(--color-light-neutral-300);
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.select__mask_1baeo {
|
|
63
63
|
min-width: 4000px;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.select__emptyPlaceholder_1baeo {
|
|
66
66
|
padding: var(--gap-16) var(--gap-12);
|
|
67
67
|
color: var(--select-options-list-empty-placeholder-color);
|
|
68
68
|
}
|
|
69
|
-
.select__size-
|
|
69
|
+
.select__size-72_1baeo .select__emptyPlaceholder_1baeo {
|
|
70
70
|
padding: var(--gap-24) var(--gap-16);
|
|
71
71
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"optionsList":"
|
|
3
|
+
const styles = {"optionsList":"select__optionsList_1baeo","scrollable":"select__scrollable_1baeo","verticalBar":"select__verticalBar_1baeo","verticalBarWithHeader":"select__verticalBarWithHeader_1baeo","verticalBarWithFooter":"select__verticalBarWithFooter_1baeo","optionsListHeader":"select__optionsListHeader_1baeo","headerHighlighted":"select__headerHighlighted_1baeo","optionsListFooter":"select__optionsListFooter_1baeo","withBorder":"select__withBorder_1baeo","mask":"select__mask_1baeo","emptyPlaceholder":"select__emptyPlaceholder_1baeo","size-72":"select__size-72_1baeo"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -20,42 +20,42 @@
|
|
|
20
20
|
--select-option-left-padding: var(--gap-12);
|
|
21
21
|
--select-option-right-padding: var(--gap-12);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.select__virtualOptionsList_vtijd {
|
|
24
24
|
width: 100%;
|
|
25
25
|
outline: none;
|
|
26
26
|
box-sizing: border-box;
|
|
27
27
|
position: sticky;
|
|
28
28
|
justify-content: space-between;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.select__virtualOptionsListHeader_vtijd {
|
|
31
31
|
box-sizing: border-box;
|
|
32
32
|
border-bottom: 1px solid var(--color-light-neutral-300);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.select__virtualOptionsListFooter_vtijd {
|
|
35
35
|
position: sticky;
|
|
36
36
|
bottom: var(--gap-0);
|
|
37
37
|
box-sizing: border-box;
|
|
38
38
|
border-top: 1px solid transparent;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__virtualOptionsListFooter_vtijd.select__withBorder_vtijd {
|
|
41
41
|
border-top: 1px solid var(--color-light-neutral-300);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.select__scrollable_vtijd {
|
|
44
44
|
position: relative;
|
|
45
45
|
overflow: auto;
|
|
46
46
|
width: 100%;
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.select__inner_vtijd {
|
|
49
49
|
position: relative;
|
|
50
50
|
width: 100%;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.select__virtualRow_vtijd {
|
|
53
53
|
position: absolute;
|
|
54
54
|
top: var(--gap-0);
|
|
55
55
|
left: var(--gap-0);
|
|
56
56
|
width: 100%;
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.select__virtualRow_vtijd:before {
|
|
59
59
|
content: '';
|
|
60
60
|
position: absolute;
|
|
61
61
|
z-index: 1;
|
|
@@ -66,18 +66,18 @@
|
|
|
66
66
|
background: var(--select-option-divider-background);
|
|
67
67
|
display: var(--select-option-divider-display);
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.select__virtualRow_vtijd:first-child:before {
|
|
70
70
|
display: none;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
73
|
-
.
|
|
72
|
+
.select__highlighted_vtijd:before,
|
|
73
|
+
.select__highlighted_vtijd + .select__virtualRow_vtijd:before {
|
|
74
74
|
display: none;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.select__emptyPlaceholder_vtijd {
|
|
77
77
|
padding: var(--gap-16) var(--gap-12);
|
|
78
78
|
color: var(--select-options-list-empty-placeholder-color);
|
|
79
79
|
flex: 1;
|
|
80
80
|
}
|
|
81
|
-
.select__size-
|
|
81
|
+
.select__size-72_vtijd .select__emptyPlaceholder_vtijd {
|
|
82
82
|
padding: var(--gap-24) var(--gap-16);
|
|
83
83
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"virtualOptionsList":"
|
|
3
|
+
const styles = {"virtualOptionsList":"select__virtualOptionsList_vtijd","virtualOptionsListHeader":"select__virtualOptionsListHeader_vtijd","virtualOptionsListFooter":"select__virtualOptionsListFooter_vtijd","withBorder":"select__withBorder_vtijd","scrollable":"select__scrollable_vtijd","inner":"select__inner_vtijd","virtualRow":"select__virtualRow_vtijd","highlighted":"select__highlighted_vtijd","emptyPlaceholder":"select__emptyPlaceholder_vtijd","size-72":"select__size-72_vtijd"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
:root {
|
|
13
13
|
--select-option-list-footer-button-gap: var(--gap-8);
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.select__footer_hidi8 {
|
|
16
16
|
background-color: var(--color-light-base-bg-primary);
|
|
17
17
|
padding: var(--gap-12);
|
|
18
18
|
outline: none;
|
|
19
19
|
}
|
|
20
|
-
.
|
|
20
|
+
.select__footer_hidi8.select__size-72_hidi8 {
|
|
21
21
|
padding: var(--gap-12) var(--gap-16);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.select__footer_hidi8 > .select__button_hidi8 + .select__button_hidi8 {
|
|
24
24
|
margin-left: var(--select-option-list-footer-button-gap);
|
|
25
25
|
}
|
package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"footer":"
|
|
3
|
+
const styles = {"footer":"select__footer_hidi8","size-72":"select__size-72_hidi8","button":"select__button_hidi8"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|