@alfalab/core-components-select 13.2.19 → 13.2.20

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 (181) hide show
  1. package/{Component-67e36290.js → Component-44ef3579.js} +1 -1
  2. package/{Component-86fe0799.js → Component-ab39b2d3.js} +4 -4
  3. package/Component.js +1 -1
  4. package/Component.responsive.js +3 -3
  5. package/components/arrow/Component.js +1 -1
  6. package/components/arrow/index.css +3 -3
  7. package/components/base-checkmark/Component.js +1 -1
  8. package/components/base-checkmark/index.css +4 -4
  9. package/components/base-option/Component.js +1 -1
  10. package/components/base-option/index.css +13 -13
  11. package/components/base-select/Component.js +1 -1
  12. package/components/base-select/index.css +8 -8
  13. package/components/base-select/index.d.ts +1 -1
  14. package/components/base-select/index.js +1 -1
  15. package/components/base-select-mobile/Component.js +3 -3
  16. package/components/base-select-mobile/checkmark/Component.js +1 -1
  17. package/components/base-select-mobile/checkmark/index.css +6 -6
  18. package/components/base-select-mobile/index.css +11 -11
  19. package/components/base-select-mobile/index.d.ts +1 -1
  20. package/components/base-select-mobile/index.js +3 -3
  21. package/components/base-select-mobile/options-list/Component.js +1 -1
  22. package/components/base-select-mobile/options-list/index.css +9 -9
  23. package/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  24. package/components/base-select-mobile/virtual-options-list/index.css +15 -15
  25. package/components/checkmark/Component.js +1 -1
  26. package/components/checkmark/index.css +10 -10
  27. package/components/field/Component.js +1 -1
  28. package/components/field/index.css +9 -9
  29. package/components/index.js +3 -3
  30. package/components/optgroup/Component.js +1 -1
  31. package/components/optgroup/index.css +6 -6
  32. package/components/option/Component.js +1 -1
  33. package/components/option/index.css +20 -20
  34. package/components/options-list/Component.js +1 -1
  35. package/components/options-list/index.css +9 -9
  36. package/components/select-mobile/Component.js +3 -3
  37. package/components/select-mobile/index.d.ts +1 -1
  38. package/components/select-mobile/index.js +3 -3
  39. package/components/select-modal-mobile/Component.js +3 -3
  40. package/components/select-modal-mobile/index.d.ts +1 -1
  41. package/components/select-modal-mobile/index.js +3 -3
  42. package/components/virtual-options-list/Component.js +1 -1
  43. package/components/virtual-options-list/index.css +15 -15
  44. package/esm/{Component-c79b7ae7.js → Component-1830cf5e.js} +4 -4
  45. package/esm/{Component-fdfce5e1.js → Component-578c3e05.js} +1 -1
  46. package/esm/Component.js +1 -1
  47. package/esm/Component.responsive.js +3 -3
  48. package/esm/components/arrow/Component.js +1 -1
  49. package/esm/components/arrow/index.css +3 -3
  50. package/esm/components/base-checkmark/Component.js +1 -1
  51. package/esm/components/base-checkmark/index.css +4 -4
  52. package/esm/components/base-option/Component.js +1 -1
  53. package/esm/components/base-option/index.css +13 -13
  54. package/esm/components/base-select/Component.js +1 -1
  55. package/esm/components/base-select/index.css +8 -8
  56. package/esm/components/base-select/index.d.ts +1 -1
  57. package/esm/components/base-select/index.js +1 -1
  58. package/esm/components/base-select-mobile/Component.js +3 -3
  59. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  60. package/esm/components/base-select-mobile/checkmark/index.css +6 -6
  61. package/esm/components/base-select-mobile/index.css +11 -11
  62. package/esm/components/base-select-mobile/index.d.ts +1 -1
  63. package/esm/components/base-select-mobile/index.js +3 -3
  64. package/esm/components/base-select-mobile/options-list/Component.js +1 -1
  65. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  66. package/esm/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  67. package/esm/components/base-select-mobile/virtual-options-list/index.css +15 -15
  68. package/esm/components/checkmark/Component.js +1 -1
  69. package/esm/components/checkmark/index.css +10 -10
  70. package/esm/components/field/Component.js +1 -1
  71. package/esm/components/field/index.css +9 -9
  72. package/esm/components/index.js +3 -3
  73. package/esm/components/optgroup/Component.js +1 -1
  74. package/esm/components/optgroup/index.css +6 -6
  75. package/esm/components/option/Component.js +1 -1
  76. package/esm/components/option/index.css +20 -20
  77. package/esm/components/options-list/Component.js +1 -1
  78. package/esm/components/options-list/index.css +9 -9
  79. package/esm/components/select-mobile/Component.js +3 -3
  80. package/esm/components/select-mobile/index.d.ts +1 -1
  81. package/esm/components/select-mobile/index.js +3 -3
  82. package/esm/components/select-modal-mobile/Component.js +3 -3
  83. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  84. package/esm/components/select-modal-mobile/index.js +3 -3
  85. package/esm/components/virtual-options-list/Component.js +1 -1
  86. package/esm/components/virtual-options-list/index.css +15 -15
  87. package/esm/index-3885b0d7.d.ts +1 -1
  88. package/esm/index.js +3 -3
  89. package/esm/presets/index.js +3 -3
  90. package/esm/presets/useLazyLoading/hook.js +2 -2
  91. package/esm/presets/useLazyLoading/index.css +2 -2
  92. package/esm/presets/useSelectWithApply/hook.js +3 -3
  93. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  94. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +3 -3
  95. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  96. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  97. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  98. package/esm/presets/useSelectWithLoading/index.css +2 -2
  99. package/esm/responsive.js +3 -3
  100. package/index-3885b0d7.d.ts +1 -1
  101. package/index.js +3 -3
  102. package/modern/{Component-979388ae.js → Component-a4a8e905.js} +1 -1
  103. package/modern/{Component-4c4a3ab4.js → Component-ae787d42.js} +4 -4
  104. package/modern/Component.js +1 -1
  105. package/modern/Component.responsive.js +3 -3
  106. package/modern/components/arrow/Component.js +1 -1
  107. package/modern/components/arrow/index.css +3 -3
  108. package/modern/components/base-checkmark/Component.js +1 -1
  109. package/modern/components/base-checkmark/index.css +4 -4
  110. package/modern/components/base-option/Component.js +1 -1
  111. package/modern/components/base-option/index.css +13 -13
  112. package/modern/components/base-select/Component.js +1 -1
  113. package/modern/components/base-select/index.css +8 -8
  114. package/modern/components/base-select/index.d.ts +1 -1
  115. package/modern/components/base-select/index.js +1 -1
  116. package/modern/components/base-select-mobile/Component.js +3 -3
  117. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  118. package/modern/components/base-select-mobile/checkmark/index.css +6 -6
  119. package/modern/components/base-select-mobile/index.css +11 -11
  120. package/modern/components/base-select-mobile/index.d.ts +1 -1
  121. package/modern/components/base-select-mobile/index.js +3 -3
  122. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  123. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  124. package/modern/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  125. package/modern/components/base-select-mobile/virtual-options-list/index.css +15 -15
  126. package/modern/components/checkmark/Component.js +1 -1
  127. package/modern/components/checkmark/index.css +10 -10
  128. package/modern/components/field/Component.js +1 -1
  129. package/modern/components/field/index.css +9 -9
  130. package/modern/components/index.js +3 -3
  131. package/modern/components/optgroup/Component.js +1 -1
  132. package/modern/components/optgroup/index.css +6 -6
  133. package/modern/components/option/Component.js +1 -1
  134. package/modern/components/option/index.css +20 -20
  135. package/modern/components/options-list/Component.js +1 -1
  136. package/modern/components/options-list/index.css +9 -9
  137. package/modern/components/select-mobile/Component.js +3 -3
  138. package/modern/components/select-mobile/index.d.ts +1 -1
  139. package/modern/components/select-mobile/index.js +3 -3
  140. package/modern/components/select-modal-mobile/Component.js +3 -3
  141. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  142. package/modern/components/select-modal-mobile/index.js +3 -3
  143. package/modern/components/virtual-options-list/Component.js +1 -1
  144. package/modern/components/virtual-options-list/index.css +15 -15
  145. package/modern/index-3885b0d7.d.ts +1 -1
  146. package/modern/index.js +3 -3
  147. package/modern/presets/index.js +3 -3
  148. package/modern/presets/useLazyLoading/hook.js +2 -2
  149. package/modern/presets/useLazyLoading/index.css +2 -2
  150. package/modern/presets/useSelectWithApply/hook.js +3 -3
  151. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  152. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +3 -3
  153. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  154. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  155. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  156. package/modern/presets/useSelectWithLoading/index.css +2 -2
  157. package/modern/responsive.js +3 -3
  158. package/package.json +2 -2
  159. package/presets/index.js +3 -3
  160. package/presets/useLazyLoading/hook.js +2 -2
  161. package/presets/useLazyLoading/index.css +2 -2
  162. package/presets/useSelectWithApply/hook.js +3 -3
  163. package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  164. package/presets/useSelectWithApply/options-list-with-apply/index.css +3 -3
  165. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  166. package/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  167. package/presets/useSelectWithLoading/hook.js +1 -1
  168. package/presets/useSelectWithLoading/index.css +2 -2
  169. package/responsive.js +3 -3
  170. /package/{Component-67e36290.d.ts → Component-44ef3579.d.ts} +0 -0
  171. /package/{Component-86fe0799.d.ts → Component-ab39b2d3.d.ts} +0 -0
  172. /package/esm/{Component-c79b7ae7.d.ts → Component-1830cf5e.d.ts} +0 -0
  173. /package/esm/{Component-fdfce5e1.d.ts → Component-578c3e05.d.ts} +0 -0
  174. /package/esm/{intersection-observer-be15dad5.d.ts → intersection-observer-55833352.d.ts} +0 -0
  175. /package/esm/{intersection-observer-be15dad5.js → intersection-observer-55833352.js} +0 -0
  176. /package/{intersection-observer-de1426cf.d.ts → intersection-observer-959eb559.d.ts} +0 -0
  177. /package/{intersection-observer-de1426cf.js → intersection-observer-959eb559.js} +0 -0
  178. /package/modern/{Component-979388ae.d.ts → Component-a4a8e905.d.ts} +0 -0
  179. /package/modern/{Component-4c4a3ab4.d.ts → Component-ae787d42.d.ts} +0 -0
  180. /package/modern/{intersection-observer-be15dad5.d.ts → intersection-observer-55833352.d.ts} +0 -0
  181. /package/modern/{intersection-observer-be15dad5.js → intersection-observer-55833352.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: 1qus6 */
1
+ /* hash: t5p0f */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-positive: #2fc26e;
@@ -39,12 +39,12 @@
39
39
  --select-checkmark-border-radius: var(--border-radius-circle);
40
40
 
41
41
  /* optgroup */
42
- } .select__checkmark_w4qan {
42
+ } .select__checkmark_btein {
43
43
  flex-shrink: 0;
44
44
  margin: var(--select-checkmark-margin)
45
- } .select__checkmark_w4qan.select__after_w4qan {
45
+ } .select__checkmark_btein.select__after_btein {
46
46
  margin: var(--select-checkmark-margin-after);
47
- } .select__single_w4qan {
47
+ } .select__single_btein {
48
48
  display: flex;
49
49
  align-items: center;
50
50
  justify-content: center;
@@ -54,17 +54,17 @@
54
54
  border-radius: var(--select-checkmark-border-radius);
55
55
  width: var(--select-checkmark-size);
56
56
  height: var(--select-checkmark-size)
57
- } .select__single_w4qan.select__selected_w4qan {
57
+ } .select__single_btein.select__selected_btein {
58
58
  opacity: 1;
59
- } .select__before_w4qan {
59
+ } .select__before_btein {
60
60
  display: var(--select-checkmark-before-display)
61
- } .select__before_w4qan.select__multiple_w4qan {
61
+ } .select__before_btein.select__multiple_btein {
62
62
  margin-right: var(--gap-s);
63
63
  display: var(--select-checkmark-before-display-multiple);
64
- } .select__after_w4qan {
64
+ } .select__after_btein {
65
65
  display: var(--select-checkmark-after-display)
66
- } .select__after_w4qan.select__single_w4qan {
66
+ } .select__after_btein.select__single_btein {
67
67
  display: var(--select-checkmark-after-display-single);
68
- } .select__colorIcon_w4qan {
68
+ } .select__colorIcon_btein {
69
69
  color: var(--color-light-graphic-positive);
70
70
  }
