@alfalab/core-components 46.1.0-beta.0 → 46.1.0

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 (290) hide show
  1. package/confirmation/components/screens/initial/component.js +1 -1
  2. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  3. package/confirmation/esm/component.responsive.js +1 -1
  4. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  5. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  6. package/confirmation/esm/components/index.js +1 -1
  7. package/confirmation/esm/components/screens/index.js +1 -1
  8. package/confirmation/esm/components/screens/initial/component.js +1 -1
  9. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  10. package/confirmation/esm/components/screens/initial/index.js +1 -1
  11. package/confirmation/esm/desktop/component.desktop.js +1 -1
  12. package/confirmation/esm/desktop/index.js +1 -1
  13. package/confirmation/esm/index.js +1 -1
  14. package/confirmation/esm/mobile/component.mobile.js +1 -1
  15. package/confirmation/esm/mobile/index.js +1 -1
  16. package/confirmation/esm/shared/index.js +1 -1
  17. package/confirmation/modern/component.responsive.js +1 -1
  18. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  19. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  20. package/confirmation/modern/components/index.js +1 -1
  21. package/confirmation/modern/components/screens/index.js +1 -1
  22. package/confirmation/modern/components/screens/initial/component.js +1 -1
  23. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  24. package/confirmation/modern/components/screens/initial/index.js +1 -1
  25. package/confirmation/modern/desktop/component.desktop.js +1 -1
  26. package/confirmation/modern/desktop/index.js +1 -1
  27. package/confirmation/modern/index.js +1 -1
  28. package/confirmation/modern/mobile/component.mobile.js +1 -1
  29. package/confirmation/modern/mobile/index.js +1 -1
  30. package/confirmation/modern/shared/index.js +1 -1
  31. package/international-phone-input/{Component-3bf42d5b.d.ts → Component-1fe708ea.d.ts} +1 -1
  32. package/international-phone-input/Component.responsive.d.ts +4 -4
  33. package/international-phone-input/components/base-international-phone-input/Component.d.ts +1 -1
  34. package/international-phone-input/cssm/{Component-3bf42d5b.d.ts → Component-1fe708ea.d.ts} +1 -1
  35. package/international-phone-input/cssm/Component.responsive.d.ts +4 -4
  36. package/international-phone-input/cssm/components/base-international-phone-input/Component.d.ts +1 -1
  37. package/international-phone-input/cssm/types.d.ts +1 -1
  38. package/international-phone-input/cssm/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  39. package/international-phone-input/cssm/utils-89376c31.d.ts +1 -1
  40. package/international-phone-input/esm/{Component-3bf42d5b.d.ts → Component-1fe708ea.d.ts} +1 -1
  41. package/international-phone-input/esm/Component.responsive.d.ts +4 -4
  42. package/international-phone-input/esm/components/base-international-phone-input/Component.d.ts +1 -1
  43. package/international-phone-input/esm/types.d.ts +1 -1
  44. package/international-phone-input/esm/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  45. package/international-phone-input/esm/utils-89376c31.d.ts +1 -1
  46. package/international-phone-input/modern/{Component-3bf42d5b.d.ts → Component-1fe708ea.d.ts} +1 -1
  47. package/international-phone-input/modern/Component.responsive.d.ts +4 -4
  48. package/international-phone-input/modern/components/base-international-phone-input/Component.d.ts +1 -1
  49. package/international-phone-input/modern/types.d.ts +1 -1
  50. package/international-phone-input/modern/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  51. package/international-phone-input/modern/utils-89376c31.d.ts +1 -1
  52. package/international-phone-input/types.d.ts +1 -1
  53. package/international-phone-input/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  54. package/international-phone-input/utils-89376c31.d.ts +1 -1
  55. package/modal/components/controls/Component.js +1 -1
  56. package/modal/components/footer/Component.js +1 -1
  57. package/modal/esm/Component.responsive.js +1 -1
  58. package/modal/esm/components/controls/Component.js +1 -1
  59. package/modal/esm/components/controls/index.js +1 -1
  60. package/modal/esm/components/footer/Component.js +1 -1
  61. package/modal/esm/desktop/Component.desktop.js +1 -1
  62. package/modal/esm/desktop/index.js +1 -1
  63. package/modal/esm/index.js +1 -1
  64. package/modal/esm/mobile/Component.mobile.js +1 -1
  65. package/modal/esm/mobile/index.js +1 -1
  66. package/modal/modern/Component.responsive.js +1 -1
  67. package/modal/modern/components/controls/Component.js +1 -1
  68. package/modal/modern/components/controls/index.js +1 -1
  69. package/modal/modern/components/footer/Component.js +1 -1
  70. package/modal/modern/desktop/Component.desktop.js +1 -1
  71. package/modal/modern/desktop/index.js +1 -1
  72. package/modal/modern/index.js +1 -1
  73. package/modal/modern/mobile/Component.mobile.js +1 -1
  74. package/modal/modern/mobile/index.js +1 -1
  75. package/package.json +1 -1
  76. package/picker-button/Component-1fe708ea.d.ts +5 -0
  77. package/picker-button/cssm/Component-1fe708ea.d.ts +5 -0
  78. package/picker-button/cssm/field/Component.d.ts +1 -1
  79. package/picker-button/cssm/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  80. package/picker-button/cssm/utils-89376c31.d.ts +1 -1
  81. package/picker-button/esm/Component-1fe708ea.d.ts +5 -0
  82. package/picker-button/esm/field/Component.d.ts +1 -1
  83. package/picker-button/esm/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  84. package/picker-button/esm/utils-89376c31.d.ts +1 -1
  85. package/picker-button/field/Component.d.ts +1 -1
  86. package/picker-button/modern/Component-1fe708ea.d.ts +5 -0
  87. package/picker-button/modern/field/Component.d.ts +1 -1
  88. package/picker-button/modern/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  89. package/picker-button/modern/utils-89376c31.d.ts +1 -1
  90. package/picker-button/{typings-3bf42d5b.d.ts → typings-1fe708ea.d.ts} +0 -20
  91. package/picker-button/utils-89376c31.d.ts +1 -1
  92. package/select/components/base-select/Component.js +1 -1
  93. package/select/components/options-list/Component.js +2 -11
  94. package/select/components/virtual-options-list/Component.js +3 -15
  95. package/select/cssm/components/base-select/Component.js +1 -1
  96. package/select/cssm/components/options-list/Component.js +2 -11
  97. package/select/cssm/components/virtual-options-list/Component.js +3 -15
  98. package/select/cssm/{hook-e079d36e.d.ts → hook-aae7b381.d.ts} +0 -1
  99. package/select/cssm/{hook-e079d36e.js → hook-aae7b381.js} +3 -6
  100. package/select/cssm/{hook-e97e6ebb.d.ts → hook-d4f77aed.d.ts} +0 -2
  101. package/select/cssm/mobile/Component.mobile.js +1 -1
  102. package/select/cssm/presets/index.d.ts +1 -1
  103. package/select/cssm/presets/index.js +1 -1
  104. package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
  105. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  106. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  107. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  108. package/select/cssm/shared/index.js +1 -1
  109. package/select/cssm/typings.d.ts +1 -21
  110. package/select/esm/Component.responsive.js +1 -1
  111. package/select/esm/components/base-select/Component.js +1 -1
  112. package/select/esm/components/options-list/Component.js +2 -11
  113. package/select/esm/components/virtual-options-list/Component.js +3 -15
  114. package/select/esm/{hook-25460541.d.ts → hook-4b5056da.d.ts} +0 -1
  115. package/select/esm/{hook-25460541.js → hook-4b5056da.js} +3 -6
  116. package/select/{hook-e97e6ebb.d.ts → esm/hook-d4f77aed.d.ts} +0 -2
  117. package/select/esm/index.js +1 -1
  118. package/select/esm/mobile/Component.mobile.js +1 -1
  119. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  120. package/select/esm/mobile/index.js +1 -1
  121. package/select/esm/presets/index.d.ts +1 -1
  122. package/select/esm/presets/index.js +1 -1
  123. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  124. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  125. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  126. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  127. package/select/esm/shared/index.js +1 -1
  128. package/select/esm/typings.d.ts +1 -21
  129. package/select/{modern/hook-e97e6ebb.d.ts → hook-d4f77aed.d.ts} +0 -2
  130. package/select/{hook-a65146fb.d.ts → hook-e36ef109.d.ts} +0 -1
  131. package/select/{hook-a65146fb.js → hook-e36ef109.js} +3 -6
  132. package/select/mobile/Component.mobile.js +1 -1
  133. package/select/modern/Component.responsive.js +1 -1
  134. package/select/modern/components/base-select/Component.js +1 -1
  135. package/select/modern/components/options-list/Component.js +2 -8
  136. package/select/modern/components/virtual-options-list/Component.js +3 -12
  137. package/select/modern/{hook-6a49b1bd.d.ts → hook-2747b02b.d.ts} +0 -1
  138. package/select/modern/{hook-6a49b1bd.js → hook-2747b02b.js} +2 -6
  139. package/select/{esm/hook-e97e6ebb.d.ts → modern/hook-d4f77aed.d.ts} +0 -2
  140. package/select/modern/index.js +1 -1
  141. package/select/modern/mobile/Component.mobile.js +1 -1
  142. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  143. package/select/modern/mobile/index.js +1 -1
  144. package/select/modern/presets/index.d.ts +1 -1
  145. package/select/modern/presets/index.js +1 -1
  146. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  147. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  148. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  149. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  150. package/select/modern/shared/index.js +1 -1
  151. package/select/modern/typings.d.ts +1 -21
  152. package/select/presets/index.d.ts +1 -1
  153. package/select/presets/index.js +1 -1
  154. package/select/presets/useSelectWithApply/hook.js +1 -1
  155. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  156. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  157. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  158. package/select/shared/index.js +1 -1
  159. package/select/typings.d.ts +1 -21
  160. package/side-panel/components/controls/Component.js +1 -1
  161. package/side-panel/components/footer/Component.js +1 -1
  162. package/side-panel/esm/Component.responsive.js +1 -1
  163. package/side-panel/esm/components/controls/Component.js +1 -1
  164. package/side-panel/esm/components/controls/index.js +1 -1
  165. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  166. package/side-panel/esm/components/footer/Component.js +1 -1
  167. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  168. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  169. package/side-panel/esm/desktop/index.js +1 -1
  170. package/side-panel/esm/index.js +1 -1
  171. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  172. package/side-panel/esm/mobile/index.js +1 -1
  173. package/side-panel/modern/Component.responsive.js +1 -1
  174. package/side-panel/modern/components/controls/Component.js +1 -1
  175. package/side-panel/modern/components/controls/index.js +1 -1
  176. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  177. package/side-panel/modern/components/footer/Component.js +1 -1
  178. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  179. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  180. package/side-panel/modern/desktop/index.js +1 -1
  181. package/side-panel/modern/index.js +1 -1
  182. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  183. package/side-panel/modern/mobile/index.js +1 -1
  184. package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
  185. package/tabs/components/primary-tablist/Component.desktop.js +1 -1
  186. package/tabs/components/primary-tablist/Component.mobile.js +1 -1
  187. package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
  188. package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
  189. package/tabs/esm/collapsible/index.js +1 -1
  190. package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
  191. package/tabs/esm/components/primary-tablist/Component.desktop.js +1 -1
  192. package/tabs/esm/components/primary-tablist/Component.mobile.js +1 -1
  193. package/tabs/esm/components/primary-tablist/Component.responsive.js +1 -1
  194. package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
  195. package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
  196. package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
  197. package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
  198. package/tabs/esm/components/tabs/Component.desktop.js +2 -2
  199. package/tabs/esm/components/tabs/Component.mobile.js +2 -2
  200. package/tabs/esm/components/tabs/Component.responsive.js +2 -2
  201. package/tabs/esm/desktop/index.js +2 -2
  202. package/tabs/esm/index.js +2 -2
  203. package/tabs/esm/mobile/index.js +2 -2
  204. package/tabs/modern/collapsible/index.js +1 -1
  205. package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
  206. package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
  207. package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
  208. package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
  209. package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
  210. package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
  211. package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
  212. package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
  213. package/tabs/modern/components/tabs/Component.desktop.js +2 -2
  214. package/tabs/modern/components/tabs/Component.mobile.js +2 -2
  215. package/tabs/modern/components/tabs/Component.responsive.js +2 -2
  216. package/tabs/modern/desktop/index.js +2 -2
  217. package/tabs/modern/index.js +2 -2
  218. package/tabs/modern/mobile/index.js +2 -2
  219. package/textarea/Component.js +1 -1
  220. package/textarea/components/PseudoTextArea.js +1 -1
  221. package/textarea/components/index.d.ts +1 -1
  222. package/textarea/components/index.js +1 -1
  223. package/textarea/esm/Component.js +1 -1
  224. package/textarea/esm/components/PseudoTextArea.js +1 -1
  225. package/textarea/esm/components/index.d.ts +1 -1
  226. package/textarea/esm/components/index.js +1 -1
  227. package/textarea/esm/index.js +1 -1
  228. package/textarea/modern/Component.js +1 -1
  229. package/textarea/modern/components/PseudoTextArea.js +1 -1
  230. package/textarea/modern/components/index.d.ts +1 -1
  231. package/textarea/modern/components/index.js +1 -1
  232. package/textarea/modern/index.js +1 -1
  233. package/themes/compiled/mobile-dark-bluetint.css +38 -38
  234. package/toast-plate/components/base-toast-plate/component.js +1 -1
  235. package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  236. package/toast-plate/esm/Component.responsive.js +1 -1
  237. package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
  238. package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
  239. package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  240. package/toast-plate/esm/desktop/Component.desktop.js +1 -1
  241. package/toast-plate/esm/desktop/index.js +1 -1
  242. package/toast-plate/esm/index-307da6d7.d.ts +1 -1
  243. package/toast-plate/esm/index.js +1 -1
  244. package/toast-plate/esm/mobile/Component.mobile.js +1 -1
  245. package/toast-plate/esm/mobile/index.js +1 -1
  246. package/toast-plate/index-307da6d7.d.ts +1 -1
  247. package/toast-plate/modern/Component.responsive.js +1 -1
  248. package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
  249. package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
  250. package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  251. package/toast-plate/modern/desktop/Component.desktop.js +1 -1
  252. package/toast-plate/modern/desktop/index.js +1 -1
  253. package/toast-plate/modern/index-307da6d7.d.ts +1 -1
  254. package/toast-plate/modern/index.js +1 -1
  255. package/toast-plate/modern/mobile/Component.mobile.js +1 -1
  256. package/toast-plate/modern/mobile/index.js +1 -1
  257. package/picker-button/Component-3bf42d5b.d.ts +0 -5
  258. package/picker-button/cssm/Component-3bf42d5b.d.ts +0 -5
  259. package/picker-button/esm/Component-3bf42d5b.d.ts +0 -5
  260. package/picker-button/modern/Component-3bf42d5b.d.ts +0 -5
  261. /package/confirmation/{countdown-section-4af035ec.d.ts → countdown-section-7962be6f.d.ts} +0 -0
  262. /package/confirmation/{countdown-section-4af035ec.js → countdown-section-7962be6f.js} +0 -0
  263. /package/confirmation/esm/{countdown-section-5d2b06f3.d.ts → countdown-section-8aee6c83.d.ts} +0 -0
  264. /package/confirmation/esm/{countdown-section-5d2b06f3.js → countdown-section-8aee6c83.js} +0 -0
  265. /package/confirmation/modern/{countdown-section-c95617f5.d.ts → countdown-section-289469ab.d.ts} +0 -0
  266. /package/confirmation/modern/{countdown-section-c95617f5.js → countdown-section-289469ab.js} +0 -0
  267. /package/modal/esm/{layout.module-c9a0297c.js → layout.module-8c2ad581.js} +0 -0
  268. /package/modal/{layout.module-c1cd980a.js → layout.module-9c7f42a7.js} +0 -0
  269. /package/modal/modern/{layout.module-a5c6e8e4.js → layout.module-7b9f84d6.js} +0 -0
  270. /package/side-panel/esm/{layout.module-534c455a.js → layout.module-72cc1a7a.js} +0 -0
  271. /package/side-panel/{layout.module-4d28e3c9.js → layout.module-cfb65ab1.js} +0 -0
  272. /package/side-panel/modern/{layout.module-e0dbd825.js → layout.module-3503b091.js} +0 -0
  273. /package/tabs/esm/{index.module-ba7b2cb2.js → index.module-0479b8df.js} +0 -0
  274. /package/tabs/esm/{index.module-5a0e55b4.js → index.module-8bfeca4d.js} +0 -0
  275. /package/tabs/{index.module-cbc6d7c7.js → index.module-9020d7b5.js} +0 -0
  276. /package/tabs/{index.module-d6f111ab.js → index.module-e9bc9a5f.js} +0 -0
  277. /package/tabs/modern/{index.module-a08c8cf9.js → index.module-087edae9.js} +0 -0
  278. /package/tabs/modern/{index.module-ff97782f.js → index.module-f6f9b889.js} +0 -0
  279. /package/textarea/{PseudoTextArea-6644730b.d.ts → PseudoTextArea-8f7db792.d.ts} +0 -0
  280. /package/textarea/{PseudoTextArea-6644730b.js → PseudoTextArea-8f7db792.js} +0 -0
  281. /package/textarea/esm/{PseudoTextArea-8b632b20.d.ts → PseudoTextArea-0b11bb3d.d.ts} +0 -0
  282. /package/textarea/esm/{PseudoTextArea-8b632b20.js → PseudoTextArea-0b11bb3d.js} +0 -0
  283. /package/textarea/modern/{PseudoTextArea-e91a70e8.d.ts → PseudoTextArea-f5cf6868.d.ts} +0 -0
  284. /package/textarea/modern/{PseudoTextArea-e91a70e8.js → PseudoTextArea-f5cf6868.js} +0 -0
  285. /package/toast-plate/esm/{getDataTestId-32d52205.d.ts → getDataTestId-185adec6.d.ts} +0 -0
  286. /package/toast-plate/esm/{getDataTestId-32d52205.js → getDataTestId-185adec6.js} +0 -0
  287. /package/toast-plate/{getDataTestId-1de39d74.d.ts → getDataTestId-3138baed.d.ts} +0 -0
  288. /package/toast-plate/{getDataTestId-1de39d74.js → getDataTestId-3138baed.js} +0 -0
  289. /package/toast-plate/modern/{getDataTestId-dd00ab19.d.ts → getDataTestId-3a028081.d.ts} +0 -0
  290. /package/toast-plate/modern/{getDataTestId-dd00ab19.js → getDataTestId-3a028081.js} +0 -0
