@alfalab/core-components-select 17.1.2 → 17.2.1

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 (247) hide show
  1. package/Component.responsive.js +0 -41
  2. package/components/arrow/Component.js +1 -1
  3. package/components/arrow/index.css +3 -3
  4. package/components/arrow/index.js +0 -3
  5. package/components/base-checkmark/Component.js +1 -1
  6. package/components/base-checkmark/index.css +4 -4
  7. package/components/base-checkmark/index.js +0 -4
  8. package/components/base-option/Component.js +1 -3
  9. package/components/base-option/index.css +13 -13
  10. package/components/base-option/index.js +0 -6
  11. package/components/base-select/Component.js +3 -3
  12. package/components/base-select/index.css +11 -11
  13. package/components/base-select/index.js +0 -11
  14. package/components/base-select/mobile.css +12 -12
  15. package/components/checkmark/Component.js +1 -1
  16. package/components/checkmark/index.css +10 -10
  17. package/components/checkmark/index.js +0 -6
  18. package/components/checkmark-mobile/Component.js +1 -1
  19. package/components/checkmark-mobile/index.css +6 -6
  20. package/components/checkmark-mobile/index.js +0 -3
  21. package/components/field/Component.js +1 -1
  22. package/components/field/index.css +12 -12
  23. package/components/field/index.js +0 -6
  24. package/components/footer/Component.js +1 -1
  25. package/components/footer/index.css +5 -5
  26. package/components/footer/index.js +0 -5
  27. package/components/index.js +0 -25
  28. package/components/native-select/index.js +0 -3
  29. package/components/optgroup/Component.js +1 -1
  30. package/components/optgroup/index.css +6 -6
  31. package/components/optgroup/index.js +0 -2
  32. package/components/option/Component.js +1 -5
  33. package/components/option/index.css +19 -19
  34. package/components/option/index.js +0 -9
  35. package/components/options-list/Component.js +1 -1
  36. package/components/options-list/index.css +9 -9
  37. package/components/options-list/index.js +0 -10
  38. package/components/search/Component.js +1 -1
  39. package/components/search/index.css +2 -2
  40. package/components/search/index.js +0 -5
  41. package/components/virtual-options-list/Component.js +1 -1
  42. package/components/virtual-options-list/index.css +15 -15
  43. package/components/virtual-options-list/index.js +0 -11
  44. package/cssm/Component.responsive.js +0 -55
  45. package/cssm/components/arrow/index.js +0 -4
  46. package/cssm/components/base-checkmark/index.js +0 -5
  47. package/cssm/components/base-option/Component.js +0 -3
  48. package/cssm/components/base-option/index.js +0 -8
  49. package/cssm/components/base-select/Component.js +1 -1
  50. package/cssm/components/base-select/index.js +0 -13
  51. package/cssm/components/checkmark/index.js +0 -7
  52. package/cssm/components/checkmark-mobile/index.js +0 -4
  53. package/cssm/components/field/index.js +0 -7
  54. package/cssm/components/footer/index.js +0 -6
  55. package/cssm/components/index.js +0 -38
  56. package/cssm/components/native-select/index.js +0 -3
  57. package/cssm/components/optgroup/index.js +0 -3
  58. package/cssm/components/option/Component.js +0 -6
  59. package/cssm/components/option/index.js +0 -12
  60. package/cssm/components/options-list/Component.js +0 -1
  61. package/cssm/components/options-list/index.js +0 -12
  62. package/cssm/components/search/index.js +0 -6
  63. package/cssm/components/virtual-options-list/Component.js +0 -1
  64. package/cssm/components/virtual-options-list/index.js +0 -13
  65. package/cssm/desktop/Component.desktop.js +0 -31
  66. package/cssm/desktop/index.js +0 -42
  67. package/{hook-a12d8a76.js → cssm/hook-4aad7127.js} +1 -1
  68. package/cssm/index.js +0 -61
  69. package/cssm/mobile/Component.mobile.js +1 -41
  70. package/cssm/mobile/Component.modal.mobile.js +0 -54
  71. package/cssm/mobile/index.js +0 -56
  72. package/cssm/presets/index.js +1 -32
  73. package/cssm/presets/useLazyLoading/hook.js +0 -10
  74. package/cssm/presets/useSelectWithApply/hook.js +1 -17
  75. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -14
  76. package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
  77. package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +4 -3
  78. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  79. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -20
  80. package/cssm/presets/useSelectWithLoading/hook.js +0 -10
  81. package/cssm/shared/index.js +2 -49
  82. package/cssm/utils.d.ts +27 -1
  83. package/cssm/utils.js +30 -0
  84. package/desktop/Component.desktop.js +0 -21
  85. package/desktop/index.js +0 -32
  86. package/esm/Component.responsive.js +0 -41
  87. package/esm/components/arrow/Component.js +1 -1
  88. package/esm/components/arrow/index.css +3 -3
  89. package/esm/components/arrow/index.js +0 -3
  90. package/esm/components/base-checkmark/Component.js +1 -1
  91. package/esm/components/base-checkmark/index.css +4 -4
  92. package/esm/components/base-checkmark/index.js +0 -4
  93. package/esm/components/base-option/Component.js +1 -3
  94. package/esm/components/base-option/index.css +13 -13
  95. package/esm/components/base-option/index.js +0 -6
  96. package/esm/components/base-select/Component.js +3 -3
  97. package/esm/components/base-select/index.css +11 -11
  98. package/esm/components/base-select/index.js +0 -11
  99. package/esm/components/base-select/mobile.css +12 -12
  100. package/esm/components/checkmark/Component.js +1 -1
  101. package/esm/components/checkmark/index.css +10 -10
  102. package/esm/components/checkmark/index.js +0 -6
  103. package/esm/components/checkmark-mobile/Component.js +1 -1
  104. package/esm/components/checkmark-mobile/index.css +6 -6
  105. package/esm/components/checkmark-mobile/index.js +0 -3
  106. package/esm/components/field/Component.js +1 -1
  107. package/esm/components/field/index.css +12 -12
  108. package/esm/components/field/index.js +0 -6
  109. package/esm/components/footer/Component.js +1 -1
  110. package/esm/components/footer/index.css +5 -5
  111. package/esm/components/footer/index.js +0 -5
  112. package/esm/components/index.js +0 -25
  113. package/esm/components/native-select/index.js +0 -3
  114. package/esm/components/optgroup/Component.js +1 -1
  115. package/esm/components/optgroup/index.css +6 -6
  116. package/esm/components/optgroup/index.js +0 -2
  117. package/esm/components/option/Component.js +1 -5
  118. package/esm/components/option/index.css +19 -19
  119. package/esm/components/option/index.js +0 -9
  120. package/esm/components/options-list/Component.js +1 -1
  121. package/esm/components/options-list/index.css +9 -9
  122. package/esm/components/options-list/index.js +0 -10
  123. package/esm/components/search/Component.js +1 -1
  124. package/esm/components/search/index.css +2 -2
  125. package/esm/components/search/index.js +0 -5
  126. package/esm/components/virtual-options-list/Component.js +1 -1
  127. package/esm/components/virtual-options-list/index.css +15 -15
  128. package/esm/components/virtual-options-list/index.js +0 -11
  129. package/esm/desktop/Component.desktop.js +0 -21
  130. package/esm/desktop/index.js +0 -32
  131. package/esm/{hook-0d643e3f.js → hook-c2793864.js} +1 -1
  132. package/esm/index.js +0 -47
  133. package/esm/mobile/Component.mobile.js +1 -27
  134. package/esm/mobile/Component.modal.mobile.js +0 -40
  135. package/esm/mobile/index.js +0 -42
  136. package/esm/presets/index.js +1 -24
  137. package/esm/presets/useLazyLoading/hook.js +0 -7
  138. package/esm/presets/useSelectWithApply/hook.js +1 -13
  139. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -10
  140. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
  141. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +5 -4
  142. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  143. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  144. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  145. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  146. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -16
  147. package/esm/presets/useSelectWithLoading/hook.js +1 -8
  148. package/esm/presets/useSelectWithLoading/index.css +2 -2
  149. package/esm/shared/index.js +2 -33
  150. package/esm/utils.d.ts +27 -1
  151. package/esm/utils.js +30 -1
  152. package/{cssm/hook-2f9ec939.js → hook-d675d541.js} +1 -1
  153. package/index.js +0 -47
  154. package/mobile/Component.mobile.js +1 -27
  155. package/mobile/Component.modal.mobile.js +0 -40
  156. package/mobile/index.js +0 -42
  157. package/modern/Component.responsive.js +0 -41
  158. package/modern/components/arrow/Component.js +1 -1
  159. package/modern/components/arrow/index.css +3 -3
  160. package/modern/components/arrow/index.js +0 -3
  161. package/modern/components/base-checkmark/Component.js +1 -1
  162. package/modern/components/base-checkmark/index.css +4 -4
  163. package/modern/components/base-checkmark/index.js +0 -4
  164. package/modern/components/base-option/Component.js +1 -3
  165. package/modern/components/base-option/index.css +13 -13
  166. package/modern/components/base-option/index.js +0 -5
  167. package/modern/components/base-select/Component.js +3 -3
  168. package/modern/components/base-select/index.css +11 -11
  169. package/modern/components/base-select/index.js +0 -10
  170. package/modern/components/base-select/mobile.css +12 -12
  171. package/modern/components/checkmark/Component.js +1 -1
  172. package/modern/components/checkmark/index.css +10 -10
  173. package/modern/components/checkmark/index.js +0 -6
  174. package/modern/components/checkmark-mobile/Component.js +1 -1
  175. package/modern/components/checkmark-mobile/index.css +6 -6
  176. package/modern/components/checkmark-mobile/index.js +0 -3
  177. package/modern/components/field/Component.js +1 -1
  178. package/modern/components/field/index.css +12 -12
  179. package/modern/components/field/index.js +0 -5
  180. package/modern/components/footer/Component.js +1 -1
  181. package/modern/components/footer/index.css +5 -5
  182. package/modern/components/footer/index.js +0 -5
  183. package/modern/components/index.js +0 -24
  184. package/modern/components/native-select/index.js +0 -2
  185. package/modern/components/optgroup/Component.js +1 -1
  186. package/modern/components/optgroup/index.css +6 -6
  187. package/modern/components/optgroup/index.js +0 -2
  188. package/modern/components/option/Component.js +1 -5
  189. package/modern/components/option/index.css +19 -19
  190. package/modern/components/option/index.js +0 -8
  191. package/modern/components/options-list/Component.js +1 -1
  192. package/modern/components/options-list/index.css +9 -9
  193. package/modern/components/options-list/index.js +0 -9
  194. package/modern/components/search/Component.js +1 -1
  195. package/modern/components/search/index.css +2 -2
  196. package/modern/components/search/index.js +0 -4
  197. package/modern/components/virtual-options-list/Component.js +1 -1
  198. package/modern/components/virtual-options-list/index.css +15 -15
  199. package/modern/components/virtual-options-list/index.js +0 -10
  200. package/modern/desktop/Component.desktop.js +0 -21
  201. package/modern/desktop/index.js +0 -31
  202. package/modern/{hook-e0ac0fb2.js → hook-2c4dd34e.js} +1 -1
  203. package/modern/index.js +0 -46
  204. package/modern/mobile/Component.mobile.js +1 -27
  205. package/modern/mobile/Component.modal.mobile.js +0 -40
  206. package/modern/mobile/index.js +0 -41
  207. package/modern/presets/index.js +1 -23
  208. package/modern/presets/useLazyLoading/hook.js +0 -7
  209. package/modern/presets/useSelectWithApply/hook.js +1 -13
  210. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -10
  211. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
  212. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +5 -4
  213. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  214. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  215. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  216. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  217. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -15
  218. package/modern/presets/useSelectWithLoading/hook.js +1 -8
  219. package/modern/presets/useSelectWithLoading/index.css +2 -2
  220. package/modern/shared/index.js +2 -32
  221. package/modern/utils.d.ts +27 -1
  222. package/modern/utils.js +30 -1
  223. package/package.json +6 -6
  224. package/presets/index.js +1 -24
  225. package/presets/useLazyLoading/hook.js +0 -7
  226. package/presets/useSelectWithApply/hook.js +1 -13
  227. package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -10
  228. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
  229. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +5 -4
  230. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  231. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  232. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  233. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  234. package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -16
  235. package/presets/useSelectWithLoading/hook.js +1 -8
  236. package/presets/useSelectWithLoading/index.css +2 -2
  237. package/shared/index.js +2 -32
  238. package/src/components/base-select/Component.tsx +1 -0
  239. package/src/presets/useSelectWithApply/options-list-with-apply/Component.tsx +1 -0
  240. package/src/presets/useSelectWithApply/options-list-with-apply/footer/Component.tsx +15 -2
  241. package/src/utils.ts +33 -0
  242. package/utils.d.ts +27 -1
  243. package/utils.js +30 -0
  244. /package/cssm/{hook-2f9ec939.d.ts → hook-4aad7127.d.ts} +0 -0
  245. /package/esm/{hook-0d643e3f.d.ts → hook-c2793864.d.ts} +0 -0
  246. /package/{hook-a12d8a76.d.ts → hook-d675d541.d.ts} +0 -0
  247. /package/modern/{hook-e0ac0fb2.d.ts → hook-2c4dd34e.d.ts} +0 -0