@@ -4,7 +4,7 @@ import { FormControl } from '@alfalab/core-components-form-control/modern';
4
4
  import { useFocus } from '@alfalab/hooks';
5
5
  import { joinOptions } from '../../utils.js';
6
6
 
7
- const styles = {"component":"select__component_ttrlg","field":"select__field_ttrlg","disabled":"select__disabled_ttrlg","arrow":"select__arrow_ttrlg","placeholder":"select__placeholder_ttrlg","contentWrapper":"select__contentWrapper_ttrlg","value":"select__value_ttrlg","focusVisible":"select__focusVisible_ttrlg"};
7
+ const styles = {"component":"select__component_1t3p9","field":"select__field_1t3p9","disabled":"select__disabled_1t3p9","arrow":"select__arrow_1t3p9","placeholder":"select__placeholder_1t3p9","contentWrapper":"select__contentWrapper_1t3p9","value":"select__value_1t3p9","focusVisible":"select__focusVisible_1t3p9"};
8
8
  require('./index.css')
9
9
 
10
10
  const Field = ({ size = 'm', open, multiple, error, hint, disabled, label, labelView = 'inner', placeholder, selectedMultiple = [], selected, rightAddons, valueRenderer = joinOptions, setSelectedItems, toggleMenu, Arrow, innerProps, dataTestId, fieldClassName, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: fe0jv */
1
+ /* hash: 1d2cb */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -28,18 +28,18 @@
28
28
  /* checkmark */
29
29
 
30
30
  /* optgroup */
31
- } .select__component_ttrlg {
31
+ } .select__component_1t3p9 {
32
32
  width: 100%;
33
33
  outline: none;
34
- } .select__field_ttrlg:not(.select__disabled_ttrlg) {
34
+ } .select__field_1t3p9:not(.select__disabled_1t3p9) {
35
35
  cursor: pointer
36
- } .select__field_ttrlg:not(.select__disabled_ttrlg):hover .select__arrow_ttrlg {
36
+ } .select__field_1t3p9:not(.select__disabled_1t3p9):hover .select__arrow_1t3p9 {
37
37
  opacity: var(--select-arrow-hover-opacity);
38
- } .select__disabled_ttrlg {
38
+ } .select__disabled_1t3p9 {
39
39
  cursor: var(--disabled-cursor);
40
- } /* TODO: Заюзать переменные из инпута */ .select__placeholder_ttrlg {
40
+ } /* TODO: Заюзать переменные из инпута */ .select__placeholder_1t3p9 {
41
41
  color: var(--color-light-text-secondary);
42
- } .select__contentWrapper_ttrlg {
42
+ } .select__contentWrapper_1t3p9 {
43
43
  font-size: 16px;
44
44
  line-height: 20px;
45
45
  font-weight: 400;
@@ -48,11 +48,11 @@
48
48
  text-overflow: ellipsis;
49
49
  overflow: hidden;
50
50
  width: 100%;
51
- } .select__value_ttrlg {
51
+ } .select__value_1t3p9 {
52
52
  overflow: hidden;
53
53
  text-overflow: ellipsis;
54
54
  text-align: left;
55
- } .select__focusVisible_ttrlg {
55
+ } .select__focusVisible_1t3p9 {
56
56
  outline: 2px solid var(--focus-color);
57
57
  outline-offset: 2px;
58
58
  }
@@ -1,6 +1,6 @@
1
1
  export { Arrow } from './arrow/Component.js';
2
- export { B as BaseSelect } from '../Component-979388ae.js';
3
- export { S as SelectMobile, a as SelectModalMobile } from '../Component-4c4a3ab4.js';
2
+ export { B as BaseSelect } from '../Component-a4a8e905.js';
3
+ export { S as SelectMobile, a as SelectModalMobile } from '../Component-ae787d42.js';
4
4
  export { Field } from './field/Component.js';
5
5
  export { Optgroup } from './optgroup/Component.js';
6
6
  export { Option } from './option/Component.js';
@@ -23,7 +23,7 @@ import '../Component.js';
23
23
  import 'react-virtual';
24
24
  import '@alfalab/core-components-scrollbar/modern';
25
25
  import '@alfalab/core-components-skeleton/modern';
26
- import '../intersection-observer-be15dad5.js';
26
+ import '../intersection-observer-55833352.js';
27
27
  import '@alfalab/core-components-button/modern';
28
28
  import '@alfalab/core-components-form-control/modern';
29
29
  import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"optgroup":"select__optgroup_3t9b8","label":"select__label_3t9b8","l":"select__l_3t9b8","xl":"select__xl_3t9b8"};
