@alfalab/core-components-select 17.0.1 → 17.1.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 (143) 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 +13 -12
  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/cssm/components/base-select/index.module.css +3 -2
  30. package/cssm/components/search/index.module.css +1 -1
  31. package/esm/Component.responsive.js +1 -1
  32. package/esm/components/arrow/Component.js +1 -1
  33. package/esm/components/arrow/index.css +3 -3
  34. package/esm/components/base-checkmark/Component.js +1 -1
  35. package/esm/components/base-checkmark/index.css +4 -4
  36. package/esm/components/base-option/Component.js +1 -1
  37. package/esm/components/base-option/index.css +13 -13
  38. package/esm/components/base-select/Component.js +2 -2
  39. package/esm/components/base-select/index.css +13 -12
  40. package/esm/components/base-select/mobile.css +12 -12
  41. package/esm/components/checkmark/Component.js +1 -1
  42. package/esm/components/checkmark/index.css +10 -10
  43. package/esm/components/checkmark-mobile/Component.js +1 -1
  44. package/esm/components/checkmark-mobile/index.css +6 -6
  45. package/esm/components/field/Component.js +1 -1
  46. package/esm/components/field/index.css +12 -12
  47. package/esm/components/footer/Component.js +1 -1
  48. package/esm/components/footer/index.css +5 -5
  49. package/esm/components/optgroup/Component.js +1 -1
  50. package/esm/components/optgroup/index.css +6 -6
  51. package/esm/components/option/Component.js +1 -1
  52. package/esm/components/option/index.css +19 -19
  53. package/esm/components/options-list/Component.js +1 -1
  54. package/esm/components/options-list/index.css +9 -9
  55. package/esm/components/search/Component.js +1 -1
  56. package/esm/components/search/index.css +2 -2
  57. package/esm/components/virtual-options-list/Component.js +1 -1
  58. package/esm/components/virtual-options-list/index.css +15 -15
  59. package/esm/index.js +1 -1
  60. package/esm/mobile/Component.mobile.js +1 -1
  61. package/esm/mobile/Component.modal.mobile.js +1 -1
  62. package/esm/mobile/index.js +1 -1
  63. package/esm/presets/index.js +1 -1
  64. package/esm/presets/useSelectWithApply/hook.js +1 -1
  65. package/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  66. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  67. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  68. package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  69. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  70. package/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  71. package/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  72. package/esm/presets/useSelectWithLoading/hook.js +1 -1
  73. package/esm/presets/useSelectWithLoading/index.css +2 -2
  74. package/esm/shared/index.js +1 -1
  75. package/index.js +1 -1
  76. package/mobile/Component.mobile.js +1 -1
  77. package/mobile/Component.modal.mobile.js +1 -1
  78. package/mobile/index.js +1 -1
  79. package/modern/Component.responsive.js +1 -1
  80. package/modern/components/arrow/Component.js +1 -1
  81. package/modern/components/arrow/index.css +3 -3
  82. package/modern/components/base-checkmark/Component.js +1 -1
  83. package/modern/components/base-checkmark/index.css +4 -4
  84. package/modern/components/base-option/Component.js +1 -1
  85. package/modern/components/base-option/index.css +13 -13
  86. package/modern/components/base-select/Component.js +2 -2
  87. package/modern/components/base-select/index.css +13 -12
  88. package/modern/components/base-select/mobile.css +12 -12
  89. package/modern/components/checkmark/Component.js +1 -1
  90. package/modern/components/checkmark/index.css +10 -10
  91. package/modern/components/checkmark-mobile/Component.js +1 -1
  92. package/modern/components/checkmark-mobile/index.css +6 -6
  93. package/modern/components/field/Component.js +1 -1
  94. package/modern/components/field/index.css +12 -12
  95. package/modern/components/footer/Component.js +1 -1
  96. package/modern/components/footer/index.css +5 -5
  97. package/modern/components/optgroup/Component.js +1 -1
  98. package/modern/components/optgroup/index.css +6 -6
  99. package/modern/components/option/Component.js +1 -1
  100. package/modern/components/option/index.css +19 -19
  101. package/modern/components/options-list/Component.js +1 -1
  102. package/modern/components/options-list/index.css +9 -9
  103. package/modern/components/search/Component.js +1 -1
  104. package/modern/components/search/index.css +2 -2
  105. package/modern/components/virtual-options-list/Component.js +1 -1
  106. package/modern/components/virtual-options-list/index.css +15 -15
  107. package/modern/index.js +1 -1
  108. package/modern/mobile/Component.mobile.js +1 -1
  109. package/modern/mobile/Component.modal.mobile.js +1 -1
  110. package/modern/mobile/index.js +1 -1
  111. package/modern/presets/index.js +1 -1
  112. package/modern/presets/useSelectWithApply/hook.js +1 -1
  113. package/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  114. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  115. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  116. package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  117. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  118. package/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  119. package/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  120. package/modern/presets/useSelectWithLoading/hook.js +1 -1
  121. package/modern/presets/useSelectWithLoading/index.css +2 -2
  122. package/modern/shared/index.js +1 -1
  123. package/package.json +12 -12
  124. package/presets/index.js +1 -1
  125. package/presets/useSelectWithApply/hook.js +1 -1
  126. package/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  127. package/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +1 -1
  128. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  129. package/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -1
  130. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +3 -3
  131. package/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  132. package/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  133. package/presets/useSelectWithLoading/hook.js +1 -1
  134. package/presets/useSelectWithLoading/index.css +2 -2
  135. package/shared/index.js +1 -1
  136. package/src/components/base-select/index.module.css +5 -2
  137. package/src/components/search/index.module.css +1 -1
  138. /package/esm/{hook-7ecc5c41.d.ts → hook-12a303ed.d.ts} +0 -0
  139. /package/esm/{hook-7ecc5c41.js → hook-12a303ed.js} +0 -0
  140. /package/{hook-cdcca4d1.d.ts → hook-cce82406.d.ts} +0 -0
  141. /package/{hook-cdcca4d1.js → hook-cce82406.js} +0 -0
  142. /package/modern/{hook-a54f97df.d.ts → hook-01d0cb2f.d.ts} +0 -0
  143. /package/modern/{hook-a54f97df.js → hook-01d0cb2f.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: 1r8dx */
1
+ /* hash: rukn7 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #2288fa;
@@ -42,22 +42,22 @@
42
42
  /* checkmark */
43
43
 
44
44
  /* optgroup */
45
- } .select__component_1w09h {
45
+ } .select__component_1k1pr {
46
46
  width: 100%;
47
47
  outline: none;
48
- } .select__field_1w09h:not(.select__disabled_1w09h) {
48
+ } .select__field_1k1pr:not(.select__disabled_1k1pr) {
49
49
  cursor: pointer
50
- } .select__field_1w09h:not(.select__disabled_1w09h):hover .select__arrow_1w09h {
50
+ } .select__field_1k1pr:not(.select__disabled_1k1pr):hover .select__arrow_1k1pr {
51
51
  opacity: var(--select-arrow-hover-opacity);
52
- } .select__disabled_1w09h {
52
+ } .select__disabled_1k1pr {
53
53
  cursor: var(--disabled-cursor);
54
- } .select__placeholder_1w09h {
54
+ } .select__placeholder_1k1pr {
55
55
  color: var(--input-placeholder-color);
56
56
  transition: color 0.2s ease;
57
- animation: select__show-placeholder_1w09h 0.2s ease
58
- } .select__placeholder_1w09h.select__focused_1w09h {
57
+ animation: select__show-placeholder_1k1pr 0.2s ease
58
+ } .select__placeholder_1k1pr.select__focused_1k1pr {
59
59
  color: var(--input-focus-placeholder-color);
60
- } .select__contentWrapper_1w09h {
60
+ } .select__contentWrapper_1k1pr {
61
61
  font-size: 16px;
62
62
  line-height: 20px;
63
63
  font-weight: 400;
@@ -66,14 +66,14 @@
66
66
  text-overflow: ellipsis;
67
67
  overflow: hidden;
68
68
  width: 100%;
69
- } .select__value_1w09h {
69
+ } .select__value_1k1pr {
70
70
  overflow: hidden;
71
71
  text-overflow: ellipsis;
72
72
  text-align: left;
73
- } .select__focusVisible_1w09h {
73
+ } .select__focusVisible_1k1pr {
74
74
  outline: 2px solid var(--focus-color);
75
75
  outline-offset: 2px;
76
- } @keyframes select__show-placeholder_1w09h {
76
+ } @keyframes select__show-placeholder_1k1pr {
77
77
  from {
78
78
  opacity: 0;
79
79
  }
@@ -4,7 +4,7 @@ import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
4
4
  import { ButtonMobile } from '@alfalab/core-components-button/esm/mobile';
5
5
  import { getDataTestId } from '@alfalab/core-components-shared/esm';
6
6
 
7
- var styles = {"footer":"select__footer_1hlss","button":"select__button_1hlss","highlighted":"select__highlighted_1hlss"};
7
+ var styles = {"footer":"select__footer_pi13x","button":"select__button_pi13x","highlighted":"select__highlighted_pi13x"};
8
8
  require('./index.css')
9
9
 
10
10
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1vhy4 */
1
+ /* hash: ulyu7 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-modal-bg-primary: #fff;
@@ -26,17 +26,17 @@
26
26
  /* checkmark */
27
27
 
28
28
  /* optgroup */
29
- } .select__footer_1hlss {
29
+ } .select__footer_pi13x {
30
30
  display: flex;
31
31
  box-sizing: border-box;
32
32
  width: 100%;
33
33
  padding: var(--gap-m) var(--gap-m);
34
34
  background-color: var(--color-light-modal-bg-primary)
35
- } .select__footer_1hlss .select__button_1hlss:first-of-type {
35
+ } .select__footer_pi13x .select__button_pi13x:first-of-type {
36
36
  margin-right: var(--gap-m);
37
- } .select__button_1hlss {
37
+ } .select__button_pi13x {
38
38
  width: 50%;
39
- } .select__highlighted_1hlss {
39
+ } .select__highlighted_pi13x {
40
40
  border-top: 1px solid var(--color-light-neutral-300);
41
41
  background-color: var(--color-light-modal-bg-primary);
42
42
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"optgroup":"select__optgroup_1fpsi","label":"select__label_1fpsi","l":"select__l_1fpsi","xl":"select__xl_1fpsi"};
4
+ var styles = {"optgroup":"select__optgroup_nm0u8","label":"select__label_nm0u8","l":"select__l_nm0u8","xl":"select__xl_nm0u8"};
5
5
  require('./index.css')