package/esm/utils.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { __assign } from 'tslib';
2
2
  import { isValidElement, cloneElement, useEffect, useRef } from 'react';
3
+ import { getDataTestId } from '@alfalab/core-components-shared/esm';
3
4
 
4
5
  var isGroup = function (item) {
5
6
  return Object.prototype.hasOwnProperty.call(item, 'options');
@@ -112,5 +113,33 @@ var lastIndexOf = function (array, predicate) {
112
113
  }
113
114
  return -1;
114
115
  };
116
+ function getSelectTestIds(dataTestId) {
117
+ return {
118
+ select: dataTestId,
119
+ option: getDataTestId(dataTestId, 'option'),
120
+ optionsList: getDataTestId(dataTestId, 'options-list'),
121
+ clearButton: getDataTestId(dataTestId, 'options-list-clear'),
122
+ applyButton: getDataTestId(dataTestId, 'options-list-apply'),
123
+ field: getDataTestId(dataTestId, 'field'),
124
+ fieldFormControl: getDataTestId(dataTestId, 'field-form-control'),
125
+ fieldLeftAddons: getDataTestId(dataTestId, 'field-form-control-left-addons'),
126
+ fieldRightAddons: getDataTestId(dataTestId, 'field-form-control-right-addons'),
127
+ fieldError: getDataTestId(dataTestId, 'field-form-control-error-message'),
128
+ fieldHint: getDataTestId(dataTestId, 'field-form-control-hint'),
129
+ searchInput: getDataTestId(dataTestId, 'search'),
130
+ searchFormControl: getDataTestId(dataTestId, 'search-form-control'),
131
+ searchInner: getDataTestId(dataTestId, 'search-form-control-inner'),
132
+ searchLeftAddons: getDataTestId(dataTestId, 'search-form-control-left-addons'),
133
+ searchRightAddons: getDataTestId(dataTestId, 'search-form-control-right-addons'),
134
+ searchError: getDataTestId(dataTestId, 'search-form-control-error-message'),
135
+ searchHint: getDataTestId(dataTestId, 'search-form-control-hint'),
136
+ bottomSheet: getDataTestId(dataTestId, 'bottom-sheet'),
137
+ bottomSheetHeader: getDataTestId(dataTestId, 'bottom-sheet-header'),
138
+ bottomSheetContent: getDataTestId(dataTestId, 'bottom-sheet-content'),
139
+ modal: getDataTestId(dataTestId, 'modal'),
140
+ modalHeader: getDataTestId(dataTestId, 'modal-header'),
141
+ modalContent: getDataTestId(dataTestId, 'modal-content'),
142
+ };
143
+ }
115
144
 
