@alfalab/core-components-select 13.2.0 → 13.2.2
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-a826582c.d.ts → Component-4e5b4c78.d.ts} +0 -0
- package/{Component-a826582c.js → Component-4e5b4c78.js} +78 -84
- package/{Component-f2f84cb6.d.ts → Component-dc8aa97a.d.ts} +0 -0
- package/{Component-f2f84cb6.js → Component-dc8aa97a.js} +14 -20
- package/Component.d.ts +4 -26
- package/Component.js +10 -16
- package/Component.responsive.d.ts +19 -0
- package/Component.responsive.js +50 -0
- package/components/arrow/Component.js +2 -9
- package/components/arrow/index.css +3 -3
- package/components/arrow/index.js +1 -3
- package/components/base-checkmark/Component.js +4 -11
- package/components/base-checkmark/index.css +4 -4
- package/components/base-checkmark/index.js +2 -4
- package/components/base-option/Component.js +7 -14
- package/components/base-option/index.css +11 -11
- package/components/base-option/index.js +4 -6
- package/components/base-select/Component.js +3 -5
- package/components/base-select/index.css +7 -7
- package/components/base-select/index.d.ts +1 -1
- package/components/base-select/index.js +3 -5
- package/components/base-select-mobile/Component.js +25 -27
- package/components/base-select-mobile/checkmark/Component.js +4 -11
- package/components/base-select-mobile/checkmark/index.css +6 -6
- package/components/base-select-mobile/checkmark/index.js +1 -3
- 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 +19 -21
- package/components/base-select-mobile/options-list/Component.js +11 -18
- package/components/base-select-mobile/options-list/index.css +9 -9
- package/components/base-select-mobile/options-list/index.js +4 -6
- package/components/checkmark/Component.js +5 -12
- package/components/checkmark/index.css +8 -8
- package/components/checkmark/index.js +2 -4
- package/components/field/Component.js +11 -18
- package/components/field/index.css +9 -9
- package/components/field/index.js +3 -5
- package/components/index.js +21 -23
- package/components/native-select/Component.js +5 -11
- package/components/native-select/index.js +2 -4
- package/components/optgroup/Component.js +4 -11
- package/components/optgroup/index.css +6 -6
- package/components/optgroup/index.js +1 -3
- package/components/option/Component.js +8 -15
- package/components/option/index.css +20 -20
- package/components/option/index.js +4 -6
- package/components/options-list/Component.js +11 -19
- package/components/options-list/index.css +6 -6
- package/components/options-list/index.js +4 -6
- package/components/select-mobile/Component.js +21 -23
- package/components/select-mobile/index.d.ts +1 -1
- package/components/select-mobile/index.js +19 -21
- package/components/select-modal-mobile/Component.js +21 -23
- package/components/select-modal-mobile/index.d.ts +1 -1
- package/components/select-modal-mobile/index.js +19 -21
- package/components/virtual-options-list/Component.js +14 -21
- package/components/virtual-options-list/index.css +12 -12
- package/components/virtual-options-list/index.js +4 -6
- package/cssm/{Component-f4dd589a.d.ts → Component-07f6200f.d.ts} +0 -0
- package/cssm/{Component-f4dd589a.js → Component-07f6200f.js} +13 -20
- package/cssm/{Component-a41f165e.d.ts → Component-b5c43f14.d.ts} +0 -0
- package/cssm/{Component-a41f165e.js → Component-b5c43f14.js} +81 -89
- package/cssm/Component.d.ts +4 -26
- package/cssm/Component.js +10 -16
- package/cssm/Component.responsive.d.ts +19 -0
- package/cssm/Component.responsive.js +66 -0
- package/cssm/components/arrow/Component.js +1 -9
- package/cssm/components/arrow/index.js +1 -3
- package/cssm/components/base-checkmark/Component.js +6 -14
- package/cssm/components/base-checkmark/index.js +2 -4
- package/cssm/components/base-option/Component.js +14 -22
- package/cssm/components/base-option/index.js +4 -6
- package/cssm/components/base-select/Component.js +3 -5
- package/cssm/components/base-select/index.d.ts +1 -1
- package/cssm/components/base-select/index.js +3 -5
- package/cssm/components/base-select-mobile/Component.js +31 -33
- package/cssm/components/base-select-mobile/checkmark/Component.js +4 -12
- package/cssm/components/base-select-mobile/checkmark/index.js +1 -3
- package/cssm/components/base-select-mobile/index.d.ts +1 -1
- package/cssm/components/base-select-mobile/index.js +25 -27
- package/cssm/components/base-select-mobile/options-list/Component.js +12 -20
- package/cssm/components/base-select-mobile/options-list/index.js +5 -7
- package/cssm/components/checkmark/Component.js +7 -15
- package/cssm/components/checkmark/index.js +2 -4
- package/cssm/components/field/Component.js +12 -20
- package/cssm/components/field/index.js +3 -5
- package/cssm/components/index.js +26 -28
- package/cssm/components/native-select/Component.js +5 -11
- package/cssm/components/native-select/index.js +2 -4
- package/cssm/components/optgroup/Component.js +3 -11
- package/cssm/components/optgroup/index.js +1 -3
- package/cssm/components/option/Component.js +12 -20
- package/cssm/components/option/index.js +4 -6
- package/cssm/components/options-list/Component.js +11 -20
- package/cssm/components/options-list/index.js +5 -7
- package/cssm/components/select-mobile/Component.js +28 -30
- package/cssm/components/select-mobile/index.d.ts +1 -1
- package/cssm/components/select-mobile/index.js +25 -27
- package/cssm/components/select-modal-mobile/Component.js +28 -30
- package/cssm/components/select-modal-mobile/index.d.ts +1 -1
- package/cssm/components/select-modal-mobile/index.js +25 -27
- package/cssm/components/virtual-options-list/Component.js +16 -24
- package/cssm/components/virtual-options-list/index.js +5 -7
- package/cssm/getDataTestId-3fe0d3e6.d.ts +1 -1
- package/cssm/index.js +37 -39
- package/cssm/{intersection-observer-8c55e13a.d.ts → intersection-observer-9ec5cf59.d.ts} +0 -0
- package/cssm/{intersection-observer-8c55e13a.js → intersection-observer-9ec5cf59.js} +0 -0
- package/cssm/presets/index.js +36 -38
- package/cssm/presets/useLazyLoading/hook.js +10 -17
- package/cssm/presets/useSelectWithApply/hook.js +31 -33
- package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +32 -34
- package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +25 -27
- package/cssm/presets/useSelectWithLoading/hook.js +9 -16
- package/cssm/responsive.d.ts +2 -0
- package/cssm/responsive.js +60 -0
- package/cssm/{tslib.es6-0857346e.d.ts → tslib.es6-0e9bf404.d.ts} +0 -0
- package/cssm/{tslib.es6-0857346e.js → tslib.es6-0e9bf404.js} +0 -0
- package/cssm/utils.js +1 -3
- package/esm/{Component-cf5c933f.d.ts → Component-18490c10.d.ts} +0 -0
- package/esm/{Component-cf5c933f.js → Component-18490c10.js} +6 -6
- package/esm/{Component-804e366f.d.ts → Component-90edf135.d.ts} +0 -0
- package/esm/{Component-804e366f.js → Component-90edf135.js} +71 -71
- package/esm/Component.d.ts +4 -26
- package/esm/Component.js +9 -9
- package/esm/Component.responsive.d.ts +19 -0
- package/esm/Component.responsive.js +48 -0
- package/esm/components/arrow/Component.js +1 -1
- package/esm/components/arrow/index.css +3 -3
- package/esm/components/arrow/index.js +1 -1
- package/esm/components/base-checkmark/Component.js +2 -2
- package/esm/components/base-checkmark/index.css +4 -4
- package/esm/components/base-checkmark/index.js +2 -2
- package/esm/components/base-option/Component.js +4 -4
- package/esm/components/base-option/index.css +11 -11
- package/esm/components/base-option/index.js +4 -4
- package/esm/components/base-select/Component.js +3 -3
- package/esm/components/base-select/index.css +7 -7
- package/esm/components/base-select/index.d.ts +1 -1
- package/esm/components/base-select/index.js +3 -3
- package/esm/components/base-select-mobile/Component.js +24 -24
- 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/checkmark/index.js +1 -1
- 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 +18 -18
- package/esm/components/base-select-mobile/options-list/Component.js +4 -4
- package/esm/components/base-select-mobile/options-list/index.css +9 -9
- package/esm/components/base-select-mobile/options-list/index.js +4 -4
- package/esm/components/checkmark/Component.js +2 -2
- package/esm/components/checkmark/index.css +8 -8
- package/esm/components/checkmark/index.js +2 -2
- package/esm/components/field/Component.js +4 -4
- package/esm/components/field/index.css +9 -9
- package/esm/components/field/index.js +3 -3
- package/esm/components/index.js +19 -19
- package/esm/components/native-select/Component.js +1 -1
- package/esm/components/native-select/index.js +2 -2
- package/esm/components/optgroup/Component.js +1 -1
- package/esm/components/optgroup/index.css +6 -6
- package/esm/components/optgroup/index.js +1 -1
- package/esm/components/option/Component.js +4 -4
- package/esm/components/option/index.css +20 -20
- package/esm/components/option/index.js +4 -4
- package/esm/components/options-list/Component.js +4 -4
- package/esm/components/options-list/index.css +6 -6
- package/esm/components/options-list/index.js +4 -4
- package/esm/components/select-mobile/Component.js +20 -20
- package/esm/components/select-mobile/index.d.ts +1 -1
- package/esm/components/select-mobile/index.js +18 -18
- package/esm/components/select-modal-mobile/Component.js +20 -20
- package/esm/components/select-modal-mobile/index.d.ts +1 -1
- package/esm/components/select-modal-mobile/index.js +18 -18
- package/esm/components/virtual-options-list/Component.js +6 -6
- package/esm/components/virtual-options-list/index.css +12 -12
- package/esm/components/virtual-options-list/index.js +4 -4
- package/esm/getDataTestId-3fe0d3e6.d.ts +1 -1
- package/esm/index.js +20 -20
- package/esm/{intersection-observer-7304e334.d.ts → intersection-observer-f951196f.d.ts} +0 -0
- package/esm/{intersection-observer-7304e334.js → intersection-observer-f951196f.js} +0 -0
- package/esm/presets/index.js +25 -25
- package/esm/presets/useLazyLoading/hook.js +8 -8
- package/esm/presets/useLazyLoading/index.css +2 -2
- package/esm/presets/useSelectWithApply/hook.js +23 -23
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +22 -22
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +18 -18
- package/esm/presets/useSelectWithLoading/hook.js +7 -7
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/responsive.d.ts +2 -0
- package/esm/responsive.js +38 -0
- package/esm/{tslib.es6-e89d50db.d.ts → tslib.es6-b843a0de.d.ts} +0 -0
- package/esm/{tslib.es6-e89d50db.js → tslib.es6-b843a0de.js} +0 -0
- package/esm/utils.js +1 -1
- package/getDataTestId-3fe0d3e6.d.ts +1 -1
- package/index.js +32 -34
- package/{intersection-observer-d44a3d44.d.ts → intersection-observer-54c021a4.d.ts} +0 -0
- package/{intersection-observer-d44a3d44.js → intersection-observer-54c021a4.js} +0 -0
- package/modern/{Component-d5c51040.d.ts → Component-633cd6ec.d.ts} +0 -0
- package/modern/{Component-d5c51040.js → Component-633cd6ec.js} +2 -2
- package/modern/{Component-a6d52eb5.d.ts → Component-b4cd876c.d.ts} +0 -0
- package/modern/{Component-a6d52eb5.js → Component-b4cd876c.js} +71 -71
- package/modern/Component.d.ts +4 -26
- package/modern/Component.js +8 -8
- package/modern/Component.responsive.d.ts +19 -0
- package/modern/Component.responsive.js +46 -0
- package/modern/components/arrow/Component.js +1 -1
- package/modern/components/arrow/index.css +3 -3
- package/modern/components/arrow/index.js +1 -1
- package/modern/components/base-checkmark/Component.js +2 -2
- package/modern/components/base-checkmark/index.css +4 -4
- package/modern/components/base-checkmark/index.js +2 -2
- package/modern/components/base-option/Component.js +3 -3
- package/modern/components/base-option/index.css +11 -11
- package/modern/components/base-option/index.js +3 -3
- package/modern/components/base-select/Component.js +2 -2
- package/modern/components/base-select/index.css +7 -7
- package/modern/components/base-select/index.d.ts +1 -1
- package/modern/components/base-select/index.js +2 -2
- package/modern/components/base-select-mobile/Component.js +23 -23
- 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/checkmark/index.js +1 -1
- 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 +17 -17
- package/modern/components/base-select-mobile/options-list/Component.js +3 -3
- package/modern/components/base-select-mobile/options-list/index.css +9 -9
- package/modern/components/base-select-mobile/options-list/index.js +3 -3
- package/modern/components/checkmark/Component.js +2 -2
- package/modern/components/checkmark/index.css +8 -8
- package/modern/components/checkmark/index.js +2 -2
- package/modern/components/field/Component.js +2 -2
- package/modern/components/field/index.css +9 -9
- package/modern/components/field/index.js +2 -2
- package/modern/components/index.js +18 -18
- package/modern/components/native-select/index.js +1 -1
- package/modern/components/optgroup/Component.js +1 -1
- package/modern/components/optgroup/index.css +6 -6
- package/modern/components/optgroup/index.js +1 -1
- package/modern/components/option/Component.js +3 -3
- package/modern/components/option/index.css +20 -20
- package/modern/components/option/index.js +3 -3
- package/modern/components/options-list/Component.js +3 -3
- package/modern/components/options-list/index.css +6 -6
- package/modern/components/options-list/index.js +3 -3
- package/modern/components/select-mobile/Component.js +19 -19
- package/modern/components/select-mobile/index.d.ts +1 -1
- package/modern/components/select-mobile/index.js +17 -17
- package/modern/components/select-modal-mobile/Component.js +19 -19
- package/modern/components/select-modal-mobile/index.d.ts +1 -1
- package/modern/components/select-modal-mobile/index.js +17 -17
- package/modern/components/virtual-options-list/Component.js +3 -3
- package/modern/components/virtual-options-list/index.css +12 -12
- package/modern/components/virtual-options-list/index.js +3 -3
- package/modern/getDataTestId-3fe0d3e6.d.ts +1 -1
- package/modern/index.js +19 -19
- package/modern/{intersection-observer-7304e334.d.ts → intersection-observer-f951196f.d.ts} +0 -0
- package/modern/{intersection-observer-7304e334.js → intersection-observer-f951196f.js} +0 -0
- package/modern/presets/index.js +24 -24
- package/modern/presets/useLazyLoading/hook.js +6 -6
- package/modern/presets/useLazyLoading/index.css +2 -2
- package/modern/presets/useSelectWithApply/hook.js +22 -22
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +21 -21
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +17 -17
- package/modern/presets/useSelectWithLoading/hook.js +5 -5
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/responsive.d.ts +2 -0
- package/modern/responsive.js +37 -0
- package/package.json +3 -3
- package/presets/index.js +27 -29
- package/presets/useLazyLoading/hook.js +10 -16
- package/presets/useLazyLoading/index.css +2 -2
- package/presets/useSelectWithApply/hook.js +25 -27
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +23 -25
- package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
- package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/index.js +19 -21
- package/presets/useSelectWithLoading/hook.js +9 -15
- package/presets/useSelectWithLoading/index.css +2 -2
- package/responsive.d.ts +2 -0
- package/responsive.js +44 -0
- package/{tslib.es6-e8daa31e.d.ts → tslib.es6-b8d245fd.d.ts} +0 -0
- package/{tslib.es6-e8daa31e.js → tslib.es6-b8d245fd.js} +0 -0
- package/utils.js +1 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fh8eu */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-bg-secondary: #f3f4f5;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
/* optgroup */
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.select__option_ejgv5 {
|
|
57
57
|
font-size: 16px;
|
|
58
58
|
line-height: 20px;
|
|
59
59
|
font-weight: 400;
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
position: relative;
|
|
70
70
|
cursor: pointer
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.select__option_ejgv5:not(.select__disabled_ejgv5):active {
|
|
73
73
|
background: var(--select-option-active-background);
|
|
74
74
|
color: var(--select-option-active-color);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.select__option_ejgv5:before {
|
|
77
77
|
content: '';
|
|
78
78
|
position: absolute;
|
|
79
79
|
left: var(--select-option-left-padding);
|
|
@@ -84,60 +84,60 @@
|
|
|
84
84
|
display: var(--select-option-divider-display);
|
|
85
85
|
transition: opacity 0.2s ease;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
.select__option_ejgv5:first-child:before {
|
|
88
88
|
display: none;
|
|
89
89
|
}
|
|
90
|
-
.
|
|
90
|
+
.select__s_ejgv5 {
|
|
91
91
|
min-height: var(--size-s-height);
|
|
92
92
|
}
|
|
93
|
-
.
|
|
93
|
+
.select__m_ejgv5 {
|
|
94
94
|
min-height: var(--size-m-height);
|
|
95
95
|
}
|
|
96
|
-
.
|
|
96
|
+
.select__l_ejgv5 {
|
|
97
97
|
min-height: var(--size-l-height);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.select__xl_ejgv5 {
|
|
100
100
|
min-height: var(--size-xl-height);
|
|
101
101
|
}
|
|
102
|
-
.
|
|
103
|
-
.
|
|
102
|
+
.select__l_ejgv5,
|
|
103
|
+
.select__xl_ejgv5 {
|
|
104
104
|
padding-left: var(--select-option-l-left-padding);
|
|
105
105
|
padding-right: var(--select-option-l-right-padding)
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
.select__l_ejgv5:before, .select__xl_ejgv5:before {
|
|
108
108
|
left: var(--select-option-l-left-padding);
|
|
109
109
|
right: var(--select-option-l-right-padding);
|
|
110
110
|
}
|
|
111
|
-
.
|
|
111
|
+
.select__selected_ejgv5 {
|
|
112
112
|
background: var(--select-option-selected-background);
|
|
113
113
|
color: var(--select-option-selected-color);
|
|
114
114
|
cursor: default;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.select__highlighted_ejgv5 {
|
|
117
117
|
background: var(--select-option-hover-background);
|
|
118
118
|
color: var(--select-option-hover-color)
|
|
119
119
|
}
|
|
120
|
-
.
|
|
121
|
-
.
|
|
120
|
+
.select__highlighted_ejgv5:before,
|
|
121
|
+
.select__highlighted_ejgv5 + .select__option_ejgv5:before {
|
|
122
122
|
opacity: 0;
|
|
123
123
|
}
|
|
124
|
-
.
|
|
124
|
+
.select__disabled_ejgv5 {
|
|
125
125
|
cursor: var(--disabled-cursor);
|
|
126
126
|
background: var(--select-option-disabled-background);
|
|
127
127
|
color: var(--select-option-disabled-color);
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
.select__content_ejgv5 {
|
|
130
130
|
overflow: hidden;
|
|
131
131
|
flex: 1;
|
|
132
132
|
text-overflow: ellipsis;
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.select__textContent_ejgv5 {
|
|
135
135
|
padding-top: var(--gap-s);
|
|
136
136
|
padding-bottom: var(--gap-s);
|
|
137
137
|
}
|
|
138
138
|
/* IE min-height fix */
|
|
139
139
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
140
|
-
.
|
|
140
|
+
.select__option_ejgv5:after {
|
|
141
141
|
min-height: inherit;
|
|
142
142
|
font-size: 0;
|
|
143
143
|
content: '';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
export { Option } from './Component.js';
|
|
1
2
|
import 'react';
|
|
2
3
|
import 'classnames';
|
|
4
|
+
import '../base-select-mobile/checkmark/Component.js';
|
|
3
5
|
import '@alfalab/core-components/badge';
|
|
4
6
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
5
7
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
6
|
-
import '../base-select-mobile/checkmark/Component.js';
|
|
7
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
8
8
|
import '../checkmark/Component.js';
|
|
9
|
-
|
|
9
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { forwardRef, useRef } from 'react';
|
|
2
|
-
import cn from 'classnames';
|
|
3
2
|
import mergeRefs from 'react-merge-refs';
|
|
3
|
+
import cn from 'classnames';
|
|
4
|
+
import { Scrollbar } from '@alfalab/core-components-scrollbar/modern';
|
|
4
5
|
import { useMedia } from '@alfalab/hooks';
|
|
5
6
|
import { useVisibleOptions, isGroup } from '../../utils.js';
|
|
6
7
|
import { Optgroup } from '../optgroup/Component.js';
|
|
7
|
-
import { Scrollbar } from '@alfalab/core-components-scrollbar/modern';
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const styles = {"optionsList":"select__optionsList_12ydv","scrollable":"select__scrollable_12ydv","emptyPlaceholder":"select__emptyPlaceholder_12ydv","l":"select__l_12ydv","xl":"select__xl_12ydv"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const createCounter = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 138rh */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
4
4
|
}
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
|
|
27
27
|
/* optgroup */
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
.select__optionsList_12ydv {
|
|
30
30
|
overflow: auto;
|
|
31
31
|
width: 100%;
|
|
32
32
|
outline: none;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
.select__scrollable_12ydv {
|
|
36
36
|
overflow: auto;
|
|
37
37
|
width: 100%;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.select__emptyPlaceholder_12ydv {
|
|
40
40
|
padding: var(--gap-m) var(--gap-s);
|
|
41
41
|
color: var(--select-options-list-empty-placeholder-color);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
44
|
-
.
|
|
43
|
+
.select__l_12ydv .select__emptyPlaceholder_12ydv,
|
|
44
|
+
.select__xl_12ydv .select__emptyPlaceholder_12ydv {
|
|
45
45
|
padding: var(--gap-xl) var(--gap-m);
|
|
46
46
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export { OptionsList } from './Component.js';
|
|
1
2
|
import 'react';
|
|
2
|
-
import 'classnames';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
|
+
import 'classnames';
|
|
5
|
+
import '@alfalab/core-components-scrollbar/modern';
|
|
4
6
|
import '@alfalab/hooks';
|
|
5
7
|
import '../../utils.js';
|
|
6
8
|
import '../optgroup/Component.js';
|
|
7
|
-
import '@alfalab/core-components-scrollbar/modern';
|
|
8
|
-
export { OptionsList } from './Component.js';
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import '../arrow/Component.js';
|
|
3
|
+
export { S as SelectMobile } from '../../Component-b4cd876c.js';
|
|
4
|
+
import '../field/Component.js';
|
|
5
|
+
import '../optgroup/Component.js';
|
|
6
|
+
import '../option/Component.js';
|
|
2
7
|
import 'classnames';
|
|
3
8
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
4
|
-
import '../arrow/Component.js';
|
|
5
9
|
import 'react-merge-refs';
|
|
6
|
-
import '@juggle/resize-observer';
|
|
7
10
|
import 'downshift';
|
|
11
|
+
import '@alfalab/core-components-bottom-sheet/modern';
|
|
12
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
13
|
+
import '../../Component.js';
|
|
14
|
+
import '../../Component-633cd6ec.js';
|
|
15
|
+
import '@juggle/resize-observer';
|
|
8
16
|
import '@alfalab/core-components-popover/modern';
|
|
9
17
|
import '@alfalab/hooks';
|
|
10
|
-
import '../../Component-d5c51040.js';
|
|
11
18
|
import '../../utils.js';
|
|
12
19
|
import '../native-select/Component.js';
|
|
20
|
+
import '../options-list/Component.js';
|
|
21
|
+
import '@alfalab/core-components-scrollbar/modern';
|
|
13
22
|
import '@alfalab/core-components-form-control/modern';
|
|
14
|
-
import '../
|
|
15
|
-
import '../optgroup/Component.js';
|
|
23
|
+
import '../base-select-mobile/checkmark/Component.js';
|
|
16
24
|
import '@alfalab/core-components/badge';
|
|
17
25
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
18
26
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
19
|
-
import '../base-select-mobile/checkmark/Component.js';
|
|
20
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
21
27
|
import '../checkmark/Component.js';
|
|
22
|
-
import '
|
|
23
|
-
import '@alfalab/core-components-scrollbar/modern';
|
|
24
|
-
import '../options-list/Component.js';
|
|
25
|
-
import '../../Component.js';
|
|
26
|
-
import '@alfalab/core-components-bottom-sheet/modern';
|
|
27
|
-
import '@alfalab/core-components-modal/modern/mobile';
|
|
28
|
-
import '@alfalab/core-components-button/modern';
|
|
29
|
-
export { S as SelectMobile } from '../../Component-a6d52eb5.js';
|
|
30
|
-
import '../base-checkmark/Component.js';
|
|
31
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
32
|
-
import '../base-select-mobile/options-list/Component.js';
|
|
28
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
33
29
|
import 'react-virtual';
|
|
34
30
|
import '../base-option/Component.js';
|
|
31
|
+
import '../base-checkmark/Component.js';
|
|
35
32
|
import '@alfalab/core-components-skeleton/modern';
|
|
36
|
-
import '../../intersection-observer-
|
|
33
|
+
import '../../intersection-observer-f951196f.js';
|
|
34
|
+
import '@alfalab/core-components-button/modern';
|
|
35
|
+
import '../base-select-mobile/options-list/Component.js';
|
|
36
|
+
import '@alfalab/core-components-base-modal/modern';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-b4cd876c";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
+
export { S as SelectMobile } from '../../Component-b4cd876c.js';
|
|
1
2
|
import 'react';
|
|
3
|
+
import '../arrow/Component.js';
|
|
2
4
|
import 'classnames';
|
|
3
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
4
|
-
import '../arrow/Component.js';
|
|
5
6
|
import 'react-merge-refs';
|
|
6
|
-
import '@juggle/resize-observer';
|
|
7
7
|
import 'downshift';
|
|
8
|
+
import '@alfalab/core-components-bottom-sheet/modern';
|
|
9
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
10
|
+
import '../../Component.js';
|
|
11
|
+
import '../../Component-633cd6ec.js';
|
|
12
|
+
import '@juggle/resize-observer';
|
|
8
13
|
import '@alfalab/core-components-popover/modern';
|
|
9
14
|
import '@alfalab/hooks';
|
|
10
|
-
import '../../Component-d5c51040.js';
|
|
11
15
|
import '../../utils.js';
|
|
12
16
|
import '../native-select/Component.js';
|
|
13
|
-
import '@alfalab/core-components-form-control/modern';
|
|
14
17
|
import '../field/Component.js';
|
|
18
|
+
import '@alfalab/core-components-form-control/modern';
|
|
15
19
|
import '../optgroup/Component.js';
|
|
20
|
+
import '../option/Component.js';
|
|
21
|
+
import '../base-select-mobile/checkmark/Component.js';
|
|
16
22
|
import '@alfalab/core-components/badge';
|
|
17
23
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
18
24
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
19
|
-
import '../base-select-mobile/checkmark/Component.js';
|
|
20
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
21
25
|
import '../checkmark/Component.js';
|
|
22
|
-
import '
|
|
23
|
-
import '@alfalab/core-components-scrollbar/modern';
|
|
26
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
24
27
|
import '../options-list/Component.js';
|
|
25
|
-
import '
|
|
26
|
-
import '@alfalab/core-components-bottom-sheet/modern';
|
|
27
|
-
import '@alfalab/core-components-modal/modern/mobile';
|
|
28
|
-
import '@alfalab/core-components-button/modern';
|
|
29
|
-
export { S as SelectMobile } from '../../Component-a6d52eb5.js';
|
|
30
|
-
import '../base-checkmark/Component.js';
|
|
31
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
32
|
-
import '../base-select-mobile/options-list/Component.js';
|
|
28
|
+
import '@alfalab/core-components-scrollbar/modern';
|
|
33
29
|
import 'react-virtual';
|
|
34
30
|
import '../base-option/Component.js';
|
|
31
|
+
import '../base-checkmark/Component.js';
|
|
35
32
|
import '@alfalab/core-components-skeleton/modern';
|
|
36
|
-
import '../../intersection-observer-
|
|
33
|
+
import '../../intersection-observer-f951196f.js';
|
|
34
|
+
import '@alfalab/core-components-button/modern';
|
|
35
|
+
import '../base-select-mobile/options-list/Component.js';
|
|
36
|
+
import '@alfalab/core-components-base-modal/modern';
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import '../arrow/Component.js';
|
|
3
|
+
export { a as SelectModalMobile } from '../../Component-b4cd876c.js';
|
|
4
|
+
import '../field/Component.js';
|
|
5
|
+
import '../optgroup/Component.js';
|
|
6
|
+
import '../option/Component.js';
|
|
2
7
|
import 'classnames';
|
|
3
8
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
4
|
-
import '../arrow/Component.js';
|
|
5
9
|
import 'react-merge-refs';
|
|
6
|
-
import '@juggle/resize-observer';
|
|
7
10
|
import 'downshift';
|
|
11
|
+
import '@alfalab/core-components-bottom-sheet/modern';
|
|
12
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
13
|
+
import '../../Component.js';
|
|
14
|
+
import '../../Component-633cd6ec.js';
|
|
15
|
+
import '@juggle/resize-observer';
|
|
8
16
|
import '@alfalab/core-components-popover/modern';
|
|
9
17
|
import '@alfalab/hooks';
|
|
10
|
-
import '../../Component-d5c51040.js';
|
|
11
18
|
import '../../utils.js';
|
|
12
19
|
import '../native-select/Component.js';
|
|
20
|
+
import '../options-list/Component.js';
|
|
21
|
+
import '@alfalab/core-components-scrollbar/modern';
|
|
13
22
|
import '@alfalab/core-components-form-control/modern';
|
|
14
|
-
import '../
|
|
15
|
-
import '../optgroup/Component.js';
|
|
23
|
+
import '../base-select-mobile/checkmark/Component.js';
|
|
16
24
|
import '@alfalab/core-components/badge';
|
|
17
25
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
18
26
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
19
|
-
import '../base-select-mobile/checkmark/Component.js';
|
|
20
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
21
27
|
import '../checkmark/Component.js';
|
|
22
|
-
import '
|
|
23
|
-
import '@alfalab/core-components-scrollbar/modern';
|
|
24
|
-
import '../options-list/Component.js';
|
|
25
|
-
import '../../Component.js';
|
|
26
|
-
import '@alfalab/core-components-bottom-sheet/modern';
|
|
27
|
-
import '@alfalab/core-components-modal/modern/mobile';
|
|
28
|
-
import '@alfalab/core-components-button/modern';
|
|
29
|
-
export { a as SelectModalMobile } from '../../Component-a6d52eb5.js';
|
|
30
|
-
import '../base-checkmark/Component.js';
|
|
31
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
32
|
-
import '../base-select-mobile/options-list/Component.js';
|
|
28
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
33
29
|
import 'react-virtual';
|
|
34
30
|
import '../base-option/Component.js';
|
|
31
|
+
import '../base-checkmark/Component.js';
|
|
35
32
|
import '@alfalab/core-components-skeleton/modern';
|
|
36
|
-
import '../../intersection-observer-
|
|
33
|
+
import '../../intersection-observer-f951196f.js';
|
|
34
|
+
import '@alfalab/core-components-button/modern';
|
|
35
|
+
import '../base-select-mobile/options-list/Component.js';
|
|
36
|
+
import '@alfalab/core-components-base-modal/modern';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-b4cd876c";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
+
export { a as SelectModalMobile } from '../../Component-b4cd876c.js';
|
|
1
2
|
import 'react';
|
|
3
|
+
import '../arrow/Component.js';
|
|
2
4
|
import 'classnames';
|
|
3
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
4
|
-
import '../arrow/Component.js';
|
|
5
6
|
import 'react-merge-refs';
|
|
6
|
-
import '@juggle/resize-observer';
|
|
7
7
|
import 'downshift';
|
|
8
|
+
import '@alfalab/core-components-bottom-sheet/modern';
|
|
9
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
10
|
+
import '../../Component.js';
|
|
11
|
+
import '../../Component-633cd6ec.js';
|
|
12
|
+
import '@juggle/resize-observer';
|
|
8
13
|
import '@alfalab/core-components-popover/modern';
|
|
9
14
|
import '@alfalab/hooks';
|
|
10
|
-
import '../../Component-d5c51040.js';
|
|
11
15
|
import '../../utils.js';
|
|
12
16
|
import '../native-select/Component.js';
|
|
13
|
-
import '@alfalab/core-components-form-control/modern';
|
|
14
17
|
import '../field/Component.js';
|
|
18
|
+
import '@alfalab/core-components-form-control/modern';
|
|
15
19
|
import '../optgroup/Component.js';
|
|
20
|
+
import '../option/Component.js';
|
|
21
|
+
import '../base-select-mobile/checkmark/Component.js';
|
|
16
22
|
import '@alfalab/core-components/badge';
|
|
17
23
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
18
24
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
19
|
-
import '../base-select-mobile/checkmark/Component.js';
|
|
20
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
21
25
|
import '../checkmark/Component.js';
|
|
22
|
-
import '
|
|
23
|
-
import '@alfalab/core-components-scrollbar/modern';
|
|
26
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
24
27
|
import '../options-list/Component.js';
|
|
25
|
-
import '
|
|
26
|
-
import '@alfalab/core-components-bottom-sheet/modern';
|
|
27
|
-
import '@alfalab/core-components-modal/modern/mobile';
|
|
28
|
-
import '@alfalab/core-components-button/modern';
|
|
29
|
-
export { a as SelectModalMobile } from '../../Component-a6d52eb5.js';
|
|
30
|
-
import '../base-checkmark/Component.js';
|
|
31
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
32
|
-
import '../base-select-mobile/options-list/Component.js';
|
|
28
|
+
import '@alfalab/core-components-scrollbar/modern';
|
|
33
29
|
import 'react-virtual';
|
|
34
30
|
import '../base-option/Component.js';
|
|
31
|
+
import '../base-checkmark/Component.js';
|
|
35
32
|
import '@alfalab/core-components-skeleton/modern';
|
|
36
|
-
import '../../intersection-observer-
|
|
33
|
+
import '../../intersection-observer-f951196f.js';
|
|
34
|
+
import '@alfalab/core-components-button/modern';
|
|
35
|
+
import '../base-select-mobile/options-list/Component.js';
|
|
36
|
+
import '@alfalab/core-components-base-modal/modern';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { useRef, useState, useEffect, useMemo } from 'react';
|
|
2
|
+
import { useVirtual } from 'react-virtual';
|
|
2
3
|
import cn from 'classnames';
|
|
4
|
+
import { Scrollbar } from '@alfalab/core-components-scrollbar/modern';
|
|
3
5
|
import { useMedia } from '@alfalab/hooks';
|
|
4
6
|
import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
|
|
5
7
|
import { Optgroup } from '../optgroup/Component.js';
|
|
6
|
-
import { Scrollbar } from '@alfalab/core-components-scrollbar/modern';
|
|
7
|
-
import { useVirtual } from 'react-virtual';
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const styles = {"virtualOptionsList":"select__virtualOptionsList_qq5yi","scrollable":"select__scrollable_qq5yi","inner":"select__inner_qq5yi","virtualRow":"select__virtualRow_qq5yi","highlighted":"select__highlighted_qq5yi","emptyPlaceholder":"select__emptyPlaceholder_qq5yi","l":"select__l_qq5yi","xl":"select__xl_qq5yi"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12omj */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-primary: #dbdee1;
|
|
4
4
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
@@ -32,27 +32,27 @@
|
|
|
32
32
|
|
|
33
33
|
/* optgroup */
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
.select__virtualOptionsList_qq5yi {
|
|
36
36
|
width: 100%;
|
|
37
37
|
outline: none;
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
position: relative;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.select__scrollable_qq5yi {
|
|
42
42
|
overflow: auto;
|
|
43
43
|
width: 100%;
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.select__inner_qq5yi {
|
|
46
46
|
position: relative;
|
|
47
47
|
width: 100%;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.select__virtualRow_qq5yi {
|
|
50
50
|
position: absolute;
|
|
51
51
|
top: 0;
|
|
52
52
|
left: 0;
|
|
53
53
|
width: 100%
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.select__virtualRow_qq5yi:before {
|
|
56
56
|
content: '';
|
|
57
57
|
position: absolute;
|
|
58
58
|
z-index: 1;
|
|
@@ -63,18 +63,18 @@
|
|
|
63
63
|
background: var(--select-option-divider-background);
|
|
64
64
|
display: var(--select-option-divider-display);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.select__virtualRow_qq5yi:first-child:before {
|
|
67
67
|
display: none;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
70
|
-
.
|
|
69
|
+
.select__highlighted_qq5yi:before,
|
|
70
|
+
.select__highlighted_qq5yi + .select__virtualRow_qq5yi:before {
|
|
71
71
|
display: none;
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.select__emptyPlaceholder_qq5yi {
|
|
74
74
|
padding: var(--gap-m) var(--gap-s);
|
|
75
75
|
color: var(--select-options-list-empty-placeholder-color);
|
|
76
76
|
}
|
|
77
|
-
.
|
|
78
|
-
.
|
|
77
|
+
.select__l_qq5yi .select__emptyPlaceholder_qq5yi,
|
|
78
|
+
.select__xl_qq5yi .select__emptyPlaceholder_qq5yi {
|
|
79
79
|
padding: var(--gap-xl) var(--gap-m);
|
|
80
80
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
export { VirtualOptionsList } from './Component.js';
|
|
1
2
|
import 'react';
|
|
3
|
+
import 'react-virtual';
|
|
2
4
|
import 'classnames';
|
|
5
|
+
import '@alfalab/core-components-scrollbar/modern';
|
|
3
6
|
import '@alfalab/hooks';
|
|
4
7
|
import '../../utils.js';
|
|
5
8
|
import '../optgroup/Component.js';
|
|
6
|
-
import '@alfalab/core-components-scrollbar/modern';
|
|
7
|
-
import 'react-virtual';
|
|
8
|
-
export { VirtualOptionsList } from './Component.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getDataTestId: (dataTestId?: string
|
|
1
|
+
declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
|
|
2
2
|
export { getDataTestId };
|
package/modern/index.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
+
export { Select } from './Component.js';
|
|
2
|
+
export { Arrow } from './components/arrow/Component.js';
|
|
3
|
+
export { B as BaseSelect } from './Component-633cd6ec.js';
|
|
4
|
+
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-b4cd876c.js';
|
|
5
|
+
export { Field } from './components/field/Component.js';
|
|
6
|
+
export { Optgroup } from './components/optgroup/Component.js';
|
|
7
|
+
export { Option } from './components/option/Component.js';
|
|
8
|
+
export { OptionsList } from './components/options-list/Component.js';
|
|
9
|
+
export { VirtualOptionsList } from './components/virtual-options-list/Component.js';
|
|
10
|
+
export { BaseOption } from './components/base-option/Component.js';
|
|
11
|
+
export { useSelectWithLoading } from './presets/useSelectWithLoading/hook.js';
|
|
12
|
+
export { useLazyLoading } from './presets/useLazyLoading/hook.js';
|
|
13
|
+
export { isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from './utils.js';
|
|
1
14
|
import 'react';
|
|
2
15
|
import 'classnames';
|
|
3
16
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
4
|
-
export { Arrow } from './components/arrow/Component.js';
|
|
5
17
|
import 'react-merge-refs';
|
|
6
18
|
import '@juggle/resize-observer';
|
|
7
19
|
import 'downshift';
|
|
8
20
|
import '@alfalab/core-components-popover/modern';
|
|
9
21
|
import '@alfalab/hooks';
|
|
10
|
-
export { B as BaseSelect } from './Component-d5c51040.js';
|
|
11
|
-
export { isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from './utils.js';
|
|
12
22
|
import './components/native-select/Component.js';
|
|
13
23
|
import '@alfalab/core-components-form-control/modern';
|
|
14
|
-
|
|
15
|
-
export { Optgroup } from './components/optgroup/Component.js';
|
|
24
|
+
import './components/base-select-mobile/checkmark/Component.js';
|
|
16
25
|
import '@alfalab/core-components/badge';
|
|
17
26
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
18
27
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
19
|
-
import './components/base-select-mobile/checkmark/Component.js';
|
|
20
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
21
28
|
import './components/checkmark/Component.js';
|
|
22
|
-
|
|
29
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
23
30
|
import '@alfalab/core-components-scrollbar/modern';
|
|
24
|
-
export { OptionsList } from './components/options-list/Component.js';
|
|
25
|
-
export { Select } from './Component.js';
|
|
26
31
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
27
32
|
import '@alfalab/core-components-modal/modern/mobile';
|
|
33
|
+
import 'react-virtual';
|
|
34
|
+
import '@alfalab/core-components-skeleton/modern';
|
|
35
|
+
import './intersection-observer-f951196f.js';
|
|
28
36
|
import '@alfalab/core-components-button/modern';
|
|
29
|
-
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-a6d52eb5.js';
|
|
30
37
|
import './components/base-checkmark/Component.js';
|
|
31
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
32
38
|
import './components/base-select-mobile/options-list/Component.js';
|
|
33
|
-
import '
|
|
34
|
-
export { VirtualOptionsList } from './components/virtual-options-list/Component.js';
|
|
35
|
-
export { BaseOption } from './components/base-option/Component.js';
|
|
36
|
-
import '@alfalab/core-components-skeleton/modern';
|
|
37
|
-
export { useSelectWithLoading } from './presets/useSelectWithLoading/hook.js';
|
|
38
|
-
export { useLazyLoading } from './presets/useLazyLoading/hook.js';
|
|
39
|
-
import './intersection-observer-7304e334.js';
|
|
39
|
+
import '@alfalab/core-components-base-modal/modern';
|
|
File without changes
|
|
File without changes
|
package/modern/presets/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
+
export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
|
|
2
|
+
export { useLazyLoading } from './useLazyLoading/hook.js';
|
|
3
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-b4cd876c.js';
|
|
1
4
|
import 'react';
|
|
5
|
+
import '@alfalab/core-components-skeleton/modern';
|
|
6
|
+
import '../components/option/Component.js';
|
|
2
7
|
import 'classnames';
|
|
3
|
-
import '
|
|
8
|
+
import '../components/base-select-mobile/checkmark/Component.js';
|
|
9
|
+
import '@alfalab/core-components/badge';
|
|
10
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
11
|
+
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
12
|
+
import '../components/checkmark/Component.js';
|
|
13
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
14
|
+
import '../intersection-observer-f951196f.js';
|
|
4
15
|
import '../components/arrow/Component.js';
|
|
16
|
+
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
5
17
|
import 'react-merge-refs';
|
|
6
|
-
import '@juggle/resize-observer';
|
|
7
18
|
import 'downshift';
|
|
19
|
+
import '@alfalab/core-components-bottom-sheet/modern';
|
|
20
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
21
|
+
import '../Component.js';
|
|
22
|
+
import '../Component-633cd6ec.js';
|
|
23
|
+
import '@juggle/resize-observer';
|
|
8
24
|
import '@alfalab/core-components-popover/modern';
|
|
9
25
|
import '@alfalab/hooks';
|
|
10
|
-
import '../Component-d5c51040.js';
|
|
11
26
|
import '../utils.js';
|
|
12
27
|
import '../components/native-select/Component.js';
|
|
13
|
-
import '@alfalab/core-components-form-control/modern';
|
|
14
28
|
import '../components/field/Component.js';
|
|
29
|
+
import '@alfalab/core-components-form-control/modern';
|
|
15
30
|
import '../components/optgroup/Component.js';
|
|
16
|
-
import '@alfalab/core-components/badge';
|
|
17
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
18
|
-
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
19
|
-
import '../components/base-select-mobile/checkmark/Component.js';
|
|
20
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
21
|
-
import '../components/checkmark/Component.js';
|
|
22
|
-
import '../components/option/Component.js';
|
|
23
|
-
import '@alfalab/core-components-scrollbar/modern';
|
|
24
31
|
import '../components/options-list/Component.js';
|
|
25
|
-
import '
|
|
26
|
-
import '@alfalab/core-components-bottom-sheet/modern';
|
|
27
|
-
import '@alfalab/core-components-modal/modern/mobile';
|
|
28
|
-
import '@alfalab/core-components-button/modern';
|
|
29
|
-
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-a6d52eb5.js';
|
|
30
|
-
import '../components/base-checkmark/Component.js';
|
|
31
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
32
|
-
import '../components/base-select-mobile/options-list/Component.js';
|
|
32
|
+
import '@alfalab/core-components-scrollbar/modern';
|
|
33
33
|
import 'react-virtual';
|
|
34
34
|
import '../components/base-option/Component.js';
|
|
35
|
-
import '
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
import '
|
|
35
|
+
import '../components/base-checkmark/Component.js';
|
|
36
|
+
import '@alfalab/core-components-button/modern';
|
|
37
|
+
import '../components/base-select-mobile/options-list/Component.js';
|
|
38
|
+
import '@alfalab/core-components-base-modal/modern';
|