6
6
 
7
7
  var Optgroup = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1ekch */
1
+ /* hash: gf7pz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-modal-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_1fpsi {
38
+ } .select__optgroup_nm0u8 {
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_1fpsi + *[role='option']:before {
47
+ } .select__optgroup_nm0u8 + *[role='option']:before {
48
48
  display: none;
49
- } .select__label_1fpsi {
49
+ } .select__label_nm0u8 {
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_1fpsi,
59
- .select__xl_1fpsi {
58
+ } .select__l_nm0u8,
59
+ .select__xl_nm0u8 {
60
60
  padding-left: var(--select-optgroup-l-left-padding);
61
61
  padding-right: var(--select-optgroup-l-right-padding);
62
62
  }
@@ -8,7 +8,7 @@ import '@alfalab/core-components-checkbox/esm';
8
8
  import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
9
9
  import '@alfalab/icons-glyph/CheckmarkMIcon';
10
10
 
11
- var styles = {"option":"select__option_e3rf5","disabled":"select__disabled_e3rf5","s":"select__s_e3rf5","m":"select__m_e3rf5","l":"select__l_e3rf5","xl":"select__xl_e3rf5","selected":"select__selected_e3rf5","highlighted":"select__highlighted_e3rf5","content":"select__content_e3rf5","textContent":"select__textContent_e3rf5"};
11
+ var styles = {"option":"select__option_25z3c","disabled":"select__disabled_25z3c","s":"select__s_25z3c","m":"select__m_25z3c","l":"select__l_25z3c","xl":"select__xl_25z3c","selected":"select__selected_25z3c","highlighted":"select__highlighted_25z3c","content":"select__content_25z3c","textContent":"select__textContent_25z3c"};
12
12
  require('./index.css')
13
13
 
14
14
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1t6ur */
1
+ /* hash: 1asag */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #d5d6dc;
@@ -53,7 +53,7 @@
53
53
  /* checkmark */