116
- export { defaultAccessor, defaultFilterFn, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions };
145
+ export { defaultAccessor, defaultFilterFn, getSelectTestIds, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions };
@@ -49,7 +49,7 @@ var OptionsListWithApply = React.forwardRef(function (_a, ref) {
49
49
  header,
50
50
  showHeaderWithSelectAll && React__default.default.createElement(Header, tslib.__assign({}, headerProps))));
51
51
  };
52
- return (React__default.default.createElement(OptionsList, tslib.__assign({}, restProps, { ref: ref, visibleOptions: visibleOptions, toggleMenu: toggleMenu, flatOptions: flatOptions, getOptionProps: getOptionProps, onApply: handleApply, onClear: handleClear, header: renderHeader(), footer: React__default.default.createElement(Footer, { handleApply: handleApply, handleClear: handleClear, showClear: showClear, selectedDraft: selectedDraft }) })));
52
+ return (React__default.default.createElement(OptionsList, tslib.__assign({}, restProps, { ref: ref, visibleOptions: visibleOptions, toggleMenu: toggleMenu, flatOptions: flatOptions, getOptionProps: getOptionProps, onApply: handleApply, onClear: handleClear, header: renderHeader(), footer: React__default.default.createElement(Footer, { handleApply: handleApply, handleClear: handleClear, showClear: showClear, selectedDraft: selectedDraft, dataTestId: restProps === null || restProps === void 0 ? void 0 : restProps.dataTestId }) })));
53
53
  });
