@alfalab/core-components-select 17.0.0 → 17.0.1

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 (139) hide show
  1. package/Component.responsive.js +1 -1
  2. package/components/arrow/Component.js +1 -1
  3. package/components/arrow/index.css +3 -3
  4. package/components/base-checkmark/Component.js +1 -1
  5. package/components/base-checkmark/index.css +4 -4
  6. package/components/base-option/Component.js +1 -1
  7. package/components/base-option/index.css +13 -13
  8. package/components/base-select/Component.js +2 -2
  9. package/components/base-select/index.css +10 -10
  10. package/components/base-select/mobile.css +12 -12
  11. package/components/checkmark/Component.js +1 -1
  12. package/components/checkmark/index.css +10 -10
  13. package/components/checkmark-mobile/Component.js +1 -1
  14. package/components/checkmark-mobile/index.css +6 -6
  15. package/components/field/Component.js +1 -1
  16. package/components/field/index.css +12 -12
  17. package/components/footer/Component.js +1 -1
  18. package/components/footer/index.css +5 -5
  19. package/components/optgroup/Component.js +1 -1
  20. package/components/optgroup/index.css +6 -6
  21. package/components/option/Component.js +1 -1
  22. package/components/option/index.css +19 -19
  23. package/components/options-list/Component.js +1 -1
  24. package/components/options-list/index.css +9 -9
  25. package/components/search/Component.js +1 -1
  26. package/components/search/index.css +2 -2
  27. package/components/virtual-options-list/Component.js +1 -1
  28. package/components/virtual-options-list/index.css +15 -15
  29. package/esm/Component.responsive.js +1 -1
  30. package/esm/components/arrow/Component.js +1 -1
  31. package/esm/components/arrow/index.css +3 -3
  32. package/esm/components/base-checkmark/Component.js +1 -1
  33. package/esm/components/base-checkmark/index.css +4 -4
  34. package/esm/components/base-option/Component.js +1 -1
  35. package/esm/components/base-option/index.css +13 -13
  36. package/esm/components/base-select/Component.js +2 -2
  37. package/esm/components/base-select/index.css +10 -10
  38. package/esm/components/base-select/mobile.css +12 -12
  39. package/esm/components/checkmark/Component.js +1 -1
  40. package/esm/components/checkmark/index.css +10 -10
  41. package/esm/components/checkmark-mobile/Component.js +1 -1
  42. package/esm/components/checkmark-mobile/index.css +6 -6
  43. package/esm/components/field/Component.js +1 -1
  44. package/esm/components/field/index.css +12 -12
  45. package/esm/components/footer/Component.js +1 -1
  46. package/esm/components/footer/index.css +5 -5
  47. package/esm/components/optgroup/Component.js +1 -1
  48. package/esm/components/optgroup/index.css +6 -6
  49. package/esm/components/option/Component.js +1 -1
  50. package/esm/components/option/index.css +19 -19
  51. package/esm/components/options-list/Component.js +1 -1
  52. package/esm/components/options-list/index.css +9 -9
  53. package/esm/components/search/Component.js +1 -1
  54. package/esm/components/search/index.css +2 -2
  55. package/esm/components/virtual-options-list/Component.js +1 -1
  56. package/esm/components/virtual-options-list/index.css +15 -15
  57. package/esm/index.js +1 -1
  58. package/esm/mobile/Component.mobile.js +1 -1
  59. package/esm/mobile/Component.modal.mobile.js +1 -1
  60. package/esm/mobile/index.js +1 -1
  61. package/esm/presets/index.js +1 -1
  62. package/esm/presets/useSelectWithApply/hook.js +1 -1
  63. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  64. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  65. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  66. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  67. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  68. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  69. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  70. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  71. package/esm/presets/useSelectWithLoading/index.css +2 -2
  72. package/esm/shared/index.js +1 -1
  73. package/index.js +1 -1
  74. package/mobile/Component.mobile.js +1 -1
  75. package/mobile/Component.modal.mobile.js +1 -1
  76. package/mobile/index.js +1 -1
  77. package/modern/Component.responsive.js +1 -1
  78. package/modern/components/arrow/Component.js +1 -1
  79. package/modern/components/arrow/index.css +3 -3
  80. package/modern/components/base-checkmark/Component.js +1 -1
  81. package/modern/components/base-checkmark/index.css +4 -4
  82. package/modern/components/base-option/Component.js +1 -1
  83. package/modern/components/base-option/index.css +13 -13
  84. package/modern/components/base-select/Component.js +2 -2
  85. package/modern/components/base-select/index.css +10 -10
  86. package/modern/components/base-select/mobile.css +12 -12
  87. package/modern/components/checkmark/Component.js +1 -1
  88. package/modern/components/checkmark/index.css +10 -10
  89. package/modern/components/checkmark-mobile/Component.js +1 -1
  90. package/modern/components/checkmark-mobile/index.css +6 -6
  91. package/modern/components/field/Component.js +1 -1
  92. package/modern/components/field/index.css +12 -12
  93. package/modern/components/footer/Component.js +1 -1
  94. package/modern/components/footer/index.css +5 -5
  95. package/modern/components/optgroup/Component.js +1 -1
  96. package/modern/components/optgroup/index.css +6 -6
  97. package/modern/components/option/Component.js +1 -1
  98. package/modern/components/option/index.css +19 -19
  99. package/modern/components/options-list/Component.js +1 -1
  100. package/modern/components/options-list/index.css +9 -9
  101. package/modern/components/search/Component.js +1 -1
  102. package/modern/components/search/index.css +2 -2
  103. package/modern/components/virtual-options-list/Component.js +1 -1
  104. package/modern/components/virtual-options-list/index.css +15 -15
  105. package/modern/index.js +1 -1
  106. package/modern/mobile/Component.mobile.js +1 -1
  107. package/modern/mobile/Component.modal.mobile.js +1 -1
  108. package/modern/mobile/index.js +1 -1
  109. package/modern/presets/index.js +1 -1
  110. package/modern/presets/useSelectWithApply/hook.js +1 -1
  111. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  112. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  113. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  114. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  115. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  116. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  117. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  118. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  119. package/modern/presets/useSelectWithLoading/index.css +2 -2
  120. package/modern/shared/index.js +1 -1
  121. package/package.json +3 -3
  122. package/presets/index.js +1 -1
  123. package/presets/useSelectWithApply/hook.js +1 -1
  124. package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  125. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  126. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  127. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  128. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  129. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  130. package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  131. package/presets/useSelectWithLoading/hook.js +1 -1
  132. package/presets/useSelectWithLoading/index.css +2 -2
  133. package/shared/index.js +1 -1
  134. /package/esm/{hook-a2365c8a.d.ts → hook-7ecc5c41.d.ts} +0 -0
  135. /package/esm/{hook-a2365c8a.js → hook-7ecc5c41.js} +0 -0
  136. /package/{hook-75164a56.d.ts → hook-cdcca4d1.d.ts} +0 -0
  137. /package/{hook-75164a56.js → hook-cdcca4d1.js} +0 -0
  138. /package/modern/{hook-01e84bc2.d.ts → hook-a54f97df.d.ts} +0 -0
  139. /package/modern/{hook-01e84bc2.js → hook-a54f97df.js} +0 -0
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { Input } from '@alfalab/core-components-input/modern';
4
4
  import { MagnifierMIcon } from '@alfalab/icons-glyph/MagnifierMIcon';
