@alfalab/core-components-select 10.12.7 → 11.1.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 (188) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/{Component-e034a520.d.ts → Component-2d929cd7.d.ts} +0 -0
  3. package/{Component-e034a520.js → Component-2d929cd7.js} +2 -2
  4. package/{Component-f65d9b66.d.ts → Component-d79cb1f7.d.ts} +0 -0
  5. package/{Component-f65d9b66.js → Component-d79cb1f7.js} +5 -5
  6. package/Component.js +2 -2
  7. package/components/arrow/Component.js +1 -1
  8. package/components/arrow/index.css +3 -3
  9. package/components/base-select/Component.js +2 -2
  10. package/components/base-select/index.css +7 -7
  11. package/components/base-select/index.d.ts +1 -1
  12. package/components/base-select/index.js +2 -2
  13. package/components/base-select-mobile/Component.js +4 -4
  14. package/components/base-select-mobile/checkmark/Component.js +1 -1
  15. package/components/base-select-mobile/checkmark/index.css +5 -5
  16. package/components/base-select-mobile/index.css +11 -11
  17. package/components/base-select-mobile/index.d.ts +1 -1
  18. package/components/base-select-mobile/index.js +4 -4
  19. package/components/base-select-mobile/options-list/Component.js +2 -2
  20. package/components/base-select-mobile/options-list/index.css +9 -9
  21. package/components/base-select-mobile/options-list/index.js +1 -1
  22. package/components/checkmark/Component.js +1 -1
  23. package/components/checkmark/index.css +7 -7
  24. package/components/field/Component.js +2 -2
  25. package/components/field/index.css +9 -9
  26. package/components/field/index.js +1 -1
  27. package/components/index.js +4 -4
  28. package/components/native-select/Component.js +1 -1
  29. package/components/native-select/index.js +1 -1
  30. package/components/optgroup/Component.js +1 -1
  31. package/components/optgroup/index.css +6 -6
  32. package/components/option/Component.js +2 -2
  33. package/components/option/index.css +20 -20
  34. package/components/option/index.js +1 -1
  35. package/components/options-list/Component.js +2 -2
  36. package/components/options-list/index.css +6 -6
  37. package/components/options-list/index.js +1 -1
  38. package/components/select-mobile/Component.js +4 -4
  39. package/components/select-mobile/index.d.ts +1 -1
  40. package/components/select-mobile/index.js +4 -4
  41. package/components/select-modal-mobile/Component.js +4 -4
  42. package/components/select-modal-mobile/index.d.ts +1 -1
  43. package/components/select-modal-mobile/index.js +4 -4
  44. package/components/virtual-options-list/Component.js +2 -2
  45. package/components/virtual-options-list/index.css +12 -12
  46. package/components/virtual-options-list/index.js +1 -1
  47. package/cssm/components/base-select-mobile/checkmark/index.module.css +1 -1
  48. package/cssm/presets/useLazyLoading/hook.d.ts +2 -2
  49. package/cssm/presets/useLazyLoading/hook.js +1 -1
  50. package/cssm/presets/useSelectWithLoading/hook.d.ts +2 -2
  51. package/cssm/typings.d.ts +1 -1
  52. package/esm/{Component-1efee430.d.ts → Component-bc31c3c6.d.ts} +0 -0
  53. package/esm/{Component-1efee430.js → Component-bc31c3c6.js} +2 -2
  54. package/esm/{Component-3c11e144.d.ts → Component-c1c1bbe8.d.ts} +0 -0
  55. package/esm/{Component-3c11e144.js → Component-c1c1bbe8.js} +5 -5
  56. package/esm/Component.js +2 -2
  57. package/esm/components/arrow/Component.js +1 -1
  58. package/esm/components/arrow/index.css +3 -3
  59. package/esm/components/base-select/Component.js +2 -2
  60. package/esm/components/base-select/index.css +7 -7
  61. package/esm/components/base-select/index.d.ts +1 -1
  62. package/esm/components/base-select/index.js +2 -2
  63. package/esm/components/base-select-mobile/Component.js +4 -4
  64. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  65. package/esm/components/base-select-mobile/checkmark/index.css +5 -5
  66. package/esm/components/base-select-mobile/index.css +11 -11
  67. package/esm/components/base-select-mobile/index.d.ts +1 -1
  68. package/esm/components/base-select-mobile/index.js +4 -4
  69. package/esm/components/base-select-mobile/options-list/Component.js +2 -2
  70. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  71. package/esm/components/base-select-mobile/options-list/index.js +1 -1
  72. package/esm/components/checkmark/Component.js +1 -1
  73. package/esm/components/checkmark/index.css +7 -7
  74. package/esm/components/field/Component.js +2 -2
  75. package/esm/components/field/index.css +9 -9
  76. package/esm/components/field/index.js +1 -1
  77. package/esm/components/index.js +4 -4
  78. package/esm/components/native-select/Component.js +1 -1
  79. package/esm/components/native-select/index.js +1 -1
  80. package/esm/components/optgroup/Component.js +1 -1
  81. package/esm/components/optgroup/index.css +6 -6
  82. package/esm/components/option/Component.js +2 -2
  83. package/esm/components/option/index.css +20 -20
  84. package/esm/components/option/index.js +1 -1
  85. package/esm/components/options-list/Component.js +2 -2
  86. package/esm/components/options-list/index.css +6 -6
  87. package/esm/components/options-list/index.js +1 -1
  88. package/esm/components/select-mobile/Component.js +4 -4
  89. package/esm/components/select-mobile/index.d.ts +1 -1
  90. package/esm/components/select-mobile/index.js +4 -4
  91. package/esm/components/select-modal-mobile/Component.js +4 -4
  92. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  93. package/esm/components/select-modal-mobile/index.js +4 -4
  94. package/esm/components/virtual-options-list/Component.js +2 -2
  95. package/esm/components/virtual-options-list/index.css +12 -12
  96. package/esm/components/virtual-options-list/index.js +1 -1
  97. package/esm/index.js +4 -4
  98. package/esm/{intersection-observer-34eae15e.d.ts → intersection-observer-1b157c7d.d.ts} +0 -0
  99. package/esm/{intersection-observer-34eae15e.js → intersection-observer-1b157c7d.js} +0 -0
  100. package/esm/presets/index.js +4 -4
  101. package/esm/presets/useLazyLoading/hook.d.ts +2 -2
  102. package/esm/presets/useLazyLoading/hook.js +4 -4
  103. package/esm/presets/useLazyLoading/index.css +2 -2
  104. package/esm/presets/useSelectWithApply/hook.js +4 -4
  105. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  106. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  107. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  108. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  109. package/esm/presets/useSelectWithLoading/hook.d.ts +2 -2
  110. package/esm/presets/useSelectWithLoading/hook.js +2 -2
  111. package/esm/presets/useSelectWithLoading/index.css +2 -2
  112. package/esm/{tslib.es6-f0350fbc.d.ts → tslib.es6-7605f197.d.ts} +0 -0
  113. package/esm/{tslib.es6-f0350fbc.js → tslib.es6-7605f197.js} +0 -0
  114. package/esm/typings.d.ts +1 -1
  115. package/index.js +4 -4
  116. package/{intersection-observer-bde48627.d.ts → intersection-observer-97cee92e.d.ts} +0 -0
  117. package/{intersection-observer-bde48627.js → intersection-observer-97cee92e.js} +0 -0
  118. package/modern/{Component-ac0aea51.d.ts → Component-8b3f26fe.d.ts} +0 -0
  119. package/modern/{Component-ac0aea51.js → Component-8b3f26fe.js} +2 -2
  120. package/modern/{Component-326c9b5d.d.ts → Component-b90bbc06.d.ts} +0 -0
  121. package/modern/{Component-326c9b5d.js → Component-b90bbc06.js} +4 -4
  122. package/modern/Component.js +1 -1
  123. package/modern/components/arrow/Component.js +1 -1
  124. package/modern/components/arrow/index.css +3 -3
  125. package/modern/components/base-select/Component.js +1 -1
  126. package/modern/components/base-select/index.css +7 -7
  127. package/modern/components/base-select/index.d.ts +1 -1
  128. package/modern/components/base-select/index.js +1 -1
  129. package/modern/components/base-select-mobile/Component.js +3 -3
  130. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  131. package/modern/components/base-select-mobile/checkmark/index.css +5 -5
  132. package/modern/components/base-select-mobile/index.css +11 -11
  133. package/modern/components/base-select-mobile/index.d.ts +1 -1
  134. package/modern/components/base-select-mobile/index.js +3 -3
  135. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  136. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  137. package/modern/components/checkmark/Component.js +1 -1
  138. package/modern/components/checkmark/index.css +7 -7
  139. package/modern/components/field/Component.js +1 -1
  140. package/modern/components/field/index.css +9 -9
  141. package/modern/components/index.js +3 -3
  142. package/modern/components/native-select/Component.js +1 -1
  143. package/modern/components/optgroup/Component.js +1 -1
  144. package/modern/components/optgroup/index.css +6 -6
  145. package/modern/components/option/Component.js +1 -1
  146. package/modern/components/option/index.css +20 -20
  147. package/modern/components/options-list/Component.js +1 -1
  148. package/modern/components/options-list/index.css +6 -6
  149. package/modern/components/select-mobile/Component.js +3 -3
  150. package/modern/components/select-mobile/index.d.ts +1 -1
  151. package/modern/components/select-mobile/index.js +3 -3
  152. package/modern/components/select-modal-mobile/Component.js +3 -3
  153. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  154. package/modern/components/select-modal-mobile/index.js +3 -3
  155. package/modern/components/virtual-options-list/Component.js +1 -1
  156. package/modern/components/virtual-options-list/index.css +12 -12
  157. package/modern/index.js +3 -3
  158. package/modern/{intersection-observer-34eae15e.d.ts → intersection-observer-1b157c7d.d.ts} +0 -0
  159. package/modern/{intersection-observer-34eae15e.js → intersection-observer-1b157c7d.js} +0 -0
  160. package/modern/presets/index.js +3 -3
  161. package/modern/presets/useLazyLoading/hook.d.ts +2 -2
  162. package/modern/presets/useLazyLoading/hook.js +3 -3
  163. package/modern/presets/useLazyLoading/index.css +2 -2
  164. package/modern/presets/useSelectWithApply/hook.js +3 -3
  165. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  166. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  167. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  168. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  169. package/modern/presets/useSelectWithLoading/hook.d.ts +2 -2
  170. package/modern/presets/useSelectWithLoading/hook.js +2 -2
  171. package/modern/presets/useSelectWithLoading/index.css +2 -2
  172. package/modern/typings.d.ts +1 -1
  173. package/package.json +14 -14
  174. package/presets/index.js +4 -4
  175. package/presets/useLazyLoading/hook.d.ts +2 -2
  176. package/presets/useLazyLoading/hook.js +4 -4
  177. package/presets/useLazyLoading/index.css +2 -2
  178. package/presets/useSelectWithApply/hook.js +4 -4
  179. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  180. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  181. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  182. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  183. package/presets/useSelectWithLoading/hook.d.ts +2 -2
  184. package/presets/useSelectWithLoading/hook.js +2 -2
  185. package/presets/useSelectWithLoading/index.css +2 -2
  186. package/{tslib.es6-15499741.d.ts → tslib.es6-b1b539e3.d.ts} +0 -0
  187. package/{tslib.es6-15499741.js → tslib.es6-b1b539e3.js} +0 -0
  188. package/typings.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign, b as __spreadArrays } from './tslib.es6-f0350fbc.js';
