@alfalab/core-components-select 14.3.1 → 14.3.2

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-6359d86d.js → Component-685d5b82.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-770ea482.js → Component-a8b5311f.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-dfa36aee.js → Component-851e480c.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 +4 -4
  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-6359d86d.d.ts → Component-685d5b82.d.ts} +0 -0
  168. /package/esm/{Component-770ea482.d.ts → Component-a8b5311f.d.ts} +0 -0
  169. /package/esm/{getDataTestId-ebc56304.d.ts → getDataTestId-d797e55e.d.ts} +0 -0
  170. /package/esm/{getDataTestId-ebc56304.js → getDataTestId-d797e55e.js} +0 -0
  171. /package/esm/{intersection-observer-867b89db.d.ts → intersection-observer-1494dbdf.d.ts} +0 -0
  172. /package/esm/{intersection-observer-867b89db.js → intersection-observer-1494dbdf.js} +0 -0
  173. /package/{getDataTestId-67b69501.d.ts → getDataTestId-4a7070c7.d.ts} +0 -0
  174. /package/{getDataTestId-67b69501.js → getDataTestId-4a7070c7.js} +0 -0
  175. /package/{intersection-observer-eca2c2bb.d.ts → intersection-observer-50fab44b.d.ts} +0 -0
  176. /package/{intersection-observer-eca2c2bb.js → intersection-observer-50fab44b.js} +0 -0
  177. /package/modern/{Component-dfa36aee.d.ts → Component-851e480c.d.ts} +0 -0
  178. /package/modern/{getDataTestId-44d88f22.d.ts → getDataTestId-329074ab.d.ts} +0 -0
  179. /package/modern/{getDataTestId-44d88f22.js → getDataTestId-329074ab.js} +0 -0
  180. /package/modern/{intersection-observer-867b89db.d.ts → intersection-observer-1494dbdf.d.ts} +0 -0
  181. /package/modern/{intersection-observer-867b89db.js → intersection-observer-1494dbdf.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: cc17a */
1
+ /* hash: 1fjru */
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_2qbu0 {
38
+ } .select__virtualOptionsList_1ue81 {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_2qbu0 {
43
+ } .select__virtualOptionsListHeader_1ue81 {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-border-secondary);
46
- } .select__virtualOptionsListFooter_2qbu0 {
46
+ } .select__virtualOptionsListFooter_1ue81 {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_2qbu0.select__withBorder_2qbu0 {
51
+ } .select__virtualOptionsListFooter_1ue81.select__withBorder_1ue81 {
52
52
  border-top: 1px solid var(--color-light-border-secondary);
53
- } .select__scrollable_2qbu0 {
53
+ } .select__scrollable_1ue81 {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_2qbu0 {
57
+ } .select__inner_1ue81 {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_2qbu0 {
60
+ } .select__virtualRow_1ue81 {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_2qbu0:before {
65
+ } .select__virtualRow_1ue81: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_2qbu0:first-child:before {
75
+ } .select__virtualRow_1ue81:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_2qbu0:before,
78
- .select__highlighted_2qbu0 + .select__virtualRow_2qbu0:before {
77
+ } .select__highlighted_1ue81:before,
78
+ .select__highlighted_1ue81 + .select__virtualRow_1ue81:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_2qbu0 {
80
+ } .select__emptyPlaceholder_1ue81 {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_2qbu0 .select__emptyPlaceholder_2qbu0,
84
- .select__xl_2qbu0 .select__emptyPlaceholder_2qbu0 {
83
+ } .select__l_1ue81 .select__emptyPlaceholder_1ue81,
84
+ .select__xl_1ue81 .select__emptyPlaceholder_1ue81 {
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-ebc56304";
3
+ export * from "./getDataTestId-d797e55e";
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
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-770ea482.js';
4
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-a8b5311f.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';
@@ -20,7 +20,7 @@ import '@juggle/resize-observer';
20
20
  import 'downshift';
21
21
  import '@alfalab/core-components-popover/esm';
22
22
  import '@alfalab/hooks';
23
- import './getDataTestId-ebc56304.js';
23
+ import './getDataTestId-d797e55e.js';
24
24
  import './components/native-select/Component.js';
25
25
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
26
26
  import '@alfalab/core-components-checkbox/esm';
@@ -35,7 +35,7 @@ import '@alfalab/core-components-badge/esm';
35
35
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
36
36
  import '@alfalab/icons-glyph/CheckmarkMIcon';
37
37
  import '@alfalab/core-components-skeleton/esm';
38
- import './intersection-observer-867b89db.js';
38
+ import './intersection-observer-1494dbdf.js';
39
39
  import './consts.js';
40
40
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
41
41
  import './components/checkmark/Component.js';
package/esm/mobile.js CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SelectMobile, a as SelectModalMobile } from './Component-770ea482.js';
1
+ export { S as SelectMobile, a as SelectModalMobile } from './Component-a8b5311f.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import './Component.js';
@@ -11,7 +11,7 @@ import '@juggle/resize-observer';
11
11
  import 'downshift';
12
12
  import '@alfalab/core-components-popover/esm';
13
13
  import '@alfalab/hooks';
14
- import './getDataTestId-ebc56304.js';
14
+ import './getDataTestId-d797e55e.js';
15
15
  import './utils.js';
16
16
  import './components/native-select/Component.js';
17
17
  import './components/field/Component.js';
@@ -37,5 +37,5 @@ import '@alfalab/core-components-button/esm';
37
37
  import './components/virtual-options-list/Component.js';
38
38
  import 'react-virtual';
39
39
  import '@alfalab/core-components-skeleton/esm';
40
- import './intersection-observer-867b89db.js';
40
+ import './intersection-observer-1494dbdf.js';
41
41
  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-770ea482.js';
3
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-a8b5311f.js';
4
4
  import 'tslib';
5
5
  import 'react';
6
6
  import '@alfalab/core-components-skeleton/esm';
@@ -12,7 +12,7 @@ import '@alfalab/core-components-checkbox/esm';
12
12
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
13
13
  import '@alfalab/icons-glyph/CheckmarkMIcon';
14
14
  import '../components/checkmark-mobile/Component.js';
15
- import '../intersection-observer-867b89db.js';
15
+ import '../intersection-observer-1494dbdf.js';
16
16
  import '../Component.js';
17
17
  import '../components/arrow/Component.js';
18
18
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -22,7 +22,7 @@ import '@juggle/resize-observer';
22
22
  import 'downshift';
23
23
  import '@alfalab/core-components-popover/esm';
24
24
  import '@alfalab/hooks';
25
- import '../getDataTestId-ebc56304.js';
25
+ import '../getDataTestId-d797e55e.js';
26
26
  import '../utils.js';
27
27
  import '../components/native-select/Component.js';
28
28
  import '../components/field/Component.js';
@@ -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-867b89db.js';
5
+ import '../../intersection-observer-1494dbdf.js';
6
6
  import 'classnames';
7
7
  import '../../components/checkmark/Component.js';
8
8
  import '@alfalab/core-components-badge/esm';
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
11
11
  import '@alfalab/icons-glyph/CheckmarkMIcon';
12
12
  import '../../components/checkmark-mobile/Component.js';
13
13
 
14
- var styles = {"skeleton":"select__skeleton_cwymm"};
14
+ var styles = {"skeleton":"select__skeleton_jsxou"};
15
15
  require('./index.css')
16
16
 
17
17
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: nqp40 */
2
- .select__skeleton_cwymm {
1
+ /* hash: 1ou3c */
2
+ .select__skeleton_jsxou {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -4,7 +4,7 @@ import '../../Component.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
6
  import '../../components/base-select/Component.js';
7
- export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-770ea482.js';
7
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-a8b5311f.js';
8
8
  import '@alfalab/core-components-form-control/esm';
9
9
  import '@alfalab/hooks';
10
10
  import '../../utils.js';
@@ -15,7 +15,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
15
15
  import '../../components/options-list/Component.js';
16
16
  import '../../components/virtual-options-list/Component.js';
17
17
  import '@alfalab/core-components-skeleton/esm';
18
- import '../../intersection-observer-867b89db.js';
18
+ import '../../intersection-observer-1494dbdf.js';
19
19
  import '../../components/arrow/Component.js';
20
20
  import '../../components/field/Component.js';
21
21
  import '../../components/optgroup/Component.js';
@@ -26,7 +26,7 @@ import 'react-merge-refs';
26
26
  import '@juggle/resize-observer';
27
27
  import 'downshift';
28
28
  import '@alfalab/core-components-popover/esm';
29
- import '../../getDataTestId-ebc56304.js';
29
+ import '../../getDataTestId-d797e55e.js';
30
30
  import '../../components/native-select/Component.js';
31
31
  import '@alfalab/core-components-scrollbar/esm';
32
32
  import '../../consts.js';
@@ -2,7 +2,7 @@ import 'tslib';
2
2
  import 'react';
3
3
  import '../../../components/options-list/Component.js';
4
4
  import '../../../consts.js';
5
- export { O as OptionsListWithApply } from '../../../Component-770ea482.js';
5
+ export { O as OptionsListWithApply } from '../../../Component-a8b5311f.js';
6
6
  import './footer/Component.js';
7
7
  import './header/Component.js';
8
8
  import 'react-merge-refs';
@@ -18,7 +18,7 @@ import '../../../components/base-select/Component.js';
18
18
  import '@juggle/resize-observer';
19
19
  import 'downshift';
20
20
  import '@alfalab/core-components-popover/esm';
21
- import '../../../getDataTestId-ebc56304.js';
21
+ import '../../../getDataTestId-d797e55e.js';
22
22
  import '../../../components/native-select/Component.js';
23
23
  import '../../../components/field/Component.js';
24
24
  import '@alfalab/core-components-form-control/esm';
@@ -38,4 +38,4 @@ import '@alfalab/core-components-button/esm';
38
38
  import '../../../components/virtual-options-list/Component.js';
39
39
  import 'react-virtual';
40
40
  import '@alfalab/core-components-skeleton/esm';
41
- import '../../../intersection-observer-867b89db.js';
41
+ import '../../../intersection-observer-1494dbdf.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Button } from '@alfalab/core-components-button/esm';
3
3
 
4
- var styles = {"footer":"select__footer_11srh"};
4
+ var styles = {"footer":"select__footer_ufjm7"};
5
5
  require('./index.css')
6
6
 
7
7
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 15gr5 */
1
+ /* hash: 9ndqy */
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_11srh {
20
+ } .select__footer_ufjm7 {
21
21
  background-color: var(--color-light-bg-primary);
22
22
  padding: var(--gap-s);
23
23
  outline: none
24
- } .select__footer_11srh > * + * {
24
+ } .select__footer_ufjm7 > * + * {
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/esm';
4
4
 
5
- var styles = {"desktop":"select__desktop_85crd","mobile":"select__mobile_85crd"};
5
+ var styles = {"desktop":"select__desktop_19upg","mobile":"select__mobile_19upg"};
6
6
  require('./index.css')
7
7
 
8
8
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1a65o */
1
+ /* hash: 19ccb */
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_85crd {
19
+ } .select__desktop_19upg {
20
20
  padding: var(--gap-s);
21
- } .select__mobile_85crd {
21
+ } .select__mobile_19upg {
22
22
  padding: var(--gap-s) var(--gap-xs);
23
23
  }
@@ -1 +1 @@
1
- export * from "../../../Component-770ea482";
1
+ export * from "../../../Component-a8b5311f";
@@ -1,4 +1,4 @@
1
- export { O as OptionsListWithApply } from '../../../Component-770ea482.js';
1
+ export { O as OptionsListWithApply } from '../../../Component-a8b5311f.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '../../../Component.js';
@@ -11,7 +11,7 @@ import '@juggle/resize-observer';
11
11
  import 'downshift';
12
12
  import '@alfalab/core-components-popover/esm';
13
13
  import '@alfalab/hooks';
14
- import '../../../getDataTestId-ebc56304.js';
14
+ import '../../../getDataTestId-d797e55e.js';
15
15
  import '../../../utils.js';
16
16
  import '../../../components/native-select/Component.js';
17
17
  import '../../../components/field/Component.js';
@@ -37,5 +37,5 @@ import '@alfalab/core-components-button/esm';
37
37
  import '../../../components/virtual-options-list/Component.js';
38
38
  import 'react-virtual';
39
39
  import '@alfalab/core-components-skeleton/esm';
40
- import '../../../intersection-observer-867b89db.js';
40
+ import '../../../intersection-observer-1494dbdf.js';
41
41
  import './footer/Component.js';
@@ -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
- var styles = {"skeleton":"select__skeleton_9951v"};
13
+ var styles = {"skeleton":"select__skeleton_96bni"};
14
14
  require('./index.css')
15
15
 
16
16
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: 7p6ml */
2
- .select__skeleton_9951v {
1
+ /* hash: qb5vg */
2
+ .select__skeleton_96bni {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
package/esm/responsive.js CHANGED
@@ -11,7 +11,7 @@ import 'react-merge-refs';
11
11
  import '@juggle/resize-observer';
12
12
  import 'downshift';
13
13
  import '@alfalab/core-components-popover/esm';
14
- import './getDataTestId-ebc56304.js';
14
+ import './getDataTestId-d797e55e.js';
15
15
  import './utils.js';
16
16
  import './components/native-select/Component.js';
17
17
  import './components/field/Component.js';
@@ -27,7 +27,7 @@ import './components/checkmark-mobile/Component.js';
27
27
  import './components/options-list/Component.js';
28
28
  import '@alfalab/core-components-scrollbar/esm';
29
29
  import './consts.js';
30
- import './Component-770ea482.js';
30
+ import './Component-a8b5311f.js';
31
31
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
32
32
  import './components/base-select-mobile/Component.js';
33
33
  import '@alfalab/core-components-bottom-sheet/esm';
@@ -38,5 +38,5 @@ import '@alfalab/core-components-button/esm';
38
38
  import './components/virtual-options-list/Component.js';
39
39
  import 'react-virtual';
40
40
  import '@alfalab/core-components-skeleton/esm';
41
- import './intersection-observer-867b89db.js';
41
+ import './intersection-observer-1494dbdf.js';
42
42
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -1,3 +1,3 @@
1
1
  declare const isClient: () => boolean;
2
2
  export { isClient };
3
- export * from "./getDataTestId-67b69501";
3
+ export * from "./getDataTestId-4a7070c7";
package/index.js CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var Component = require('./Component.js');
6
6
  var components_arrow_Component = require('./components/arrow/Component.js');
7
7
  var components_baseSelect_Component = require('./components/base-select/Component.js');
8
- var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-6359d86d.js');
8
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-685d5b82.js');
9
9
  var components_field_Component = require('./components/field/Component.js');
10
10
  var components_optgroup_Component = require('./components/optgroup/Component.js');
11
11
  var components_option_Component = require('./components/option/Component.js');
@@ -24,7 +24,7 @@ require('@juggle/resize-observer');
24
24
  require('downshift');
25
25
  require('@alfalab/core-components-popover');
26
26
  require('@alfalab/hooks');
27
- require('./getDataTestId-67b69501.js');
27
+ require('./getDataTestId-4a7070c7.js');
28
28
  require('./components/native-select/Component.js');
29
29
  require('./presets/useSelectWithApply/options-list-with-apply/header/Component.js');
30
30
  require('@alfalab/core-components-checkbox');
@@ -39,7 +39,7 @@ require('@alfalab/core-components-badge');
39
39
  require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
40
40
  require('@alfalab/icons-glyph/CheckmarkMIcon');
41
41
  require('@alfalab/core-components-skeleton');
42
- require('./intersection-observer-eca2c2bb.js');
42
+ require('./intersection-observer-50fab44b.js');
43
43
  require('./consts.js');
44
44
  require('./presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
45
45
  require('./components/checkmark/Component.js');
package/mobile.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-6359d86d.js');
5
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-685d5b82.js');
6
6
  require('tslib');
7
7
  require('react');
8
8
  require('./Component.js');
@@ -15,7 +15,7 @@ require('@juggle/resize-observer');
15
15
  require('downshift');
16
16
  require('@alfalab/core-components-popover');
17
17
  require('@alfalab/hooks');
18
- require('./getDataTestId-67b69501.js');
18
+ require('./getDataTestId-4a7070c7.js');
19
19
  require('./utils.js');
20
20
  require('./components/native-select/Component.js');
21
21
  require('./components/field/Component.js');
@@ -41,7 +41,7 @@ require('@alfalab/core-components-button');
41
41
  require('./components/virtual-options-list/Component.js');
42
42
  require('react-virtual');
43
43
  require('@alfalab/core-components-skeleton');
44
- require('./intersection-observer-eca2c2bb.js');
44
+ require('./intersection-observer-50fab44b.js');
45
45
  require('./presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
46
46
 
47
47
 
@@ -20,7 +20,7 @@ import '@alfalab/core-components-checkbox/modern';
20
20
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
21
21
  import '@alfalab/icons-glyph/CheckmarkMIcon';
22
22
  import '@alfalab/core-components-skeleton/modern';
23
- import './intersection-observer-867b89db.js';
23
+ import './intersection-observer-1494dbdf.js';
24
24
  import { DEFAULT_VISIBLE_OPTIONS } from './consts.js';
25
25
  import { Footer } from './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
26
26
 
@@ -12,7 +12,7 @@ import '@juggle/resize-observer';
12
12
  import 'downshift';
13
13
  import '@alfalab/core-components-popover/modern';
14
14
  import '@alfalab/hooks';
15
- import './getDataTestId-44d88f22.js';
15
+ import './getDataTestId-329074ab.js';
16
16
  import './utils.js';
17
17
  import './components/native-select/Component.js';
18
18
  import '@alfalab/core-components-form-control/modern';
@@ -4,7 +4,7 @@ import { Select } from './Component.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/icons-glyph/ChevronDownMIcon';
6
6
  import './components/base-select/Component.js';
7
- import { S as SelectMobile } from './Component-dfa36aee.js';
7
+ import { S as SelectMobile } from './Component-851e480c.js';
8
8
  import '@alfalab/core-components-form-control/modern';
9
9
  import '@alfalab/core-components-badge/modern';
10
10
  import '@alfalab/core-components-checkbox/modern';
@@ -23,7 +23,7 @@ import 'react-merge-refs';
23
23
  import '@juggle/resize-observer';
24
24
  import 'downshift';
25
25
  import '@alfalab/core-components-popover/modern';
26
- import './getDataTestId-44d88f22.js';
26
+ import './getDataTestId-329074ab.js';
27
27
  import './components/native-select/Component.js';
28
28
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
29
29
  import './components/base-select-mobile/Component.js';
@@ -33,7 +33,7 @@ import './components/base-select-mobile/footer/Component.js';
33
33
  import '@alfalab/core-components-base-modal/modern';
34
34
  import '@alfalab/core-components-button/modern';
35
35
  import '@alfalab/core-components-skeleton/modern';
36
- import './intersection-observer-867b89db.js';
36
+ import './intersection-observer-1494dbdf.js';
37
37
  import './consts.js';
38
38
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
39
39
  import '@alfalab/core-components-scrollbar/modern';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { ChevronDownMIcon } from '@alfalab/icons-glyph/ChevronDownMIcon';
4
4
 
5
- const styles = {"arrow":"select__arrow_19yql","open":"select__open_19yql"};
5
+ const styles = {"arrow":"select__arrow_1gupn","open":"select__open_1gupn"};
6
6
  require('./index.css')
7
7
 
8
8
  const Arrow = ({ open, className }) => (React.createElement(ChevronDownMIcon, { className: cn(styles.arrow, className, { [styles.open]: open }) }));
@@ -1,4 +1,4 @@
1
- /* hash: ej2ih */
1
+ /* hash: 1fmgr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0e0e0e; /* 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 */
@@ -26,13 +26,13 @@
26
26
  /* checkmark */
27
27
 
28
28
  /* optgroup */
29
- } .select__arrow_19yql {
29
+ } .select__arrow_1gupn {
30
30
  display: block;
31
31
  width: 24px;
32
32
  height: 24px;
33
33
  color: var(--select-arrow-color);
34
34
 
35
35
  transition: transform 0.15s ease-in-out, opacity 0.2s ease;
36
- } .select__open_19yql {
36
+ } .select__open_1gupn {
37
37
  transform: var(--arrow-transform);
38
38
  }
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/modern';
4
4
  import { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';
5
5
 
6
- const styles = {"checkmark":"select__checkmark_1zd4s","single":"select__single_1zd4s","selected":"select__selected_1zd4s"};
6
+ const styles = {"checkmark":"select__checkmark_z8qzr","single":"select__single_z8qzr","selected":"select__selected_z8qzr"};
7
7
  require('./index.css')
8
8
 
9
9
  const BaseCheckmark = ({ selected, disabled = false, className, multiple, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: bna0g */
1
+ /* hash: 1cqo9 */
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 */
@@ -23,14 +23,14 @@
23
23
  /* checkmark */
24
24
 
25
25
  /* optgroup */
26
- } .select__checkmark_1zd4s {
26
+ } .select__checkmark_z8qzr {
27
27
  flex-shrink: 0;
28
28
  box-sizing: border-box;
29
- } .select__single_1zd4s {
29
+ } .select__single_z8qzr {
30
30
  display: flex;
31
31
  align-items: center;
32
32
  justify-content: center;
33
33
  opacity: 0
34
- } .select__single_1zd4s.select__selected_1zd4s {
34
+ } .select__single_z8qzr.select__selected_z8qzr {
35
35
  opacity: 1;
36
36
  }
@@ -4,7 +4,7 @@ import { BaseCheckmark } from '../base-checkmark/Component.js';
4
4
  import '@alfalab/core-components-checkbox/modern';
5
5
  import '@alfalab/icons-glyph/CheckmarkMIcon';
6
6
 
7
- const styles = {"option":"select__option_1elub","disabled":"select__disabled_1elub","checkmarkBefore":"select__checkmarkBefore_1elub","mobile":"select__mobile_1elub","checkmarkAfter":"select__checkmarkAfter_1elub","textContent":"select__textContent_1elub","selected":"select__selected_1elub","highlighted":"select__highlighted_1elub","content":"select__content_1elub"};
7
+ const styles = {"option":"select__option_178mg","disabled":"select__disabled_178mg","checkmarkBefore":"select__checkmarkBefore_178mg","mobile":"select__mobile_178mg","checkmarkAfter":"select__checkmarkAfter_178mg","textContent":"select__textContent_178mg","selected":"select__selected_178mg","highlighted":"select__highlighted_178mg","content":"select__content_178mg"};
8
8
  require('./index.css')
9
9
 
10
10
  const BaseOption = ({ className, option, children, selected, highlighted, disabled, multiple, Checkmark = BaseCheckmark, checkmarkPosition = multiple ? 'before' : 'after', innerProps, dataTestId, mobile = false, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: x8rua */
1
+ /* hash: 1fefn */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -43,7 +43,7 @@
43
43
  /* checkmark */
44
44
 
45
45
  /* optgroup */
46
- } .select__option_1elub {
46
+ } .select__option_178mg {
47
47
  font-size: 16px;
48
48
  line-height: 20px;
49
49
  font-weight: 400;
@@ -60,32 +60,32 @@
60
60
  position: relative;
61
61
  cursor: pointer;
62
62
  min-height: var(--size-s-height)
63
- } .select__option_1elub:not(.select__disabled_1elub):active {
63
+ } .select__option_178mg:not(.select__disabled_178mg):active {
64
64
  background: var(--select-option-active-background);
65
65
  color: var(--select-option-active-color);
66
- } .select__option_1elub.select__checkmarkBefore_1elub {
66
+ } .select__option_178mg.select__checkmarkBefore_178mg {
67
67
  padding: 0 0 0 var(--gap-s)
68
- } .select__option_1elub.select__checkmarkBefore_1elub.select__mobile_1elub {
68
+ } .select__option_178mg.select__checkmarkBefore_178mg.select__mobile_178mg {
69
69
  padding-left: var(--gap-m);
70
- } .select__option_1elub.select__checkmarkAfter_1elub {
70
+ } .select__option_178mg.select__checkmarkAfter_178mg {
71
71
  padding: 0 var(--gap-s) 0 0
72
- } .select__option_1elub.select__checkmarkAfter_1elub.select__mobile_1elub {
72
+ } .select__option_178mg.select__checkmarkAfter_178mg.select__mobile_178mg {
73
73
  padding-right: var(--gap-l);
74
- } .select__option_1elub.select__textContent_1elub {
74
+ } .select__option_178mg.select__textContent_178mg {
75
75
  padding: var(--gap-s)
76
- } .select__option_1elub.select__textContent_1elub.select__mobile_1elub {
76
+ } .select__option_178mg.select__textContent_178mg.select__mobile_178mg {
77
77
  padding: var(--gap-m) var(--gap-l) var(--gap-m) var(--gap-m);
78
- } .select__selected_1elub {
78
+ } .select__selected_178mg {
79
79
  background: var(--select-option-selected-background);
80
80
  color: var(--select-option-selected-color);
81
81
  cursor: default;
82
- } .select__highlighted_1elub {
82
+ } .select__highlighted_178mg {
83
83
  background: var(--select-option-hover-background);
84
84
  color: var(--select-option-hover-color);
85
- } .select__disabled_1elub {
85
+ } .select__disabled_178mg {
86
86
  cursor: var(--disabled-cursor);
87
87
  background: var(--select-option-disabled-background);
88
88
  color: var(--select-option-disabled-color);
89
- } .select__content_1elub {
89
+ } .select__content_178mg {
90
90
  flex: 1;
91
91
  }