@alfalab/core-components-select 13.2.19 → 13.2.20
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/{Component-67e36290.js → Component-44ef3579.js} +1 -1
- package/{Component-86fe0799.js → Component-ab39b2d3.js} +4 -4
- package/Component.js +1 -1
- package/Component.responsive.js +3 -3
- package/components/arrow/Component.js +1 -1
- package/components/arrow/index.css +3 -3
- package/components/base-checkmark/Component.js +1 -1
- package/components/base-checkmark/index.css +4 -4
- package/components/base-option/Component.js +1 -1
- package/components/base-option/index.css +13 -13
- package/components/base-select/Component.js +1 -1
- package/components/base-select/index.css +8 -8
- package/components/base-select/index.d.ts +1 -1
- package/components/base-select/index.js +1 -1
- package/components/base-select-mobile/Component.js +3 -3
- package/components/base-select-mobile/checkmark/Component.js +1 -1
- package/components/base-select-mobile/checkmark/index.css +6 -6
- package/components/base-select-mobile/index.css +11 -11
- package/components/base-select-mobile/index.d.ts +1 -1
- package/components/base-select-mobile/index.js +3 -3
- package/components/base-select-mobile/options-list/Component.js +1 -1
- package/components/base-select-mobile/options-list/index.css +9 -9
- package/components/base-select-mobile/virtual-options-list/Component.js +1 -1
- package/components/base-select-mobile/virtual-options-list/index.css +15 -15
- package/components/checkmark/Component.js +1 -1
- package/components/checkmark/index.css +10 -10
- package/components/field/Component.js +1 -1
- package/components/field/index.css +9 -9
- package/components/index.js +3 -3
- package/components/optgroup/Component.js +1 -1
- package/components/optgroup/index.css +6 -6
- package/components/option/Component.js +1 -1
- package/components/option/index.css +20 -20
- package/components/options-list/Component.js +1 -1
- package/components/options-list/index.css +9 -9
- package/components/select-mobile/Component.js +3 -3
- package/components/select-mobile/index.d.ts +1 -1
- package/components/select-mobile/index.js +3 -3
- package/components/select-modal-mobile/Component.js +3 -3
- package/components/select-modal-mobile/index.d.ts +1 -1
- package/components/select-modal-mobile/index.js +3 -3
- package/components/virtual-options-list/Component.js +1 -1
- package/components/virtual-options-list/index.css +15 -15
- package/esm/{Component-c79b7ae7.js → Component-1830cf5e.js} +4 -4
- package/esm/{Component-fdfce5e1.js → Component-578c3e05.js} +1 -1
- package/esm/Component.js +1 -1
- package/esm/Component.responsive.js +3 -3
- package/esm/components/arrow/Component.js +1 -1
- package/esm/components/arrow/index.css +3 -3
- package/esm/components/base-checkmark/Component.js +1 -1
- package/esm/components/base-checkmark/index.css +4 -4
- package/esm/components/base-option/Component.js +1 -1
- package/esm/components/base-option/index.css +13 -13
- package/esm/components/base-select/Component.js +1 -1
- package/esm/components/base-select/index.css +8 -8
- package/esm/components/base-select/index.d.ts +1 -1
- package/esm/components/base-select/index.js +1 -1
- package/esm/components/base-select-mobile/Component.js +3 -3
- package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
- package/esm/components/base-select-mobile/checkmark/index.css +6 -6
- package/esm/components/base-select-mobile/index.css +11 -11
- package/esm/components/base-select-mobile/index.d.ts +1 -1
- package/esm/components/base-select-mobile/index.js +3 -3
- package/esm/components/base-select-mobile/options-list/Component.js +1 -1
- package/esm/components/base-select-mobile/options-list/index.css +9 -9
- package/esm/components/base-select-mobile/virtual-options-list/Component.js +1 -1
- package/esm/components/base-select-mobile/virtual-options-list/index.css +15 -15
- package/esm/components/checkmark/Component.js +1 -1
- package/esm/components/checkmark/index.css +10 -10
- package/esm/components/field/Component.js +1 -1
- package/esm/components/field/index.css +9 -9
- package/esm/components/index.js +3 -3
- package/esm/components/optgroup/Component.js +1 -1
- package/esm/components/optgroup/index.css +6 -6
- package/esm/components/option/Component.js +1 -1
- package/esm/components/option/index.css +20 -20
- package/esm/components/options-list/Component.js +1 -1
- package/esm/components/options-list/index.css +9 -9
- package/esm/components/select-mobile/Component.js +3 -3
- package/esm/components/select-mobile/index.d.ts +1 -1
- package/esm/components/select-mobile/index.js +3 -3
- package/esm/components/select-modal-mobile/Component.js +3 -3
- package/esm/components/select-modal-mobile/index.d.ts +1 -1
- package/esm/components/select-modal-mobile/index.js +3 -3
- package/esm/components/virtual-options-list/Component.js +1 -1
- package/esm/components/virtual-options-list/index.css +15 -15
- package/esm/index-3885b0d7.d.ts +1 -1
- package/esm/index.js +3 -3
- package/esm/presets/index.js +3 -3
- package/esm/presets/useLazyLoading/hook.js +2 -2
- package/esm/presets/useLazyLoading/index.css +2 -2
- package/esm/presets/useSelectWithApply/hook.js +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
- package/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/responsive.js +3 -3
- package/index-3885b0d7.d.ts +1 -1
- package/index.js +3 -3
- package/modern/{Component-979388ae.js → Component-a4a8e905.js} +1 -1
- package/modern/{Component-4c4a3ab4.js → Component-ae787d42.js} +4 -4
- package/modern/Component.js +1 -1
- package/modern/Component.responsive.js +3 -3
- package/modern/components/arrow/Component.js +1 -1
- package/modern/components/arrow/index.css +3 -3
- package/modern/components/base-checkmark/Component.js +1 -1
- package/modern/components/base-checkmark/index.css +4 -4
- package/modern/components/base-option/Component.js +1 -1
- package/modern/components/base-option/index.css +13 -13
- package/modern/components/base-select/Component.js +1 -1
- package/modern/components/base-select/index.css +8 -8
- package/modern/components/base-select/index.d.ts +1 -1
- package/modern/components/base-select/index.js +1 -1
- package/modern/components/base-select-mobile/Component.js +3 -3
- package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
- package/modern/components/base-select-mobile/checkmark/index.css +6 -6
- package/modern/components/base-select-mobile/index.css +11 -11
- package/modern/components/base-select-mobile/index.d.ts +1 -1
- package/modern/components/base-select-mobile/index.js +3 -3
- package/modern/components/base-select-mobile/options-list/Component.js +1 -1
- package/modern/components/base-select-mobile/options-list/index.css +9 -9
- package/modern/components/base-select-mobile/virtual-options-list/Component.js +1 -1
- package/modern/components/base-select-mobile/virtual-options-list/index.css +15 -15
- package/modern/components/checkmark/Component.js +1 -1
- package/modern/components/checkmark/index.css +10 -10
- package/modern/components/field/Component.js +1 -1
- package/modern/components/field/index.css +9 -9
- package/modern/components/index.js +3 -3
- package/modern/components/optgroup/Component.js +1 -1
- package/modern/components/optgroup/index.css +6 -6
- package/modern/components/option/Component.js +1 -1
- package/modern/components/option/index.css +20 -20
- package/modern/components/options-list/Component.js +1 -1
- package/modern/components/options-list/index.css +9 -9
- package/modern/components/select-mobile/Component.js +3 -3
- package/modern/components/select-mobile/index.d.ts +1 -1
- package/modern/components/select-mobile/index.js +3 -3
- package/modern/components/select-modal-mobile/Component.js +3 -3
- package/modern/components/select-modal-mobile/index.d.ts +1 -1
- package/modern/components/select-modal-mobile/index.js +3 -3
- package/modern/components/virtual-options-list/Component.js +1 -1
- package/modern/components/virtual-options-list/index.css +15 -15
- package/modern/index-3885b0d7.d.ts +1 -1
- package/modern/index.js +3 -3
- package/modern/presets/index.js +3 -3
- package/modern/presets/useLazyLoading/hook.js +2 -2
- package/modern/presets/useLazyLoading/index.css +2 -2
- package/modern/presets/useSelectWithApply/hook.js +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
- package/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/responsive.js +3 -3
- package/package.json +2 -2
- package/presets/index.js +3 -3
- package/presets/useLazyLoading/hook.js +2 -2
- package/presets/useLazyLoading/index.css +2 -2
- package/presets/useSelectWithApply/hook.js +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/index.css +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
- package/presets/useSelectWithLoading/hook.js +1 -1
- package/presets/useSelectWithLoading/index.css +2 -2
- package/responsive.js +3 -3
- /package/{Component-67e36290.d.ts → Component-44ef3579.d.ts} +0 -0
- /package/{Component-86fe0799.d.ts → Component-ab39b2d3.d.ts} +0 -0
- /package/esm/{Component-c79b7ae7.d.ts → Component-1830cf5e.d.ts} +0 -0
- /package/esm/{Component-fdfce5e1.d.ts → Component-578c3e05.d.ts} +0 -0
- /package/esm/{intersection-observer-be15dad5.d.ts → intersection-observer-55833352.d.ts} +0 -0
- /package/esm/{intersection-observer-be15dad5.js → intersection-observer-55833352.js} +0 -0
- /package/{intersection-observer-de1426cf.d.ts → intersection-observer-959eb559.d.ts} +0 -0
- /package/{intersection-observer-de1426cf.js → intersection-observer-959eb559.js} +0 -0
- /package/modern/{Component-979388ae.d.ts → Component-a4a8e905.d.ts} +0 -0
- /package/modern/{Component-4c4a3ab4.d.ts → Component-ae787d42.d.ts} +0 -0
- /package/modern/{intersection-observer-be15dad5.d.ts → intersection-observer-55833352.d.ts} +0 -0
- /package/modern/{intersection-observer-be15dad5.js → intersection-observer-55833352.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 18p50 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--select-optgroup-right-padding: var(--gap-s);
|
|
36
36
|
--select-optgroup-l-left-padding: var(--gap-m);
|
|
37
37
|
--select-optgroup-l-right-padding: var(--gap-m);
|
|
38
|
-
} .
|
|
38
|
+
} .select__optgroup_189vl {
|
|
39
39
|
position: relative;
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
background: var(--select-optgroup-background);
|
|
46
46
|
min-height: 40px
|
|
47
|
-
} .
|
|
47
|
+
} .select__optgroup_189vl + *[role='option']:before {
|
|
48
48
|
display: none;
|
|
49
|
-
} .
|
|
49
|
+
} .select__label_189vl {
|
|
50
50
|
font-size: 12px;
|
|
51
51
|
line-height: 16px;
|
|
52
52
|
font-weight: 500;
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
|
|
56
56
|
display: block;
|
|
57
57
|
color: var(--select-optgroup-color);
|
|
58
|
-
} .
|
|
59
|
-
.
|
|
58
|
+
} .select__l_189vl,
|
|
59
|
+
.select__xl_189vl {
|
|
60
60
|
padding-left: var(--select-optgroup-l-left-padding);
|
|
61
61
|
padding-right: var(--select-optgroup-l-right-padding);
|
|
62
62
|
}
|
|
@@ -8,7 +8,7 @@ import '@alfalab/core-components-badge/esm';
|
|
|
8
8
|
import '@alfalab/core-components-checkbox/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
10
10
|
|
|
11
|
-
var styles = {"option":"
|
|
11
|
+
var styles = {"option":"select__option_eenww","disabled":"select__disabled_eenww","s":"select__s_eenww","m":"select__m_eenww","l":"select__l_eenww","xl":"select__xl_eenww","selected":"select__selected_eenww","highlighted":"select__highlighted_eenww","content":"select__content_eenww","textContent":"select__textContent_eenww"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Option = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: bd485 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
/* checkmark */
|
|
54
54
|
|
|
55
55
|
/* optgroup */
|
|
56
|
-
} .
|
|
56
|
+
} .select__option_eenww {
|
|
57
57
|
font-size: 16px;
|
|
58
58
|
line-height: 20px;
|
|
59
59
|
font-weight: 400;
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
box-sizing: border-box;
|
|
69
69
|
position: relative;
|
|
70
70
|
cursor: pointer
|
|
71
|
-
} .
|
|
71
|
+
} .select__option_eenww:not(.select__disabled_eenww):active {
|
|
72
72
|
background: var(--select-option-active-background);
|
|
73
73
|
color: var(--select-option-active-color);
|
|
74
|
-
} .
|
|
74
|
+
} .select__option_eenww:before {
|
|
75
75
|
content: '';
|
|
76
76
|
position: absolute;
|
|
77
77
|
left: var(--select-option-left-padding);
|
|
@@ -81,46 +81,46 @@
|
|
|
81
81
|
background: var(--select-option-divider-background);
|
|
82
82
|
display: var(--select-option-divider-display);
|
|
83
83
|
transition: opacity 0.2s ease;
|
|
84
|
-
} .
|
|
84
|
+
} .select__option_eenww:first-child:before {
|
|
85
85
|
display: none;
|
|
86
|
-
} .
|
|
86
|
+
} .select__s_eenww {
|
|
87
87
|
min-height: var(--size-s-height);
|
|
88
|
-
} .
|
|
88
|
+
} .select__m_eenww {
|
|
89
89
|
min-height: var(--size-m-height);
|
|
90
|
-
} .
|
|
90
|
+
} .select__l_eenww {
|
|
91
91
|
min-height: var(--size-l-height);
|
|
92
|
-
} .
|
|
92
|
+
} .select__xl_eenww {
|
|
93
93
|
min-height: var(--size-xl-height);
|
|
94
|
-
} .
|
|
95
|
-
.
|
|
94
|
+
} .select__l_eenww,
|
|
95
|
+
.select__xl_eenww {
|
|
96
96
|
padding-left: var(--select-option-l-left-padding);
|
|
97
97
|
padding-right: var(--select-option-l-right-padding)
|
|
98
|
-
} .
|
|
98
|
+
} .select__l_eenww:before, .select__xl_eenww:before {
|
|
99
99
|
left: var(--select-option-l-left-padding);
|
|
100
100
|
right: var(--select-option-l-right-padding);
|
|
101
|
-
} .
|
|
101
|
+
} .select__selected_eenww {
|
|
102
102
|
background: var(--select-option-selected-background);
|
|
103
103
|
color: var(--select-option-selected-color);
|
|
104
104
|
cursor: default;
|
|
105
|
-
} .
|
|
105
|
+
} .select__highlighted_eenww {
|
|
106
106
|
background: var(--select-option-hover-background);
|
|
107
107
|
color: var(--select-option-hover-color)
|
|
108
|
-
} .
|
|
109
|
-
.
|
|
108
|
+
} .select__highlighted_eenww:before,
|
|
109
|
+
.select__highlighted_eenww + .select__option_eenww:before {
|
|
110
110
|
opacity: 0;
|
|
111
|
-
} .
|
|
111
|
+
} .select__disabled_eenww {
|
|
112
112
|
cursor: var(--disabled-cursor);
|
|
113
113
|
background: var(--select-option-disabled-background);
|
|
114
114
|
color: var(--select-option-disabled-color);
|
|
115
|
-
} .
|
|
115
|
+
} .select__content_eenww {
|
|
116
116
|
overflow: hidden;
|
|
117
117
|
flex: 1;
|
|
118
118
|
text-overflow: ellipsis;
|
|
119
|
-
} .
|
|
119
|
+
} .select__textContent_eenww {
|
|
120
120
|
padding-top: var(--gap-s);
|
|
121
121
|
padding-bottom: var(--gap-s);
|
|
122
122
|
} /* IE min-height fix */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
123
|
-
.
|
|
123
|
+
.select__option_eenww:after {
|
|
124
124
|
min-height: inherit;
|
|
125
125
|
font-size: 0;
|
|
126
126
|
content: '';
|
|
@@ -7,7 +7,7 @@ import { useMedia } from '@alfalab/hooks';
|
|
|
7
7
|
import { useVisibleOptions, isGroup } from '../../utils.js';
|
|
8
8
|
import { Optgroup } from '../optgroup/Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"optionsList":"
|
|
10
|
+
var styles = {"optionsList":"select__optionsList_ls6ab","optionsListHeader":"select__optionsListHeader_ls6ab","optionsListFooter":"select__optionsListFooter_ls6ab","withBorder":"select__withBorder_ls6ab","scrollable":"select__scrollable_ls6ab","emptyPlaceholder":"select__emptyPlaceholder_ls6ab","l":"select__l_ls6ab","xl":"select__xl_ls6ab"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
var createCounter = function () {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: zneia */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb;
|
|
@@ -29,26 +29,26 @@
|
|
|
29
29
|
/* checkmark */
|
|
30
30
|
|
|
31
31
|
/* optgroup */
|
|
32
|
-
} .
|
|
32
|
+
} .select__optionsList_ls6ab {
|
|
33
33
|
overflow: auto;
|
|
34
34
|
width: 100%;
|
|
35
35
|
outline: none;
|
|
36
36
|
box-sizing: border-box;
|
|
37
|
-
} .
|
|
37
|
+
} .select__optionsListHeader_ls6ab {
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
border-bottom: 1px solid var(--color-light-border-secondary);
|
|
40
|
-
} .
|
|
40
|
+
} .select__optionsListFooter_ls6ab {
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
border-top: 1px solid transparent
|
|
43
|
-
} .
|
|
43
|
+
} .select__optionsListFooter_ls6ab.select__withBorder_ls6ab {
|
|
44
44
|
border-top: 1px solid var(--color-light-border-secondary);
|
|
45
|
-
} .
|
|
45
|
+
} .select__scrollable_ls6ab {
|
|
46
46
|
overflow: auto;
|
|
47
47
|
width: 100%;
|
|
48
|
-
} .
|
|
48
|
+
} .select__emptyPlaceholder_ls6ab {
|
|
49
49
|
padding: var(--gap-m) var(--gap-s);
|
|
50
50
|
color: var(--select-options-list-empty-placeholder-color);
|
|
51
|
-
} .
|
|
52
|
-
.
|
|
51
|
+
} .select__l_ls6ab .select__emptyPlaceholder_ls6ab,
|
|
52
|
+
.select__xl_ls6ab .select__emptyPlaceholder_ls6ab {
|
|
53
53
|
padding: var(--gap-xl) var(--gap-m);
|
|
54
54
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'tslib';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../arrow/Component.js';
|
|
4
|
-
export { S as SelectMobile } from '../../Component-
|
|
4
|
+
export { S as SelectMobile } from '../../Component-1830cf5e.js';
|
|
5
5
|
import '../field/Component.js';
|
|
6
6
|
import '../optgroup/Component.js';
|
|
7
7
|
import '../option/Component.js';
|
|
@@ -12,7 +12,7 @@ import 'downshift';
|
|
|
12
12
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
13
13
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
14
14
|
import '../../Component.js';
|
|
15
|
-
import '../../Component-
|
|
15
|
+
import '../../Component-578c3e05.js';
|
|
16
16
|
import '@juggle/resize-observer';
|
|
17
17
|
import '@alfalab/core-components-popover/esm';
|
|
18
18
|
import '@alfalab/hooks';
|
|
@@ -31,7 +31,7 @@ import 'react-virtual';
|
|
|
31
31
|
import '../base-option/Component.js';
|
|
32
32
|
import '../base-checkmark/Component.js';
|
|
33
33
|
import '@alfalab/core-components-skeleton/esm';
|
|
34
|
-
import '../../intersection-observer-
|
|
34
|
+
import '../../intersection-observer-55833352.js';
|
|
35
35
|
import '@alfalab/core-components-button/esm';
|
|
36
36
|
import '../base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-1830cf5e";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SelectMobile } from '../../Component-
|
|
1
|
+
export { S as SelectMobile } from '../../Component-1830cf5e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../arrow/Component.js';
|
|
@@ -9,7 +9,7 @@ import 'downshift';
|
|
|
9
9
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
10
10
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
11
11
|
import '../../Component.js';
|
|
12
|
-
import '../../Component-
|
|
12
|
+
import '../../Component-578c3e05.js';
|
|
13
13
|
import '@juggle/resize-observer';
|
|
14
14
|
import '@alfalab/core-components-popover/esm';
|
|
15
15
|
import '@alfalab/hooks';
|
|
@@ -31,7 +31,7 @@ import 'react-virtual';
|
|
|
31
31
|
import '../base-option/Component.js';
|
|
32
32
|
import '../base-checkmark/Component.js';
|
|
33
33
|
import '@alfalab/core-components-skeleton/esm';
|
|
34
|
-
import '../../intersection-observer-
|
|
34
|
+
import '../../intersection-observer-55833352.js';
|
|
35
35
|
import '@alfalab/core-components-button/esm';
|
|
36
36
|
import '../base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'tslib';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../arrow/Component.js';
|
|
4
|
-
export { a as SelectModalMobile } from '../../Component-
|
|
4
|
+
export { a as SelectModalMobile } from '../../Component-1830cf5e.js';
|
|
5
5
|
import '../field/Component.js';
|
|
6
6
|
import '../optgroup/Component.js';
|
|
7
7
|
import '../option/Component.js';
|
|
@@ -12,7 +12,7 @@ import 'downshift';
|
|
|
12
12
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
13
13
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
14
14
|
import '../../Component.js';
|
|
15
|
-
import '../../Component-
|
|
15
|
+
import '../../Component-578c3e05.js';
|
|
16
16
|
import '@juggle/resize-observer';
|
|
17
17
|
import '@alfalab/core-components-popover/esm';
|
|
18
18
|
import '@alfalab/hooks';
|
|
@@ -31,7 +31,7 @@ import 'react-virtual';
|
|
|
31
31
|
import '../base-option/Component.js';
|
|
32
32
|
import '../base-checkmark/Component.js';
|
|
33
33
|
import '@alfalab/core-components-skeleton/esm';
|
|
34
|
-
import '../../intersection-observer-
|
|
34
|
+
import '../../intersection-observer-55833352.js';
|
|
35
35
|
import '@alfalab/core-components-button/esm';
|
|
36
36
|
import '../base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-1830cf5e";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as SelectModalMobile } from '../../Component-
|
|
1
|
+
export { a as SelectModalMobile } from '../../Component-1830cf5e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../arrow/Component.js';
|
|
@@ -9,7 +9,7 @@ import 'downshift';
|
|
|
9
9
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
10
10
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
11
11
|
import '../../Component.js';
|
|
12
|
-
import '../../Component-
|
|
12
|
+
import '../../Component-578c3e05.js';
|
|
13
13
|
import '@juggle/resize-observer';
|
|
14
14
|
import '@alfalab/core-components-popover/esm';
|
|
15
15
|
import '@alfalab/hooks';
|
|
@@ -31,7 +31,7 @@ import 'react-virtual';
|
|
|
31
31
|
import '../base-option/Component.js';
|
|
32
32
|
import '../base-checkmark/Component.js';
|
|
33
33
|
import '@alfalab/core-components-skeleton/esm';
|
|
34
|
-
import '../../intersection-observer-
|
|
34
|
+
import '../../intersection-observer-55833352.js';
|
|
35
35
|
import '@alfalab/core-components-button/esm';
|
|
36
36
|
import '../base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -7,7 +7,7 @@ import { useMedia } from '@alfalab/hooks';
|
|
|
7
7
|
import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
|
|
8
8
|
import { Optgroup } from '../optgroup/Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"virtualOptionsList":"
|
|
10
|
+
var styles = {"virtualOptionsList":"select__virtualOptionsList_te37x","virtualOptionsListHeader":"select__virtualOptionsListHeader_te37x","virtualOptionsListFooter":"select__virtualOptionsListFooter_te37x","withBorder":"select__withBorder_te37x","scrollable":"select__scrollable_te37x","inner":"select__inner_te37x","virtualRow":"select__virtualRow_te37x","highlighted":"select__highlighted_te37x","emptyPlaceholder":"select__emptyPlaceholder_te37x","l":"select__l_te37x","xl":"select__xl_te37x"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 14vfr */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-primary: #dcdcdd;
|
|
@@ -35,31 +35,31 @@
|
|
|
35
35
|
/* checkmark */
|
|
36
36
|
|
|
37
37
|
/* optgroup */
|
|
38
|
-
} .
|
|
38
|
+
} .select__virtualOptionsList_te37x {
|
|
39
39
|
width: 100%;
|
|
40
40
|
outline: none;
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
position: relative;
|
|
43
|
-
} .
|
|
43
|
+
} .select__virtualOptionsListHeader_te37x {
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
border-bottom: 1px solid var(--color-light-border-secondary);
|
|
46
|
-
} .
|
|
46
|
+
} .select__virtualOptionsListFooter_te37x {
|
|
47
47
|
box-sizing: border-box;
|
|
48
48
|
border-top: 1px solid transparent
|
|
49
|
-
} .
|
|
49
|
+
} .select__virtualOptionsListFooter_te37x.select__withBorder_te37x {
|
|
50
50
|
border-top: 1px solid var(--color-light-border-secondary);
|
|
51
|
-
} .
|
|
51
|
+
} .select__scrollable_te37x {
|
|
52
52
|
overflow: auto;
|
|
53
53
|
width: 100%;
|
|
54
|
-
} .
|
|
54
|
+
} .select__inner_te37x {
|
|
55
55
|
position: relative;
|
|
56
56
|
width: 100%;
|
|
57
|
-
} .
|
|
57
|
+
} .select__virtualRow_te37x {
|
|
58
58
|
position: absolute;
|
|
59
59
|
top: 0;
|
|
60
60
|
left: 0;
|
|
61
61
|
width: 100%
|
|
62
|
-
} .
|
|
62
|
+
} .select__virtualRow_te37x:before {
|
|
63
63
|
content: '';
|
|
64
64
|
position: absolute;
|
|
65
65
|
z-index: 1;
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
height: 1px;
|
|
70
70
|
background: var(--select-option-divider-background);
|
|
71
71
|
display: var(--select-option-divider-display);
|
|
72
|
-
} .
|
|
72
|
+
} .select__virtualRow_te37x:first-child:before {
|
|
73
73
|
display: none;
|
|
74
|
-
} .
|
|
75
|
-
.
|
|
74
|
+
} .select__highlighted_te37x:before,
|
|
75
|
+
.select__highlighted_te37x + .select__virtualRow_te37x:before {
|
|
76
76
|
display: none;
|
|
77
|
-
} .
|
|
77
|
+
} .select__emptyPlaceholder_te37x {
|
|
78
78
|
padding: var(--gap-m) var(--gap-s);
|
|
79
79
|
color: var(--select-options-list-empty-placeholder-color);
|
|
80
|
-
} .
|
|
81
|
-
.
|
|
80
|
+
} .select__l_te37x .select__emptyPlaceholder_te37x,
|
|
81
|
+
.select__xl_te37x .select__emptyPlaceholder_te37x {
|
|
82
82
|
padding: var(--gap-xl) var(--gap-m);
|
|
83
83
|
}
|
package/esm/index-3885b0d7.d.ts
CHANGED
package/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Select } from './Component.js';
|
|
2
2
|
export { Arrow } from './components/arrow/Component.js';
|
|
3
|
-
export { B as BaseSelect } from './Component-
|
|
4
|
-
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-
|
|
3
|
+
export { B as BaseSelect } from './Component-578c3e05.js';
|
|
4
|
+
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-1830cf5e.js';
|
|
5
5
|
export { Field } from './components/field/Component.js';
|
|
6
6
|
export { Optgroup } from './components/optgroup/Component.js';
|
|
7
7
|
export { Option } from './components/option/Component.js';
|
|
@@ -26,7 +26,7 @@ import '@alfalab/core-components-modal/esm/mobile';
|
|
|
26
26
|
import 'react-virtual';
|
|
27
27
|
import '@alfalab/core-components-scrollbar/esm';
|
|
28
28
|
import '@alfalab/core-components-skeleton/esm';
|
|
29
|
-
import './intersection-observer-
|
|
29
|
+
import './intersection-observer-55833352.js';
|
|
30
30
|
import '@alfalab/core-components-button/esm';
|
|
31
31
|
import '@alfalab/core-components-form-control/esm';
|
|
32
32
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
package/esm/presets/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
|
|
2
2
|
export { useLazyLoading } from './useLazyLoading/hook.js';
|
|
3
|
-
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-
|
|
3
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-1830cf5e.js';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@alfalab/core-components-skeleton/esm';
|
|
@@ -12,7 +12,7 @@ import '../components/checkmark/Component.js';
|
|
|
12
12
|
import '@alfalab/core-components-badge/esm';
|
|
13
13
|
import '@alfalab/core-components-checkbox/esm';
|
|
14
14
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
15
|
-
import '../intersection-observer-
|
|
15
|
+
import '../intersection-observer-55833352.js';
|
|
16
16
|
import '../components/arrow/Component.js';
|
|
17
17
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
18
18
|
import 'react-merge-refs';
|
|
@@ -20,7 +20,7 @@ import 'downshift';
|
|
|
20
20
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
21
21
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
22
22
|
import '../Component.js';
|
|
23
|
-
import '../Component-
|
|
23
|
+
import '../Component-578c3e05.js';
|
|
24
24
|
import '@juggle/resize-observer';
|
|
25
25
|
import '@alfalab/core-components-popover/esm';
|
|
26
26
|
import '@alfalab/hooks';
|
|
@@ -2,7 +2,7 @@ import { __spreadArray, __assign } from 'tslib';
|
|
|
2
2
|
import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
3
3
|
import { Skeleton } from '@alfalab/core-components-skeleton/esm';
|
|
4
4
|
import { Option } from '../../components/option/Component.js';
|
|
5
|
-
import '../../intersection-observer-
|
|
5
|
+
import '../../intersection-observer-55833352.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../components/base-select-mobile/checkmark/Component.js';
|
|
8
8
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
@@ -11,7 +11,7 @@ import '@alfalab/core-components-badge/esm';
|
|
|
11
11
|
import '@alfalab/core-components-checkbox/esm';
|
|
12
12
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
13
13
|
|
|
14
|
-
var styles = {"skeleton":"
|
|
14
|
+
var styles = {"skeleton":"select__skeleton_u9wnv"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var DEBOUNCE_TIMEOUT = 300;
|
|
@@ -3,8 +3,8 @@ import 'react';
|
|
|
3
3
|
import '../../Component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
|
-
import '../../Component-
|
|
7
|
-
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-
|
|
6
|
+
import '../../Component-578c3e05.js';
|
|
7
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-1830cf5e.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../utils.js';
|
|
@@ -16,7 +16,7 @@ import '../../components/options-list/Component.js';
|
|
|
16
16
|
import 'react-virtual';
|
|
17
17
|
import '@alfalab/core-components-scrollbar/esm';
|
|
18
18
|
import '@alfalab/core-components-skeleton/esm';
|
|
19
|
-
import '../../intersection-observer-
|
|
19
|
+
import '../../intersection-observer-55833352.js';
|
|
20
20
|
import '../../components/arrow/Component.js';
|
|
21
21
|
import '../../components/field/Component.js';
|
|
22
22
|
import '../../components/optgroup/Component.js';
|
|
@@ -3,8 +3,8 @@ import 'react';
|
|
|
3
3
|
import '@alfalab/core-components-button/esm';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
|
-
import '../../../Component-
|
|
7
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
6
|
+
import '../../../Component-578c3e05.js';
|
|
7
|
+
export { O as OptionsListWithApply } from '../../../Component-1830cf5e.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
@@ -32,7 +32,7 @@ import '../../../components/checkmark/Component.js';
|
|
|
32
32
|
import '../../../components/base-option/Component.js';
|
|
33
33
|
import '../../../components/base-checkmark/Component.js';
|
|
34
34
|
import '@alfalab/core-components-skeleton/esm';
|
|
35
|
-
import '../../../intersection-observer-
|
|
35
|
+
import '../../../intersection-observer-55833352.js';
|
|
36
36
|
import '../../../components/base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
38
38
|
import '../../../components/base-select-mobile/virtual-options-list/Component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qxkf5 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
/* checkmark */
|
|
27
27
|
|
|
28
28
|
/* optgroup */
|
|
29
|
-
} .
|
|
29
|
+
} .select__footer_dk8g9 {
|
|
30
30
|
background: var(--color-light-bg-primary);
|
|
31
31
|
padding: var(--gap-s);
|
|
32
32
|
outline: none
|
|
33
|
-
} .
|
|
33
|
+
} .select__footer_dk8g9 > * + * {
|
|
34
34
|
margin-left: var(--gap-xs);
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../../Component-
|
|
1
|
+
export * from "../../../Component-1830cf5e";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
1
|
+
export { O as OptionsListWithApply } from '../../../Component-1830cf5e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../../components/arrow/Component.js';
|
|
@@ -9,7 +9,7 @@ import 'downshift';
|
|
|
9
9
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
10
10
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
11
11
|
import '../../../Component.js';
|
|
12
|
-
import '../../../Component-
|
|
12
|
+
import '../../../Component-578c3e05.js';
|
|
13
13
|
import '@juggle/resize-observer';
|
|
14
14
|
import '@alfalab/core-components-popover/esm';
|
|
15
15
|
import '@alfalab/hooks';
|
|
@@ -31,7 +31,7 @@ import 'react-virtual';
|
|
|
31
31
|
import '../../../components/base-option/Component.js';
|
|
32
32
|
import '../../../components/base-checkmark/Component.js';
|
|
33
33
|
import '@alfalab/core-components-skeleton/esm';
|
|
34
|
-
import '../../../intersection-observer-
|
|
34
|
+
import '../../../intersection-observer-55833352.js';
|
|
35
35
|
import '@alfalab/core-components-button/esm';
|
|
36
36
|
import '../../../components/base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -10,7 +10,7 @@ import '@alfalab/core-components-badge/esm';
|
|
|
10
10
|
import '@alfalab/core-components-checkbox/esm';
|
|
11
11
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
12
12
|
|
|
13
|
-
var styles = {"skeleton":"
|
|
13
|
+
var styles = {"skeleton":"select__skeleton_naiio"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
function useSelectWithLoading(_a) {
|
package/esm/responsive.js
CHANGED
|
@@ -6,7 +6,7 @@ import './Component.js';
|
|
|
6
6
|
import './components/arrow/Component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
9
|
-
import './Component-
|
|
9
|
+
import './Component-578c3e05.js';
|
|
10
10
|
import 'react-merge-refs';
|
|
11
11
|
import '@juggle/resize-observer';
|
|
12
12
|
import 'downshift';
|
|
@@ -25,14 +25,14 @@ import '@alfalab/core-components-checkbox/esm';
|
|
|
25
25
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
26
26
|
import './components/options-list/Component.js';
|
|
27
27
|
import '@alfalab/core-components-scrollbar/esm';
|
|
28
|
-
import './Component-
|
|
28
|
+
import './Component-1830cf5e.js';
|
|
29
29
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
30
30
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
31
31
|
import 'react-virtual';
|
|
32
32
|
import './components/base-option/Component.js';
|
|
33
33
|
import './components/base-checkmark/Component.js';
|
|
34
34
|
import '@alfalab/core-components-skeleton/esm';
|
|
35
|
-
import './intersection-observer-
|
|
35
|
+
import './intersection-observer-55833352.js';
|
|
36
36
|
import '@alfalab/core-components-button/esm';
|
|
37
37
|
import './components/base-select-mobile/options-list/Component.js';
|
|
38
38
|
import '@alfalab/core-components-base-modal/esm';
|
package/index-3885b0d7.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var Component = require('./Component.js');
|
|
6
6
|
var components_arrow_Component = require('./components/arrow/Component.js');
|
|
7
|
-
var components_baseSelect_Component = require('./Component-
|
|
8
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-
|
|
7
|
+
var components_baseSelect_Component = require('./Component-44ef3579.js');
|
|
8
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-ab39b2d3.js');
|
|
9
9
|
var components_field_Component = require('./components/field/Component.js');
|
|
10
10
|
var components_optgroup_Component = require('./components/optgroup/Component.js');
|
|
11
11
|
var components_option_Component = require('./components/option/Component.js');
|
|
@@ -30,7 +30,7 @@ require('@alfalab/core-components-modal/mobile');
|
|
|
30
30
|
require('react-virtual');
|
|
31
31
|
require('@alfalab/core-components-scrollbar');
|
|
32
32
|
require('@alfalab/core-components-skeleton');
|
|
33
|
-
require('./intersection-observer-
|
|
33
|
+
require('./intersection-observer-959eb559.js');
|
|
34
34
|
require('@alfalab/core-components-button');
|
|
35
35
|
require('@alfalab/core-components-form-control');
|
|
36
36
|
require('@alfalab/icons-glyph/CheckmarkMIcon');
|