@alfalab/core-components-select 14.3.4 → 14.3.5
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-01f08370.js → Component-1e06de61.js} +1 -1
- package/Component.js +1 -1
- package/Component.responsive.js +3 -3
- package/components/arrow/Component.d.ts +2 -1
- package/components/arrow/Component.js +1 -1
- package/components/arrow/index.css +3 -3
- package/components/base-checkmark/Component.d.ts +2 -1
- package/components/base-checkmark/Component.js +1 -1
- package/components/base-checkmark/index.css +4 -4
- package/components/base-option/Component.js +1 -1
- package/components/base-option/index.css +13 -13
- package/components/base-select/Component.js +2 -2
- package/components/base-select/index.css +8 -8
- package/components/base-select/index.js +1 -1
- package/components/base-select-mobile/Component.js +2 -2
- package/components/base-select-mobile/footer/Component.d.ts +2 -1
- 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.d.ts +2 -1
- package/components/checkmark/Component.js +1 -1
- package/components/checkmark/index.css +10 -10
- package/components/checkmark-mobile/Component.d.ts +2 -1
- package/components/checkmark-mobile/Component.js +1 -1
- package/components/checkmark-mobile/index.css +6 -6
- package/components/field/Component.d.ts +2 -1
- package/components/field/Component.js +1 -1
- package/components/field/index.css +9 -9
- package/components/index.js +3 -3
- package/components/optgroup/Component.d.ts +2 -1
- package/components/optgroup/Component.js +1 -1
- package/components/optgroup/index.css +6 -6
- package/components/option/Component.js +1 -1
- package/components/option/index.css +20 -20
- package/components/options-list/Component.js +1 -1
- package/components/options-list/index.css +9 -9
- package/components/select-mobile/Component.js +3 -3
- package/components/select-mobile/index.d.ts +1 -1
- package/components/select-mobile/index.js +3 -3
- package/components/select-modal-mobile/Component.js +3 -3
- package/components/select-modal-mobile/index.d.ts +1 -1
- package/components/select-modal-mobile/index.js +3 -3
- package/components/virtual-options-list/Component.js +1 -1
- package/components/virtual-options-list/index.css +15 -15
- package/cssm/components/arrow/Component.d.ts +2 -1
- package/cssm/components/base-checkmark/Component.d.ts +2 -1
- package/cssm/components/base-select-mobile/footer/Component.d.ts +2 -1
- package/cssm/components/checkmark/Component.d.ts +2 -1
- package/cssm/components/checkmark-mobile/Component.d.ts +2 -1
- package/cssm/components/field/Component.d.ts +2 -1
- package/cssm/components/optgroup/Component.d.ts +2 -1
- package/cssm/index-ebda875c.d.ts +1 -1
- package/cssm/presets/useLazyLoading/hook.d.ts +1 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
- package/cssm/presets/useSelectWithLoading/hook.d.ts +1 -1
- package/esm/{Component-5e2bc757.js → Component-16af9d1e.js} +1 -1
- package/esm/Component.js +1 -1
- package/esm/Component.responsive.js +3 -3
- package/esm/components/arrow/Component.d.ts +2 -1
- package/esm/components/arrow/Component.js +1 -1
- package/esm/components/arrow/index.css +3 -3
- package/esm/components/base-checkmark/Component.d.ts +2 -1
- package/esm/components/base-checkmark/Component.js +1 -1
- package/esm/components/base-checkmark/index.css +4 -4
- package/esm/components/base-option/Component.js +1 -1
- package/esm/components/base-option/index.css +13 -13
- package/esm/components/base-select/Component.js +2 -2
- package/esm/components/base-select/index.css +8 -8
- package/esm/components/base-select/index.js +1 -1
- package/esm/components/base-select-mobile/Component.js +2 -2
- package/esm/components/base-select-mobile/footer/Component.d.ts +2 -1
- 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.d.ts +2 -1
- package/esm/components/checkmark/Component.js +1 -1
- package/esm/components/checkmark/index.css +10 -10
- package/esm/components/checkmark-mobile/Component.d.ts +2 -1
- package/esm/components/checkmark-mobile/Component.js +1 -1
- package/esm/components/checkmark-mobile/index.css +6 -6
- package/esm/components/field/Component.d.ts +2 -1
- package/esm/components/field/Component.js +1 -1
- package/esm/components/field/index.css +9 -9
- package/esm/components/index.js +3 -3
- package/esm/components/optgroup/Component.d.ts +2 -1
- package/esm/components/optgroup/Component.js +1 -1
- package/esm/components/optgroup/index.css +6 -6
- package/esm/components/option/Component.js +1 -1
- package/esm/components/option/index.css +20 -20
- package/esm/components/options-list/Component.js +1 -1
- package/esm/components/options-list/index.css +9 -9
- package/esm/components/select-mobile/Component.js +3 -3
- package/esm/components/select-mobile/index.d.ts +1 -1
- package/esm/components/select-mobile/index.js +3 -3
- package/esm/components/select-modal-mobile/Component.js +3 -3
- package/esm/components/select-modal-mobile/index.d.ts +1 -1
- package/esm/components/select-modal-mobile/index.js +3 -3
- package/esm/components/virtual-options-list/Component.js +1 -1
- package/esm/components/virtual-options-list/index.css +15 -15
- package/esm/index-3885b0d7.d.ts +1 -1
- package/esm/index-ebda875c.d.ts +1 -1
- package/esm/index.js +3 -3
- package/esm/mobile.js +3 -3
- package/esm/presets/index.js +3 -3
- package/esm/presets/useLazyLoading/hook.d.ts +1 -1
- package/esm/presets/useLazyLoading/hook.js +2 -2
- package/esm/presets/useLazyLoading/index.css +2 -2
- package/esm/presets/useSelectWithApply/hook.js +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -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 +3 -3
- package/esm/presets/useSelectWithLoading/hook.d.ts +1 -1
- package/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +2 -2
- package/esm/responsive.js +3 -3
- package/index-3885b0d7.d.ts +1 -1
- package/index-ebda875c.d.ts +1 -1
- package/index.js +3 -3
- package/mobile.js +3 -3
- package/modern/{Component-ecb2a41a.js → Component-5c16a908.js} +1 -1
- package/modern/Component.js +1 -1
- package/modern/Component.responsive.js +3 -3
- package/modern/components/arrow/Component.d.ts +2 -1
- package/modern/components/arrow/Component.js +1 -1
- package/modern/components/arrow/index.css +3 -3
- package/modern/components/base-checkmark/Component.d.ts +2 -1
- package/modern/components/base-checkmark/Component.js +1 -1
- package/modern/components/base-checkmark/index.css +4 -4
- package/modern/components/base-option/Component.js +1 -1
- package/modern/components/base-option/index.css +13 -13
- package/modern/components/base-select/Component.js +2 -2
- package/modern/components/base-select/index.css +8 -8
- package/modern/components/base-select/index.js +1 -1
- package/modern/components/base-select-mobile/Component.js +2 -2
- package/modern/components/base-select-mobile/footer/Component.d.ts +2 -1
- 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.d.ts +2 -1
- package/modern/components/checkmark/Component.js +1 -1
- package/modern/components/checkmark/index.css +10 -10
- package/modern/components/checkmark-mobile/Component.d.ts +2 -1
- package/modern/components/checkmark-mobile/Component.js +1 -1
- package/modern/components/checkmark-mobile/index.css +6 -6
- package/modern/components/field/Component.d.ts +2 -1
- package/modern/components/field/Component.js +1 -1
- package/modern/components/field/index.css +9 -9
- package/modern/components/index.js +3 -3
- package/modern/components/optgroup/Component.d.ts +2 -1
- package/modern/components/optgroup/Component.js +1 -1
- package/modern/components/optgroup/index.css +6 -6
- package/modern/components/option/Component.js +1 -1
- package/modern/components/option/index.css +20 -20
- package/modern/components/options-list/Component.js +1 -1
- package/modern/components/options-list/index.css +9 -9
- package/modern/components/select-mobile/Component.js +3 -3
- package/modern/components/select-mobile/index.d.ts +1 -1
- package/modern/components/select-mobile/index.js +3 -3
- package/modern/components/select-modal-mobile/Component.js +3 -3
- package/modern/components/select-modal-mobile/index.d.ts +1 -1
- package/modern/components/select-modal-mobile/index.js +3 -3
- package/modern/components/virtual-options-list/Component.js +1 -1
- package/modern/components/virtual-options-list/index.css +15 -15
- package/modern/index-3885b0d7.d.ts +1 -1
- package/modern/index-ebda875c.d.ts +1 -1
- package/modern/index.js +3 -3
- package/modern/mobile.js +3 -3
- package/modern/presets/index.js +3 -3
- package/modern/presets/useLazyLoading/hook.d.ts +1 -1
- package/modern/presets/useLazyLoading/hook.js +2 -2
- package/modern/presets/useLazyLoading/index.css +2 -2
- package/modern/presets/useSelectWithApply/hook.js +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -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 +3 -3
- package/modern/presets/useSelectWithLoading/hook.d.ts +1 -1
- package/modern/presets/useSelectWithLoading/hook.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +2 -2
- package/modern/responsive.js +3 -3
- package/package.json +2 -2
- package/presets/index.js +3 -3
- package/presets/useLazyLoading/hook.d.ts +1 -1
- package/presets/useLazyLoading/hook.js +2 -2
- package/presets/useLazyLoading/index.css +2 -2
- package/presets/useSelectWithApply/hook.js +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -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 +3 -3
- package/presets/useSelectWithLoading/hook.d.ts +1 -1
- package/presets/useSelectWithLoading/hook.js +1 -1
- package/presets/useSelectWithLoading/index.css +2 -2
- package/responsive.js +3 -3
- /package/{Component-01f08370.d.ts → Component-1e06de61.d.ts} +0 -0
- /package/esm/{Component-5e2bc757.d.ts → Component-16af9d1e.d.ts} +0 -0
- /package/esm/{getDataTestId-fc7d4653.d.ts → getDataTestId-1a678b16.d.ts} +0 -0
- /package/esm/{getDataTestId-fc7d4653.js → getDataTestId-1a678b16.js} +0 -0
- /package/esm/{intersection-observer-6768cbd0.d.ts → intersection-observer-4e5bb99c.d.ts} +0 -0
- /package/esm/{intersection-observer-6768cbd0.js → intersection-observer-4e5bb99c.js} +0 -0
- /package/{getDataTestId-18fbdb35.d.ts → getDataTestId-3f974970.d.ts} +0 -0
- /package/{getDataTestId-18fbdb35.js → getDataTestId-3f974970.js} +0 -0
- /package/{intersection-observer-0413a170.d.ts → intersection-observer-411362a8.d.ts} +0 -0
- /package/{intersection-observer-0413a170.js → intersection-observer-411362a8.js} +0 -0
- /package/modern/{Component-ecb2a41a.d.ts → Component-5c16a908.d.ts} +0 -0
- /package/modern/{getDataTestId-6120c308.d.ts → getDataTestId-c17bfb0c.d.ts} +0 -0
- /package/modern/{getDataTestId-6120c308.js → getDataTestId-c17bfb0c.js} +0 -0
- /package/modern/{intersection-observer-6768cbd0.d.ts → intersection-observer-4e5bb99c.d.ts} +0 -0
- /package/modern/{intersection-observer-6768cbd0.js → intersection-observer-4e5bb99c.js} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { OptgroupProps } from "../../typings";
|
|
3
|
-
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => JSX.Element;
|
|
4
|
+
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
4
5
|
export { Optgroup };
|
|
@@ -10,7 +10,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
11
11
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
12
12
|
|
|
13
|
-
var styles = {"optgroup":"
|
|
13
|
+
var styles = {"optgroup":"select__optgroup_1ddv1","label":"select__label_1ddv1","l":"select__l_1ddv1","xl":"select__xl_1ddv1"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var Optgroup = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ievdk */
|
|
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_1ddv1 {
|
|
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_1ddv1 + *[role='option']:before {
|
|
48
48
|
display: none;
|
|
49
|
-
} .
|
|
49
|
+
} .select__label_1ddv1 {
|
|
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_1ddv1,
|
|
59
|
+
.select__xl_1ddv1 {
|
|
60
60
|
padding-left: var(--select-optgroup-l-left-padding);
|
|
61
61
|
padding-right: var(--select-optgroup-l-right-padding);
|
|
62
62
|
}
|
|
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"option":"
|
|
20
|
+
var styles = {"option":"select__option_ygii2","disabled":"select__disabled_ygii2","s":"select__s_ygii2","m":"select__m_ygii2","l":"select__l_ygii2","xl":"select__xl_ygii2","selected":"select__selected_ygii2","highlighted":"select__highlighted_ygii2","content":"select__content_ygii2","textContent":"select__textContent_ygii2"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var Option = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qb7sy */
|
|
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_ygii2 {
|
|
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_ygii2:not(.select__disabled_ygii2):active {
|
|
72
72
|
background: var(--select-option-active-background);
|
|
73
73
|
color: var(--select-option-active-color);
|
|
74
|
-
} .
|
|
74
|
+
} .select__option_ygii2: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_ygii2:first-child:before {
|
|
85
85
|
display: none;
|
|
86
|
-
} .
|
|
86
|
+
} .select__s_ygii2 {
|
|
87
87
|
min-height: var(--size-s-height);
|
|
88
|
-
} .
|
|
88
|
+
} .select__m_ygii2 {
|
|
89
89
|
min-height: var(--size-m-height);
|
|
90
|
-
} .
|
|
90
|
+
} .select__l_ygii2 {
|
|
91
91
|
min-height: var(--size-l-height);
|
|
92
|
-
} .
|
|
92
|
+
} .select__xl_ygii2 {
|
|
93
93
|
min-height: var(--size-xl-height);
|
|
94
|
-
} .
|
|
95
|
-
.
|
|
94
|
+
} .select__l_ygii2,
|
|
95
|
+
.select__xl_ygii2 {
|
|
96
96
|
padding-left: var(--select-option-l-left-padding);
|
|
97
97
|
padding-right: var(--select-option-l-right-padding)
|
|
98
|
-
} .
|
|
98
|
+
} .select__l_ygii2:before, .select__xl_ygii2:before {
|
|
99
99
|
left: var(--select-option-l-left-padding);
|
|
100
100
|
right: var(--select-option-l-right-padding);
|
|
101
|
-
} .
|
|
101
|
+
} .select__selected_ygii2 {
|
|
102
102
|
background: var(--select-option-selected-background);
|
|
103
103
|
color: var(--select-option-selected-color);
|
|
104
104
|
cursor: default;
|
|
105
|
-
} .
|
|
105
|
+
} .select__highlighted_ygii2 {
|
|
106
106
|
background: var(--select-option-hover-background);
|
|
107
107
|
color: var(--select-option-hover-color)
|
|
108
|
-
} .
|
|
109
|
-
.
|
|
108
|
+
} .select__highlighted_ygii2:before,
|
|
109
|
+
.select__highlighted_ygii2 + .select__option_ygii2:before {
|
|
110
110
|
opacity: 0;
|
|
111
|
-
} .
|
|
111
|
+
} .select__disabled_ygii2 {
|
|
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_ygii2 {
|
|
116
116
|
overflow: hidden;
|
|
117
117
|
flex: 1;
|
|
118
118
|
text-overflow: ellipsis;
|
|
119
|
-
} .
|
|
119
|
+
} .select__textContent_ygii2 {
|
|
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_ygii2:after {
|
|
124
124
|
min-height: inherit;
|
|
125
125
|
font-size: 0;
|
|
126
126
|
content: '';
|
|
@@ -18,7 +18,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
18
18
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
19
19
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
20
20
|
|
|
21
|
-
var styles = {"optionsList":"
|
|
21
|
+
var styles = {"optionsList":"select__optionsList_mshmf","optionsListHeader":"select__optionsListHeader_mshmf","optionsListFooter":"select__optionsListFooter_mshmf","withBorder":"select__withBorder_mshmf","scrollable":"select__scrollable_mshmf","emptyPlaceholder":"select__emptyPlaceholder_mshmf","l":"select__l_mshmf","xl":"select__xl_mshmf"};
|
|
22
22
|
require('./index.css')
|
|
23
23
|
|
|
24
24
|
var createCounter = function () {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: eqbz4 */
|
|
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_mshmf {
|
|
33
33
|
width: 100%;
|
|
34
34
|
outline: none;
|
|
35
35
|
box-sizing: border-box;
|
|
36
36
|
position: relative;
|
|
37
|
-
} .
|
|
37
|
+
} .select__optionsListHeader_mshmf {
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
border-bottom: 1px solid var(--color-light-border-secondary);
|
|
40
|
-
} .
|
|
40
|
+
} .select__optionsListFooter_mshmf {
|
|
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_mshmf.select__withBorder_mshmf {
|
|
46
46
|
border-top: 1px solid var(--color-light-border-secondary);
|
|
47
|
-
} .
|
|
47
|
+
} .select__scrollable_mshmf {
|
|
48
48
|
overflow: auto;
|
|
49
49
|
width: 100%;
|
|
50
|
-
} .
|
|
50
|
+
} .select__emptyPlaceholder_mshmf {
|
|
51
51
|
padding: var(--gap-m) var(--gap-s);
|
|
52
52
|
color: var(--select-options-list-empty-placeholder-color);
|
|
53
|
-
} .
|
|
54
|
-
.
|
|
53
|
+
} .select__l_mshmf .select__emptyPlaceholder_mshmf,
|
|
54
|
+
.select__xl_mshmf .select__emptyPlaceholder_mshmf {
|
|
55
55
|
padding: var(--gap-xl) var(--gap-m);
|
|
56
56
|
}
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('tslib');
|
|
6
6
|
require('react');
|
|
7
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-
|
|
7
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-1e06de61.js');
|
|
8
8
|
require('../../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
|
|
9
9
|
require('../arrow/Component.js');
|
|
10
10
|
require('../base-select-mobile/Component.js');
|
|
@@ -22,7 +22,7 @@ require('classnames');
|
|
|
22
22
|
require('downshift');
|
|
23
23
|
require('@alfalab/core-components-popover');
|
|
24
24
|
require('@alfalab/hooks');
|
|
25
|
-
require('../../getDataTestId-
|
|
25
|
+
require('../../getDataTestId-3f974970.js');
|
|
26
26
|
require('../../utils.js');
|
|
27
27
|
require('../native-select/Component.js');
|
|
28
28
|
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
@@ -36,7 +36,7 @@ require('../checkmark-mobile/Component.js');
|
|
|
36
36
|
require('@alfalab/core-components-scrollbar');
|
|
37
37
|
require('../../consts.js');
|
|
38
38
|
require('@alfalab/core-components-skeleton');
|
|
39
|
-
require('../../intersection-observer-
|
|
39
|
+
require('../../intersection-observer-411362a8.js');
|
|
40
40
|
require('../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
|
|
41
41
|
require('@alfalab/core-components-button');
|
|
42
42
|
require('@alfalab/core-components-bottom-sheet');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-1e06de61";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-
|
|
5
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-1e06de61.js');
|
|
6
6
|
require('tslib');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../../Component.js');
|
|
@@ -15,7 +15,7 @@ require('@juggle/resize-observer');
|
|
|
15
15
|
require('downshift');
|
|
16
16
|
require('@alfalab/core-components-popover');
|
|
17
17
|
require('@alfalab/hooks');
|
|
18
|
-
require('../../getDataTestId-
|
|
18
|
+
require('../../getDataTestId-3f974970.js');
|
|
19
19
|
require('../../utils.js');
|
|
20
20
|
require('../native-select/Component.js');
|
|
21
21
|
require('../field/Component.js');
|
|
@@ -41,7 +41,7 @@ require('@alfalab/core-components-button');
|
|
|
41
41
|
require('../virtual-options-list/Component.js');
|
|
42
42
|
require('react-virtual');
|
|
43
43
|
require('@alfalab/core-components-skeleton');
|
|
44
|
-
require('../../intersection-observer-
|
|
44
|
+
require('../../intersection-observer-411362a8.js');
|
|
45
45
|
require('../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
|
|
46
46
|
|
|
47
47
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('tslib');
|
|
6
6
|
require('react');
|
|
7
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-
|
|
7
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-1e06de61.js');
|
|
8
8
|
require('../../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
|
|
9
9
|
require('../arrow/Component.js');
|
|
10
10
|
require('../base-select-mobile/Component.js');
|
|
@@ -22,7 +22,7 @@ require('classnames');
|
|
|
22
22
|
require('downshift');
|
|
23
23
|
require('@alfalab/core-components-popover');
|
|
24
24
|
require('@alfalab/hooks');
|
|
25
|
-
require('../../getDataTestId-
|
|
25
|
+
require('../../getDataTestId-3f974970.js');
|
|
26
26
|
require('../../utils.js');
|
|
27
27
|
require('../native-select/Component.js');
|
|
28
28
|
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
@@ -36,7 +36,7 @@ require('../checkmark-mobile/Component.js');
|
|
|
36
36
|
require('@alfalab/core-components-scrollbar');
|
|
37
37
|
require('../../consts.js');
|
|
38
38
|
require('@alfalab/core-components-skeleton');
|
|
39
|
-
require('../../intersection-observer-
|
|
39
|
+
require('../../intersection-observer-411362a8.js');
|
|
40
40
|
require('../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
|
|
41
41
|
require('@alfalab/core-components-button');
|
|
42
42
|
require('@alfalab/core-components-bottom-sheet');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-1e06de61";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-
|
|
5
|
+
var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-1e06de61.js');
|
|
6
6
|
require('tslib');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../../Component.js');
|
|
@@ -15,7 +15,7 @@ require('@juggle/resize-observer');
|
|
|
15
15
|
require('downshift');
|
|
16
16
|
require('@alfalab/core-components-popover');
|
|
17
17
|
require('@alfalab/hooks');
|
|
18
|
-
require('../../getDataTestId-
|
|
18
|
+
require('../../getDataTestId-3f974970.js');
|
|
19
19
|
require('../../utils.js');
|
|
20
20
|
require('../native-select/Component.js');
|
|
21
21
|
require('../field/Component.js');
|
|
@@ -41,7 +41,7 @@ require('@alfalab/core-components-button');
|
|
|
41
41
|
require('../virtual-options-list/Component.js');
|
|
42
42
|
require('react-virtual');
|
|
43
43
|
require('@alfalab/core-components-skeleton');
|
|
44
|
-
require('../../intersection-observer-
|
|
44
|
+
require('../../intersection-observer-411362a8.js');
|
|
45
45
|
require('../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
|
|
46
46
|
|
|
47
47
|
|
|
@@ -19,7 +19,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
19
19
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
20
20
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
21
21
|
|
|
22
|
-
var styles = {"virtualOptionsList":"
|
|
22
|
+
var styles = {"virtualOptionsList":"select__virtualOptionsList_1187v","virtualOptionsListHeader":"select__virtualOptionsListHeader_1187v","virtualOptionsListFooter":"select__virtualOptionsListFooter_1187v","withBorder":"select__withBorder_1187v","scrollable":"select__scrollable_1187v","inner":"select__inner_1187v","virtualRow":"select__virtualRow_1187v","highlighted":"select__highlighted_1187v","emptyPlaceholder":"select__emptyPlaceholder_1187v","l":"select__l_1187v","xl":"select__xl_1187v"};
|
|
23
23
|
require('./index.css')
|
|
24
24
|
|
|
25
25
|
var VirtualOptionsList = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1j93f */
|
|
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_1187v {
|
|
39
39
|
width: 100%;
|
|
40
40
|
outline: none;
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
position: sticky;
|
|
43
|
-
} .
|
|
43
|
+
} .select__virtualOptionsListHeader_1187v {
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
border-bottom: 1px solid var(--color-light-border-secondary);
|
|
46
|
-
} .
|
|
46
|
+
} .select__virtualOptionsListFooter_1187v {
|
|
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_1187v.select__withBorder_1187v {
|
|
52
52
|
border-top: 1px solid var(--color-light-border-secondary);
|
|
53
|
-
} .
|
|
53
|
+
} .select__scrollable_1187v {
|
|
54
54
|
position: relative;
|
|
55
55
|
overflow: auto;
|
|
56
56
|
width: 100%;
|
|
57
|
-
} .
|
|
57
|
+
} .select__inner_1187v {
|
|
58
58
|
position: relative;
|
|
59
59
|
width: 100%;
|
|
60
|
-
} .
|
|
60
|
+
} .select__virtualRow_1187v {
|
|
61
61
|
position: absolute;
|
|
62
62
|
top: 0;
|
|
63
63
|
left: 0;
|
|
64
64
|
width: 100%
|
|
65
|
-
} .
|
|
65
|
+
} .select__virtualRow_1187v: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_1187v:first-child:before {
|
|
76
76
|
display: none;
|
|
77
|
-
} .
|
|
78
|
-
.
|
|
77
|
+
} .select__highlighted_1187v:before,
|
|
78
|
+
.select__highlighted_1187v + .select__virtualRow_1187v:before {
|
|
79
79
|
display: none;
|
|
80
|
-
} .
|
|
80
|
+
} .select__emptyPlaceholder_1187v {
|
|
81
81
|
padding: var(--gap-m) var(--gap-s);
|
|
82
82
|
color: var(--select-options-list-empty-placeholder-color);
|
|
83
|
-
} .
|
|
84
|
-
.
|
|
83
|
+
} .select__l_1187v .select__emptyPlaceholder_1187v,
|
|
84
|
+
.select__xl_1187v .select__emptyPlaceholder_1187v {
|
|
85
85
|
padding: var(--gap-xl) var(--gap-m);
|
|
86
86
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { ArrowProps } from "../../typings";
|
|
3
|
-
declare const Arrow: ({ open, className }: ArrowProps) => JSX.Element;
|
|
4
|
+
declare const Arrow: ({ open, className }: ArrowProps) => React.JSX.Element;
|
|
4
5
|
export { Arrow };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { CheckmarkProps } from "../../typings";
|
|
3
|
-
declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => JSX.Element;
|
|
4
|
+
declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => React.JSX.Element;
|
|
4
5
|
export { BaseCheckmark };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
type FooterProps = {
|
|
3
4
|
handleClear?: () => void;
|
|
4
5
|
handleApply?: () => void;
|
|
5
6
|
showClear?: boolean;
|
|
6
7
|
};
|
|
7
|
-
declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => JSX.Element;
|
|
8
|
+
declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => React.JSX.Element;
|
|
8
9
|
export { FooterProps, Footer };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { CheckmarkProps } from "../../typings";
|
|
3
|
-
declare const Checkmark: ({ selected, disabled, className, multiple, position, }: CheckmarkProps) => JSX.Element;
|
|
4
|
+
declare const Checkmark: ({ selected, disabled, className, multiple, position, }: CheckmarkProps) => React.JSX.Element;
|
|
4
5
|
export { Checkmark };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { CheckmarkProps } from "../../typings";
|
|
3
|
-
declare const Checkmark: ({ selected, className }: CheckmarkProps) => JSX.Element;
|
|
4
|
+
declare const Checkmark: ({ selected, className }: CheckmarkProps) => React.JSX.Element;
|
|
4
5
|
export { Checkmark };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { FormControlProps } from "@alfalab/core-components-form-control";
|
|
3
4
|
import { FieldProps as BaseFieldProps } from "../../typings";
|
|
4
|
-
declare const Field: ({ size, open, multiple, error, hint, disabled, label, labelView, placeholder, selectedMultiple, selected, rightAddons, valueRenderer, setSelectedItems, toggleMenu, Arrow, innerProps, dataTestId, fieldClassName, ...restProps }: BaseFieldProps & FormControlProps) => JSX.Element;
|
|
5
|
+
declare const Field: ({ size, open, multiple, error, hint, disabled, label, labelView, placeholder, selectedMultiple, selected, rightAddons, valueRenderer, setSelectedItems, toggleMenu, Arrow, innerProps, dataTestId, fieldClassName, ...restProps }: BaseFieldProps & FormControlProps) => React.JSX.Element;
|
|
5
6
|
export { Field };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { OptgroupProps } from "../../typings";
|
|
3
|
-
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => JSX.Element;
|
|
4
|
+
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
4
5
|
export { Optgroup };
|
package/cssm/index-ebda875c.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
73
73
|
view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
|
|
74
74
|
size?: "s" | "xs" | "xxs" | undefined;
|
|
75
75
|
className?: string | undefined;
|
|
76
|
-
alignIcon?: "
|
|
76
|
+
alignIcon?: "center" | "right" | "left" | undefined;
|
|
77
77
|
dataTestId?: string | undefined;
|
|
78
78
|
colors?: "default" | "inverted" | undefined;
|
|
79
79
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -28,7 +28,7 @@ type useLazyLoadingProps = {
|
|
|
28
28
|
};
|
|
29
29
|
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option, }: useLazyLoadingProps): {
|
|
30
30
|
optionsProps: {
|
|
31
|
-
Option: (props: OptionProps) => JSX.Element;
|
|
31
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
32
32
|
options: OptionShape[];
|
|
33
33
|
optionsListProps: {
|
|
34
34
|
ref: React.RefObject<HTMLDivElement>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { OptionShape } from "../../../../typings";
|
|
3
4
|
type FooterProps = {
|
|
4
5
|
handleClear?: () => void;
|
|
@@ -6,5 +7,5 @@ type FooterProps = {
|
|
|
6
7
|
showClear?: boolean;
|
|
7
8
|
selectedDraft?: OptionShape[];
|
|
8
9
|
};
|
|
9
|
-
declare const Footer: ({ handleApply, handleClear, showClear, selectedDraft, }: FooterProps) => JSX.Element;
|
|
10
|
+
declare const Footer: ({ handleApply, handleClear, showClear, selectedDraft, }: FooterProps) => React.JSX.Element;
|
|
10
11
|
export { FooterProps, Footer };
|
|
@@ -7,7 +7,7 @@ type useSelectWithLoadingProps = {
|
|
|
7
7
|
Option?: React.FC<OptionProps>;
|
|
8
8
|
};
|
|
9
9
|
declare function useSelectWithLoading({ loading, visibleOptions, Option, }: useSelectWithLoadingProps): {
|
|
10
|
-
Option: (props: OptionProps) => JSX.Element;
|
|
10
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
11
11
|
options: OptionShape[];
|
|
12
12
|
} | null;
|
|
13
13
|
export { useSelectWithLoading };
|
|
@@ -21,7 +21,7 @@ import '@alfalab/core-components-checkbox/esm';
|
|
|
21
21
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
22
22
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
23
23
|
import '@alfalab/core-components-skeleton/esm';
|
|
24
|
-
import './intersection-observer-
|
|
24
|
+
import './intersection-observer-4e5bb99c.js';
|
|
25
25
|
import { DEFAULT_VISIBLE_OPTIONS } from './consts.js';
|
|
26
26
|
import { Footer } from './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
27
27
|
|
package/esm/Component.js
CHANGED
|
@@ -13,7 +13,7 @@ import '@juggle/resize-observer';
|
|
|
13
13
|
import 'downshift';
|
|
14
14
|
import '@alfalab/core-components-popover/esm';
|
|
15
15
|
import '@alfalab/hooks';
|
|
16
|
-
import './getDataTestId-
|
|
16
|
+
import './getDataTestId-1a678b16.js';
|
|
17
17
|
import './utils.js';
|
|
18
18
|
import './components/native-select/Component.js';
|
|
19
19
|
import '@alfalab/core-components-form-control/esm';
|
|
@@ -5,7 +5,7 @@ import { Select } from './Component.js';
|
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
7
7
|
import './components/base-select/Component.js';
|
|
8
|
-
import { S as SelectMobile } from './Component-
|
|
8
|
+
import { S as SelectMobile } from './Component-16af9d1e.js';
|
|
9
9
|
import '@alfalab/core-components-form-control/esm';
|
|
10
10
|
import '@alfalab/core-components-badge/esm';
|
|
11
11
|
import '@alfalab/core-components-checkbox/esm';
|
|
@@ -24,7 +24,7 @@ import 'react-merge-refs';
|
|
|
24
24
|
import '@juggle/resize-observer';
|
|
25
25
|
import 'downshift';
|
|
26
26
|
import '@alfalab/core-components-popover/esm';
|
|
27
|
-
import './getDataTestId-
|
|
27
|
+
import './getDataTestId-1a678b16.js';
|
|
28
28
|
import './components/native-select/Component.js';
|
|
29
29
|
import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
30
30
|
import './components/base-select-mobile/Component.js';
|
|
@@ -34,7 +34,7 @@ import './components/base-select-mobile/footer/Component.js';
|
|
|
34
34
|
import '@alfalab/core-components-base-modal/esm';
|
|
35
35
|
import '@alfalab/core-components-button/esm';
|
|
36
36
|
import '@alfalab/core-components-skeleton/esm';
|
|
37
|
-
import './intersection-observer-
|
|
37
|
+
import './intersection-observer-4e5bb99c.js';
|
|
38
38
|
import './consts.js';
|
|
39
39
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
40
40
|
import '@alfalab/core-components-scrollbar/esm';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { ArrowProps } from "../../typings";
|
|
3
|
-
declare const Arrow: ({ open, className }: ArrowProps) => JSX.Element;
|
|
4
|
+
declare const Arrow: ({ open, className }: ArrowProps) => React.JSX.Element;
|
|
4
5
|
export { Arrow };
|
|
@@ -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
|
-
var styles = {"arrow":"
|
|
5
|
+
var styles = {"arrow":"select__arrow_1suvz","open":"select__open_1suvz"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Arrow = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1lg4q */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
/* checkmark */
|
|
27
27
|
|
|
28
28
|
/* optgroup */
|
|
29
|
-
} .
|
|
29
|
+
} .select__arrow_1suvz {
|
|
30
30
|
display: block;
|
|
31
31
|
width: 24px;
|
|
32
32
|
height: 24px;
|
|
33
33
|
color: var(--select-arrow-color);
|
|
34
34
|
|
|
35
35
|
transition: transform 0.15s ease-in-out, opacity 0.2s ease;
|
|
36
|
-
} .
|
|
36
|
+
} .select__open_1suvz {
|
|
37
37
|
transform: var(--arrow-transform);
|
|
38
38
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { CheckmarkProps } from "../../typings";
|
|
3
|
-
declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => JSX.Element;
|
|
4
|
+
declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => React.JSX.Element;
|
|
4
5
|
export { BaseCheckmark };
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { Checkbox } from '@alfalab/core-components-checkbox/esm';
|
|
4
4
|
import { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
5
5
|
|
|
6
|
-
var styles = {"checkmark":"
|
|
6
|
+
var styles = {"checkmark":"select__checkmark_1b8xb","single":"select__single_1b8xb","selected":"select__selected_1b8xb"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var BaseCheckmark = function (_a) {
|