@alfalab/core-components-select 10.12.3 → 10.12.8

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 (212) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{Component-c51c3bb0.d.ts → Component-adb77a91.d.ts} +0 -0
  3. package/{Component-c51c3bb0.js → Component-adb77a91.js} +5 -5
  4. package/{Component-42bae619.d.ts → Component-b4c00a84.d.ts} +0 -0
  5. package/{Component-42bae619.js → Component-b4c00a84.js} +2 -2
  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/Component-213c00ab.js +1 -1
  48. package/cssm/Component-26c7067e.js +7 -7
  49. package/cssm/Component.js +4 -4
  50. package/cssm/components/base-select/Component.js +1 -1
  51. package/cssm/components/base-select/index.js +1 -1
  52. package/cssm/components/base-select-mobile/Component.js +9 -9
  53. package/cssm/components/base-select-mobile/checkmark/index.module.css +1 -1
  54. package/cssm/components/base-select-mobile/index.js +9 -9
  55. package/cssm/components/base-select-mobile/options-list/Component.js +2 -2
  56. package/cssm/components/base-select-mobile/options-list/index.js +2 -2
  57. package/cssm/components/checkmark/Component.js +1 -1
  58. package/cssm/components/checkmark/index.js +1 -1
  59. package/cssm/components/field/Component.js +1 -1
  60. package/cssm/components/field/index.js +1 -1
  61. package/cssm/components/index.js +9 -9
  62. package/cssm/components/option/Component.js +1 -1
  63. package/cssm/components/option/index.js +1 -1
  64. package/cssm/components/options-list/Component.js +1 -1
  65. package/cssm/components/options-list/index.js +1 -1
  66. package/cssm/components/select-mobile/Component.js +9 -9
  67. package/cssm/components/select-mobile/index.js +9 -9
  68. package/cssm/components/select-modal-mobile/Component.js +9 -9
  69. package/cssm/components/select-modal-mobile/index.js +9 -9
  70. package/cssm/components/virtual-options-list/Component.js +1 -1
  71. package/cssm/components/virtual-options-list/index.js +1 -1
  72. package/cssm/index.js +9 -9
  73. package/cssm/presets/index.js +9 -9
  74. package/cssm/presets/useLazyLoading/hook.js +2 -2
  75. package/cssm/presets/useSelectWithApply/hook.js +9 -9
  76. package/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +9 -9
  77. package/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +9 -9
  78. package/cssm/presets/useSelectWithLoading/hook.js +2 -2
  79. package/esm/{Component-265497f7.d.ts → Component-3628acb7.d.ts} +0 -0
  80. package/esm/{Component-265497f7.js → Component-3628acb7.js} +12 -12
  81. package/esm/{Component-6eee2298.d.ts → Component-5a1007fc.d.ts} +0 -0
  82. package/esm/{Component-6eee2298.js → Component-5a1007fc.js} +3 -3
  83. package/esm/Component.js +6 -6
  84. package/esm/components/arrow/Component.js +1 -1
  85. package/esm/components/arrow/index.css +3 -3
  86. package/esm/components/base-select/Component.js +3 -3
  87. package/esm/components/base-select/index.css +7 -7
  88. package/esm/components/base-select/index.d.ts +1 -1
  89. package/esm/components/base-select/index.js +3 -3
  90. package/esm/components/base-select-mobile/Component.js +13 -13
  91. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  92. package/esm/components/base-select-mobile/checkmark/index.css +5 -5
  93. package/esm/components/base-select-mobile/index.css +11 -11
  94. package/esm/components/base-select-mobile/index.d.ts +1 -1
  95. package/esm/components/base-select-mobile/index.js +13 -13
  96. package/esm/components/base-select-mobile/options-list/Component.js +4 -4
  97. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  98. package/esm/components/base-select-mobile/options-list/index.js +3 -3
  99. package/esm/components/checkmark/Component.js +2 -2
  100. package/esm/components/checkmark/index.css +7 -7
  101. package/esm/components/checkmark/index.js +1 -1
  102. package/esm/components/field/Component.js +3 -3
  103. package/esm/components/field/index.css +9 -9
  104. package/esm/components/field/index.js +2 -2
  105. package/esm/components/index.js +13 -13
  106. package/esm/components/native-select/Component.js +1 -1
  107. package/esm/components/native-select/index.js +1 -1
  108. package/esm/components/optgroup/Component.js +1 -1
  109. package/esm/components/optgroup/index.css +6 -6
  110. package/esm/components/option/Component.js +3 -3
  111. package/esm/components/option/index.css +20 -20
  112. package/esm/components/option/index.js +2 -2
  113. package/esm/components/options-list/Component.js +3 -3
  114. package/esm/components/options-list/index.css +6 -6
  115. package/esm/components/options-list/index.js +2 -2
  116. package/esm/components/select-mobile/Component.js +13 -13
  117. package/esm/components/select-mobile/index.d.ts +1 -1
  118. package/esm/components/select-mobile/index.js +13 -13
  119. package/esm/components/select-modal-mobile/Component.js +13 -13
  120. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  121. package/esm/components/select-modal-mobile/index.js +13 -13
  122. package/esm/components/virtual-options-list/Component.js +3 -3
  123. package/esm/components/virtual-options-list/index.css +12 -12
  124. package/esm/components/virtual-options-list/index.js +2 -2
  125. package/esm/index.js +13 -13
  126. package/esm/{intersection-observer-d0a39f31.d.ts → intersection-observer-c9359098.d.ts} +0 -0
  127. package/esm/{intersection-observer-d0a39f31.js → intersection-observer-c9359098.js} +0 -0
  128. package/esm/presets/index.js +13 -13
  129. package/esm/presets/useLazyLoading/hook.js +5 -5
  130. package/esm/presets/useLazyLoading/index.css +2 -2
  131. package/esm/presets/useSelectWithApply/hook.js +13 -13
  132. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +13 -13
  133. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  134. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  135. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +13 -13
  136. package/esm/presets/useSelectWithLoading/hook.js +4 -4
  137. package/esm/presets/useSelectWithLoading/index.css +2 -2
  138. package/esm/{tslib.es6-0e12acda.d.ts → tslib.es6-c081f302.d.ts} +0 -0
  139. package/esm/{tslib.es6-0e12acda.js → tslib.es6-c081f302.js} +0 -0
  140. package/index.js +4 -4
  141. package/{intersection-observer-04621f21.d.ts → intersection-observer-b4334d6c.d.ts} +0 -0
  142. package/{intersection-observer-04621f21.js → intersection-observer-b4334d6c.js} +0 -0
  143. package/modern/{Component-b550e5e4.d.ts → Component-75155b9f.d.ts} +0 -0
  144. package/modern/{Component-b550e5e4.js → Component-75155b9f.js} +11 -11
  145. package/modern/{Component-d025b2dd.d.ts → Component-eef8ac3b.d.ts} +0 -0
  146. package/modern/{Component-d025b2dd.js → Component-eef8ac3b.js} +2 -2
  147. package/modern/Component.js +5 -5
  148. package/modern/components/arrow/Component.js +1 -1
  149. package/modern/components/arrow/index.css +3 -3
  150. package/modern/components/base-select/Component.js +2 -2
  151. package/modern/components/base-select/index.css +7 -7
  152. package/modern/components/base-select/index.d.ts +1 -1
  153. package/modern/components/base-select/index.js +2 -2
  154. package/modern/components/base-select-mobile/Component.js +12 -12
  155. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  156. package/modern/components/base-select-mobile/checkmark/index.css +5 -5
  157. package/modern/components/base-select-mobile/index.css +11 -11
  158. package/modern/components/base-select-mobile/index.d.ts +1 -1
  159. package/modern/components/base-select-mobile/index.js +12 -12
  160. package/modern/components/base-select-mobile/options-list/Component.js +3 -3
  161. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  162. package/modern/components/base-select-mobile/options-list/index.js +2 -2
  163. package/modern/components/checkmark/Component.js +2 -2
  164. package/modern/components/checkmark/index.css +7 -7
  165. package/modern/components/checkmark/index.js +1 -1
  166. package/modern/components/field/Component.js +2 -2
  167. package/modern/components/field/index.css +9 -9
  168. package/modern/components/field/index.js +1 -1
  169. package/modern/components/index.js +12 -12
  170. package/modern/components/optgroup/Component.js +1 -1
  171. package/modern/components/optgroup/index.css +6 -6
  172. package/modern/components/option/Component.js +2 -2
  173. package/modern/components/option/index.css +20 -20
  174. package/modern/components/option/index.js +1 -1
  175. package/modern/components/options-list/Component.js +2 -2
  176. package/modern/components/options-list/index.css +6 -6
  177. package/modern/components/options-list/index.js +1 -1
  178. package/modern/components/select-mobile/Component.js +12 -12
  179. package/modern/components/select-mobile/index.d.ts +1 -1
  180. package/modern/components/select-mobile/index.js +12 -12
  181. package/modern/components/select-modal-mobile/Component.js +12 -12
  182. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  183. package/modern/components/select-modal-mobile/index.js +12 -12
  184. package/modern/components/virtual-options-list/Component.js +2 -2
  185. package/modern/components/virtual-options-list/index.css +12 -12
  186. package/modern/components/virtual-options-list/index.js +1 -1
  187. package/modern/index.js +12 -12
  188. package/modern/{intersection-observer-d0a39f31.d.ts → intersection-observer-c9359098.d.ts} +0 -0
  189. package/modern/{intersection-observer-d0a39f31.js → intersection-observer-c9359098.js} +0 -0
  190. package/modern/presets/index.js +12 -12
  191. package/modern/presets/useLazyLoading/hook.js +4 -4
  192. package/modern/presets/useLazyLoading/index.css +2 -2
  193. package/modern/presets/useSelectWithApply/hook.js +12 -12
  194. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +12 -12
  195. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  196. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  197. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +12 -12
  198. package/modern/presets/useSelectWithLoading/hook.js +3 -3
  199. package/modern/presets/useSelectWithLoading/index.css +2 -2
  200. package/package.json +12 -12
  201. package/presets/index.js +4 -4
  202. package/presets/useLazyLoading/hook.js +3 -3
  203. package/presets/useLazyLoading/index.css +2 -2
  204. package/presets/useSelectWithApply/hook.js +4 -4
  205. package/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
  206. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  207. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  208. package/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
  209. package/presets/useSelectWithLoading/hook.js +2 -2
  210. package/presets/useSelectWithLoading/index.css +2 -2
  211. /package/{tslib.es6-67676b9e.d.ts → tslib.es6-b0d6b344.d.ts} +0 -0
  212. /package/{tslib.es6-67676b9e.js → tslib.es6-b0d6b344.js} +0 -0