@@ -5,7 +5,7 @@ import { InputMobileProps } from "../../input/mobile";
5
5
  import { InputAutocompleteProps } from "../../input-autocomplete";
6
6
  import { InputAutocompleteDesktopProps } from "../../input-autocomplete/desktop";
7
7
  import { InputAutocompleteMobileProps } from "../../input-autocomplete/mobile";
8
- import { OptionShape } from "./typings-3bf42d5b";
8
+ import { OptionShape } from "./typings-1fe708ea";
9
9
  import { SharedCountrySelectProps } from "./components/country-select/index";
10
10
  type Country = {
11
11
  name: string;
@@ -1425,10 +1425,6 @@ type OptionsListProps = {
1425
1425
  * Указать индекс пункта для hover состояния
1426
1426
  */
1427
1427
  setHighlightedIndex?: (index: number) => void;
1428
- /**
1429
- * Значение поиска
1430
- */
1431
- search?: string;
1432
1428
  };
1433
1429
  type OptgroupProps = {
1434
1430
  /**
@@ -1448,22 +1444,6 @@ type OptgroupProps = {
1448
1444
  * Дочерние элементы
1449
1445
  */
1450
1446
  children?: ReactNode;
1451
- /**
1452
- * Список вариантов выбора в группе
1453
- */
1454
- options?: OptionShape[];
1455
- /**
1456
- * Список выбранных вариантов в группе
1457
- */
1458
- selectedItems?: OptionShape[];
1459
- /**
1460
- * Обработчик выбранных вариантов
1461
- */
1462
- setSelectedItems?: (items: OptionShape[]) => void;
1463
- /**
1464
- * Значение поиска
1465
- */
1466
- search?: string;
1467
1447
  };
1468
1448
  type OptionProps = {
1469
1449
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-3bf42d5b";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-1fe708ea";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -5,7 +5,7 @@ import { InputMobileProps } from "../input/mobile";
5
5
  import { InputAutocompleteProps } from "../input-autocomplete";
6
6
  import { InputAutocompleteDesktopProps } from "../input-autocomplete/desktop";
7
7
  import { InputAutocompleteMobileProps } from "../input-autocomplete/mobile";
8
- import { OptionShape } from "./typings-3bf42d5b";
8
+ import { OptionShape } from "./typings-1fe708ea";
9
9
  import { SharedCountrySelectProps } from "./components/country-select/index";
10
10
  type Country = {
11
11
  name: string;
@@ -1425,10 +1425,6 @@ type OptionsListProps = {
1425
1425
  * Указать индекс пункта для hover состояния
1426
1426
  */
1427
1427
  setHighlightedIndex?: (index: number) => void;
1428
- /**
1429
- * Значение поиска
1430
- */
1431
- search?: string;
1432
1428
  };
1433
1429
  type OptgroupProps = {
1434
1430
  /**
@@ -1448,22 +1444,6 @@ type OptgroupProps = {
1448
1444
  * Дочерние элементы
1449
1445
  */
1450
1446
  children?: ReactNode;
1451
- /**
1452
- * Список вариантов выбора в группе
1453
- */
1454
- options?: OptionShape[];
1455
- /**
1456
- * Список выбранных вариантов в группе
1457
- */
1458
- selectedItems?: OptionShape[];
1459
- /**
1460
- * Обработчик выбранных вариантов
1461
- */
1462
- setSelectedItems?: (items: OptionShape[]) => void;
1463
- /**
1464
- * Значение поиска
1465
- */
1466
- search?: string;
1467
1447
  };
1468
1448
  type OptionProps = {
1469
1449
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-3bf42d5b";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-1fe708ea";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -4,7 +4,7 @@ var React = require('react');
4
4
  var cn = require('classnames');
5
5
  var coreComponentsShared = require('../../../shared');
6
6
  var ResponsiveContext = require('../../ResponsiveContext.js');
7
- var layout_module = require('../../layout.module-c1cd980a.js');
7
+ var layout_module = require('../../layout.module-9c7f42a7.js');
8
8
 
9
9
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
10
 
@@ -6,7 +6,7 @@ var coreComponentsShared = require('../../../shared');
6
6
  var consts = require('../../consts.js');
7
7
  var Context = require('../../Context.js');
8
8
  var ResponsiveContext = require('../../ResponsiveContext.js');
9
- var layout_module = require('../../layout.module-c1cd980a.js');
9
+ var layout_module = require('../../layout.module-9c7f42a7.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -12,7 +12,7 @@ import './consts.js';
12
12
  import './Context.js';
13
13
  import '../../base-modal/esm';
14
14
  import './ResponsiveContext.js';
15
- import './layout.module-c9a0297c.js';
15
+ import './layout.module-8c2ad581.js';
16
16
  import '../../navigation-bar-private/esm';
17
17
  import 'react-merge-refs';
18
18
 
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/esm';
4
4
  import { ResponsiveContext } from '../../ResponsiveContext.js';
5
- import { l as layoutStyles } from '../../layout.module-c9a0297c.js';
5
+ import { l as layoutStyles } from '../../layout.module-8c2ad581.js';
6
6
 
7
7
  var styles = {"component":"modal__component_6629a"};
8
8
  require('./index.css');
@@ -3,4 +3,4 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../../../../shared/esm';
5
5
  import '../../ResponsiveContext.js';
6
- import '../../layout.module-c9a0297c.js';
6
+ import '../../layout.module-8c2ad581.js';
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/esm';
4
4
  import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
5
5
  import { ModalContext } from '../../Context.js';
6
6
  import { ResponsiveContext } from '../../ResponsiveContext.js';
7
- import { l as layoutStyles } from '../../layout.module-c9a0297c.js';
7
+ import { l as layoutStyles } from '../../layout.module-8c2ad581.js';
8
8
  import '../../../../base-modal/esm';
9
9
 
10
10
  var desktopStyles = {"footer":"modal__footer_e5vdf","sticky":"modal__sticky_e5vdf","fullscreen":"modal__fullscreen_e5vdf","size-500":"modal__size-500_e5vdf","size-600":"modal__size-600_e5vdf","size-800":"modal__size-800_e5vdf","size-1140":"modal__size-1140_e5vdf"};
@@ -12,7 +12,7 @@ import '../consts.js';
12
12
  import '../ResponsiveContext.js';
13
13
  import '../../../shared/esm';
14
14
  import '../Context.js';
15
- import '../layout.module-c9a0297c.js';
15
+ import '../layout.module-8c2ad581.js';
16
16
  import '../../../navigation-bar-private/esm';
17
17
 
18
18
  var ModalDesktopComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'desktop' }))); });
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
11
11
  import '../../../shared/esm';
