@alfalab/core-components-select 12.2.1 → 12.3.0

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.
Files changed (195) hide show
  1. package/{Component-821805ea.d.ts → Component-2fb7f04d.d.ts} +0 -0
  2. package/{Component-821805ea.js → Component-2fb7f04d.js} +2 -2
  3. package/{Component-a4355131.d.ts → Component-ad8a75aa.d.ts} +0 -0
  4. package/{Component-a4355131.js → Component-ad8a75aa.js} +5 -5
  5. package/Component.js +2 -2
  6. package/components/arrow/Component.js +1 -1
  7. package/components/arrow/index.css +3 -3
  8. package/components/base-select/Component.js +2 -2
  9. package/components/base-select/index.css +7 -7
  10. package/components/base-select/index.d.ts +1 -1
  11. package/components/base-select/index.js +2 -2
  12. package/components/base-select-mobile/Component.js +4 -4
  13. package/components/base-select-mobile/checkmark/Component.js +1 -1
  14. package/components/base-select-mobile/checkmark/index.css +4 -4
  15. package/components/base-select-mobile/index.css +11 -11
  16. package/components/base-select-mobile/index.d.ts +1 -1
  17. package/components/base-select-mobile/index.js +4 -4
  18. package/components/base-select-mobile/options-list/Component.js +2 -2
  19. package/components/base-select-mobile/options-list/index.css +9 -9
  20. package/components/base-select-mobile/options-list/index.js +1 -1
  21. package/components/checkmark/Component.js +1 -1
  22. package/components/checkmark/index.css +7 -7
  23. package/components/field/Component.js +2 -2
  24. package/components/field/index.css +9 -9
  25. package/components/field/index.js +1 -1
  26. package/components/index.js +4 -4
  27. package/components/native-select/Component.js +1 -1
  28. package/components/native-select/index.js +1 -1
  29. package/components/optgroup/Component.js +1 -1
  30. package/components/optgroup/index.css +6 -6
  31. package/components/option/Component.js +5 -4
  32. package/components/option/index.css +20 -20
  33. package/components/option/index.js +1 -1
  34. package/components/options-list/Component.js +2 -2
  35. package/components/options-list/index.css +6 -6
  36. package/components/options-list/index.js +1 -1
  37. package/components/select-mobile/Component.js +4 -4
  38. package/components/select-mobile/index.d.ts +1 -1
  39. package/components/select-mobile/index.js +4 -4
  40. package/components/select-modal-mobile/Component.js +4 -4
  41. package/components/select-modal-mobile/index.d.ts +1 -1
  42. package/components/select-modal-mobile/index.js +4 -4
  43. package/components/virtual-options-list/Component.js +2 -2
  44. package/components/virtual-options-list/index.css +12 -12
  45. package/components/virtual-options-list/index.js +1 -1
  46. package/cssm/{Component-26c7067e.d.ts → Component-9b425b8b.d.ts} +0 -0
  47. package/cssm/{Component-26c7067e.js → Component-9b425b8b.js} +0 -0
  48. package/cssm/components/base-select-mobile/Component.js +1 -1
  49. package/cssm/components/base-select-mobile/index.d.ts +1 -1
  50. package/cssm/components/base-select-mobile/index.js +1 -1
  51. package/cssm/components/index.js +1 -1
  52. package/cssm/components/option/Component.js +3 -2
  53. package/cssm/components/select-mobile/Component.js +1 -1
  54. package/cssm/components/select-mobile/index.d.ts +1 -1
  55. package/cssm/components/select-mobile/index.js +1 -1
  56. package/cssm/components/select-modal-mobile/Component.js +1 -1
  57. package/cssm/components/select-modal-mobile/index.d.ts +1 -1
  58. package/cssm/components/select-modal-mobile/index.js +1 -1
  59. package/cssm/index.js +1 -1
  60. package/cssm/presets/index.js +1 -1
  61. package/cssm/presets/useSelectWithApply/hook.js +1 -1
  62. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  63. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  64. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  65. package/cssm/typings.d.ts +4 -0
  66. package/esm/{Component-e7c089bb.d.ts → Component-4102856f.d.ts} +0 -0
  67. package/esm/{Component-e7c089bb.js → Component-4102856f.js} +2 -2
  68. package/esm/{Component-12aadf17.d.ts → Component-95926b80.d.ts} +0 -0
  69. package/esm/{Component-12aadf17.js → Component-95926b80.js} +5 -5
  70. package/esm/Component.js +2 -2
  71. package/esm/components/arrow/Component.js +1 -1
  72. package/esm/components/arrow/index.css +3 -3
  73. package/esm/components/base-select/Component.js +2 -2
  74. package/esm/components/base-select/index.css +7 -7
  75. package/esm/components/base-select/index.d.ts +1 -1
  76. package/esm/components/base-select/index.js +2 -2
  77. package/esm/components/base-select-mobile/Component.js +4 -4
  78. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  79. package/esm/components/base-select-mobile/checkmark/index.css +4 -4
  80. package/esm/components/base-select-mobile/index.css +11 -11
  81. package/esm/components/base-select-mobile/index.d.ts +1 -1
  82. package/esm/components/base-select-mobile/index.js +4 -4
  83. package/esm/components/base-select-mobile/options-list/Component.js +2 -2
  84. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  85. package/esm/components/base-select-mobile/options-list/index.js +1 -1
  86. package/esm/components/checkmark/Component.js +1 -1
  87. package/esm/components/checkmark/index.css +7 -7
  88. package/esm/components/field/Component.js +2 -2
  89. package/esm/components/field/index.css +9 -9
  90. package/esm/components/field/index.js +1 -1
  91. package/esm/components/index.js +4 -4
  92. package/esm/components/native-select/Component.js +1 -1
  93. package/esm/components/native-select/index.js +1 -1
  94. package/esm/components/optgroup/Component.js +1 -1
  95. package/esm/components/optgroup/index.css +6 -6
  96. package/esm/components/option/Component.js +5 -4
  97. package/esm/components/option/index.css +20 -20
  98. package/esm/components/option/index.js +1 -1
  99. package/esm/components/options-list/Component.js +2 -2
  100. package/esm/components/options-list/index.css +6 -6
  101. package/esm/components/options-list/index.js +1 -1
  102. package/esm/components/select-mobile/Component.js +4 -4
  103. package/esm/components/select-mobile/index.d.ts +1 -1
  104. package/esm/components/select-mobile/index.js +4 -4
  105. package/esm/components/select-modal-mobile/Component.js +4 -4
  106. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  107. package/esm/components/select-modal-mobile/index.js +4 -4
  108. package/esm/components/virtual-options-list/Component.js +2 -2
  109. package/esm/components/virtual-options-list/index.css +12 -12
  110. package/esm/components/virtual-options-list/index.js +1 -1
  111. package/esm/index.js +4 -4
  112. package/esm/{intersection-observer-42d33a34.d.ts → intersection-observer-c4268d49.d.ts} +0 -0
  113. package/esm/{intersection-observer-42d33a34.js → intersection-observer-c4268d49.js} +0 -0
  114. package/esm/presets/index.js +4 -4
  115. package/esm/presets/useLazyLoading/hook.js +3 -3
  116. package/esm/presets/useLazyLoading/index.css +2 -2
  117. package/esm/presets/useSelectWithApply/hook.js +4 -4
  118. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  119. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  120. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  121. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  122. package/esm/presets/useSelectWithLoading/hook.js +2 -2
  123. package/esm/presets/useSelectWithLoading/index.css +2 -2
  124. package/esm/{tslib.es6-d7499cf0.d.ts → tslib.es6-120a08c2.d.ts} +0 -0
  125. package/esm/{tslib.es6-d7499cf0.js → tslib.es6-120a08c2.js} +0 -0
  126. package/esm/typings.d.ts +4 -0
  127. package/index.js +4 -4
  128. package/{intersection-observer-8b276e6e.d.ts → intersection-observer-56e97e73.d.ts} +0 -0
  129. package/{intersection-observer-8b276e6e.js → intersection-observer-56e97e73.js} +0 -0
  130. package/modern/{Component-d01faeda.d.ts → Component-1e5d5bb2.d.ts} +0 -0
  131. package/modern/{Component-d01faeda.js → Component-1e5d5bb2.js} +4 -4
  132. package/modern/{Component-b300293d.d.ts → Component-cb59e70c.d.ts} +0 -0
  133. package/modern/{Component-b300293d.js → Component-cb59e70c.js} +1 -1
  134. package/modern/Component.js +1 -1
  135. package/modern/components/arrow/Component.js +1 -1
  136. package/modern/components/arrow/index.css +3 -3
  137. package/modern/components/base-select/Component.js +1 -1
  138. package/modern/components/base-select/index.css +7 -7
  139. package/modern/components/base-select/index.d.ts +1 -1
  140. package/modern/components/base-select/index.js +1 -1
  141. package/modern/components/base-select-mobile/Component.js +3 -3
  142. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  143. package/modern/components/base-select-mobile/checkmark/index.css +4 -4
  144. package/modern/components/base-select-mobile/index.css +11 -11
  145. package/modern/components/base-select-mobile/index.d.ts +1 -1
  146. package/modern/components/base-select-mobile/index.js +3 -3
  147. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  148. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  149. package/modern/components/checkmark/Component.js +1 -1
  150. package/modern/components/checkmark/index.css +7 -7
  151. package/modern/components/field/Component.js +1 -1
  152. package/modern/components/field/index.css +9 -9
  153. package/modern/components/index.js +3 -3
  154. package/modern/components/optgroup/Component.js +1 -1
  155. package/modern/components/optgroup/index.css +6 -6
  156. package/modern/components/option/Component.js +4 -3
  157. package/modern/components/option/index.css +20 -20
  158. package/modern/components/options-list/Component.js +1 -1
  159. package/modern/components/options-list/index.css +6 -6
  160. package/modern/components/select-mobile/Component.js +3 -3
  161. package/modern/components/select-mobile/index.d.ts +1 -1
  162. package/modern/components/select-mobile/index.js +3 -3
  163. package/modern/components/select-modal-mobile/Component.js +3 -3
  164. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  165. package/modern/components/select-modal-mobile/index.js +3 -3
  166. package/modern/components/virtual-options-list/Component.js +1 -1
  167. package/modern/components/virtual-options-list/index.css +12 -12
  168. package/modern/index.js +3 -3
  169. package/modern/{intersection-observer-42d33a34.d.ts → intersection-observer-c4268d49.d.ts} +0 -0
  170. package/modern/{intersection-observer-42d33a34.js → intersection-observer-c4268d49.js} +0 -0
  171. package/modern/presets/index.js +3 -3
  172. package/modern/presets/useLazyLoading/hook.js +2 -2
  173. package/modern/presets/useLazyLoading/index.css +2 -2
  174. package/modern/presets/useSelectWithApply/hook.js +3 -3
  175. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  176. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  177. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  178. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  179. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  180. package/modern/presets/useSelectWithLoading/index.css +2 -2
  181. package/modern/typings.d.ts +4 -0
  182. package/package.json +1 -1
  183. package/presets/index.js +4 -4
  184. package/presets/useLazyLoading/hook.js +3 -3
  185. package/presets/useLazyLoading/index.css +2 -2
  186. package/presets/useSelectWithApply/hook.js +4 -4
  187. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  188. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  189. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  190. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  191. package/presets/useSelectWithLoading/hook.js +2 -2
  192. package/presets/useSelectWithLoading/index.css +2 -2
  193. package/{tslib.es6-08e06dd3.d.ts → tslib.es6-27424d62.d.ts} +0 -0
  194. package/{tslib.es6-08e06dd3.js → tslib.es6-27424d62.js} +0 -0
  195. package/typings.d.ts +4 -0
