@alfalab/core-components-select 19.1.10 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/arrow/index.css +4 -4
- package/components/arrow/index.module.css.js +1 -1
- package/components/base-checkmark/index.css +9 -9
- package/components/base-checkmark/index.module.css.js +1 -1
- package/components/base-option/index.css +14 -14
- package/components/base-option/index.module.css.js +1 -1
- package/components/base-select/Component.js +36 -49
- package/components/base-select/Component.js.map +1 -1
- package/components/base-select/index.css +70 -20
- package/components/base-select/index.module.css.js +1 -1
- package/components/base-select/index.module.css.js.map +1 -1
- package/components/base-select/mobile.css +12 -11
- 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 +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 +23 -19
- package/components/option/desktop/index.module.css.js +1 -1
- package/components/option/desktop/index.module.css.js.map +1 -1
- package/components/option/mobile/index.css +20 -16
- package/components/option/mobile/index.module.css.js +1 -1
- package/components/option/mobile/index.module.css.js.map +1 -1
- package/components/options-list/Component.d.ts +4 -0
- package/components/options-list/Component.js +32 -53
- package/components/options-list/Component.js.map +1 -1
- package/components/options-list/index.css +13 -33
- package/components/options-list/index.module.css.js +1 -1
- package/components/options-list/index.module.css.js.map +1 -1
- package/components/search/index.css +1 -1
- package/components/search/index.module.css.js +1 -1
- package/components/virtual-options-list/Component.d.ts +4 -0
- package/components/virtual-options-list/Component.js +61 -48
- package/components/virtual-options-list/Component.js.map +1 -1
- package/cssm/components/base-select/Component.js +36 -49
- package/cssm/components/base-select/Component.js.map +1 -1
- package/cssm/components/base-select/index.module.css +61 -11
- package/cssm/components/base-select/mobile.module.css +1 -0
- package/cssm/components/option/desktop/index.module.css +4 -0
- package/cssm/components/option/mobile/index.module.css +4 -0
- package/cssm/components/options-list/Component.d.ts +4 -0
- package/cssm/components/options-list/Component.js +32 -53
- package/cssm/components/options-list/Component.js.map +1 -1
- package/cssm/components/options-list/index.module.css +6 -26
- package/cssm/components/virtual-options-list/Component.d.ts +4 -0
- package/cssm/components/virtual-options-list/Component.js +61 -48
- package/cssm/components/virtual-options-list/Component.js.map +1 -1
- package/cssm/presets/useSelectWithApply/hook.d.ts +12 -0
- package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +4 -0
- package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +0 -5
- package/cssm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +9 -6
- package/cssm/shared/index.js +0 -1
- package/cssm/shared/index.js.map +1 -1
- package/cssm/typings.d.ts +21 -1
- package/cssm/utils.d.ts +1 -6
- package/cssm/utils.js +19 -28
- package/cssm/utils.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 +9 -9
- package/esm/components/base-checkmark/index.module.css.js +1 -1
- package/esm/components/base-option/index.css +14 -14
- package/esm/components/base-option/index.module.css.js +1 -1
- package/esm/components/base-select/Component.js +37 -50
- package/esm/components/base-select/Component.js.map +1 -1
- package/esm/components/base-select/index.css +70 -20
- package/esm/components/base-select/index.module.css.js +1 -1
- package/esm/components/base-select/index.module.css.js.map +1 -1
- package/esm/components/base-select/mobile.css +12 -11
- 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 +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 +23 -19
- package/esm/components/option/desktop/index.module.css.js +1 -1
- package/esm/components/option/desktop/index.module.css.js.map +1 -1
- package/esm/components/option/mobile/index.css +20 -16
- package/esm/components/option/mobile/index.module.css.js +1 -1
- package/esm/components/option/mobile/index.module.css.js.map +1 -1
- package/esm/components/options-list/Component.d.ts +4 -0
- package/esm/components/options-list/Component.js +33 -54
- package/esm/components/options-list/Component.js.map +1 -1
- package/esm/components/options-list/index.css +13 -33
- package/esm/components/options-list/index.module.css.js +1 -1
- package/esm/components/options-list/index.module.css.js.map +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/Component.d.ts +4 -0
- package/esm/components/virtual-options-list/Component.js +63 -49
- package/esm/components/virtual-options-list/Component.js.map +1 -1
- package/esm/mobile/modal.mobile.css +1 -1
- package/esm/mobile/modal.mobile.module.css.js +1 -1
- package/esm/presets/useSelectWithApply/hook.d.ts +12 -0
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +4 -0
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +2 -7
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js.map +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +12 -9
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js.map +1 -1
- package/esm/presets/useSelectWithLoading/index.css +1 -1
- package/esm/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/esm/shared/index.js +1 -1
- package/esm/typings.d.ts +21 -1
- package/esm/utils.d.ts +1 -6
- package/esm/utils.js +21 -29
- package/esm/utils.js.map +1 -1
- package/mobile/modal.mobile.css +1 -1
- package/mobile/modal.mobile.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 +9 -9
- package/modern/components/base-checkmark/index.module.css.js +1 -1
- package/modern/components/base-option/index.css +14 -14
- package/modern/components/base-option/index.module.css.js +1 -1
- package/modern/components/base-select/Component.js +34 -47
- package/modern/components/base-select/Component.js.map +1 -1
- package/modern/components/base-select/index.css +70 -20
- package/modern/components/base-select/index.module.css.js +1 -1
- package/modern/components/base-select/index.module.css.js.map +1 -1
- package/modern/components/base-select/mobile.css +12 -11
- 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 +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 +23 -19
- package/modern/components/option/desktop/index.module.css.js +1 -1
- package/modern/components/option/desktop/index.module.css.js.map +1 -1
- package/modern/components/option/mobile/index.css +20 -16
- package/modern/components/option/mobile/index.module.css.js +1 -1
- package/modern/components/option/mobile/index.module.css.js.map +1 -1
- package/modern/components/options-list/Component.d.ts +4 -0
- package/modern/components/options-list/Component.js +29 -49
- package/modern/components/options-list/Component.js.map +1 -1
- package/modern/components/options-list/index.css +13 -33
- package/modern/components/options-list/index.module.css.js +1 -1
- package/modern/components/options-list/index.module.css.js.map +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/Component.d.ts +4 -0
- package/modern/components/virtual-options-list/Component.js +59 -45
- package/modern/components/virtual-options-list/Component.js.map +1 -1
- package/modern/mobile/modal.mobile.css +1 -1
- package/modern/mobile/modal.mobile.module.css.js +1 -1
- package/modern/presets/useSelectWithApply/hook.d.ts +12 -0
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +4 -0
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +2 -7
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js.map +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +12 -9
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js.map +1 -1
- package/modern/presets/useSelectWithLoading/index.css +1 -1
- package/modern/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/modern/shared/index.js +1 -1
- package/modern/typings.d.ts +21 -1
- package/modern/utils.d.ts +1 -6
- package/modern/utils.js +21 -29
- package/modern/utils.js.map +1 -1
- package/moderncssm/components/base-select/Component.js +34 -47
- package/moderncssm/components/base-select/Component.js.map +1 -1
- package/moderncssm/components/base-select/index.module.css +67 -9
- package/moderncssm/components/base-select/mobile.module.css +1 -0
- package/moderncssm/components/option/desktop/index.module.css +3 -0
- package/moderncssm/components/option/mobile/index.module.css +3 -0
- package/moderncssm/components/options-list/Component.d.ts +4 -0
- package/moderncssm/components/options-list/Component.js +29 -49
- package/moderncssm/components/options-list/Component.js.map +1 -1
- package/moderncssm/components/options-list/index.module.css +7 -32
- package/moderncssm/components/virtual-options-list/Component.d.ts +4 -0
- package/moderncssm/components/virtual-options-list/Component.js +59 -45
- package/moderncssm/components/virtual-options-list/Component.js.map +1 -1
- package/moderncssm/presets/useSelectWithApply/hook.d.ts +12 -0
- package/moderncssm/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +4 -0
- package/moderncssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +0 -4
- package/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +8 -6
- package/moderncssm/shared/index.js +1 -1
- package/moderncssm/typings.d.ts +21 -1
- package/moderncssm/utils.d.ts +1 -6
- package/moderncssm/utils.js +21 -29
- package/moderncssm/utils.js.map +1 -1
- package/package.json +13 -14
- package/presets/useSelectWithApply/hook.d.ts +12 -0
- package/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +4 -0
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +2 -7
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js.map +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/header/index.css +12 -9
- package/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js.map +1 -1
- package/presets/useSelectWithLoading/index.css +1 -1
- package/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/shared/index.js +0 -1
- package/shared/index.js.map +1 -1
- package/src/components/base-select/Component.tsx +41 -55
- package/src/components/base-select/index.module.css +60 -8
- package/src/components/base-select/mobile.module.css +1 -0
- package/src/components/option/index.module.css +4 -0
- package/src/components/options-list/Component.tsx +54 -97
- package/src/components/options-list/index.module.css +7 -31
- package/src/components/virtual-options-list/Component.tsx +95 -72
- package/src/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +0 -4
- package/src/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +4 -4
- package/src/typings.ts +26 -0
- package/src/utils.ts +30 -34
- package/src/vars.css +3 -0
- package/typings.d.ts +21 -1
- package/utils.d.ts +1 -6
- package/utils.js +19 -28
- package/utils.js.map +1 -1
- package/components/virtual-options-list/index.css +0 -83
- package/components/virtual-options-list/index.module.css.js +0 -8
- package/components/virtual-options-list/index.module.css.js.map +0 -1
- package/cssm/components/virtual-options-list/index.module.css +0 -83
- package/esm/components/virtual-options-list/index.css +0 -83
- package/esm/components/virtual-options-list/index.module.css.js +0 -6
- package/esm/components/virtual-options-list/index.module.css.js.map +0 -1
- package/modern/components/virtual-options-list/index.css +0 -83
- package/modern/components/virtual-options-list/index.module.css.js +0 -6
- package/modern/components/virtual-options-list/index.module.css.js.map +0 -1
- package/moderncssm/components/virtual-options-list/index.module.css +0 -81
- package/src/components/virtual-options-list/index.module.css +0 -77
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/base-select/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.component {\n width: max-content;\n position: relative;\n outline: 0;\n max-width: 100%;\n}\n\n.popoverInner {\n padding-top: var(--select-options-list-offset);\n padding-bottom: var(--select-options-list-offset);\n background: transparent;\n border-radius: var(--border-radius-0);\n position: relative;\n}\n\n.popoverInner.popoverInner {\n box-shadow: none;\n border: none;\n}\n\n.optionsListWrapper {\n position: relative;\n
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/base-select/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.component {\n width: max-content;\n position: relative;\n outline: 0;\n max-width: 100%;\n}\n\n.popoverInner {\n padding-top: var(--select-options-list-offset);\n padding-bottom: var(--select-options-list-offset);\n background: transparent;\n border-radius: var(--border-radius-0);\n position: relative;\n}\n\n.popoverInner.popoverInner {\n box-shadow: none;\n border: none;\n}\n\n.optionsListWrapper {\n position: relative;\n box-shadow: var(--select-options-list-box-shadow);\n border-radius: var(--select-options-list-border-radius);\n background: var(--select-option-background);\n overflow: hidden;\n}\n\n.optionsListBorder {\n position: absolute;\n top: var(--gap-0);\n right: var(--gap-0);\n bottom: var(--gap-0);\n left: var(--gap-0);\n box-shadow: inset 0 0 0 1px var(--color-light-neutral-300);\n border-radius: inherit;\n pointer-events: none;\n}\n\n.nativeSelect {\n opacity: 0;\n overflow: hidden;\n position: absolute;\n top: var(--gap-0);\n bottom: var(--gap-0);\n left: var(--gap-0);\n width: 100%;\n max-width: 100%;\n min-width: 0;\n height: 100%;\n cursor: pointer;\n z-index: 1;\n}\n\n.block {\n width: 100%;\n}\n\n.emptySearchPlaceholder {\n text-align: center;\n}\n\n.search {\n margin: calc(var(--gap-12) - var(--select-options-list-top-padding))\n calc(var(--gap-12) - var(--select-options-list-right-padding)) var(--gap-0)\n calc(var(--gap-12) - var(--select-options-list-left-padding));\n\n &:last-child {\n margin-bottom: calc(var(--gap-12) - var(--select-options-list-bottom-padding));\n }\n}\n\n.option {\n border-radius: var(--select-option-border-radius);\n}\n\n.list {\n display: inline-block;\n}\n\n.matchContent {\n .scrollbar[data-simplebar] {\n .scrollable {\n display: flex;\n }\n\n .content {\n flex-grow: 1;\n }\n\n .list {\n display: inline-block;\n min-width: 100%;\n }\n }\n\n *:not(&) .list {\n min-width: 100%;\n max-width: 100%;\n }\n}\n\n.scrollbar {\n padding-right: var(--select-options-list-right-padding);\n padding-left: var(--select-options-list-left-padding);\n &:first-child {\n .list:before {\n content: '';\n display: block;\n padding-top: var(--select-options-list-top-padding);\n }\n }\n &:last-child {\n .list:after {\n content: '';\n display: block;\n padding-top: var(--select-options-list-bottom-padding);\n }\n }\n}\n\n:global(.simplebar-track):global(.simplebar-vertical) {\n .scrollbar:first-child & {\n top: var(--select-options-list-scrollbar-gap);\n }\n .scrollbar:last-child & {\n bottom: var(--select-options-list-scrollbar-gap);\n }\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,yBAAyB,CAAC,cAAc,CAAC,4BAA4B,CAAC,oBAAoB,CAAC,kCAAkC,CAAC,mBAAmB,CAAC,iCAAiC,CAAC,cAAc,CAAC,4BAA4B,CAAC,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,sCAAsC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,4BAA4B,CAAC,WAAW,CAAC,yBAAyB,CAAC,YAAY,CAAC,0BAA0B,CAAC,SAAS,CAAC,uBAAuB,CAAC;;;;"}
|
|
@@ -9,40 +9,41 @@
|
|
|
9
9
|
--gap-16: var(--gap-m);
|
|
10
10
|
--gap-20: var(--gap-l);
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.select__sheet_1oz79 {
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.select__sheetContent_1oz79.select__sheetContent_1oz79 {
|
|
16
16
|
padding: var(--gap-0);
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.select__sheetContent_1oz79.select__sheetContent_1oz79 .select__modalContent_1oz79 {
|
|
19
19
|
padding: var(--gap-0);
|
|
20
20
|
display: flex;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.select__sheetContainer_1oz79 {
|
|
24
24
|
padding: var(--gap-0);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.select__optionsListWrapper_1oz79 {
|
|
27
27
|
flex: 1;
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
.select__optionsList_1oz79.select__optionsList_1oz79 {
|
|
30
30
|
height: 100%;
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.select__scrollbar_1oz79 {
|
|
35
35
|
flex: 1;
|
|
36
|
+
overflow: visible;
|
|
36
37
|
}
|
|
37
|
-
.
|
|
38
|
+
.select__search_1oz79 {
|
|
38
39
|
padding: var(--gap-8);
|
|
39
40
|
}
|
|
40
|
-
.
|
|
41
|
+
.select__option_1oz79.select__option_1oz79 {
|
|
41
42
|
padding: var(--gap-4) var(--gap-20) var(--gap-4);
|
|
42
43
|
}
|
|
43
|
-
.
|
|
44
|
+
.select__option_1oz79.select__option_1oz79:before {
|
|
44
45
|
display: none;
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.select__optionGroup_1oz79.select__optionGroup_1oz79 {
|
|
47
48
|
padding: var(--gap-16) var(--gap-16) var(--gap-8);
|
|
48
49
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './mobile.css';
|
|
2
2
|
|
|
3
|
-
var mobileStyles = {"sheet":"
|
|
3
|
+
var mobileStyles = {"sheet":"select__sheet_1oz79","sheetContent":"select__sheetContent_1oz79","modalContent":"select__modalContent_1oz79","sheetContainer":"select__sheetContainer_1oz79","optionsListWrapper":"select__optionsListWrapper_1oz79","optionsList":"select__optionsList_1oz79","scrollbar":"select__scrollbar_1oz79","search":"select__search_1oz79","option":"select__option_1oz79","optionGroup":"select__optionGroup_1oz79"};
|
|
4
4
|
|
|
5
5
|
export { mobileStyles as default };
|
|
6
6
|
//# 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);\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;;;;"}
|
|
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 overflow: visible;\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_1ykvg {
|
|
17
17
|
flex-shrink: 0;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__checkmark_1ykvg.select__before_1ykvg {
|
|
20
20
|
display: var(--select-checkmark-before-display);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.select__checkmark_1ykvg.select__after_1ykvg {
|
|
23
23
|
display: var(--select-checkmark-after-display);
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__single_1ykvg {
|
|
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_1ykvg.select__selected_1ykvg {
|
|
34
34
|
opacity: 1;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__multiple_1ykvg.select__before_1ykvg {
|
|
37
37
|
margin-right: var(--gap-12);
|
|
38
38
|
display: var(--select-checkmark-before-display-multiple);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__multiple_1ykvg.select__after_1ykvg {
|
|
41
41
|
margin-left: var(--gap-12);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.select__after_1ykvg.select__after_1ykvg {
|
|
44
44
|
display: var(--select-checkmark-after-display);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__after_1ykvg.select__after_1ykvg.select__single_1ykvg {
|
|
47
47
|
display: var(--select-checkmark-after-display-single);
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.select__colorIcon_1ykvg {
|
|
50
50
|
color: var(--color-light-status-positive);
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.select__displayIcon_1ykvg {
|
|
53
53
|
display: block;
|
|
54
54
|
width: 100%;
|
|
55
55
|
height: 100%;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"checkmark":"
|
|
3
|
+
var styles = {"checkmark":"select__checkmark_1ykvg","before":"select__before_1ykvg","after":"select__after_1ykvg","single":"select__single_1ykvg","selected":"select__selected_1ykvg","multiple":"select__multiple_1ykvg","colorIcon":"select__colorIcon_1ykvg","displayIcon":"select__displayIcon_1ykvg"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# 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_4z873 {
|
|
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_4z873.select__selected_4z873 {
|
|
19
19
|
opacity: 1;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.select__checkmark_4z873.select__before_4z873 {
|
|
22
22
|
margin-right: var(--gap-8);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.select__checkmark_4z873.select__after_4z873 {
|
|
25
25
|
margin-left: var(--gap-8);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.select__displayIcon_4z873 {
|
|
28
28
|
display: var(--select-mobile-checkmark-display-icon);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.select__displayBadge_4z873 {
|
|
31
31
|
display: var(--select-mobile-checkmark-display-badge);
|
|
32
32
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"checkmark":"
|
|
3
|
+
var styles = {"checkmark":"select__checkmark_4z873","selected":"select__selected_4z873","before":"select__before_4z873","after":"select__after_4z873","displayIcon":"select__displayIcon_4z873","displayBadge":"select__displayBadge_4z873"};
|
|
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_88ytj {
|
|
10
10
|
display: block;
|
|
11
11
|
color: var(--color-light-neutral-translucent-500);
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.select__clearIcon_88ytj:hover {
|
|
14
14
|
color: var(--color-light-neutral-translucent-500-hover);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.select__clearIcon_88ytj:active {
|
|
17
17
|
color: var(--color-light-neutral-translucent-500-press);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__clearButton_88ytj + [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
|
-
var styles = {"clearIcon":"
|
|
3
|
+
var styles = {"clearIcon":"select__clearIcon_88ytj","clearButton":"select__clearButton_88ytj"};
|
|
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_1ddmf {
|
|
22
22
|
width: 100%;
|
|
23
23
|
outline: none;
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__field_1ddmf:not(.select__disabled_1ddmf) {
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.select__field_1ddmf:not(.select__disabled_1ddmf):hover .select__arrow_1ddmf {
|
|
29
29
|
opacity: var(--select-arrow-hover-opacity);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.select__disabled_1ddmf {
|
|
32
32
|
cursor: var(--disabled-cursor);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.select__placeholder_1ddmf {
|
|
35
35
|
color: var(--input-placeholder-color);
|
|
36
36
|
transition: color 0.2s ease;
|
|
37
|
-
animation: select__show-
|
|
37
|
+
animation: select__show-placeholder_1ddmf 0.2s ease;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.select__placeholder_1ddmf.select__focused_1ddmf {
|
|
40
40
|
color: var(--input-focus-placeholder-color);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.select__contentWrapper_1ddmf {
|
|
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_1ddmf.select__size-40_1ddmf {
|
|
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_1ddmf {
|
|
60
60
|
overflow: hidden;
|
|
61
61
|
text-overflow: ellipsis;
|
|
62
62
|
text-align: left;
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.select__value_1ddmf.select__size-40_1ddmf {
|
|
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_1ddmf {
|
|
71
71
|
outline: 2px solid var(--focus-color);
|
|
72
72
|
outline-offset: 2px;
|
|
73
73
|
}
|
|
74
|
-
@keyframes select__show-
|
|
74
|
+
@keyframes select__show-placeholder_1ddmf {
|
|
75
75
|
from {
|
|
76
76
|
opacity: 0;
|
|
77
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"
|
|
3
|
+
var styles = {"component":"select__component_1ddmf","field":"select__field_1ddmf","disabled":"select__disabled_1ddmf","arrow":"select__arrow_1ddmf","placeholder":"select__placeholder_1ddmf","show-placeholder":"select__show-placeholder_1ddmf","focused":"select__focused_1ddmf","contentWrapper":"select__contentWrapper_1ddmf","size-40":"select__size-40_1ddmf","value":"select__value_1ddmf","focusVisible":"select__focusVisible_1ddmf"};
|
|
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_1hrgj {
|
|
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_1hrgj .select__button_1hrgj:first-of-type {
|
|
17
17
|
margin-right: var(--gap-16);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__button_1hrgj {
|
|
20
20
|
width: 50%;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.select__highlighted_1hrgj {
|
|
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
|
-
var styles = {"footer":"
|
|
3
|
+
var styles = {"footer":"select__footer_1hrgj","button":"select__button_1hrgj","highlighted":"select__highlighted_1hrgj"};
|
|
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_10tuw {
|
|
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_10tuw + *[role='option']:before {
|
|
37
37
|
display: none;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.select__label_10tuw {
|
|
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_10tuw {
|
|
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
|
-
var styles = {"optgroup":"
|
|
3
|
+
var styles = {"optgroup":"select__optgroup_10tuw","label":"select__label_10tuw","size-72":"select__size-72_10tuw"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
:root {
|
|
21
21
|
--disabled-cursor: not-allowed;
|
|
22
|
+
--size-xs-height: 40px;
|
|
22
23
|
--size-s-height: 48px;
|
|
23
24
|
--size-m-height: 56px;
|
|
24
25
|
--size-l-height: 64px;
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
--select-option-active-color: var(--color-light-text-primary);
|
|
44
45
|
--select-option-disabled-color: var(--color-light-text-secondary);
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.select__option_16sm7 {
|
|
47
48
|
font-size: 16px;
|
|
48
49
|
line-height: 20px;
|
|
49
50
|
font-weight: 400;
|
|
@@ -60,11 +61,11 @@
|
|
|
60
61
|
position: relative;
|
|
61
62
|
cursor: pointer;
|
|
62
63
|
}
|
|
63
|
-
.
|
|
64
|
+
.select__option_16sm7:not(.select__disabled_16sm7):active {
|
|
64
65
|
background: var(--select-option-active-background);
|
|
65
66
|
color: var(--select-option-active-color);
|
|
66
67
|
}
|
|
67
|
-
.
|
|
68
|
+
.select__option_16sm7:before {
|
|
68
69
|
content: '';
|
|
69
70
|
position: absolute;
|
|
70
71
|
left: var(--select-option-left-padding);
|
|
@@ -75,59 +76,62 @@
|
|
|
75
76
|
display: var(--select-option-divider-display);
|
|
76
77
|
transition: opacity 0.2s ease;
|
|
77
78
|
}
|
|
78
|
-
.
|
|
79
|
+
.select__option_16sm7:first-child:before {
|
|
79
80
|
display: none;
|
|
80
81
|
}
|
|
81
|
-
.select__size-
|
|
82
|
+
.select__size-40_16sm7 {
|
|
83
|
+
min-height: var(--size-xs-height);
|
|
84
|
+
}
|
|
85
|
+
.select__size-48_16sm7 {
|
|
82
86
|
min-height: var(--size-s-height);
|
|
83
87
|
}
|
|
84
|
-
.select__size-
|
|
88
|
+
.select__size-56_16sm7 {
|
|
85
89
|
min-height: var(--size-m-height);
|
|
86
90
|
}
|
|
87
|
-
.select__size-
|
|
91
|
+
.select__size-64_16sm7 {
|
|
88
92
|
min-height: var(--size-l-height);
|
|
89
93
|
}
|
|
90
|
-
.select__size-
|
|
94
|
+
.select__size-72_16sm7 {
|
|
91
95
|
min-height: var(--size-xl-height);
|
|
92
96
|
padding-left: var(--select-option-l-left-padding);
|
|
93
97
|
padding-right: var(--select-option-l-right-padding);
|
|
94
98
|
}
|
|
95
|
-
.select__size-
|
|
99
|
+
.select__size-72_16sm7:before {
|
|
96
100
|
left: var(--select-option-l-left-padding);
|
|
97
101
|
right: var(--select-option-l-right-padding);
|
|
98
102
|
}
|
|
99
|
-
.
|
|
103
|
+
.select__selected_16sm7 {
|
|
100
104
|
background: var(--select-option-selected-background);
|
|
101
105
|
color: var(--select-option-selected-color);
|
|
102
106
|
cursor: default;
|
|
103
107
|
}
|
|
104
|
-
.
|
|
108
|
+
.select__highlighted_16sm7 {
|
|
105
109
|
background: var(--select-option-hover-background);
|
|
106
110
|
color: var(--select-option-hover-color);
|
|
107
111
|
}
|
|
108
|
-
.
|
|
109
|
-
.
|
|
112
|
+
.select__highlighted_16sm7:before,
|
|
113
|
+
.select__highlighted_16sm7 + .select__option_16sm7:before {
|
|
110
114
|
opacity: 0;
|
|
111
115
|
}
|
|
112
|
-
.
|
|
116
|
+
.select__disabled_16sm7 {
|
|
113
117
|
cursor: var(--disabled-cursor);
|
|
114
118
|
background: var(--select-option-disabled-background);
|
|
115
119
|
color: var(--select-option-disabled-color);
|
|
116
120
|
}
|
|
117
|
-
.
|
|
121
|
+
.select__content_16sm7 {
|
|
118
122
|
overflow: hidden;
|
|
119
123
|
flex: 1;
|
|
120
124
|
text-overflow: ellipsis;
|
|
121
125
|
}
|
|
122
|
-
.
|
|
126
|
+
.select__textContent_16sm7 {
|
|
123
127
|
padding-top: var(--gap-12);
|
|
124
128
|
padding-bottom: var(--gap-12);
|
|
125
129
|
}
|
|
126
|
-
.
|
|
130
|
+
.select__highlighted_16sm7 {
|
|
127
131
|
background: var(--select-option-hover-background);
|
|
128
132
|
color: var(--select-option-hover-color);
|
|
129
133
|
}
|
|
130
|
-
.
|
|
131
|
-
.
|
|
134
|
+
.select__highlighted_16sm7:before,
|
|
135
|
+
.select__highlighted_16sm7 + .select__option_16sm7:before {
|
|
132
136
|
opacity: 0;
|
|
133
137
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"option":"
|
|
3
|
+
var styles = {"option":"select__option_16sm7","disabled":"select__disabled_16sm7","size-40":"select__size-40_16sm7","size-48":"select__size-48_16sm7","size-56":"select__size-56_16sm7","size-64":"select__size-64_16sm7","size-72":"select__size-72_16sm7","selected":"select__selected_16sm7","highlighted":"select__highlighted_16sm7","content":"select__content_16sm7","textContent":"select__textContent_16sm7"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../../src/components/option/desktop/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../../vars.css';\n@import '../index.module.css';\n\n.highlighted {\n background: var(--select-option-hover-background);\n color: var(--select-option-hover-color);\n\n &:before,\n & + .option:before {\n opacity: 0;\n }\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,QAAQ,CAAC,sBAAsB,CAAC,UAAU,CAAC,wBAAwB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,wBAAwB,CAAC,aAAa,CAAC,2BAA2B,CAAC,SAAS,CAAC,uBAAuB,CAAC,aAAa,CAAC,2BAA2B,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../../src/components/option/desktop/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../../vars.css';\n@import '../index.module.css';\n\n.highlighted {\n background: var(--select-option-hover-background);\n color: var(--select-option-hover-color);\n\n &:before,\n & + .option:before {\n opacity: 0;\n }\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,QAAQ,CAAC,sBAAsB,CAAC,UAAU,CAAC,wBAAwB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,wBAAwB,CAAC,aAAa,CAAC,2BAA2B,CAAC,SAAS,CAAC,uBAAuB,CAAC,aAAa,CAAC,2BAA2B,CAAC;;;;"}
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
:root {
|
|
21
21
|
--disabled-cursor: not-allowed;
|
|
22
|
+
--size-xs-height: 40px;
|
|
22
23
|
--size-s-height: 48px;
|
|
23
24
|
--size-m-height: 56px;
|
|
24
25
|
--size-l-height: 64px;
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
--select-option-active-color: var(--color-light-text-primary);
|
|
44
45
|
--select-option-disabled-color: var(--color-light-text-secondary);
|
|
45
46
|
}
|
|
46
|
-
.
|
|
47
|
+
.select__option_1q310 {
|
|
47
48
|
font-size: 16px;
|
|
48
49
|
line-height: 20px;
|
|
49
50
|
font-weight: 400;
|
|
@@ -60,11 +61,11 @@
|
|
|
60
61
|
position: relative;
|
|
61
62
|
cursor: pointer;
|
|
62
63
|
}
|
|
63
|
-
.
|
|
64
|
+
.select__option_1q310:not(.select__disabled_1q310):active {
|
|
64
65
|
background: var(--select-option-active-background);
|
|
65
66
|
color: var(--select-option-active-color);
|
|
66
67
|
}
|
|
67
|
-
.
|
|
68
|
+
.select__option_1q310:before {
|
|
68
69
|
content: '';
|
|
69
70
|
position: absolute;
|
|
70
71
|
left: var(--select-option-left-padding);
|
|
@@ -75,51 +76,54 @@
|
|
|
75
76
|
display: var(--select-option-divider-display);
|
|
76
77
|
transition: opacity 0.2s ease;
|
|
77
78
|
}
|
|
78
|
-
.
|
|
79
|
+
.select__option_1q310:first-child:before {
|
|
79
80
|
display: none;
|
|
80
81
|
}
|
|
81
|
-
.select__size-
|
|
82
|
+
.select__size-40_1q310 {
|
|
83
|
+
min-height: var(--size-xs-height);
|
|
84
|
+
}
|
|
85
|
+
.select__size-48_1q310 {
|
|
82
86
|
min-height: var(--size-s-height);
|
|
83
87
|
}
|
|
84
|
-
.select__size-
|
|
88
|
+
.select__size-56_1q310 {
|
|
85
89
|
min-height: var(--size-m-height);
|
|
86
90
|
}
|
|
87
|
-
.select__size-
|
|
91
|
+
.select__size-64_1q310 {
|
|
88
92
|
min-height: var(--size-l-height);
|
|
89
93
|
}
|
|
90
|
-
.select__size-
|
|
94
|
+
.select__size-72_1q310 {
|
|
91
95
|
min-height: var(--size-xl-height);
|
|
92
96
|
padding-left: var(--select-option-l-left-padding);
|
|
93
97
|
padding-right: var(--select-option-l-right-padding);
|
|
94
98
|
}
|
|
95
|
-
.select__size-
|
|
99
|
+
.select__size-72_1q310:before {
|
|
96
100
|
left: var(--select-option-l-left-padding);
|
|
97
101
|
right: var(--select-option-l-right-padding);
|
|
98
102
|
}
|
|
99
|
-
.
|
|
103
|
+
.select__selected_1q310 {
|
|
100
104
|
background: var(--select-option-selected-background);
|
|
101
105
|
color: var(--select-option-selected-color);
|
|
102
106
|
cursor: default;
|
|
103
107
|
}
|
|
104
|
-
.
|
|
108
|
+
.select__highlighted_1q310 {
|
|
105
109
|
background: var(--select-option-hover-background);
|
|
106
110
|
color: var(--select-option-hover-color);
|
|
107
111
|
}
|
|
108
|
-
.
|
|
109
|
-
.
|
|
112
|
+
.select__highlighted_1q310:before,
|
|
113
|
+
.select__highlighted_1q310 + .select__option_1q310:before {
|
|
110
114
|
opacity: 0;
|
|
111
115
|
}
|
|
112
|
-
.
|
|
116
|
+
.select__disabled_1q310 {
|
|
113
117
|
cursor: var(--disabled-cursor);
|
|
114
118
|
background: var(--select-option-disabled-background);
|
|
115
119
|
color: var(--select-option-disabled-color);
|
|
116
120
|
}
|
|
117
|
-
.
|
|
121
|
+
.select__content_1q310 {
|
|
118
122
|
overflow: hidden;
|
|
119
123
|
flex: 1;
|
|
120
124
|
text-overflow: ellipsis;
|
|
121
125
|
}
|
|
122
|
-
.
|
|
126
|
+
.select__textContent_1q310 {
|
|
123
127
|
padding-top: var(--gap-12);
|
|
124
128
|
padding-bottom: var(--gap-12);
|
|
125
129
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"option":"
|
|
3
|
+
var styles = {"option":"select__option_1q310","disabled":"select__disabled_1q310","size-40":"select__size-40_1q310","size-48":"select__size-48_1q310","size-56":"select__size-56_1q310","size-64":"select__size-64_1q310","size-72":"select__size-72_1q310","selected":"select__selected_1q310","highlighted":"select__highlighted_1q310","content":"select__content_1q310","textContent":"select__textContent_1q310"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../../src/components/option/mobile/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../../vars.css';\n@import '../index.module.css';\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,QAAQ,CAAC,sBAAsB,CAAC,UAAU,CAAC,wBAAwB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,wBAAwB,CAAC,aAAa,CAAC,2BAA2B,CAAC,SAAS,CAAC,uBAAuB,CAAC,aAAa,CAAC,2BAA2B,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../../src/components/option/mobile/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../../vars.css';\n@import '../index.module.css';\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,QAAQ,CAAC,sBAAsB,CAAC,UAAU,CAAC,wBAAwB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,wBAAwB,CAAC,aAAa,CAAC,2BAA2B,CAAC,SAAS,CAAC,uBAAuB,CAAC,aAAa,CAAC,2BAA2B,CAAC;;;;"}
|
|
@@ -33,4 +33,8 @@ export declare const OptionsList: React.ForwardRefExoticComponent<Pick<import(".
|
|
|
33
33
|
search?: string;
|
|
34
34
|
multiple?: boolean;
|
|
35
35
|
limitDynamicOptionGroupSize?: import("../../typings").BaseSelectProps["limitDynamicOptionGroupSize"];
|
|
36
|
+
scrollableNodeClassName?: string;
|
|
37
|
+
contentNodeClassName?: string;
|
|
38
|
+
listNodeClassName?: string;
|
|
39
|
+
ctrlRef?: React.Ref<import("../../typings").OptionsListController>;
|
|
36
40
|
} & React.RefAttributes<HTMLDivElement>>;
|