5
5
 
6
- const styles = {"component":"select__component_ijrye"};
6
+ const styles = {"component":"select__component_837c3"};
7
7
  require('./index.css')
8
8
 
9
9
  const Search = forwardRef(({ clear = true, placeholder = 'Поиск', className, leftAddons = React.createElement(MagnifierMIcon, { color: '#86868A' }), ...restProps }, ref) => (React.createElement(Input, { ref: ref, className: cn(styles.component, className), placeholder: placeholder, leftAddons: leftAddons, clear: clear, ...restProps })));
@@ -1,4 +1,4 @@
1
- /* hash: 1yalo */
1
+ /* hash: jum13 */
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,6 +23,6 @@
23
23
  /* checkmark */
24
24
 
25
25
  /* optgroup */
26
- } .select__component_ijrye {
26
+ } .select__component_837c3 {
27
27
  width: auto;
28
28
  }
@@ -9,7 +9,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
9
9
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
10
10
  import { Optgroup } from '../optgroup/Component.js';
11
11
 
12
- const styles = {"virtualOptionsList":"select__virtualOptionsList_1auqf","virtualOptionsListHeader":"select__virtualOptionsListHeader_1auqf","virtualOptionsListFooter":"select__virtualOptionsListFooter_1auqf","withBorder":"select__withBorder_1auqf","scrollable":"select__scrollable_1auqf","inner":"select__inner_1auqf","virtualRow":"select__virtualRow_1auqf","highlighted":"select__highlighted_1auqf","emptyPlaceholder":"select__emptyPlaceholder_1auqf","l":"select__l_1auqf","xl":"select__xl_1auqf"};
12
+ const styles = {"virtualOptionsList":"select__virtualOptionsList_1o3b1","virtualOptionsListHeader":"select__virtualOptionsListHeader_1o3b1","virtualOptionsListFooter":"select__virtualOptionsListFooter_1o3b1","withBorder":"select__withBorder_1o3b1","scrollable":"select__scrollable_1o3b1","inner":"select__inner_1o3b1","virtualRow":"select__virtualRow_1o3b1","highlighted":"select__highlighted_1o3b1","emptyPlaceholder":"select__emptyPlaceholder_1o3b1","l":"select__l_1o3b1","xl":"select__xl_1o3b1"};
13
13
  require('./index.css')
