@alfalab/core-components-select 14.0.0 → 14.0.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 (180) hide show
  1. package/{Component-f1a1856f.js → Component-dd926cf7.js} +1 -1
  2. package/Component.d.ts +4 -0
  3. package/Component.js +1 -1
  4. package/Component.responsive.js +3 -3
  5. package/components/arrow/Component.js +1 -1
  6. package/components/arrow/index.css +3 -3
  7. package/components/base-checkmark/Component.js +1 -1
  8. package/components/base-checkmark/index.css +4 -4
  9. package/components/base-option/Component.js +1 -1
  10. package/components/base-option/index.css +13 -13
  11. package/components/base-select/Component.js +2 -2
  12. package/components/base-select/index.css +8 -8
  13. package/components/base-select/index.js +1 -1
  14. package/components/base-select-mobile/Component.js +2 -2
  15. package/components/base-select-mobile/footer/Component.js +1 -1
  16. package/components/base-select-mobile/footer/index.css +5 -5
  17. package/components/base-select-mobile/index.css +10 -10
  18. package/components/base-select-mobile/index.js +1 -1
  19. package/components/checkmark/Component.js +1 -1
  20. package/components/checkmark/index.css +10 -10
  21. package/components/checkmark-mobile/Component.js +1 -1
  22. package/components/checkmark-mobile/index.css +6 -6
  23. package/components/field/Component.js +1 -1
  24. package/components/field/index.css +9 -9
  25. package/components/index.js +3 -3
  26. package/components/optgroup/Component.js +1 -1
  27. package/components/optgroup/index.css +6 -6
  28. package/components/option/Component.js +1 -1
  29. package/components/option/index.css +20 -20
  30. package/components/options-list/Component.js +1 -1
  31. package/components/options-list/index.css +9 -9
  32. package/components/select-mobile/Component.js +3 -3
  33. package/components/select-mobile/index.d.ts +1 -1
  34. package/components/select-mobile/index.js +3 -3
  35. package/components/select-modal-mobile/Component.js +3 -3
  36. package/components/select-modal-mobile/index.d.ts +1 -1
  37. package/components/select-modal-mobile/index.js +3 -3
  38. package/components/virtual-options-list/Component.js +1 -1
  39. package/components/virtual-options-list/index.css +15 -15
  40. package/cssm/Component.d.ts +4 -0
  41. package/cssm/index-ebda875c.d.ts +1 -1
  42. package/esm/{Component-b5248298.js → Component-d6246282.js} +1 -1
  43. package/esm/Component.d.ts +4 -0
  44. package/esm/Component.js +1 -1
  45. package/esm/Component.responsive.js +3 -3
  46. package/esm/components/arrow/Component.js +1 -1
  47. package/esm/components/arrow/index.css +3 -3
  48. package/esm/components/base-checkmark/Component.js +1 -1
  49. package/esm/components/base-checkmark/index.css +4 -4
  50. package/esm/components/base-option/Component.js +1 -1
  51. package/esm/components/base-option/index.css +13 -13
  52. package/esm/components/base-select/Component.js +2 -2
  53. package/esm/components/base-select/index.css +8 -8
  54. package/esm/components/base-select/index.js +1 -1
  55. package/esm/components/base-select-mobile/Component.js +2 -2
  56. package/esm/components/base-select-mobile/footer/Component.js +1 -1
  57. package/esm/components/base-select-mobile/footer/index.css +5 -5
  58. package/esm/components/base-select-mobile/index.css +10 -10
  59. package/esm/components/base-select-mobile/index.js +1 -1
  60. package/esm/components/checkmark/Component.js +1 -1
  61. package/esm/components/checkmark/index.css +10 -10
  62. package/esm/components/checkmark-mobile/Component.js +1 -1
  63. package/esm/components/checkmark-mobile/index.css +6 -6
  64. package/esm/components/field/Component.js +1 -1
  65. package/esm/components/field/index.css +9 -9
  66. package/esm/components/index.js +3 -3
  67. package/esm/components/optgroup/Component.js +1 -1
  68. package/esm/components/optgroup/index.css +6 -6
  69. package/esm/components/option/Component.js +1 -1
  70. package/esm/components/option/index.css +20 -20
  71. package/esm/components/options-list/Component.js +1 -1
  72. package/esm/components/options-list/index.css +9 -9
  73. package/esm/components/select-mobile/Component.js +3 -3
  74. package/esm/components/select-mobile/index.d.ts +1 -1
  75. package/esm/components/select-mobile/index.js +3 -3
  76. package/esm/components/select-modal-mobile/Component.js +3 -3
  77. package/esm/components/select-modal-mobile/index.d.ts +1 -1
  78. package/esm/components/select-modal-mobile/index.js +3 -3
  79. package/esm/components/virtual-options-list/Component.js +1 -1
  80. package/esm/components/virtual-options-list/index.css +15 -15
  81. package/esm/index-3885b0d7.d.ts +1 -1
  82. package/esm/index-ebda875c.d.ts +1 -1
  83. package/esm/index.js +3 -3
  84. package/esm/presets/index.js +3 -3
  85. package/esm/presets/useLazyLoading/hook.js +2 -2
  86. package/esm/presets/useLazyLoading/index.css +2 -2
  87. package/esm/presets/useSelectWithApply/hook.js +3 -3
  88. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  89. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  90. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  91. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  92. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  93. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  94. package/esm/presets/useSelectWithLoading/index.css +2 -2
  95. package/esm/responsive.js +3 -3
  96. package/index-3885b0d7.d.ts +1 -1
  97. package/index-ebda875c.d.ts +1 -1
  98. package/index.js +3 -3
  99. package/modern/{Component-29d24a9b.js → Component-55395944.js} +1 -1
  100. package/modern/Component.d.ts +4 -0
  101. package/modern/Component.js +1 -1
  102. package/modern/Component.responsive.js +3 -3
  103. package/modern/components/arrow/Component.js +1 -1
  104. package/modern/components/arrow/index.css +3 -3
  105. package/modern/components/base-checkmark/Component.js +1 -1
  106. package/modern/components/base-checkmark/index.css +4 -4
  107. package/modern/components/base-option/Component.js +1 -1
  108. package/modern/components/base-option/index.css +13 -13
  109. package/modern/components/base-select/Component.js +2 -2
  110. package/modern/components/base-select/index.css +8 -8
  111. package/modern/components/base-select/index.js +1 -1
  112. package/modern/components/base-select-mobile/Component.js +2 -2
  113. package/modern/components/base-select-mobile/footer/Component.js +1 -1
  114. package/modern/components/base-select-mobile/footer/index.css +5 -5
  115. package/modern/components/base-select-mobile/index.css +10 -10
  116. package/modern/components/base-select-mobile/index.js +1 -1
  117. package/modern/components/checkmark/Component.js +1 -1
  118. package/modern/components/checkmark/index.css +10 -10
  119. package/modern/components/checkmark-mobile/Component.js +1 -1
  120. package/modern/components/checkmark-mobile/index.css +6 -6
  121. package/modern/components/field/Component.js +1 -1
  122. package/modern/components/field/index.css +9 -9
  123. package/modern/components/index.js +3 -3
  124. package/modern/components/optgroup/Component.js +1 -1
  125. package/modern/components/optgroup/index.css +6 -6
  126. package/modern/components/option/Component.js +1 -1
  127. package/modern/components/option/index.css +20 -20
  128. package/modern/components/options-list/Component.js +1 -1
  129. package/modern/components/options-list/index.css +9 -9
  130. package/modern/components/select-mobile/Component.js +3 -3
  131. package/modern/components/select-mobile/index.d.ts +1 -1
  132. package/modern/components/select-mobile/index.js +3 -3
  133. package/modern/components/select-modal-mobile/Component.js +3 -3
  134. package/modern/components/select-modal-mobile/index.d.ts +1 -1
  135. package/modern/components/select-modal-mobile/index.js +3 -3
  136. package/modern/components/virtual-options-list/Component.js +1 -1
  137. package/modern/components/virtual-options-list/index.css +15 -15
  138. package/modern/index-3885b0d7.d.ts +1 -1
  139. package/modern/index-ebda875c.d.ts +1 -1
  140. package/modern/index.js +3 -3
  141. package/modern/presets/index.js +3 -3
  142. package/modern/presets/useLazyLoading/hook.js +2 -2
  143. package/modern/presets/useLazyLoading/index.css +2 -2
  144. package/modern/presets/useSelectWithApply/hook.js +3 -3
  145. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  146. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  147. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  148. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  149. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  150. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  151. package/modern/presets/useSelectWithLoading/index.css +2 -2
  152. package/modern/responsive.js +3 -3
  153. package/package.json +6 -6
  154. package/presets/index.js +3 -3
  155. package/presets/useLazyLoading/hook.js +2 -2
  156. package/presets/useLazyLoading/index.css +2 -2
  157. package/presets/useSelectWithApply/hook.js +3 -3
  158. package/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  159. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  160. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  161. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  162. package/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  163. package/presets/useSelectWithLoading/hook.js +1 -1
  164. package/presets/useSelectWithLoading/index.css +2 -2
  165. package/responsive.js +3 -3
  166. /package/{Component-f1a1856f.d.ts → Component-dd926cf7.d.ts} +0 -0
  167. /package/esm/{Component-b5248298.d.ts → Component-d6246282.d.ts} +0 -0
  168. /package/esm/{getDataTestId-015e89f1.d.ts → getDataTestId-78e42ffe.d.ts} +0 -0
  169. /package/esm/{getDataTestId-015e89f1.js → getDataTestId-78e42ffe.js} +0 -0
  170. /package/esm/{intersection-observer-961b54c8.d.ts → intersection-observer-6ef082f5.d.ts} +0 -0
  171. /package/esm/{intersection-observer-961b54c8.js → intersection-observer-6ef082f5.js} +0 -0
  172. /package/{getDataTestId-3deaae20.d.ts → getDataTestId-305ed968.d.ts} +0 -0
  173. /package/{getDataTestId-3deaae20.js → getDataTestId-305ed968.js} +0 -0
  174. /package/{intersection-observer-d5f3e178.d.ts → intersection-observer-95e396cc.d.ts} +0 -0
  175. /package/{intersection-observer-d5f3e178.js → intersection-observer-95e396cc.js} +0 -0
  176. /package/modern/{Component-29d24a9b.d.ts → Component-55395944.d.ts} +0 -0
  177. /package/modern/{getDataTestId-b257b571.d.ts → getDataTestId-f5aec7f0.d.ts} +0 -0
  178. /package/modern/{getDataTestId-b257b571.js → getDataTestId-f5aec7f0.js} +0 -0
  179. /package/modern/{intersection-observer-961b54c8.d.ts → intersection-observer-6ef082f5.d.ts} +0 -0
  180. /package/modern/{intersection-observer-961b54c8.js → intersection-observer-6ef082f5.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import 'tslib';
2
2
  import 'react';
3
- export { a as SelectModalMobile } from '../../Component-b5248298.js';
3
+ export { a as SelectModalMobile } from '../../Component-d6246282.js';
4
4
  import '../arrow/Component.js';
5
5
  import '../base-select-mobile/Component.js';
6
6
  import '../base-select-mobile/footer/Component.js';
@@ -17,7 +17,7 @@ import 'classnames';
17
17
  import 'downshift';
18
18
  import '@alfalab/core-components-popover/esm';
19
19
  import '@alfalab/hooks';
20
- import '../../getDataTestId-015e89f1.js';
20
+ import '../../getDataTestId-78e42ffe.js';
21
21
  import '../../utils.js';
22
22
  import '../native-select/Component.js';
23
23
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -30,7 +30,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
30
30
  import '../checkmark-mobile/Component.js';
31
31
  import '@alfalab/core-components-scrollbar/esm';
32
32
  import '@alfalab/core-components-skeleton/esm';
33
- import '../../intersection-observer-961b54c8.js';
33
+ import '../../intersection-observer-6ef082f5.js';
34
34
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
35
35
  import '@alfalab/core-components-button/esm';
36
36
  import '@alfalab/core-components-bottom-sheet/esm';
@@ -1 +1 @@
1
- export * from "../../Component-b5248298";
1
+ export * from "../../Component-d6246282";
@@ -1,4 +1,4 @@
1
- export { a as SelectModalMobile } from '../../Component-b5248298.js';
1
+ export { a as SelectModalMobile } from '../../Component-d6246282.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-015e89f1.js';
14
+ import '../../getDataTestId-78e42ffe.js';
15
15
  import '../../utils.js';
16
16
  import '../native-select/Component.js';
17
17
  import '../field/Component.js';
@@ -35,5 +35,5 @@ import '@alfalab/core-components-button/esm';
35
35
  import '../virtual-options-list/Component.js';
36
36
  import 'react-virtual';
37
37
  import '@alfalab/core-components-skeleton/esm';
38
- import '../../intersection-observer-961b54c8.js';
38
+ import '../../intersection-observer-6ef082f5.js';
39
39
  import '../../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
@@ -8,7 +8,7 @@ import { useMedia } from '@alfalab/hooks';
8
8
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
9
9
  import { Optgroup } from '../optgroup/Component.js';
10
10
 
11
- var styles = {"virtualOptionsList":"select__virtualOptionsList_8klep","virtualOptionsListHeader":"select__virtualOptionsListHeader_8klep","virtualOptionsListFooter":"select__virtualOptionsListFooter_8klep","withBorder":"select__withBorder_8klep","scrollable":"select__scrollable_8klep","inner":"select__inner_8klep","virtualRow":"select__virtualRow_8klep","highlighted":"select__highlighted_8klep","emptyPlaceholder":"select__emptyPlaceholder_8klep","l":"select__l_8klep","xl":"select__xl_8klep"};
11
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_1urxq","virtualOptionsListHeader":"select__virtualOptionsListHeader_1urxq","virtualOptionsListFooter":"select__virtualOptionsListFooter_1urxq","withBorder":"select__withBorder_1urxq","scrollable":"select__scrollable_1urxq","inner":"select__inner_1urxq","virtualRow":"select__virtualRow_1urxq","highlighted":"select__highlighted_1urxq","emptyPlaceholder":"select__emptyPlaceholder_1urxq","l":"select__l_1urxq","xl":"select__xl_1urxq"};
12
12
  require('./index.css')
13
13
 
14
14
  var VirtualOptionsList = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: y762s */
1
+ /* hash: 2c6fo */
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_8klep {
38
+ } .select__virtualOptionsList_1urxq {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_8klep {
43
+ } .select__virtualOptionsListHeader_1urxq {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-border-secondary);
46
- } .select__virtualOptionsListFooter_8klep {
46
+ } .select__virtualOptionsListFooter_1urxq {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_8klep.select__withBorder_8klep {
51
+ } .select__virtualOptionsListFooter_1urxq.select__withBorder_1urxq {
52
52
  border-top: 1px solid var(--color-light-border-secondary);
53
- } .select__scrollable_8klep {
53
+ } .select__scrollable_1urxq {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_8klep {
57
+ } .select__inner_1urxq {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_8klep {
60
+ } .select__virtualRow_1urxq {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_8klep:before {
65
+ } .select__virtualRow_1urxq: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_8klep:first-child:before {
75
+ } .select__virtualRow_1urxq:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_8klep:before,
78
- .select__highlighted_8klep + .select__virtualRow_8klep:before {
77
+ } .select__highlighted_1urxq:before,
78
+ .select__highlighted_1urxq + .select__virtualRow_1urxq:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_8klep {
80
+ } .select__emptyPlaceholder_1urxq {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_8klep .select__emptyPlaceholder_8klep,
84
- .select__xl_8klep .select__emptyPlaceholder_8klep {
83
+ } .select__l_1urxq .select__emptyPlaceholder_1urxq,
84
+ .select__xl_1urxq .select__emptyPlaceholder_1urxq {
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-015e89f1";
3
+ export * from "./getDataTestId-78e42ffe";
@@ -65,7 +65,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
65
65
  icon: ElementType<{
66
66
  className?: string;
67
67
  }>;
68
- view?: "negative" | "tertiary" | "secondary" | "primary" | "transparent" | undefined;
68
+ view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
69
69
  size?: "s" | "xs" | "xxs" | undefined;
70
70
  className?: string | undefined;
71
71
  dataTestId?: string | undefined;
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-b5248298.js';
4
+ export { b as SELECT_ALL_KEY, S as SelectMobile, a as SelectModalMobile, u as useSelectWithApply } from './Component-d6246282.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-015e89f1.js';
23
+ import './getDataTestId-78e42ffe.js';
24
24
  import './components/native-select/Component.js';
25
25
  import './components/base-select-mobile/Component.js';
26
26
  import '@alfalab/core-components-bottom-sheet/esm';
@@ -34,7 +34,7 @@ import '@alfalab/core-components-checkbox/esm';
34
34
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
35
35
  import '@alfalab/icons-glyph/CheckmarkMIcon';
36
36
  import '@alfalab/core-components-skeleton/esm';
37
- import './intersection-observer-961b54c8.js';
37
+ import './intersection-observer-6ef082f5.js';
38
38
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
39
39
  import './components/checkmark/Component.js';
40
40
  import './components/checkmark-mobile/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-b5248298.js';
3
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../Component-d6246282.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-961b54c8.js';
15
+ import '../intersection-observer-6ef082f5.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-015e89f1.js';
25
+ import '../getDataTestId-78e42ffe.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-961b54c8.js';
5
+ import '../../intersection-observer-6ef082f5.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_2ycp0"};
14
+ var styles = {"skeleton":"select__skeleton_1mk8r"};
15
15
  require('./index.css')
16
16
 
17
17
  var DEBOUNCE_TIMEOUT = 300;
@@ -1,5 +1,5 @@
1
- /* hash: 5n910 */
2
- .select__skeleton_2ycp0 {
1
+ /* hash: i5bhh */
2
+ .select__skeleton_1mk8r {
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-b5248298.js';
7
+ export { b as SELECT_ALL_KEY, u as useSelectWithApply } from '../../Component-d6246282.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-961b54c8.js';
18
+ import '../../intersection-observer-6ef082f5.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-015e89f1.js';
29
+ import '../../getDataTestId-78e42ffe.js';
30
30
  import '../../components/native-select/Component.js';
31
31
  import '@alfalab/core-components-scrollbar/esm';
32
32
  import '../../components/base-select-mobile/Component.js';
@@ -1,7 +1,7 @@
1
1
  import 'tslib';
2
2
  import 'react';
3
3
  import '../../../components/options-list/Component.js';
4
- export { O as OptionsListWithApply } from '../../../Component-b5248298.js';
4
+ export { O as OptionsListWithApply } from '../../../Component-d6246282.js';
5
5
  import './footer/Component.js';
6
6
  import 'react-merge-refs';
7
7
  import 'classnames';
@@ -16,7 +16,7 @@ import '../../../components/base-select/Component.js';
16
16
  import '@juggle/resize-observer';
17
17
  import 'downshift';
18
18
  import '@alfalab/core-components-popover/esm';
19
- import '../../../getDataTestId-015e89f1.js';
19
+ import '../../../getDataTestId-78e42ffe.js';
20
20
  import '../../../components/native-select/Component.js';
21
21
  import '../../../components/field/Component.js';
22
22
  import '@alfalab/core-components-form-control/esm';
@@ -36,4 +36,4 @@ import '@alfalab/core-components-button/esm';
36
36
  import '../../../components/virtual-options-list/Component.js';
37
37
  import 'react-virtual';
38
38
  import '@alfalab/core-components-skeleton/esm';
39
- import '../../../intersection-observer-961b54c8.js';
39
+ import '../../../intersection-observer-6ef082f5.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_11pbd"};
4
+ var styles = {"footer":"select__footer_ovjmo"};
5
5
  require('./index.css')
6
6
 
7
7
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 4tg78 */
1
+ /* hash: vgwe0 */
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 */
@@ -26,10 +26,10 @@
26
26
  /* checkmark */
27
27
 
28
28
  /* optgroup */
29
- } .select__footer_11pbd {
29
+ } .select__footer_ovjmo {
30
30
  background-color: var(--color-light-bg-primary);
31
31
  padding: var(--gap-s);
32
32
  outline: none
33
- } .select__footer_11pbd > * + * {
33
+ } .select__footer_ovjmo > * + * {
34
34
  margin-left: var(--gap-xs);
35
35
  }
@@ -1 +1 @@
1
- export * from "../../../Component-b5248298";
1
+ export * from "../../../Component-d6246282";
@@ -1,4 +1,4 @@
1
- export { O as OptionsListWithApply } from '../../../Component-b5248298.js';
1
+ export { O as OptionsListWithApply } from '../../../Component-d6246282.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-015e89f1.js';
14
+ import '../../../getDataTestId-78e42ffe.js';
15
15
  import '../../../utils.js';
16
16
  import '../../../components/native-select/Component.js';
17
17
  import '../../../components/field/Component.js';
@@ -35,5 +35,5 @@ import '@alfalab/core-components-button/esm';
35
35
  import '../../../components/virtual-options-list/Component.js';
36
36
  import 'react-virtual';
37
37
  import '@alfalab/core-components-skeleton/esm';
38
- import '../../../intersection-observer-961b54c8.js';
38
+ import '../../../intersection-observer-6ef082f5.js';
39
39
  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_1iwsv"};
13
+ var styles = {"skeleton":"select__skeleton_1yh4x"};
14
14
  require('./index.css')
15
15
 
16
16
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: 10bou */
2
- .select__skeleton_1iwsv {
1
+ /* hash: x1uaa */
2
+ .select__skeleton_1yh4x {
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-015e89f1.js';
14
+ import './getDataTestId-78e42ffe.js';
15
15
  import './utils.js';
16
16
  import './components/native-select/Component.js';
17
17
  import './components/field/Component.js';
@@ -26,7 +26,7 @@ import '@alfalab/icons-glyph/CheckmarkMIcon';
26
26
  import './components/checkmark-mobile/Component.js';
27
27
  import './components/options-list/Component.js';
28
28
  import '@alfalab/core-components-scrollbar/esm';
29
- import './Component-b5248298.js';
29
+ import './Component-d6246282.js';
30
30
  import './components/base-select-mobile/Component.js';
31
31
  import '@alfalab/core-components-bottom-sheet/esm';
32
32
  import '@alfalab/core-components-modal/esm/mobile';
@@ -36,5 +36,5 @@ import '@alfalab/core-components-button/esm';
36
36
  import './components/virtual-options-list/Component.js';
37
37
  import 'react-virtual';
38
38
  import '@alfalab/core-components-skeleton/esm';
39
- import './intersection-observer-961b54c8.js';
39
+ import './intersection-observer-6ef082f5.js';
40
40
  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-3deaae20";
3
+ export * from "./getDataTestId-305ed968";
@@ -65,7 +65,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
65
65
  icon: ElementType<{
66
66
  className?: string;
67
67
  }>;
68
- view?: "negative" | "tertiary" | "secondary" | "primary" | "transparent" | undefined;
68
+ view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
69
69
  size?: "s" | "xs" | "xxs" | undefined;
70
70
  className?: string | undefined;
71
71
  dataTestId?: string | undefined;
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-f1a1856f.js');
8
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('./Component-dd926cf7.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-3deaae20.js');
27
+ require('./getDataTestId-305ed968.js');
28
28
  require('./components/native-select/Component.js');
29
29
  require('./components/base-select-mobile/Component.js');
30
30
  require('@alfalab/core-components-bottom-sheet');
@@ -38,7 +38,7 @@ require('@alfalab/core-components-checkbox');
38
38
  require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
39
39
  require('@alfalab/icons-glyph/CheckmarkMIcon');
40
40
  require('@alfalab/core-components-skeleton');
41
- require('./intersection-observer-d5f3e178.js');
41
+ require('./intersection-observer-95e396cc.js');
42
42
  require('./presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
43
43
  require('./components/checkmark/Component.js');
44
44
  require('./components/checkmark-mobile/Component.js');
@@ -19,7 +19,7 @@ import '@alfalab/core-components-checkbox/modern';
19
19
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
20
20
  import '@alfalab/icons-glyph/CheckmarkMIcon';
21
21
  import '@alfalab/core-components-skeleton/modern';
22
- import './intersection-observer-961b54c8.js';
22
+ import './intersection-observer-6ef082f5.js';
23
23
  import { Footer } from './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
24
24
 
25
25
  const OptionsListWithApply = forwardRef(({ toggleMenu, getOptionProps: defaultGetOptionProps, showClear = true, selectedDraft = [], flatOptions = [], OptionsList: OptionsList$1 = OptionsList, onApply = () => null, onClear = () => null, onClose = () => null, visibleOptions = 5, Footer: Footer$1 = Footer, ...restProps }, ref) => {
@@ -67,6 +67,10 @@ type FormControlProps = HTMLAttributes<HTMLDivElement> & {
67
67
  * Дополнительный класс для поля
68
68
  */
69
69
  fieldClassName?: string;
70
+ /**
71
+ * Дополнительный класс для поля
72
+ */
73
+ inputWrapperClassName?: string;
70
74
  /**
71
75
  * Дополнительный класс для лейбла
72
76
  */
@@ -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-b257b571.js';
15
+ import './getDataTestId-f5aec7f0.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-29d24a9b.js';
7
+ import { S as SelectMobile } from './Component-55395944.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-b257b571.js';
26
+ import './getDataTestId-f5aec7f0.js';
27
27
  import './components/native-select/Component.js';
28
28
  import './components/base-select-mobile/Component.js';
29
29
  import '@alfalab/core-components-bottom-sheet/modern';
@@ -32,7 +32,7 @@ import './components/base-select-mobile/footer/Component.js';
32
32
  import '@alfalab/core-components-base-modal/modern';
33
33
  import '@alfalab/core-components-button/modern';
34
34
  import '@alfalab/core-components-skeleton/modern';
35
- import './intersection-observer-961b54c8.js';
35
+ import './intersection-observer-6ef082f5.js';
36
36
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
37
37
  import '@alfalab/core-components-scrollbar/modern';
38
38
  import 'react-virtual';
@@ -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_1sru5","open":"select__open_1sru5"};
5
+ const styles = {"arrow":"select__arrow_1dcm5","open":"select__open_1dcm5"};
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: w42gv */
1
+ /* hash: 8xovy */
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_1sru5 {
29
+ } .select__arrow_1dcm5 {
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_1sru5 {
36
+ } .select__open_1dcm5 {
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_1pva9","single":"select__single_1pva9","selected":"select__selected_1pva9"};
6
+ const styles = {"checkmark":"select__checkmark_1kxv7","single":"select__single_1kxv7","selected":"select__selected_1kxv7"};
7
7
  require('./index.css')
8
8
 
9
9
  const BaseCheckmark = ({ selected, disabled = false, className, multiple, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1ilyz */
1
+ /* hash: gi6ja */
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_1pva9 {
26
+ } .select__checkmark_1kxv7 {
27
27
  flex-shrink: 0;
28
28
  box-sizing: border-box;
29
- } .select__single_1pva9 {
29
+ } .select__single_1kxv7 {
30
30
  display: flex;
31
31
  align-items: center;
32
32
  justify-content: center;
33
33
  opacity: 0
34
- } .select__single_1pva9.select__selected_1pva9 {
34
+ } .select__single_1kxv7.select__selected_1kxv7 {
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_thc1q","disabled":"select__disabled_thc1q","checkmarkBefore":"select__checkmarkBefore_thc1q","mobile":"select__mobile_thc1q","checkmarkAfter":"select__checkmarkAfter_thc1q","textContent":"select__textContent_thc1q","selected":"select__selected_thc1q","highlighted":"select__highlighted_thc1q","content":"select__content_thc1q"};
7
+ const styles = {"option":"select__option_gnkbd","disabled":"select__disabled_gnkbd","checkmarkBefore":"select__checkmarkBefore_gnkbd","mobile":"select__mobile_gnkbd","checkmarkAfter":"select__checkmarkAfter_gnkbd","textContent":"select__textContent_gnkbd","selected":"select__selected_gnkbd","highlighted":"select__highlighted_gnkbd","content":"select__content_gnkbd"};
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, }) => {