1
+ import { _ as __rest, a as __assign, b as __spreadArrays } from './tslib.es6-7605f197.js';
2
2
  import React, { useMemo, useState, useRef, useCallback, useEffect, forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/hooks';
@@ -14,7 +14,7 @@ import { OptionsList } from './components/options-list/Component.js';
14
14
  import '@alfalab/core-components-checkbox/esm';
15
15
  import { Option } from './components/option/Component.js';
16
16
  import { useMultipleSelection, useCombobox } from 'downshift';
17
- import { g as getDataTestId } from './Component-1efee430.js';
17
+ import { g as getDataTestId } from './Component-bc31c3c6.js';
18
18
  import './Component.js';
19
19
  import { BottomSheet } from '@alfalab/core-components-bottom-sheet/esm';
20
20
  import { ModalMobile } from '@alfalab/core-components-modal/esm/mobile';
@@ -23,7 +23,7 @@ import { OptionsList as OptionsList$1 } from './components/base-select-mobile/op
23
23
  import { Checkmark } from './components/base-select-mobile/checkmark/Component.js';
24
24
  import 'react-virtual';
25
25
  import '@alfalab/core-components-skeleton/esm';
26
- import './intersection-observer-34eae15e.js';
26
+ import './intersection-observer-1b157c7d.js';
27
27
 
28
28
  var SELECT_ALL_KEY = 'select_all';
29
29
  var selectAllOption = { key: SELECT_ALL_KEY, content: 'Выбрать все' };
@@ -93,7 +93,7 @@ function useSelectWithApply(_a) {
93
93
  };
94
94
  }
