@alfalab/core-components-select 14.3.3 → 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-dbfd2710.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-683d2ea2.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-ebd3b536.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 +12 -15
- 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/send-stats.js +0 -82
- /package/{Component-dbfd2710.d.ts → Component-1e06de61.d.ts} +0 -0
- /package/esm/{Component-683d2ea2.d.ts → Component-16af9d1e.d.ts} +0 -0
- /package/esm/{getDataTestId-a2156c69.d.ts → getDataTestId-1a678b16.d.ts} +0 -0
- /package/esm/{getDataTestId-a2156c69.js → getDataTestId-1a678b16.js} +0 -0
- /package/esm/{intersection-observer-5d00ff89.d.ts → intersection-observer-4e5bb99c.d.ts} +0 -0
- /package/esm/{intersection-observer-5d00ff89.js → intersection-observer-4e5bb99c.js} +0 -0
- /package/{getDataTestId-a22df8fc.d.ts → getDataTestId-3f974970.d.ts} +0 -0
- /package/{getDataTestId-a22df8fc.js → getDataTestId-3f974970.js} +0 -0
- /package/{intersection-observer-b8830671.d.ts → intersection-observer-411362a8.d.ts} +0 -0
- /package/{intersection-observer-b8830671.js → intersection-observer-411362a8.js} +0 -0
- /package/modern/{Component-ebd3b536.d.ts → Component-5c16a908.d.ts} +0 -0
- /package/modern/{getDataTestId-0b4414ce.d.ts → getDataTestId-c17bfb0c.d.ts} +0 -0
- /package/modern/{getDataTestId-0b4414ce.js → getDataTestId-c17bfb0c.js} +0 -0
- /package/modern/{intersection-observer-5d00ff89.d.ts → intersection-observer-4e5bb99c.d.ts} +0 -0
- /package/modern/{intersection-observer-5d00ff89.js → intersection-observer-4e5bb99c.js} +0 -0
|
@@ -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: '';
|
|
@@ -8,7 +8,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
|
|
|
8
8
|
import { useVisibleOptions, isGroup } from '../../utils.js';
|
|
9
9
|
import { Optgroup } from '../optgroup/Component.js';
|
|
10
10
|
|
|
11
|
-
var styles = {"optionsList":"
|
|
11
|
+
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"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
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
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'tslib';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { S as SelectMobile } from '../../Component-
|
|
3
|
+
export { S as SelectMobile } from '../../Component-16af9d1e.js';
|
|
4
4
|
import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
5
5
|
import '../arrow/Component.js';
|
|
6
6
|
import '../base-select-mobile/Component.js';
|
|
@@ -18,7 +18,7 @@ import 'classnames';
|
|
|
18
18
|
import 'downshift';
|
|
19
19
|
import '@alfalab/core-components-popover/esm';
|
|
20
20
|
import '@alfalab/hooks';
|
|
21
|
-
import '../../getDataTestId-
|
|
21
|
+
import '../../getDataTestId-1a678b16.js';
|
|
22
22
|
import '../../utils.js';
|
|
23
23
|
import '../native-select/Component.js';
|
|
24
24
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -32,7 +32,7 @@ import '../checkmark-mobile/Component.js';
|
|
|
32
32
|
import '@alfalab/core-components-scrollbar/esm';
|
|
33
33
|
import '../../consts.js';
|
|
34
34
|
import '@alfalab/core-components-skeleton/esm';
|
|
35
|
-
import '../../intersection-observer-
|
|
35
|
+
import '../../intersection-observer-4e5bb99c.js';
|
|
36
36
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
37
37
|
import '@alfalab/core-components-button/esm';
|
|
38
38
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-16af9d1e";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SelectMobile } from '../../Component-
|
|
1
|
+
export { S as SelectMobile } from '../../Component-16af9d1e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../Component.js';
|
|
@@ -11,7 +11,7 @@ import '@juggle/resize-observer';
|
|
|
11
11
|
import 'downshift';
|
|
12
12
|
import '@alfalab/core-components-popover/esm';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
-
import '../../getDataTestId-
|
|
14
|
+
import '../../getDataTestId-1a678b16.js';
|
|
15
15
|
import '../../utils.js';
|
|
16
16
|
import '../native-select/Component.js';
|
|
17
17
|
import '../field/Component.js';
|
|
@@ -37,5 +37,5 @@ import '@alfalab/core-components-button/esm';
|
|
|
37
37
|
import '../virtual-options-list/Component.js';
|
|
38
38
|
import 'react-virtual';
|
|
39
39
|
import '@alfalab/core-components-skeleton/esm';
|
|
40
|
-
import '../../intersection-observer-
|
|
40
|
+
import '../../intersection-observer-4e5bb99c.js';
|
|
41
41
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'tslib';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { a as SelectModalMobile } from '../../Component-
|
|
3
|
+
export { a as SelectModalMobile } from '../../Component-16af9d1e.js';
|
|
4
4
|
import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
5
5
|
import '../arrow/Component.js';
|
|
6
6
|
import '../base-select-mobile/Component.js';
|
|
@@ -18,7 +18,7 @@ import 'classnames';
|
|
|
18
18
|
import 'downshift';
|
|
19
19
|
import '@alfalab/core-components-popover/esm';
|
|
20
20
|
import '@alfalab/hooks';
|
|
21
|
-
import '../../getDataTestId-
|
|
21
|
+
import '../../getDataTestId-1a678b16.js';
|
|
22
22
|
import '../../utils.js';
|
|
23
23
|
import '../native-select/Component.js';
|
|
24
24
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -32,7 +32,7 @@ import '../checkmark-mobile/Component.js';
|
|
|
32
32
|
import '@alfalab/core-components-scrollbar/esm';
|
|
33
33
|
import '../../consts.js';
|
|
34
34
|
import '@alfalab/core-components-skeleton/esm';
|
|
35
|
-
import '../../intersection-observer-
|
|
35
|
+
import '../../intersection-observer-4e5bb99c.js';
|
|
36
36
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
37
37
|
import '@alfalab/core-components-button/esm';
|
|
38
38
|
import '@alfalab/core-components-bottom-sheet/esm';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-16af9d1e";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as SelectModalMobile } from '../../Component-
|
|
1
|
+
export { a as SelectModalMobile } from '../../Component-16af9d1e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../Component.js';
|
|
@@ -11,7 +11,7 @@ import '@juggle/resize-observer';
|
|
|
11
11
|
import 'downshift';
|
|
12
12
|
import '@alfalab/core-components-popover/esm';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
-
import '../../getDataTestId-
|
|
14
|
+
import '../../getDataTestId-1a678b16.js';
|
|
15
15
|
import '../../utils.js';
|
|
16
16
|
import '../native-select/Component.js';
|
|
17
17
|
import '../field/Component.js';
|
|
@@ -37,5 +37,5 @@ import '@alfalab/core-components-button/esm';
|
|
|
37
37
|
import '../virtual-options-list/Component.js';
|
|
38
38
|
import 'react-virtual';
|
|
39
39
|
import '@alfalab/core-components-skeleton/esm';
|
|
40
|
-
import '../../intersection-observer-
|
|
40
|
+
import '../../intersection-observer-4e5bb99c.js';
|
|
41
41
|
import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
@@ -9,7 +9,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
|
|
|
9
9
|
import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
|
|
10
10
|
import { Optgroup } from '../optgroup/Component.js';
|
|
11
11
|
|
|
12
|
-
var styles = {"virtualOptionsList":"
|
|
12
|
+
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"};
|
|
13
13
|
require('./index.css')
|
|
14
14
|
|
|
15
15
|
var VirtualOptionsList = 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
|
}
|
package/esm/index-3885b0d7.d.ts
CHANGED
package/esm/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>>;
|
package/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Select } from './Component.js';
|
|
2
2
|
export { Arrow } from './components/arrow/Component.js';
|
|
3
3
|
export { BaseSelect } from './components/base-select/Component.js';
|
|
4
|
-
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-
|
|
4
|
+
export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-16af9d1e.js';
|
|
5
5
|
export { Field } from './components/field/Component.js';
|
|
6
6
|
export { Optgroup } from './components/optgroup/Component.js';
|
|
7
7
|
export { Option } from './components/option/Component.js';
|
|
@@ -20,7 +20,7 @@ import '@juggle/resize-observer';
|
|
|
20
20
|
import 'downshift';
|
|
21
21
|
import '@alfalab/core-components-popover/esm';
|
|
22
22
|
import '@alfalab/hooks';
|
|
23
|
-
import './getDataTestId-
|
|
23
|
+
import './getDataTestId-1a678b16.js';
|
|
24
24
|
import './components/native-select/Component.js';
|
|
25
25
|
import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
26
26
|
import '@alfalab/core-components-checkbox/esm';
|
|
@@ -35,7 +35,7 @@ import '@alfalab/core-components-badge/esm';
|
|
|
35
35
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
36
36
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
37
37
|
import '@alfalab/core-components-skeleton/esm';
|
|
38
|
-
import './intersection-observer-
|
|
38
|
+
import './intersection-observer-4e5bb99c.js';
|
|
39
39
|
import './consts.js';
|
|
40
40
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
41
41
|
import './components/checkmark/Component.js';
|
package/esm/mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SelectMobile, a as SelectModalMobile } from './Component-
|
|
1
|
+
export { S as SelectMobile, a as SelectModalMobile } from './Component-16af9d1e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './Component.js';
|
|
@@ -11,7 +11,7 @@ import '@juggle/resize-observer';
|
|
|
11
11
|
import 'downshift';
|
|
12
12
|
import '@alfalab/core-components-popover/esm';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
-
import './getDataTestId-
|
|
14
|
+
import './getDataTestId-1a678b16.js';
|
|
15
15
|
import './utils.js';
|
|
16
16
|
import './components/native-select/Component.js';
|
|
17
17
|
import './components/field/Component.js';
|
|
@@ -37,5 +37,5 @@ import '@alfalab/core-components-button/esm';
|
|
|
37
37
|
import './components/virtual-options-list/Component.js';
|
|
38
38
|
import 'react-virtual';
|
|
39
39
|
import '@alfalab/core-components-skeleton/esm';
|
|
40
|
-
import './intersection-observer-
|
|
40
|
+
import './intersection-observer-4e5bb99c.js';
|
|
41
41
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
package/esm/presets/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
|
|
2
2
|
export { useLazyLoading } from './useLazyLoading/hook.js';
|
|
3
|
-
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-
|
|
3
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-16af9d1e.js';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@alfalab/core-components-skeleton/esm';
|
|
@@ -12,7 +12,7 @@ import '@alfalab/core-components-checkbox/esm';
|
|
|
12
12
|
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
13
13
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
14
14
|
import '../components/checkmark-mobile/Component.js';
|
|
15
|
-
import '../intersection-observer-
|
|
15
|
+
import '../intersection-observer-4e5bb99c.js';
|
|
16
16
|
import '../Component.js';
|
|
17
17
|
import '../components/arrow/Component.js';
|
|
18
18
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -22,7 +22,7 @@ import '@juggle/resize-observer';
|
|
|
22
22
|
import 'downshift';
|
|
23
23
|
import '@alfalab/core-components-popover/esm';
|
|
24
24
|
import '@alfalab/hooks';
|
|
25
|
-
import '../getDataTestId-
|
|
25
|
+
import '../getDataTestId-1a678b16.js';
|
|
26
26
|
import '../utils.js';
|
|
27
27
|
import '../components/native-select/Component.js';
|
|
28
28
|
import '../components/field/Component.js';
|
|
@@ -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>;
|
|
@@ -2,7 +2,7 @@ import { __spreadArray, __assign } from 'tslib';
|
|
|
2
2
|
import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
|
|
3
3
|
import { Skeleton } from '@alfalab/core-components-skeleton/esm';
|
|
4
4
|
import { Option } from '../../components/option/Component.js';
|
|
5
|
-
import '../../intersection-observer-
|
|
5
|
+
import '../../intersection-observer-4e5bb99c.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../components/checkmark/Component.js';
|
|
8
8
|
import '@alfalab/core-components-badge/esm';
|
|
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
|
11
11
|
import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
12
12
|
import '../../components/checkmark-mobile/Component.js';
|
|
13
13
|
|
|
14
|
-
var styles = {"skeleton":"
|
|
14
|
+
var styles = {"skeleton":"select__skeleton_p4eop"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var DEBOUNCE_TIMEOUT = 300;
|
|
@@ -4,7 +4,7 @@ import '../../Component.js';
|
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
6
|
import '../../components/base-select/Component.js';
|
|
7
|
-
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-
|
|
7
|
+
export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-16af9d1e.js';
|
|
8
8
|
import '@alfalab/core-components-form-control/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../../utils.js';
|
|
@@ -15,7 +15,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
|
|
|
15
15
|
import '../../components/options-list/Component.js';
|
|
16
16
|
import '../../components/virtual-options-list/Component.js';
|
|
17
17
|
import '@alfalab/core-components-skeleton/esm';
|
|
18
|
-
import '../../intersection-observer-
|
|
18
|
+
import '../../intersection-observer-4e5bb99c.js';
|
|
19
19
|
import '../../components/arrow/Component.js';
|
|
20
20
|
import '../../components/field/Component.js';
|
|
21
21
|
import '../../components/optgroup/Component.js';
|
|
@@ -26,7 +26,7 @@ import 'react-merge-refs';
|
|
|
26
26
|
import '@juggle/resize-observer';
|
|
27
27
|
import 'downshift';
|
|
28
28
|
import '@alfalab/core-components-popover/esm';
|
|
29
|
-
import '../../getDataTestId-
|
|
29
|
+
import '../../getDataTestId-1a678b16.js';
|
|
30
30
|
import '../../components/native-select/Component.js';
|
|
31
31
|
import '@alfalab/core-components-scrollbar/esm';
|
|
32
32
|
import '../../consts.js';
|
|
@@ -2,7 +2,7 @@ import 'tslib';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../../components/options-list/Component.js';
|
|
4
4
|
import '../../../consts.js';
|
|
5
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
5
|
+
export { O as OptionsListWithApply } from '../../../Component-16af9d1e.js';
|
|
6
6
|
import './footer/Component.js';
|
|
7
7
|
import './header/Component.js';
|
|
8
8
|
import 'react-merge-refs';
|
|
@@ -18,7 +18,7 @@ import '../../../components/base-select/Component.js';
|
|
|
18
18
|
import '@juggle/resize-observer';
|
|
19
19
|
import 'downshift';
|
|
20
20
|
import '@alfalab/core-components-popover/esm';
|
|
21
|
-
import '../../../getDataTestId-
|
|
21
|
+
import '../../../getDataTestId-1a678b16.js';
|
|
22
22
|
import '../../../components/native-select/Component.js';
|
|
23
23
|
import '../../../components/field/Component.js';
|
|
24
24
|
import '@alfalab/core-components-form-control/esm';
|
|
@@ -38,4 +38,4 @@ import '@alfalab/core-components-button/esm';
|
|
|
38
38
|
import '../../../components/virtual-options-list/Component.js';
|
|
39
39
|
import 'react-virtual';
|
|
40
40
|
import '@alfalab/core-components-skeleton/esm';
|
|
41
|
-
import '../../../intersection-observer-
|
|
41
|
+
import '../../../intersection-observer-4e5bb99c.js';
|
|
@@ -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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dcpbq */
|
|
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_7y8sa {
|
|
21
21
|
background-color: var(--color-light-bg-primary);
|
|
22
22
|
padding: var(--gap-s);
|
|
23
23
|
outline: none
|
|
24
|
-
} .
|
|
24
|
+
} .select__footer_7y8sa > * + * {
|
|
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/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"desktop":"
|
|
5
|
+
var styles = {"desktop":"select__desktop_gopb8","mobile":"select__mobile_gopb8"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: i23ug */
|
|
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_gopb8 {
|
|
20
20
|
padding: var(--gap-s);
|
|
21
|
-
} .
|
|
21
|
+
} .select__mobile_gopb8 {
|
|
22
22
|
padding: var(--gap-s) var(--gap-xs);
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../../Component-
|
|
1
|
+
export * from "../../../Component-16af9d1e";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OptionsListWithApply } from '../../../Component-
|
|
1
|
+
export { O as OptionsListWithApply } from '../../../Component-16af9d1e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../../Component.js';
|
|
@@ -11,7 +11,7 @@ import '@juggle/resize-observer';
|
|
|
11
11
|
import 'downshift';
|
|
12
12
|
import '@alfalab/core-components-popover/esm';
|
|
13
13
|
import '@alfalab/hooks';
|
|
14
|
-
import '../../../getDataTestId-
|
|
14
|
+
import '../../../getDataTestId-1a678b16.js';
|
|
15
15
|
import '../../../utils.js';
|
|
16
16
|
import '../../../components/native-select/Component.js';
|
|
17
17
|
import '../../../components/field/Component.js';
|
|
@@ -37,5 +37,5 @@ import '@alfalab/core-components-button/esm';
|
|
|
37
37
|
import '../../../components/virtual-options-list/Component.js';
|
|
38
38
|
import 'react-virtual';
|
|
39
39
|
import '@alfalab/core-components-skeleton/esm';
|
|
40
|
-
import '../../../intersection-observer-
|
|
40
|
+
import '../../../intersection-observer-4e5bb99c.js';
|
|
41
41
|
import './footer/Component.js';
|
|
@@ -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 };
|