12
12
  import '../Context.js';
13
13
  import '../components/controls/Component.js';
14
- import '../layout.module-c9a0297c.js';
14
+ import '../layout.module-8c2ad581.js';
15
15
  import '../components/footer/Component.js';
16
16
  import '../components/header/Component.js';
17
17
  import '../../../navigation-bar-private/esm';
@@ -10,7 +10,7 @@ import './Context.js';
10
10
  import '../../base-modal/esm';
11
11
  import './ResponsiveContext.js';
12
12
  import './components/controls/Component.js';
13
- import './layout.module-c9a0297c.js';
13
+ import './layout.module-8c2ad581.js';
14
14
  import './components/footer/Component.js';
15
15
  import './components/header/Component.js';
16
16
  import '../../navigation-bar-private/esm';
@@ -12,7 +12,7 @@ import '../consts.js';
12
12
  import '../ResponsiveContext.js';
13
13
  import '../../../shared/esm';
14
14
  import '../Context.js';
15
- import '../layout.module-c9a0297c.js';
15
+ import '../layout.module-8c2ad581.js';
16
16
  import '../../../navigation-bar-private/esm';
17
17
 
18
18
  var ModalMobileComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'mobile' }))); });
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
11
11
  import '../../../shared/esm';
12
12
  import '../Context.js';
