@alfalab/core-components-select 13.2.13 → 13.2.14

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 (179) hide show
  1. package/{Component-088caba2.d.ts → Component-56295912.d.ts} +2 -2
  2. package/{Component-088caba2.js → Component-56295912.js} +4 -4
  3. package/{Component-ca307b80.js → Component-5eb2f57b.js} +1 -1
  4. package/Component.js +1 -1
  5. package/Component.responsive.js +3 -3
  6. package/components/arrow/Component.js +1 -1
  7. package/components/arrow/index.css +3 -3
  8. package/components/base-checkmark/Component.js +1 -1
  9. package/components/base-checkmark/index.css +4 -4
  10. package/components/base-option/Component.js +1 -1
  11. package/components/base-option/index.css +13 -13
  12. package/components/base-select/Component.js +1 -1
  13. package/components/base-select/index.css +7 -7
  14. package/components/base-select/index.d.ts +1 -1
  15. package/components/base-select/index.js +1 -1
  16. package/components/base-select-mobile/Component.js +3 -3
  17. package/components/base-select-mobile/checkmark/Component.js +1 -1
  18. package/components/base-select-mobile/checkmark/index.css +6 -6
  19. package/components/base-select-mobile/index.css +11 -11
  20. package/components/base-select-mobile/index.d.ts +1 -1
  21. package/components/base-select-mobile/index.js +3 -3
  22. package/components/base-select-mobile/options-list/Component.js +1 -1
  23. package/components/base-select-mobile/options-list/index.css +9 -9
  24. package/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  25. package/components/base-select-mobile/virtual-options-list/index.css +15 -15
  26. package/components/checkmark/Component.js +1 -1
  27. package/components/checkmark/index.css +10 -10
  28. package/components/field/Component.js +1 -1
  29. package/components/field/index.css +9 -9
  30. package/components/index.js +3 -3
  31. package/components/optgroup/Component.js +1 -1
  32. package/components/optgroup/index.css +6 -6
  33. package/components/option/Component.js +1 -1
  34. package/components/option/index.css +20 -20
  35. package/components/options-list/Component.js +1 -1
  36. package/components/options-list/index.css +6 -6
  37. package/components/select-mobile/Component.js +3 -3
  38. package/components/select-mobile/index.d.ts +1 -1
  39. package/components/select-mobile/index.js +3 -3
  40. package/components/select-modal-mobile/Component.js +3 -3
  41. package/components/select-modal-mobile/index.d.ts +1 -1
  42. package/components/select-modal-mobile/index.js +3 -3
  43. package/components/virtual-options-list/Component.js +1 -1
  44. package/components/virtual-options-list/index.css +12 -12
  45. package/cssm/Component-8f0723b4.d.ts +2 -2
  46. package/esm/{Component-82c9c6a4.js → Component-105eafca.js} +1 -1
  47. package/esm/{Component-23df669b.d.ts → Component-3d9b84ce.d.ts} +2 -2
  48. package/esm/{Component-23df669b.js → Component-3d9b84ce.js} +4 -4
  49. package/esm/Component.js +1 -1
  50. package/esm/Component.responsive.js +3 -3
  51. package/esm/components/arrow/Component.js +1 -1
  52. package/esm/components/arrow/index.css +3 -3
  53. package/esm/components/base-checkmark/Component.js +1 -1
  54. package/esm/components/base-checkmark/index.css +4 -4
  55. package/esm/components/base-option/Component.js +1 -1
  56. package/esm/components/base-option/index.css +13 -13
  57. package/esm/components/base-select/Component.js +1 -1
  58. package/esm/components/base-select/index.css +7 -7
  59. package/esm/components/base-select/index.d.ts +1 -1
  60. package/esm/components/base-select/index.js +1 -1
  61. package/esm/components/base-select-mobile/Component.js +3 -3
  62. package/esm/components/base-select-mobile/checkmark/Component.js +1 -1
  63. package/esm/components/base-select-mobile/checkmark/index.css +6 -6
  64. package/esm/components/base-select-mobile/index.css +11 -11
  65. package/esm/components/base-select-mobile/index.d.ts +1 -1
  66. package/esm/components/base-select-mobile/index.js +3 -3
  67. package/esm/components/base-select-mobile/options-list/Component.js +1 -1
  68. package/esm/components/base-select-mobile/options-list/index.css +9 -9
  69. package/esm/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  70. package/esm/components/base-select-mobile/virtual-options-list/index.css +15 -15
  71. package/esm/components/checkmark/Component.js +1 -1
  72. package/esm/components/checkmark/index.css +10 -10
  73. package/esm/components/field/Component.js +1 -1
  74. package/esm/components/field/index.css +9 -9
  75. package/esm/components/index.js +3 -3
  76. package/esm/components/optgroup/Component.js +1 -1
  77. package/esm/components/optgroup/index.css +6 -6
  78. package/esm/components/option/Component.js +1 -1
  79. package/esm/components/option/index.css +20 -20
  80. package/esm/components/options-list/Component.js +1 -1
  81. package/esm/components/options-list/index.css +6 -6
  82. package/esm/components/select-mobile/Component.js +3 -3
  83. package/esm/components/select-mobile/index.d.ts +1 -1
  84. package/esm/components/select-mobile/index.js +3 -3
  85. package/esm/components/select-modal-mobile/Component.js +3 -3
  86. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  87. package/esm/components/select-modal-mobile/index.js +3 -3
  88. package/esm/components/virtual-options-list/Component.js +1 -1
  89. package/esm/components/virtual-options-list/index.css +12 -12
  90. package/esm/index.js +3 -3
  91. package/esm/presets/index.js +3 -3
  92. package/esm/presets/useLazyLoading/hook.js +2 -2
  93. package/esm/presets/useLazyLoading/index.css +2 -2
  94. package/esm/presets/useSelectWithApply/hook.js +3 -3
  95. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  96. package/esm/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  97. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  98. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  99. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  100. package/esm/presets/useSelectWithLoading/index.css +2 -2
  101. package/esm/responsive.js +3 -3
  102. package/index.js +3 -3
  103. package/modern/{Component-629f202b.d.ts → Component-20680737.d.ts} +2 -2
  104. package/modern/{Component-629f202b.js → Component-20680737.js} +4 -4
  105. package/modern/{Component-c2743e76.js → Component-a6757057.js} +1 -1
  106. package/modern/Component.js +1 -1
  107. package/modern/Component.responsive.js +3 -3
  108. package/modern/components/arrow/Component.js +1 -1
  109. package/modern/components/arrow/index.css +3 -3
  110. package/modern/components/base-checkmark/Component.js +1 -1
  111. package/modern/components/base-checkmark/index.css +4 -4
  112. package/modern/components/base-option/Component.js +1 -1
  113. package/modern/components/base-option/index.css +13 -13
  114. package/modern/components/base-select/Component.js +1 -1
  115. package/modern/components/base-select/index.css +7 -7
  116. package/modern/components/base-select/index.d.ts +1 -1
  117. package/modern/components/base-select/index.js +1 -1
  118. package/modern/components/base-select-mobile/Component.js +3 -3
  119. package/modern/components/base-select-mobile/checkmark/Component.js +1 -1
  120. package/modern/components/base-select-mobile/checkmark/index.css +6 -6
  121. package/modern/components/base-select-mobile/index.css +11 -11
  122. package/modern/components/base-select-mobile/index.d.ts +1 -1
  123. package/modern/components/base-select-mobile/index.js +3 -3
  124. package/modern/components/base-select-mobile/options-list/Component.js +1 -1
  125. package/modern/components/base-select-mobile/options-list/index.css +9 -9
  126. package/modern/components/base-select-mobile/virtual-options-list/Component.js +1 -1
  127. package/modern/components/base-select-mobile/virtual-options-list/index.css +15 -15
  128. package/modern/components/checkmark/Component.js +1 -1
  129. package/modern/components/checkmark/index.css +10 -10
  130. package/modern/components/field/Component.js +1 -1
  131. package/modern/components/field/index.css +9 -9
  132. package/modern/components/index.js +3 -3
  133. package/modern/components/optgroup/Component.js +1 -1
  134. package/modern/components/optgroup/index.css +6 -6
  135. package/modern/components/option/Component.js +1 -1
  136. package/modern/components/option/index.css +20 -20
  137. package/modern/components/options-list/Component.js +1 -1
  138. package/modern/components/options-list/index.css +6 -6
  139. package/modern/components/select-mobile/Component.js +3 -3
  140. package/modern/components/select-mobile/index.d.ts +1 -1
  141. package/modern/components/select-mobile/index.js +3 -3
  142. package/modern/components/select-modal-mobile/Component.js +3 -3
  143. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  144. package/modern/components/select-modal-mobile/index.js +3 -3
  145. package/modern/components/virtual-options-list/Component.js +1 -1
  146. package/modern/components/virtual-options-list/index.css +12 -12
  147. package/modern/index.js +3 -3
  148. package/modern/presets/index.js +3 -3
  149. package/modern/presets/useLazyLoading/hook.js +2 -2
  150. package/modern/presets/useLazyLoading/index.css +2 -2
  151. package/modern/presets/useSelectWithApply/hook.js +3 -3
  152. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  153. package/modern/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  154. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  155. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  156. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  157. package/modern/presets/useSelectWithLoading/index.css +2 -2
  158. package/modern/responsive.js +3 -3
  159. package/package.json +6 -6
  160. package/presets/index.js +3 -3
  161. package/presets/useLazyLoading/hook.js +2 -2
  162. package/presets/useLazyLoading/index.css +2 -2
  163. package/presets/useSelectWithApply/hook.js +3 -3
  164. package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  165. package/presets/useSelectWithApply/options-list-with-apply/index.css +4 -4
  166. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  167. package/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  168. package/presets/useSelectWithLoading/hook.js +1 -1
  169. package/presets/useSelectWithLoading/index.css +2 -2
  170. package/responsive.js +3 -3
  171. /package/{Component-ca307b80.d.ts → Component-5eb2f57b.d.ts} +0 -0
  172. /package/esm/{Component-82c9c6a4.d.ts → Component-105eafca.d.ts} +0 -0
  173. /package/esm/{intersection-observer-12c920c6.d.ts → intersection-observer-9c4df9c1.d.ts} +0 -0
  174. /package/esm/{intersection-observer-12c920c6.js → intersection-observer-9c4df9c1.js} +0 -0
  175. /package/{intersection-observer-31caed5c.d.ts → intersection-observer-562b226a.d.ts} +0 -0
  176. /package/{intersection-observer-31caed5c.js → intersection-observer-562b226a.js} +0 -0
  177. /package/modern/{Component-c2743e76.d.ts → Component-a6757057.d.ts} +0 -0
  178. /package/modern/{intersection-observer-12c920c6.d.ts → intersection-observer-9c4df9c1.d.ts} +0 -0
  179. /package/modern/{intersection-observer-12c920c6.js → intersection-observer-9c4df9c1.js} +0 -0