54
54
 
55
55
  var SELECT_ALL_KEY = 'select_all';
package/index.js CHANGED
@@ -3,53 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var Component_responsive = require('./Component.responsive.js');
6
- require('tslib');
7
- require('react');
8
- require('@alfalab/core-components-mq');
9
- require('./desktop/Component.desktop.js');
10
- require('@alfalab/core-components-form-control/desktop');
11
- require('@alfalab/core-components-popover');
12
- require('./components/arrow/Component.js');
13
- require('classnames');
14
- require('@alfalab/icons-glyph/ChevronDownMIcon');
15
- require('./components/base-select/Component.js');
16
- require('react-merge-refs');
17
- require('@juggle/resize-observer');
18
- require('compute-scroll-into-view');
19
- require('downshift');
20
- require('@alfalab/core-components-shared');
21
- require('@alfalab/hooks');
22
- require('./utils.js');
23
- require('./components/native-select/Component.js');
24
- require('./components/field/Component.js');
25
- require('./components/optgroup/Component.js');
26
- require('./components/option/Component.js');
27
- require('./components/checkmark/Component.js');
28
- require('@alfalab/core-components-badge');
29
- require('@alfalab/core-components-checkbox');
30
- require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
31
- require('@alfalab/icons-glyph/CheckmarkMIcon');
32
- require('./components/checkmark-mobile/Component.js');
33
- require('./components/options-list/Component.js');
34
- require('@alfalab/core-components-scrollbar');
35
- require('./consts.js');
36
- require('./components/search/Component.js');
37
- require('@alfalab/core-components-input');
38
- require('@alfalab/icons-glyph/MagnifierMIcon');
39
- require('./mobile/Component.mobile.js');
40
- require('@alfalab/core-components-bottom-sheet');
41
- require('@alfalab/core-components-form-control/mobile');
42
- require('@alfalab/core-components-modal/mobile');
43
- require('./components/footer/Component.js');
44
- require('@alfalab/core-components-base-modal');
45
- require('@alfalab/core-components-button/mobile');
46
- require('./components/virtual-options-list/Component.js');
47
- require('react-virtual');
48
- require('./hook-a12d8a76.js');
49
- require('./presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
50
- require('@alfalab/core-components-button/desktop');
51
- require('./presets/useSelectWithApply/options-list-with-apply/header/Component.js');
52
- require('./mobile/Component.modal.mobile.js');
53
6
 
54
7
 
55
8
 
@@ -16,34 +16,8 @@ var components_option_Component = require('../components/option/Component.js');
16
16
  var components_optionsList_Component = require('../components/options-list/Component.js');
17
17
  var components_search_Component = require('../components/search/Component.js');
18
18
  var components_virtualOptionsList_Component = require('../components/virtual-options-list/Component.js');
19
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-a12d8a76.js');
19
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-d675d541.js');
20
20
  var presets_useSelectWithApply_optionsListWithApply_header_Component = require('../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
21
- require('classnames');
22
- require('@alfalab/icons-glyph/ChevronDownMIcon');
23
- require('react-merge-refs');
24
- require('@juggle/resize-observer');
25
- require('compute-scroll-into-view');
26
- require('downshift');
27
- require('@alfalab/core-components-shared');
28
- require('@alfalab/hooks');
29
- require('../utils.js');
30
- require('../components/native-select/Component.js');
31
- require('@alfalab/core-components-base-modal');
32
- require('@alfalab/core-components-button/mobile');
33
- require('../components/checkmark/Component.js');
34
- require('@alfalab/core-components-badge');
35
- require('@alfalab/core-components-checkbox');
36
- require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
37
- require('@alfalab/icons-glyph/CheckmarkMIcon');
38
- require('../components/checkmark-mobile/Component.js');
39
- require('@alfalab/core-components-mq');
40
- require('@alfalab/core-components-scrollbar');
41
- require('../consts.js');
42
- require('@alfalab/core-components-input');
43
- require('@alfalab/icons-glyph/MagnifierMIcon');
44
- require('react-virtual');
45
- require('../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
46
- require('@alfalab/core-components-button/desktop');
47
21
 
48
22
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
49
23
 
@@ -5,46 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var mobile_Component_mobile = require('./Component.mobile.js');
8
- require('@alfalab/core-components-bottom-sheet');
9
- require('@alfalab/core-components-form-control/mobile');
10
- require('@alfalab/core-components-modal/mobile');
11
- require('../components/arrow/Component.js');
12
- require('classnames');
13
- require('@alfalab/icons-glyph/ChevronDownMIcon');
14
- require('../components/base-select/Component.js');
15
- require('react-merge-refs');
16
- require('@juggle/resize-observer');
17
- require('compute-scroll-into-view');
18
- require('downshift');
19
- require('@alfalab/core-components-shared');
20
- require('@alfalab/hooks');
21
- require('../utils.js');
22
- require('../components/native-select/Component.js');
23
- require('../components/field/Component.js');
24
- require('../components/footer/Component.js');
25
- require('@alfalab/core-components-base-modal');
26
- require('@alfalab/core-components-button/mobile');
27
- require('../components/optgroup/Component.js');
28
- require('../components/option/Component.js');
29
- require('../components/checkmark/Component.js');
30
- require('@alfalab/core-components-badge');
31
- require('@alfalab/core-components-checkbox');
32
- require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
33
- require('@alfalab/icons-glyph/CheckmarkMIcon');
34
- require('../components/checkmark-mobile/Component.js');
35
- require('../components/options-list/Component.js');
36
- require('@alfalab/core-components-mq');
37
- require('@alfalab/core-components-scrollbar');
38
- require('../consts.js');
39
- require('../components/search/Component.js');
40
- require('@alfalab/core-components-input');
41
- require('@alfalab/icons-glyph/MagnifierMIcon');
42
- require('../components/virtual-options-list/Component.js');
43
- require('react-virtual');
44
- require('../hook-a12d8a76.js');
45
- require('../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
46
- require('@alfalab/core-components-button/desktop');
47
- require('../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
48
8
 
49
9
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
50
10
 
package/mobile/index.js CHANGED
@@ -4,48 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var mobile_Component_mobile = require('./Component.mobile.js');
6
6
  var mobile_Component_modal_mobile = require('./Component.modal.mobile.js');
7
- require('tslib');
8
- require('react');
9
- require('@alfalab/core-components-bottom-sheet');
10
- require('@alfalab/core-components-form-control/mobile');
11
- require('@alfalab/core-components-modal/mobile');
12
- require('../components/arrow/Component.js');
13
- require('classnames');
14
- require('@alfalab/icons-glyph/ChevronDownMIcon');
15
- require('../components/base-select/Component.js');
16
- require('react-merge-refs');
17
- require('@juggle/resize-observer');
18
- require('compute-scroll-into-view');
19
- require('downshift');
20
- require('@alfalab/core-components-shared');
21
- require('@alfalab/hooks');
22
- require('../utils.js');
23
- require('../components/native-select/Component.js');
24
- require('../components/field/Component.js');
25
- require('../components/footer/Component.js');
26
- require('@alfalab/core-components-base-modal');
27
- require('@alfalab/core-components-button/mobile');
28
- require('../components/optgroup/Component.js');
29
- require('../components/option/Component.js');
30
- require('../components/checkmark/Component.js');
31
- require('@alfalab/core-components-badge');
32
- require('@alfalab/core-components-checkbox');
33
- require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
34
- require('@alfalab/icons-glyph/CheckmarkMIcon');
35
- require('../components/checkmark-mobile/Component.js');
36
- require('../components/options-list/Component.js');
37
- require('@alfalab/core-components-mq');
38
- require('@alfalab/core-components-scrollbar');
39
- require('../consts.js');
40
- require('../components/search/Component.js');
41
- require('@alfalab/core-components-input');
42
- require('@alfalab/icons-glyph/MagnifierMIcon');
43
- require('../components/virtual-options-list/Component.js');
44
- require('react-virtual');
45
- require('../hook-a12d8a76.js');
46
- require('../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
47
- require('@alfalab/core-components-button/desktop');
48
- require('../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
49
7
 
50
8
 
51
9
 
@@ -3,47 +3,6 @@ import { useMatchMedia } from '@alfalab/core-components-mq/modern';
3
3
  import { SelectDesktop } from './desktop/Component.desktop.js';
4
4
  import { SelectMobile } from './mobile/Component.mobile.js';
5
5
  import './mobile/Component.modal.mobile.js';
6
- import '@alfalab/core-components-form-control/modern/desktop';
7
- import '@alfalab/core-components-popover/modern';
8
- import './components/arrow/Component.js';
9
- import 'classnames';
10
- import '@alfalab/icons-glyph/ChevronDownMIcon';
11
- import './components/base-select/Component.js';
12
- import 'react-merge-refs';
13
- import '@juggle/resize-observer';
14
- import 'compute-scroll-into-view';
15
- import 'downshift';
16
- import '@alfalab/core-components-shared/modern';
17
- import '@alfalab/hooks';
18
- import './utils.js';
19
- import './components/native-select/Component.js';
20
- import './components/field/Component.js';
21
- import './components/optgroup/Component.js';
22
- import './components/option/Component.js';
23
- import './components/checkmark/Component.js';
24
- import '@alfalab/core-components-badge/modern';
25
- import '@alfalab/core-components-checkbox/modern';
26
- import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
27
- import '@alfalab/icons-glyph/CheckmarkMIcon';
28
- import './components/checkmark-mobile/Component.js';
29
- import './components/options-list/Component.js';
30
- import '@alfalab/core-components-scrollbar/modern';
31
- import './consts.js';
32
- import './components/search/Component.js';
33
- import '@alfalab/core-components-input/modern';
34
- import '@alfalab/icons-glyph/MagnifierMIcon';
35
- import '@alfalab/core-components-bottom-sheet/modern';
36
- import '@alfalab/core-components-form-control/modern/mobile';
37
- import '@alfalab/core-components-modal/modern/mobile';
38
- import './components/footer/Component.js';
39
- import '@alfalab/core-components-base-modal/modern';
40
- import '@alfalab/core-components-button/modern/mobile';
41
- import './components/virtual-options-list/Component.js';
42
- import 'react-virtual';
43
- import './hook-e0ac0fb2.js';
44
- import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
45
- import '@alfalab/core-components-button/modern/desktop';
46
- import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
47
6
 
48
7
  const SelectResponsive = forwardRef(({ onScroll, fieldProps, breakpoint = 1024, defaultMatchMediaValue, ...restProps }, ref) => {
49
8
  const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, defaultMatchMediaValue);
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { ChevronDownMIcon } from '@alfalab/icons-glyph/ChevronDownMIcon';
4
4
 
5
- const styles = {"arrow":"select__arrow_jvqw5","open":"select__open_jvqw5"};
5
+ const styles = {"arrow":"select__arrow_1rlaz","open":"select__open_1rlaz"};
6
6
  require('./index.css')
7
7
 
8
8
  const Arrow = ({ open, className }) => (React.createElement(ChevronDownMIcon, { className: cn(styles.arrow, className, { [styles.open]: open }) }));
@@ -1,4 +1,4 @@
1
- /* hash: 1n9fx */
1
+ /* hash: 1jl2k */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47); /* 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
- } .select__arrow_jvqw5 {
29
+ } .select__arrow_1rlaz {
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
- } .select__open_jvqw5 {
36
+ } .select__open_1rlaz {
37
37
  transform: var(--arrow-transform);
38
38
  }
@@ -1,4 +1 @@
1
1
  export { Arrow } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/modern';
4
4
  import { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';
5
5
 
6
- const styles = {"checkmark":"select__checkmark_rgzxc","single":"select__single_rgzxc","selected":"select__selected_rgzxc"};
6
+ const styles = {"checkmark":"select__checkmark_1oor3","single":"select__single_1oor3","selected":"select__selected_1oor3"};
7
7
  require('./index.css')
8
8
 
9
9
  const BaseCheckmark = ({ selected, disabled = false, className, multiple, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1lk6l */
1
+ /* hash: 1pz12 */
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 */
@@ -23,14 +23,14 @@
23
23
  /* checkmark */
24
24
 
25
25
  /* optgroup */
26
- } .select__checkmark_rgzxc {
26
+ } .select__checkmark_1oor3 {
27
27
  flex-shrink: 0;
28
28
  box-sizing: border-box;
29
- } .select__single_rgzxc {
29
+ } .select__single_1oor3 {
30
30
  display: flex;
31
31
  align-items: center;
32
32
  justify-content: center;
33
33
  opacity: 0
34
- } .select__single_rgzxc.select__selected_rgzxc {
34
+ } .select__single_1oor3.select__selected_1oor3 {
35
35
  opacity: 1;
36
36
  }
@@ -1,5 +1 @@
1
1
  export { BaseCheckmark } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-checkbox/modern';
5
- import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -1,10 +1,8 @@
1
1
  import React, { isValidElement } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { BaseCheckmark } from '../base-checkmark/Component.js';
4
- import '@alfalab/core-components-checkbox/modern';
5
- import '@alfalab/icons-glyph/CheckmarkMIcon';
6
4
 
7
- const styles = {"option":"select__option_1d4ao","disabled":"select__disabled_1d4ao","checkmarkBefore":"select__checkmarkBefore_1d4ao","mobile":"select__mobile_1d4ao","checkmarkAfter":"select__checkmarkAfter_1d4ao","textContent":"select__textContent_1d4ao","selected":"select__selected_1d4ao","highlighted":"select__highlighted_1d4ao","content":"select__content_1d4ao"};
5
+ const styles = {"option":"select__option_sasvk","disabled":"select__disabled_sasvk","checkmarkBefore":"select__checkmarkBefore_sasvk","mobile":"select__mobile_sasvk","checkmarkAfter":"select__checkmarkAfter_sasvk","textContent":"select__textContent_sasvk","selected":"select__selected_sasvk","highlighted":"select__highlighted_sasvk","content":"select__content_sasvk"};
8
6
  require('./index.css')
9
7
 
10
8
  const BaseOption = ({ className, option, children, selected, highlighted, disabled, multiple, Checkmark = BaseCheckmark, checkmarkPosition = multiple ? 'before' : 'after', innerProps, dataTestId, mobile = false, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: w4719 */
1
+ /* hash: 1ohbh */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-modal-bg-primary: #fff;
@@ -43,7 +43,7 @@
43
43
  /* checkmark */
44
44
 
45
45
  /* optgroup */
46
- } .select__option_1d4ao {
46
+ } .select__option_sasvk {
47
47
  font-size: 16px;
48
48
  line-height: 20px;
49
49
  font-weight: 400;
@@ -60,32 +60,32 @@
60
60
  position: relative;
61
61
  cursor: pointer;
62
62
  min-height: var(--size-s-height)
63
- } .select__option_1d4ao:not(.select__disabled_1d4ao):active {
63
+ } .select__option_sasvk:not(.select__disabled_sasvk):active {
64
64
  background: var(--select-option-active-background);
65
65
  color: var(--select-option-active-color);
66
- } .select__option_1d4ao.select__checkmarkBefore_1d4ao {
66
+ } .select__option_sasvk.select__checkmarkBefore_sasvk {
67
67
  padding: 0 0 0 var(--gap-s)
68
- } .select__option_1d4ao.select__checkmarkBefore_1d4ao.select__mobile_1d4ao {
68
+ } .select__option_sasvk.select__checkmarkBefore_sasvk.select__mobile_sasvk {
69
69
  padding-left: var(--gap-m);
70
- } .select__option_1d4ao.select__checkmarkAfter_1d4ao {
70
+ } .select__option_sasvk.select__checkmarkAfter_sasvk {
71
71
  padding: 0 var(--gap-s) 0 0
72
- } .select__option_1d4ao.select__checkmarkAfter_1d4ao.select__mobile_1d4ao {
72
+ } .select__option_sasvk.select__checkmarkAfter_sasvk.select__mobile_sasvk {
73
73
  padding-right: var(--gap-l);
74
- } .select__option_1d4ao.select__textContent_1d4ao {
74
+ } .select__option_sasvk.select__textContent_sasvk {
75
75
  padding: var(--gap-s)
76
- } .select__option_1d4ao.select__textContent_1d4ao.select__mobile_1d4ao {
76
+ } .select__option_sasvk.select__textContent_sasvk.select__mobile_sasvk {
77
77
  padding: var(--gap-m) var(--gap-l) var(--gap-m) var(--gap-m);
78
- } .select__selected_1d4ao {
78
+ } .select__selected_sasvk {
79
79
  background: var(--select-option-selected-background);
80
80
  color: var(--select-option-selected-color);
81
81
  cursor: default;
82
- } .select__highlighted_1d4ao {
82
+ } .select__highlighted_sasvk {
83
83
  background: var(--select-option-hover-background);
84
84
  color: var(--select-option-hover-color);
85
- } .select__disabled_1d4ao {
85
+ } .select__disabled_sasvk {
86
86
  cursor: var(--disabled-cursor);
87
87
  background: var(--select-option-disabled-background);
88
88
  color: var(--select-option-disabled-color);
89
- } .select__content_1d4ao {
89
+ } .select__content_sasvk {
90
90
  flex: 1;
91
91
  }
@@ -1,6 +1 @@
1
1
  export { BaseOption } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '../base-checkmark/Component.js';
5
- import '@alfalab/core-components-checkbox/modern';
6
- import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -9,10 +9,10 @@ import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
9
9
  import { defaultAccessor, defaultFilterFn, processOptions } from '../../utils.js';
10
10
  import { NativeSelect } from '../native-select/Component.js';
11
11
 
12
- const styles = {"component":"select__component_17ljh","popoverInner":"select__popoverInner_17ljh","optionsListWrapper":"select__optionsListWrapper_17ljh","optionsListBorder":"select__optionsListBorder_17ljh","nativeSelect":"select__nativeSelect_17ljh","block":"select__block_17ljh","emptySearchPlaceholder":"select__emptySearchPlaceholder_17ljh","search":"select__search_17ljh"};
12
+ const styles = {"component":"select__component_vj201","popoverInner":"select__popoverInner_vj201","optionsListWrapper":"select__optionsListWrapper_vj201","optionsListBorder":"select__optionsListBorder_vj201","nativeSelect":"select__nativeSelect_vj201","block":"select__block_vj201","emptySearchPlaceholder":"select__emptySearchPlaceholder_vj201","search":"select__search_vj201"};
13
13
  require('./index.css')
14
14
 
15
- const mobileStyles = {"sheet":"select__sheet_1oexs","sheetContent":"select__sheetContent_1oexs","modalContent":"select__modalContent_1oexs","sheetContainer":"select__sheetContainer_1oexs","optionsListWrapper":"select__optionsListWrapper_1oexs","optionsList":"select__optionsList_1oexs","scrollbar":"select__scrollbar_1oexs","search":"select__search_1oexs","option":"select__option_1oexs","optionGroup":"select__optionGroup_1oexs"};
15
+ const mobileStyles = {"sheet":"select__sheet_up2o8","sheetContent":"select__sheetContent_up2o8","modalContent":"select__modalContent_up2o8","sheetContainer":"select__sheetContainer_up2o8","optionsListWrapper":"select__optionsListWrapper_up2o8","optionsList":"select__optionsList_up2o8","scrollbar":"select__scrollbar_up2o8","search":"select__search_up2o8","option":"select__option_up2o8","optionGroup":"select__optionGroup_up2o8"};
16
16
  require('./mobile.css')
17
17
 
18
18
  /* eslint-disable no-nested-ternary */
@@ -373,7 +373,7 @@ const BaseSelect = forwardRef(
373
373
  };
374
374
  const renderInModalMobile = () => {
375
375
  if (!nativeSelect && ModalMobile) {
376
- return (React.createElement(ModalMobile, { open: open, hasCloser: true, ...modalProps, onClose: (...args) => {
376
+ return (React.createElement(ModalMobile, { dataTestId: getDataTestId(dataTestId, 'modal'), open: open, hasCloser: true, ...modalProps, onClose: (...args) => {
377
377
  closeMenu();
378
378
  modalProps?.onClose?.(...args);
379
379
  }, contentClassName: cn(mobileStyles.sheetContent, modalProps?.contentClassName), ref: mergeRefs([
@@ -1,4 +1,4 @@
1
- /* hash: ve92h */
1
+ /* hash: 1lxfw */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-modal-bg-primary: #fff;
@@ -37,21 +37,21 @@
37
37
  /* checkmark */
38
38
 
39
39
  /* optgroup */
40
- } .select__component_17ljh {
40
+ } .select__component_vj201 {
41
41
  width: max-content;
42
42
  position: relative;
43
43
  outline: 0;
44
44
  max-width: 100%;
45
- } .select__popoverInner_17ljh {
45
+ } .select__popoverInner_vj201 {
46
46
  padding-top: var(--select-options-list-offset);
47
47
  padding-bottom: var(--select-options-list-offset);
48
48
  background: transparent;
49
49
  border-radius: 0;
50
50
  position: relative;
51
- } .select__popoverInner_17ljh.select__popoverInner_17ljh {
51
+ } .select__popoverInner_vj201.select__popoverInner_vj201 {
52
52
  box-shadow: none;
53
53
  border: none;
54
- } .select__optionsListWrapper_17ljh {
54
+ } .select__optionsListWrapper_vj201 {
55
55
  position: relative;
56
56
  padding-top: var(--select-options-list-top-padding);
57
57
  padding-bottom: var(--select-options-list-bottom-padding);
@@ -60,7 +60,7 @@
60
60
  background: var(--select-option-background);
61
61
  overflow: hidden;
62
62
  will-change: transform;
63
- } .select__optionsListBorder_17ljh {
63
+ } .select__optionsListBorder_vj201 {
64
64
  position: absolute;
65
65
  top: 0;
66
66
  right: 0;
@@ -69,7 +69,7 @@
69
69
  box-shadow: inset 0 0 0 1px var(--color-light-neutral-300);
70
70
  border-radius: inherit;
71
71
  pointer-events: none;
72
- } .select__nativeSelect_17ljh {
72
+ } .select__nativeSelect_vj201 {
73
73
  opacity: 0;
74
74
  overflow: hidden;
75
75
  position: absolute;
@@ -82,12 +82,12 @@
82
82
  height: 100%;
83
83
  cursor: pointer;
84
84
  z-index: 1;
85
- } .select__block_17ljh {
85
+ } .select__block_vj201 {
86
86
  width: 100%;
87
- } .select__emptySearchPlaceholder_17ljh {
87
+ } .select__emptySearchPlaceholder_vj201 {
88
88
  text-align: center;
89
- } .select__search_17ljh {
89
+ } .select__search_vj201 {
90
90
  margin: var(--gap-s) var(--gap-s) 0
91
- } .select__search_17ljh:last-child {
91
+ } .select__search_vj201:last-child {
92
92
  margin-bottom: var(--gap-s);
93
93
  }
@@ -1,11 +1 @@
1
1
  export { BaseSelect } from './Component.js';
2
- import 'react';
3
- import 'react-merge-refs';
4
- import '@juggle/resize-observer';
5
- import 'classnames';
6
- import 'compute-scroll-into-view';
7
- import 'downshift';
8
- import '@alfalab/core-components-shared/modern';
9
- import '@alfalab/hooks';
10
- import '../../utils.js';
11
- import '../native-select/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1w2q5 */
1
+ /* hash: gus78 */
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 */
@@ -27,30 +27,30 @@
27
27
  /* checkmark */
28
28
 
29
29
  /* optgroup */
30
- } .select__sheet_1oexs {
30
+ } .select__sheet_up2o8 {
31
31
  overflow: hidden;
32
- } .select__sheetContent_1oexs {
32
+ } .select__sheetContent_up2o8 {
33
33
  padding: 0
34
- } .select__sheetContent_1oexs .select__modalContent_1oexs {
34
+ } .select__sheetContent_up2o8 .select__modalContent_up2o8 {
35
35
  padding: 0;
36
36
  display: flex;
37
37
  flex-direction: column;
38
- } .select__sheetContainer_1oexs {
38
+ } .select__sheetContainer_up2o8 {
39
39
  padding: 0;
40
- } .select__optionsListWrapper_1oexs {
40
+ } .select__optionsListWrapper_up2o8 {
41
41
  flex: 1;
42
- } .select__optionsList_1oexs {
42
+ } .select__optionsList_up2o8 {
43
43
  height: 100%;
44
44
  display: flex;
45
45
  flex-direction: column;
46
- } .select__scrollbar_1oexs {
46
+ } .select__scrollbar_up2o8 {
47
47
  flex: 1;
48
- } .select__search_1oexs {
48
+ } .select__search_up2o8 {
49
49
  padding: var(--gap-xs);
50
- } .select__option_1oexs {
50
+ } .select__option_up2o8 {
51
51
  padding: var(--gap-2xs) var(--gap-l) var(--gap-2xs) var(--gap-m)
52
- } .select__option_1oexs:before {
52
+ } .select__option_up2o8:before {
53
53
  display: none;
54
- } .select__optionGroup_1oexs {
54
+ } .select__optionGroup_up2o8 {
55
55
  padding: var(--gap-m) var(--gap-m) var(--gap-xs);
56
56
  }
@@ -5,7 +5,7 @@ import { Checkbox } from '@alfalab/core-components-checkbox/modern';
5
5
  import { CheckmarkCircleMIcon } from '@alfalab/icons-glyph/CheckmarkCircleMIcon';
6
6
  import CheckmarkMIcon from '@alfalab/icons-glyph/CheckmarkMIcon';
7
7
 
8
- const styles = {"checkmark":"select__checkmark_amvcg","after":"select__after_amvcg","single":"select__single_amvcg","selected":"select__selected_amvcg","before":"select__before_amvcg","multiple":"select__multiple_amvcg","colorIcon":"select__colorIcon_amvcg"};
8
+ const styles = {"checkmark":"select__checkmark_1ouhl","after":"select__after_1ouhl","single":"select__single_1ouhl","selected":"select__selected_1ouhl","before":"select__before_1ouhl","multiple":"select__multiple_1ouhl","colorIcon":"select__colorIcon_1ouhl"};
9
9
  require('./index.css')
10
10
 
11
11
  const Checkmark = ({ selected, disabled = false, className, multiple, position = 'before', }) => {