4
+ const styles = {"optgroup":"select__optgroup_189vl","label":"select__label_189vl","l":"select__l_189vl","xl":"select__xl_189vl"};
5
5
  require('./index.css')
6
6
 
7
7
  const Optgroup = ({ children, className, label, size = 's' }) => (React.createElement(React.Fragment, null,
@@ -1,4 +1,4 @@
1
- /* hash: rfzla */
1
+ /* hash: 18p50 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -35,7 +35,7 @@
35
35
  --select-optgroup-right-padding: var(--gap-s);
36
36
  --select-optgroup-l-left-padding: var(--gap-m);
37
37
  --select-optgroup-l-right-padding: var(--gap-m);
38
- } .select__optgroup_3t9b8 {
38
+ } .select__optgroup_189vl {
39
39
  position: relative;
40
40
  display: flex;
41
41
  align-items: center;
@@ -44,9 +44,9 @@
44
44
  box-sizing: border-box;
45
45
  background: var(--select-optgroup-background);
46
46
  min-height: 40px
47
- } .select__optgroup_3t9b8 + *[role='option']:before {
47
+ } .select__optgroup_189vl + *[role='option']:before {
48
48
  display: none;
49
- } .select__label_3t9b8 {
49
+ } .select__label_189vl {
50
50
  font-size: 12px;
51
51
  line-height: 16px;
52
52
  font-weight: 500;
@@ -55,8 +55,8 @@
55
55
 
56
56
  display: block;
57
57
  color: var(--select-optgroup-color);
58
- } .select__l_3t9b8,
59
- .select__xl_3t9b8 {
58
+ } .select__l_189vl,
59
+ .select__xl_189vl {
60
60
  padding-left: var(--select-optgroup-l-left-padding);
61
61
  padding-right: var(--select-optgroup-l-right-padding);
62
62
  }
@@ -7,7 +7,7 @@ import '@alfalab/core-components-badge/modern';
7
7
  import '@alfalab/core-components-checkbox/modern';
8
8
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
9
9
 
10
- const styles = {"option":"select__option_1qr13","disabled":"select__disabled_1qr13","s":"select__s_1qr13","m":"select__m_1qr13","l":"select__l_1qr13","xl":"select__xl_1qr13","selected":"select__selected_1qr13","highlighted":"select__highlighted_1qr13","content":"select__content_1qr13","textContent":"select__textContent_1qr13"};
10
+ const styles = {"option":"select__option_eenww","disabled":"select__disabled_eenww","s":"select__s_eenww","m":"select__m_eenww","l":"select__l_eenww","xl":"select__xl_eenww","selected":"select__selected_eenww","highlighted":"select__highlighted_eenww","content":"select__content_eenww","textContent":"select__textContent_eenww"};
11
11
  require('./index.css')
12
12
 
13
13
  const Option = ({ size = 's', className, option, children, selected, highlighted, disabled, multiple, mobile, Checkmark: Checkmark$2 = mobile ? Checkmark : Checkmark$1, innerProps, dataTestId, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: sli98 */
1
+ /* hash: bd485 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -53,7 +53,7 @@
53
53
  /* checkmark */
54
54
 
55
55
  /* optgroup */
56
- } .select__option_1qr13 {
56
+ } .select__option_eenww {
57
57
  font-size: 16px;
58
58
  line-height: 20px;
59
59
  font-weight: 400;
@@ -68,10 +68,10 @@
68
68
  box-sizing: border-box;
69
69
  position: relative;
70
70
  cursor: pointer
71
- } .select__option_1qr13:not(.select__disabled_1qr13):active {
71
+ } .select__option_eenww:not(.select__disabled_eenww):active {
72
72
  background: var(--select-option-active-background);
73
73
  color: var(--select-option-active-color);
74
- } .select__option_1qr13:before {
74
+ } .select__option_eenww:before {
75
75
  content: '';
76
76
  position: absolute;
77
77
  left: var(--select-option-left-padding);
@@ -81,46 +81,46 @@
81
81
  background: var(--select-option-divider-background);
82
82
  display: var(--select-option-divider-display);
83
83
  transition: opacity 0.2s ease;
84
- } .select__option_1qr13:first-child:before {
84
+ } .select__option_eenww:first-child:before {
85
85
  display: none;
86
- } .select__s_1qr13 {
86
+ } .select__s_eenww {
87
87
  min-height: var(--size-s-height);
88
- } .select__m_1qr13 {
88
+ } .select__m_eenww {
89
89
  min-height: var(--size-m-height);
90
- } .select__l_1qr13 {
90
+ } .select__l_eenww {
91
91
  min-height: var(--size-l-height);
92
- } .select__xl_1qr13 {
92
+ } .select__xl_eenww {
93
93
  min-height: var(--size-xl-height);
94
- } .select__l_1qr13,
95
- .select__xl_1qr13 {
94
+ } .select__l_eenww,
95
+ .select__xl_eenww {
96
96
  padding-left: var(--select-option-l-left-padding);
97
97
  padding-right: var(--select-option-l-right-padding)
98
- } .select__l_1qr13:before, .select__xl_1qr13:before {
98
+ } .select__l_eenww:before, .select__xl_eenww:before {
99
99
  left: var(--select-option-l-left-padding);
100
100
  right: var(--select-option-l-right-padding);
101
- } .select__selected_1qr13 {
101
+ } .select__selected_eenww {
102
102
  background: var(--select-option-selected-background);
103
103
  color: var(--select-option-selected-color);
104
104
  cursor: default;
105
- } .select__highlighted_1qr13 {
105
+ } .select__highlighted_eenww {
106
106
  background: var(--select-option-hover-background);
107
107
  color: var(--select-option-hover-color)
108
- } .select__highlighted_1qr13:before,
109
- .select__highlighted_1qr13 + .select__option_1qr13:before {
108
+ } .select__highlighted_eenww:before,
109
+ .select__highlighted_eenww + .select__option_eenww:before {
110
110
  opacity: 0;
111
- } .select__disabled_1qr13 {
111
+ } .select__disabled_eenww {
112
112
  cursor: var(--disabled-cursor);
113
113
  background: var(--select-option-disabled-background);
114
114
  color: var(--select-option-disabled-color);
115
- } .select__content_1qr13 {
115
+ } .select__content_eenww {
116
116
  overflow: hidden;
117
117
  flex: 1;
118
118
  text-overflow: ellipsis;
119
- } .select__textContent_1qr13 {
119
+ } .select__textContent_eenww {
120
120
  padding-top: var(--gap-s);
121
121
  padding-bottom: var(--gap-s);
122
122
  } /* IE min-height fix */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
123
- .select__option_1qr13:after {
123
+ .select__option_eenww:after {
124
124
  min-height: inherit;
125
125
  font-size: 0;
126
126
  content: '';
@@ -6,7 +6,7 @@ import { useMedia } from '@alfalab/hooks';
6
6
  import { useVisibleOptions, isGroup } from '../../utils.js';
7
7
  import { Optgroup } from '../optgroup/Component.js';
8
8
 
9
- const styles = {"optionsList":"select__optionsList_rlqgn","optionsListHeader":"select__optionsListHeader_rlqgn","optionsListFooter":"select__optionsListFooter_rlqgn","withBorder":"select__withBorder_rlqgn","scrollable":"select__scrollable_rlqgn","emptyPlaceholder":"select__emptyPlaceholder_rlqgn","l":"select__l_rlqgn","xl":"select__xl_rlqgn"};
9
+ const styles = {"optionsList":"select__optionsList_ls6ab","optionsListHeader":"select__optionsListHeader_ls6ab","optionsListFooter":"select__optionsListFooter_ls6ab","withBorder":"select__withBorder_ls6ab","scrollable":"select__scrollable_ls6ab","emptyPlaceholder":"select__emptyPlaceholder_ls6ab","l":"select__l_ls6ab","xl":"select__xl_ls6ab"};
10
10
  require('./index.css')
11
11
 
12
12
  const createCounter = () => {
@@ -1,4 +1,4 @@
1
- /* hash: j956o */
1
+ /* hash: zneia */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-secondary: #e9e9eb;
@@ -29,26 +29,26 @@
29
29
  /* checkmark */
30
30
 
31
31
  /* optgroup */
32
- } .select__optionsList_rlqgn {
32
+ } .select__optionsList_ls6ab {
33
33
  overflow: auto;
34
34
  width: 100%;
35
35
  outline: none;
36
36
  box-sizing: border-box;
37
- } .select__optionsListHeader_rlqgn {
37
+ } .select__optionsListHeader_ls6ab {
38
38
  box-sizing: border-box;
39
39
  border-bottom: 1px solid var(--color-light-border-secondary);
40
- } .select__optionsListFooter_rlqgn {
40
+ } .select__optionsListFooter_ls6ab {
41
41
  box-sizing: border-box;
42
42
  border-top: 1px solid transparent
43
- } .select__optionsListFooter_rlqgn.select__withBorder_rlqgn {
43
+ } .select__optionsListFooter_ls6ab.select__withBorder_ls6ab {
44
44
  border-top: 1px solid var(--color-light-border-secondary);
45
- } .select__scrollable_rlqgn {
45
+ } .select__scrollable_ls6ab {
46
46
  overflow: auto;
47
47
  width: 100%;
48
- } .select__emptyPlaceholder_rlqgn {
48
+ } .select__emptyPlaceholder_ls6ab {
49
49
  padding: var(--gap-m) var(--gap-s);
50
50
  color: var(--select-options-list-empty-placeholder-color);
51
- } .select__l_rlqgn .select__emptyPlaceholder_rlqgn,
52
- .select__xl_rlqgn .select__emptyPlaceholder_rlqgn {
51
+ } .select__l_ls6ab .select__emptyPlaceholder_ls6ab,
52
+ .select__xl_ls6ab .select__emptyPlaceholder_ls6ab {
53
53
  padding: var(--gap-xl) var(--gap-m);
54
54
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import '../arrow/Component.js';
3
- export { S as SelectMobile } from '../../Component-4c4a3ab4.js';
3
+ export { S as SelectMobile } from '../../Component-ae787d42.js';
4
4
  import '../field/Component.js';
5
5
  import '../optgroup/Component.js';
6
6
  import '../option/Component.js';
@@ -11,7 +11,7 @@ import 'downshift';
11
11
  import '@alfalab/core-components-bottom-sheet/modern';
12
12
  import '@alfalab/core-components-modal/modern/mobile';
13
13
  import '../../Component.js';
14
- import '../../Component-979388ae.js';
14
+ import '../../Component-a4a8e905.js';
15
15
  import '@juggle/resize-observer';
16
16
  import '@alfalab/core-components-popover/modern';
17
17
  import '@alfalab/hooks';
@@ -30,7 +30,7 @@ import 'react-virtual';
30
30
  import '../base-option/Component.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-skeleton/modern';
33
- import '../../intersection-observer-be15dad5.js';
33
+ import '../../intersection-observer-55833352.js';
34
34
  import '@alfalab/core-components-button/modern';
35
35
  import '../base-select-mobile/options-list/Component.js';
36
36
  import '@alfalab/core-components-base-modal/modern';
@@ -1 +1 @@
1
- export * from "../../Component-4c4a3ab4";
1
+ export * from "../../Component-ae787d42";
@@ -1,4 +1,4 @@
1
- export { S as SelectMobile } from '../../Component-4c4a3ab4.js';
1
+ export { S as SelectMobile } from '../../Component-ae787d42.js';
2
2
  import 'react';
3
3
  import '../arrow/Component.js';
4
4
  import 'classnames';
@@ -8,7 +8,7 @@ import 'downshift';
8
8
  import '@alfalab/core-components-bottom-sheet/modern';
9
9
  import '@alfalab/core-components-modal/modern/mobile';
10
10
  import '../../Component.js';
11
- import '../../Component-979388ae.js';
11
+ import '../../Component-a4a8e905.js';
12
12
  import '@juggle/resize-observer';
13
13
  import '@alfalab/core-components-popover/modern';
14
14
  import '@alfalab/hooks';
@@ -30,7 +30,7 @@ import 'react-virtual';
30
30
  import '../base-option/Component.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-skeleton/modern';
33
- import '../../intersection-observer-be15dad5.js';
33
+ import '../../intersection-observer-55833352.js';
34
34
  import '@alfalab/core-components-button/modern';
35
35
  import '../base-select-mobile/options-list/Component.js';
36
36
  import '@alfalab/core-components-base-modal/modern';
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import '../arrow/Component.js';
3
- export { a as SelectModalMobile } from '../../Component-4c4a3ab4.js';
3
+ export { a as SelectModalMobile } from '../../Component-ae787d42.js';
4
4
  import '../field/Component.js';
5
5
  import '../optgroup/Component.js';
6
6
  import '../option/Component.js';
@@ -11,7 +11,7 @@ import 'downshift';
11
11
  import '@alfalab/core-components-bottom-sheet/modern';
12
12
  import '@alfalab/core-components-modal/modern/mobile';
13
13
  import '../../Component.js';
14
- import '../../Component-979388ae.js';
14
+ import '../../Component-a4a8e905.js';
15
15
  import '@juggle/resize-observer';
16
16
  import '@alfalab/core-components-popover/modern';
17
17
  import '@alfalab/hooks';
@@ -30,7 +30,7 @@ import 'react-virtual';
30
30
  import '../base-option/Component.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-skeleton/modern';
33
- import '../../intersection-observer-be15dad5.js';
33
+ import '../../intersection-observer-55833352.js';
34
34
  import '@alfalab/core-components-button/modern';
35
35
  import '../base-select-mobile/options-list/Component.js';
36
36
  import '@alfalab/core-components-base-modal/modern';
@@ -1 +1 @@
1
- export * from "../../Component-4c4a3ab4";
1
+ export * from "../../Component-ae787d42";
@@ -1,4 +1,4 @@
1
- export { a as SelectModalMobile } from '../../Component-4c4a3ab4.js';
1
+ export { a as SelectModalMobile } from '../../Component-ae787d42.js';
2
2
  import 'react';
3
3
  import '../arrow/Component.js';
4
4
  import 'classnames';
@@ -8,7 +8,7 @@ import 'downshift';
8
8
  import '@alfalab/core-components-bottom-sheet/modern';
9
9
  import '@alfalab/core-components-modal/modern/mobile';
10
10
  import '../../Component.js';
11
- import '../../Component-979388ae.js';
11
+ import '../../Component-a4a8e905.js';
12
12
  import '@juggle/resize-observer';
13
13
  import '@alfalab/core-components-popover/modern';
14
14
  import '@alfalab/hooks';
@@ -30,7 +30,7 @@ import 'react-virtual';
30
30
  import '../base-option/Component.js';
31
31
  import '../base-checkmark/Component.js';
32
32
  import '@alfalab/core-components-skeleton/modern';
33
- import '../../intersection-observer-be15dad5.js';
33
+ import '../../intersection-observer-55833352.js';
34
34
  import '@alfalab/core-components-button/modern';
35
35
  import '../base-select-mobile/options-list/Component.js';
36
36
  import '@alfalab/core-components-base-modal/modern';
@@ -6,7 +6,7 @@ import { useMedia } from '@alfalab/hooks';
6
6
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
7
7
  import { Optgroup } from '../optgroup/Component.js';
8
8
 
9
- const styles = {"virtualOptionsList":"select__virtualOptionsList_1dpez","virtualOptionsListHeader":"select__virtualOptionsListHeader_1dpez","virtualOptionsListFooter":"select__virtualOptionsListFooter_1dpez","withBorder":"select__withBorder_1dpez","scrollable":"select__scrollable_1dpez","inner":"select__inner_1dpez","virtualRow":"select__virtualRow_1dpez","highlighted":"select__highlighted_1dpez","emptyPlaceholder":"select__emptyPlaceholder_1dpez","l":"select__l_1dpez","xl":"select__xl_1dpez"};
9
+ const styles = {"virtualOptionsList":"select__virtualOptionsList_te37x","virtualOptionsListHeader":"select__virtualOptionsListHeader_te37x","virtualOptionsListFooter":"select__virtualOptionsListFooter_te37x","withBorder":"select__withBorder_te37x","scrollable":"select__scrollable_te37x","inner":"select__inner_te37x","virtualRow":"select__virtualRow_te37x","highlighted":"select__highlighted_te37x","emptyPlaceholder":"select__emptyPlaceholder_te37x","l":"select__l_te37x","xl":"select__xl_te37x"};
10
10
  require('./index.css')
11
11
 
12
12
  /* eslint-disable react-hooks/exhaustive-deps */
@@ -1,4 +1,4 @@
1
- /* hash: 3jeuw */
1
+ /* hash: 14vfr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd;
@@ -35,31 +35,31 @@
35
35
  /* checkmark */
36
36
 
37
37
  /* optgroup */
38
- } .select__virtualOptionsList_1dpez {
38
+ } .select__virtualOptionsList_te37x {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: relative;
43
- } .select__virtualOptionsListHeader_1dpez {
43
+ } .select__virtualOptionsListHeader_te37x {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-border-secondary);
46
- } .select__virtualOptionsListFooter_1dpez {
46
+ } .select__virtualOptionsListFooter_te37x {
47
47
  box-sizing: border-box;
48
48
  border-top: 1px solid transparent
49
- } .select__virtualOptionsListFooter_1dpez.select__withBorder_1dpez {
49
+ } .select__virtualOptionsListFooter_te37x.select__withBorder_te37x {
50
50
  border-top: 1px solid var(--color-light-border-secondary);
51
- } .select__scrollable_1dpez {
51
+ } .select__scrollable_te37x {
52
52
  overflow: auto;
53
53
  width: 100%;
54
- } .select__inner_1dpez {
54
+ } .select__inner_te37x {
55
55
  position: relative;
56
56
  width: 100%;
57
- } .select__virtualRow_1dpez {
57
+ } .select__virtualRow_te37x {
58
58
  position: absolute;
59
59
  top: 0;
60
60
  left: 0;
61
61
  width: 100%
62
- } .select__virtualRow_1dpez:before {
62
+ } .select__virtualRow_te37x:before {
63
63
  content: '';
64
64
  position: absolute;
65
65
  z-index: 1;
@@ -69,15 +69,15 @@
69
69
  height: 1px;
70
70
  background: var(--select-option-divider-background);
71
71
  display: var(--select-option-divider-display);
72
- } .select__virtualRow_1dpez:first-child:before {
72
+ } .select__virtualRow_te37x:first-child:before {
73
73
  display: none;
74
- } .select__highlighted_1dpez:before,
75
- .select__highlighted_1dpez + .select__virtualRow_1dpez:before {
74
+ } .select__highlighted_te37x:before,
75
+ .select__highlighted_te37x + .select__virtualRow_te37x:before {
76
76
  display: none;
77
- } .select__emptyPlaceholder_1dpez {
77
+ } .select__emptyPlaceholder_te37x {
78
78
  padding: var(--gap-m) var(--gap-s);
79
79
  color: var(--select-options-list-empty-placeholder-color);
80
- } .select__l_1dpez .select__emptyPlaceholder_1dpez,
81
- .select__xl_1dpez .select__emptyPlaceholder_1dpez {
80
+ } .select__l_te37x .select__emptyPlaceholder_te37x,
81
+ .select__xl_te37x .select__emptyPlaceholder_te37x {
82
82
  padding: var(--gap-xl) var(--gap-m);
83
83
  }
@@ -1,3 +1,3 @@
1
1
  declare const isClient: () => boolean;
2
2
  export { isClient };
3
- export * from "./Component-979388ae";
3
+ export * from "./Component-a4a8e905";
package/modern/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Select } from './Component.js';
2
2
  export { Arrow } from './components/arrow/Component.js';
3
- export { B as BaseSelect } from './Component-979388ae.js';
4
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-4c4a3ab4.js';
3
+ export { B as BaseSelect } from './Component-a4a8e905.js';
4
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-ae787d42.js';
5
5
  export { Field } from './components/field/Component.js';
6
6
  export { Optgroup } from './components/optgroup/Component.js';
7
7
  export { Option } from './components/option/Component.js';
@@ -25,7 +25,7 @@ import '@alfalab/core-components-modal/modern/mobile';
25
25
  import 'react-virtual';
26
26
  import '@alfalab/core-components-scrollbar/modern';
27
27
  import '@alfalab/core-components-skeleton/modern';
28
- import './intersection-observer-be15dad5.js';
28
+ import './intersection-observer-55833352.js';
29
29
  import '@alfalab/core-components-button/modern';
30
30
  import '@alfalab/core-components-form-control/modern';
31
31
  import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -1,6 +1,6 @@
1
1
  export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from './useLazyLoading/hook.js';
3
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-4c4a3ab4.js';
3
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-ae787d42.js';
4
4
  import 'react';
5
5
  import '@alfalab/core-components-skeleton/modern';
6
6
  import '../components/option/Component.js';
@@ -11,7 +11,7 @@ import '../components/checkmark/Component.js';
11
11
  import '@alfalab/core-components-badge/modern';
12
12
  import '@alfalab/core-components-checkbox/modern';
13
13
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
14
- import '../intersection-observer-be15dad5.js';
14
+ import '../intersection-observer-55833352.js';
15
15
  import '../components/arrow/Component.js';
16
16
  import '@alfalab/icons-glyph/ChevronDownMIcon';
17
17
  import 'react-merge-refs';
@@ -19,7 +19,7 @@ import 'downshift';
19
19
  import '@alfalab/core-components-bottom-sheet/modern';
20
20
  import '@alfalab/core-components-modal/modern/mobile';
21
21
  import '../Component.js';
22
- import '../Component-979388ae.js';
22
+ import '../Component-a4a8e905.js';
23
23
  import '@juggle/resize-observer';
24
24
  import '@alfalab/core-components-popover/modern';
25
25
  import '@alfalab/hooks';
@@ -1,7 +1,7 @@
1
1
  import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
2
2
  import { Skeleton } from '@alfalab/core-components-skeleton/modern';
3
3
  import { Option } from '../../components/option/Component.js';
4
- import '../../intersection-observer-be15dad5.js';
4
+ import '../../intersection-observer-55833352.js';
5
5
  import 'classnames';
6
6
  import '../../components/base-select-mobile/checkmark/Component.js';
7
7
  import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -10,7 +10,7 @@ import '@alfalab/core-components-badge/modern';
10
10
  import '@alfalab/core-components-checkbox/modern';
11
11
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
12
12
 
13
- const styles = {"skeleton":"select__skeleton_176ym"};
13
+ const styles = {"skeleton":"select__skeleton_u9wnv"};
14
14
  require('./index.css')
15
15
 
16
16
  const DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: 15plj */
2
- .select__skeleton_176ym {
1
+ /* hash: 1m4m9 */
2
+ .select__skeleton_u9wnv {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -2,8 +2,8 @@ import 'react';
2
2
  import '../../Component.js';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
5
- import '../../Component-979388ae.js';
6
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-4c4a3ab4.js';
5
+ import '../../Component-a4a8e905.js';
6
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-ae787d42.js';
7
7
  import '@alfalab/core-components-form-control/modern';
8
8
  import '@alfalab/hooks';
9
9
  import '../../utils.js';
@@ -15,7 +15,7 @@ import '../../components/options-list/Component.js';
15
15
  import 'react-virtual';
16
16
  import '@alfalab/core-components-scrollbar/modern';
17
17
  import '@alfalab/core-components-skeleton/modern';
18
- import '../../intersection-observer-be15dad5.js';
18
+ import '../../intersection-observer-55833352.js';
19
19
  import '../../components/arrow/Component.js';
20
20
  import '../../components/field/Component.js';
21
21
  import '../../components/optgroup/Component.js';
@@ -2,8 +2,8 @@ import 'react';
2
2
  import '@alfalab/core-components-button/modern';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
5
- import '../../../Component-979388ae.js';
6
- export { O as OptionsListWithApply } from '../../../Component-4c4a3ab4.js';
5
+ import '../../../Component-a4a8e905.js';
6
+ export { O as OptionsListWithApply } from '../../../Component-ae787d42.js';
7
7
  import '@alfalab/core-components-form-control/modern';
8
8
  import '@alfalab/hooks';
9
9
  import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -31,7 +31,7 @@ import '../../../components/checkmark/Component.js';
31
31
  import '../../../components/base-option/Component.js';
32
32
  import '../../../components/base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/modern';
34
- import '../../../intersection-observer-be15dad5.js';
34
+ import '../../../intersection-observer-55833352.js';
35
35
  import '../../../components/base-select-mobile/options-list/Component.js';
36
36
  import '@alfalab/core-components-base-modal/modern';
37
37
  import '../../../components/base-select-mobile/virtual-options-list/Component.js';