@alfalab/core-components-select 14.0.2 → 14.0.3
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-dd926cf7.js → Component-64211fbc.js} +1 -1
- 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 +2 -2
- package/components/base-select/index.css +8 -8
- package/components/base-select/index.js +1 -1
- package/components/base-select-mobile/Component.js +2 -2
- package/components/base-select-mobile/footer/Component.js +1 -1
- package/components/base-select-mobile/footer/index.css +5 -5
- package/components/base-select-mobile/index.css +10 -10
- package/components/base-select-mobile/index.js +1 -1
- package/components/checkmark/Component.js +1 -1
- package/components/checkmark/index.css +10 -10
- package/components/checkmark-mobile/Component.js +1 -1
- package/components/checkmark-mobile/index.css +6 -6
- 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-d6246282.js → Component-7140ff91.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 +2 -2
- package/esm/components/base-select/index.css +8 -8
- package/esm/components/base-select/index.js +1 -1
- package/esm/components/base-select-mobile/Component.js +2 -2
- package/esm/components/base-select-mobile/footer/Component.js +1 -1
- package/esm/components/base-select-mobile/footer/index.css +5 -5
- package/esm/components/base-select-mobile/index.css +10 -10
- package/esm/components/base-select-mobile/index.js +1 -1
- package/esm/components/checkmark/Component.js +1 -1
- package/esm/components/checkmark/index.css +10 -10
- package/esm/components/checkmark-mobile/Component.js +1 -1
- package/esm/components/checkmark-mobile/index.css +6 -6
- 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/footer/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/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-55395944.js → Component-55f51640.js} +1 -1
- 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 +2 -2
- package/modern/components/base-select/index.css +8 -8
- package/modern/components/base-select/index.js +1 -1
- package/modern/components/base-select-mobile/Component.js +2 -2
- package/modern/components/base-select-mobile/footer/Component.js +1 -1
- package/modern/components/base-select-mobile/footer/index.css +5 -5
- package/modern/components/base-select-mobile/index.css +10 -10
- package/modern/components/base-select-mobile/index.js +1 -1
- package/modern/components/checkmark/Component.js +1 -1
- package/modern/components/checkmark/index.css +10 -10
- package/modern/components/checkmark-mobile/Component.js +1 -1
- package/modern/components/checkmark-mobile/index.css +6 -6
- 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/footer/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/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 +5 -5
- 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/footer/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/footer/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-dd926cf7.d.ts → Component-64211fbc.d.ts} +0 -0
- /package/esm/{Component-d6246282.d.ts → Component-7140ff91.d.ts} +0 -0
- /package/esm/{getDataTestId-78e42ffe.d.ts → getDataTestId-314fa1a6.d.ts} +0 -0
- /package/esm/{getDataTestId-78e42ffe.js → getDataTestId-314fa1a6.js} +0 -0
- /package/esm/{intersection-observer-6ef082f5.d.ts → intersection-observer-23bd3749.d.ts} +0 -0
- /package/esm/{intersection-observer-6ef082f5.js → intersection-observer-23bd3749.js} +0 -0
- /package/{getDataTestId-305ed968.d.ts → getDataTestId-4fb00db1.d.ts} +0 -0
- /package/{getDataTestId-305ed968.js → getDataTestId-4fb00db1.js} +0 -0
- /package/{intersection-observer-95e396cc.d.ts → intersection-observer-471bfd3d.d.ts} +0 -0
- /package/{intersection-observer-95e396cc.js → intersection-observer-471bfd3d.js} +0 -0
- /package/modern/{Component-55395944.d.ts → Component-55f51640.d.ts} +0 -0
- /package/modern/{getDataTestId-f5aec7f0.d.ts → getDataTestId-9b9ba93b.d.ts} +0 -0
- /package/modern/{getDataTestId-f5aec7f0.js → getDataTestId-9b9ba93b.js} +0 -0
- /package/modern/{intersection-observer-6ef082f5.d.ts → intersection-observer-23bd3749.d.ts} +0 -0
- /package/modern/{intersection-observer-6ef082f5.js → intersection-observer-23bd3749.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 13txe */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-primary: #dcdcdd;
|
|
@@ -35,34 +35,34 @@
|
|
|
35
35
|
/* checkmark */
|
|
36
36
|
|
|
37
37
|
/* optgroup */
|
|
38
|
-
} .
|
|
38
|
+
} .select__virtualOptionsList_24s6j {
|
|
39
39
|
width: 100%;
|
|
40
40
|
outline: none;
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
position: sticky;
|
|
43
|
-
} .
|
|
43
|
+
} .select__virtualOptionsListHeader_24s6j {
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
border-bottom: 1px solid var(--color-light-border-secondary);
|
|
46
|
-
} .
|
|
46
|
+
} .select__virtualOptionsListFooter_24s6j {
|
|
47
47
|
position: sticky;
|
|
48
48
|
bottom: 0;
|
|
49
49
|
box-sizing: border-box;
|
|
50
50
|
border-top: 1px solid transparent
|
|
51
|
-
} .
|
|
51
|
+
} .select__virtualOptionsListFooter_24s6j.select__withBorder_24s6j {
|
|
52
52
|
border-top: 1px solid var(--color-light-border-secondary);
|
|
53
|
-
} .
|
|
53
|
+
} .select__scrollable_24s6j {
|
|
54
54
|
position: relative;
|
|
55
55
|
overflow: auto;
|
|
56
56
|
width: 100%;
|
|
57
|
-
} .
|
|
57
|
+
} .select__inner_24s6j {
|
|
58
58
|
position: relative;
|
|
59
59
|
width: 100%;
|
|
60
|
-
} .
|
|
60
|
+
} .select__virtualRow_24s6j {
|
|
61
61
|
position: absolute;
|
|
62
62
|
top: 0;
|
|
63
63
|
left: 0;
|
|
64
64
|
width: 100%
|
|
65
|
-
} .
|
|
65
|
+
} .select__virtualRow_24s6j:before {
|
|
66
66
|
content: '';
|
|
67
67
|
position: absolute;
|
|
68
68
|
z-index: 1;
|
|
@@ -72,15 +72,15 @@
|
|
|
72
72
|
height: 1px;
|
|
73
73
|
background: var(--select-option-divider-background);
|
|
74
74
|
display: var(--select-option-divider-display);
|
|
75
|
-
} .
|
|
75
|
+
} .select__virtualRow_24s6j:first-child:before {
|
|
76
76
|
display: none;
|
|
77
|
-
} .
|
|
78
|
-
.
|
|
77
|
+
} .select__highlighted_24s6j:before,
|
|
78
|
+
.select__highlighted_24s6j + .select__virtualRow_24s6j:before {
|
|
79
79
|
display: none;
|
|
80
|
-
} .
|
|
80
|
+
} .select__emptyPlaceholder_24s6j {
|
|
81
81
|
padding: var(--gap-m) var(--gap-s);
|
|
82
82
|
color: var(--select-options-list-empty-placeholder-color);
|
|
83
|
-
} .
|
|
84
|
-
.
|
|
83
|
+
} .select__l_24s6j .select__emptyPlaceholder_24s6j,
|
|
84
|
+
.select__xl_24s6j .select__emptyPlaceholder_24s6j {
|
|
85
85
|
padding: var(--gap-xl) var(--gap-m);
|
|
86
86
|
}
|
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
3
|
export { BaseSelect } from './components/base-select/Component.js';
|
|
4
|
-
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-
|
|
4
|
+
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-7140ff91.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';
|
|
@@ -20,7 +20,7 @@ import '@juggle/resize-observer';
|
|
|
20
20
|
import 'downshift';
|
|
21
21
|
import '@alfalab/core-components-popover/esm';
|
|
22
22
|
import '@alfalab/hooks';
|
|
23
|
-
import './getDataTestId-
|
|
23
|
+
import './getDataTestId-314fa1a6.js';
|
|
24
24
|
import './components/native-select/Component.js';
|
|
25
25
|
import './components/base-select-mobile/Component.js';
|
|
26
26
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
@@ -34,7 +34,7 @@ import '@alfalab/core-components-checkbox/esm';
|
|
|
34
34
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
35
35
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
36
36
|
import '@alfalab/core-components-skeleton/esm';
|
|
37
|
-
import './intersection-observer-
|
|
37
|
+
import './intersection-observer-23bd3749.js';
|
|
38
38
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
39
39
|
import './components/checkmark/Component.js';
|
|
40
40
|
import './components/checkmark-mobile/Component.js';
|
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-7140ff91.js';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@alfalab/core-components-skeleton/esm';
|
|
@@ -12,7 +12,7 @@ import '@alfalab/core-components-checkbox/esm';
|
|
|
12
12
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
13
13
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
14
14
|
import '../components/checkmark-mobile/Component.js';
|
|
15
|
-
import '../intersection-observer-
|
|
15
|
+
import '../intersection-observer-23bd3749.js';
|
|
16
16
|
import '../Component.js';
|
|
17
17
|
import '../components/arrow/Component.js';
|
|
18
18
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -22,7 +22,7 @@ import '@juggle/resize-observer';
|
|
|
22
22
|
import 'downshift';
|
|
23
23
|
import '@alfalab/core-components-popover/esm';
|
|
24
24
|
import '@alfalab/hooks';
|
|
25
|
-
import '../getDataTestId-
|
|
25
|
+
import '../getDataTestId-314fa1a6.js';
|
|
26
26
|
import '../utils.js';
|
|
27
27
|
import '../components/native-select/Component.js';
|
|
28
28
|
import '../components/field/Component.js';
|
|
@@ -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-23bd3749.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../components/checkmark/Component.js';
|
|
8
8
|
import '@alfalab/core-components-badge/esm';
|
|
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
|
11
11
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
12
12
|
import '../../components/checkmark-mobile/Component.js';
|
|
13
13
|
|
|
14
|
-
var styles = {"skeleton":"
|
|
14
|
+
var styles = {"skeleton":"select__skeleton_19p4n"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var DEBOUNCE_TIMEOUT = 300;
|
|
@@ -4,7 +4,7 @@ import '../../Component.js';
|
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
6
|
import '../../components/base-select/Component.js';
|
|
7
|
-
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-
|
|
7
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-7140ff91.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../utils.js';
|
|
@@ -15,7 +15,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
|
15
15
|
import '../../components/options-list/Component.js';
|
|
16
16
|
import '../../components/virtual-options-list/Component.js';
|
|
17
17
|
import '@alfalab/core-components-skeleton/esm';
|
|
18
|
-
import '../../intersection-observer-
|
|
18
|
+
import '../../intersection-observer-23bd3749.js';
|
|
19
19
|
import '../../components/arrow/Component.js';
|
|
20
20
|
import '../../components/field/Component.js';
|
|
21
21
|
import '../../components/optgroup/Component.js';
|
|
@@ -26,7 +26,7 @@ import 'react-merge-refs';
|
|
|
26
26
|
import '@juggle/resize-observer';
|
|
27
27
|
import 'downshift';
|
|
28
28
|
import '@alfalab/core-components-popover/esm';
|
|
29
|
-
import '../../getDataTestId-
|
|
29
|
+
import '../../getDataTestId-314fa1a6.js';
|
|
30
30
|
import '../../components/native-select/Component.js';
|
|
31
31
|
import '@alfalab/core-components-scrollbar/esm';
|
|
32
32
|
import '../../components/base-select-mobile/Component.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'tslib';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../../components/options-list/Component.js';
|
|
4
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
4
|
+
export { O as OptionsListWithApply } from '../../../Component-7140ff91.js';
|
|
5
5
|
import './footer/Component.js';
|
|
6
6
|
import 'react-merge-refs';
|
|
7
7
|
import 'classnames';
|
|
@@ -16,7 +16,7 @@ import '../../../components/base-select/Component.js';
|
|
|
16
16
|
import '@juggle/resize-observer';
|
|
17
17
|
import 'downshift';
|
|
18
18
|
import '@alfalab/core-components-popover/esm';
|
|
19
|
-
import '../../../getDataTestId-
|
|
19
|
+
import '../../../getDataTestId-314fa1a6.js';
|
|
20
20
|
import '../../../components/native-select/Component.js';
|
|
21
21
|
import '../../../components/field/Component.js';
|
|
22
22
|
import '@alfalab/core-components-form-control/esm';
|
|
@@ -36,4 +36,4 @@ import '@alfalab/core-components-button/esm';
|
|
|
36
36
|
import '../../../components/virtual-options-list/Component.js';
|
|
37
37
|
import 'react-virtual';
|
|
38
38
|
import '@alfalab/core-components-skeleton/esm';
|
|
39
|
-
import '../../../intersection-observer-
|
|
39
|
+
import '../../../intersection-observer-23bd3749.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1wync */
|
|
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_v9i4v {
|
|
30
30
|
background-color: var(--color-light-bg-primary);
|
|
31
31
|
padding: var(--gap-s);
|
|
32
32
|
outline: none
|
|
33
|
-
} .
|
|
33
|
+
} .select__footer_v9i4v > * + * {
|
|
34
34
|
margin-left: var(--gap-xs);
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../../Component-
|
|
1
|
+
export * from "../../../Component-7140ff91";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
1
|
+
export { O as OptionsListWithApply } from '../../../Component-7140ff91.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../../Component.js';
|
|
@@ -11,7 +11,7 @@ import '@juggle/resize-observer';
|
|
|
11
11
|
import 'downshift';
|
|
12
12
|
import '@alfalab/core-components-popover/esm';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
-
import '../../../getDataTestId-
|
|
14
|
+
import '../../../getDataTestId-314fa1a6.js';
|
|
15
15
|
import '../../../utils.js';
|
|
16
16
|
import '../../../components/native-select/Component.js';
|
|
17
17
|
import '../../../components/field/Component.js';
|
|
@@ -35,5 +35,5 @@ import '@alfalab/core-components-button/esm';
|
|
|
35
35
|
import '../../../components/virtual-options-list/Component.js';
|
|
36
36
|
import 'react-virtual';
|
|
37
37
|
import '@alfalab/core-components-skeleton/esm';
|
|
38
|
-
import '../../../intersection-observer-
|
|
38
|
+
import '../../../intersection-observer-23bd3749.js';
|
|
39
39
|
import './footer/Component.js';
|
|
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
|
10
10
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
11
11
|
import '../../components/checkmark-mobile/Component.js';
|
|
12
12
|
|
|
13
|
-
var styles = {"skeleton":"
|
|
13
|
+
var styles = {"skeleton":"select__skeleton_7q6gd"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
function useSelectWithLoading(_a) {
|
package/esm/responsive.js
CHANGED
|
@@ -11,7 +11,7 @@ import 'react-merge-refs';
|
|
|
11
11
|
import '@juggle/resize-observer';
|
|
12
12
|
import 'downshift';
|
|
13
13
|
import '@alfalab/core-components-popover/esm';
|
|
14
|
-
import './getDataTestId-
|
|
14
|
+
import './getDataTestId-314fa1a6.js';
|
|
15
15
|
import './utils.js';
|
|
16
16
|
import './components/native-select/Component.js';
|
|
17
17
|
import './components/field/Component.js';
|
|
@@ -26,7 +26,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
|
26
26
|
import './components/checkmark-mobile/Component.js';
|
|
27
27
|
import './components/options-list/Component.js';
|
|
28
28
|
import '@alfalab/core-components-scrollbar/esm';
|
|
29
|
-
import './Component-
|
|
29
|
+
import './Component-7140ff91.js';
|
|
30
30
|
import './components/base-select-mobile/Component.js';
|
|
31
31
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
32
32
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
@@ -36,5 +36,5 @@ import '@alfalab/core-components-button/esm';
|
|
|
36
36
|
import './components/virtual-options-list/Component.js';
|
|
37
37
|
import 'react-virtual';
|
|
38
38
|
import '@alfalab/core-components-skeleton/esm';
|
|
39
|
-
import './intersection-observer-
|
|
39
|
+
import './intersection-observer-23bd3749.js';
|
|
40
40
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
package/index-3885b0d7.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var Component = require('./Component.js');
|
|
6
6
|
var components_arrow_Component = require('./components/arrow/Component.js');
|
|
7
7
|
var components_baseSelect_Component = require('./components/base-select/Component.js');
|
|
8
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-
|
|
8
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-64211fbc.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');
|
|
@@ -24,7 +24,7 @@ require('@juggle/resize-observer');
|
|
|
24
24
|
require('downshift');
|
|
25
25
|
require('@alfalab/core-components-popover');
|
|
26
26
|
require('@alfalab/hooks');
|
|
27
|
-
require('./getDataTestId-
|
|
27
|
+
require('./getDataTestId-4fb00db1.js');
|
|
28
28
|
require('./components/native-select/Component.js');
|
|
29
29
|
require('./components/base-select-mobile/Component.js');
|
|
30
30
|
require('@alfalab/core-components-bottom-sheet');
|
|
@@ -38,7 +38,7 @@ require('@alfalab/core-components-checkbox');
|
|
|
38
38
|
require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
|
|
39
39
|
require('@alfalab/icons-glyph/CheckmarkMIcon');
|
|
40
40
|
require('@alfalab/core-components-skeleton');
|
|
41
|
-
require('./intersection-observer-
|
|
41
|
+
require('./intersection-observer-471bfd3d.js');
|
|
42
42
|
require('./presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
|
|
43
43
|
require('./components/checkmark/Component.js');
|
|
44
44
|
require('./components/checkmark-mobile/Component.js');
|
|
@@ -19,7 +19,7 @@ import '@alfalab/core-components-checkbox/modern';
|
|
|
19
19
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
20
20
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
21
21
|
import '@alfalab/core-components-skeleton/modern';
|
|
22
|
-
import './intersection-observer-
|
|
22
|
+
import './intersection-observer-23bd3749.js';
|
|
23
23
|
import { Footer } from './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
24
24
|
|
|
25
25
|
const OptionsListWithApply = forwardRef(({ toggleMenu, getOptionProps: defaultGetOptionProps, showClear = true, selectedDraft = [], flatOptions = [], OptionsList: OptionsList$1 = OptionsList, onApply = () => null, onClear = () => null, onClose = () => null, visibleOptions = 5, Footer: Footer$1 = Footer, ...restProps }, ref) => {
|
package/modern/Component.js
CHANGED
|
@@ -12,7 +12,7 @@ import '@juggle/resize-observer';
|
|
|
12
12
|
import 'downshift';
|
|
13
13
|
import '@alfalab/core-components-popover/modern';
|
|
14
14
|
import '@alfalab/hooks';
|
|
15
|
-
import './getDataTestId-
|
|
15
|
+
import './getDataTestId-9b9ba93b.js';
|
|
16
16
|
import './utils.js';
|
|
17
17
|
import './components/native-select/Component.js';
|
|
18
18
|
import '@alfalab/core-components-form-control/modern';
|
|
@@ -4,7 +4,7 @@ import { Select } from './Component.js';
|
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
6
|
import './components/base-select/Component.js';
|
|
7
|
-
import { S as SelectMobile } from './Component-
|
|
7
|
+
import { S as SelectMobile } from './Component-55f51640.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/modern';
|
|
9
9
|
import '@alfalab/core-components-badge/modern';
|
|
10
10
|
import '@alfalab/core-components-checkbox/modern';
|
|
@@ -23,7 +23,7 @@ import 'react-merge-refs';
|
|
|
23
23
|
import '@juggle/resize-observer';
|
|
24
24
|
import 'downshift';
|
|
25
25
|
import '@alfalab/core-components-popover/modern';
|
|
26
|
-
import './getDataTestId-
|
|
26
|
+
import './getDataTestId-9b9ba93b.js';
|
|
27
27
|
import './components/native-select/Component.js';
|
|
28
28
|
import './components/base-select-mobile/Component.js';
|
|
29
29
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
@@ -32,7 +32,7 @@ import './components/base-select-mobile/footer/Component.js';
|
|
|
32
32
|
import '@alfalab/core-components-base-modal/modern';
|
|
33
33
|
import '@alfalab/core-components-button/modern';
|
|
34
34
|
import '@alfalab/core-components-skeleton/modern';
|
|
35
|
-
import './intersection-observer-
|
|
35
|
+
import './intersection-observer-23bd3749.js';
|
|
36
36
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
37
37
|
import '@alfalab/core-components-scrollbar/modern';
|
|
38
38
|
import 'react-virtual';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { ChevronDownMIcon } from '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
4
4
|
|
|
5
|
-
const styles = {"arrow":"
|
|
5
|
+
const styles = {"arrow":"select__arrow_10hi1","open":"select__open_10hi1"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Arrow = ({ open, className }) => (React.createElement(ChevronDownMIcon, { className: cn(styles.arrow, className, { [styles.open]: open }) }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1byqx */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0e0e0e; /* 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,13 +26,13 @@
|
|
|
26
26
|
/* checkmark */
|
|
27
27
|
|
|
28
28
|
/* optgroup */
|
|
29
|
-
} .
|
|
29
|
+
} .select__arrow_10hi1 {
|
|
30
30
|
display: block;
|
|
31
31
|
width: 24px;
|
|
32
32
|
height: 24px;
|
|
33
33
|
color: var(--select-arrow-color);
|
|
34
34
|
|
|
35
35
|
transition: transform 0.15s ease-in-out, opacity 0.2s ease;
|
|
36
|
-
} .
|
|
36
|
+
} .select__open_10hi1 {
|
|
37
37
|
transform: var(--arrow-transform);
|
|
38
38
|
}
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { Checkbox } from '@alfalab/core-components-checkbox/modern';
|
|
4
4
|
import { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
5
5
|
|
|
6
|
-
const styles = {"checkmark":"
|
|
6
|
+
const styles = {"checkmark":"select__checkmark_xky63","single":"select__single_xky63","selected":"select__selected_xky63"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const BaseCheckmark = ({ selected, disabled = false, className, multiple, }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1h4v6 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* 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 */
|
|
4
4
|
} :root { /* 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 */
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
/* checkmark */
|
|
24
24
|
|
|
25
25
|
/* optgroup */
|
|
26
|
-
} .
|
|
26
|
+
} .select__checkmark_xky63 {
|
|
27
27
|
flex-shrink: 0;
|
|
28
28
|
box-sizing: border-box;
|
|
29
|
-
} .
|
|
29
|
+
} .select__single_xky63 {
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: center;
|
|
33
33
|
opacity: 0
|
|
34
|
-
} .
|
|
34
|
+
} .select__single_xky63.select__selected_xky63 {
|
|
35
35
|
opacity: 1;
|
|
36
36
|
}
|
|
@@ -4,7 +4,7 @@ import { BaseCheckmark } from '../base-checkmark/Component.js';
|
|
|
4
4
|
import '@alfalab/core-components-checkbox/modern';
|
|
5
5
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
6
6
|
|
|
7
|
-
const styles = {"option":"
|
|
7
|
+
const styles = {"option":"select__option_n1itk","disabled":"select__disabled_n1itk","checkmarkBefore":"select__checkmarkBefore_n1itk","mobile":"select__mobile_n1itk","checkmarkAfter":"select__checkmarkAfter_n1itk","textContent":"select__textContent_n1itk","selected":"select__selected_n1itk","highlighted":"select__highlighted_n1itk","content":"select__content_n1itk"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const BaseOption = ({ className, option, children, selected, highlighted, disabled, multiple, Checkmark = BaseCheckmark, checkmarkPosition = multiple ? 'before' : 'after', innerProps, dataTestId, mobile = false, }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1oqo1 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
/* checkmark */
|
|
44
44
|
|
|
45
45
|
/* optgroup */
|
|
46
|
-
} .
|
|
46
|
+
} .select__option_n1itk {
|
|
47
47
|
font-size: 16px;
|
|
48
48
|
line-height: 20px;
|
|
49
49
|
font-weight: 400;
|
|
@@ -60,32 +60,32 @@
|
|
|
60
60
|
position: relative;
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
min-height: var(--size-s-height)
|
|
63
|
-
} .
|
|
63
|
+
} .select__option_n1itk:not(.select__disabled_n1itk):active {
|
|
64
64
|
background: var(--select-option-active-background);
|
|
65
65
|
color: var(--select-option-active-color);
|
|
66
|
-
} .
|
|
66
|
+
} .select__option_n1itk.select__checkmarkBefore_n1itk {
|
|
67
67
|
padding: 0 0 0 var(--gap-s)
|
|
68
|
-
} .
|
|
68
|
+
} .select__option_n1itk.select__checkmarkBefore_n1itk.select__mobile_n1itk {
|
|
69
69
|
padding-left: var(--gap-m);
|
|
70
|
-
} .
|
|
70
|
+
} .select__option_n1itk.select__checkmarkAfter_n1itk {
|
|
71
71
|
padding: 0 var(--gap-s) 0 0
|
|
72
|
-
} .
|
|
72
|
+
} .select__option_n1itk.select__checkmarkAfter_n1itk.select__mobile_n1itk {
|
|
73
73
|
padding-right: var(--gap-l);
|
|
74
|
-
} .
|
|
74
|
+
} .select__option_n1itk.select__textContent_n1itk {
|
|
75
75
|
padding: var(--gap-s)
|
|
76
|
-
} .
|
|
76
|
+
} .select__option_n1itk.select__textContent_n1itk.select__mobile_n1itk {
|
|
77
77
|
padding: var(--gap-m) var(--gap-l) var(--gap-m) var(--gap-m);
|
|
78
|
-
} .
|
|
78
|
+
} .select__selected_n1itk {
|
|
79
79
|
background: var(--select-option-selected-background);
|
|
80
80
|
color: var(--select-option-selected-color);
|
|
81
81
|
cursor: default;
|
|
82
|
-
} .
|
|
82
|
+
} .select__highlighted_n1itk {
|
|
83
83
|
background: var(--select-option-hover-background);
|
|
84
84
|
color: var(--select-option-hover-color);
|
|
85
|
-
} .
|
|
85
|
+
} .select__disabled_n1itk {
|
|
86
86
|
cursor: var(--disabled-cursor);
|
|
87
87
|
background: var(--select-option-disabled-background);
|
|
88
88
|
color: var(--select-option-disabled-color);
|
|
89
|
-
} .
|
|
89
|
+
} .select__content_n1itk {
|
|
90
90
|
flex: 1;
|
|
91
91
|
}
|
|
@@ -5,11 +5,11 @@ import cn from 'classnames';
|
|
|
5
5
|
import { useMultipleSelection, useCombobox } from 'downshift';
|
|
6
6
|
import { Popover } from '@alfalab/core-components-popover/modern';
|
|
7
7
|
import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
8
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
8
|
+
import { g as getDataTestId } from '../../getDataTestId-9b9ba93b.js';
|
|
9
9
|
import { processOptions } from '../../utils.js';
|
|
10
10
|
import { NativeSelect } from '../native-select/Component.js';
|
|
11
11
|
|
|
12
|
-
const styles = {"component":"
|
|
12
|
+
const styles = {"component":"select__component_8v3j3","popoverInner":"select__popoverInner_8v3j3","optionsList":"select__optionsList_8v3j3","optionsListBorder":"select__optionsListBorder_8v3j3","nativeSelect":"select__nativeSelect_8v3j3","block":"select__block_8v3j3"};
|
|
13
13
|
require('./index.css')
|
|
14
14
|
|
|
15
15
|
/* eslint-disable no-nested-ternary */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1iazh */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff;
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
/* checkmark */
|
|
37
37
|
|
|
38
38
|
/* optgroup */
|
|
39
|
-
} .
|
|
39
|
+
} .select__component_8v3j3 {
|
|
40
40
|
width: max-content;
|
|
41
41
|
position: relative;
|
|
42
42
|
outline: 0;
|
|
43
|
-
} .
|
|
43
|
+
} .select__popoverInner_8v3j3 {
|
|
44
44
|
padding-top: var(--select-options-list-offset);
|
|
45
45
|
padding-bottom: var(--select-options-list-offset);
|
|
46
46
|
box-shadow: none;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
background: transparent;
|
|
49
49
|
border-radius: 0;
|
|
50
50
|
position: relative;
|
|
51
|
-
} .
|
|
51
|
+
} .select__optionsList_8v3j3 {
|
|
52
52
|
position: relative;
|
|
53
53
|
padding-top: var(--select-options-list-top-padding);
|
|
54
54
|
padding-bottom: var(--select-options-list-bottom-padding);
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
background: var(--select-option-background);
|
|
58
58
|
overflow: hidden;
|
|
59
59
|
will-change: transform;
|
|
60
|
-
} .
|
|
60
|
+
} .select__optionsListBorder_8v3j3 {
|
|
61
61
|
position: absolute;
|
|
62
62
|
top: 0;
|
|
63
63
|
right: 0;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
box-shadow: inset 0 0 0 1px var(--color-light-border-secondary);
|
|
67
67
|
border-radius: inherit;
|
|
68
68
|
pointer-events: none;
|
|
69
|
-
} .
|
|
69
|
+
} .select__nativeSelect_8v3j3 {
|
|
70
70
|
opacity: 0;
|
|
71
71
|
overflow: hidden;
|
|
72
72
|
position: absolute;
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
height: 100%;
|
|
80
80
|
cursor: pointer;
|
|
81
81
|
z-index: 1;
|
|
82
|
-
} .
|
|
82
|
+
} .select__block_8v3j3 {
|
|
83
83
|
width: 100%;
|
|
84
84
|
} /* width: max-content; fix for IE */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
85
|
-
.
|
|
85
|
+
.select__component_8v3j3 {
|
|
86
86
|
float: left;
|
|
87
87
|
clear: left;
|
|
88
88
|
}
|
|
@@ -6,6 +6,6 @@ import 'classnames';
|
|
|
6
6
|
import 'downshift';
|
|
7
7
|
import '@alfalab/core-components-popover/modern';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
|
-
import '../../getDataTestId-
|
|
9
|
+
import '../../getDataTestId-9b9ba93b.js';
|
|
10
10
|
import '../../utils.js';
|
|
11
11
|
import '../native-select/Component.js';
|