@@ -1,12 +1,12 @@
1
- import { a as __assign } from '../../../tslib.es6-0e12acda.js';
1
+ import { a as __assign } from '../../../tslib.es6-c081f302.js';
2
2
  import React, { useContext, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { isGroup } from '../../../utils.js';
5
5
  import { Optgroup } from '../../optgroup/Component.js';
6
- import { Button } from '@alfalab/core-components-button/dist/esm';
7
- import { BaseModalContext } from '@alfalab/core-components-base-modal/dist/esm';
6
+ import { Button } from '@alfalab/core-components-button/esm';
7
+ import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
8
8
 
9
- var styles = {"optionsList":"select__optionsList_17hin","emptyPlaceholder":"select__emptyPlaceholder_17hin","l":"select__l_17hin","xl":"select__xl_17hin","footer":"select__footer_17hin","footerButton":"select__footerButton_17hin","highlighted":"select__highlighted_17hin"};
9
+ var styles = {"optionsList":"select__optionsList_cpxrz","emptyPlaceholder":"select__emptyPlaceholder_cpxrz","l":"select__l_cpxrz","xl":"select__xl_cpxrz","footer":"select__footer_cpxrz","footerButton":"select__footerButton_cpxrz","highlighted":"select__highlighted_cpxrz"};
10
10
  require('./index.css')
11
11
 
12
12
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: tnsbi */
1
+ /* hash: nmfkw */
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_17hin {
35
+ .select__optionsList_cpxrz {
36
36
  width: 100%;
37
37
  outline: none;
38
38
  box-sizing: border-box;
39
39
  }
40
- .select__emptyPlaceholder_17hin {
40
+ .select__emptyPlaceholder_cpxrz {
41
41
  padding: var(--gap-m) var(--gap-s);
42
42
  color: var(--select-options-list-empty-placeholder-color);
43
43
  }
44
- .select__l_17hin .select__emptyPlaceholder_17hin,
45
- .select__xl_17hin .select__emptyPlaceholder_17hin {
44
+ .select__l_cpxrz .select__emptyPlaceholder_cpxrz,
45
+ .select__xl_cpxrz .select__emptyPlaceholder_cpxrz {
46
46
  padding: var(--gap-xl) var(--gap-m);
47
47
  }
48
- .select__footer_17hin {
48
+ .select__footer_cpxrz {
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_17hin .select__footerButton_17hin:first-of-type {
56
+ .select__footer_cpxrz .select__footerButton_cpxrz:first-of-type {
57
57
  margin-right: var(--gap-m);
58
58
  }
59
- .select__footerButton_17hin {
59
+ .select__footerButton_cpxrz {
60
60
  width: 50%;
61
61
  }
62
- .select__highlighted_17hin {
62
+ .select__highlighted_cpxrz {
63
63
  border-top: var(--select-mobile-footer-border-top);
64
64
  background-color: var(--select-mobile-footer-background-color);
65
65
  }
@@ -1,8 +1,8 @@
1
- import '../../../tslib.es6-0e12acda.js';
1
+ import '../../../tslib.es6-c081f302.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../../../utils.js';
5
5
  import '../../optgroup/Component.js';
6
- import '@alfalab/core-components-button/dist/esm';
7
- import '@alfalab/core-components-base-modal/dist/esm';
6
+ import '@alfalab/core-components-button/esm';
7
+ import '@alfalab/core-components-base-modal/esm';
8
8
  export { OptionsList } from './Component.js';
@@ -1,8 +1,8 @@
1
1
  import React, { useCallback } from 'react';
2
2
  import cn from 'classnames';
3
- import { Checkbox } from '@alfalab/core-components-checkbox/dist/esm';
3
+ import { Checkbox } from '@alfalab/core-components-checkbox/esm';
4
4
 
5
- var styles = {"checkmark":"select__checkmark_1ksz0","single":"select__single_1ksz0","selected":"select__selected_1ksz0","before":"select__before_1ksz0","multiple":"select__multiple_1ksz0","after":"select__after_1ksz0"};
5
+ var styles = {"checkmark":"select__checkmark_14vly","single":"select__single_14vly","selected":"select__selected_14vly","before":"select__before_14vly","multiple":"select__multiple_14vly","after":"select__after_14vly"};
6
6
  require('./index.css')
7
7
 
8
8
  var Checkmark = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: m83az */
1
+ /* hash: 10f4h */
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_1ksz0 {
38
+ .select__checkmark_14vly {
39
39
  flex-shrink: 0;
40
40
  margin: var(--select-checkmark-margin);
41
41
  }
42
- .select__single_1ksz0 {
42
+ .select__single_14vly {
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_1ksz0.select__selected_1ksz0 {
53
+ .select__single_14vly.select__selected_14vly {
54
54
  opacity: 1;
55
55
  }
56
- .select__before_1ksz0 {
56
+ .select__before_14vly {
57
57
  display: var(--select-checkmark-before-display)
58
58
  }
59
- .select__before_1ksz0.select__multiple_1ksz0 {
59
+ .select__before_14vly.select__multiple_14vly {
60
60
  margin-right: var(--gap-s);
61
61
  }
62
- .select__after_1ksz0 {
62
+ .select__after_14vly {
63
63
  display: var(--select-checkmark-after-display);
64
64
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '@alfalab/core-components-checkbox/dist/esm';
3
+ import '@alfalab/core-components-checkbox/esm';
4
4
  export { Checkmark } from './Component.js';
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-0e12acda.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c081f302.js';
2
2
  import React, { useState, useRef, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { useFocus } from '@alfalab/hooks';
5
- import { FormControl } from '@alfalab/core-components-form-control/dist/esm';
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_1rt75","field":"select__field_1rt75","disabled":"select__disabled_1rt75","arrow":"select__arrow_1rt75","placeholder":"select__placeholder_1rt75","contentWrapper":"select__contentWrapper_1rt75","value":"select__value_1rt75","focusVisible":"select__focusVisible_1rt75"};
8
+ var styles = {"component":"select__component_4ndnh","field":"select__field_4ndnh","disabled":"select__disabled_4ndnh","arrow":"select__arrow_4ndnh","placeholder":"select__placeholder_4ndnh","contentWrapper":"select__contentWrapper_4ndnh","value":"select__value_4ndnh","focusVisible":"select__focusVisible_4ndnh"};
9
9
  require('./index.css')
10
10
 
11
11
  var Field = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1mbxp */
1
+ /* hash: 1lyds */
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_1rt75 {
29
+ .select__component_4ndnh {
30
30
  width: 100%;
31
31
  outline: none;
32
32
  }
33
- .select__field_1rt75:not(.select__disabled_1rt75) {
33
+ .select__field_4ndnh:not(.select__disabled_4ndnh) {
34
34
  cursor: pointer
35
35
  }
36
- .select__field_1rt75:not(.select__disabled_1rt75):hover .select__arrow_1rt75 {
36
+ .select__field_4ndnh:not(.select__disabled_4ndnh):hover .select__arrow_4ndnh {
37
37
  opacity: var(--select-arrow-hover-opacity);
38
38
  }
39
- .select__disabled_1rt75 {
39
+ .select__disabled_4ndnh {
40
40
  cursor: var(--disabled-cursor);
41
41
  }
42
42
  /* TODO: Заюзать переменные из инпута */
43
- .select__placeholder_1rt75 {
43
+ .select__placeholder_4ndnh {
44
44
  color: var(--color-light-text-secondary);
45
45
  }
46
- .select__contentWrapper_1rt75 {
46
+ .select__contentWrapper_4ndnh {
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_1rt75 {
56
+ .select__value_4ndnh {
57
57
  overflow: hidden;
58
58
  text-overflow: ellipsis;
59
59
  text-align: left;
60
60
  }
61
- .select__focusVisible_1rt75 {
61
+ .select__focusVisible_4ndnh {
62
62
  outline: 2px solid var(--focus-color);
63
63
  outline-offset: 2px;
64
64
  }
@@ -1,7 +1,7 @@
1
- import '../../tslib.es6-0e12acda.js';
1
+ import '../../tslib.es6-c081f302.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '@alfalab/core-components-form-control/dist/esm';
5
+ import '@alfalab/core-components-form-control/esm';
6
6
  import '../../utils.js';
7
7
  export { Field } from './Component.js';
@@ -1,33 +1,33 @@
1
- import '../tslib.es6-0e12acda.js';
1
+ import '../tslib.es6-c081f302.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '@alfalab/core-components-form-control/dist/esm';
5
+ import '@alfalab/core-components-form-control/esm';
6
6
  import '../utils.js';
7
7
  export { Field } from './field/Component.js';
8
8
  import '@alfalab/icons-glyph/ChevronDownMIcon';
9
9
  export { Arrow } from './arrow/Component.js';
10
10
  import 'react-merge-refs';
11
- import '@alfalab/core-components-scrollbar/dist/esm';
11
+ import '@alfalab/core-components-scrollbar/esm';
12
12
  export { Optgroup } from './optgroup/Component.js';
13
13
  export { OptionsList } from './options-list/Component.js';
14
- import '@alfalab/core-components-checkbox/dist/esm';
14
+ import '@alfalab/core-components-checkbox/esm';
15
15
  import './checkmark/Component.js';
16
16
  export { Option } from './option/Component.js';
17
17
  import '@juggle/resize-observer';
18
- import '@alfalab/core-components-popover/dist/esm';
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-6eee2298.js';
21
+ export { B as BaseSelect } from '../Component-5a1007fc.js';
22
22
  import '../Component.js';
23
- import '@alfalab/core-components-bottom-sheet/dist/esm';
24
- import '@alfalab/core-components-modal/dist/esm/mobile';
25
- import '@alfalab/core-components-button/dist/esm';
26
- import '@alfalab/core-components-base-modal/dist/esm';
23
+ import '@alfalab/core-components-bottom-sheet/esm';
24
+ import '@alfalab/core-components-modal/esm/mobile';
25
+ import '@alfalab/core-components-button/esm';
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-265497f7.js';
29
+ export { S as SelectMobile, a as SelectModalMobile } from '../Component-3628acb7.js';
30
30
  import 'react-virtual';
31
31
  export { VirtualOptionsList } from './virtual-options-list/Component.js';
32
- import '@alfalab/core-components-skeleton/dist/esm';
33
- import '../intersection-observer-d0a39f31.js';
32
+ import '@alfalab/core-components-skeleton/esm';
33
+ import '../intersection-observer-c9359098.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-0e12acda.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-c081f302.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-0e12acda.js';
1
+ import '../../tslib.es6-c081f302.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_1b7w2","label":"select__label_1b7w2","l":"select__l_1b7w2","xl":"select__xl_1b7w2"};
4
+ var styles = {"optgroup":"select__optgroup_1m7wf","label":"select__label_1m7wf","l":"select__l_1m7wf","xl":"select__xl_1m7wf"};
5
5
  require('./index.css')
6
6
 
7
7
  var Optgroup = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1vd1m */
1
+ /* hash: 1oglt */
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_1b7w2 {
36
+ .select__optgroup_1m7wf {
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_1b7w2 + *[role='option']:before {
46
+ .select__optgroup_1m7wf + *[role='option']:before {
47
47
  display: none;
48
48
  }
49
- .select__label_1b7w2 {
49
+ .select__label_1m7wf {
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_1b7w2,
60
- .select__xl_1b7w2 {
59
+ .select__l_1m7wf,
60
+ .select__xl_1m7wf {
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-0e12acda.js';
1
+ import { a as __assign } from '../../tslib.es6-c081f302.js';
2
2
  import React, { isValidElement } from 'react';
3
3
  import cn from 'classnames';
4
- import '@alfalab/core-components-checkbox/dist/esm';
4
+ import '@alfalab/core-components-checkbox/esm';
5
5
  import { Checkmark } from '../checkmark/Component.js';
6
6
 
7
- var styles = {"option":"select__option_9wp3i","disabled":"select__disabled_9wp3i","s":"select__s_9wp3i","m":"select__m_9wp3i","l":"select__l_9wp3i","xl":"select__xl_9wp3i","selected":"select__selected_9wp3i","highlighted":"select__highlighted_9wp3i","content":"select__content_9wp3i","textContent":"select__textContent_9wp3i"};
7
+ var styles = {"option":"select__option_1f1ih","disabled":"select__disabled_1f1ih","s":"select__s_1f1ih","m":"select__m_1f1ih","l":"select__l_1f1ih","xl":"select__xl_1f1ih","selected":"select__selected_1f1ih","highlighted":"select__highlighted_1f1ih","content":"select__content_1f1ih","textContent":"select__textContent_1f1ih"};
8
8
  require('./index.css')
9
9
 
10
10
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1w16z */
1
+ /* hash: ythra */
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_9wp3i {
56
+ .select__option_1f1ih {
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_9wp3i:not(.select__disabled_9wp3i):active {
72
+ .select__option_1f1ih:not(.select__disabled_1f1ih):active {
73
73
  background: var(--select-option-active-background);
74
74
  color: var(--select-option-active-color);
75
75
  }
76
- .select__option_9wp3i:before {
76
+ .select__option_1f1ih: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_9wp3i:first-child:before {
87
+ .select__option_1f1ih:first-child:before {
88
88
  display: none;
89
89
  }
90
- .select__s_9wp3i {
90
+ .select__s_1f1ih {
91
91
  min-height: var(--size-s-height);
92
92
  }
93
- .select__m_9wp3i {
93
+ .select__m_1f1ih {
94
94
  min-height: var(--size-m-height);
95
95
  }
96
- .select__l_9wp3i {
96
+ .select__l_1f1ih {
97
97
  min-height: var(--size-l-height);
98
98
  }
99
- .select__xl_9wp3i {
99
+ .select__xl_1f1ih {
100
100
  min-height: var(--size-xl-height);
101
101
  }
102
- .select__l_9wp3i,
103
- .select__xl_9wp3i {
102
+ .select__l_1f1ih,
103
+ .select__xl_1f1ih {
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_9wp3i:before, .select__xl_9wp3i:before {
107
+ .select__l_1f1ih:before, .select__xl_1f1ih:before {
108
108
  left: var(--select-option-l-left-padding);
109
109
  right: var(--select-option-l-right-padding);
110
110
  }
111
- .select__selected_9wp3i {
111
+ .select__selected_1f1ih {
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_9wp3i {
116
+ .select__highlighted_1f1ih {
117
117
  background: var(--select-option-hover-background);
118
118
  color: var(--select-option-hover-color)
119
119
  }
120
- .select__highlighted_9wp3i:before,
121
- .select__highlighted_9wp3i + .select__option_9wp3i:before {
120
+ .select__highlighted_1f1ih:before,
121
+ .select__highlighted_1f1ih + .select__option_1f1ih:before {
122
122
  opacity: 0;
123
123
  }
124
- .select__disabled_9wp3i {
124
+ .select__disabled_1f1ih {
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_9wp3i {
129
+ .select__content_1f1ih {
130
130
  overflow: hidden;
131
131
  flex: 1;
132
132
  text-overflow: ellipsis;
133
133
  }
134
- .select__textContent_9wp3i {
134
+ .select__textContent_1f1ih {
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_9wp3i:after {
140
+ .select__option_1f1ih:after {
141
141
  min-height: inherit;
142
142
  font-size: 0;
143
143
  content: '';
@@ -1,6 +1,6 @@
1
- import '../../tslib.es6-0e12acda.js';
1
+ import '../../tslib.es6-c081f302.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '@alfalab/core-components-checkbox/dist/esm';
4
+ import '@alfalab/core-components-checkbox/esm';
5
5
  import '../checkmark/Component.js';
6
6
  export { Option } from './Component.js';
@@ -1,13 +1,13 @@
1
- import { a as __assign } from '../../tslib.es6-0e12acda.js';
1
+ import { a as __assign } from '../../tslib.es6-c081f302.js';
2
2
  import React, { forwardRef, useCallback, useRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { useMedia } from '@alfalab/hooks';
5
5
  import { useVisibleOptions, isGroup } from '../../utils.js';
6
6
  import mergeRefs from 'react-merge-refs';
7
- import { Scrollbar } from '@alfalab/core-components-scrollbar/dist/esm';
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_83snx","scrollable":"select__scrollable_83snx","emptyPlaceholder":"select__emptyPlaceholder_83snx","l":"select__l_83snx","xl":"select__xl_83snx"};
10
+ var styles = {"optionsList":"select__optionsList_d7lsz","scrollable":"select__scrollable_d7lsz","emptyPlaceholder":"select__emptyPlaceholder_d7lsz","l":"select__l_d7lsz","xl":"select__xl_d7lsz"};
11
11
  require('./index.css')
12
12
 
13
13
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 1g288 */
1
+ /* hash: 1myo1 */
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_83snx {
29
+ .select__optionsList_d7lsz {
30
30
  overflow: auto;
31
31
  width: 100%;
32
32
  outline: none;
33
33
  box-sizing: border-box;
34
34
  }
35
- .select__scrollable_83snx {
35
+ .select__scrollable_d7lsz {
36
36
  overflow: auto;
37
37
  width: 100%;
38
38
  }
39
- .select__emptyPlaceholder_83snx {
39
+ .select__emptyPlaceholder_d7lsz {
40
40
  padding: var(--gap-m) var(--gap-s);
41
41
  color: var(--select-options-list-empty-placeholder-color);
42
42
  }
43
- .select__l_83snx .select__emptyPlaceholder_83snx,
44
- .select__xl_83snx .select__emptyPlaceholder_83snx {
43
+ .select__l_d7lsz .select__emptyPlaceholder_d7lsz,
44
+ .select__xl_d7lsz .select__emptyPlaceholder_d7lsz {
45
45
  padding: var(--gap-xl) var(--gap-m);
46
46
  }
@@ -1,9 +1,9 @@
1
- import '../../tslib.es6-0e12acda.js';
1
+ import '../../tslib.es6-c081f302.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
5
  import '../../utils.js';
6
6
  import 'react-merge-refs';
7
- import '@alfalab/core-components-scrollbar/dist/esm';
7
+ import '@alfalab/core-components-scrollbar/esm';
8
8
  import '../optgroup/Component.js';
9
9
  export { OptionsList } from './Component.js';
@@ -1,32 +1,32 @@
1
- import '../../tslib.es6-0e12acda.js';
1
+ import '../../tslib.es6-c081f302.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '@alfalab/core-components-form-control/dist/esm';
5
+ import '@alfalab/core-components-form-control/esm';
6
6
  import '../../utils.js';
7
7
  import '../field/Component.js';
8
8
  import '@alfalab/icons-glyph/ChevronDownMIcon';
9
9
  import '../arrow/Component.js';
10
10
  import 'react-merge-refs';
11
- import '@alfalab/core-components-scrollbar/dist/esm';
11
+ import '@alfalab/core-components-scrollbar/esm';
12
12
  import '../optgroup/Component.js';
13
13
  import '../options-list/Component.js';
14
- import '@alfalab/core-components-checkbox/dist/esm';
14
+ import '@alfalab/core-components-checkbox/esm';
15
15
  import '../checkmark/Component.js';
16
16
  import '../option/Component.js';
17
17
  import '@juggle/resize-observer';
18
- import '@alfalab/core-components-popover/dist/esm';
18
+ import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-6eee2298.js';
21
+ import '../../Component-5a1007fc.js';
22
22
  import '../../Component.js';
23
- import '@alfalab/core-components-bottom-sheet/dist/esm';
24
- import '@alfalab/core-components-modal/dist/esm/mobile';
25
- import '@alfalab/core-components-button/dist/esm';
26
- import '@alfalab/core-components-base-modal/dist/esm';
23
+ import '@alfalab/core-components-bottom-sheet/esm';
24
+ import '@alfalab/core-components-modal/esm/mobile';
25
+ import '@alfalab/core-components-button/esm';
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-265497f7.js';
29
+ export { S as SelectMobile } from '../../Component-3628acb7.js';
30
30
  import 'react-virtual';
31
- import '@alfalab/core-components-skeleton/dist/esm';
32
- import '../../intersection-observer-d0a39f31.js';
31
+ import '@alfalab/core-components-skeleton/esm';
32
+ import '../../intersection-observer-c9359098.js';
@@ -1 +1 @@
1
- export * from "../../Component-265497f7";
1
+ export * from "../../Component-3628acb7";
@@ -1,32 +1,32 @@
1
- import '../../tslib.es6-0e12acda.js';
1
+ import '../../tslib.es6-c081f302.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '@alfalab/core-components-form-control/dist/esm';
5
+ import '@alfalab/core-components-form-control/esm';
6
6
  import '../../utils.js';
7
7
  import '../field/Component.js';
8
8
  import '@alfalab/icons-glyph/ChevronDownMIcon';
9
9
  import '../arrow/Component.js';
10
10
  import 'react-merge-refs';
11
- import '@alfalab/core-components-scrollbar/dist/esm';
11
+ import '@alfalab/core-components-scrollbar/esm';
12
12
  import '../optgroup/Component.js';
13
13
  import '../options-list/Component.js';
14
- import '@alfalab/core-components-checkbox/dist/esm';
14
+ import '@alfalab/core-components-checkbox/esm';
15
15
  import '../checkmark/Component.js';
16
16
  import '../option/Component.js';
17
17
  import '@juggle/resize-observer';
18
- import '@alfalab/core-components-popover/dist/esm';
18
+ import '@alfalab/core-components-popover/esm';
19
19
  import 'downshift';
20
20
  import '../native-select/Component.js';
21
- import '../../Component-6eee2298.js';
21
+ import '../../Component-5a1007fc.js';
22
22
  import '../../Component.js';
23
- import '@alfalab/core-components-bottom-sheet/dist/esm';
24
- import '@alfalab/core-components-modal/dist/esm/mobile';
25
- import '@alfalab/core-components-button/dist/esm';
26
- import '@alfalab/core-components-base-modal/dist/esm';
23
+ import '@alfalab/core-components-bottom-sheet/esm';
24
+ import '@alfalab/core-components-modal/esm/mobile';
25
+ import '@alfalab/core-components-button/esm';
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-265497f7.js';
29
+ export { S as SelectMobile } from '../../Component-3628acb7.js';
30
30
  import 'react-virtual';
31
- import '@alfalab/core-components-skeleton/dist/esm';
32
- import '../../intersection-observer-d0a39f31.js';
31
+ import '@alfalab/core-components-skeleton/esm';
32
+ import '../../intersection-observer-c9359098.js';