13
13
  import '../components/controls/Component.js';
14
- import '../layout.module-c9a0297c.js';
14
+ import '../layout.module-8c2ad581.js';
15
15
  import '../components/footer/Component.js';
16
16
  import '../components/header/Component.js';
17
17
  import '../../../navigation-bar-private/esm';
@@ -11,7 +11,7 @@ import './consts.js';
11
11
  import './Context.js';
12
12
  import '../../base-modal/modern';
13
13
  import './ResponsiveContext.js';
14
- import './layout.module-a5c6e8e4.js';
14
+ import './layout.module-7b9f84d6.js';
15
15
  import '../../navigation-bar-private/modern';
16
16
  import 'react-merge-refs';
17
17
 
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/modern';
4
4
  import { ResponsiveContext } from '../../ResponsiveContext.js';
5
- import { l as layoutStyles } from '../../layout.module-a5c6e8e4.js';
5
+ import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
6
6
 
7
7
  const styles = {"component":"modal__component_6629a"};
8
8
  require('./index.css');
@@ -3,4 +3,4 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../../../../shared/modern';
5
5
  import '../../ResponsiveContext.js';
6
- import '../../layout.module-a5c6e8e4.js';
6
+ import '../../layout.module-7b9f84d6.js';
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/modern';
4
4
  import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
