@alfalab/core-components-select 14.3.2 → 14.3.3

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-685d5b82.js → Component-dbfd2710.js} +1 -1
  2. package/Component.js +1 -1
  3. package/Component.responsive.js +3 -3
  4. package/components/arrow/Component.js +1 -1
  5. package/components/arrow/index.css +3 -3
  6. package/components/base-checkmark/Component.js +1 -1
  7. package/components/base-checkmark/index.css +4 -4
  8. package/components/base-option/Component.js +1 -1
  9. package/components/base-option/index.css +13 -13
  10. package/components/base-select/Component.js +2 -2
  11. package/components/base-select/index.css +8 -8
  12. package/components/base-select/index.js +1 -1
  13. package/components/base-select-mobile/Component.js +2 -2
  14. package/components/base-select-mobile/footer/Component.js +1 -1
  15. package/components/base-select-mobile/footer/index.css +5 -5
  16. package/components/base-select-mobile/index.css +10 -10
  17. package/components/base-select-mobile/index.js +1 -1
  18. package/components/checkmark/Component.js +1 -1
  19. package/components/checkmark/index.css +10 -10
  20. package/components/checkmark-mobile/Component.js +1 -1
  21. package/components/checkmark-mobile/index.css +6 -6
  22. package/components/field/Component.js +1 -1
  23. package/components/field/index.css +9 -9
  24. package/components/index.js +3 -3
  25. package/components/optgroup/Component.js +1 -1
  26. package/components/optgroup/index.css +6 -6
  27. package/components/option/Component.js +1 -1
  28. package/components/option/index.css +20 -20
  29. package/components/options-list/Component.js +1 -1
  30. package/components/options-list/index.css +9 -9
  31. package/components/select-mobile/Component.js +3 -3
  32. package/components/select-mobile/index.d.ts +1 -1
  33. package/components/select-mobile/index.js +3 -3
  34. package/components/select-modal-mobile/Component.js +3 -3
  35. package/components/select-modal-mobile/index.d.ts +1 -1
  36. package/components/select-modal-mobile/index.js +3 -3
  37. package/components/virtual-options-list/Component.js +1 -1
  38. package/components/virtual-options-list/index.css +15 -15
  39. package/esm/{Component-a8b5311f.js → Component-683d2ea2.js} +1 -1
  40. package/esm/Component.js +1 -1
  41. package/esm/Component.responsive.js +3 -3
  42. package/esm/components/arrow/Component.js +1 -1
  43. package/esm/components/arrow/index.css +3 -3
  44. package/esm/components/base-checkmark/Component.js +1 -1
  45. package/esm/components/base-checkmark/index.css +4 -4
  46. package/esm/components/base-option/Component.js +1 -1
  47. package/esm/components/base-option/index.css +13 -13
  48. package/esm/components/base-select/Component.js +2 -2
  49. package/esm/components/base-select/index.css +8 -8
  50. package/esm/components/base-select/index.js +1 -1
  51. package/esm/components/base-select-mobile/Component.js +2 -2
  52. package/esm/components/base-select-mobile/footer/Component.js +1 -1
  53. package/esm/components/base-select-mobile/footer/index.css +5 -5
  54. package/esm/components/base-select-mobile/index.css +10 -10
  55. package/esm/components/base-select-mobile/index.js +1 -1
  56. package/esm/components/checkmark/Component.js +1 -1
  57. package/esm/components/checkmark/index.css +10 -10
  58. package/esm/components/checkmark-mobile/Component.js +1 -1
  59. package/esm/components/checkmark-mobile/index.css +6 -6
  60. package/esm/components/field/Component.js +1 -1
  61. package/esm/components/field/index.css +9 -9
  62. package/esm/components/index.js +3 -3
  63. package/esm/components/optgroup/Component.js +1 -1
  64. package/esm/components/optgroup/index.css +6 -6
  65. package/esm/components/option/Component.js +1 -1
  66. package/esm/components/option/index.css +20 -20
  67. package/esm/components/options-list/Component.js +1 -1
  68. package/esm/components/options-list/index.css +9 -9
  69. package/esm/components/select-mobile/Component.js +3 -3
  70. package/esm/components/select-mobile/index.d.ts +1 -1
  71. package/esm/components/select-mobile/index.js +3 -3
  72. package/esm/components/select-modal-mobile/Component.js +3 -3
  73. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  74. package/esm/components/select-modal-mobile/index.js +3 -3
  75. package/esm/components/virtual-options-list/Component.js +1 -1
  76. package/esm/components/virtual-options-list/index.css +15 -15
  77. package/esm/index-3885b0d7.d.ts +1 -1
  78. package/esm/index.js +3 -3
  79. package/esm/mobile.js +3 -3
  80. package/esm/presets/index.js +3 -3
  81. package/esm/presets/useLazyLoading/hook.js +2 -2
  82. package/esm/presets/useLazyLoading/index.css +2 -2
  83. package/esm/presets/useSelectWithApply/hook.js +3 -3
  84. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  85. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  86. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  87. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  88. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  89. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  90. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  91. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  92. package/esm/presets/useSelectWithLoading/index.css +2 -2
  93. package/esm/responsive.js +3 -3
  94. package/index-3885b0d7.d.ts +1 -1
  95. package/index.js +3 -3
  96. package/mobile.js +3 -3
  97. package/modern/{Component-851e480c.js → Component-ebd3b536.js} +1 -1
  98. package/modern/Component.js +1 -1
  99. package/modern/Component.responsive.js +3 -3
  100. package/modern/components/arrow/Component.js +1 -1
  101. package/modern/components/arrow/index.css +3 -3
  102. package/modern/components/base-checkmark/Component.js +1 -1
  103. package/modern/components/base-checkmark/index.css +4 -4
  104. package/modern/components/base-option/Component.js +1 -1
  105. package/modern/components/base-option/index.css +13 -13
  106. package/modern/components/base-select/Component.js +2 -2
  107. package/modern/components/base-select/index.css +8 -8
  108. package/modern/components/base-select/index.js +1 -1
  109. package/modern/components/base-select-mobile/Component.js +2 -2
  110. package/modern/components/base-select-mobile/footer/Component.js +1 -1
  111. package/modern/components/base-select-mobile/footer/index.css +5 -5
  112. package/modern/components/base-select-mobile/index.css +10 -10
  113. package/modern/components/base-select-mobile/index.js +1 -1
  114. package/modern/components/checkmark/Component.js +1 -1
  115. package/modern/components/checkmark/index.css +10 -10
  116. package/modern/components/checkmark-mobile/Component.js +1 -1
  117. package/modern/components/checkmark-mobile/index.css +6 -6
  118. package/modern/components/field/Component.js +1 -1
  119. package/modern/components/field/index.css +9 -9
  120. package/modern/components/index.js +3 -3
  121. package/modern/components/optgroup/Component.js +1 -1
  122. package/modern/components/optgroup/index.css +6 -6
  123. package/modern/components/option/Component.js +1 -1
  124. package/modern/components/option/index.css +20 -20
  125. package/modern/components/options-list/Component.js +1 -1
  126. package/modern/components/options-list/index.css +9 -9
  127. package/modern/components/select-mobile/Component.js +3 -3
  128. package/modern/components/select-mobile/index.d.ts +1 -1
  129. package/modern/components/select-mobile/index.js +3 -3
  130. package/modern/components/select-modal-mobile/Component.js +3 -3
  131. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  132. package/modern/components/select-modal-mobile/index.js +3 -3
  133. package/modern/components/virtual-options-list/Component.js +1 -1
  134. package/modern/components/virtual-options-list/index.css +15 -15
  135. package/modern/index-3885b0d7.d.ts +1 -1
  136. package/modern/index.js +3 -3
  137. package/modern/mobile.js +3 -3
  138. package/modern/presets/index.js +3 -3
  139. package/modern/presets/useLazyLoading/hook.js +2 -2
  140. package/modern/presets/useLazyLoading/index.css +2 -2
  141. package/modern/presets/useSelectWithApply/hook.js +3 -3
  142. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  143. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  144. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  145. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  146. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  147. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  148. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  149. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  150. package/modern/presets/useSelectWithLoading/index.css +2 -2
  151. package/modern/responsive.js +3 -3
  152. package/package.json +5 -5
  153. package/presets/index.js +3 -3
  154. package/presets/useLazyLoading/hook.js +2 -2
  155. package/presets/useLazyLoading/index.css +2 -2
  156. package/presets/useSelectWithApply/hook.js +3 -3
  157. package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  158. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  159. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  160. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  161. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  162. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  163. package/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  164. package/presets/useSelectWithLoading/hook.js +1 -1
  165. package/presets/useSelectWithLoading/index.css +2 -2
  166. package/responsive.js +3 -3
  167. /package/{Component-685d5b82.d.ts → Component-dbfd2710.d.ts} +0 -0
  168. /package/esm/{Component-a8b5311f.d.ts → Component-683d2ea2.d.ts} +0 -0
  169. /package/esm/{getDataTestId-d797e55e.d.ts → getDataTestId-a2156c69.d.ts} +0 -0
  170. /package/esm/{getDataTestId-d797e55e.js → getDataTestId-a2156c69.js} +0 -0
  171. /package/esm/{intersection-observer-1494dbdf.d.ts → intersection-observer-5d00ff89.d.ts} +0 -0
  172. /package/esm/{intersection-observer-1494dbdf.js → intersection-observer-5d00ff89.js} +0 -0
  173. /package/{getDataTestId-4a7070c7.d.ts → getDataTestId-a22df8fc.d.ts} +0 -0
  174. /package/{getDataTestId-4a7070c7.js → getDataTestId-a22df8fc.js} +0 -0
  175. /package/{intersection-observer-50fab44b.d.ts → intersection-observer-b8830671.d.ts} +0 -0
  176. /package/{intersection-observer-50fab44b.js → intersection-observer-b8830671.js} +0 -0
  177. /package/modern/{Component-851e480c.d.ts → Component-ebd3b536.d.ts} +0 -0
  178. /package/modern/{getDataTestId-329074ab.d.ts → getDataTestId-0b4414ce.d.ts} +0 -0
  179. /package/modern/{getDataTestId-329074ab.js → getDataTestId-0b4414ce.js} +0 -0
  180. /package/modern/{intersection-observer-1494dbdf.d.ts → intersection-observer-5d00ff89.d.ts} +0 -0
  181. /package/modern/{intersection-observer-1494dbdf.js → intersection-observer-5d00ff89.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { a as SelectModalMobile } from '../../Component-851e480c.js';
2
+ export { a as SelectModalMobile } from '../../Component-ebd3b536.js';
3
3
  import '../../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
4
4
  import '../arrow/Component.js';
5
5
  import '../base-select-mobile/Component.js';
@@ -17,7 +17,7 @@ import 'classnames';
17
17
  import 'downshift';
18
18
  import '@alfalab/core-components-popover/modern';
19
19
  import '@alfalab/hooks';
20
- import '../../getDataTestId-329074ab.js';
20
+ import '../../getDataTestId-0b4414ce.js';
21
21
  import '../../utils.js';
22
22
  import '../native-select/Component.js';
23
23
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -31,7 +31,7 @@ import '../checkmark-mobile/Component.js';
31
31
  import '@alfalab/core-components-scrollbar/modern';
32
32
  import '../../consts.js';
33
33
  import '@alfalab/core-components-skeleton/modern';
34
- import '../../intersection-observer-1494dbdf.js';
34
+ import '../../intersection-observer-5d00ff89.js';
35
35
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
36
36
  import '@alfalab/core-components-button/modern';
37
37
  import '@alfalab/core-components-bottom-sheet/modern';
@@ -1 +1 @@
1
- export * from "../../Component-851e480c";
1
+ export * from "../../Component-ebd3b536";
@@ -1,4 +1,4 @@
1
- export { a as SelectModalMobile } from '../../Component-851e480c.js';
1
+ export { a as SelectModalMobile } from '../../Component-ebd3b536.js';
2
2
  import 'react';
3
3
  import '../../Component.js';
4
4
  import '../arrow/Component.js';
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
10
10
  import 'downshift';
11
11
  import '@alfalab/core-components-popover/modern';
12
12
  import '@alfalab/hooks';
13
- import '../../getDataTestId-329074ab.js';
13
+ import '../../getDataTestId-0b4414ce.js';
14
14
  import '../../utils.js';
15
15
  import '../native-select/Component.js';
16
16
  import '../field/Component.js';
@@ -36,5 +36,5 @@ import '@alfalab/core-components-button/modern';
36
36
  import '../virtual-options-list/Component.js';
37
37
  import 'react-virtual';
38
38
  import '@alfalab/core-components-skeleton/modern';
39
- import '../../intersection-observer-1494dbdf.js';
39
+ import '../../intersection-observer-5d00ff89.js';
40
40
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -8,7 +8,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
8
8
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
9
9
  import { Optgroup } from '../optgroup/Component.js';
10
10
 
11
- const styles = {"virtualOptionsList":"select__virtualOptionsList_1ue81","virtualOptionsListHeader":"select__virtualOptionsListHeader_1ue81","virtualOptionsListFooter":"select__virtualOptionsListFooter_1ue81","withBorder":"select__withBorder_1ue81","scrollable":"select__scrollable_1ue81","inner":"select__inner_1ue81","virtualRow":"select__virtualRow_1ue81","highlighted":"select__highlighted_1ue81","emptyPlaceholder":"select__emptyPlaceholder_1ue81","l":"select__l_1ue81","xl":"select__xl_1ue81"};
11
+ const styles = {"virtualOptionsList":"select__virtualOptionsList_67cdd","virtualOptionsListHeader":"select__virtualOptionsListHeader_67cdd","virtualOptionsListFooter":"select__virtualOptionsListFooter_67cdd","withBorder":"select__withBorder_67cdd","scrollable":"select__scrollable_67cdd","inner":"select__inner_67cdd","virtualRow":"select__virtualRow_67cdd","highlighted":"select__highlighted_67cdd","emptyPlaceholder":"select__emptyPlaceholder_67cdd","l":"select__l_67cdd","xl":"select__xl_67cdd"};
12
12
  require('./index.css')
13
13
 
14
14
  const VirtualOptionsList = forwardRef(({ size = 's', flatOptions = [], highlightedIndex = -1, className, getOptionProps, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, showFooter = true, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1fjru */
1
+ /* hash: 1png1 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd;
@@ -35,34 +35,34 @@
35
35
  /* checkmark */
36
36
 
37
37
  /* optgroup */
38
- } .select__virtualOptionsList_1ue81 {
38
+ } .select__virtualOptionsList_67cdd {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_1ue81 {
43
+ } .select__virtualOptionsListHeader_67cdd {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-border-secondary);
46
- } .select__virtualOptionsListFooter_1ue81 {
46
+ } .select__virtualOptionsListFooter_67cdd {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_1ue81.select__withBorder_1ue81 {
51
+ } .select__virtualOptionsListFooter_67cdd.select__withBorder_67cdd {
52
52
  border-top: 1px solid var(--color-light-border-secondary);
53
- } .select__scrollable_1ue81 {
53
+ } .select__scrollable_67cdd {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_1ue81 {
57
+ } .select__inner_67cdd {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_1ue81 {
60
+ } .select__virtualRow_67cdd {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_1ue81:before {
65
+ } .select__virtualRow_67cdd:before {
66
66
  content: '';
67
67
  position: absolute;
68
68
  z-index: 1;
@@ -72,15 +72,15 @@
72
72
  height: 1px;
73
73
  background: var(--select-option-divider-background);
74
74
  display: var(--select-option-divider-display);
75
- } .select__virtualRow_1ue81:first-child:before {
75
+ } .select__virtualRow_67cdd:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_1ue81:before,
78
- .select__highlighted_1ue81 + .select__virtualRow_1ue81:before {
77
+ } .select__highlighted_67cdd:before,
78
+ .select__highlighted_67cdd + .select__virtualRow_67cdd:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_1ue81 {
80
+ } .select__emptyPlaceholder_67cdd {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_1ue81 .select__emptyPlaceholder_1ue81,
84
- .select__xl_1ue81 .select__emptyPlaceholder_1ue81 {
83
+ } .select__l_67cdd .select__emptyPlaceholder_67cdd,
84
+ .select__xl_67cdd .select__emptyPlaceholder_67cdd {
85
85
  padding: var(--gap-xl) var(--gap-m);
86
86
  }
@@ -1,3 +1,3 @@
1
1
  declare const isClient: () => boolean;
2
2
  export { isClient };
3
- export * from "./getDataTestId-329074ab";
3
+ export * from "./getDataTestId-0b4414ce";
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
3
  export { BaseSelect } from './components/base-select/Component.js';
4
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-851e480c.js';
4
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-ebd3b536.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';
@@ -19,7 +19,7 @@ import '@juggle/resize-observer';
19
19
  import 'downshift';
20
20
  import '@alfalab/core-components-popover/modern';
21
21
  import '@alfalab/hooks';
22
- import './getDataTestId-329074ab.js';
22
+ import './getDataTestId-0b4414ce.js';
23
23
  import './components/native-select/Component.js';
24
24
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
25
25
  import '@alfalab/core-components-checkbox/modern';
@@ -34,7 +34,7 @@ import '@alfalab/core-components-badge/modern';
34
34
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
35
35
  import '@alfalab/icons-glyph/CheckmarkMIcon';
36
36
  import '@alfalab/core-components-skeleton/modern';
37
- import './intersection-observer-1494dbdf.js';
37
+ import './intersection-observer-5d00ff89.js';
38
38
  import './consts.js';
39
39
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
40
40
  import './components/checkmark/Component.js';
package/modern/mobile.js CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SelectMobile, a as SelectModalMobile } from './Component-851e480c.js';
1
+ export { S as SelectMobile, a as SelectModalMobile } from './Component-ebd3b536.js';
2
2
  import 'react';
3
3
  import './Component.js';
4
4
  import './components/arrow/Component.js';
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
10
10
  import 'downshift';
11
11
  import '@alfalab/core-components-popover/modern';
12
12
  import '@alfalab/hooks';
13
- import './getDataTestId-329074ab.js';
13
+ import './getDataTestId-0b4414ce.js';
14
14
  import './utils.js';
15
15
  import './components/native-select/Component.js';
16
16
  import './components/field/Component.js';
@@ -36,5 +36,5 @@ import '@alfalab/core-components-button/modern';
36
36
  import './components/virtual-options-list/Component.js';
37
37
  import 'react-virtual';
38
38
  import '@alfalab/core-components-skeleton/modern';
39
- import './intersection-observer-1494dbdf.js';
39
+ import './intersection-observer-5d00ff89.js';
40
40
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -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-851e480c.js';
3
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-ebd3b536.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 '@alfalab/core-components-checkbox/modern';
11
11
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
12
12
  import '@alfalab/icons-glyph/CheckmarkMIcon';
13
13
  import '../components/checkmark-mobile/Component.js';
14
- import '../intersection-observer-1494dbdf.js';
14
+ import '../intersection-observer-5d00ff89.js';
15
15
  import '../Component.js';
16
16
  import '../components/arrow/Component.js';
17
17
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -21,7 +21,7 @@ import '@juggle/resize-observer';
21
21
  import 'downshift';
22
22
  import '@alfalab/core-components-popover/modern';
23
23
  import '@alfalab/hooks';
24
- import '../getDataTestId-329074ab.js';
24
+ import '../getDataTestId-0b4414ce.js';
25
25
  import '../utils.js';
26
26
  import '../components/native-select/Component.js';
27
27
  import '../components/field/Component.js';
@@ -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-1494dbdf.js';
4
+ import '../../intersection-observer-5d00ff89.js';
5
5
  import 'classnames';
6
6
  import '../../components/checkmark/Component.js';
7
7
  import '@alfalab/core-components-badge/modern';
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
10
10
  import '@alfalab/icons-glyph/CheckmarkMIcon';
11
11
  import '../../components/checkmark-mobile/Component.js';
12
12
 
13
- const styles = {"skeleton":"select__skeleton_jsxou"};
13
+ const styles = {"skeleton":"select__skeleton_gdz5z"};
14
14
  require('./index.css')
15
15
 
16
16
  const DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: 1ou3c */
2
- .select__skeleton_jsxou {
1
+ /* hash: ehlo0 */
2
+ .select__skeleton_gdz5z {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -3,7 +3,7 @@ import '../../Component.js';
3
3
  import 'classnames';
4
4
  import '@alfalab/icons-glyph/ChevronDownMIcon';
5
5
  import '../../components/base-select/Component.js';
6
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-851e480c.js';
6
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-ebd3b536.js';
7
7
  import '@alfalab/core-components-form-control/modern';
8
8
  import '@alfalab/hooks';
9
9
  import '../../utils.js';
@@ -14,7 +14,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
14
14
  import '../../components/options-list/Component.js';
15
15
  import '../../components/virtual-options-list/Component.js';
16
16
  import '@alfalab/core-components-skeleton/modern';
17
- import '../../intersection-observer-1494dbdf.js';
17
+ import '../../intersection-observer-5d00ff89.js';
18
18
  import '../../components/arrow/Component.js';
19
19
  import '../../components/field/Component.js';
20
20
  import '../../components/optgroup/Component.js';
@@ -25,7 +25,7 @@ import 'react-merge-refs';
25
25
  import '@juggle/resize-observer';
26
26
  import 'downshift';
27
27
  import '@alfalab/core-components-popover/modern';
28
- import '../../getDataTestId-329074ab.js';
28
+ import '../../getDataTestId-0b4414ce.js';
29
29
  import '../../components/native-select/Component.js';
30
30
  import '@alfalab/core-components-scrollbar/modern';
31
31
  import '../../consts.js';
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
2
  import '../../../components/options-list/Component.js';
3
3
  import '../../../consts.js';
4
- export { O as OptionsListWithApply } from '../../../Component-851e480c.js';
4
+ export { O as OptionsListWithApply } from '../../../Component-ebd3b536.js';
5
5
  import './footer/Component.js';
6
6
  import './header/Component.js';
7
7
  import 'react-merge-refs';
@@ -17,7 +17,7 @@ import '../../../components/base-select/Component.js';
17
17
  import '@juggle/resize-observer';
18
18
  import 'downshift';
19
19
  import '@alfalab/core-components-popover/modern';
20
- import '../../../getDataTestId-329074ab.js';
20
+ import '../../../getDataTestId-0b4414ce.js';
21
21
  import '../../../components/native-select/Component.js';
22
22
  import '../../../components/field/Component.js';
23
23
  import '@alfalab/core-components-form-control/modern';
@@ -37,4 +37,4 @@ import '@alfalab/core-components-button/modern';
37
37
  import '../../../components/virtual-options-list/Component.js';
38
38
  import 'react-virtual';
39
39
  import '@alfalab/core-components-skeleton/modern';
40
- import '../../../intersection-observer-1494dbdf.js';
40
+ import '../../../intersection-observer-5d00ff89.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Button } from '@alfalab/core-components-button/modern';
3
3
 
4
- const styles = {"footer":"select__footer_ufjm7"};
4
+ const styles = {"footer":"select__footer_159s0"};
5
5
  require('./index.css')
6
6
 
7
7
  const Footer = ({ handleApply, handleClear, showClear, selectedDraft = [], }) => (React.createElement("div", {
@@ -1,4 +1,4 @@
1
- /* hash: 9ndqy */
1
+ /* hash: jr1xi */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,10 +17,10 @@
17
17
  --gap-s: 12px;
18
18
  } :root {
19
19
  } :root {
20
- } .select__footer_ufjm7 {
20
+ } .select__footer_159s0 {
21
21
  background-color: var(--color-light-bg-primary);
22
22
  padding: var(--gap-s);
23
23
  outline: none
24
- } .select__footer_ufjm7 > * + * {
24
+ } .select__footer_159s0 > * + * {
25
25
  margin-left: var(--gap-xs);
26
26
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/modern';
4
4
 
5
- const styles = {"desktop":"select__desktop_19upg","mobile":"select__mobile_19upg"};
5
+ const styles = {"desktop":"select__desktop_bmdaq","mobile":"select__mobile_bmdaq"};
6
6
  require('./index.css')
7
7
 
8
8
  const Header = ({ onChange, checked, indeterminate, mobile }) => (React.createElement("div", { className: cn({ [styles.desktop]: !mobile, [styles.mobile]: mobile }) },
@@ -1,4 +1,4 @@
1
- /* hash: 19ccb */
1
+ /* hash: 1vvuw */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,8 +16,8 @@
16
16
  --gap-s: 12px;
17
17
  } :root {
18
18
  } :root {
19
- } .select__desktop_19upg {
19
+ } .select__desktop_bmdaq {
20
20
  padding: var(--gap-s);
21
- } .select__mobile_19upg {
21
+ } .select__mobile_bmdaq {
22
22
  padding: var(--gap-s) var(--gap-xs);
23
23
  }
@@ -1 +1 @@
1
- export * from "../../../Component-851e480c";
1
+ export * from "../../../Component-ebd3b536";
@@ -1,4 +1,4 @@
1
- export { O as OptionsListWithApply } from '../../../Component-851e480c.js';
1
+ export { O as OptionsListWithApply } from '../../../Component-ebd3b536.js';
2
2
  import 'react';
3
3
  import '../../../Component.js';
4
4
  import '../../../components/arrow/Component.js';
@@ -10,7 +10,7 @@ import '@juggle/resize-observer';
10
10
  import 'downshift';
11
11
  import '@alfalab/core-components-popover/modern';
12
12
  import '@alfalab/hooks';
13
- import '../../../getDataTestId-329074ab.js';
13
+ import '../../../getDataTestId-0b4414ce.js';
14
14
  import '../../../utils.js';
15
15
  import '../../../components/native-select/Component.js';
16
16
  import '../../../components/field/Component.js';
@@ -36,5 +36,5 @@ import '@alfalab/core-components-button/modern';
36
36
  import '../../../components/virtual-options-list/Component.js';
37
37
  import 'react-virtual';
38
38
  import '@alfalab/core-components-skeleton/modern';
39
- import '../../../intersection-observer-1494dbdf.js';
39
+ import '../../../intersection-observer-5d00ff89.js';
40
40
  import './footer/Component.js';
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
9
9
  import '@alfalab/icons-glyph/CheckmarkMIcon';
10
10
  import '../../components/checkmark-mobile/Component.js';
11
11
 
12
- const styles = {"skeleton":"select__skeleton_96bni"};
12
+ const styles = {"skeleton":"select__skeleton_5s4ii"};
13
13
  require('./index.css')
14
14
 
15
15
  function useSelectWithLoading({ loading = false, visibleOptions = 6, Option: Option$1 = Option, }) {
@@ -1,5 +1,5 @@
1
- /* hash: qb5vg */
2
- .select__skeleton_96bni {
1
+ /* hash: te4gt */
2
+ .select__skeleton_5s4ii {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -10,7 +10,7 @@ import 'react-merge-refs';
10
10
  import '@juggle/resize-observer';
11
11
  import 'downshift';
12
12
  import '@alfalab/core-components-popover/modern';
13
- import './getDataTestId-329074ab.js';
13
+ import './getDataTestId-0b4414ce.js';
14
14
  import './utils.js';
15
15
  import './components/native-select/Component.js';
16
16
  import './components/field/Component.js';
@@ -26,7 +26,7 @@ import './components/checkmark-mobile/Component.js';
26
26
  import './components/options-list/Component.js';
27
27
  import '@alfalab/core-components-scrollbar/modern';
28
28
  import './consts.js';
29
- import './Component-851e480c.js';
29
+ import './Component-ebd3b536.js';
30
30
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
31
31
  import './components/base-select-mobile/Component.js';
32
32
  import '@alfalab/core-components-bottom-sheet/modern';
@@ -37,5 +37,5 @@ import '@alfalab/core-components-button/modern';
37
37
  import './components/virtual-options-list/Component.js';
38
38
  import 'react-virtual';
39
39
  import '@alfalab/core-components-skeleton/modern';
40
- import './intersection-observer-1494dbdf.js';
40
+ import './intersection-observer-5d00ff89.js';
41
41
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-select",
3
- "version": "14.3.2",
3
+ "version": "14.3.3",
4
4
  "description": "Select component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -20,12 +20,12 @@
20
20
  "dependencies": {
21
21
  "@alfalab/core-components-badge": "^5.1.0",
22
22
  "@alfalab/core-components-base-modal": "^5.2.0",
23
- "@alfalab/core-components-bottom-sheet": "^6.4.0",
24
- "@alfalab/core-components-button": "^8.4.0",
23
+ "@alfalab/core-components-bottom-sheet": "^6.4.1",
24
+ "@alfalab/core-components-button": "^8.5.0",
25
25
  "@alfalab/core-components-checkbox": "^3.1.4",
26
26
  "@alfalab/core-components-form-control": "^9.0.5",
27
- "@alfalab/core-components-input": "^11.1.16",
28
- "@alfalab/core-components-modal": "^7.0.13",
27
+ "@alfalab/core-components-input": "^11.1.17",
28
+ "@alfalab/core-components-modal": "^7.0.14",
29
29
  "@alfalab/core-components-popover": "^6.0.8",
30
30
  "@alfalab/core-components-scrollbar": "^2.1.5",
31
31
  "@alfalab/core-components-skeleton": "^4.0.5",
package/presets/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var presets_useSelectWithLoading_hook = require('./useSelectWithLoading/hook.js');
6
6
  var presets_useLazyLoading_hook = require('./useLazyLoading/hook.js');
7
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../Component-685d5b82.js');
7
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../Component-dbfd2710.js');
8
8
  require('tslib');
9
9
  require('react');
10
10
  require('@alfalab/core-components-skeleton');
@@ -16,7 +16,7 @@ require('@alfalab/core-components-checkbox');
16
16
  require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
17
17
  require('@alfalab/icons-glyph/CheckmarkMIcon');
18
18
  require('../components/checkmark-mobile/Component.js');
19
- require('../intersection-observer-50fab44b.js');
19
+ require('../intersection-observer-b8830671.js');
20
20
  require('../Component.js');
21
21
  require('../components/arrow/Component.js');
22
22
  require('@alfalab/icons-glyph/ChevronDownMIcon');
@@ -26,7 +26,7 @@ require('@juggle/resize-observer');
26
26
  require('downshift');
27
27
  require('@alfalab/core-components-popover');
28
28
  require('@alfalab/hooks');
29
- require('../getDataTestId-4a7070c7.js');
29
+ require('../getDataTestId-a22df8fc.js');
30
30
  require('../utils.js');
31
31
  require('../components/native-select/Component.js');
32
32
  require('../components/field/Component.js');
@@ -6,7 +6,7 @@ var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var coreComponentsSkeleton = require('@alfalab/core-components-skeleton');
8
8
  var components_option_Component = require('../../components/option/Component.js');
9
- require('../../intersection-observer-50fab44b.js');
9
+ require('../../intersection-observer-b8830671.js');
10
10
  require('classnames');
11
11
  require('../../components/checkmark/Component.js');
12
12
  require('@alfalab/core-components-badge');
@@ -19,7 +19,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
19
19
 
20
20
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
21
21
 
22
- var styles = {"skeleton":"select__skeleton_jsxou"};
22
+ var styles = {"skeleton":"select__skeleton_gdz5z"};
23
23
  require('./index.css')
24
24
 
25
25
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: 1ou3c */
2
- .select__skeleton_jsxou {
1
+ /* hash: ehlo0 */
2
+ .select__skeleton_gdz5z {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -8,7 +8,7 @@ require('../../Component.js');
8
8
  require('classnames');
9
9
  require('@alfalab/icons-glyph/ChevronDownMIcon');
10
10
  require('../../components/base-select/Component.js');
11
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-685d5b82.js');
11
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../Component-dbfd2710.js');
12
12
  require('@alfalab/core-components-form-control');
13
13
  require('@alfalab/hooks');
14
14
  require('../../utils.js');
@@ -19,7 +19,7 @@ require('@alfalab/icons-glyph/CheckmarkMIcon');
19
19
  require('../../components/options-list/Component.js');
20
20
  require('../../components/virtual-options-list/Component.js');
21
21
  require('@alfalab/core-components-skeleton');
22
- require('../../intersection-observer-50fab44b.js');
22
+ require('../../intersection-observer-b8830671.js');
23
23
  require('../../components/arrow/Component.js');
24
24
  require('../../components/field/Component.js');
25
25
  require('../../components/optgroup/Component.js');
@@ -30,7 +30,7 @@ require('react-merge-refs');
30
30
  require('@juggle/resize-observer');
31
31
  require('downshift');
32
32
  require('@alfalab/core-components-popover');
33
- require('../../getDataTestId-4a7070c7.js');
33
+ require('../../getDataTestId-a22df8fc.js');
34
34
  require('../../components/native-select/Component.js');
35
35
  require('@alfalab/core-components-scrollbar');
36
36
  require('../../consts.js');
@@ -6,7 +6,7 @@ require('tslib');
6
6
  require('react');
7
7
  require('../../../components/options-list/Component.js');
8
8
  require('../../../consts.js');
9
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../Component-685d5b82.js');
9
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../Component-dbfd2710.js');
10
10
  require('./footer/Component.js');
11
11
  require('./header/Component.js');
12
12
  require('react-merge-refs');
@@ -22,7 +22,7 @@ require('../../../components/base-select/Component.js');
22
22
  require('@juggle/resize-observer');
23
23
  require('downshift');
24
24
  require('@alfalab/core-components-popover');
25
- require('../../../getDataTestId-4a7070c7.js');
25
+ require('../../../getDataTestId-a22df8fc.js');
26
26
  require('../../../components/native-select/Component.js');
27
27
  require('../../../components/field/Component.js');
28
28
  require('@alfalab/core-components-form-control');
@@ -42,7 +42,7 @@ require('@alfalab/core-components-button');
42
42
  require('../../../components/virtual-options-list/Component.js');
43
43
  require('react-virtual');
44
44
  require('@alfalab/core-components-skeleton');
45
- require('../../../intersection-observer-50fab44b.js');
45
+ require('../../../intersection-observer-b8830671.js');
46
46
 
47
47
 
48
48
 
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
11
 
12
- var styles = {"footer":"select__footer_ufjm7"};
12
+ var styles = {"footer":"select__footer_159s0"};
13
13
  require('./index.css')
14
14
 
15
15
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 9ndqy */
1
+ /* hash: jr1xi */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -17,10 +17,10 @@
17
17
  --gap-s: 12px;
18
18
  } :root {
19
19
  } :root {
20
- } .select__footer_ufjm7 {
20
+ } .select__footer_159s0 {
21
21
  background-color: var(--color-light-bg-primary);
22
22
  padding: var(--gap-s);
23
23
  outline: none
24
- } .select__footer_ufjm7 > * + * {
24
+ } .select__footer_159s0 > * + * {
25
25
  margin-left: var(--gap-xs);
26
26
  }
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"desktop":"select__desktop_19upg","mobile":"select__mobile_19upg"};
14
+ var styles = {"desktop":"select__desktop_bmdaq","mobile":"select__mobile_bmdaq"};
15
15
  require('./index.css')
16
16
 
17
17
  var Header = function (_a) {