14
14
 
15
15
  const VirtualOptionsList = forwardRef(({ size = 's', flatOptions = [], highlightedIndex = -1, className, getOptionProps, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, showFooter = true, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, setHighlightedIndex, }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: 5rv7x */
1
+ /* hash: uz7le */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #d5d6dc;
@@ -35,34 +35,34 @@
35
35
  /* checkmark */
36
36
 
37
37
  /* optgroup */
38
- } .select__virtualOptionsList_1auqf {
38
+ } .select__virtualOptionsList_1o3b1 {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_1auqf {
43
+ } .select__virtualOptionsListHeader_1o3b1 {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-neutral-300);
46
- } .select__virtualOptionsListFooter_1auqf {
46
+ } .select__virtualOptionsListFooter_1o3b1 {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_1auqf.select__withBorder_1auqf {
51
+ } .select__virtualOptionsListFooter_1o3b1.select__withBorder_1o3b1 {
52
52
  border-top: 1px solid var(--color-light-neutral-300);
53
- } .select__scrollable_1auqf {
53
+ } .select__scrollable_1o3b1 {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_1auqf {
57
+ } .select__inner_1o3b1 {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_1auqf {
60
+ } .select__virtualRow_1o3b1 {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_1auqf:before {
65
+ } .select__virtualRow_1o3b1: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_1auqf:first-child:before {
75
+ } .select__virtualRow_1o3b1:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_1auqf:before,
78
- .select__highlighted_1auqf + .select__virtualRow_1auqf:before {
77
+ } .select__highlighted_1o3b1:before,
78
+ .select__highlighted_1o3b1 + .select__virtualRow_1o3b1:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_1auqf {
80
+ } .select__emptyPlaceholder_1o3b1 {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_1auqf .select__emptyPlaceholder_1auqf,
84
- .select__xl_1auqf .select__emptyPlaceholder_1auqf {
83
+ } .select__l_1o3b1 .select__emptyPlaceholder_1o3b1,
84
+ .select__xl_1o3b1 .select__emptyPlaceholder_1o3b1 {
85
85
  padding: var(--gap-xl) var(--gap-m);
86
86
  }
package/modern/index.js CHANGED
@@ -40,7 +40,7 @@ import '@alfalab/core-components-base-modal/modern';
40
40
  import '@alfalab/core-components-button/modern/mobile';
41
41
  import './components/virtual-options-list/Component.js';
42
42
  import 'react-virtual';
43
- import './hook-01e84bc2.js';
43
+ import './hook-a54f97df.js';
44
44
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
45
45
  import '@alfalab/core-components-button/modern/desktop';
46
46
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
@@ -11,7 +11,7 @@ import { Option } from '../components/option/Component.js';
11
11
  import { OptionsList } from '../components/options-list/Component.js';
12
12
  import { Search } from '../components/search/Component.js';
13
13
  import { VirtualOptionsList } from '../components/virtual-options-list/Component.js';
14
- import { u as useSelectWithApply } from '../hook-01e84bc2.js';
14
+ import { u as useSelectWithApply } from '../hook-a54f97df.js';
15
15
  import { Header } from '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
16
16
  import 'classnames';
17
17
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -36,7 +36,7 @@ import '@alfalab/core-components-input/modern';
36
36
  import '@alfalab/icons-glyph/MagnifierMIcon';
37
37
  import '../components/virtual-options-list/Component.js';
38
38
  import 'react-virtual';
39
- import '../hook-01e84bc2.js';
39
+ import '../hook-a54f97df.js';
40
40
  import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
41
41
  import '@alfalab/core-components-button/modern/desktop';
42
42
  import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
@@ -37,7 +37,7 @@ import '@alfalab/core-components-input/modern';
37
37
  import '@alfalab/icons-glyph/MagnifierMIcon';
38
38
  import '../components/virtual-options-list/Component.js';
39
39
  import 'react-virtual';
40
- import '../hook-01e84bc2.js';
40
+ import '../hook-a54f97df.js';
41
41
  import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
42
42
  import '@alfalab/core-components-button/modern/desktop';
43
43
  import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
@@ -1,6 +1,6 @@
1
1
  export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from './useLazyLoading/hook.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-01e84bc2.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-a54f97df.js';
4
4
  import 'react';
5
5
  import '@alfalab/core-components-skeleton/modern';
6
6
  import '../components/option/Component.js';
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import '../../utils.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-01e84bc2.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-a54f97df.js';
4
4
  import '../../components/options-list/Component.js';
5
5
  import 'react-merge-refs';
6
6
  import 'classnames';
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
2
  import '../../../components/options-list/Component.js';
3
3
  import '../../../consts.js';
4
- export { O as OptionsListWithApply } from '../../../hook-01e84bc2.js';
4
+ export { O as OptionsListWithApply } from '../../../hook-a54f97df.js';
5
5
  import './footer/Component.js';
6
6
  import './header/Component.js';
7
7
  import 'react-merge-refs';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ButtonDesktop } from '@alfalab/core-components-button/modern/desktop';
3
3
 
4
- const styles = {"footer":"select__footer_4ycc8"};
4
+ const styles = {"footer":"select__footer_i6wy8"};
5
5
  require('./index.css')
6
6
 
7
7
  const Footer = ({ handleApply, handleClear, showClear, selectedDraft = [], }) => (React.createElement("div", {
@@ -1,4 +1,4 @@
1
- /* hash: ywl69 */
1
+ /* hash: 1o3xj */
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_4ycc8 {
20
+ } .select__footer_i6wy8 {
21
21
  background-color: var(--color-light-bg-primary);
22
22
  padding: var(--gap-s);
23
23
  outline: none
24
- } .select__footer_4ycc8 > * + * {
24
+ } .select__footer_i6wy8 > * + * {
25
25
  margin-left: var(--gap-xs);
26
26
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/modern';
4
4
 
5
- const styles = {"desktop":"select__desktop_1qatu","mobile":"select__mobile_1qatu"};
5
+ const styles = {"desktop":"select__desktop_1hv45","mobile":"select__mobile_1hv45"};
6
6
  require('./index.css')
7
7
 
8
8
  const Header = ({ onChange, checked, indeterminate, mobile }) => (React.createElement("div", { className: cn({ [styles.desktop]: !mobile, [styles.mobile]: mobile }) },
@@ -1,4 +1,4 @@
1
- /* hash: d6t9d */
1
+ /* hash: 1rmsw */
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_1qatu {
19
+ } .select__desktop_1hv45 {
20
20
  padding: var(--gap-s);
21
- } .select__mobile_1qatu {
21
+ } .select__mobile_1hv45 {
22
22
  padding: var(--gap-s) var(--gap-xs);
23
23
  }
@@ -1 +1 @@
1
- export * from "../../../hook-01e84bc2";
1
+ export * from "../../../hook-a54f97df";
@@ -1,4 +1,4 @@
1
- export { O as OptionsListWithApply } from '../../../hook-01e84bc2.js';
1
+ export { O as OptionsListWithApply } from '../../../hook-a54f97df.js';
2
2
  import 'react';
3
3
  import '../../../utils.js';
4
4
  import '../../../components/options-list/Component.js';
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
9
9
  import '@alfalab/icons-glyph/CheckmarkMIcon';
10
10
  import '../../components/checkmark-mobile/Component.js';
11
11
 
12
- const styles = {"skeleton":"select__skeleton_y23mv"};
12
+ const styles = {"skeleton":"select__skeleton_3e381"};
13
13
  require('./index.css')
14
14
 
15
15
  function useSelectWithLoading({ loading = false, visibleOptions = 6, Option: Option$1 = Option, }) {
@@ -1,5 +1,5 @@
1
- /* hash: tm5i1 */
2
- .select__skeleton_y23mv {
1
+ /* hash: ha8kl */
2
+ .select__skeleton_3e381 {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
@@ -1,6 +1,6 @@
1
1
  export { useSelectWithLoading } from '../presets/useSelectWithLoading/hook.js';
2
2
  export { useLazyLoading } from '../presets/useLazyLoading/hook.js';
3
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-01e84bc2.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-a54f97df.js';
4
4
  export { defaultAccessor, defaultFilterFn, isGroup, isOptionShape, joinOptions, lastIndexOf, processOptions, usePrevious, useVisibleOptions } from '../utils.js';
5
5
  export { Option } from '../components/option/Component.js';
6
6
  export { BaseOption } from '../components/base-option/Component.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-select",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "description": "Select component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -20,8 +20,8 @@
20
20
  "@alfalab/core-components-bottom-sheet": "^6.13.0",
21
21
  "@alfalab/core-components-button": "^11.0.0",
22
22
  "@alfalab/core-components-checkbox": "^4.0.0",
23
- "@alfalab/core-components-form-control": "^12.0.0",
24
- "@alfalab/core-components-input": "^14.0.0",
23
+ "@alfalab/core-components-form-control": "^12.0.1",
24
+ "@alfalab/core-components-input": "^14.0.1",
25
25
  "@alfalab/core-components-modal": "^9.0.0",
26
26
  "@alfalab/core-components-mq": "^4.2.0",
27
27
  "@alfalab/core-components-popover": "^6.2.0",
package/presets/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var presets_useSelectWithLoading_hook = require('./useSelectWithLoading/hook.js');
6
6
  var presets_useLazyLoading_hook = require('./useLazyLoading/hook.js');
7
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-75164a56.js');
7
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-cdcca4d1.js');
8
8
  require('tslib');
9
9
  require('react');
10
10
  require('@alfalab/core-components-skeleton');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  require('tslib');
6
6
  require('react');
7
7
  require('../../utils.js');
8
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-75164a56.js');
8
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../hook-cdcca4d1.js');
9
9
  require('../../components/options-list/Component.js');
10
10
  require('react-merge-refs');
11
11
  require('classnames');
@@ -6,7 +6,7 @@ require('tslib');
6
6
  require('react');
7
7
  require('../../../components/options-list/Component.js');
8
8
  require('../../../consts.js');
9
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-75164a56.js');
9
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-cdcca4d1.js');
10
10
  require('./footer/Component.js');
11
11
  require('./header/Component.js');
12
12
  require('react-merge-refs');
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
11
 
12
- var styles = {"footer":"select__footer_4ycc8"};
12
+ var styles = {"footer":"select__footer_i6wy8"};
13
13
  require('./index.css')
14
14
 
15
15
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ywl69 */
1
+ /* hash: 1o3xj */
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_4ycc8 {
20
+ } .select__footer_i6wy8 {
21
21
  background-color: var(--color-light-bg-primary);
22
22
  padding: var(--gap-s);
23
23
  outline: none
24
- } .select__footer_4ycc8 > * + * {
24
+ } .select__footer_i6wy8 > * + * {
25
25
  margin-left: var(--gap-xs);
26
26
  }
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"desktop":"select__desktop_1qatu","mobile":"select__mobile_1qatu"};
14
+ var styles = {"desktop":"select__desktop_1hv45","mobile":"select__mobile_1hv45"};
15
15
  require('./index.css')
16
16
 
17
17
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: d6t9d */
1
+ /* hash: 1rmsw */
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_1qatu {
19
+ } .select__desktop_1hv45 {
20
20
  padding: var(--gap-s);
21
- } .select__mobile_1qatu {
21
+ } .select__mobile_1hv45 {
22
22
  padding: var(--gap-s) var(--gap-xs);
23
23
  }
@@ -1 +1 @@
1
- export * from "../../../hook-75164a56";
1
+ export * from "../../../hook-cdcca4d1";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-75164a56.js');
5
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../../../hook-cdcca4d1.js');
6
6
  require('tslib');
7
7
  require('react');
8
8
  require('../../../utils.js');
@@ -18,7 +18,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
18
18
 
19
19
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
20
20
 
21
- var styles = {"skeleton":"select__skeleton_y23mv"};
21
+ var styles = {"skeleton":"select__skeleton_3e381"};
22
22
  require('./index.css')
23
23
 
24
24
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: tm5i1 */
2
- .select__skeleton_y23mv {
1
+ /* hash: ha8kl */
2
+ .select__skeleton_3e381 {
3
3
  position: absolute;
4
4
  top: 50%;
5
5
  transform: translateY(-50%);
package/shared/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var presets_useSelectWithLoading_hook = require('../presets/useSelectWithLoading/hook.js');
6
6
  var presets_useLazyLoading_hook = require('../presets/useLazyLoading/hook.js');
7
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-75164a56.js');
7
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-cdcca4d1.js');
8
8
  var utils = require('../utils.js');
9
9
  var components_option_Component = require('../components/option/Component.js');
10
10
  var components_baseOption_Component = require('../components/base-option/Component.js');
File without changes
File without changes
File without changes
File without changes
File without changes