5
5
  import { ModalContext } from '../../Context.js';
6
6
  import { ResponsiveContext } from '../../ResponsiveContext.js';
7
- import { l as layoutStyles } from '../../layout.module-a5c6e8e4.js';
7
+ import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
8
8
  import '../../../../base-modal/modern';
9
9
 
10
10
  const desktopStyles = {"footer":"modal__footer_e5vdf","sticky":"modal__sticky_e5vdf","fullscreen":"modal__fullscreen_e5vdf","size-500":"modal__size-500_e5vdf","size-600":"modal__size-600_e5vdf","size-800":"modal__size-800_e5vdf","size-1140":"modal__size-1140_e5vdf"};
@@ -11,7 +11,7 @@ import '../consts.js';
11
11
  import '../ResponsiveContext.js';
12
12
  import '../../../shared/modern';
13
13
  import '../Context.js';
14
- import '../layout.module-a5c6e8e4.js';
14
+ import '../layout.module-7b9f84d6.js';
15
15
  import '../../../navigation-bar-private/modern';
16
16
 
17
17
  const ModalDesktopComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'desktop' })));
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
10
10
  import '../../../shared/modern';
11
11
  import '../Context.js';
12
12
  import '../components/controls/Component.js';
13
- import '../layout.module-a5c6e8e4.js';
13
+ import '../layout.module-7b9f84d6.js';
14
14
  import '../components/footer/Component.js';