95
95
 
96
- var styles = {"footer":"select__footer_1oz1x","withBorder":"select__withBorder_1oz1x"};
96
+ var styles = {"footer":"select__footer_1kexb","withBorder":"select__withBorder_1kexb"};
97
97
  require('./presets/useSelectWithApply/options-list-with-apply/index.css')
98
98
 
99
99
  var OptionsListWithApply = forwardRef(function (_a, ref) {
@@ -139,7 +139,7 @@ var OptionsListWithApply = forwardRef(function (_a, ref) {
139
139
  showClear && (React.createElement(Button, { size: 'xxs', view: 'secondary', onClick: handleClear }, "\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C"))) })));
140
140
  });
141
141
 
142
- var styles$1 = {"component":"select__component_1qgc7","popoverInner":"select__popoverInner_1qgc7","sheet":"select__sheet_1qgc7","sheetContent":"select__sheetContent_1qgc7","sheetContainer":"select__sheetContainer_1qgc7","block":"select__block_1qgc7","option":"select__option_1qgc7","optionGroup":"select__optionGroup_1qgc7"};
142
+ var styles$1 = {"component":"select__component_1igvz","popoverInner":"select__popoverInner_1igvz","sheet":"select__sheet_1igvz","sheetContent":"select__sheetContent_1igvz","sheetContainer":"select__sheetContainer_1igvz","block":"select__block_1igvz","option":"select__option_1igvz","optionGroup":"select__optionGroup_1igvz"};
143
143
  require('./components/base-select-mobile/index.css')