@@ -8,7 +8,7 @@ import '@alfalab/core-components-badge/esm';
8
8
  import '@alfalab/core-components-checkbox/esm';
9
9
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
10
10
 
11
- var styles = {"option":"select__option_itanu","disabled":"select__disabled_itanu","s":"select__s_itanu","m":"select__m_itanu","l":"select__l_itanu","xl":"select__xl_itanu","selected":"select__selected_itanu","highlighted":"select__highlighted_itanu","content":"select__content_itanu","textContent":"select__textContent_itanu"};
11
+ var styles = {"option":"select__option_sy4uu","disabled":"select__disabled_sy4uu","s":"select__s_sy4uu","m":"select__m_sy4uu","l":"select__l_sy4uu","xl":"select__xl_sy4uu","selected":"select__selected_sy4uu","highlighted":"select__highlighted_sy4uu","content":"select__content_sy4uu","textContent":"select__textContent_sy4uu"};
12
12
  require('./index.css')
13
13
 
14
14
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 7z52k */
1
+ /* hash: oe5s1 */
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_itanu {
56
+ } .select__option_sy4uu {
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_itanu:not(.select__disabled_itanu):active {
71
+ } .select__option_sy4uu:not(.select__disabled_sy4uu):active {
72
72
  background: var(--select-option-active-background);
73
73
  color: var(--select-option-active-color);
74
- } .select__option_itanu:before {
74
+ } .select__option_sy4uu: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_itanu:first-child:before {
84
+ } .select__option_sy4uu:first-child:before {
85
85
  display: none;
86
- } .select__s_itanu {
86
+ } .select__s_sy4uu {
87
87
  min-height: var(--size-s-height);
88
- } .select__m_itanu {
88
+ } .select__m_sy4uu {
89
89
  min-height: var(--size-m-height);
90
- } .select__l_itanu {
90
+ } .select__l_sy4uu {
91
91
  min-height: var(--size-l-height);
92
- } .select__xl_itanu {
92
+ } .select__xl_sy4uu {
93
93
  min-height: var(--size-xl-height);
94
- } .select__l_itanu,
95
- .select__xl_itanu {
94
+ } .select__l_sy4uu,
95
+ .select__xl_sy4uu {
96
96
  padding-left: var(--select-option-l-left-padding);
97
97
  padding-right: var(--select-option-l-right-padding)
98
- } .select__l_itanu:before, .select__xl_itanu:before {
98
+ } .select__l_sy4uu:before, .select__xl_sy4uu:before {
99
99
  left: var(--select-option-l-left-padding);
100
100
  right: var(--select-option-l-right-padding);
101
- } .select__selected_itanu {
101
+ } .select__selected_sy4uu {
102
102
  background: var(--select-option-selected-background);
103
103
  color: var(--select-option-selected-color);
104
104
  cursor: default;
105
- } .select__highlighted_itanu {
105
+ } .select__highlighted_sy4uu {
106
106
  background: var(--select-option-hover-background);
107
107
  color: var(--select-option-hover-color)
108
- } .select__highlighted_itanu:before,
109
- .select__highlighted_itanu + .select__option_itanu:before {
108
+ } .select__highlighted_sy4uu:before,
109
+ .select__highlighted_sy4uu + .select__option_sy4uu:before {
110
110
  opacity: 0;
111
- } .select__disabled_itanu {
111
+ } .select__disabled_sy4uu {
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_itanu {
115
+ } .select__content_sy4uu {
116
116
  overflow: hidden;
117
117
  flex: 1;
118
118
  text-overflow: ellipsis;
119
- } .select__textContent_itanu {
119
+ } .select__textContent_sy4uu {
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_itanu:after {
123
+ .select__option_sy4uu:after {
124
124
  min-height: inherit;
125
125
  font-size: 0;
126
126
  content: '';
@@ -7,7 +7,7 @@ import { useMedia } from '@alfalab/hooks';
7
7
  import { useVisibleOptions, isGroup } from '../../utils.js';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- var styles = {"optionsList":"select__optionsList_1iw1q","scrollable":"select__scrollable_1iw1q","emptyPlaceholder":"select__emptyPlaceholder_1iw1q","l":"select__l_1iw1q","xl":"select__xl_1iw1q"};
10
+ var styles = {"optionsList":"select__optionsList_1pemo","scrollable":"select__scrollable_1pemo","emptyPlaceholder":"select__emptyPlaceholder_1pemo","l":"select__l_1pemo","xl":"select__xl_1pemo"};
11
11
  require('./index.css')
12
12
 
13
13
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 10arf */
1
+ /* hash: j1m0p */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
@@ -28,18 +28,18 @@
28
28
  /* checkmark */
29
29
 
30
30
  /* optgroup */
31
- } .select__optionsList_1iw1q {
31
+ } .select__optionsList_1pemo {
32
32
  overflow: auto;
33
33
  width: 100%;
34
34
  outline: none;
35
35
  box-sizing: border-box;
36
- } .select__scrollable_1iw1q {
36
+ } .select__scrollable_1pemo {
37
37
  overflow: auto;
38
38
  width: 100%;
39
- } .select__emptyPlaceholder_1iw1q {
39
+ } .select__emptyPlaceholder_1pemo {
40
40
  padding: var(--gap-m) var(--gap-s);
41
41
  color: var(--select-options-list-empty-placeholder-color);
42
- } .select__l_1iw1q .select__emptyPlaceholder_1iw1q,
43
- .select__xl_1iw1q .select__emptyPlaceholder_1iw1q {
42
+ } .select__l_1pemo .select__emptyPlaceholder_1pemo,
43
+ .select__xl_1pemo .select__emptyPlaceholder_1pemo {
44
44
  padding: var(--gap-xl) var(--gap-m);
45
45
  }
@@ -1,7 +1,7 @@
1
1
  import 'tslib';
2
2
  import 'react';
3
3
  import '../arrow/Component.js';
4
- export { S as SelectMobile } from '../../Component-23df669b.js';
4
+ export { S as SelectMobile } from '../../Component-3d9b84ce.js';
5
5
  import '../field/Component.js';
6
6
  import '../optgroup/Component.js';
7
7
  import '../option/Component.js';
@@ -12,7 +12,7 @@ import 'downshift';
12
12
  import '@alfalab/core-components-bottom-sheet/esm';
13
13
  import '@alfalab/core-components-modal/esm/mobile';
14
14
  import '../../Component.js';
15
- import '../../Component-82c9c6a4.js';
15
+ import '../../Component-105eafca.js';
16
16
  import '@juggle/resize-observer';
17
17
  import '@alfalab/core-components-popover/esm';
18
18
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-12c920c6.js';
34
+ import '../../intersection-observer-9c4df9c1.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1 +1 @@
1
- export * from "../../Component-23df669b";
1
+ export * from "../../Component-3d9b84ce";
@@ -1,4 +1,4 @@
1
- export { S as SelectMobile } from '../../Component-23df669b.js';
1
+ export { S as SelectMobile } from '../../Component-3d9b84ce.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '../arrow/Component.js';
@@ -9,7 +9,7 @@ import 'downshift';
9
9
  import '@alfalab/core-components-bottom-sheet/esm';
10
10
  import '@alfalab/core-components-modal/esm/mobile';
11
11
  import '../../Component.js';
12
- import '../../Component-82c9c6a4.js';
12
+ import '../../Component-105eafca.js';
13
13
  import '@juggle/resize-observer';
14
14
  import '@alfalab/core-components-popover/esm';
15
15
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-12c920c6.js';
34
+ import '../../intersection-observer-9c4df9c1.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1,7 +1,7 @@
1
1
  import 'tslib';
2
2
  import 'react';
3
3
  import '../arrow/Component.js';
4
- export { a as SelectModalMobile } from '../../Component-23df669b.js';
4
+ export { a as SelectModalMobile } from '../../Component-3d9b84ce.js';
5
5
  import '../field/Component.js';
6
6
  import '../optgroup/Component.js';
7
7
  import '../option/Component.js';
@@ -12,7 +12,7 @@ import 'downshift';
12
12
  import '@alfalab/core-components-bottom-sheet/esm';
13
13
  import '@alfalab/core-components-modal/esm/mobile';
14
14
  import '../../Component.js';
15
- import '../../Component-82c9c6a4.js';
15
+ import '../../Component-105eafca.js';
16
16
  import '@juggle/resize-observer';
17
17
  import '@alfalab/core-components-popover/esm';
18
18
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-12c920c6.js';
34
+ import '../../intersection-observer-9c4df9c1.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -1 +1 @@
1
- export * from "../../Component-23df669b";
1
+ export * from "../../Component-3d9b84ce";
@@ -1,4 +1,4 @@
1
- export { a as SelectModalMobile } from '../../Component-23df669b.js';
1
+ export { a as SelectModalMobile } from '../../Component-3d9b84ce.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '../arrow/Component.js';
@@ -9,7 +9,7 @@ import 'downshift';
9
9
  import '@alfalab/core-components-bottom-sheet/esm';
10
10
  import '@alfalab/core-components-modal/esm/mobile';
11
11
  import '../../Component.js';
12
- import '../../Component-82c9c6a4.js';
12
+ import '../../Component-105eafca.js';
13
13
  import '@juggle/resize-observer';
14
14
  import '@alfalab/core-components-popover/esm';
15
15
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../base-option/Component.js';
32
32
  import '../base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../intersection-observer-12c920c6.js';
34
+ import '../../intersection-observer-9c4df9c1.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -7,7 +7,7 @@ import { useMedia } from '@alfalab/hooks';
7
7
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- var styles = {"virtualOptionsList":"select__virtualOptionsList_1vml2","scrollable":"select__scrollable_1vml2","inner":"select__inner_1vml2","virtualRow":"select__virtualRow_1vml2","highlighted":"select__highlighted_1vml2","emptyPlaceholder":"select__emptyPlaceholder_1vml2","l":"select__l_1vml2","xl":"select__xl_1vml2"};
10
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_fwirq","scrollable":"select__scrollable_fwirq","inner":"select__inner_fwirq","virtualRow":"select__virtualRow_fwirq","highlighted":"select__highlighted_fwirq","emptyPlaceholder":"select__emptyPlaceholder_fwirq","l":"select__l_fwirq","xl":"select__xl_fwirq"};
11
11
  require('./index.css')
12
12
 
13
13
  /* eslint-disable react-hooks/exhaustive-deps */
@@ -1,4 +1,4 @@
1
- /* hash: z1veu */
1
+ /* hash: 1cs8z */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dbdee1;
@@ -34,23 +34,23 @@
34
34
  /* checkmark */
35
35
 
36
36
  /* optgroup */
37
- } .select__virtualOptionsList_1vml2 {
37
+ } .select__virtualOptionsList_fwirq {
38
38
  width: 100%;
39
39
  outline: none;
40
40
  box-sizing: border-box;
41
41
  position: relative;
42
- } .select__scrollable_1vml2 {
42
+ } .select__scrollable_fwirq {
43
43
  overflow: auto;
44
44
  width: 100%;
45
- } .select__inner_1vml2 {
45
+ } .select__inner_fwirq {
46
46
  position: relative;
47
47
  width: 100%;
48
- } .select__virtualRow_1vml2 {
48
+ } .select__virtualRow_fwirq {
49
49
  position: absolute;
50
50
  top: 0;
51
51
  left: 0;
52
52
  width: 100%
53
- } .select__virtualRow_1vml2:before {
53
+ } .select__virtualRow_fwirq:before {
54
54
  content: '';
55
55
  position: absolute;
56
56
  z-index: 1;
@@ -60,15 +60,15 @@
60
60
  height: 1px;
61
61
  background: var(--select-option-divider-background);
62
62
  display: var(--select-option-divider-display);
63
- } .select__virtualRow_1vml2:first-child:before {
63
+ } .select__virtualRow_fwirq:first-child:before {
64
64
  display: none;
65
- } .select__highlighted_1vml2:before,
66
- .select__highlighted_1vml2 + .select__virtualRow_1vml2:before {
65
+ } .select__highlighted_fwirq:before,
66
+ .select__highlighted_fwirq + .select__virtualRow_fwirq:before {
67
67
  display: none;
68
- } .select__emptyPlaceholder_1vml2 {
68
+ } .select__emptyPlaceholder_fwirq {
69
69
  padding: var(--gap-m) var(--gap-s);
70
70
  color: var(--select-options-list-empty-placeholder-color);
71
- } .select__l_1vml2 .select__emptyPlaceholder_1vml2,
72
- .select__xl_1vml2 .select__emptyPlaceholder_1vml2 {
71
+ } .select__l_fwirq .select__emptyPlaceholder_fwirq,
72
+ .select__xl_fwirq .select__emptyPlaceholder_fwirq {
73
73
  padding: var(--gap-xl) var(--gap-m);
74
74
  }
package/esm/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-82c9c6a4.js';
4
- export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-23df669b.js';
3
+ export { B as BaseSelect } from './Component-105eafca.js';
4
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-3d9b84ce.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';
@@ -33,7 +33,7 @@ import '@alfalab/core-components-bottom-sheet/esm';
33
33
  import '@alfalab/core-components-modal/esm/mobile';
34
34
  import 'react-virtual';
35
35
  import '@alfalab/core-components-skeleton/esm';
36
- import './intersection-observer-12c920c6.js';
36
+ import './intersection-observer-9c4df9c1.js';
37
37
  import '@alfalab/core-components-button/esm';
38
38
  import './components/base-checkmark/Component.js';
39
39
  import './components/base-select-mobile/options-list/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-23df669b.js';
3
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-3d9b84ce.js';
4
4
  import 'tslib';
5
5
  import 'react';
6
6
  import '@alfalab/core-components-skeleton/esm';
@@ -12,7 +12,7 @@ import '../components/checkmark/Component.js';
12
12
  import '@alfalab/core-components-badge/esm';
13
13
  import '@alfalab/core-components-checkbox/esm';
14
14
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
15
- import '../intersection-observer-12c920c6.js';
15
+ import '../intersection-observer-9c4df9c1.js';
16
16
  import '../components/arrow/Component.js';
17
17
  import '@alfalab/icons-glyph/ChevronDownMIcon';
18
18
  import 'react-merge-refs';
@@ -20,7 +20,7 @@ import 'downshift';
20
20
  import '@alfalab/core-components-bottom-sheet/esm';
21
21
  import '@alfalab/core-components-modal/esm/mobile';
22
22
  import '../Component.js';
23
- import '../Component-82c9c6a4.js';
23
+ import '../Component-105eafca.js';
24
24
  import '@juggle/resize-observer';
25
25
  import '@alfalab/core-components-popover/esm';
26
26
  import '@alfalab/hooks';
@@ -2,7 +2,7 @@ import { __spreadArray, __assign } from 'tslib';
2
2
  import React, { useReducer, useRef, useCallback, useEffect, useMemo } from 'react';
3
3
  import { Skeleton } from '@alfalab/core-components-skeleton/esm';
4
4
  import { Option } from '../../components/option/Component.js';
5
- import '../../intersection-observer-12c920c6.js';
5
+ import '../../intersection-observer-9c4df9c1.js';
6
6
  import 'classnames';
7
7
  import '../../components/base-select-mobile/checkmark/Component.js';
8
8
  import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -11,7 +11,7 @@ import '@alfalab/core-components-badge/esm';
11
11
  import '@alfalab/core-components-checkbox/esm';
12
12
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
13
13
 
14
- var styles = {"skeleton":"select__skeleton_1fzuw"};
14
+ var styles = {"skeleton":"select__skeleton_9e2ee"};
15
15
  require('./index.css')
16
16
 
17
17
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: 1mbe1 */
2
- .select__skeleton_1fzuw {
1
+ /* hash: 15300 */
2
+ .select__skeleton_9e2ee {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -3,8 +3,8 @@ import 'react';
3
3
  import '../../Component.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
- import '../../Component-82c9c6a4.js';
7
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-23df669b.js';
6
+ import '../../Component-105eafca.js';
7
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-3d9b84ce.js';
8
8
  import '@alfalab/core-components-form-control/esm';
9
9
  import '@alfalab/hooks';
10
10
  import '../../utils.js';
@@ -16,7 +16,7 @@ import '../../components/options-list/Component.js';
16
16
  import 'react-virtual';
17
17
  import '@alfalab/core-components-scrollbar/esm';
18
18
  import '@alfalab/core-components-skeleton/esm';
19
- import '../../intersection-observer-12c920c6.js';
19
+ import '../../intersection-observer-9c4df9c1.js';
20
20
  import '../../components/arrow/Component.js';
21
21
  import '../../components/field/Component.js';
22
22
  import '../../components/optgroup/Component.js';
@@ -3,8 +3,8 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-button/esm';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
- import '../../../Component-82c9c6a4.js';
7
- export { O as OptionsListWithApply } from '../../../Component-23df669b.js';
6
+ import '../../../Component-105eafca.js';
7
+ export { O as OptionsListWithApply } from '../../../Component-3d9b84ce.js';
8
8
  import '@alfalab/core-components-form-control/esm';
9
9
  import '@alfalab/hooks';
10
10
  import '@alfalab/icons-glyph/CheckmarkMIcon';
@@ -32,7 +32,7 @@ import '../../../components/checkmark/Component.js';
32
32
  import '../../../components/base-option/Component.js';
33
33
  import '../../../components/base-checkmark/Component.js';
34
34
  import '@alfalab/core-components-skeleton/esm';
35
- import '../../../intersection-observer-12c920c6.js';
35
+ import '../../../intersection-observer-9c4df9c1.js';
36
36
  import '../../../components/base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
38
38
  import '../../../components/base-select-mobile/virtual-options-list/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: onzmt */
1
+ /* hash: 1q0rw */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -27,12 +27,12 @@
27
27
  /* checkmark */
28
28
 
29
29
  /* optgroup */
30
- } .select__footer_l8orr {
30
+ } .select__footer_m2bj3 {
31
31
  background: var(--color-light-bg-primary);
32
32
  padding: var(--gap-s);
33
33
  outline: none
34
- } .select__footer_l8orr > * + * {
34
+ } .select__footer_m2bj3 > * + * {
35
35
  margin-left: var(--gap-xs);
36
- } .select__withBorder_l8orr {
36
+ } .select__withBorder_m2bj3 {
37
37
  box-shadow: inset 0 1px 0 var(--color-light-border-secondary);
38
38
  }
@@ -1 +1 @@
1
- export * from "../../../Component-23df669b";
1
+ export * from "../../../Component-3d9b84ce";
@@ -1,4 +1,4 @@
1
- export { O as OptionsListWithApply } from '../../../Component-23df669b.js';
1
+ export { O as OptionsListWithApply } from '../../../Component-3d9b84ce.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '../../../components/arrow/Component.js';
@@ -9,7 +9,7 @@ import 'downshift';
9
9
  import '@alfalab/core-components-bottom-sheet/esm';
10
10
  import '@alfalab/core-components-modal/esm/mobile';
11
11
  import '../../../Component.js';
12
- import '../../../Component-82c9c6a4.js';
12
+ import '../../../Component-105eafca.js';
13
13
  import '@juggle/resize-observer';
14
14
  import '@alfalab/core-components-popover/esm';
15
15
  import '@alfalab/hooks';
@@ -31,7 +31,7 @@ import 'react-virtual';
31
31
  import '../../../components/base-option/Component.js';
32
32
  import '../../../components/base-checkmark/Component.js';
33
33
  import '@alfalab/core-components-skeleton/esm';
34
- import '../../../intersection-observer-12c920c6.js';
34
+ import '../../../intersection-observer-9c4df9c1.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '../../../components/base-select-mobile/options-list/Component.js';
37
37
  import '@alfalab/core-components-base-modal/esm';
@@ -10,7 +10,7 @@ import '@alfalab/core-components-badge/esm';
10
10
  import '@alfalab/core-components-checkbox/esm';
11
11
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
12
12
 
13
- var styles = {"skeleton":"select__skeleton_1ed5p"};
13
+ var styles = {"skeleton":"select__skeleton_1kvqo"};
14
14
  require('./index.css')
15
15
 
16
16
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: 10v04 */
2
- .select__skeleton_1ed5p {
1
+ /* hash: 1h99g */
2
+ .select__skeleton_1kvqo {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
package/esm/responsive.js CHANGED
@@ -6,7 +6,7 @@ import './Component.js';
6
6
  import './components/arrow/Component.js';
7
7
  import 'classnames';
8
8
  import '@alfalab/icons-glyph/ChevronDownMIcon';
9
- import './Component-82c9c6a4.js';
9
+ import './Component-105eafca.js';
10
10
  import 'react-merge-refs';
11
11
  import '@juggle/resize-observer';
12
12
  import 'downshift';
@@ -25,14 +25,14 @@ import '@alfalab/core-components-checkbox/esm';
25
25
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
26
26
  import './components/options-list/Component.js';
27
27
  import '@alfalab/core-components-scrollbar/esm';
28
- import './Component-23df669b.js';
28
+ import './Component-3d9b84ce.js';
29
29
  import '@alfalab/core-components-bottom-sheet/esm';
30
30
  import '@alfalab/core-components-modal/esm/mobile';
31
31
  import 'react-virtual';
32
32
  import './components/base-option/Component.js';
33
33
  import './components/base-checkmark/Component.js';
34
34
  import '@alfalab/core-components-skeleton/esm';
35
- import './intersection-observer-12c920c6.js';
35
+ import './intersection-observer-9c4df9c1.js';
36
36
  import '@alfalab/core-components-button/esm';
37
37
  import './components/base-select-mobile/options-list/Component.js';
38
38
  import '@alfalab/core-components-base-modal/esm';
package/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  var Component = require('./Component.js');
4
4
  var components_arrow_Component = require('./components/arrow/Component.js');
5
- var components_baseSelect_Component = require('./Component-ca307b80.js');
6
- var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-088caba2.js');
5
+ var components_baseSelect_Component = require('./Component-5eb2f57b.js');
6
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-56295912.js');
7
7
  var components_field_Component = require('./components/field/Component.js');
8
8
  var components_optgroup_Component = require('./components/optgroup/Component.js');
9
9
  var components_option_Component = require('./components/option/Component.js');
@@ -35,7 +35,7 @@ require('@alfalab/core-components-bottom-sheet');
35
35
  require('@alfalab/core-components-modal/mobile');
36
36
  require('react-virtual');
37
37
  require('@alfalab/core-components-skeleton');
38
- require('./intersection-observer-31caed5c.js');
38
+ require('./intersection-observer-562b226a.js');
39
39
  require('@alfalab/core-components-button');
40
40
  require('./components/base-checkmark/Component.js');
41
41
  require('./components/base-select-mobile/options-list/Component.js');
@@ -225,9 +225,9 @@ type NavigationBarProps = {
225
225
  */
226
226
  view: "desktop" | "mobile";
227
227
  /**
228
- * Ссылка на родительскую ноду.
228
+ * Ссылка на родительскую ноду overflow: auto
229
229
  */
230
- parentRef?: React.RefObject<HTMLDivElement>;
230
+ scrollableParentRef?: React.RefObject<HTMLDivElement>;
231
231
  };
232
232
  type HeaderProps = Omit<NavigationBarProps, "size" | "view" | "parentRef">;
233
233
  type FooterProps = {
@@ -6,7 +6,7 @@ import { useMultipleSelection, useCombobox } from 'downshift';
6
6
  import { BottomSheet } from '@alfalab/core-components-bottom-sheet/modern';
7
7
  import { ModalMobile } from '@alfalab/core-components-modal/modern/mobile';
8
8
  import './Component.js';
9
- import { g as getDataTestId } from './Component-c2743e76.js';
9
+ import { g as getDataTestId } from './Component-a6757057.js';
10
10
  import { Field } from './components/field/Component.js';
11
11
  import { Optgroup } from './components/optgroup/Component.js';
12
12
  import { Option } from './components/option/Component.js';
@@ -17,7 +17,7 @@ import '@alfalab/hooks';
17
17
  import { processOptions } from './utils.js';
18
18
  import { BaseOption } from './components/base-option/Component.js';
19
19
  import '@alfalab/core-components-skeleton/modern';
20
- import './intersection-observer-12c920c6.js';
20
+ import './intersection-observer-9c4df9c1.js';
21
21
  import { Button } from '@alfalab/core-components-button/modern';
22
22
  import '@alfalab/icons-glyph/ChevronDownMIcon';
23
23
  import '@alfalab/core-components-form-control/modern';
@@ -30,7 +30,7 @@ import { Checkmark } from './components/base-select-mobile/checkmark/Component.j
30
30
  import { OptionsList as OptionsList$1 } from './components/base-select-mobile/options-list/Component.js';
31
31
  import { VirtualOptionsList } from './components/base-select-mobile/virtual-options-list/Component.js';
32
32
 
33
- const styles$1 = {"footer":"select__footer_l8orr","withBorder":"select__withBorder_l8orr"};
33
+ const styles$1 = {"footer":"select__footer_m2bj3","withBorder":"select__withBorder_m2bj3"};
34
34
  require('./presets/useSelectWithApply/options-list-with-apply/index.css')
35
35
 
36
36
  const OptionsListWithApply = forwardRef(({ toggleMenu, OptionsList: OptionsList$1 = OptionsList, getOptionProps: defaultGetOptionProps, showClear = true, selectedDraft = [], flatOptions = [], onApply = () => null, onClear = () => null, onClose = () => null, visibleOptions = 5, ...restProps }, ref) => {
@@ -143,7 +143,7 @@ function useSelectWithApply({ options, selected, onChange = () => null, OptionsL
143
143
  };
144
144
  }
145
145
 
146
- const styles = {"component":"select__component_mpz1x","popoverInner":"select__popoverInner_mpz1x","sheet":"select__sheet_mpz1x","sheetContent":"select__sheetContent_mpz1x","sheetContainer":"select__sheetContainer_mpz1x","block":"select__block_mpz1x","option":"select__option_mpz1x","optionGroup":"select__optionGroup_mpz1x"};
146
+ const styles = {"component":"select__component_k4a7o","popoverInner":"select__popoverInner_k4a7o","sheet":"select__sheet_k4a7o","sheetContent":"select__sheetContent_k4a7o","sheetContainer":"select__sheetContainer_k4a7o","block":"select__block_k4a7o","option":"select__option_k4a7o","optionGroup":"select__optionGroup_k4a7o"};
147
147
  require('./components/base-select-mobile/index.css')
148
148
 
149
149
  const VIRTUAL_OPTIONS_LIST_THRESHOLD = 30;
@@ -13,7 +13,7 @@ const getDataTestId = (dataTestId, element) => {
13
13
  return dataTestId ? `${dataTestId}${elementPart}` : undefined;
14
14
  };
15
15
 
16
- const styles = {"component":"select__component_1p67t","popoverInner":"select__popoverInner_1p67t","optionsList":"select__optionsList_1p67t","nativeSelect":"select__nativeSelect_1p67t","block":"select__block_1p67t"};
16
+ const styles = {"component":"select__component_1inmu","popoverInner":"select__popoverInner_1inmu","optionsList":"select__optionsList_1inmu","nativeSelect":"select__nativeSelect_1inmu","block":"select__block_1inmu"};
17
17
  require('./components/base-select/index.css')
18
18
 
19
19
  const BaseSelect = forwardRef(({ dataTestId, className, fieldClassName, optionsListClassName, optionClassName, popperClassName, options, autocomplete = false, multiple = false, allowUnselect = false, disabled = false, closeOnSelect = !multiple, circularNavigation = false, nativeSelect = false, defaultOpen = false, open: openProp, popoverPosition = 'bottom-start', preventFlip = true, optionsListWidth = 'content', name, id, selected, size = 's', optionsSize = size, error, hint, block, label, labelView, placeholder, fieldProps = {}, optionsListProps = {}, optionProps = {}, valueRenderer, onChange, onOpen, onFocus, onBlur, onScroll, Arrow, Field = () => null, OptionsList = () => null, Optgroup = () => null, Option = () => null, updatePopover, zIndexPopover, showEmptyOptionsList = false, visibleOptions, }, ref) => {
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { Arrow } from './components/arrow/Component.js';
3
- import { B as BaseSelect } from './Component-c2743e76.js';
3
+ import { B as BaseSelect } from './Component-a6757057.js';
4
4
  import { Field } from './components/field/Component.js';
5
5
  import { Optgroup } from './components/optgroup/Component.js';
6
6
  import { Option } from './components/option/Component.js';