15
15
  import '../components/header/Component.js';
16
16
  import '../../../navigation-bar-private/modern';
@@ -9,7 +9,7 @@ import './Context.js';
9
9
  import '../../base-modal/modern';
10
10
  import './ResponsiveContext.js';
11
11
  import './components/controls/Component.js';
12
- import './layout.module-a5c6e8e4.js';
12
+ import './layout.module-7b9f84d6.js';
13
13
  import './components/footer/Component.js';
14
14
  import './components/header/Component.js';
15
15
  import '../../navigation-bar-private/modern';
@@ -11,7 +11,7 @@ import '../consts.js';
11
11
  import '../ResponsiveContext.js';
12
12
  import '../../../shared/modern';
13
13
  import '../Context.js';
14
- import '../layout.module-a5c6e8e4.js';
14
+ import '../layout.module-7b9f84d6.js';
15
15
  import '../../../navigation-bar-private/modern';
16
16
 
17
17
  const ModalMobileComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'mobile' })));
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
10
10
  import '../../../shared/modern';
11
11
  import '../Context.js';
12
12
  import '../components/controls/Component.js';
13
- import '../layout.module-a5c6e8e4.js';
13
+ import '../layout.module-7b9f84d6.js';
14
14
  import '../components/footer/Component.js';
15
15
  import '../components/header/Component.js';
16
16
  import '../../../navigation-bar-private/modern';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components",
3
- "version": "46.1.0-beta.0",
3
+ "version": "46.1.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { OptgroupProps } from "./typings-1fe708ea";
4
+ declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
+ export { Optgroup };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { OptgroupProps } from "./typings-1fe708ea";
4
+ declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
+ export { Optgroup };
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ComponentType, SVGProps } from "react";
4
4
  import { ButtonProps } from "../../../button";
5
- import { FieldProps as BaseFieldProps } from "../typings-3bf42d5b";
5
+ import { FieldProps as BaseFieldProps } from "../typings-1fe708ea";
6
6
  import { PickerButtonSize, PickerButtonVariant } from "../types";
7
7
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
8
8
  buttonSize?: PickerButtonSize;
@@ -881,10 +881,6 @@ type OptionsListProps = {
881
881
  * Указать индекс пункта для hover состояния
882
882
  */
883
883
  setHighlightedIndex?: (index: number) => void;
884
- /**
885
- * Значение поиска
886
- */
887
- search?: string;
888
884
  };
889
885
  type OptgroupProps = {
890
886
  /**
@@ -904,22 +900,6 @@ type OptgroupProps = {
904
900
  * Дочерние элементы
905
901
  */
906
902
  children?: ReactNode;
907
- /**
908
- * Список вариантов выбора в группе
909
- */
910
- options?: OptionShape[];
911
- /**
912
- * Список выбранных вариантов в группе
913
- */
914
- selectedItems?: OptionShape[];
915
- /**
916
- * Обработчик выбранных вариантов
917
- */
918
- setSelectedItems?: (items: OptionShape[]) => void;
919
- /**
920
- * Значение поиска
921
- */
922
- search?: string;
923
903
  };