@@ -1,4 +1,4 @@
1
- /* hash: 1w4qy */
1
+ /* hash: gg39k */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-text-secondary: #546272;
@@ -33,7 +33,7 @@
33
33
  --select-optgroup-l-left-padding: var(--gap-m);
34
34
  --select-optgroup-l-right-padding: var(--gap-m);
35
35
  }
36
- .select__optgroup_1rare {
36
+ .select__optgroup_q7d5o {
37
37
  position: relative;
38
38
  display: flex;
39
39
  align-items: center;
@@ -43,10 +43,10 @@
43
43
  background: var(--select-optgroup-background);
44
44
  min-height: 40px
45
45
  }
46
- .select__optgroup_1rare + *[role='option']:before {
46
+ .select__optgroup_q7d5o + *[role='option']:before {
47
47
  display: none;
48
48
  }
49
- .select__label_1rare {
49
+ .select__label_q7d5o {
50
50
  font-size: 12px;
51
51
  line-height: 16px;
52
52
  font-weight: 500;
@@ -56,8 +56,8 @@
56
56
  display: block;
57
57
  color: var(--select-optgroup-color);
58
58
  }
59
- .select__l_1rare,
60
- .select__xl_1rare {
59
+ .select__l_q7d5o,
60
+ .select__xl_q7d5o {
61
61
  padding-left: var(--select-optgroup-l-left-padding);
62
62
  padding-right: var(--select-optgroup-l-right-padding);
63
63
  }
@@ -1,26 +1,27 @@
1
- import { a as __assign } from '../../tslib.es6-d7499cf0.js';
1
+ import { a as __assign } from '../../tslib.es6-120a08c2.js';
2
2
  import React, { isValidElement } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-checkbox/esm';
5
5
  import { Checkmark } from '../checkmark/Component.js';
6
6
 
7
- var styles = {"option":"select__option_uus26","disabled":"select__disabled_uus26","s":"select__s_uus26","m":"select__m_uus26","l":"select__l_uus26","xl":"select__xl_uus26","selected":"select__selected_uus26","highlighted":"select__highlighted_uus26","content":"select__content_uus26","textContent":"select__textContent_uus26"};
7
+ var styles = {"option":"select__option_1dgrb","disabled":"select__disabled_1dgrb","s":"select__s_1dgrb","m":"select__m_1dgrb","l":"select__l_1dgrb","xl":"select__xl_1dgrb","selected":"select__selected_1dgrb","highlighted":"select__highlighted_1dgrb","content":"select__content_1dgrb","textContent":"select__textContent_1dgrb"};
8
8
  require('./index.css')
9
9
 
10
10
  var Option = function (_a) {
11
11
  var _b, _c;
12
12
  var _d = _a.size, size = _d === void 0 ? 's' : _d, className = _a.className, option = _a.option, children = _a.children, selected = _a.selected, highlighted = _a.highlighted, disabled = _a.disabled, multiple = _a.multiple, _e = _a.Checkmark, Checkmark$1 = _e === void 0 ? Checkmark : _e, innerProps = _a.innerProps, dataTestId = _a.dataTestId;
13
13
  var content = children || option.content || option.key;
14
+ var _f = option.showCheckMark, showCheckMark = _f === void 0 ? true : _f;
14
15
  return (React.createElement("div", __assign({}, innerProps, { className: cn(styles.option, styles[size], className, (_b = {},
15
16
  _b[styles.highlighted] = highlighted,
16
17
  _b[styles.selected] = selected,
17
18
  _b[styles.disabled] = disabled,
18
19
  _b)), "data-test-id": dataTestId }),
19
- Checkmark$1 && (React.createElement(Checkmark$1, { disabled: disabled, selected: selected, multiple: multiple, position: 'before' })),
20
+ Checkmark$1 && showCheckMark && (React.createElement(Checkmark$1, { disabled: disabled, selected: selected, multiple: multiple, position: 'before' })),
20
21
  React.createElement("div", { className: cn(styles.content, (_c = {},
21
22
  _c[styles.textContent] = !isValidElement(content),
22
23
  _c)) }, content),
23
- Checkmark$1 && (React.createElement(Checkmark$1, { disabled: disabled, selected: selected, multiple: multiple, position: 'after' }))));
24
+ Checkmark$1 && showCheckMark && (React.createElement(Checkmark$1, { disabled: disabled, selected: selected, multiple: multiple, position: 'after' }))));
24
25
  };
25
26
 
26
27
  export { Option };
@@ -1,4 +1,4 @@
1
- /* hash: q0sht */
1
+ /* hash: 1n817 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-bg-secondary: #f3f4f5;
@@ -53,7 +53,7 @@
53
53
 
54
54
  /* optgroup */
55
55
  }
56
- .select__option_uus26 {
56
+ .select__option_1dgrb {
57
57
  font-size: 16px;
58
58
  line-height: 20px;
59
59
  font-weight: 400;
@@ -69,11 +69,11 @@
69
69
  position: relative;
70
70
  cursor: pointer
71
71
  }
72
- .select__option_uus26:not(.select__disabled_uus26):active {
72
+ .select__option_1dgrb:not(.select__disabled_1dgrb):active {
73
73
  background: var(--select-option-active-background);
74
74
  color: var(--select-option-active-color);
75
75
  }
76
- .select__option_uus26:before {
76
+ .select__option_1dgrb:before {
77
77
  content: '';
78
78
  position: absolute;
79
79
  left: var(--select-option-left-padding);
@@ -84,60 +84,60 @@
84
84
  display: var(--select-option-divider-display);
85
85
  transition: opacity 0.2s ease;
86
86
  }
87
- .select__option_uus26:first-child:before {
87
+ .select__option_1dgrb:first-child:before {
88
88
  display: none;
89
89
  }
90
- .select__s_uus26 {
90
+ .select__s_1dgrb {
91
91
  min-height: var(--size-s-height);
92
92
  }
93
- .select__m_uus26 {
93
+ .select__m_1dgrb {
94
94
  min-height: var(--size-m-height);
95
95
  }
96
- .select__l_uus26 {
96
+ .select__l_1dgrb {
97
97
  min-height: var(--size-l-height);
98
98
  }
99
- .select__xl_uus26 {
99
+ .select__xl_1dgrb {
100
100
  min-height: var(--size-xl-height);
101
101
  }
102
- .select__l_uus26,
103
- .select__xl_uus26 {
102
+ .select__l_1dgrb,
103
+ .select__xl_1dgrb {
104
104
  padding-left: var(--select-option-l-left-padding);
105
105
  padding-right: var(--select-option-l-right-padding)
106
106
  }
107
- .select__l_uus26:before, .select__xl_uus26:before {
107
+ .select__l_1dgrb:before, .select__xl_1dgrb:before {
108
108
  left: var(--select-option-l-left-padding);
109
109
  right: var(--select-option-l-right-padding);
110
110
  }
111
- .select__selected_uus26 {
111
+ .select__selected_1dgrb {
112
112
  background: var(--select-option-selected-background);
113
113
  color: var(--select-option-selected-color);
114
114
  cursor: default;
115
115
  }
116
- .select__highlighted_uus26 {
116
+ .select__highlighted_1dgrb {
117
117
  background: var(--select-option-hover-background);
118
118
  color: var(--select-option-hover-color)
119
119
  }
120
- .select__highlighted_uus26:before,
121
- .select__highlighted_uus26 + .select__option_uus26:before {
120
+ .select__highlighted_1dgrb:before,
121
+ .select__highlighted_1dgrb + .select__option_1dgrb:before {
122
122
  opacity: 0;
123
123
  }
124
- .select__disabled_uus26 {
124
+ .select__disabled_1dgrb {
125
125
  cursor: var(--disabled-cursor);
126
126
  background: var(--select-option-disabled-background);
127
127
  color: var(--select-option-disabled-color);
128
128
  }
129
- .select__content_uus26 {
129
+ .select__content_1dgrb {
130
130
  overflow: hidden;
131
131
  flex: 1;
132
132
  text-overflow: ellipsis;
133
133
  }
134
- .select__textContent_uus26 {
134
+ .select__textContent_1dgrb {
135
135
  padding-top: var(--gap-s);
136
136
  padding-bottom: var(--gap-s);
137
137
  }
138
138
  /* IE min-height fix */
139
139
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
140
- .select__option_uus26:after {
140
+ .select__option_1dgrb:after {
141
141
  min-height: inherit;
142
142
  font-size: 0;
143
143
  content: '';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-checkbox/esm';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-d7499cf0.js';
1
+ import { a as __assign } from '../../tslib.es6-120a08c2.js';
2
2
  import React, { forwardRef, useCallback, useRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { useMedia } from '@alfalab/hooks';
@@ -7,7 +7,7 @@ import mergeRefs from 'react-merge-refs';
7
7
  import { Scrollbar } from '@alfalab/core-components-scrollbar/esm';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- var styles = {"optionsList":"select__optionsList_135cf","scrollable":"select__scrollable_135cf","emptyPlaceholder":"select__emptyPlaceholder_135cf","l":"select__l_135cf","xl":"select__xl_135cf"};
10
+ var styles = {"optionsList":"select__optionsList_57mm7","scrollable":"select__scrollable_57mm7","emptyPlaceholder":"select__emptyPlaceholder_57mm7","l":"select__l_57mm7","xl":"select__xl_57mm7"};
11
11
  require('./index.css')
12
12
 
13
13
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 1dsbk */
1
+ /* hash: ufv83 */
2
2
  :root {
3
3
  --color-light-text-secondary: #546272;
4
4
  }
@@ -26,21 +26,21 @@
26
26
 
27
27
  /* optgroup */
28
28
  }
29
- .select__optionsList_135cf {
29
+ .select__optionsList_57mm7 {
30
30
  overflow: auto;
31
31
  width: 100%;
32
32
  outline: none;
33
33
  box-sizing: border-box;
34
34
  }
35
- .select__scrollable_135cf {
35
+ .select__scrollable_57mm7 {
36
36
  overflow: auto;
37
37
  width: 100%;
38
38
  }
39
- .select__emptyPlaceholder_135cf {
39
+ .select__emptyPlaceholder_57mm7 {
40
40
  padding: var(--gap-m) var(--gap-s);
41
41
  color: var(--select-options-list-empty-placeholder-color);
42
42
  }
43
- .select__l_135cf .select__emptyPlaceholder_135cf,
44
- .select__xl_135cf .select__emptyPlaceholder_135cf {
43
+ .select__l_57mm7 .select__emptyPlaceholder_57mm7,
44
+ .select__xl_57mm7 .select__emptyPlaceholder_57mm7 {
45
45
  padding: var(--gap-xl) var(--gap-m);
46
46
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-e7c089bb.js';
21
+ import '../../Component-4102856f.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { S as SelectMobile } from '../../Component-12aadf17.js';
29
+ export { S as SelectMobile } from '../../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-42d33a34.js';
32
+ import '../../intersection-observer-c4268d49.js';
@@ -1 +1 @@
1
- export * from "../../Component-12aadf17";
1
+ export * from "../../Component-95926b80";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-e7c089bb.js';
21
+ import '../../Component-4102856f.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { S as SelectMobile } from '../../Component-12aadf17.js';
29
+ export { S as SelectMobile } from '../../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-42d33a34.js';
32
+ import '../../intersection-observer-c4268d49.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-e7c089bb.js';
21
+ import '../../Component-4102856f.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { a as SelectModalMobile } from '../../Component-12aadf17.js';
29
+ export { a as SelectModalMobile } from '../../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-42d33a34.js';
32
+ import '../../intersection-observer-c4268d49.js';
@@ -1 +1 @@
1
- export * from "../../Component-12aadf17";
1
+ export * from "../../Component-95926b80";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-e7c089bb.js';
21
+ import '../../Component-4102856f.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../base-select-mobile/options-list/Component.js';
28
28
  import '../base-select-mobile/checkmark/Component.js';
29
- export { a as SelectModalMobile } from '../../Component-12aadf17.js';
29
+ export { a as SelectModalMobile } from '../../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-42d33a34.js';
32
+ import '../../intersection-observer-c4268d49.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-d7499cf0.js';
1
+ import { a as __assign } from '../../tslib.es6-120a08c2.js';
2
2
  import React, { useRef, useState, useEffect, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { useMedia } from '@alfalab/hooks';
@@ -7,7 +7,7 @@ import { Scrollbar } from '@alfalab/core-components-scrollbar/esm';
7
7
  import { Optgroup } from '../optgroup/Component.js';
8
8
  import { useVirtual } from 'react-virtual';
9
9
 
10
- var styles = {"virtualOptionsList":"select__virtualOptionsList_9xkp5","scrollable":"select__scrollable_9xkp5","inner":"select__inner_9xkp5","virtualRow":"select__virtualRow_9xkp5","highlighted":"select__highlighted_9xkp5","emptyPlaceholder":"select__emptyPlaceholder_9xkp5","l":"select__l_9xkp5","xl":"select__xl_9xkp5"};
10
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_1pnge","scrollable":"select__scrollable_1pnge","inner":"select__inner_1pnge","virtualRow":"select__virtualRow_1pnge","highlighted":"select__highlighted_1pnge","emptyPlaceholder":"select__emptyPlaceholder_1pnge","l":"select__l_1pnge","xl":"select__xl_1pnge"};
11
11
  require('./index.css')
12
12
 
13
13
  /* eslint-disable react-hooks/exhaustive-deps */
@@ -1,4 +1,4 @@
1
- /* hash: 14zqi */
1
+ /* hash: 2a1h7 */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  --color-light-text-secondary: #546272;
@@ -32,27 +32,27 @@
32
32
 
33
33
  /* optgroup */
34
34
  }
35
- .select__virtualOptionsList_9xkp5 {
35
+ .select__virtualOptionsList_1pnge {
36
36
  width: 100%;
37
37
  outline: none;
38
38
  box-sizing: border-box;
39
39
  position: relative;
40
40
  }
41
- .select__scrollable_9xkp5 {
41
+ .select__scrollable_1pnge {
42
42
  overflow: auto;
43
43
  width: 100%;
44
44
  }
45
- .select__inner_9xkp5 {
45
+ .select__inner_1pnge {
46
46
  position: relative;
47
47
  width: 100%;
48
48
  }
49
- .select__virtualRow_9xkp5 {
49
+ .select__virtualRow_1pnge {
50
50
  position: absolute;
51
51
  top: 0;
52
52
  left: 0;
53
53
  width: 100%
54
54
  }
55
- .select__virtualRow_9xkp5:before {
55
+ .select__virtualRow_1pnge:before {
56
56
  content: '';
57
57
  position: absolute;
58
58
  z-index: 1;
@@ -63,18 +63,18 @@
63
63
  background: var(--select-option-divider-background);
64
64
  display: var(--select-option-divider-display);
65
65
  }
66
- .select__virtualRow_9xkp5:first-child:before {
66
+ .select__virtualRow_1pnge:first-child:before {
67
67
  display: none;
68
68
  }
69
- .select__highlighted_9xkp5:before,
70
- .select__highlighted_9xkp5 + .select__virtualRow_9xkp5:before {
69
+ .select__highlighted_1pnge:before,
70
+ .select__highlighted_1pnge + .select__virtualRow_1pnge:before {
71
71
  display: none;
72
72
  }
73
- .select__emptyPlaceholder_9xkp5 {
73
+ .select__emptyPlaceholder_1pnge {
74
74
  padding: var(--gap-m) var(--gap-s);
75
75
  color: var(--select-options-list-empty-placeholder-color);
76
76
  }
77
- .select__l_9xkp5 .select__emptyPlaceholder_9xkp5,
78
- .select__xl_9xkp5 .select__emptyPlaceholder_9xkp5 {
77
+ .select__l_1pnge .select__emptyPlaceholder_1pnge,
78
+ .select__xl_1pnge .select__emptyPlaceholder_1pnge {
79
79
  padding: var(--gap-xl) var(--gap-m);
80
80
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-d7499cf0.js';
1
+ import './tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import './components/native-select/Component.js';
21
- export { B as BaseSelect } from './Component-e7c089bb.js';
21
+ export { B as BaseSelect } from './Component-4102856f.js';
22
22
  export { Select } from './Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,10 +26,10 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import './components/base-select-mobile/options-list/Component.js';
28
28
  import './components/base-select-mobile/checkmark/Component.js';
29
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-12aadf17.js';
29
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  export { VirtualOptionsList } from './components/virtual-options-list/Component.js';
32
32
  import '@alfalab/core-components-skeleton/esm';
33
33
  export { useSelectWithLoading } from './presets/useSelectWithLoading/hook.js';
34
- import './intersection-observer-42d33a34.js';
34
+ import './intersection-observer-c4268d49.js';
35
35
  export { useLazyLoading } from './presets/useLazyLoading/hook.js';
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-d7499cf0.js';
1
+ import '../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../components/native-select/Component.js';
21
- import '../Component-e7c089bb.js';
21
+ import '../Component-4102856f.js';
22
22
  import '../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,9 +26,9 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../components/base-select-mobile/options-list/Component.js';
28
28
  import '../components/base-select-mobile/checkmark/Component.js';
29
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-12aadf17.js';
29
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
32
  export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
33
- import '../intersection-observer-42d33a34.js';
33
+ import '../intersection-observer-c4268d49.js';
34
34
  export { useLazyLoading } from './useLazyLoading/hook.js';
@@ -1,13 +1,13 @@
1
- import { a as __assign, b as __spreadArrays } from '../../tslib.es6-d7499cf0.js';
1
+ import { a as __assign, b as __spreadArrays } from '../../tslib.es6-120a08c2.js';
2
2
  import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-checkbox/esm';
5
5
  import '../../components/checkmark/Component.js';
6
6
  import { Option } from '../../components/option/Component.js';
7
7
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
8
- import '../../intersection-observer-42d33a34.js';
8
+ import '../../intersection-observer-c4268d49.js';
9
9
 
10
- var styles = {"skeleton":"select__skeleton_baplq"};
10
+ var styles = {"skeleton":"select__skeleton_twoul"};
11
11
  require('./index.css')
12
12
 
13
13
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: 1l3l1 */
2
- .select__skeleton_baplq {
1
+ /* hash: j9pp7 */
2
+ .select__skeleton_twoul {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-d7499cf0.js';
1
+ import '../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../../components/native-select/Component.js';
21
- import '../../Component-e7c089bb.js';
21
+ import '../../Component-4102856f.js';
22
22
  import '../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../../components/base-select-mobile/options-list/Component.js';
28
28
  import '../../components/base-select-mobile/checkmark/Component.js';
29
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-12aadf17.js';
29
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-42d33a34.js';
32
+ import '../../intersection-observer-c4268d49.js';
@@ -1,4 +1,4 @@
1
- import '../../../tslib.es6-d7499cf0.js';
1
+ import '../../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../../../components/native-select/Component.js';
21
- import '../../../Component-e7c089bb.js';
21
+ import '../../../Component-4102856f.js';
22
22
  import '../../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../../../components/base-select-mobile/options-list/Component.js';
28
28
  import '../../../components/base-select-mobile/checkmark/Component.js';
29
- export { O as OptionsListWithApply } from '../../../Component-12aadf17.js';
29
+ export { O as OptionsListWithApply } from '../../../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../../intersection-observer-42d33a34.js';
32
+ import '../../../intersection-observer-c4268d49.js';
@@ -1,4 +1,4 @@
1
- /* hash: 7uzxc */
1
+ /* hash: 1mntx */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-secondary: #e7e9eb;
@@ -26,14 +26,14 @@
26
26
 
27
27
  /* optgroup */
28
28
  }
29
- .select__footer_g3dgi {
29
+ .select__footer_f9k3u {
30
30
  background: var(--color-light-bg-primary);
31
31
  padding: var(--gap-s) var(--gap-s) var(--gap-m);
32
32
  outline: none
33
33
  }
34
- .select__footer_g3dgi > * + * {
34
+ .select__footer_f9k3u > * + * {
35
35
  margin-left: var(--gap-xs);
36
36
  }
37
- .select__withBorder_g3dgi {
37
+ .select__withBorder_f9k3u {
38
38
  box-shadow: inset 0 1px 0 var(--color-light-border-secondary);
39
39
  }
@@ -1 +1 @@
1
- export * from "../../../Component-12aadf17";
1
+ export * from "../../../Component-95926b80";
@@ -1,4 +1,4 @@
1
- import '../../../tslib.es6-d7499cf0.js';
1
+ import '../../../tslib.es6-120a08c2.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -18,7 +18,7 @@ import '@juggle/resize-observer';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../../../components/native-select/Component.js';
21
- import '../../../Component-e7c089bb.js';
21
+ import '../../../Component-4102856f.js';
22
22
  import '../../../Component.js';
23
23
  import '@alfalab/core-components-bottom-sheet/esm';
24
24
  import '@alfalab/core-components-modal/esm/mobile';
@@ -26,7 +26,7 @@ import '@alfalab/core-components-button/esm';
26
26
  import '@alfalab/core-components-base-modal/esm';
27
27
  import '../../../components/base-select-mobile/options-list/Component.js';
28
28
  import '../../../components/base-select-mobile/checkmark/Component.js';
29
- export { O as OptionsListWithApply } from '../../../Component-12aadf17.js';
29
+ export { O as OptionsListWithApply } from '../../../Component-95926b80.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../../intersection-observer-42d33a34.js';
32
+ import '../../../intersection-observer-c4268d49.js';