144
144
 
145
145
  var BaseSelectMobile = forwardRef(function (_a, ref) {
package/esm/Component.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-f0350fbc.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-7605f197.js';
2
2
  import React, { forwardRef } from '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 { B as BaseSelect } from './Component-1efee430.js';
21
+ import { B as BaseSelect } from './Component-bc31c3c6.js';
22
22
 
23
23
  var Select = forwardRef(function (_a, ref) {
24
24
  var _b = _a.Arrow, Arrow$1 = _b === void 0 ? Arrow : _b, _c = _a.Field, Field$1 = _c === void 0 ? Field : _c, _d = _a.OptionsList, OptionsList$1 = _d === void 0 ? OptionsList : _d, _e = _a.Optgroup, Optgroup$1 = _e === void 0 ? Optgroup : _e, _f = _a.Option, Option$1 = _f === void 0 ? Option : _f, restProps = __rest(_a, ["Arrow", "Field", "OptionsList", "Optgroup", "Option"]);
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { ChevronDownMIcon } from '@alfalab/icons-glyph/ChevronDownMIcon';
4
4
 
5
- var styles = {"arrow":"select__arrow_130xj","open":"select__open_130xj"};
5
+ var styles = {"arrow":"select__arrow_bdliz","open":"select__open_bdliz"};
6
6
  require('./index.css')
7
7
 
8
8
  var Arrow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: qjrph */
1
+ /* hash: 114dc */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -24,7 +24,7 @@
24
24
 
25
25
  /* optgroup */
26
26
  }
27
- .select__arrow_130xj {
27
+ .select__arrow_bdliz {
28
28
  display: block;
29
29
  width: 24px;
30
30
  height: 24px;
@@ -32,6 +32,6 @@
32
32
 
33
33
  transition: transform 0.15s ease-in-out, opacity 0.2s ease;
34
34
  }
35
- .select__open_130xj {
35
+ .select__open_bdliz {
36
36
  transform: var(--arrow-transform);
37
37
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-f0350fbc.js';
1
+ import '../../tslib.es6-7605f197.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../../utils.js';
@@ -7,4 +7,4 @@ import '@juggle/resize-observer';
7
7
  import '@alfalab/core-components-popover/esm';
8
8
  import 'downshift';
9
9
  import '../native-select/Component.js';
10
- export { B as BaseSelect } from '../../Component-1efee430.js';
10
+ export { B as BaseSelect } from '../../Component-bc31c3c6.js';
@@ -1,4 +1,4 @@
1
- /* hash: m3bi2 */
1
+ /* hash: nq66f */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -28,12 +28,12 @@
28
28
 
29
29
  /* optgroup */
30
30
  }
31
- .select__component_1wvyj {
31
+ .select__component_ljplh {
32
32
  width: max-content;
33
33
  position: relative;
34
34
  outline: 0;
35
35
  }
36
- .select__popoverInner_1wvyj {
36
+ .select__popoverInner_ljplh {
37
37
  padding-top: var(--select-options-list-offset);
38
38
  padding-bottom: var(--select-options-list-offset);
39
39
  box-shadow: none;
@@ -42,7 +42,7 @@
42
42
  border-radius: 0;
43
43
  position: relative;
44
44
  }
45
- .select__optionsList_1wvyj {
45
+ .select__optionsList_ljplh {
46
46
  padding-top: var(--select-options-list-top-padding);
47
47
  padding-bottom: var(--select-options-list-bottom-padding);
48
48
  box-shadow: var(--select-options-list-box-shadow);
@@ -51,7 +51,7 @@
51
51
  overflow: hidden;
52
52
  will-change: transform;
53
53
  }
54
- .select__nativeSelect_1wvyj {
54
+ .select__nativeSelect_ljplh {
55
55
  opacity: 0;
56
56
  overflow: hidden;
57
57
  position: absolute;
@@ -65,12 +65,12 @@
65
65
  cursor: pointer;
66
66
  z-index: 1;
67
67
  }
68
- .select__block_1wvyj {
68
+ .select__block_ljplh {
69
69
  width: 100%;
70
70
  }
71
71
  /* width: max-content; fix for IE */
72
72
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
73
- .select__component_1wvyj {
73
+ .select__component_ljplh {
74
74
  float: left;
75
75
  clear: left;
76
76
  }
@@ -1 +1 @@
1
- export * from "../../Component-1efee430";
1
+ export * from "../../Component-bc31c3c6";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-f0350fbc.js';
1
+ import '../../tslib.es6-7605f197.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../../utils.js';
@@ -7,4 +7,4 @@ import '@juggle/resize-observer';
7
7
  import '@alfalab/core-components-popover/esm';
8
8
  import 'downshift';
9
9
  import '../native-select/Component.js';
10
- export { B as BaseSelect } from '../../Component-1efee430.js';
10
+ export { B as BaseSelect } from '../../Component-bc31c3c6.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-f0350fbc.js';
1
+ import '../../tslib.es6-7605f197.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-1efee430.js';
21
+ import '../../Component-bc31c3c6.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 './options-list/Component.js';
28
28
  import './checkmark/Component.js';
29
- export { B as BaseSelectMobile } from '../../Component-3c11e144.js';
29
+ export { B as BaseSelectMobile } from '../../Component-c1c1bbe8.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-34eae15e.js';
32
+ import '../../intersection-observer-1b157c7d.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"checkmark":"select__checkmark_9w4jc","selected":"select__selected_9w4jc"};
4
+ var styles = {"checkmark":"select__checkmark_d8cl6","selected":"select__selected_d8cl6"};
5
5
  require('./index.css')
6
6
 
7
7
  var Checkmark = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1xzhp */
1
+ /* hash: 1uyhe */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -14,11 +14,11 @@
14
14
  /* option */
15
15
 
16
16
  /* checkmark */
17
- --select-mobile-checkmark-background: url('https://alfabank.gcdn.co/icons/glyph_checkmark_m.svg');
17
+ --select-mobile-checkmark-background: url('https://alfabank.servicecdn.ru/icons/glyph_checkmark_m.svg');
18
18
 
19
19
  /* optgroup */
20
20
  }
21
- .select__checkmark_9w4jc {
21
+ .select__checkmark_d8cl6 {
22
22
  flex-shrink: 0;
23
23
  display: flex;
24
24
  align-items: center;
@@ -29,9 +29,9 @@
29
29
  height: 24px;
30
30
  opacity: 0
31
31
  }
32
- .select__checkmark_9w4jc:first-child {
32
+ .select__checkmark_d8cl6:first-child {
33
33
  display: none;
34
34
  }
35
- .select__checkmark_9w4jc.select__selected_9w4jc {
35
+ .select__checkmark_d8cl6.select__selected_d8cl6 {
36
36
  opacity: 1;
37
37
  }
@@ -1,4 +1,4 @@
1
- /* hash: 12jno */
1
+ /* hash: upn79 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,12 +24,12 @@
24
24
 
25
25
  /* optgroup */
26
26
  }
27
- .select__component_1qgc7 {
27
+ .select__component_1igvz {
28
28
  width: max-content;
29
29
  position: relative;
30
30
  outline: 0;
31
31
  }
32
- .select__popoverInner_1qgc7 {
32
+ .select__popoverInner_1igvz {
33
33
  padding-top: var(--select-options-list-offset);
34
34
  padding-bottom: var(--select-options-list-offset);
35
35
  box-shadow: none;
@@ -38,31 +38,31 @@
38
38
  border-radius: 0;
39
39
  position: relative;
40
40
  }
41
- .select__sheet_1qgc7 {
41
+ .select__sheet_1igvz {
42
42
  overflow: hidden;
43
43
  }
44
- .select__sheetContent_1qgc7 {
44
+ .select__sheetContent_1igvz {
45
45
  padding: 0;
46
46
  }
47
- .select__sheetContainer_1qgc7 {
47
+ .select__sheetContainer_1igvz {
48
48
  padding: 0;
49
49
  }
50
- .select__block_1qgc7 {
50
+ .select__block_1igvz {
51
51
  width: 100%;
52
52
  }
53
53
  /* width: max-content; fix for IE */
54
54
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
55
- .select__component_1qgc7 {
55
+ .select__component_1igvz {
56
56
  float: left;
57
57
  clear: left;
58
58
  }
59
59
  }
60
- .select__option_1qgc7 {
60
+ .select__option_1igvz {
61
61
  padding: var(--gap-2xs) var(--gap-l) var(--gap-2xs) var(--gap-m)
62
62
  }
63
- .select__option_1qgc7:before {
63
+ .select__option_1igvz:before {
64
64
  display: none;
65
65
  }
66
- .select__optionGroup_1qgc7 {
66
+ .select__optionGroup_1igvz {
67
67
  padding: var(--gap-m) var(--gap-m) var(--gap-xs);
68
68
  }
@@ -1 +1 @@
1
- export * from "../../Component-3c11e144";
1
+ export * from "../../Component-c1c1bbe8";
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-f0350fbc.js';
1
+ import '../../tslib.es6-7605f197.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-1efee430.js';
21
+ import '../../Component-bc31c3c6.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 './options-list/Component.js';
28
28
  import './checkmark/Component.js';
29
- export { B as BaseSelectMobile } from '../../Component-3c11e144.js';
29
+ export { B as BaseSelectMobile } from '../../Component-c1c1bbe8.js';
30
30
  import 'react-virtual';
31
31
  import '@alfalab/core-components-skeleton/esm';
32
- import '../../intersection-observer-34eae15e.js';
32
+ import '../../intersection-observer-1b157c7d.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../../tslib.es6-f0350fbc.js';
1
+ import { a as __assign } from '../../../tslib.es6-7605f197.js';
2
2
  import React, { useContext, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { isGroup } from '../../../utils.js';
@@ -6,7 +6,7 @@ import { Optgroup } from '../../optgroup/Component.js';
6
6
  import { Button } from '@alfalab/core-components-button/esm';
7
7
  import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
8
8
 
9
- var styles = {"optionsList":"select__optionsList_1fjfd","emptyPlaceholder":"select__emptyPlaceholder_1fjfd","l":"select__l_1fjfd","xl":"select__xl_1fjfd","footer":"select__footer_1fjfd","footerButton":"select__footerButton_1fjfd","highlighted":"select__highlighted_1fjfd"};
9
+ var styles = {"optionsList":"select__optionsList_clxw0","emptyPlaceholder":"select__emptyPlaceholder_clxw0","l":"select__l_clxw0","xl":"select__xl_clxw0","footer":"select__footer_clxw0","footerButton":"select__footerButton_clxw0","highlighted":"select__highlighted_clxw0"};
10
10
  require('./index.css')
11
11
 
12
12
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 1p3hs */
1
+ /* hash: 1nv1r */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -32,20 +32,20 @@
32
32
  --select-mobile-footer-border-top: 1px solid var(--color-light-border-primary);
33
33
  --select-mobile-footer-background-color: var(--color-light-bg-primary);
34
34
  }
35
- .select__optionsList_1fjfd {
35
+ .select__optionsList_clxw0 {
36
36
  width: 100%;
37
37
  outline: none;
38
38
  box-sizing: border-box;
39
39
  }
40
- .select__emptyPlaceholder_1fjfd {
40
+ .select__emptyPlaceholder_clxw0 {
41
41
  padding: var(--gap-m) var(--gap-s);
42
42
  color: var(--select-options-list-empty-placeholder-color);
43
43
  }
44
- .select__l_1fjfd .select__emptyPlaceholder_1fjfd,
45
- .select__xl_1fjfd .select__emptyPlaceholder_1fjfd {
44
+ .select__l_clxw0 .select__emptyPlaceholder_clxw0,
45
+ .select__xl_clxw0 .select__emptyPlaceholder_clxw0 {
46
46
  padding: var(--gap-xl) var(--gap-m);
47
47
  }
48
- .select__footer_1fjfd {
48
+ .select__footer_clxw0 {
49
49
  display: flex;
50
50
  justify-content: space-between;
51
51
  position: sticky;
@@ -53,13 +53,13 @@
53
53
  background-color: var(--color-light-bg-primary);
54
54
  bottom: 0
55
55
  }
56
- .select__footer_1fjfd .select__footerButton_1fjfd:first-of-type {
56
+ .select__footer_clxw0 .select__footerButton_clxw0:first-of-type {
57
57
  margin-right: var(--gap-m);
58
58
  }
59
- .select__footerButton_1fjfd {
59
+ .select__footerButton_clxw0 {
60
60
  width: 50%;
61
61
  }
62
- .select__highlighted_1fjfd {
62
+ .select__highlighted_clxw0 {
63
63
  border-top: var(--select-mobile-footer-border-top);
64
64
  background-color: var(--select-mobile-footer-background-color);
65
65
  }
@@ -1,4 +1,4 @@
1
- import '../../../tslib.es6-f0350fbc.js';
1
+ import '../../../tslib.es6-7605f197.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../../../utils.js';
@@ -2,7 +2,7 @@ import React, { useCallback } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/esm';
4
4
 
5
- var styles = {"checkmark":"select__checkmark_1cr2a","single":"select__single_1cr2a","selected":"select__selected_1cr2a","before":"select__before_1cr2a","multiple":"select__multiple_1cr2a","after":"select__after_1cr2a"};
5
+ var styles = {"checkmark":"select__checkmark_1fkq6","single":"select__single_1fkq6","selected":"select__selected_1fkq6","before":"select__before_1fkq6","multiple":"select__multiple_1fkq6","after":"select__after_1fkq6"};
6
6
  require('./index.css')
7
7
 
8
8
  var Checkmark = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1pthv */
1
+ /* hash: 5yelm */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -35,11 +35,11 @@
35
35
 
36
36
  /* optgroup */
37
37
  }
38
- .select__checkmark_1cr2a {
38
+ .select__checkmark_1fkq6 {
39
39
  flex-shrink: 0;
40
40
  margin: var(--select-checkmark-margin);
41
41
  }
42
- .select__single_1cr2a {
42
+ .select__single_1fkq6 {
43
43
  display: flex;
44
44
  align-items: center;
45
45
  justify-content: center;
@@ -50,15 +50,15 @@
50
50
  width: var(--select-checkmark-size);
51
51
  height: var(--select-checkmark-size)
52
52
  }
53
- .select__single_1cr2a.select__selected_1cr2a {
53
+ .select__single_1fkq6.select__selected_1fkq6 {
54
54
  opacity: 1;
55
55
  }
56
- .select__before_1cr2a {
56
+ .select__before_1fkq6 {
57
57
  display: var(--select-checkmark-before-display)
58
58
  }
59
- .select__before_1cr2a.select__multiple_1cr2a {
59
+ .select__before_1fkq6.select__multiple_1fkq6 {
60
60
  margin-right: var(--gap-s);
61
61
  }
62
- .select__after_1cr2a {
62
+ .select__after_1fkq6 {
63
63
  display: var(--select-checkmark-after-display);
64
64
  }
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-f0350fbc.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-7605f197.js';
2
2
  import React, { useState, useRef, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { useFocus } from '@alfalab/hooks';
5
5
  import { FormControl } from '@alfalab/core-components-form-control/esm';
6
6
  import { joinOptions } from '../../utils.js';
7
7
 
8
- var styles = {"component":"select__component_1jraf","field":"select__field_1jraf","disabled":"select__disabled_1jraf","arrow":"select__arrow_1jraf","placeholder":"select__placeholder_1jraf","contentWrapper":"select__contentWrapper_1jraf","value":"select__value_1jraf","focusVisible":"select__focusVisible_1jraf"};
8
+ var styles = {"component":"select__component_nnnut","field":"select__field_nnnut","disabled":"select__disabled_nnnut","arrow":"select__arrow_nnnut","placeholder":"select__placeholder_nnnut","contentWrapper":"select__contentWrapper_nnnut","value":"select__value_nnnut","focusVisible":"select__focusVisible_nnnut"};
9
9
  require('./index.css')
10
10
 
11
11
  var Field = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: qw87r */
1
+ /* hash: 1wjw6 */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  --color-light-text-secondary: #546272;
@@ -26,24 +26,24 @@
26
26
 
27
27
  /* optgroup */
28
28
  }
29
- .select__component_1jraf {
29
+ .select__component_nnnut {
30
30
  width: 100%;
31
31
  outline: none;
32
32
  }
33
- .select__field_1jraf:not(.select__disabled_1jraf) {
33
+ .select__field_nnnut:not(.select__disabled_nnnut) {
34
34
  cursor: pointer
35
35
  }
36
- .select__field_1jraf:not(.select__disabled_1jraf):hover .select__arrow_1jraf {
36
+ .select__field_nnnut:not(.select__disabled_nnnut):hover .select__arrow_nnnut {
37
37
  opacity: var(--select-arrow-hover-opacity);
38
38
  }
39
- .select__disabled_1jraf {
39
+ .select__disabled_nnnut {
40
40
  cursor: var(--disabled-cursor);
41
41
  }
42
42
  /* TODO: Заюзать переменные из инпута */
43
- .select__placeholder_1jraf {
43
+ .select__placeholder_nnnut {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .select__contentWrapper_1jraf {
46
+ .select__contentWrapper_nnnut {
47
47
  font-size: 16px;
48
48
  line-height: 20px;
49
49
  font-weight: 400;
@@ -53,12 +53,12 @@
53
53
  overflow: hidden;
54
54
  width: 100%;
55
55
  }
56
- .select__value_1jraf {
56
+ .select__value_nnnut {
57
57
  overflow: hidden;
58
58
  text-overflow: ellipsis;
59
59
  text-align: left;
60
60
  }
61
- .select__focusVisible_1jraf {
61
+ .select__focusVisible_nnnut {
62
62
  outline: 2px solid var(--focus-color);
63
63
  outline-offset: 2px;
64
64
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-f0350fbc.js';
1
+ import '../../tslib.es6-7605f197.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-f0350fbc.js';
1
+ import '../tslib.es6-7605f197.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
- export { B as BaseSelect } from '../Component-1efee430.js';
21
+ export { B as BaseSelect } from '../Component-bc31c3c6.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,8 +26,8 @@ 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, a as SelectModalMobile } from '../Component-3c11e144.js';
29
+ export { S as SelectMobile, a as SelectModalMobile } from '../Component-c1c1bbe8.js';
30
30
  import 'react-virtual';
31
31
  export { VirtualOptionsList } from './virtual-options-list/Component.js';
32
32
  import '@alfalab/core-components-skeleton/esm';
33
- import '../intersection-observer-34eae15e.js';
33
+ import '../intersection-observer-1b157c7d.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-f0350fbc.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-7605f197.js';
2
2
  import React, { forwardRef, useCallback } from 'react';
3
3
  import { isGroup } from '../../utils.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-f0350fbc.js';
1
+ import '../../tslib.es6-7605f197.js';
2
2
  import 'react';
3
3
  import '../../utils.js';
4
4
  export { NativeSelect } from './Component.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"optgroup":"select__optgroup_1j9st","label":"select__label_1j9st","l":"select__l_1j9st","xl":"select__xl_1j9st"};
4
+ var styles = {"optgroup":"select__optgroup_4i8a2","label":"select__label_4i8a2","l":"select__l_4i8a2","xl":"select__xl_4i8a2"};
5
5
  require('./index.css')
6
6
 
7
7
  var Optgroup = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: rrn1r */
1
+ /* hash: 6oov0 */
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_1j9st {
36
+ .select__optgroup_4i8a2 {
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_1j9st + *[role='option']:before {
46
+ .select__optgroup_4i8a2 + *[role='option']:before {
47
47
  display: none;
48
48
  }
49
- .select__label_1j9st {
49
+ .select__label_4i8a2 {
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_1j9st,
60
- .select__xl_1j9st {
59
+ .select__l_4i8a2,
60
+ .select__xl_4i8a2 {
61
61
  padding-left: var(--select-optgroup-l-left-padding);
62
62
  padding-right: var(--select-optgroup-l-right-padding);
63
63
  }
@@ -1,10 +1,10 @@
1
- import { a as __assign } from '../../tslib.es6-f0350fbc.js';
1
+ import { a as __assign } from '../../tslib.es6-7605f197.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_1uscu","disabled":"select__disabled_1uscu","s":"select__s_1uscu","m":"select__m_1uscu","l":"select__l_1uscu","xl":"select__xl_1uscu","selected":"select__selected_1uscu","highlighted":"select__highlighted_1uscu","content":"select__content_1uscu","textContent":"select__textContent_1uscu"};
7
+ var styles = {"option":"select__option_ckswc","disabled":"select__disabled_ckswc","s":"select__s_ckswc","m":"select__m_ckswc","l":"select__l_ckswc","xl":"select__xl_ckswc","selected":"select__selected_ckswc","highlighted":"select__highlighted_ckswc","content":"select__content_ckswc","textContent":"select__textContent_ckswc"};
8
8
  require('./index.css')
9
9
 
10
10
  var Option = function (_a) {