924
904
  type OptionProps = {
925
905
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-3bf42d5b";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-1fe708ea";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { OptgroupProps } from "./typings-1fe708ea";
4
+ declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
+ export { Optgroup };
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ComponentType, SVGProps } from "react";
4
4
  import { ButtonProps } from "../../../button";
5
- import { FieldProps as BaseFieldProps } from "../typings-3bf42d5b";
5
+ import { FieldProps as BaseFieldProps } from "../typings-1fe708ea";
6
6
  import { PickerButtonSize, PickerButtonVariant } from "../types";
7
7
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
8
8
  buttonSize?: PickerButtonSize;
@@ -881,10 +881,6 @@ type OptionsListProps = {
881
881
  * Указать индекс пункта для hover состояния
882
882
  */
883
883
  setHighlightedIndex?: (index: number) => void;
884
- /**
885
- * Значение поиска
886
- */
887
- search?: string;
888
884
  };
889
885
  type OptgroupProps = {
890
886
  /**
@@ -904,22 +900,6 @@ type OptgroupProps = {
904
900
  * Дочерние элементы
905
901
  */
906
902
  children?: ReactNode;
907
- /**
908
- * Список вариантов выбора в группе
909
- */
910
- options?: OptionShape[];
911
- /**
912
- * Список выбранных вариантов в группе
913
- */
914
- selectedItems?: OptionShape[];
915
- /**
916
- * Обработчик выбранных вариантов
917
- */
918
- setSelectedItems?: (items: OptionShape[]) => void;
919
- /**
920
- * Значение поиска
921
- */
922
- search?: string;
923
903
  };
924
904
  type OptionProps = {
925
905
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-3bf42d5b";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-1fe708ea";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ComponentType, SVGProps } from "react";
4
4
  import { ButtonProps } from "../../button";
5
- import { FieldProps as BaseFieldProps } from "../typings-3bf42d5b";
5
+ import { FieldProps as BaseFieldProps } from "../typings-1fe708ea";
6
6
  import { PickerButtonSize, PickerButtonVariant } from "../types";
7
7
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
8
8
  buttonSize?: PickerButtonSize;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { OptgroupProps } from "./typings-1fe708ea";
4
+ declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
+ export { Optgroup };
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ComponentType, SVGProps } from "react";
4
4
  import { ButtonProps } from "../../../button";
5
- import { FieldProps as BaseFieldProps } from "../typings-3bf42d5b";
5
+ import { FieldProps as BaseFieldProps } from "../typings-1fe708ea";
6
6
  import { PickerButtonSize, PickerButtonVariant } from "../types";
7
7
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
8
8
  buttonSize?: PickerButtonSize;
@@ -881,10 +881,6 @@ type OptionsListProps = {
881
881
  * Указать индекс пункта для hover состояния
882
882
  */
883
883
  setHighlightedIndex?: (index: number) => void;
884
- /**
885
- * Значение поиска
886
- */
887
- search?: string;
888
884
  };
889
885
  type OptgroupProps = {
890
886
  /**
@@ -904,22 +900,6 @@ type OptgroupProps = {
904
900
  * Дочерние элементы
905
901
  */
906
902
  children?: ReactNode;
907
- /**
908
- * Список вариантов выбора в группе
909
- */
910
- options?: OptionShape[];
911
- /**
912
- * Список выбранных вариантов в группе
913
- */
914
- selectedItems?: OptionShape[];
915
- /**
916
- * Обработчик выбранных вариантов
917
- */
918
- setSelectedItems?: (items: OptionShape[]) => void;
919
- /**
920
- * Значение поиска
921
- */
922
- search?: string;
923
903
  };
924
904
  type OptionProps = {
925
905
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-3bf42d5b";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-1fe708ea";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -881,10 +881,6 @@ type OptionsListProps = {
881
881
  * Указать индекс пункта для hover состояния
882
882
  */
883
883
  setHighlightedIndex?: (index: number) => void;
884
- /**
885
- * Значение поиска
886
- */
887
- search?: string;
888
884
  };
889
885
  type OptgroupProps = {
890
886
  /**
@@ -904,22 +900,6 @@ type OptgroupProps = {
904
900
  * Дочерние элементы
905
901
  */
906
902
  children?: ReactNode;
907
- /**
908
- * Список вариантов выбора в группе
909
- */
910
- options?: OptionShape[];
911
- /**
912
- * Список выбранных вариантов в группе
913
- */
914
- selectedItems?: OptionShape[];
915
- /**
916
- * Обработчик выбранных вариантов
917
- */
918
- setSelectedItems?: (items: OptionShape[]) => void;
919
- /**
920
- * Значение поиска
921
- */
922
- search?: string;
923
903
  };
924
904
  type OptionProps = {
925
905
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-3bf42d5b";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-1fe708ea";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -363,7 +363,7 @@ function (_a, ref) {
363
363
  return (React__default.default.createElement("div", tslib.__assign({}, menuProps, { ref: view === 'desktop' ? menuRef : undefined, className: cn__default.default(optionsListClassName, view === 'mobile' && mobileStyles.optionsListWrapper, view === 'desktop' && styles.optionsListWrapper) }),
364
364
  React__default.default.createElement(OptionsList, tslib.__assign({}, listProps, { ref: view === 'desktop' ? listProps.ref : scrollableContainerRef, setHighlightedIndex: view === 'desktop' ? setHighlightedIndex : undefined, className: cn__default.default((_a = {}, _a[mobileStyles.optionsList] = view === 'mobile', _a)), scrollbarClassName: cn__default.default((_b = {}, _b[mobileStyles.scrollbar] = view === 'mobile', _b)), optionsListWidth: optionsListWidth, flatOptions: flatOptions, highlightedIndex: highlightedIndex, open: open, size: size, options: filteredOptions, Optgroup: Optgroup, Option: Option, selectedItems: selectedItems, setSelectedItems: setSelectedItems, toggleMenu: toggleMenu, getOptionProps: getOptionProps, visibleOptions: view === 'desktop' ? visibleOptions : 0, dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'options-list'), header: renderOptionsListHeader(), optionGroupClassName: cn__default.default(optionGroupClassName, (_c = {},
365
365
  _c[mobileStyles.optionGroup] = view === 'mobile',
366
- _c)), emptyPlaceholder: renderEmptyPlaceholder(), onScroll: onScroll, search: search })),
366
+ _c)), emptyPlaceholder: renderEmptyPlaceholder(), onScroll: onScroll })),
367
367
  view === 'desktop' && React__default.default.createElement("div", { className: styles.optionsListBorder })));