54
54
 
55
55
  /* optgroup */
56
- } .select__option_e3rf5 {
56
+ } .select__option_25z3c {
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_e3rf5:not(.select__disabled_e3rf5):active {
71
+ } .select__option_25z3c:not(.select__disabled_25z3c):active {
72
72
  background: var(--select-option-active-background);
73
73
  color: var(--select-option-active-color);
74
- } .select__option_e3rf5:before {
74
+ } .select__option_25z3c:before {
75
75
  content: '';
76
76
  position: absolute;
77
77
  left: var(--select-option-left-padding);
@@ -81,42 +81,42 @@
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_e3rf5:first-child:before {
84
+ } .select__option_25z3c:first-child:before {
85
85
  display: none;
86
- } .select__s_e3rf5 {
86
+ } .select__s_25z3c {
87
87
  min-height: var(--size-s-height);
88
- } .select__m_e3rf5 {
88
+ } .select__m_25z3c {
89
89
  min-height: var(--size-m-height);
90
- } .select__l_e3rf5 {
90
+ } .select__l_25z3c {
91
91
  min-height: var(--size-l-height);
92
- } .select__xl_e3rf5 {
92
+ } .select__xl_25z3c {
93
93
  min-height: var(--size-xl-height);
94
- } .select__l_e3rf5,
95
- .select__xl_e3rf5 {
94
+ } .select__l_25z3c,
95
+ .select__xl_25z3c {
96
96
  padding-left: var(--select-option-l-left-padding);
97
97
  padding-right: var(--select-option-l-right-padding)
98
- } .select__l_e3rf5:before, .select__xl_e3rf5:before {
98
+ } .select__l_25z3c:before, .select__xl_25z3c:before {
99
99
  left: var(--select-option-l-left-padding);
100
100
  right: var(--select-option-l-right-padding);
101
- } .select__selected_e3rf5 {
101
+ } .select__selected_25z3c {
102
102
  background: var(--select-option-selected-background);
103
103
  color: var(--select-option-selected-color);
104
104
  cursor: default;
105
- } .select__highlighted_e3rf5 {
105
+ } .select__highlighted_25z3c {
106
106
  background: var(--select-option-hover-background);
107
107
  color: var(--select-option-hover-color)
108
- } .select__highlighted_e3rf5:before,
109
- .select__highlighted_e3rf5 + .select__option_e3rf5:before {
108
+ } .select__highlighted_25z3c:before,
109
+ .select__highlighted_25z3c + .select__option_25z3c:before {
110
110
  opacity: 0;
111
- } .select__disabled_e3rf5 {
111
+ } .select__disabled_25z3c {
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_e3rf5 {
115
+ } .select__content_25z3c {
116
116
  overflow: hidden;
117
117
  flex: 1;
118
118
  text-overflow: ellipsis;
119
- } .select__textContent_e3rf5 {
119
+ } .select__textContent_25z3c {
120
120
  padding-top: var(--gap-s);
121
121
  padding-bottom: var(--gap-s);
122
122
  }
@@ -9,7 +9,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
9
9
  import { useVisibleOptions, isGroup } from '../../utils.js';
10
10
  import { Optgroup } from '../optgroup/Component.js';
11
11
 
12
- var styles = {"optionsList":"select__optionsList_1hd26","optionsListHeader":"select__optionsListHeader_1hd26","optionsListFooter":"select__optionsListFooter_1hd26","withBorder":"select__withBorder_1hd26","scrollable":"select__scrollable_1hd26","emptyPlaceholder":"select__emptyPlaceholder_1hd26","l":"select__l_1hd26","xl":"select__xl_1hd26"};
12
+ var styles = {"optionsList":"select__optionsList_18t3d","optionsListHeader":"select__optionsListHeader_18t3d","optionsListFooter":"select__optionsListFooter_18t3d","withBorder":"select__withBorder_18t3d","scrollable":"select__scrollable_18t3d","emptyPlaceholder":"select__emptyPlaceholder_18t3d","l":"select__l_18t3d","xl":"select__xl_18t3d"};
13
13
  require('./index.css')
14
14
 
15
15
  var createCounter = function () {
@@ -1,4 +1,4 @@
1
- /* hash: 1wezb */
1
+ /* hash: vj00x */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb;
@@ -29,28 +29,28 @@
29
29
  /* checkmark */
30
30
 
31
31
  /* optgroup */
32
- } .select__optionsList_1hd26 {
32
+ } .select__optionsList_18t3d {
33
33
  width: 100%;
34
34
  outline: none;
35
35
  box-sizing: border-box;
36
36
  position: relative;
37
- } .select__optionsListHeader_1hd26 {
37
+ } .select__optionsListHeader_18t3d {
38
38
  box-sizing: border-box;
39
39
  border-bottom: 1px solid var(--color-light-neutral-300);
40
- } .select__optionsListFooter_1hd26 {
40
+ } .select__optionsListFooter_18t3d {
41
41
  position: sticky;
42
42
  bottom: 0;
43
43
  box-sizing: border-box;
44
44
  border-top: 1px solid transparent
45
- } .select__optionsListFooter_1hd26.select__withBorder_1hd26 {
45
+ } .select__optionsListFooter_18t3d.select__withBorder_18t3d {
46
46
  border-top: 1px solid var(--color-light-neutral-300);
47
- } .select__scrollable_1hd26 {
47
+ } .select__scrollable_18t3d {
48
48
  overflow: auto;
49
49
  width: 100%;
50
- } .select__emptyPlaceholder_1hd26 {
50
+ } .select__emptyPlaceholder_18t3d {
51
51
  padding: var(--gap-m) var(--gap-s);
52
52
  color: var(--select-options-list-empty-placeholder-color);
53
- } .select__l_1hd26 .select__emptyPlaceholder_1hd26,
54
- .select__xl_1hd26 .select__emptyPlaceholder_1hd26 {
53
+ } .select__l_18t3d .select__emptyPlaceholder_18t3d,
54
+ .select__xl_18t3d .select__emptyPlaceholder_18t3d {
55
55
  padding: var(--gap-xl) var(--gap-m);
56
56
  }
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { Input } from '@alfalab/core-components-input/esm';
5
5
  import { MagnifierMIcon } from '@alfalab/icons-glyph/MagnifierMIcon';
6
6
 
7
- var styles = {"component":"select__component_837c3"};
7
+ var styles = {"component":"select__component_ui173"};
8
8
  require('./index.css')
9
9
 
10
10
  var Search = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: jum13 */
1
+ /* hash: 1jhws */
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_837c3 {
26
+ } .select__component_ui173.select__component_ui173 {
27
27
  width: auto;
28
28
  }
@@ -10,7 +10,7 @@ import { DEFAULT_VISIBLE_OPTIONS } from '../../consts.js';
10
10
  import { usePrevious, lastIndexOf, useVisibleOptions, isGroup } from '../../utils.js';
11
11
  import { Optgroup } from '../optgroup/Component.js';
12
12
 
13
- var 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
+ var styles = {"virtualOptionsList":"select__virtualOptionsList_1c4rc","virtualOptionsListHeader":"select__virtualOptionsListHeader_1c4rc","virtualOptionsListFooter":"select__virtualOptionsListFooter_1c4rc","withBorder":"select__withBorder_1c4rc","scrollable":"select__scrollable_1c4rc","inner":"select__inner_1c4rc","virtualRow":"select__virtualRow_1c4rc","highlighted":"select__highlighted_1c4rc","emptyPlaceholder":"select__emptyPlaceholder_1c4rc","l":"select__l_1c4rc","xl":"select__xl_1c4rc"};
14
14
  require('./index.css')
15
15
 
16
16
  var VirtualOptionsList = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: uz7le */
1
+ /* hash: 1huvt */
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_1o3b1 {
38
+ } .select__virtualOptionsList_1c4rc {
39
39
  width: 100%;
40
40
  outline: none;
41
41
  box-sizing: border-box;
42
42
  position: sticky;
43
- } .select__virtualOptionsListHeader_1o3b1 {
43
+ } .select__virtualOptionsListHeader_1c4rc {
44
44
  box-sizing: border-box;
45
45
  border-bottom: 1px solid var(--color-light-neutral-300);
46
- } .select__virtualOptionsListFooter_1o3b1 {
46
+ } .select__virtualOptionsListFooter_1c4rc {
47
47
  position: sticky;
48
48
  bottom: 0;
49
49
  box-sizing: border-box;
50
50
  border-top: 1px solid transparent
51
- } .select__virtualOptionsListFooter_1o3b1.select__withBorder_1o3b1 {
51
+ } .select__virtualOptionsListFooter_1c4rc.select__withBorder_1c4rc {
52
52
  border-top: 1px solid var(--color-light-neutral-300);
53
- } .select__scrollable_1o3b1 {
53
+ } .select__scrollable_1c4rc {
54
54
  position: relative;
55
55
  overflow: auto;
56
56
  width: 100%;
57
- } .select__inner_1o3b1 {
57
+ } .select__inner_1c4rc {
58
58
  position: relative;
59
59
  width: 100%;
60
- } .select__virtualRow_1o3b1 {
60
+ } .select__virtualRow_1c4rc {
61
61
  position: absolute;
62
62
  top: 0;
63
63
  left: 0;
64
64
  width: 100%
65
- } .select__virtualRow_1o3b1:before {
65
+ } .select__virtualRow_1c4rc: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_1o3b1:first-child:before {
75
+ } .select__virtualRow_1c4rc:first-child:before {
76
76
  display: none;
77
- } .select__highlighted_1o3b1:before,
78
- .select__highlighted_1o3b1 + .select__virtualRow_1o3b1:before {
77
+ } .select__highlighted_1c4rc:before,
78
+ .select__highlighted_1c4rc + .select__virtualRow_1c4rc:before {
79
79
  display: none;
80
- } .select__emptyPlaceholder_1o3b1 {
80
+ } .select__emptyPlaceholder_1c4rc {
81
81
  padding: var(--gap-m) var(--gap-s);
82
82
  color: var(--select-options-list-empty-placeholder-color);
83
- } .select__l_1o3b1 .select__emptyPlaceholder_1o3b1,
84
- .select__xl_1o3b1 .select__emptyPlaceholder_1o3b1 {
83
+ } .select__l_1c4rc .select__emptyPlaceholder_1c4rc,
84
+ .select__xl_1c4rc .select__emptyPlaceholder_1c4rc {
85
85
  padding: var(--gap-xl) var(--gap-m);
86
86
  }
package/esm/index.js CHANGED
@@ -41,7 +41,7 @@ import '@alfalab/core-components-base-modal/esm';
41
41
  import '@alfalab/core-components-button/esm/mobile';
42
42
  import './components/virtual-options-list/Component.js';
43
43
  import 'react-virtual';
44
- import './hook-7ecc5c41.js';
44
+ import './hook-12a303ed.js';
45
45
  import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
46
46
  import '@alfalab/core-components-button/esm/desktop';
47
47
  import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
@@ -12,7 +12,7 @@ import { Option } from '../components/option/Component.js';
12
12
  import { OptionsList } from '../components/options-list/Component.js';
13
13
  import { Search } from '../components/search/Component.js';
14
14
  import { VirtualOptionsList } from '../components/virtual-options-list/Component.js';
15
- import { u as useSelectWithApply } from '../hook-7ecc5c41.js';
15
+ import { u as useSelectWithApply } from '../hook-12a303ed.js';
16
16
  import { Header } from '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
17
17
  import 'classnames';
18
18
  import '@alfalab/icons-glyph/ChevronDownMIcon';
@@ -37,7 +37,7 @@ import '@alfalab/core-components-input/esm';
37
37
  import '@alfalab/icons-glyph/MagnifierMIcon';
38
38
  import '../components/virtual-options-list/Component.js';
39
39
  import 'react-virtual';
40
- import '../hook-7ecc5c41.js';
40
+ import '../hook-12a303ed.js';
41
41
  import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
42
42
  import '@alfalab/core-components-button/esm/desktop';
43
43
  import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
@@ -38,7 +38,7 @@ import '@alfalab/core-components-input/esm';
38
38
  import '@alfalab/icons-glyph/MagnifierMIcon';
39
39
  import '../components/virtual-options-list/Component.js';
40
40
  import 'react-virtual';
41
- import '../hook-7ecc5c41.js';
41
+ import '../hook-12a303ed.js';
42
42
  import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
43
43
  import '@alfalab/core-components-button/esm/desktop';
44
44
  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-7ecc5c41.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-12a303ed.js';
4
4
  import 'tslib';
5
5
  import 'react';
6
6
  import '@alfalab/core-components-skeleton/esm';
@@ -1,7 +1,7 @@
1
1
  import 'tslib';
2
2
  import 'react';
3
3
  import '../../utils.js';
4
- export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-7ecc5c41.js';
4
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-12a303ed.js';
5
5
  import '../../components/options-list/Component.js';
6
6
  import 'react-merge-refs';
7
7
  import 'classnames';
@@ -2,7 +2,7 @@ import 'tslib';
2
2
  import 'react';
3
3
  import '../../../components/options-list/Component.js';
4
4
  import '../../../consts.js';
5
- export { O as OptionsListWithApply } from '../../../hook-7ecc5c41.js';
5
+ export { O as OptionsListWithApply } from '../../../hook-12a303ed.js';
6
6
  import './footer/Component.js';
7
7
  import './header/Component.js';
8
8
  import 'react-merge-refs';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ButtonDesktop } from '@alfalab/core-components-button/esm/desktop';
3
3
 
4
- var styles = {"footer":"select__footer_i6wy8"};
4
+ var styles = {"footer":"select__footer_68d8j"};
5
5
  require('./index.css')
6
6
 
7
7
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1o3xj */
1
+ /* hash: byhq6 */
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_i6wy8 {
20
+ } .select__footer_68d8j {
21
21
  background-color: var(--color-light-bg-primary);
22
22
  padding: var(--gap-s);
23
23
  outline: none
24
- } .select__footer_i6wy8 > * + * {
24
+ } .select__footer_68d8j > * + * {
25
25
  margin-left: var(--gap-xs);
26
26
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Checkbox } from '@alfalab/core-components-checkbox/esm';
4
4
 
5
- var styles = {"desktop":"select__desktop_1hv45","mobile":"select__mobile_1hv45"};
5
+ var styles = {"desktop":"select__desktop_vgaa1","mobile":"select__mobile_vgaa1"};
6
6
  require('./index.css')
7
7
 
8
8
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1rmsw */
1
+ /* hash: 1agx4 */
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_1hv45 {
19
+ } .select__desktop_vgaa1 {
20
20
  padding: var(--gap-s);
21
- } .select__mobile_1hv45 {
21
+ } .select__mobile_vgaa1 {
22
22
  padding: var(--gap-s) var(--gap-xs);
23
23
  }
@@ -1 +1 @@
1
- export * from "../../../hook-7ecc5c41";
1
+ export * from "../../../hook-12a303ed";
@@ -1,4 +1,4 @@
1
- export { O as OptionsListWithApply } from '../../../hook-7ecc5c41.js';
1
+ export { O as OptionsListWithApply } from '../../../hook-12a303ed.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '../../../utils.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_3e381"};
13
+ var styles = {"skeleton":"select__skeleton_1abfl"};
14
14
  require('./index.css')
15
15
 
16
16
  function useSelectWithLoading(_a) {
@@ -1,5 +1,5 @@
1
- /* hash: ha8kl */
2
- .select__skeleton_3e381 {
1
+ /* hash: 1ffdc */
2
+ .select__skeleton_1abfl {
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-7ecc5c41.js';
3
+ export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-12a303ed.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/index.js CHANGED
@@ -45,7 +45,7 @@ require('@alfalab/core-components-base-modal');
45
45
  require('@alfalab/core-components-button/mobile');
46
46
  require('./components/virtual-options-list/Component.js');
47
47
  require('react-virtual');
48
- require('./hook-cdcca4d1.js');
48
+ require('./hook-cce82406.js');
49
49
  require('./presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
50
50
  require('@alfalab/core-components-button/desktop');
51
51
  require('./presets/useSelectWithApply/options-list-with-apply/header/Component.js');
@@ -16,7 +16,7 @@ var components_option_Component = require('../components/option/Component.js');
16
16
  var components_optionsList_Component = require('../components/options-list/Component.js');
17
17
  var components_search_Component = require('../components/search/Component.js');
18
18
  var components_virtualOptionsList_Component = require('../components/virtual-options-list/Component.js');
19
- var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-cdcca4d1.js');
19
+ var presets_useSelectWithApply_optionsListWithApply_Component = require('../hook-cce82406.js');
20
20
  var presets_useSelectWithApply_optionsListWithApply_header_Component = require('../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
21
21
  require('classnames');
22
22
  require('@alfalab/icons-glyph/ChevronDownMIcon');
@@ -41,7 +41,7 @@ require('@alfalab/core-components-input');
41
41
  require('@alfalab/icons-glyph/MagnifierMIcon');
42
42
  require('../components/virtual-options-list/Component.js');
43
43
  require('react-virtual');
44
- require('../hook-cdcca4d1.js');
44
+ require('../hook-cce82406.js');
45
45
  require('../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
46
46
  require('@alfalab/core-components-button/desktop');
47
47
  require('../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
package/mobile/index.js CHANGED
@@ -42,7 +42,7 @@ require('@alfalab/core-components-input');
42
42
  require('@alfalab/icons-glyph/MagnifierMIcon');
43
43
  require('../components/virtual-options-list/Component.js');
44
44
  require('react-virtual');
45
- require('../hook-cdcca4d1.js');
45
+ require('../hook-cce82406.js');
46
46
  require('../presets/useSelectWithApply/options-list-with-apply/footer/Component.js');
47
47
  require('@alfalab/core-components-button/desktop');
48
48
  require('../presets/useSelectWithApply/options-list-with-apply/header/Component.js');
@@ -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-a54f97df.js';
43
+ import './hook-01d0cb2f.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';