@alfalab/core-components-select 13.2.8 → 13.2.10
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-d0e7b8cf.d.ts → Component-4dccfbd0.d.ts} +0 -0
- package/{Component-d0e7b8cf.js → Component-4dccfbd0.js} +7 -7
- package/{Component-8614ce6b.d.ts → Component-d45b1eb6.d.ts} +0 -0
- package/{Component-8614ce6b.js → Component-d45b1eb6.js} +2 -2
- package/Component.d.ts +1 -1
- package/Component.js +4 -4
- package/Component.responsive.js +6 -6
- package/components/arrow/Component.js +1 -1
- package/components/arrow/index.css +12 -11
- package/components/base-checkmark/Component.js +1 -1
- package/components/base-checkmark/index.css +13 -9
- package/components/base-option/Component.js +2 -2
- package/components/base-option/index.css +22 -33
- package/components/base-option/index.js +1 -1
- package/components/base-select/Component.js +2 -2
- package/components/base-select/index.css +18 -24
- package/components/base-select/index.d.ts +1 -1
- package/components/base-select/index.js +2 -2
- package/components/base-select-mobile/Component.js +6 -6
- package/components/base-select-mobile/checkmark/Component.js +2 -5
- package/components/base-select-mobile/checkmark/index.css +15 -13
- package/components/base-select-mobile/checkmark/index.js +0 -2
- package/components/base-select-mobile/index.css +21 -27
- package/components/base-select-mobile/index.d.ts +1 -1
- package/components/base-select-mobile/index.js +6 -6
- package/components/base-select-mobile/options-list/Component.js +2 -2
- package/components/base-select-mobile/options-list/index.css +19 -24
- package/components/base-select-mobile/options-list/index.js +1 -1
- package/components/checkmark/Component.js +5 -4
- package/components/checkmark/index.css +28 -26
- package/components/checkmark/index.js +1 -0
- package/components/field/Component.js +2 -2
- package/components/field/index.css +18 -24
- package/components/field/index.js +1 -1
- package/components/index.js +6 -6
- package/components/native-select/Component.js +1 -1
- package/components/native-select/index.js +1 -1
- package/components/optgroup/Component.js +1 -1
- package/components/optgroup/index.css +15 -16
- package/components/option/Component.js +4 -4
- package/components/option/index.css +30 -47
- package/components/option/index.js +3 -3
- package/components/options-list/Component.js +2 -2
- package/components/options-list/index.css +15 -16
- package/components/options-list/index.js +1 -1
- package/components/select-mobile/Component.js +6 -6
- package/components/select-mobile/index.d.ts +1 -1
- package/components/select-mobile/index.js +6 -6
- package/components/select-modal-mobile/Component.js +6 -6
- package/components/select-modal-mobile/index.d.ts +1 -1
- package/components/select-modal-mobile/index.js +6 -6
- package/components/virtual-options-list/Component.js +2 -2
- package/components/virtual-options-list/index.css +21 -27
- package/components/virtual-options-list/index.js +1 -1
- package/cssm/{Component-e61bd989.d.ts → Component-29488b22.d.ts} +0 -0
- package/cssm/{Component-e61bd989.js → Component-29488b22.js} +2 -2
- package/cssm/Component.d.ts +1 -1
- package/cssm/Component.js +2 -2
- package/cssm/Component.responsive.js +3 -3
- package/cssm/components/arrow/index.module.css +11 -10
- package/cssm/components/base-checkmark/index.module.css +12 -8
- package/cssm/components/base-option/index.module.css +21 -32
- package/cssm/components/base-select/index.module.css +16 -22
- package/cssm/components/base-select-mobile/Component.js +3 -3
- package/cssm/components/base-select-mobile/checkmark/Component.js +1 -4
- package/cssm/components/base-select-mobile/checkmark/index.js +0 -2
- package/cssm/components/base-select-mobile/checkmark/index.module.css +14 -12
- package/cssm/components/base-select-mobile/index.d.ts +1 -1
- package/cssm/components/base-select-mobile/index.js +3 -3
- package/cssm/components/base-select-mobile/index.module.css +19 -25
- package/cssm/components/base-select-mobile/options-list/index.module.css +17 -22
- package/cssm/components/checkmark/Component.js +4 -3
- package/cssm/components/checkmark/index.js +1 -0
- package/cssm/components/checkmark/index.module.css +27 -25
- package/cssm/components/field/index.module.css +17 -23
- package/cssm/components/index.js +3 -3
- package/cssm/components/optgroup/index.module.css +13 -14
- package/cssm/components/option/Component.js +2 -2
- package/cssm/components/option/index.js +2 -2
- package/cssm/components/option/index.module.css +26 -43
- package/cssm/components/options-list/index.module.css +13 -14
- package/cssm/components/select-mobile/Component.js +3 -3
- package/cssm/components/select-mobile/index.d.ts +1 -1
- package/cssm/components/select-mobile/index.js +3 -3
- package/cssm/components/select-modal-mobile/Component.js +3 -3
- package/cssm/components/select-modal-mobile/index.d.ts +1 -1
- package/cssm/components/select-modal-mobile/index.js +3 -3
- package/cssm/components/virtual-options-list/index.module.css +18 -24
- package/cssm/index.js +3 -3
- package/cssm/presets/index.js +3 -3
- package/cssm/presets/useLazyLoading/hook.js +2 -2
- package/cssm/presets/useSelectWithApply/hook.js +3 -3
- package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
- package/cssm/presets/useSelectWithApply/options-list-with-apply/index.module.css +12 -12
- package/cssm/presets/useSelectWithLoading/hook.js +2 -2
- package/cssm/responsive.js +3 -3
- package/cssm/typings.d.ts +1 -5
- package/esm/{Component-c09a6820.d.ts → Component-2d2efe5d.d.ts} +0 -0
- package/esm/{Component-c09a6820.js → Component-2d2efe5d.js} +2 -2
- package/esm/{Component-4ef9d6d2.d.ts → Component-909f3a34.d.ts} +0 -0
- package/esm/{Component-4ef9d6d2.js → Component-909f3a34.js} +7 -7
- package/esm/Component.d.ts +1 -1
- package/esm/Component.js +4 -4
- package/esm/Component.responsive.js +6 -6
- package/esm/components/arrow/Component.js +1 -1
- package/esm/components/arrow/index.css +12 -11
- package/esm/components/base-checkmark/Component.js +1 -1
- package/esm/components/base-checkmark/index.css +13 -9
- package/esm/components/base-option/Component.js +2 -2
- package/esm/components/base-option/index.css +22 -33
- package/esm/components/base-option/index.js +1 -1
- package/esm/components/base-select/Component.js +2 -2
- package/esm/components/base-select/index.css +18 -24
- package/esm/components/base-select/index.d.ts +1 -1
- package/esm/components/base-select/index.js +2 -2
- package/esm/components/base-select-mobile/Component.js +6 -6
- package/esm/components/base-select-mobile/checkmark/Component.js +2 -5
- package/esm/components/base-select-mobile/checkmark/index.css +15 -13
- package/esm/components/base-select-mobile/checkmark/index.js +0 -2
- package/esm/components/base-select-mobile/index.css +21 -27
- package/esm/components/base-select-mobile/index.d.ts +1 -1
- package/esm/components/base-select-mobile/index.js +6 -6
- package/esm/components/base-select-mobile/options-list/Component.js +2 -2
- package/esm/components/base-select-mobile/options-list/index.css +19 -24
- package/esm/components/base-select-mobile/options-list/index.js +1 -1
- package/esm/components/checkmark/Component.js +4 -4
- package/esm/components/checkmark/index.css +28 -26
- package/esm/components/checkmark/index.js +1 -0
- package/esm/components/field/Component.js +2 -2
- package/esm/components/field/index.css +18 -24
- package/esm/components/field/index.js +1 -1
- package/esm/components/index.js +6 -6
- package/esm/components/native-select/Component.js +1 -1
- package/esm/components/native-select/index.js +1 -1
- package/esm/components/optgroup/Component.js +1 -1
- package/esm/components/optgroup/index.css +15 -16
- package/esm/components/option/Component.js +4 -4
- package/esm/components/option/index.css +30 -47
- package/esm/components/option/index.js +3 -3
- package/esm/components/options-list/Component.js +2 -2
- package/esm/components/options-list/index.css +15 -16
- package/esm/components/options-list/index.js +1 -1
- package/esm/components/select-mobile/Component.js +6 -6
- package/esm/components/select-mobile/index.d.ts +1 -1
- package/esm/components/select-mobile/index.js +6 -6
- package/esm/components/select-modal-mobile/Component.js +6 -6
- package/esm/components/select-modal-mobile/index.d.ts +1 -1
- package/esm/components/select-modal-mobile/index.js +6 -6
- package/esm/components/virtual-options-list/Component.js +2 -2
- package/esm/components/virtual-options-list/index.css +21 -27
- package/esm/components/virtual-options-list/index.js +1 -1
- package/esm/index.js +6 -6
- package/esm/{intersection-observer-c9397884.d.ts → intersection-observer-eebe1d7d.d.ts} +0 -0
- package/esm/{intersection-observer-c9397884.js → intersection-observer-eebe1d7d.js} +0 -0
- package/esm/presets/index.js +6 -6
- package/esm/presets/useLazyLoading/hook.js +5 -5
- package/esm/presets/useLazyLoading/index.css +2 -2
- package/esm/presets/useSelectWithApply/hook.js +6 -6
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +6 -6
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +13 -13
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +6 -6
- package/esm/presets/useSelectWithLoading/hook.js +4 -4
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/responsive.js +6 -6
- package/esm/{tslib.es6-3c9b3142.d.ts → tslib.es6-00fefe9b.d.ts} +0 -0
- package/esm/{tslib.es6-3c9b3142.js → tslib.es6-00fefe9b.js} +0 -0
- package/esm/typings.d.ts +1 -5
- package/index.js +6 -6
- package/{intersection-observer-8ba57140.d.ts → intersection-observer-0845add3.d.ts} +0 -0
- package/{intersection-observer-8ba57140.js → intersection-observer-0845add3.js} +0 -0
- package/modern/{Component-8d6d6d34.d.ts → Component-2a37a356.d.ts} +0 -0
- package/modern/{Component-8d6d6d34.js → Component-2a37a356.js} +1 -1
- package/modern/{Component-c2b10ca0.d.ts → Component-79964ac6.d.ts} +0 -0
- package/modern/{Component-c2b10ca0.js → Component-79964ac6.js} +6 -6
- package/modern/Component.d.ts +1 -1
- package/modern/Component.js +3 -3
- package/modern/Component.responsive.js +5 -5
- package/modern/components/arrow/Component.js +1 -1
- package/modern/components/arrow/index.css +12 -11
- package/modern/components/base-checkmark/Component.js +1 -1
- package/modern/components/base-checkmark/index.css +13 -9
- package/modern/components/base-option/Component.js +1 -1
- package/modern/components/base-option/index.css +22 -33
- package/modern/components/base-select/Component.js +1 -1
- package/modern/components/base-select/index.css +18 -24
- package/modern/components/base-select/index.d.ts +1 -1
- package/modern/components/base-select/index.js +1 -1
- package/modern/components/base-select-mobile/Component.js +5 -5
- package/modern/components/base-select-mobile/checkmark/Component.js +2 -5
- package/modern/components/base-select-mobile/checkmark/index.css +15 -13
- package/modern/components/base-select-mobile/checkmark/index.js +0 -2
- package/modern/components/base-select-mobile/index.css +21 -27
- package/modern/components/base-select-mobile/index.d.ts +1 -1
- package/modern/components/base-select-mobile/index.js +5 -5
- package/modern/components/base-select-mobile/options-list/Component.js +1 -1
- package/modern/components/base-select-mobile/options-list/index.css +19 -24
- package/modern/components/checkmark/Component.js +4 -4
- package/modern/components/checkmark/index.css +28 -26
- package/modern/components/checkmark/index.js +1 -0
- package/modern/components/field/Component.js +1 -1
- package/modern/components/field/index.css +18 -24
- package/modern/components/index.js +5 -5
- package/modern/components/optgroup/Component.js +1 -1
- package/modern/components/optgroup/index.css +15 -16
- package/modern/components/option/Component.js +3 -3
- package/modern/components/option/index.css +30 -47
- package/modern/components/option/index.js +2 -2
- package/modern/components/options-list/Component.js +1 -1
- package/modern/components/options-list/index.css +15 -16
- package/modern/components/select-mobile/Component.js +5 -5
- package/modern/components/select-mobile/index.d.ts +1 -1
- package/modern/components/select-mobile/index.js +5 -5
- package/modern/components/select-modal-mobile/Component.js +5 -5
- package/modern/components/select-modal-mobile/index.d.ts +1 -1
- package/modern/components/select-modal-mobile/index.js +5 -5
- package/modern/components/virtual-options-list/Component.js +1 -1
- package/modern/components/virtual-options-list/index.css +21 -27
- package/modern/index.js +5 -5
- package/modern/{intersection-observer-c9397884.d.ts → intersection-observer-eebe1d7d.d.ts} +0 -0
- package/modern/{intersection-observer-c9397884.js → intersection-observer-eebe1d7d.js} +0 -0
- package/modern/presets/index.js +5 -5
- package/modern/presets/useLazyLoading/hook.js +4 -4
- package/modern/presets/useLazyLoading/index.css +2 -2
- package/modern/presets/useSelectWithApply/hook.js +5 -5
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +5 -5
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +13 -13
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +5 -5
- package/modern/presets/useSelectWithLoading/hook.js +3 -3
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/responsive.js +5 -5
- package/modern/typings.d.ts +1 -5
- package/package.json +7 -7
- package/presets/index.js +6 -6
- package/presets/useLazyLoading/hook.js +5 -5
- package/presets/useLazyLoading/index.css +2 -2
- package/presets/useSelectWithApply/hook.js +6 -6
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +6 -6
- package/presets/useSelectWithApply/options-list-with-apply/index.css +13 -13
- package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/index.js +6 -6
- package/presets/useSelectWithLoading/hook.js +4 -4
- package/presets/useSelectWithLoading/index.css +2 -2
- package/responsive.js +6 -6
- package/{tslib.es6-765af8e2.d.ts → tslib.es6-ade45ad3.d.ts} +0 -0
- package/{tslib.es6-765af8e2.js → tslib.es6-ade45ad3.js} +0 -0
- package/typings.d.ts +1 -5
package/esm/presets/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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-
|
|
4
|
-
import '../tslib.es6-
|
|
3
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-909f3a34.js';
|
|
4
|
+
import '../tslib.es6-00fefe9b.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@alfalab/core-components-skeleton/esm';
|
|
7
7
|
import '../components/option/Component.js';
|
|
8
8
|
import 'classnames';
|
|
9
9
|
import '../components/base-select-mobile/checkmark/Component.js';
|
|
10
|
-
import '@alfalab/core-components-badge/esm';
|
|
11
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
12
10
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
13
11
|
import '../components/checkmark/Component.js';
|
|
12
|
+
import '@alfalab/core-components-badge/esm';
|
|
14
13
|
import '@alfalab/core-components-checkbox/esm';
|
|
15
|
-
import '
|
|
14
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
15
|
+
import '../intersection-observer-eebe1d7d.js';
|
|
16
16
|
import '../components/arrow/Component.js';
|
|
17
17
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
18
18
|
import 'react-merge-refs';
|
|
@@ -20,7 +20,7 @@ import 'downshift';
|
|
|
20
20
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
21
21
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
22
22
|
import '../Component.js';
|
|
23
|
-
import '../Component-
|
|
23
|
+
import '../Component-2d2efe5d.js';
|
|
24
24
|
import '@juggle/resize-observer';
|
|
25
25
|
import '@alfalab/core-components-popover/esm';
|
|
26
26
|
import '@alfalab/hooks';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as __spreadArray, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { b as __spreadArray, a as __assign } from '../../tslib.es6-00fefe9b.js';
|
|
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-eebe1d7d.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../components/base-select-mobile/checkmark/Component.js';
|
|
8
|
-
import '@alfalab/core-components-badge/esm';
|
|
9
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
10
8
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
11
9
|
import '../../components/checkmark/Component.js';
|
|
10
|
+
import '@alfalab/core-components-badge/esm';
|
|
12
11
|
import '@alfalab/core-components-checkbox/esm';
|
|
12
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
13
13
|
|
|
14
|
-
var styles = {"skeleton":"
|
|
14
|
+
var styles = {"skeleton":"select__skeleton_147ki"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var DEBOUNCE_TIMEOUT = 300;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import '../../tslib.es6-
|
|
1
|
+
import '../../tslib.es6-00fefe9b.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../Component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
|
-
import '../../Component-
|
|
7
|
-
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-
|
|
6
|
+
import '../../Component-2d2efe5d.js';
|
|
7
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-909f3a34.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../utils.js';
|
|
11
|
-
import '@alfalab/core-components-badge/esm';
|
|
12
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
13
11
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
12
|
+
import '@alfalab/core-components-badge/esm';
|
|
14
13
|
import '@alfalab/core-components-checkbox/esm';
|
|
14
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
15
15
|
import '../../components/options-list/Component.js';
|
|
16
16
|
import 'react-virtual';
|
|
17
17
|
import '@alfalab/core-components-scrollbar/esm';
|
|
18
18
|
import '@alfalab/core-components-skeleton/esm';
|
|
19
|
-
import '../../intersection-observer-
|
|
19
|
+
import '../../intersection-observer-eebe1d7d.js';
|
|
20
20
|
import '../../components/arrow/Component.js';
|
|
21
21
|
import '../../components/field/Component.js';
|
|
22
22
|
import '../../components/optgroup/Component.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import '../../../tslib.es6-
|
|
1
|
+
import '../../../tslib.es6-00fefe9b.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-button/esm';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
|
-
import '../../../Component-
|
|
7
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
6
|
+
import '../../../Component-2d2efe5d.js';
|
|
7
|
+
export { O as OptionsListWithApply } from '../../../Component-909f3a34.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
|
-
import '@alfalab/core-components-badge/esm';
|
|
11
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
12
10
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
11
|
+
import '@alfalab/core-components-badge/esm';
|
|
13
12
|
import '@alfalab/core-components-checkbox/esm';
|
|
13
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
14
14
|
import '../../../components/options-list/Component.js';
|
|
15
15
|
import 'react-virtual';
|
|
16
16
|
import '@alfalab/core-components-scrollbar/esm';
|
|
@@ -32,6 +32,6 @@ import '../../../components/checkmark/Component.js';
|
|
|
32
32
|
import '../../../components/base-option/Component.js';
|
|
33
33
|
import '../../../components/base-checkmark/Component.js';
|
|
34
34
|
import '@alfalab/core-components-skeleton/esm';
|
|
35
|
-
import '../../../intersection-observer-
|
|
35
|
+
import '../../../intersection-observer-eebe1d7d.js';
|
|
36
36
|
import '../../../components/base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 5i0jv */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-bg-primary: #fff;
|
|
4
5
|
--color-light-border-secondary: #e7e9eb;
|
|
5
|
-
}
|
|
6
|
-
:root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
8
|
+
} :root {
|
|
7
9
|
|
|
8
10
|
/* Hard */
|
|
9
11
|
|
|
10
12
|
/* Up */
|
|
11
13
|
|
|
12
14
|
/* Hard up */
|
|
13
|
-
}
|
|
14
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
15
17
|
--gap-xs: 8px;
|
|
16
18
|
--gap-s: 12px;
|
|
17
|
-
}
|
|
18
|
-
:root {
|
|
19
|
+
} :root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
19
22
|
|
|
20
23
|
/* options list */
|
|
21
24
|
|
|
@@ -24,15 +27,12 @@
|
|
|
24
27
|
/* checkmark */
|
|
25
28
|
|
|
26
29
|
/* optgroup */
|
|
27
|
-
}
|
|
28
|
-
.select__footer_ir798 {
|
|
30
|
+
} .select__footer_1x0me {
|
|
29
31
|
background: var(--color-light-bg-primary);
|
|
30
32
|
padding: var(--gap-s);
|
|
31
33
|
outline: none
|
|
32
|
-
}
|
|
33
|
-
.select__footer_ir798 > * + * {
|
|
34
|
+
} .select__footer_1x0me > * + * {
|
|
34
35
|
margin-left: var(--gap-xs);
|
|
35
|
-
}
|
|
36
|
-
.select__withBorder_ir798 {
|
|
36
|
+
} .select__withBorder_1x0me {
|
|
37
37
|
box-shadow: inset 0 1px 0 var(--color-light-border-secondary);
|
|
38
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../../Component-
|
|
1
|
+
export * from "../../../Component-909f3a34";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
2
|
-
import '../../../tslib.es6-
|
|
1
|
+
export { O as OptionsListWithApply } from '../../../Component-909f3a34.js';
|
|
2
|
+
import '../../../tslib.es6-00fefe9b.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../../components/arrow/Component.js';
|
|
5
5
|
import 'classnames';
|
|
@@ -9,7 +9,7 @@ import 'downshift';
|
|
|
9
9
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
10
10
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
11
11
|
import '../../../Component.js';
|
|
12
|
-
import '../../../Component-
|
|
12
|
+
import '../../../Component-2d2efe5d.js';
|
|
13
13
|
import '@juggle/resize-observer';
|
|
14
14
|
import '@alfalab/core-components-popover/esm';
|
|
15
15
|
import '@alfalab/hooks';
|
|
@@ -20,18 +20,18 @@ import '@alfalab/core-components-form-control/esm';
|
|
|
20
20
|
import '../../../components/optgroup/Component.js';
|
|
21
21
|
import '../../../components/option/Component.js';
|
|
22
22
|
import '../../../components/base-select-mobile/checkmark/Component.js';
|
|
23
|
-
import '@alfalab/core-components-badge/esm';
|
|
24
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
25
23
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
26
24
|
import '../../../components/checkmark/Component.js';
|
|
25
|
+
import '@alfalab/core-components-badge/esm';
|
|
27
26
|
import '@alfalab/core-components-checkbox/esm';
|
|
27
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
28
28
|
import '../../../components/options-list/Component.js';
|
|
29
29
|
import '@alfalab/core-components-scrollbar/esm';
|
|
30
30
|
import 'react-virtual';
|
|
31
31
|
import '../../../components/base-option/Component.js';
|
|
32
32
|
import '../../../components/base-checkmark/Component.js';
|
|
33
33
|
import '@alfalab/core-components-skeleton/esm';
|
|
34
|
-
import '../../../intersection-observer-
|
|
34
|
+
import '../../../intersection-observer-eebe1d7d.js';
|
|
35
35
|
import '@alfalab/core-components-button/esm';
|
|
36
36
|
import '../../../components/base-select-mobile/options-list/Component.js';
|
|
37
37
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-00fefe9b.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Skeleton } from '@alfalab/core-components-skeleton/esm';
|
|
4
4
|
import { Option } from '../../components/option/Component.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../../components/base-select-mobile/checkmark/Component.js';
|
|
7
|
-
import '@alfalab/core-components-badge/esm';
|
|
8
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
9
7
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
10
8
|
import '../../components/checkmark/Component.js';
|
|
9
|
+
import '@alfalab/core-components-badge/esm';
|
|
11
10
|
import '@alfalab/core-components-checkbox/esm';
|
|
11
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
12
12
|
|
|
13
|
-
var styles = {"skeleton":"
|
|
13
|
+
var styles = {"skeleton":"select__skeleton_1n49u"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
function useSelectWithLoading(_a) {
|
package/esm/responsive.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { SelectResponsive } from './Component.responsive.js';
|
|
2
|
-
import './tslib.es6-
|
|
2
|
+
import './tslib.es6-00fefe9b.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
5
|
import './Component.js';
|
|
6
6
|
import './components/arrow/Component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
9
|
-
import './Component-
|
|
9
|
+
import './Component-2d2efe5d.js';
|
|
10
10
|
import 'react-merge-refs';
|
|
11
11
|
import '@juggle/resize-observer';
|
|
12
12
|
import 'downshift';
|
|
@@ -18,21 +18,21 @@ import '@alfalab/core-components-form-control/esm';
|
|
|
18
18
|
import './components/optgroup/Component.js';
|
|
19
19
|
import './components/option/Component.js';
|
|
20
20
|
import './components/base-select-mobile/checkmark/Component.js';
|
|
21
|
-
import '@alfalab/core-components-badge/esm';
|
|
22
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
23
21
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
24
22
|
import './components/checkmark/Component.js';
|
|
23
|
+
import '@alfalab/core-components-badge/esm';
|
|
25
24
|
import '@alfalab/core-components-checkbox/esm';
|
|
25
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
26
26
|
import './components/options-list/Component.js';
|
|
27
27
|
import '@alfalab/core-components-scrollbar/esm';
|
|
28
|
-
import './Component-
|
|
28
|
+
import './Component-909f3a34.js';
|
|
29
29
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
30
30
|
import '@alfalab/core-components-modal/esm/mobile';
|
|
31
31
|
import 'react-virtual';
|
|
32
32
|
import './components/base-option/Component.js';
|
|
33
33
|
import './components/base-checkmark/Component.js';
|
|
34
34
|
import '@alfalab/core-components-skeleton/esm';
|
|
35
|
-
import './intersection-observer-
|
|
35
|
+
import './intersection-observer-eebe1d7d.js';
|
|
36
36
|
import '@alfalab/core-components-button/esm';
|
|
37
37
|
import './components/base-select-mobile/options-list/Component.js';
|
|
38
38
|
import '@alfalab/core-components-base-modal/esm';
|
|
File without changes
|
|
File without changes
|
package/esm/typings.d.ts
CHANGED
|
@@ -251,10 +251,6 @@ type FieldProps = {
|
|
|
251
251
|
* Дополнительный класс
|
|
252
252
|
*/
|
|
253
253
|
className?: string;
|
|
254
|
-
/**
|
|
255
|
-
* Размер компонента
|
|
256
|
-
*/
|
|
257
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
258
254
|
/**
|
|
259
255
|
* Выбранный пункт
|
|
260
256
|
*/
|
|
@@ -329,7 +325,7 @@ type FieldProps = {
|
|
|
329
325
|
* Идентификатор для систем автоматизированного тестирования
|
|
330
326
|
*/
|
|
331
327
|
dataTestId?: string;
|
|
332
|
-
}
|
|
328
|
+
} & Record<string, any>;
|
|
333
329
|
type ArrowProps = {
|
|
334
330
|
/**
|
|
335
331
|
* Дополнительный класс
|
package/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var Component = require('./Component.js');
|
|
4
4
|
var components_arrow_Component = require('./components/arrow/Component.js');
|
|
5
|
-
var components_baseSelect_Component = require('./Component-
|
|
6
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-
|
|
5
|
+
var components_baseSelect_Component = require('./Component-d45b1eb6.js');
|
|
6
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-4dccfbd0.js');
|
|
7
7
|
var components_field_Component = require('./components/field/Component.js');
|
|
8
8
|
var components_optgroup_Component = require('./components/optgroup/Component.js');
|
|
9
9
|
var components_option_Component = require('./components/option/Component.js');
|
|
@@ -13,7 +13,7 @@ var components_baseOption_Component = require('./components/base-option/Componen
|
|
|
13
13
|
var presets_useSelectWithLoading_hook = require('./presets/useSelectWithLoading/hook.js');
|
|
14
14
|
var presets_useLazyLoading_hook = require('./presets/useLazyLoading/hook.js');
|
|
15
15
|
var utils = require('./utils.js');
|
|
16
|
-
require('./tslib.es6-
|
|
16
|
+
require('./tslib.es6-ade45ad3.js');
|
|
17
17
|
require('react');
|
|
18
18
|
require('classnames');
|
|
19
19
|
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
@@ -25,17 +25,17 @@ require('@alfalab/hooks');
|
|
|
25
25
|
require('./components/native-select/Component.js');
|
|
26
26
|
require('@alfalab/core-components-form-control');
|
|
27
27
|
require('./components/base-select-mobile/checkmark/Component.js');
|
|
28
|
-
require('@alfalab/core-components-badge');
|
|
29
|
-
require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
|
|
30
28
|
require('@alfalab/icons-glyph/CheckmarkMIcon');
|
|
31
29
|
require('./components/checkmark/Component.js');
|
|
30
|
+
require('@alfalab/core-components-badge');
|
|
32
31
|
require('@alfalab/core-components-checkbox');
|
|
32
|
+
require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
|
|
33
33
|
require('@alfalab/core-components-scrollbar');
|
|
34
34
|
require('@alfalab/core-components-bottom-sheet');
|
|
35
35
|
require('@alfalab/core-components-modal/mobile');
|
|
36
36
|
require('react-virtual');
|
|
37
37
|
require('@alfalab/core-components-skeleton');
|
|
38
|
-
require('./intersection-observer-
|
|
38
|
+
require('./intersection-observer-0845add3.js');
|
|
39
39
|
require('@alfalab/core-components-button');
|
|
40
40
|
require('./components/base-checkmark/Component.js');
|
|
41
41
|
require('./components/base-select-mobile/options-list/Component.js');
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -13,7 +13,7 @@ const getDataTestId = (dataTestId, element) => {
|
|
|
13
13
|
return dataTestId ? `${dataTestId}${elementPart}` : undefined;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
const styles = {"component":"
|
|
16
|
+
const styles = {"component":"select__component_1j9ks","popoverInner":"select__popoverInner_1j9ks","optionsList":"select__optionsList_1j9ks","nativeSelect":"select__nativeSelect_1j9ks","block":"select__block_1j9ks"};
|
|
17
17
|
require('./components/base-select/index.css')
|
|
18
18
|
|
|
19
19
|
const BaseSelect = forwardRef(({ dataTestId, className, fieldClassName, optionsListClassName, optionClassName, popperClassName, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, nativeSelect = false, defaultOpen = false, open: openProp, popoverPosition = 'bottom-start', preventFlip = true, optionsListWidth = 'content', name, id, selected, size = 's', optionsSize = size, error, hint, block, label, labelView, placeholder, fieldProps = {}, optionsListProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, onBlur, onScroll, Arrow, Field = () => null, OptionsList = () => null, Optgroup = () => null, Option = () => null, updatePopover, zIndexPopover, showEmptyOptionsList = false, visibleOptions, }, ref) => {
|
|
File without changes
|
|
@@ -6,7 +6,7 @@ import { useMultipleSelection, useCombobox } from 'downshift';
|
|
|
6
6
|
import { BottomSheet } from '@alfalab/core-components-bottom-sheet/modern';
|
|
7
7
|
import { ModalMobile } from '@alfalab/core-components-modal/modern/mobile';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import { g as getDataTestId } from './Component-
|
|
9
|
+
import { g as getDataTestId } from './Component-2a37a356.js';
|
|
10
10
|
import { Field } from './components/field/Component.js';
|
|
11
11
|
import { Optgroup } from './components/optgroup/Component.js';
|
|
12
12
|
import { Option } from './components/option/Component.js';
|
|
@@ -17,19 +17,19 @@ import '@alfalab/hooks';
|
|
|
17
17
|
import { processOptions } from './utils.js';
|
|
18
18
|
import { BaseOption } from './components/base-option/Component.js';
|
|
19
19
|
import '@alfalab/core-components-skeleton/modern';
|
|
20
|
-
import './intersection-observer-
|
|
20
|
+
import './intersection-observer-eebe1d7d.js';
|
|
21
21
|
import { Button } from '@alfalab/core-components-button/modern';
|
|
22
22
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
23
23
|
import '@alfalab/core-components-form-control/modern';
|
|
24
|
-
import '@alfalab/core-components-badge/modern';
|
|
25
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
26
24
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
25
|
+
import '@alfalab/core-components-badge/modern';
|
|
27
26
|
import '@alfalab/core-components-checkbox/modern';
|
|
27
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
28
28
|
import { BaseCheckmark } from './components/base-checkmark/Component.js';
|
|
29
29
|
import { Checkmark } from './components/base-select-mobile/checkmark/Component.js';
|
|
30
30
|
import { OptionsList as OptionsList$1 } from './components/base-select-mobile/options-list/Component.js';
|
|
31
31
|
|
|
32
|
-
const styles$1 = {"footer":"
|
|
32
|
+
const styles$1 = {"footer":"select__footer_1x0me","withBorder":"select__withBorder_1x0me"};
|
|
33
33
|
require('./presets/useSelectWithApply/options-list-with-apply/index.css')
|
|
34
34
|
|
|
35
35
|
const OptionsListWithApply = forwardRef(({ toggleMenu, OptionsList: OptionsList$1 = OptionsList, getOptionProps: defaultGetOptionProps, showClear = true, selectedDraft = [], flatOptions = [], onApply = () => null, onClear = () => null, onClose = () => null, visibleOptions = 5, ...restProps }, ref) => {
|
|
@@ -142,7 +142,7 @@ function useSelectWithApply({ options, selected, onChange = () => null, OptionsL
|
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
const styles = {"component":"
|
|
145
|
+
const styles = {"component":"select__component_15ued","popoverInner":"select__popoverInner_15ued","sheet":"select__sheet_15ued","sheetContent":"select__sheetContent_15ued","sheetContainer":"select__sheetContainer_15ued","block":"select__block_15ued","option":"select__option_15ued","optionGroup":"select__optionGroup_15ued"};
|
|
146
146
|
require('./components/base-select-mobile/index.css')
|
|
147
147
|
|
|
148
148
|
const BaseSelectMobile = forwardRef(({ dataTestId, className, fieldClassName, optionsListClassName, optionClassName, optionGroupClassName, optionsListProps, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, defaultOpen = false, open: openProp, name, id, selected, size = 'm', optionsSize = 'm', error, hint, block, label, labelView, placeholder, fieldProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, OptionsList = OptionsList$1, swipeable, footer, isBottomSheet, bottomSheetProps, }, ref) => {
|
package/modern/Component.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ type FormControlProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
84
84
|
*/
|
|
85
85
|
children?: ReactNode;
|
|
86
86
|
};
|
|
87
|
-
type SelectFieldProps = FormControlProps & Record<string, unknown>;
|
|
87
|
+
type SelectFieldProps = Omit<FormControlProps, 'size'> & Record<string, unknown>;
|
|
88
88
|
type SelectProps = Omit<BaseSelectProps, 'fieldProps'> & {
|
|
89
89
|
/**
|
|
90
90
|
* Пропсы, которые будут прокинуты в компонент поля
|
package/modern/Component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { Arrow } from './components/arrow/Component.js';
|
|
3
|
-
import { B as BaseSelect } from './Component-
|
|
3
|
+
import { B as BaseSelect } from './Component-2a37a356.js';
|
|
4
4
|
import { Field } from './components/field/Component.js';
|
|
5
5
|
import { Optgroup } from './components/optgroup/Component.js';
|
|
6
6
|
import { Option } from './components/option/Component.js';
|
|
@@ -16,11 +16,11 @@ import './utils.js';
|
|
|
16
16
|
import './components/native-select/Component.js';
|
|
17
17
|
import '@alfalab/core-components-form-control/modern';
|
|
18
18
|
import './components/base-select-mobile/checkmark/Component.js';
|
|
19
|
-
import '@alfalab/core-components-badge/modern';
|
|
20
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
21
19
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
22
20
|
import './components/checkmark/Component.js';
|
|
21
|
+
import '@alfalab/core-components-badge/modern';
|
|
23
22
|
import '@alfalab/core-components-checkbox/modern';
|
|
23
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
24
24
|
import '@alfalab/core-components-scrollbar/modern';
|
|
25
25
|
|
|
26
26
|
const Select = forwardRef(({ Arrow: Arrow$1 = Arrow, Field: Field$1 = Field, OptionsList: OptionsList$1 = OptionsList, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, ...restProps }, ref) => (React.createElement(BaseSelect, { ref: ref, Option: Option$1, Field: Field$1, Optgroup: Optgroup$1, OptionsList: OptionsList$1, Arrow: Arrow$1, ...restProps })));
|
|
@@ -3,13 +3,13 @@ import { useMedia } from '@alfalab/hooks';
|
|
|
3
3
|
import { Select } from './Component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
|
-
import './Component-
|
|
7
|
-
import { S as SelectMobile } from './Component-
|
|
6
|
+
import './Component-2a37a356.js';
|
|
7
|
+
import { S as SelectMobile } from './Component-79964ac6.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/modern';
|
|
9
|
-
import '@alfalab/core-components-badge/modern';
|
|
10
|
-
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
11
9
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
10
|
+
import '@alfalab/core-components-badge/modern';
|
|
12
11
|
import '@alfalab/core-components-checkbox/modern';
|
|
12
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
13
13
|
import './components/options-list/Component.js';
|
|
14
14
|
import 'react-virtual';
|
|
15
15
|
import '@alfalab/core-components-scrollbar/modern';
|
|
@@ -30,7 +30,7 @@ import '@alfalab/core-components-modal/modern/mobile';
|
|
|
30
30
|
import './components/base-option/Component.js';
|
|
31
31
|
import './components/base-checkmark/Component.js';
|
|
32
32
|
import '@alfalab/core-components-skeleton/modern';
|
|
33
|
-
import './intersection-observer-
|
|
33
|
+
import './intersection-observer-eebe1d7d.js';
|
|
34
34
|
import '@alfalab/core-components-button/modern';
|
|
35
35
|
import './components/base-select-mobile/options-list/Component.js';
|
|
36
36
|
import '@alfalab/core-components-base-modal/modern';
|
|
@@ -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_uzxwy","open":"select__open_uzxwy"};
|
|
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,19 +1,22 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 11e9r */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-graphic-primary: #0b1f35;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
14
18
|
--arrow-transform: rotate(180deg);
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
19
|
+
} :root {
|
|
17
20
|
--select-arrow-color: var(--color-light-graphic-primary);
|
|
18
21
|
|
|
19
22
|
/* options list */
|
|
@@ -23,15 +26,13 @@
|
|
|
23
26
|
/* checkmark */
|
|
24
27
|
|
|
25
28
|
/* optgroup */
|
|
26
|
-
}
|
|
27
|
-
.select__arrow_1c6c2 {
|
|
29
|
+
} .select__arrow_uzxwy {
|
|
28
30
|
display: block;
|
|
29
31
|
width: 24px;
|
|
30
32
|
height: 24px;
|
|
31
33
|
color: var(--select-arrow-color);
|
|
32
34
|
|
|
33
35
|
transition: transform 0.15s ease-in-out, opacity 0.2s ease;
|
|
34
|
-
}
|
|
35
|
-
.select__open_1c6c2 {
|
|
36
|
+
} .select__open_uzxwy {
|
|
36
37
|
transform: var(--arrow-transform);
|
|
37
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_1evgs","single":"select__single_1evgs","selected":"select__selected_1evgs"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const BaseCheckmark = ({ selected, disabled = false, className, multiple, }) => {
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17s88 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
11
18
|
|
|
12
19
|
/* options list */
|
|
13
20
|
|
|
@@ -16,17 +23,14 @@
|
|
|
16
23
|
/* checkmark */
|
|
17
24
|
|
|
18
25
|
/* optgroup */
|
|
19
|
-
}
|
|
20
|
-
.select__checkmark_wzibi {
|
|
26
|
+
} .select__checkmark_1evgs {
|
|
21
27
|
flex-shrink: 0;
|
|
22
28
|
box-sizing: border-box;
|
|
23
|
-
}
|
|
24
|
-
.select__single_wzibi {
|
|
29
|
+
} .select__single_1evgs {
|
|
25
30
|
display: flex;
|
|
26
31
|
align-items: center;
|
|
27
32
|
justify-content: center;
|
|
28
33
|
opacity: 0
|
|
29
|
-
}
|
|
30
|
-
.select__single_wzibi.select__selected_wzibi {
|
|
34
|
+
} .select__single_1evgs.select__selected_1evgs {
|
|
31
35
|
opacity: 1;
|
|
32
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_6j6wx","disabled":"select__disabled_6j6wx","checkmarkBefore":"select__checkmarkBefore_6j6wx","mobile":"select__mobile_6j6wx","checkmarkAfter":"select__checkmarkAfter_6j6wx","textContent":"select__textContent_6j6wx","selected":"select__selected_6j6wx","highlighted":"select__highlighted_6j6wx","content":"select__content_6j6wx"};
|
|
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, }) => {
|