368
368
  };
369
369
  var renderInPopover = function () {
@@ -27,7 +27,7 @@ var createCounter = function () {
27
27
  };
28
28
  var OptionsList = React.forwardRef(function (_a, ref) {
29
29
  var _b, _c;
30
- var _d = _a.size, size = _d === void 0 ? 48 : _d, className = _a.className, optionGroupClassName = _a.optionGroupClassName, scrollbarClassName = _a.scrollbarClassName, Option = _a.Option, getOptionProps = _a.getOptionProps, _e = _a.options, options = _e === void 0 ? [] : _e, _f = _a.Optgroup, Optgroup = _f === void 0 ? components_optgroup_Component.Optgroup : _f, dataTestId = _a.dataTestId, emptyPlaceholder = _a.emptyPlaceholder, _g = _a.visibleOptions, visibleOptions = _g === void 0 ? consts.DEFAULT_VISIBLE_OPTIONS : _g, onScroll = _a.onScroll, open = _a.open, header = _a.header, footer = _a.footer, _h = _a.showFooter, showFooter = _h === void 0 ? true : _h, optionsListWidth = _a.optionsListWidth, nativeScrollbarProp = _a.nativeScrollbar, _j = _a.flatOptions, flatOptions = _j === void 0 ? [] : _j, setHighlightedIndex = _a.setHighlightedIndex, selectedItems = _a.selectedItems, search = _a.search, setSelectedItems = _a.setSelectedItems;
30
+ var _d = _a.size, size = _d === void 0 ? 48 : _d, className = _a.className, optionGroupClassName = _a.optionGroupClassName, scrollbarClassName = _a.scrollbarClassName, Option = _a.Option, getOptionProps = _a.getOptionProps, _e = _a.options, options = _e === void 0 ? [] : _e, _f = _a.Optgroup, Optgroup = _f === void 0 ? components_optgroup_Component.Optgroup : _f, dataTestId = _a.dataTestId, emptyPlaceholder = _a.emptyPlaceholder, _g = _a.visibleOptions, visibleOptions = _g === void 0 ? consts.DEFAULT_VISIBLE_OPTIONS : _g, onScroll = _a.onScroll, open = _a.open, header = _a.header, footer = _a.footer, _h = _a.showFooter, showFooter = _h === void 0 ? true : _h, optionsListWidth = _a.optionsListWidth, nativeScrollbarProp = _a.nativeScrollbar, _j = _a.flatOptions, flatOptions = _j === void 0 ? [] : _j, setHighlightedIndex = _a.setHighlightedIndex;
31
31
  var _k = React.useState(true), scrollTop = _k[0], setScrollTop = _k[1];
32
32
  var _l = React.useState(false), scrollBottom = _l[0], setScrollBottom = _l[1];
33
33
  var query = '(max-width: 1023px)';
@@ -47,16 +47,7 @@ var OptionsList = React.forwardRef(function (_a, ref) {
47
47
  var listRef = React.useRef(null);
48
48
  var scrollbarRef = React.useRef(null);
49
49
  var counter = createCounter();
50
- var renderGroup = function (group) {
51
- var groupSelectedItems = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.filter(function (item) {
52
- return group.options.includes(item);
53
- });
54
- var handleSelectedItems = function (items) {
55
- var _a;
56
- setSelectedItems(((_a = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.filter(function (item) { return !group.options.includes(item); })) !== null && _a !== void 0 ? _a : []).concat(items));
57
- };
58
- return (React__default.default.createElement(Optgroup, { className: optionGroupClassName, label: group.label, key: group.label, size: size, options: group.options, selectedItems: groupSelectedItems, setSelectedItems: handleSelectedItems, search: search }, group.options.map(function (option) { return renderOption(option, counter()); })));
59
- };
50
+ var renderGroup = function (group) { return (React__default.default.createElement(Optgroup, { className: optionGroupClassName, label: group.label, key: group.label, size: size }, group.options.map(function (option) { return renderOption(option, counter()); }))); };
60
51
  utils.useVisibleOptions(tslib.__assign(tslib.__assign({}, (!nativeScrollbar && { styleTargetRef: scrollbarRef })), { visibleOptions: visibleOptions, listRef: listRef, open: open, invalidate: options }));
61
52
  if (options.length === 0 && !emptyPlaceholder && !header && !footer) {
62
53
  return null;