@alfalab/core-components-select 15.0.0 → 15.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 (146) hide show
  1. package/Component.mobile.js +1 -1
  2. package/Component.modal.mobile.js +1 -1
  3. package/Component.responsive.js +1 -1
  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 +1 -1
  11. package/components/base-select/index.css +8 -8
  12. package/components/base-select-mobile/Component.js +1 -1
  13. package/components/base-select-mobile/footer/Component.js +1 -1
  14. package/components/base-select-mobile/footer/index.css +5 -5
  15. package/components/base-select-mobile/index.css +11 -11
  16. package/components/checkmark/Component.js +1 -1
  17. package/components/checkmark/index.css +10 -10
  18. package/components/checkmark-mobile/Component.js +1 -1
  19. package/components/checkmark-mobile/index.css +6 -6
  20. package/components/field/Component.js +1 -1
  21. package/components/field/index.css +12 -12
  22. package/components/optgroup/Component.js +1 -1
  23. package/components/optgroup/index.css +6 -6
  24. package/components/option/Component.js +1 -1
  25. package/components/option/index.css +20 -20
  26. package/components/options-list/Component.js +1 -1
  27. package/components/options-list/index.css +9 -9
  28. package/components/virtual-options-list/Component.js +1 -1
  29. package/components/virtual-options-list/index.css +15 -15
  30. package/cssm/index-ebda875c.d.ts +0 -2
  31. package/cssm/presets/index.js +1 -0
  32. package/cssm/presets/useLazyLoading/hook.js +1 -892
  33. package/cssm/shared.js +1 -0
  34. package/esm/Component.mobile.js +1 -1
  35. package/esm/Component.modal.mobile.js +1 -1
  36. package/esm/Component.responsive.js +1 -1
  37. package/esm/components/arrow/Component.js +1 -1
  38. package/esm/components/arrow/index.css +3 -3
  39. package/esm/components/base-checkmark/Component.js +1 -1
  40. package/esm/components/base-checkmark/index.css +4 -4
  41. package/esm/components/base-option/Component.js +1 -1
  42. package/esm/components/base-option/index.css +13 -13
  43. package/esm/components/base-select/Component.js +1 -1
  44. package/esm/components/base-select/index.css +8 -8
  45. package/esm/components/base-select-mobile/Component.js +1 -1
  46. package/esm/components/base-select-mobile/footer/Component.js +1 -1
  47. package/esm/components/base-select-mobile/footer/index.css +5 -5
  48. package/esm/components/base-select-mobile/index.css +11 -11
  49. package/esm/components/checkmark/Component.js +1 -1
  50. package/esm/components/checkmark/index.css +10 -10
  51. package/esm/components/checkmark-mobile/Component.js +1 -1
  52. package/esm/components/checkmark-mobile/index.css +6 -6
  53. package/esm/components/field/Component.js +1 -1
  54. package/esm/components/field/index.css +12 -12
  55. package/esm/components/optgroup/Component.js +1 -1
  56. package/esm/components/optgroup/index.css +6 -6
  57. package/esm/components/option/Component.js +1 -1
  58. package/esm/components/option/index.css +20 -20
  59. package/esm/components/options-list/Component.js +1 -1
  60. package/esm/components/options-list/index.css +9 -9
  61. package/esm/components/virtual-options-list/Component.js +1 -1
  62. package/esm/components/virtual-options-list/index.css +15 -15
  63. package/esm/index-ebda875c.d.ts +0 -2
  64. package/esm/index.js +1 -1
  65. package/esm/mobile.js +1 -1
  66. package/esm/presets/index.js +2 -1
  67. package/esm/presets/useLazyLoading/hook.js +1 -892
  68. package/esm/presets/useSelectWithApply/hook.js +1 -1
  69. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  70. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  71. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  72. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  73. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  74. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  75. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  76. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  77. package/esm/presets/useSelectWithLoading/index.css +2 -2
  78. package/esm/shared.js +2 -1
  79. package/index-ebda875c.d.ts +0 -2
  80. package/index.js +1 -1
  81. package/mobile.js +1 -1
  82. package/modern/Component.mobile.js +1 -1
  83. package/modern/Component.modal.mobile.js +1 -1
  84. package/modern/Component.responsive.js +1 -1
  85. package/modern/components/arrow/Component.js +1 -1
  86. package/modern/components/arrow/index.css +3 -3
  87. package/modern/components/base-checkmark/Component.js +1 -1
  88. package/modern/components/base-checkmark/index.css +4 -4
  89. package/modern/components/base-option/Component.js +1 -1
  90. package/modern/components/base-option/index.css +13 -13
  91. package/modern/components/base-select/Component.js +1 -1
  92. package/modern/components/base-select/index.css +8 -8
  93. package/modern/components/base-select-mobile/Component.js +1 -1
  94. package/modern/components/base-select-mobile/footer/Component.js +1 -1
  95. package/modern/components/base-select-mobile/footer/index.css +5 -5
  96. package/modern/components/base-select-mobile/index.css +11 -11
  97. package/modern/components/checkmark/Component.js +1 -1
  98. package/modern/components/checkmark/index.css +10 -10
  99. package/modern/components/checkmark-mobile/Component.js +1 -1
  100. package/modern/components/checkmark-mobile/index.css +6 -6
  101. package/modern/components/field/Component.js +1 -1
  102. package/modern/components/field/index.css +12 -12
  103. package/modern/components/optgroup/Component.js +1 -1
  104. package/modern/components/optgroup/index.css +6 -6
  105. package/modern/components/option/Component.js +1 -1
  106. package/modern/components/option/index.css +20 -20
  107. package/modern/components/options-list/Component.js +1 -1
  108. package/modern/components/options-list/index.css +9 -9
  109. package/modern/components/virtual-options-list/Component.js +1 -1
  110. package/modern/components/virtual-options-list/index.css +15 -15
  111. package/modern/index-ebda875c.d.ts +0 -2
  112. package/modern/index.js +1 -1
  113. package/modern/mobile.js +1 -1
  114. package/modern/presets/index.js +2 -1
  115. package/modern/presets/useLazyLoading/hook.js +1 -892
  116. package/modern/presets/useSelectWithApply/hook.js +1 -1
  117. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  118. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  119. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  120. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  121. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  122. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  123. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  124. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  125. package/modern/presets/useSelectWithLoading/index.css +2 -2
  126. package/modern/shared.js +2 -1
  127. package/package.json +8 -7
  128. package/presets/index.js +2 -1
  129. package/presets/useLazyLoading/hook.js +1 -892
  130. package/presets/useSelectWithApply/hook.js +1 -1
  131. package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  132. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  133. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  134. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  135. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  136. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  137. package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  138. package/presets/useSelectWithLoading/hook.js +1 -1
  139. package/presets/useSelectWithLoading/index.css +2 -2
  140. package/shared.js +2 -1
  141. /package/esm/{hook-326a5cea.d.ts → hook-0fd92266.d.ts} +0 -0
  142. /package/esm/{hook-326a5cea.js → hook-0fd92266.js} +0 -0
  143. /package/{hook-6e94be9c.d.ts → hook-c3ee8e85.d.ts} +0 -0
  144. /package/{hook-6e94be9c.js → hook-c3ee8e85.js} +0 -0
  145. /package/modern/{hook-e0fd0350.d.ts → hook-607b8786.d.ts} +0 -0
  146. /package/modern/{hook-e0fd0350.js → hook-607b8786.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: v3md3 */
1
+ /* hash: 1g9yp */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #0072ef;
@@ -44,22 +44,22 @@
44
44
  /* checkmark */
45
45
 
46
46
  /* optgroup */
47
- } .select__component_7tqhx {
47
+ } .select__component_l4fbq {
48
48
  width: 100%;
49
49
  outline: none;
50
- } .select__field_7tqhx:not(.select__disabled_7tqhx) {
50
+ } .select__field_l4fbq:not(.select__disabled_l4fbq) {
51
51
  cursor: pointer
52
- } .select__field_7tqhx:not(.select__disabled_7tqhx):hover .select__arrow_7tqhx {
52
+ } .select__field_l4fbq:not(.select__disabled_l4fbq):hover .select__arrow_l4fbq {
53
53
  opacity: var(--select-arrow-hover-opacity);
54
- } .select__disabled_7tqhx {
54
+ } .select__disabled_l4fbq {
55
55
  cursor: var(--disabled-cursor);
56
- } .select__placeholder_7tqhx {
56
+ } .select__placeholder_l4fbq {
57
57
  color: var(--input-placeholder-color);
58
58
  transition: color 0.2s ease;
59
- animation: select__show-placeholder_7tqhx 0.2s ease
60
- } .select__placeholder_7tqhx.select__focused_7tqhx {
59
+ animation: select__show-placeholder_l4fbq 0.2s ease
60
+ } .select__placeholder_l4fbq.select__focused_l4fbq {
61
61
  color: var(--input-focus-placeholder-color);
62
- } .select__contentWrapper_7tqhx {
62
+ } .select__contentWrapper_l4fbq {
63
63
  font-size: 16px;
64
64
  line-height: 20px;
65
65
  font-weight: 400;
@@ -68,14 +68,14 @@
68
68
  text-overflow: ellipsis;
69
69
  overflow: hidden;
70
70
  width: 100%;
71
- } .select__value_7tqhx {
71
+ } .select__value_l4fbq {
72
72
  overflow: hidden;
73
73
  text-overflow: ellipsis;
74
74
  text-align: left;
75
- } .select__focusVisible_7tqhx {
75
+ } .select__focusVisible_l4fbq {
76
76
  outline: 2px solid var(--focus-color);
77
77
  outline-offset: 2px;
78
- } @keyframes select__show-placeholder_7tqhx {
78
+ } @keyframes select__show-placeholder_l4fbq {
79
79
  from {
80
80
  opacity: 0;
81
81
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"optgroup":"select__optgroup_13yox","label":"select__label_13yox","l":"select__l_13yox","xl":"select__xl_13yox"};
4
+ const styles = {"optgroup":"select__optgroup_1mjba","label":"select__label_1mjba","l":"select__l_1mjba","xl":"select__xl_1mjba"};
5
5
  require('./index.css')
6
6
 
7
7
  const Optgroup = ({ children, className, label, size = 's' }) => (React.createElement(React.Fragment, null,
@@ -1,4 +1,4 @@
1
- /* hash: 1yu06 */
1
+ /* hash: 7l21h */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -35,7 +35,7 @@
35
35
  --select-optgroup-right-padding: var(--gap-s);
36
36
  --select-optgroup-l-left-padding: var(--gap-m);
37
37
  --select-optgroup-l-right-padding: var(--gap-m);
38
- } .select__optgroup_13yox {
38
+ } .select__optgroup_1mjba {
39
39
  position: relative;
40
40
  display: flex;
41
41
  align-items: center;
@@ -44,9 +44,9 @@
44
44
  box-sizing: border-box;
45
45
  background: var(--select-optgroup-background);
46
46
  min-height: 40px
47
- } .select__optgroup_13yox + *[role='option']:before {
47
+ } .select__optgroup_1mjba + *[role='option']:before {
48
48
  display: none;
49
- } .select__label_13yox {
49
+ } .select__label_1mjba {
50
50
  font-size: 12px;
51
51
  line-height: 16px;
52
52
  font-weight: 500;
@@ -55,8 +55,8 @@
55
55
 
56
56
  display: block;
57
57
  color: var(--select-optgroup-color);
58
- } .select__l_13yox,
59
- .select__xl_13yox {
58
+ } .select__l_1mjba,
59
+ .select__xl_1mjba {
60
60
  padding-left: var(--select-optgroup-l-left-padding);
61
61
  padding-right: var(--select-optgroup-l-right-padding);
62
62
  }
@@ -7,7 +7,7 @@ import '@alfalab/core-components-checkbox/modern';
7
7
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
8
8
  import '@alfalab/icons-glyph/CheckmarkMIcon';
9
9
 
10
- const styles = {"option":"select__option_wa0x4","disabled":"select__disabled_wa0x4","s":"select__s_wa0x4","m":"select__m_wa0x4","l":"select__l_wa0x4","xl":"select__xl_wa0x4","selected":"select__selected_wa0x4","highlighted":"select__highlighted_wa0x4","content":"select__content_wa0x4","textContent":"select__textContent_wa0x4"};
10
+ const styles = {"option":"select__option_129sp","disabled":"select__disabled_129sp","s":"select__s_129sp","m":"select__m_129sp","l":"select__l_129sp","xl":"select__xl_129sp","selected":"select__selected_129sp","highlighted":"select__highlighted_129sp","content":"select__content_129sp","textContent":"select__textContent_129sp"};
11
11
  require('./index.css')
12
12
 
13
13
  const Option = ({ size = 's', className, option, children, selected, highlighted, disabled, multiple, mobile, Checkmark: Checkmark$2 = mobile ? Checkmark : Checkmark$1, innerProps, dataTestId, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1rem1 */
1
+ /* hash: fjddb */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -53,7 +53,7 @@
53
53
  /* checkmark */
54
54
 
55
55
  /* optgroup */
56
- } .select__option_wa0x4 {
56
+ } .select__option_129sp {
57
57
  font-size: 16px;
58
58
  line-height: 20px;
59
59
  font-weight: 400;
@@ -68,10 +68,10 @@
68
68
  box-sizing: border-box;
69
69
  position: relative;
70
70
  cursor: pointer
71
- } .select__option_wa0x4:not(.select__disabled_wa0x4):active {
71
+ } .select__option_129sp:not(.select__disabled_129sp):active {
72
72
  background: var(--select-option-active-background);
73
73
  color: var(--select-option-active-color);
74
- } .select__option_wa0x4:before {
74
+ } .select__option_129sp:before {
75
75
  content: '';
76
76
  position: absolute;
77
77
  left: var(--select-option-left-padding);
@@ -81,46 +81,46 @@
81
81
  background: var(--select-option-divider-background);
82
82
  display: var(--select-option-divider-display);
83
83
  transition: opacity 0.2s ease;
84
- } .select__option_wa0x4:first-child:before {
84
+ } .select__option_129sp:first-child:before {
85
85
  display: none;
86
- } .select__s_wa0x4 {
86
+ } .select__s_129sp {
87
87
  min-height: var(--size-s-height);
88
- } .select__m_wa0x4 {
88
+ } .select__m_129sp {
89
89
  min-height: var(--size-m-height);
90
- } .select__l_wa0x4 {
90
+ } .select__l_129sp {
91
91
  min-height: var(--size-l-height);
92
- } .select__xl_wa0x4 {
92
+ } .select__xl_129sp {
93
93
  min-height: var(--size-xl-height);
94
- } .select__l_wa0x4,
95
- .select__xl_wa0x4 {
94
+ } .select__l_129sp,
95
+ .select__xl_129sp {
96
96
  padding-left: var(--select-option-l-left-padding);
97
97
  padding-right: var(--select-option-l-right-padding)
98
- } .select__l_wa0x4:before, .select__xl_wa0x4:before {
98
+ } .select__l_129sp:before, .select__xl_129sp:before {
99
99
  left: var(--select-option-l-left-padding);
100
100
  right: var(--select-option-l-right-padding);
101
- } .select__selected_wa0x4 {
101
+ } .select__selected_129sp {
102
102
  background: var(--select-option-selected-background);
103
103
  color: var(--select-option-selected-color);
104
104
  cursor: default;
105
- } .select__highlighted_wa0x4 {
105
+ } .select__highlighted_129sp {
106
106
  background: var(--select-option-hover-background);
107
107
  color: var(--select-option-hover-color)
108
- } .select__highlighted_wa0x4:before,
109
- .select__highlighted_wa0x4 + .select__option_wa0x4:before {
108
+ } .select__highlighted_129sp:before,
109
+ .select__highlighted_129sp + .select__option_129sp:before {
110
110
  opacity: 0;
111
- } .select__disabled_wa0x4 {
111
+ } .select__disabled_129sp {
112
112
  cursor: var(--disabled-cursor);
113
113
  background: var(--select-option-disabled-background);
114
114
  color: var(--select-option-disabled-color);
115
- } .select__content_wa0x4 {
115
+ } .select__content_129sp {
116
116
  overflow: hidden;
117
117
  flex: 1;
118
118
  text-overflow: ellipsis;
119
- } .select__textContent_wa0x4 {
119
+ } .select__textContent_129sp {
120
120
  padding-top: var(--gap-s);
121
121
  padding-bottom: var(--gap-s);
122
122
  } /* IE min-height fix */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
123
- .select__option_wa0x4:after {
123
+ .select__option_129sp:after {
124
124
  min-height: inherit;
125
125
  font-size: 0;
126
126
  content: '';
@@ -7,7 +7,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
7
7
  import { useVisibleOptions, isGroup } from '../../utils.js';
8
8
  import { Optgroup } from '../optgroup/Component.js';
9
9
 
10
- const styles = {"optionsList":"select__optionsList_wfh3l","optionsListHeader":"select__optionsListHeader_wfh3l","optionsListFooter":"select__optionsListFooter_wfh3l","withBorder":"select__withBorder_wfh3l","scrollable":"select__scrollable_wfh3l","emptyPlaceholder":"select__emptyPlaceholder_wfh3l","l":"select__l_wfh3l","xl":"select__xl_wfh3l"};
10
+ const styles = {"optionsList":"select__optionsList_7iql7","optionsListHeader":"select__optionsListHeader_7iql7","optionsListFooter":"select__optionsListFooter_7iql7","withBorder":"select__withBorder_7iql7","scrollable":"select__scrollable_7iql7","emptyPlaceholder":"select__emptyPlaceholder_7iql7","l":"select__l_7iql7","xl":"select__xl_7iql7"};
11
11
  require('./index.css')
12
12
 
13
13
  const createCounter = () => {
@@ -1,4 +1,4 @@
1
- /* hash: xcb7z */
1
+ /* hash: 14d5p */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-secondary: #e9e9eb;
@@ -29,28 +29,28 @@
29
29
  /* checkmark */
30
30
 
31
31
  /* optgroup */
32
- } .select__optionsList_wfh3l {
32
+ } .select__optionsList_7iql7 {
33
33
  width: 100%;
34
34
  outline: none;
35
35
  box-sizing: border-box;
36
36
  position: relative;
37
- } .select__optionsListHeader_wfh3l {
37
+ } .select__optionsListHeader_7iql7 {
38
38
  box-sizing: border-box;
39
39
  border-bottom: 1px solid var(--color-light-border-secondary);
40
- } .select__optionsListFooter_wfh3l {
40
+ } .select__optionsListFooter_7iql7 {
41
41
  position: sticky;
42
42
  bottom: 0;
43
43
  box-sizing: border-box;
44
44
  border-top: 1px solid transparent
45
- } .select__optionsListFooter_wfh3l.select__withBorder_wfh3l {
45
+ } .select__optionsListFooter_7iql7.select__withBorder_7iql7 {
46
46
  border-top: 1px solid var(--color-light-border-secondary);
47
- } .select__scrollable_wfh3l {
47
+ } .select__scrollable_7iql7 {
48
48
  overflow: auto;
49
49
  width: 100%;
50
- } .select__emptyPlaceholder_wfh3l {
50
+ } .select__emptyPlaceholder_7iql7 {
51
51
  padding: var(--gap-m) var(--gap-s);
52
52
  color: var(--select-options-list-empty-placeholder-color);
53
- } .select__l_wfh3l .select__emptyPlaceholder_wfh3l,
54
- .select__xl_wfh3l .select__emptyPlaceholder_wfh3l {
53
+ } .select__l_7iql7 .select__emptyPlaceholder_7iql7,
54
+ .select__xl_7iql7 .select__emptyPlaceholder_7iql7 {
55
55
  padding: var(--gap-xl) var(--gap-m);
56
56
  }
@@ -8,7 +8,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
8
8
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
9
9
  import { Optgroup } from '../optgroup/Component.js';
10
10
 
11
- const styles = {"virtualOptionsList":"select__virtualOptionsList_rv8ks","virtualOptionsListHeader":"select__virtualOptionsListHeader_rv8ks","virtualOptionsListFooter":"select__virtualOptionsListFooter_rv8ks","withBorder":"select__withBorder_rv8ks","scrollable":"select__scrollable_rv8ks","inner":"select__inner_rv8ks","virtualRow":"select__virtualRow_rv8ks","highlighted":"select__highlighted_rv8ks","emptyPlaceholder":"select__emptyPlaceholder_rv8ks","l":"select__l_rv8ks","xl":"select__xl_rv8ks"};
11
+ const styles = {"virtualOptionsList":"select__virtualOptionsList_d7gwa","virtualOptionsListHeader":"select__virtualOptionsListHeader_d7gwa","virtualOptionsListFooter":"select__virtualOptionsListFooter_d7gwa","withBorder":"select__withBorder_d7gwa","scrollable":"select__scrollable_d7gwa","inner":"select__inner_d7gwa","virtualRow":"select__virtualRow_d7gwa","highlighted":"select__highlighted_d7gwa","emptyPlaceholder":"select__emptyPlaceholder_d7gwa","l":"select__l_d7gwa","xl":"select__xl_d7gwa"};
12
12
  require('./index.css')
13
13
 
14
14
  const VirtualOptionsList = forwardRef(({ size = 's', flatOptions = [], highlightedIndex = -1, className, getOptionProps, Option, open, options = [], Optgroup: Optgroup$1 = Optgroup, dataTestId, emptyPlaceholder, visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, showFooter = true, optionsListWidth, onScroll, nativeScrollbar: nativeScrollbarProp, }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: nfq0q */
1
+ /* hash: 12qri */
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_rv8ks {
38
+ } .select__virtualOptionsList_d7gwa {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_rv8ks {
43
+ } .select__virtualOptionsListHeader_d7gwa {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-border-secondary);
46
- } .select__virtualOptionsListFooter_rv8ks {
46
+ } .select__virtualOptionsListFooter_d7gwa {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_rv8ks.select__withBorder_rv8ks {
51
+ } .select__virtualOptionsListFooter_d7gwa.select__withBorder_d7gwa {
52
52
  border-top: 1px solid var(--color-light-border-secondary);
53
- } .select__scrollable_rv8ks {
53
+ } .select__scrollable_d7gwa {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_rv8ks {
57
+ } .select__inner_d7gwa {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_rv8ks {
60
+ } .select__virtualRow_d7gwa {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_rv8ks:before {
65
+ } .select__virtualRow_d7gwa: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_rv8ks:first-child:before {
75
+ } .select__virtualRow_d7gwa:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_rv8ks:before,
78
- .select__highlighted_rv8ks + .select__virtualRow_rv8ks:before {
77
+ } .select__highlighted_d7gwa:before,
78
+ .select__highlighted_d7gwa + .select__virtualRow_d7gwa:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_rv8ks {
80
+ } .select__emptyPlaceholder_d7gwa {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_rv8ks .select__emptyPlaceholder_rv8ks,
84
- .select__xl_rv8ks .select__emptyPlaceholder_rv8ks {
83
+ } .select__l_d7gwa .select__emptyPlaceholder_d7gwa,
84
+ .select__xl_d7gwa .select__emptyPlaceholder_d7gwa {
85
85
  padding: var(--gap-xl) var(--gap-m);
86
86
  }
@@ -1,6 +1,4 @@
1
1
  /// <reference types="react" />
2
- // TODO Вид кнопок зависит от порядка импорта стилей.
3
- /* eslint-disable simple-import-sort/imports */
4
2
  import React from "react";
5
3
  import { FC } from "react";
6
4
  import { BaseButtonProps } from "./typings-9211a437";
package/modern/index.js CHANGED
@@ -36,7 +36,7 @@ import '@alfalab/core-components-base-modal/modern';
36
36
  import '@alfalab/core-components-button/modern/mobile';
37
37
  import './components/virtual-options-list/Component.js';
38
38
  import 'react-virtual';
39
- import './hook-e0fd0350.js';
39
+ import './hook-607b8786.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';
package/modern/mobile.js CHANGED
@@ -30,7 +30,7 @@ import '@alfalab/core-components-base-modal/modern';
30
30
  import '@alfalab/core-components-button/modern/mobile';
31
31
  import './components/virtual-options-list/Component.js';
32
32
  import 'react-virtual';
33
- import './hook-e0fd0350.js';
33
+ import './hook-607b8786.js';
34
34
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
35
35
  import '@alfalab/core-components-button/modern/desktop';
36
36
  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-e0fd0350.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-607b8786.js';
4
4
  import 'react';
5
5
  import '@alfalab/core-components-skeleton/modern';
6
6
  import '../components/option/Component.js';
@@ -11,6 +11,7 @@ import '@alfalab/core-components-checkbox/modern';
11
11
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
12
12
  import '@alfalab/icons-glyph/CheckmarkMIcon';
13
13
  import '../components/checkmark-mobile/Component.js';
14
+ import 'intersection-observer';
14
15
  import '../utils.js';
15
16
  import '../components/options-list/Component.js';
16
17
  import 'react-merge-refs';