@alfalab/core-components-select 16.0.2 → 16.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.responsive.js +6 -5
- 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 +11 -11
- package/components/base-select/mobile.css +13 -13
- 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 +12 -12
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +5 -5
- 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/search/Component.js +1 -1
- package/components/search/index.css +2 -2
- package/components/virtual-options-list/Component.js +1 -1
- package/components/virtual-options-list/index.css +15 -15
- package/cssm/Component.responsive.js +5 -4
- package/{Component.desktop.d.ts → cssm/desktop/Component.desktop.d.ts} +2 -2
- package/cssm/{Component.desktop.js → desktop/Component.desktop.js} +22 -22
- package/cssm/desktop/index.d.ts +1 -1
- package/cssm/desktop/index.js +2 -2
- package/cssm/index.js +4 -3
- package/{esm → cssm/mobile}/Component.mobile.d.ts +1 -1
- package/cssm/{Component.mobile.js → mobile/Component.mobile.js} +33 -33
- package/cssm/mobile/Component.modal.mobile.d.ts +4 -0
- package/cssm/mobile/Component.modal.mobile.js +69 -0
- package/cssm/mobile/index.d.ts +2 -2
- package/cssm/mobile/index.js +5 -5
- package/cssm/typings.d.ts +2 -2
- package/{esm → desktop}/Component.desktop.d.ts +2 -2
- package/{Component.desktop.js → desktop/Component.desktop.js} +12 -12
- package/desktop/index.d.ts +1 -1
- package/desktop/index.js +2 -2
- package/esm/Component.responsive.js +5 -4
- 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 +11 -11
- package/esm/components/base-select/mobile.css +13 -13
- 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 +12 -12
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +5 -5
- 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/search/Component.js +1 -1
- package/esm/components/search/index.css +2 -2
- package/esm/components/virtual-options-list/Component.js +1 -1
- package/esm/components/virtual-options-list/index.css +15 -15
- package/{modern → esm/desktop}/Component.desktop.d.ts +2 -2
- package/esm/{Component.desktop.js → desktop/Component.desktop.js} +12 -12
- package/esm/desktop/index.d.ts +1 -1
- package/esm/desktop/index.js +1 -1
- package/esm/index.js +5 -4
- package/{cssm → esm/mobile}/Component.mobile.d.ts +1 -1
- package/esm/{Component.mobile.js → mobile/Component.mobile.js} +18 -18
- package/esm/mobile/Component.modal.mobile.d.ts +4 -0
- package/esm/{Component.modal.mobile.js → mobile/Component.modal.mobile.js} +18 -18
- package/esm/mobile/index.d.ts +2 -2
- package/esm/mobile/index.js +4 -4
- package/esm/presets/index.js +1 -1
- package/esm/presets/useSelectWithApply/hook.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- 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/header/Component.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/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 +1 -1
- package/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/shared/index.js +1 -1
- package/esm/typings.d.ts +2 -2
- package/index.js +5 -4
- package/{Component.mobile.d.ts → mobile/Component.mobile.d.ts} +1 -1
- package/{Component.mobile.js → mobile/Component.mobile.js} +19 -19
- package/mobile/Component.modal.mobile.d.ts +4 -0
- package/{Component.modal.mobile.js → mobile/Component.modal.mobile.js} +20 -20
- package/mobile/index.d.ts +2 -2
- package/mobile/index.js +6 -6
- package/modern/Component.responsive.js +5 -4
- 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 +11 -11
- package/modern/components/base-select/mobile.css +13 -13
- 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 +12 -12
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +5 -5
- 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/search/Component.js +1 -1
- package/modern/components/search/index.css +2 -2
- package/modern/components/virtual-options-list/Component.js +1 -1
- package/modern/components/virtual-options-list/index.css +15 -15
- package/{cssm → modern/desktop}/Component.desktop.d.ts +2 -2
- package/modern/{Component.desktop.js → desktop/Component.desktop.js} +12 -12
- package/modern/desktop/index.d.ts +1 -1
- package/modern/desktop/index.js +1 -1
- package/modern/index.js +5 -4
- package/modern/{Component.mobile.d.ts → mobile/Component.mobile.d.ts} +1 -1
- package/modern/{Component.mobile.js → mobile/Component.mobile.js} +18 -18
- package/modern/mobile/Component.modal.mobile.d.ts +4 -0
- package/modern/{Component.modal.mobile.js → mobile/Component.modal.mobile.js} +18 -18
- package/modern/mobile/index.d.ts +2 -2
- package/modern/mobile/index.js +4 -4
- package/modern/presets/index.js +1 -1
- package/modern/presets/useSelectWithApply/hook.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- 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/header/Component.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/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 +1 -1
- package/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/shared/index.js +1 -1
- package/modern/typings.d.ts +2 -2
- package/package.json +6 -6
- package/presets/index.js +1 -1
- package/presets/useSelectWithApply/hook.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- 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/header/Component.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/header/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 +1 -1
- package/presets/useSelectWithLoading/hook.js +1 -1
- package/presets/useSelectWithLoading/index.css +2 -2
- package/shared/index.js +1 -1
- package/src/Component.responsive.tsx +2 -2
- package/src/{Component.desktop.tsx → desktop/Component.desktop.tsx} +8 -8
- package/src/desktop/index.ts +1 -1
- package/src/{Component.mobile.tsx → mobile/Component.mobile.tsx} +13 -13
- package/src/{Component.modal.mobile.tsx → mobile/Component.modal.mobile.tsx} +2 -1
- package/src/mobile/index.ts +2 -2
- package/src/typings.ts +2 -2
- package/typings.d.ts +2 -2
- package/Component.modal.mobile.d.ts +0 -4
- package/cssm/Component.modal.mobile.d.ts +0 -4
- package/cssm/Component.modal.mobile.js +0 -69
- package/cssm/types-1b036d4b.d.ts +0 -13
- package/cssm/useSkeleton-1b036d4b.d.ts +0 -12
- package/esm/Component.modal.mobile.d.ts +0 -4
- package/esm/types-1b036d4b.d.ts +0 -13
- package/esm/useSkeleton-1b036d4b.d.ts +0 -12
- package/modern/Component.modal.mobile.d.ts +0 -4
- package/modern/types-1b036d4b.d.ts +0 -13
- package/modern/useSkeleton-1b036d4b.d.ts +0 -12
- package/types-1b036d4b.d.ts +0 -13
- package/useSkeleton-1b036d4b.d.ts +0 -12
- /package/esm/{hook-3d076499.d.ts → hook-a287da6c.d.ts} +0 -0
- /package/esm/{hook-3d076499.js → hook-a287da6c.js} +0 -0
- /package/{hook-693409b2.d.ts → hook-d8cd1702.d.ts} +0 -0
- /package/{hook-693409b2.js → hook-d8cd1702.js} +0 -0
- /package/modern/{hook-8b4455f6.d.ts → hook-14cdb84d.d.ts} +0 -0
- /package/modern/{hook-8b4455f6.js → hook-14cdb84d.js} +0 -0
package/modern/desktop/index.js
CHANGED
package/modern/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { SelectResponsive as Select } from './Component.responsive.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-mq/modern';
|
|
4
|
-
import './Component.desktop.js';
|
|
4
|
+
import './desktop/Component.desktop.js';
|
|
5
5
|
import '@alfalab/core-components-form-control/modern/desktop';
|
|
6
6
|
import '@alfalab/core-components-popover/modern';
|
|
7
7
|
import './components/arrow/Component.js';
|
|
@@ -31,16 +31,17 @@ import './consts.js';
|
|
|
31
31
|
import './components/search/Component.js';
|
|
32
32
|
import '@alfalab/core-components-input/modern';
|
|
33
33
|
import '@alfalab/icons-glyph/MagnifierMIcon';
|
|
34
|
-
import './Component.mobile.js';
|
|
34
|
+
import './mobile/Component.mobile.js';
|
|
35
35
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
36
36
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
37
|
-
import '@alfalab/core-components-modal/modern/
|
|
37
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
38
38
|
import './components/footer/Component.js';
|
|
39
39
|
import '@alfalab/core-components-base-modal/modern';
|
|
40
40
|
import '@alfalab/core-components-button/modern/mobile';
|
|
41
41
|
import './components/virtual-options-list/Component.js';
|
|
42
42
|
import 'react-virtual';
|
|
43
|
-
import './hook-
|
|
43
|
+
import './hook-14cdb84d.js';
|
|
44
44
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
45
45
|
import '@alfalab/core-components-button/modern/desktop';
|
|
46
46
|
import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
47
|
+
import './mobile/Component.modal.mobile.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { SelectMobileProps } from "
|
|
3
|
+
import { SelectMobileProps } from "../typings";
|
|
4
4
|
declare const SelectMobile: React.ForwardRefExoticComponent<SelectMobileProps & React.RefAttributes<unknown>>;
|
|
5
5
|
export { SelectMobile };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { BottomSheet } from '@alfalab/core-components-bottom-sheet/modern';
|
|
3
3
|
import { FormControlMobile } from '@alfalab/core-components-form-control/modern/mobile';
|
|
4
|
-
import { ModalMobile } from '@alfalab/core-components-modal/modern/
|
|
5
|
-
import { Arrow } from '
|
|
6
|
-
import { BaseSelect } from '
|
|
7
|
-
import { Field } from '
|
|
8
|
-
import { Footer } from '
|
|
9
|
-
import { Optgroup } from '
|
|
10
|
-
import { Option } from '
|
|
11
|
-
import { OptionsList } from '
|
|
12
|
-
import { Search } from '
|
|
13
|
-
import { VirtualOptionsList } from '
|
|
14
|
-
import { u as useSelectWithApply } from '
|
|
15
|
-
import { Header } from '
|
|
4
|
+
import { ModalMobile } from '@alfalab/core-components-modal/modern/mobile';
|
|
5
|
+
import { Arrow } from '../components/arrow/Component.js';
|
|
6
|
+
import { BaseSelect } from '../components/base-select/Component.js';
|
|
7
|
+
import { Field } from '../components/field/Component.js';
|
|
8
|
+
import { Footer } from '../components/footer/Component.js';
|
|
9
|
+
import { Optgroup } from '../components/optgroup/Component.js';
|
|
10
|
+
import { Option } from '../components/option/Component.js';
|
|
11
|
+
import { OptionsList } from '../components/options-list/Component.js';
|
|
12
|
+
import { Search } from '../components/search/Component.js';
|
|
13
|
+
import { VirtualOptionsList } from '../components/virtual-options-list/Component.js';
|
|
14
|
+
import { u as useSelectWithApply } from '../hook-14cdb84d.js';
|
|
15
|
+
import { Header } from '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
16
16
|
import 'classnames';
|
|
17
17
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
18
18
|
import 'react-merge-refs';
|
|
@@ -21,23 +21,23 @@ import 'compute-scroll-into-view';
|
|
|
21
21
|
import 'downshift';
|
|
22
22
|
import '@alfalab/core-components-shared/modern';
|
|
23
23
|
import '@alfalab/hooks';
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
24
|
+
import '../utils.js';
|
|
25
|
+
import '../components/native-select/Component.js';
|
|
26
26
|
import '@alfalab/core-components-base-modal/modern';
|
|
27
27
|
import '@alfalab/core-components-button/modern/mobile';
|
|
28
|
-
import '
|
|
28
|
+
import '../components/checkmark/Component.js';
|
|
29
29
|
import '@alfalab/core-components-badge/modern';
|
|
30
30
|
import '@alfalab/core-components-checkbox/modern';
|
|
31
31
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
32
32
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
33
|
-
import '
|
|
33
|
+
import '../components/checkmark-mobile/Component.js';
|
|
34
34
|
import '@alfalab/core-components-mq/modern';
|
|
35
35
|
import '@alfalab/core-components-scrollbar/modern';
|
|
36
|
-
import '
|
|
36
|
+
import '../consts.js';
|
|
37
37
|
import '@alfalab/core-components-input/modern';
|
|
38
38
|
import '@alfalab/icons-glyph/MagnifierMIcon';
|
|
39
39
|
import 'react-virtual';
|
|
40
|
-
import '
|
|
40
|
+
import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
41
41
|
import '@alfalab/core-components-button/modern/desktop';
|
|
42
42
|
|
|
43
43
|
const VIRTUAL_OPTIONS_LIST_THRESHOLD = 30;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<import("../typings").BaseSelectProps, "Checkmark"> & import("../typings").AdditionalMobileProps & import("../typings").ModalSelectMobileProps & React.RefAttributes<unknown>>;
|
|
4
|
+
export { SelectModalMobile };
|
|
@@ -2,44 +2,44 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { SelectMobile } from './Component.mobile.js';
|
|
3
3
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
4
4
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
5
|
-
import '@alfalab/core-components-modal/modern/
|
|
6
|
-
import '
|
|
5
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
6
|
+
import '../components/arrow/Component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
9
|
-
import '
|
|
9
|
+
import '../components/base-select/Component.js';
|
|
10
10
|
import 'react-merge-refs';
|
|
11
11
|
import '@juggle/resize-observer';
|
|
12
12
|
import 'compute-scroll-into-view';
|
|
13
13
|
import 'downshift';
|
|
14
14
|
import '@alfalab/core-components-shared/modern';
|
|
15
15
|
import '@alfalab/hooks';
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
16
|
+
import '../utils.js';
|
|
17
|
+
import '../components/native-select/Component.js';
|
|
18
|
+
import '../components/field/Component.js';
|
|
19
|
+
import '../components/footer/Component.js';
|
|
20
20
|
import '@alfalab/core-components-base-modal/modern';
|
|
21
21
|
import '@alfalab/core-components-button/modern/mobile';
|
|
22
|
-
import '
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
22
|
+
import '../components/optgroup/Component.js';
|
|
23
|
+
import '../components/option/Component.js';
|
|
24
|
+
import '../components/checkmark/Component.js';
|
|
25
25
|
import '@alfalab/core-components-badge/modern';
|
|
26
26
|
import '@alfalab/core-components-checkbox/modern';
|
|
27
27
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
28
28
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
29
|
-
import '
|
|
30
|
-
import '
|
|
29
|
+
import '../components/checkmark-mobile/Component.js';
|
|
30
|
+
import '../components/options-list/Component.js';
|
|
31
31
|
import '@alfalab/core-components-mq/modern';
|
|
32
32
|
import '@alfalab/core-components-scrollbar/modern';
|
|
33
|
-
import '
|
|
34
|
-
import '
|
|
33
|
+
import '../consts.js';
|
|
34
|
+
import '../components/search/Component.js';
|
|
35
35
|
import '@alfalab/core-components-input/modern';
|
|
36
36
|
import '@alfalab/icons-glyph/MagnifierMIcon';
|
|
37
|
-
import '
|
|
37
|
+
import '../components/virtual-options-list/Component.js';
|
|
38
38
|
import 'react-virtual';
|
|
39
|
-
import '
|
|
40
|
-
import '
|
|
39
|
+
import '../hook-14cdb84d.js';
|
|
40
|
+
import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
41
41
|
import '@alfalab/core-components-button/modern/desktop';
|
|
42
|
-
import '
|
|
42
|
+
import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
43
43
|
|
|
44
44
|
const SelectModalMobile = forwardRef((props, ref) => (React.createElement(SelectMobile, { ...props, isBottomSheet: false, ref: ref })));
|
|
45
45
|
|
package/modern/mobile/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { SelectMobile } from "
|
|
2
|
-
export { SelectModalMobile } from "
|
|
1
|
+
export { SelectMobile } from "./Component.mobile";
|
|
2
|
+
export { SelectModalMobile } from "./Component.modal.mobile";
|
|
3
3
|
export type { SelectMobileProps, SelectModalMobileProps } from "../typings";
|
package/modern/mobile/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { SelectMobile } from '
|
|
2
|
-
export { SelectModalMobile } from '
|
|
1
|
+
export { SelectMobile } from './Component.mobile.js';
|
|
2
|
+
export { SelectModalMobile } from './Component.modal.mobile.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@alfalab/core-components-bottom-sheet/modern';
|
|
5
5
|
import '@alfalab/core-components-form-control/modern/mobile';
|
|
6
|
-
import '@alfalab/core-components-modal/modern/
|
|
6
|
+
import '@alfalab/core-components-modal/modern/mobile';
|
|
7
7
|
import '../components/arrow/Component.js';
|
|
8
8
|
import 'classnames';
|
|
9
9
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -37,7 +37,7 @@ import '@alfalab/core-components-input/modern';
|
|
|
37
37
|
import '@alfalab/icons-glyph/MagnifierMIcon';
|
|
38
38
|
import '../components/virtual-options-list/Component.js';
|
|
39
39
|
import 'react-virtual';
|
|
40
|
-
import '../hook-
|
|
40
|
+
import '../hook-14cdb84d.js';
|
|
41
41
|
import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
42
42
|
import '@alfalab/core-components-button/modern/desktop';
|
|
43
43
|
import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
package/modern/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 { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-
|
|
3
|
+
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-14cdb84d.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@alfalab/core-components-skeleton/modern';
|
|
6
6
|
import '../components/option/Component.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '../../utils.js';
|
|
3
|
-
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-
|
|
3
|
+
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-14cdb84d.js';
|
|
4
4
|
import '../../components/options-list/Component.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import 'classnames';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '../../../components/options-list/Component.js';
|
|
3
3
|
import '../../../consts.js';
|
|
4
|
-
export { O as OptionsListWithApply } from '../../../hook-
|
|
4
|
+
export { O as OptionsListWithApply } from '../../../hook-14cdb84d.js';
|
|
5
5
|
import './footer/Component.js';
|
|
6
6
|
import './header/Component.js';
|
|
7
7
|
import 'react-merge-refs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ButtonDesktop } from '@alfalab/core-components-button/modern/desktop';
|
|
3
3
|
|
|
4
|
-
const styles = {"footer":"
|
|
4
|
+
const styles = {"footer":"select__footer_oq3je"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Footer = ({ handleApply, handleClear, showClear, selectedDraft = [], }) => (React.createElement("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 2l65x */
|
|
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 */
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
--gap-s: 12px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .
|
|
20
|
+
} .select__footer_oq3je {
|
|
21
21
|
background-color: var(--color-light-bg-primary);
|
|
22
22
|
padding: var(--gap-s);
|
|
23
23
|
outline: none
|
|
24
|
-
} .
|
|
24
|
+
} .select__footer_oq3je > * + * {
|
|
25
25
|
margin-left: var(--gap-xs);
|
|
26
26
|
}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Checkbox } from '@alfalab/core-components-checkbox/modern';
|
|
4
4
|
|
|
5
|
-
const styles = {"desktop":"
|
|
5
|
+
const styles = {"desktop":"select__desktop_2zk8m","mobile":"select__mobile_2zk8m"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Header = ({ onChange, checked, indeterminate, mobile }) => (React.createElement("div", { className: cn({ [styles.desktop]: !mobile, [styles.mobile]: mobile }) },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kwy91 */
|
|
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 */
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
--gap-s: 12px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .
|
|
19
|
+
} .select__desktop_2zk8m {
|
|
20
20
|
padding: var(--gap-s);
|
|
21
|
-
} .
|
|
21
|
+
} .select__mobile_2zk8m {
|
|
22
22
|
padding: var(--gap-s) var(--gap-xs);
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../../hook-
|
|
1
|
+
export * from "../../../hook-14cdb84d";
|
|
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
|
9
9
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
10
10
|
import '../../components/checkmark-mobile/Component.js';
|
|
11
11
|
|
|
12
|
-
const styles = {"skeleton":"
|
|
12
|
+
const styles = {"skeleton":"select__skeleton_tnwpp"};
|
|
13
13
|
require('./index.css')
|
|
14
14
|
|
|
15
15
|
function useSelectWithLoading({ loading = false, visibleOptions = 6, Option: Option$1 = Option, }) {
|
package/modern/shared/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { useSelectWithLoading } from '../presets/useSelectWithLoading/hook.js';
|
|
2
2
|
export { useLazyLoading } from '../presets/useLazyLoading/hook.js';
|
|
3
|
-
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-
|
|
3
|
+
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-14cdb84d.js';
|
|
4
4
|
export { defaultAccessor, defaultFilterFn, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from '../utils.js';
|
|
5
5
|
export { Option } from '../components/option/Component.js';
|
|
6
6
|
export { BaseOption } from '../components/base-option/Component.js';
|
package/modern/typings.d.ts
CHANGED
|
@@ -245,11 +245,11 @@ type BaseSelectProps = {
|
|
|
245
245
|
name?: string;
|
|
246
246
|
}) => void;
|
|
247
247
|
/**
|
|
248
|
-
* Обработчик
|
|
248
|
+
* Обработчик блюра поля
|
|
249
249
|
*/
|
|
250
250
|
onBlur?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
|
|
251
251
|
/**
|
|
252
|
-
* Обработчик
|
|
252
|
+
* Обработчик фокуса поля
|
|
253
253
|
*/
|
|
254
254
|
onFocus?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
|
|
255
255
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-select",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.3",
|
|
4
4
|
"description": "Select component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@alfalab/core-components-badge": "^5.3.0",
|
|
19
19
|
"@alfalab/core-components-base-modal": "^5.6.0",
|
|
20
|
-
"@alfalab/core-components-bottom-sheet": "^6.
|
|
21
|
-
"@alfalab/core-components-button": "^10.0.
|
|
20
|
+
"@alfalab/core-components-bottom-sheet": "^6.12.0",
|
|
21
|
+
"@alfalab/core-components-button": "^10.0.2",
|
|
22
22
|
"@alfalab/core-components-checkbox": "^3.3.0",
|
|
23
|
-
"@alfalab/core-components-form-control": "^11.
|
|
24
|
-
"@alfalab/core-components-input": "^13.0.
|
|
25
|
-
"@alfalab/core-components-modal": "^8.1.
|
|
23
|
+
"@alfalab/core-components-form-control": "^11.1.0",
|
|
24
|
+
"@alfalab/core-components-input": "^13.0.2",
|
|
25
|
+
"@alfalab/core-components-modal": "^8.1.3",
|
|
26
26
|
"@alfalab/core-components-mq": "^4.2.0",
|
|
27
27
|
"@alfalab/core-components-popover": "^6.1.0",
|
|
28
28
|
"@alfalab/core-components-scrollbar": "^2.2.0",
|
package/presets/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var presets_useSelectWithLoading_hook = require('./useSelectWithLoading/hook.js');
|
|
6
6
|
var presets_useLazyLoading_hook = require('./useLazyLoading/hook.js');
|
|
7
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-
|
|
7
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-d8cd1702.js');
|
|
8
8
|
require('tslib');
|
|
9
9
|
require('react');
|
|
10
10
|
require('@alfalab/core-components-skeleton');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
require('tslib');
|
|
6
6
|
require('react');
|
|
7
7
|
require('../../utils.js');
|
|
8
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-
|
|
8
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-d8cd1702.js');
|
|
9
9
|
require('../../components/options-list/Component.js');
|
|
10
10
|
require('react-merge-refs');
|
|
11
11
|
require('classnames');
|
|
@@ -6,7 +6,7 @@ require('tslib');
|
|
|
6
6
|
require('react');
|
|
7
7
|
require('../../../components/options-list/Component.js');
|
|
8
8
|
require('../../../consts.js');
|
|
9
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-
|
|
9
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-d8cd1702.js');
|
|
10
10
|
require('./footer/Component.js');
|
|
11
11
|
require('./header/Component.js');
|
|
12
12
|
require('react-merge-refs');
|
|
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
9
9
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
11
11
|
|
|
12
|
-
var styles = {"footer":"
|
|
12
|
+
var styles = {"footer":"select__footer_oq3je"};
|
|
13
13
|
require('./index.css')
|
|
14
14
|
|
|
15
15
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 2l65x */
|
|
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 */
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
--gap-s: 12px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .
|
|
20
|
+
} .select__footer_oq3je {
|
|
21
21
|
background-color: var(--color-light-bg-primary);
|
|
22
22
|
padding: var(--gap-s);
|
|
23
23
|
outline: none
|
|
24
|
-
} .
|
|
24
|
+
} .select__footer_oq3je > * + * {
|
|
25
25
|
margin-left: var(--gap-xs);
|
|
26
26
|
}
|
|
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"desktop":"
|
|
14
|
+
var styles = {"desktop":"select__desktop_2zk8m","mobile":"select__mobile_2zk8m"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kwy91 */
|
|
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 */
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
--gap-s: 12px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .
|
|
19
|
+
} .select__desktop_2zk8m {
|
|
20
20
|
padding: var(--gap-s);
|
|
21
|
-
} .
|
|
21
|
+
} .select__mobile_2zk8m {
|
|
22
22
|
padding: var(--gap-s) var(--gap-xs);
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../../hook-
|
|
1
|
+
export * from "../../../hook-d8cd1702";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-
|
|
5
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-d8cd1702.js');
|
|
6
6
|
require('tslib');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../../../utils.js');
|
|
@@ -18,7 +18,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
18
|
|
|
19
19
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
20
20
|
|
|
21
|
-
var styles = {"skeleton":"
|
|
21
|
+
var styles = {"skeleton":"select__skeleton_tnwpp"};
|
|
22
22
|
require('./index.css')
|
|
23
23
|
|
|
24
24
|
function useSelectWithLoading(_a) {
|
package/shared/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var presets_useSelectWithLoading_hook = require('../presets/useSelectWithLoading/hook.js');
|
|
6
6
|
var presets_useLazyLoading_hook = require('../presets/useLazyLoading/hook.js');
|
|
7
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-
|
|
7
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-d8cd1702.js');
|
|
8
8
|
var utils = require('../utils.js');
|
|
9
9
|
var components_option_Component = require('../components/option/Component.js');
|
|
10
10
|
var components_baseOption_Component = require('../components/base-option/Component.js');
|
|
@@ -2,8 +2,8 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { useMatchMedia } from '@alfalab/core-components-mq';
|
|
4
4
|
|
|
5
|
-
import { SelectDesktop } from './
|
|
6
|
-
import { SelectMobile } from './
|
|
5
|
+
import { SelectDesktop } from './desktop';
|
|
6
|
+
import { SelectMobile } from './mobile';
|
|
7
7
|
import type { SelectFieldProps, SelectProps } from './typings';
|
|
8
8
|
|
|
9
9
|
export const SelectResponsive = forwardRef<HTMLDivElement, SelectProps>(
|
|
@@ -3,14 +3,14 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { FormControlDesktop } from '@alfalab/core-components-form-control/desktop';
|
|
4
4
|
import { Popover } from '@alfalab/core-components-popover';
|
|
5
5
|
|
|
6
|
-
import { Arrow as DefaultArrow } from '
|
|
7
|
-
import { BaseSelect } from '
|
|
8
|
-
import { Field as DefaultField } from '
|
|
9
|
-
import { Optgroup as DefaultOptgroup } from '
|
|
10
|
-
import { Option as DefaultOption } from '
|
|
11
|
-
import { OptionsList as DefaultOptionsList } from '
|
|
12
|
-
import { Search as DefaultSearch } from '
|
|
13
|
-
import { SelectDesktopProps } from '
|
|
6
|
+
import { Arrow as DefaultArrow } from '../components/arrow';
|
|
7
|
+
import { BaseSelect } from '../components/base-select';
|
|
8
|
+
import { Field as DefaultField } from '../components/field';
|
|
9
|
+
import { Optgroup as DefaultOptgroup } from '../components/optgroup';
|
|
10
|
+
import { Option as DefaultOption } from '../components/option';
|
|
11
|
+
import { OptionsList as DefaultOptionsList } from '../components/options-list';
|
|
12
|
+
import { Search as DefaultSearch } from '../components/search';
|
|
13
|
+
import { SelectDesktopProps } from '../typings';
|
|
14
14
|
|
|
15
15
|
export const SelectDesktop = forwardRef<HTMLDivElement, SelectDesktopProps>(
|
|
16
16
|
(
|
package/src/desktop/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SelectDesktop } from '
|
|
1
|
+
export { SelectDesktop } from './Component.desktop';
|
|
2
2
|
export type { SelectDesktopProps } from '../typings';
|
|
@@ -2,25 +2,25 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { BottomSheet } from '@alfalab/core-components-bottom-sheet';
|
|
4
4
|
import { FormControlMobile } from '@alfalab/core-components-form-control/mobile';
|
|
5
|
-
import { ModalMobile } from '@alfalab/core-components-modal/
|
|
5
|
+
import { ModalMobile } from '@alfalab/core-components-modal/mobile';
|
|
6
6
|
|
|
7
|
-
import { Arrow as DefaultArrow } from '
|
|
8
|
-
import { BaseSelect } from '
|
|
9
|
-
import { Field as DefaultField } from '
|
|
10
|
-
import { Footer } from '
|
|
11
|
-
import { Optgroup as DefaultOptgroup } from '
|
|
12
|
-
import { Option as DefaultOption } from '
|
|
13
|
-
import { OptionsList as DefaultOptionsList } from '
|
|
14
|
-
import { Search as DefaultSearch } from '
|
|
15
|
-
import { VirtualOptionsList as DefaultVirtualOptionsList } from '
|
|
16
|
-
import { useSelectWithApply } from '
|
|
17
|
-
import { Header } from '
|
|
7
|
+
import { Arrow as DefaultArrow } from '../components/arrow';
|
|
8
|
+
import { BaseSelect } from '../components/base-select';
|
|
9
|
+
import { Field as DefaultField } from '../components/field';
|
|
10
|
+
import { Footer } from '../components/footer';
|
|
11
|
+
import { Optgroup as DefaultOptgroup } from '../components/optgroup';
|
|
12
|
+
import { Option as DefaultOption } from '../components/option';
|
|
13
|
+
import { OptionsList as DefaultOptionsList } from '../components/options-list';
|
|
14
|
+
import { Search as DefaultSearch } from '../components/search';
|
|
15
|
+
import { VirtualOptionsList as DefaultVirtualOptionsList } from '../components/virtual-options-list';
|
|
16
|
+
import { useSelectWithApply } from '../presets/useSelectWithApply/hook';
|
|
17
|
+
import { Header } from '../presets/useSelectWithApply/options-list-with-apply/header/Component';
|
|
18
18
|
import {
|
|
19
19
|
AnyObject,
|
|
20
20
|
BottomSheetSelectMobileProps,
|
|
21
21
|
ModalSelectMobileProps,
|
|
22
22
|
SelectMobileProps,
|
|
23
|
-
} from '
|
|
23
|
+
} from '../typings';
|
|
24
24
|
|
|
25
25
|
const VIRTUAL_OPTIONS_LIST_THRESHOLD = 30;
|
|
26
26
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
+
import { SelectModalMobileProps } from '../typings';
|
|
4
|
+
|
|
3
5
|
import { SelectMobile } from './Component.mobile';
|
|
4
|
-
import { SelectModalMobileProps } from './typings';
|
|
5
6
|
|
|
6
7
|
export const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => (
|
|
7
8
|
<SelectMobile {...props} isBottomSheet={false} ref={ref} />
|