@alfalab/core-components-select 14.2.0 → 14.3.1
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-3b7dfcdb.d.ts → Component-6359d86d.d.ts} +23 -1
- package/{Component-3b7dfcdb.js → Component-6359d86d.js} +27 -22
- package/Component.js +1 -1
- package/Component.responsive.js +4 -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 +2 -2
- 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 +5 -4
- package/components/optgroup/Component.js +1 -1
- package/components/optgroup/index.css +6 -6
- package/components/option/Component.js +2 -2
- 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 +4 -3
- package/components/select-mobile/index.d.ts +1 -1
- package/components/select-mobile/index.js +4 -3
- package/components/select-modal-mobile/Component.js +4 -3
- package/components/select-modal-mobile/index.d.ts +1 -1
- package/components/select-modal-mobile/index.js +4 -3
- package/components/virtual-options-list/Component.js +1 -1
- package/components/virtual-options-list/index.css +15 -15
- package/{modern/Component-8dc39be2.d.ts → cssm/Component-4727d474.d.ts} +23 -1
- package/cssm/{Component-75d13e23.js → Component-4727d474.js} +26 -21
- package/cssm/Component.responsive.js +3 -1
- package/cssm/components/base-option/Component.js +1 -1
- package/cssm/components/index.js +4 -2
- package/cssm/components/option/Component.js +1 -1
- package/cssm/components/select-mobile/Component.js +3 -1
- package/cssm/components/select-mobile/index.d.ts +1 -1
- package/cssm/components/select-mobile/index.js +3 -1
- package/cssm/components/select-modal-mobile/Component.js +3 -1
- package/cssm/components/select-modal-mobile/index.d.ts +1 -1
- package/cssm/components/select-modal-mobile/index.js +3 -1
- package/{esm/hook-4b555174.d.ts → cssm/hook-b4e70cb0.d.ts} +15 -4
- package/cssm/index.js +4 -2
- package/cssm/mobile.js +3 -1
- package/cssm/presets/index.d.ts +1 -1
- package/cssm/presets/index.js +3 -1
- package/cssm/presets/useSelectWithApply/hook.js +3 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +0 -9
- package/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
- package/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +23 -0
- package/cssm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +22 -0
- package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -1
- package/cssm/responsive.js +3 -1
- package/{cssm/Component-75d13e23.d.ts → esm/Component-770ea482.d.ts} +23 -1
- package/esm/{Component-06bb5812.js → Component-770ea482.js} +27 -22
- package/esm/Component.js +1 -1
- package/esm/Component.responsive.js +4 -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 +2 -2
- 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 +5 -4
- package/esm/components/optgroup/Component.js +1 -1
- package/esm/components/optgroup/index.css +6 -6
- package/esm/components/option/Component.js +2 -2
- 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 +4 -3
- package/esm/components/select-mobile/index.d.ts +1 -1
- package/esm/components/select-mobile/index.js +4 -3
- package/esm/components/select-modal-mobile/Component.js +4 -3
- package/esm/components/select-modal-mobile/index.d.ts +1 -1
- package/esm/components/select-modal-mobile/index.js +4 -3
- package/esm/components/virtual-options-list/Component.js +1 -1
- package/esm/components/virtual-options-list/index.css +15 -15
- package/{cssm/hook-4b555174.d.ts → esm/hook-b4e70cb0.d.ts} +15 -4
- package/esm/index-3885b0d7.d.ts +1 -1
- package/esm/index.js +5 -4
- package/esm/mobile.js +4 -3
- package/esm/presets/index.d.ts +1 -1
- package/esm/presets/index.js +4 -3
- package/esm/presets/useLazyLoading/hook.js +2 -2
- package/esm/presets/useLazyLoading/index.css +2 -2
- package/esm/presets/useSelectWithApply/hook.js +4 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -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 -12
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +15 -0
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +23 -0
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -3
- package/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/responsive.js +4 -3
- package/{hook-4b555174.d.ts → hook-b4e70cb0.d.ts} +15 -4
- package/index-3885b0d7.d.ts +1 -1
- package/index.js +5 -4
- package/mobile.js +4 -3
- package/{esm/Component-06bb5812.d.ts → modern/Component-dfa36aee.d.ts} +23 -1
- package/modern/{Component-8dc39be2.js → Component-dfa36aee.js} +31 -17
- package/modern/Component.js +1 -1
- package/modern/Component.responsive.js +4 -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 +2 -2
- 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 +5 -4
- package/modern/components/optgroup/Component.js +1 -1
- package/modern/components/optgroup/index.css +6 -6
- package/modern/components/option/Component.js +2 -2
- 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 +4 -3
- package/modern/components/select-mobile/index.d.ts +1 -1
- package/modern/components/select-mobile/index.js +4 -3
- package/modern/components/select-modal-mobile/Component.js +4 -3
- package/modern/components/select-modal-mobile/index.d.ts +1 -1
- package/modern/components/select-modal-mobile/index.js +4 -3
- package/modern/components/virtual-options-list/Component.js +1 -1
- package/modern/components/virtual-options-list/index.css +15 -15
- package/modern/{hook-4b555174.d.ts → hook-b4e70cb0.d.ts} +15 -4
- package/modern/index-3885b0d7.d.ts +1 -1
- package/modern/index.js +5 -4
- package/modern/mobile.js +4 -3
- package/modern/presets/index.d.ts +1 -1
- package/modern/presets/index.js +4 -3
- package/modern/presets/useLazyLoading/hook.js +2 -2
- package/modern/presets/useLazyLoading/index.css +2 -2
- package/modern/presets/useSelectWithApply/hook.js +4 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -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 -12
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +11 -0
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +23 -0
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +4 -3
- package/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/responsive.js +4 -3
- package/package.json +2 -2
- package/presets/index.d.ts +1 -1
- package/presets/index.js +4 -3
- package/presets/useLazyLoading/hook.js +2 -2
- package/presets/useLazyLoading/index.css +2 -2
- package/presets/useSelectWithApply/hook.js +4 -3
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -3
- package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -12
- package/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +11 -0
- package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +24 -0
- package/presets/useSelectWithApply/options-list-with-apply/header/index.css +23 -0
- package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -3
- package/presets/useSelectWithLoading/hook.js +1 -1
- package/presets/useSelectWithLoading/index.css +2 -2
- package/responsive.js +4 -3
- /package/esm/{getDataTestId-8aabb6b6.d.ts → getDataTestId-ebc56304.d.ts} +0 -0
- /package/esm/{getDataTestId-8aabb6b6.js → getDataTestId-ebc56304.js} +0 -0
- /package/esm/{intersection-observer-6b92b662.d.ts → intersection-observer-867b89db.d.ts} +0 -0
- /package/esm/{intersection-observer-6b92b662.js → intersection-observer-867b89db.js} +0 -0
- /package/{getDataTestId-1bda9cae.d.ts → getDataTestId-67b69501.d.ts} +0 -0
- /package/{getDataTestId-1bda9cae.js → getDataTestId-67b69501.js} +0 -0
- /package/{intersection-observer-38296236.d.ts → intersection-observer-eca2c2bb.d.ts} +0 -0
- /package/{intersection-observer-38296236.js → intersection-observer-eca2c2bb.js} +0 -0
- /package/modern/{getDataTestId-59fdb29b.d.ts → getDataTestId-44d88f22.d.ts} +0 -0
- /package/modern/{getDataTestId-59fdb29b.js → getDataTestId-44d88f22.js} +0 -0
- /package/modern/{intersection-observer-6b92b662.d.ts → intersection-observer-867b89db.d.ts} +0 -0
- /package/modern/{intersection-observer-6b92b662.js → intersection-observer-867b89db.js} +0 -0
|
@@ -4,7 +4,7 @@ import { FormControl } from '@alfalab/core-components-form-control/modern';
|
|
|
4
4
|
import { useFocus } from '@alfalab/hooks';
|
|
5
5
|
import { joinOptions } from '../../utils.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"component":"
|
|
7
|
+
const styles = {"component":"select__component_fucu7","field":"select__field_fucu7","disabled":"select__disabled_fucu7","arrow":"select__arrow_fucu7","placeholder":"select__placeholder_fucu7","contentWrapper":"select__contentWrapper_fucu7","value":"select__value_fucu7","focusVisible":"select__focusVisible_fucu7"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Field = ({ size = 'm', open, multiple, error, hint, disabled, label, labelView = 'inner', placeholder, selectedMultiple = [], selected, rightAddons, valueRenderer = joinOptions, setSelectedItems, toggleMenu, Arrow, innerProps, dataTestId, fieldClassName, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 9nx3i */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #0072ef;
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
/* checkmark */
|
|
29
29
|
|
|
30
30
|
/* optgroup */
|
|
31
|
-
} .
|
|
31
|
+
} .select__component_fucu7 {
|
|
32
32
|
width: 100%;
|
|
33
33
|
outline: none;
|
|
34
|
-
} .
|
|
34
|
+
} .select__field_fucu7:not(.select__disabled_fucu7) {
|
|
35
35
|
cursor: pointer
|
|
36
|
-
} .
|
|
36
|
+
} .select__field_fucu7:not(.select__disabled_fucu7):hover .select__arrow_fucu7 {
|
|
37
37
|
opacity: var(--select-arrow-hover-opacity);
|
|
38
|
-
} .
|
|
38
|
+
} .select__disabled_fucu7 {
|
|
39
39
|
cursor: var(--disabled-cursor);
|
|
40
|
-
} /* TODO: Заюзать переменные из инпута */ .
|
|
40
|
+
} /* TODO: Заюзать переменные из инпута */ .select__placeholder_fucu7 {
|
|
41
41
|
color: var(--color-light-text-secondary);
|
|
42
|
-
} .
|
|
42
|
+
} .select__contentWrapper_fucu7 {
|
|
43
43
|
font-size: 16px;
|
|
44
44
|
line-height: 20px;
|
|
45
45
|
font-weight: 400;
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
text-overflow: ellipsis;
|
|
49
49
|
overflow: hidden;
|
|
50
50
|
width: 100%;
|
|
51
|
-
} .
|
|
51
|
+
} .select__value_fucu7 {
|
|
52
52
|
overflow: hidden;
|
|
53
53
|
text-overflow: ellipsis;
|
|
54
54
|
text-align: left;
|
|
55
|
-
} .
|
|
55
|
+
} .select__focusVisible_fucu7 {
|
|
56
56
|
outline: 2px solid var(--focus-color);
|
|
57
57
|
outline-offset: 2px;
|
|
58
58
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Arrow } from './arrow/Component.js';
|
|
2
2
|
export { BaseSelect } from './base-select/Component.js';
|
|
3
|
-
export { S as SelectMobile, a as SelectModalMobile } from '../Component-
|
|
3
|
+
export { S as SelectMobile, a as SelectModalMobile } from '../Component-dfa36aee.js';
|
|
4
4
|
export { Field } from './field/Component.js';
|
|
5
5
|
export { Optgroup } from './optgroup/Component.js';
|
|
6
6
|
export { Option } from './option/Component.js';
|
|
@@ -15,10 +15,12 @@ import '@juggle/resize-observer';
|
|
|
15
15
|
import 'downshift';
|
|
16
16
|
import '@alfalab/core-components-popover/modern';
|
|
17
17
|
import '@alfalab/hooks';
|
|
18
|
-
import '../getDataTestId-
|
|
18
|
+
import '../getDataTestId-44d88f22.js';
|
|
19
19
|
import '../utils.js';
|
|
20
20
|
import './native-select/Component.js';
|
|
21
21
|
import '../Component.js';
|
|
22
|
+
import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
23
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
22
24
|
import './base-select-mobile/Component.js';
|
|
23
25
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
24
26
|
import '@alfalab/core-components-modal/modern/mobile';
|
|
@@ -27,11 +29,10 @@ import '@alfalab/core-components-base-modal/modern';
|
|
|
27
29
|
import '@alfalab/core-components-button/modern';
|
|
28
30
|
import '@alfalab/core-components-form-control/modern';
|
|
29
31
|
import '@alfalab/core-components-badge/modern';
|
|
30
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
31
32
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
32
33
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
33
34
|
import '@alfalab/core-components-skeleton/modern';
|
|
34
|
-
import '../intersection-observer-
|
|
35
|
+
import '../intersection-observer-867b89db.js';
|
|
35
36
|
import '../consts.js';
|
|
36
37
|
import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
37
38
|
import './checkmark/Component.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
const styles = {"optgroup":"
|
|
4
|
+
const styles = {"optgroup":"select__optgroup_1am6n","label":"select__label_1am6n","l":"select__l_1am6n","xl":"select__xl_1am6n"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Optgroup = ({ children, className, label, size = 's' }) => (React.createElement(React.Fragment, null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1pbxl */
|
|
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_1am6n {
|
|
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_1am6n + *[role='option']:before {
|
|
48
48
|
display: none;
|
|
49
|
-
} .
|
|
49
|
+
} .select__label_1am6n {
|
|
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_1am6n,
|
|
59
|
+
.select__xl_1am6n {
|
|
60
60
|
padding-left: var(--select-optgroup-l-left-padding);
|
|
61
61
|
padding-right: var(--select-optgroup-l-right-padding);
|
|
62
62
|
}
|
|
@@ -7,14 +7,14 @@ import '@alfalab/core-components-checkbox/modern';
|
|
|
7
7
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
8
8
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
9
9
|
|
|
10
|
-
const styles = {"option":"
|
|
10
|
+
const styles = {"option":"select__option_1uwrp","disabled":"select__disabled_1uwrp","s":"select__s_1uwrp","m":"select__m_1uwrp","l":"select__l_1uwrp","xl":"select__xl_1uwrp","selected":"select__selected_1uwrp","highlighted":"select__highlighted_1uwrp","content":"select__content_1uwrp","textContent":"select__textContent_1uwrp"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const Option = ({ size = 's', className, option, children, selected, highlighted, disabled, multiple, mobile, Checkmark: Checkmark$2 = mobile ? Checkmark : Checkmark$1, innerProps, dataTestId, }) => {
|
|
14
14
|
const content = children || option.content || option.key;
|
|
15
15
|
const { showCheckMark = true } = option;
|
|
16
16
|
return (React.createElement("div", { ...innerProps, className: cn(styles.option, styles[size], className, {
|
|
17
|
-
[styles.highlighted]: highlighted,
|
|
17
|
+
[styles.highlighted]: !mobile && highlighted,
|
|
18
18
|
[styles.selected]: selected,
|
|
19
19
|
[styles.disabled]: disabled,
|
|
20
20
|
}), "data-test-id": dataTestId },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1if9m */
|
|
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_1uwrp {
|
|
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_1uwrp:not(.select__disabled_1uwrp):active {
|
|
72
72
|
background: var(--select-option-active-background);
|
|
73
73
|
color: var(--select-option-active-color);
|
|
74
|
-
} .
|
|
74
|
+
} .select__option_1uwrp: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_1uwrp:first-child:before {
|
|
85
85
|
display: none;
|
|
86
|
-
} .
|
|
86
|
+
} .select__s_1uwrp {
|
|
87
87
|
min-height: var(--size-s-height);
|
|
88
|
-
} .
|
|
88
|
+
} .select__m_1uwrp {
|
|
89
89
|
min-height: var(--size-m-height);
|
|
90
|
-
} .
|
|
90
|
+
} .select__l_1uwrp {
|
|
91
91
|
min-height: var(--size-l-height);
|
|
92
|
-
} .
|
|
92
|
+
} .select__xl_1uwrp {
|
|
93
93
|
min-height: var(--size-xl-height);
|
|
94
|
-
} .
|
|
95
|
-
.
|
|
94
|
+
} .select__l_1uwrp,
|
|
95
|
+
.select__xl_1uwrp {
|
|
96
96
|
padding-left: var(--select-option-l-left-padding);
|
|
97
97
|
padding-right: var(--select-option-l-right-padding)
|
|
98
|
-
} .
|
|
98
|
+
} .select__l_1uwrp:before, .select__xl_1uwrp:before {
|
|
99
99
|
left: var(--select-option-l-left-padding);
|
|
100
100
|
right: var(--select-option-l-right-padding);
|
|
101
|
-
} .
|
|
101
|
+
} .select__selected_1uwrp {
|
|
102
102
|
background: var(--select-option-selected-background);
|
|
103
103
|
color: var(--select-option-selected-color);
|
|
104
104
|
cursor: default;
|
|
105
|
-
} .
|
|
105
|
+
} .select__highlighted_1uwrp {
|
|
106
106
|
background: var(--select-option-hover-background);
|
|
107
107
|
color: var(--select-option-hover-color)
|
|
108
|
-
} .
|
|
109
|
-
.
|
|
108
|
+
} .select__highlighted_1uwrp:before,
|
|
109
|
+
.select__highlighted_1uwrp + .select__option_1uwrp:before {
|
|
110
110
|
opacity: 0;
|
|
111
|
-
} .
|
|
111
|
+
} .select__disabled_1uwrp {
|
|
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_1uwrp {
|
|
116
116
|
overflow: hidden;
|
|
117
117
|
flex: 1;
|
|
118
118
|
text-overflow: ellipsis;
|
|
119
|
-
} .
|
|
119
|
+
} .select__textContent_1uwrp {
|
|
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_1uwrp:after {
|
|
124
124
|
min-height: inherit;
|
|
125
125
|
font-size: 0;
|
|
126
126
|
content: '';
|
|
@@ -7,7 +7,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
|
|
|
7
7
|
import { useVisibleOptions, isGroup } from '../../utils.js';
|
|
8
8
|
import { Optgroup } from '../optgroup/Component.js';
|
|
9
9
|
|
|
10
|
-
const styles = {"optionsList":"
|
|
10
|
+
const styles = {"optionsList":"select__optionsList_1cksv","optionsListHeader":"select__optionsListHeader_1cksv","optionsListFooter":"select__optionsListFooter_1cksv","withBorder":"select__withBorder_1cksv","scrollable":"select__scrollable_1cksv","emptyPlaceholder":"select__emptyPlaceholder_1cksv","l":"select__l_1cksv","xl":"select__xl_1cksv"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const createCounter = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1lne7 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb;
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
/* checkmark */
|
|
30
30
|
|
|
31
31
|
/* optgroup */
|
|
32
|
-
} .
|
|
32
|
+
} .select__optionsList_1cksv {
|
|
33
33
|
width: 100%;
|
|
34
34
|
outline: none;
|
|
35
35
|
box-sizing: border-box;
|
|
36
36
|
position: relative;
|
|
37
|
-
} .
|
|
37
|
+
} .select__optionsListHeader_1cksv {
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
border-bottom: 1px solid var(--color-light-border-secondary);
|
|
40
|
-
} .
|
|
40
|
+
} .select__optionsListFooter_1cksv {
|
|
41
41
|
position: sticky;
|
|
42
42
|
bottom: 0;
|
|
43
43
|
box-sizing: border-box;
|
|
44
44
|
border-top: 1px solid transparent
|
|
45
|
-
} .
|
|
45
|
+
} .select__optionsListFooter_1cksv.select__withBorder_1cksv {
|
|
46
46
|
border-top: 1px solid var(--color-light-border-secondary);
|
|
47
|
-
} .
|
|
47
|
+
} .select__scrollable_1cksv {
|
|
48
48
|
overflow: auto;
|
|
49
49
|
width: 100%;
|
|
50
|
-
} .
|
|
50
|
+
} .select__emptyPlaceholder_1cksv {
|
|
51
51
|
padding: var(--gap-m) var(--gap-s);
|
|
52
52
|
color: var(--select-options-list-empty-placeholder-color);
|
|
53
|
-
} .
|
|
54
|
-
.
|
|
53
|
+
} .select__l_1cksv .select__emptyPlaceholder_1cksv,
|
|
54
|
+
.select__xl_1cksv .select__emptyPlaceholder_1cksv {
|
|
55
55
|
padding: var(--gap-xl) var(--gap-m);
|
|
56
56
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { S as SelectMobile } from '../../Component-
|
|
2
|
+
export { S as SelectMobile } from '../../Component-dfa36aee.js';
|
|
3
|
+
import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
3
4
|
import '../arrow/Component.js';
|
|
4
5
|
import '../base-select-mobile/Component.js';
|
|
5
6
|
import '../base-select-mobile/footer/Component.js';
|
|
@@ -16,7 +17,7 @@ import 'classnames';
|
|
|
16
17
|
import 'downshift';
|
|
17
18
|
import '@alfalab/core-components-popover/modern';
|
|
18
19
|
import '@alfalab/hooks';
|
|
19
|
-
import '../../getDataTestId-
|
|
20
|
+
import '../../getDataTestId-44d88f22.js';
|
|
20
21
|
import '../../utils.js';
|
|
21
22
|
import '../native-select/Component.js';
|
|
22
23
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -30,7 +31,7 @@ import '../checkmark-mobile/Component.js';
|
|
|
30
31
|
import '@alfalab/core-components-scrollbar/modern';
|
|
31
32
|
import '../../consts.js';
|
|
32
33
|
import '@alfalab/core-components-skeleton/modern';
|
|
33
|
-
import '../../intersection-observer-
|
|
34
|
+
import '../../intersection-observer-867b89db.js';
|
|
34
35
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
35
36
|
import '@alfalab/core-components-button/modern';
|
|
36
37
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-dfa36aee";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SelectMobile } from '../../Component-
|
|
1
|
+
export { S as SelectMobile } from '../../Component-dfa36aee.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../Component.js';
|
|
4
4
|
import '../arrow/Component.js';
|
|
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
|
|
|
10
10
|
import 'downshift';
|
|
11
11
|
import '@alfalab/core-components-popover/modern';
|
|
12
12
|
import '@alfalab/hooks';
|
|
13
|
-
import '../../getDataTestId-
|
|
13
|
+
import '../../getDataTestId-44d88f22.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../native-select/Component.js';
|
|
16
16
|
import '../field/Component.js';
|
|
@@ -26,6 +26,7 @@ import '../checkmark-mobile/Component.js';
|
|
|
26
26
|
import '../options-list/Component.js';
|
|
27
27
|
import '@alfalab/core-components-scrollbar/modern';
|
|
28
28
|
import '../../consts.js';
|
|
29
|
+
import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
29
30
|
import '../base-select-mobile/Component.js';
|
|
30
31
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
31
32
|
import '@alfalab/core-components-modal/modern/mobile';
|
|
@@ -35,5 +36,5 @@ import '@alfalab/core-components-button/modern';
|
|
|
35
36
|
import '../virtual-options-list/Component.js';
|
|
36
37
|
import 'react-virtual';
|
|
37
38
|
import '@alfalab/core-components-skeleton/modern';
|
|
38
|
-
import '../../intersection-observer-
|
|
39
|
+
import '../../intersection-observer-867b89db.js';
|
|
39
40
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { a as SelectModalMobile } from '../../Component-
|
|
2
|
+
export { a as SelectModalMobile } from '../../Component-dfa36aee.js';
|
|
3
|
+
import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
3
4
|
import '../arrow/Component.js';
|
|
4
5
|
import '../base-select-mobile/Component.js';
|
|
5
6
|
import '../base-select-mobile/footer/Component.js';
|
|
@@ -16,7 +17,7 @@ import 'classnames';
|
|
|
16
17
|
import 'downshift';
|
|
17
18
|
import '@alfalab/core-components-popover/modern';
|
|
18
19
|
import '@alfalab/hooks';
|
|
19
|
-
import '../../getDataTestId-
|
|
20
|
+
import '../../getDataTestId-44d88f22.js';
|
|
20
21
|
import '../../utils.js';
|
|
21
22
|
import '../native-select/Component.js';
|
|
22
23
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -30,7 +31,7 @@ import '../checkmark-mobile/Component.js';
|
|
|
30
31
|
import '@alfalab/core-components-scrollbar/modern';
|
|
31
32
|
import '../../consts.js';
|
|
32
33
|
import '@alfalab/core-components-skeleton/modern';
|
|
33
|
-
import '../../intersection-observer-
|
|
34
|
+
import '../../intersection-observer-867b89db.js';
|
|
34
35
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
35
36
|
import '@alfalab/core-components-button/modern';
|
|
36
37
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-dfa36aee";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as SelectModalMobile } from '../../Component-
|
|
1
|
+
export { a as SelectModalMobile } from '../../Component-dfa36aee.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../Component.js';
|
|
4
4
|
import '../arrow/Component.js';
|
|
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
|
|
|
10
10
|
import 'downshift';
|
|
11
11
|
import '@alfalab/core-components-popover/modern';
|
|
12
12
|
import '@alfalab/hooks';
|
|
13
|
-
import '../../getDataTestId-
|
|
13
|
+
import '../../getDataTestId-44d88f22.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../native-select/Component.js';
|
|
16
16
|
import '../field/Component.js';
|
|
@@ -26,6 +26,7 @@ import '../checkmark-mobile/Component.js';
|
|
|
26
26
|
import '../options-list/Component.js';
|
|
27
27
|
import '@alfalab/core-components-scrollbar/modern';
|
|
28
28
|
import '../../consts.js';
|
|
29
|
+
import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
29
30
|
import '../base-select-mobile/Component.js';
|
|
30
31
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
31
32
|
import '@alfalab/core-components-modal/modern/mobile';
|
|
@@ -35,5 +36,5 @@ import '@alfalab/core-components-button/modern';
|
|
|
35
36
|
import '../virtual-options-list/Component.js';
|
|
36
37
|
import 'react-virtual';
|
|
37
38
|
import '@alfalab/core-components-skeleton/modern';
|
|
38
|
-
import '../../intersection-observer-
|
|
39
|
+
import '../../intersection-observer-867b89db.js';
|
|
39
40
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
@@ -8,7 +8,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
|
|
|
8
8
|
import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
|
|
9
9
|
import { Optgroup } from '../optgroup/Component.js';
|
|
10
10
|
|
|
11
|
-
const styles = {"virtualOptionsList":"
|
|
11
|
+
const styles = {"virtualOptionsList":"select__virtualOptionsList_2qbu0","virtualOptionsListHeader":"select__virtualOptionsListHeader_2qbu0","virtualOptionsListFooter":"select__virtualOptionsListFooter_2qbu0","withBorder":"select__withBorder_2qbu0","scrollable":"select__scrollable_2qbu0","inner":"select__inner_2qbu0","virtualRow":"select__virtualRow_2qbu0","highlighted":"select__highlighted_2qbu0","emptyPlaceholder":"select__emptyPlaceholder_2qbu0","l":"select__l_2qbu0","xl":"select__xl_2qbu0"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
const VirtualOptionsList = forwardRef(({ size = 's', flatOptions = [], highlightedIndex = -1, className, getOptionProps, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, showFooter = true, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, }, ref) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: cc17a */
|
|
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_2qbu0 {
|
|
39
39
|
width: 100%;
|
|
40
40
|
outline: none;
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
position: sticky;
|
|
43
|
-
} .
|
|
43
|
+
} .select__virtualOptionsListHeader_2qbu0 {
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
border-bottom: 1px solid var(--color-light-border-secondary);
|
|
46
|
-
} .
|
|
46
|
+
} .select__virtualOptionsListFooter_2qbu0 {
|
|
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_2qbu0.select__withBorder_2qbu0 {
|
|
52
52
|
border-top: 1px solid var(--color-light-border-secondary);
|
|
53
|
-
} .
|
|
53
|
+
} .select__scrollable_2qbu0 {
|
|
54
54
|
position: relative;
|
|
55
55
|
overflow: auto;
|
|
56
56
|
width: 100%;
|
|
57
|
-
} .
|
|
57
|
+
} .select__inner_2qbu0 {
|
|
58
58
|
position: relative;
|
|
59
59
|
width: 100%;
|
|
60
|
-
} .
|
|
60
|
+
} .select__virtualRow_2qbu0 {
|
|
61
61
|
position: absolute;
|
|
62
62
|
top: 0;
|
|
63
63
|
left: 0;
|
|
64
64
|
width: 100%
|
|
65
|
-
} .
|
|
65
|
+
} .select__virtualRow_2qbu0: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_2qbu0:first-child:before {
|
|
76
76
|
display: none;
|
|
77
|
-
} .
|
|
78
|
-
.
|
|
77
|
+
} .select__highlighted_2qbu0:before,
|
|
78
|
+
.select__highlighted_2qbu0 + .select__virtualRow_2qbu0:before {
|
|
79
79
|
display: none;
|
|
80
|
-
} .
|
|
80
|
+
} .select__emptyPlaceholder_2qbu0 {
|
|
81
81
|
padding: var(--gap-m) var(--gap-s);
|
|
82
82
|
color: var(--select-options-list-empty-placeholder-color);
|
|
83
|
-
} .
|
|
84
|
-
.
|
|
83
|
+
} .select__l_2qbu0 .select__emptyPlaceholder_2qbu0,
|
|
84
|
+
.select__xl_2qbu0 .select__emptyPlaceholder_2qbu0 {
|
|
85
85
|
padding: var(--gap-xl) var(--gap-m);
|
|
86
86
|
}
|
|
@@ -29,17 +29,22 @@ type UseSelectWithApplyProps = {
|
|
|
29
29
|
* Показывать пункт "Выбрать все"
|
|
30
30
|
*/
|
|
31
31
|
showSelectAll?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Показывать пункт "Выбрать все" в заголовке списка
|
|
34
|
+
*/
|
|
35
|
+
showHeaderWithSelectAll?: boolean;
|
|
32
36
|
};
|
|
33
37
|
declare const SELECT_ALL_KEY = "select_all";
|
|
34
|
-
declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, }: UseSelectWithApplyProps): {
|
|
38
|
+
declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, }: UseSelectWithApplyProps): {
|
|
35
39
|
OptionsList: import("react").ForwardRefExoticComponent<import("./index").OptionsListProps & {
|
|
36
40
|
showClear?: boolean | undefined;
|
|
37
41
|
onClose?: (() => void) | undefined;
|
|
38
42
|
selectedDraft?: OptionShape[] | undefined;
|
|
39
|
-
OptionsList?: import("react").FC<import("./index").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
40
|
-
* Пропсы, которые будут прокинуты в компонент списка
|
|
41
|
-
*/
|
|
43
|
+
OptionsList?: import("react").FC<import("./index").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
42
44
|
Footer?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/footer/Component").FooterProps> | undefined;
|
|
45
|
+
Header?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps> | undefined;
|
|
46
|
+
headerProps?: import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps | undefined;
|
|
47
|
+
showHeaderWithSelectAll?: boolean | undefined;
|
|
43
48
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
44
49
|
optionsListProps: {
|
|
45
50
|
OptionsList: import("react").FC<import("./index").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
@@ -48,6 +53,12 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
48
53
|
onApply: () => void;
|
|
49
54
|
onClose: () => void;
|
|
50
55
|
selectedDraft: OptionShape[];
|
|
56
|
+
showHeaderWithSelectAll: boolean;
|
|
57
|
+
headerProps: {
|
|
58
|
+
indeterminate: boolean;
|
|
59
|
+
checked: boolean;
|
|
60
|
+
onChange: () => void;
|
|
61
|
+
};
|
|
51
62
|
};
|
|
52
63
|
allowUnselect: boolean;
|
|
53
64
|
multiple: boolean;
|
package/modern/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-dfa36aee.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';
|
|
@@ -19,8 +19,10 @@ import '@juggle/resize-observer';
|
|
|
19
19
|
import 'downshift';
|
|
20
20
|
import '@alfalab/core-components-popover/modern';
|
|
21
21
|
import '@alfalab/hooks';
|
|
22
|
-
import './getDataTestId-
|
|
22
|
+
import './getDataTestId-44d88f22.js';
|
|
23
23
|
import './components/native-select/Component.js';
|
|
24
|
+
import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
25
|
+
import '@alfalab/core-components-checkbox/modern';
|
|
24
26
|
import './components/base-select-mobile/Component.js';
|
|
25
27
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
26
28
|
import '@alfalab/core-components-modal/modern/mobile';
|
|
@@ -29,11 +31,10 @@ import '@alfalab/core-components-base-modal/modern';
|
|
|
29
31
|
import '@alfalab/core-components-button/modern';
|
|
30
32
|
import '@alfalab/core-components-form-control/modern';
|
|
31
33
|
import '@alfalab/core-components-badge/modern';
|
|
32
|
-
import '@alfalab/core-components-checkbox/modern';
|
|
33
34
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
34
35
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
35
36
|
import '@alfalab/core-components-skeleton/modern';
|
|
36
|
-
import './intersection-observer-
|
|
37
|
+
import './intersection-observer-867b89db.js';
|
|
37
38
|
import './consts.js';
|
|
38
39
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
39
40
|
import './components/checkmark/Component.js';
|
package/modern/mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SelectMobile, a as SelectModalMobile } from './Component-
|
|
1
|
+
export { S as SelectMobile, a as SelectModalMobile } from './Component-dfa36aee.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './Component.js';
|
|
4
4
|
import './components/arrow/Component.js';
|
|
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
|
|
|
10
10
|
import 'downshift';
|
|
11
11
|
import '@alfalab/core-components-popover/modern';
|
|
12
12
|
import '@alfalab/hooks';
|
|
13
|
-
import './getDataTestId-
|
|
13
|
+
import './getDataTestId-44d88f22.js';
|
|
14
14
|
import './utils.js';
|
|
15
15
|
import './components/native-select/Component.js';
|
|
16
16
|
import './components/field/Component.js';
|
|
@@ -26,6 +26,7 @@ import './components/checkmark-mobile/Component.js';
|
|
|
26
26
|
import './components/options-list/Component.js';
|
|
27
27
|
import '@alfalab/core-components-scrollbar/modern';
|
|
28
28
|
import './consts.js';
|
|
29
|
+
import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
29
30
|
import './components/base-select-mobile/Component.js';
|
|
30
31
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
31
32
|
import '@alfalab/core-components-modal/modern/mobile';
|
|
@@ -35,5 +36,5 @@ import '@alfalab/core-components-button/modern';
|
|
|
35
36
|
import './components/virtual-options-list/Component.js';
|
|
36
37
|
import 'react-virtual';
|
|
37
38
|
import '@alfalab/core-components-skeleton/modern';
|
|
38
|
-
import './intersection-observer-
|
|
39
|
+
import './intersection-observer-867b89db.js';
|
|
39
40
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|