@alfalab/core-components 41.14.1-beta.4 → 41.14.1-beta.6

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 (557) hide show
  1. package/amount/cssm/pure/component.js +4 -3
  2. package/amount/esm/pure/component.js +4 -3
  3. package/amount/modern/pure/component.js +2 -1
  4. package/amount/pure/component.js +4 -3
  5. package/calendar/Component.responsive.js +1 -1
  6. package/calendar/components/calendar-mobile/Component.js +1 -1
  7. package/calendar/components/calendar-mobile/index.d.ts +1 -1
  8. package/calendar/components/calendar-mobile/index.js +1 -1
  9. package/calendar/esm/Component.responsive.js +1 -1
  10. package/calendar/esm/components/calendar-mobile/Component.js +1 -1
  11. package/calendar/esm/components/calendar-mobile/index.d.ts +1 -1
  12. package/calendar/esm/components/calendar-mobile/index.js +1 -1
  13. package/calendar/esm/index.js +1 -1
  14. package/calendar/esm/mobile.js +1 -1
  15. package/calendar/esm/responsive.d.ts +1 -1
  16. package/calendar/esm/responsive.js +1 -1
  17. package/calendar/index.js +1 -1
  18. package/calendar/mobile.js +1 -1
  19. package/calendar/modern/Component.responsive.js +1 -1
  20. package/calendar/modern/components/calendar-mobile/Component.js +1 -1
  21. package/calendar/modern/components/calendar-mobile/index.d.ts +1 -1
  22. package/calendar/modern/components/calendar-mobile/index.js +1 -1
  23. package/calendar/modern/index.js +1 -1
  24. package/calendar/modern/mobile.js +1 -1
  25. package/calendar/modern/responsive.d.ts +1 -1
  26. package/calendar/modern/responsive.js +1 -1
  27. package/calendar/responsive.d.ts +1 -1
  28. package/calendar/responsive.js +1 -1
  29. package/calendar-range/cssm/utils.js +3 -1
  30. package/calendar-range/utils.js +1 -3
  31. package/confirmation/component.desktop.js +1 -1
  32. package/confirmation/component.mobile.js +1 -1
  33. package/confirmation/component.responsive.js +1 -1
  34. package/confirmation/components/base-confirmation/component.js +1 -1
  35. package/confirmation/components/base-confirmation/index.js +1 -1
  36. package/confirmation/components/index.js +1 -1
  37. package/confirmation/components/screens/index.js +1 -1
  38. package/confirmation/components/screens/initial/component.js +1 -1
  39. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  40. package/confirmation/components/screens/initial/index.js +1 -1
  41. package/confirmation/desktop.js +1 -1
  42. package/confirmation/esm/component.desktop.js +1 -1
  43. package/confirmation/esm/component.mobile.js +1 -1
  44. package/confirmation/esm/component.responsive.js +1 -1
  45. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  46. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  47. package/confirmation/esm/components/index.js +1 -1
  48. package/confirmation/esm/components/screens/index.js +1 -1
  49. package/confirmation/esm/components/screens/initial/component.js +1 -1
  50. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  51. package/confirmation/esm/components/screens/initial/index.js +1 -1
  52. package/confirmation/esm/desktop.js +1 -1
  53. package/confirmation/esm/index.js +1 -1
  54. package/confirmation/esm/mobile.js +1 -1
  55. package/confirmation/esm/responsive.js +1 -1
  56. package/confirmation/index.js +1 -1
  57. package/confirmation/mobile.js +1 -1
  58. package/confirmation/modern/component.desktop.js +1 -1
  59. package/confirmation/modern/component.mobile.js +1 -1
  60. package/confirmation/modern/component.responsive.js +1 -1
  61. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  62. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  63. package/confirmation/modern/components/index.js +1 -1
  64. package/confirmation/modern/components/screens/index.js +1 -1
  65. package/confirmation/modern/components/screens/initial/component.js +1 -1
  66. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  67. package/confirmation/modern/components/screens/initial/index.js +1 -1
  68. package/confirmation/modern/desktop.js +1 -1
  69. package/confirmation/modern/index.js +1 -1
  70. package/confirmation/modern/mobile.js +1 -1
  71. package/confirmation/modern/responsive.js +1 -1
  72. package/confirmation/responsive.js +1 -1
  73. package/custom-picker-button/Component-3885b0d7.d.ts +2 -2
  74. package/custom-picker-button/Component-3e68f8db.d.ts +2 -2
  75. package/custom-picker-button/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  76. package/custom-picker-button/Component.mobile-b2c0420d.d.ts +1 -1
  77. package/custom-picker-button/cssm/Component-3885b0d7.d.ts +2 -2
  78. package/custom-picker-button/cssm/Component-3e68f8db.d.ts +2 -2
  79. package/custom-picker-button/cssm/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  80. package/custom-picker-button/cssm/Component.mobile-b2c0420d.d.ts +1 -1
  81. package/custom-picker-button/cssm/field/Component.d.ts +1 -1
  82. package/custom-picker-button/cssm/hook-3e68f8db.d.ts +1 -1
  83. package/custom-picker-button/cssm/index-3e68f8db.d.ts +4 -4
  84. package/custom-picker-button/{esm/typings-97157410.d.ts → cssm/typings-5e1b8383.d.ts} +0 -4
  85. package/custom-picker-button/{modern/utils-97157410.d.ts → cssm/utils-5e1b8383.d.ts} +1 -1
  86. package/custom-picker-button/esm/Component-3885b0d7.d.ts +2 -2
  87. package/custom-picker-button/esm/Component-3e68f8db.d.ts +2 -2
  88. package/custom-picker-button/esm/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  89. package/custom-picker-button/esm/Component.mobile-b2c0420d.d.ts +1 -1
  90. package/custom-picker-button/esm/field/Component.d.ts +1 -1
  91. package/custom-picker-button/esm/hook-3e68f8db.d.ts +1 -1
  92. package/custom-picker-button/esm/index-3e68f8db.d.ts +4 -4
  93. package/custom-picker-button/{modern/typings-97157410.d.ts → esm/typings-5e1b8383.d.ts} +0 -4
  94. package/custom-picker-button/{utils-97157410.d.ts → esm/utils-5e1b8383.d.ts} +1 -1
  95. package/custom-picker-button/field/Component.d.ts +1 -1
  96. package/custom-picker-button/hook-3e68f8db.d.ts +1 -1
  97. package/custom-picker-button/index-3e68f8db.d.ts +4 -4
  98. package/custom-picker-button/modern/Component-3885b0d7.d.ts +2 -2
  99. package/custom-picker-button/modern/Component-3e68f8db.d.ts +2 -2
  100. package/custom-picker-button/modern/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  101. package/custom-picker-button/modern/Component.mobile-b2c0420d.d.ts +1 -1
  102. package/custom-picker-button/modern/field/Component.d.ts +1 -1
  103. package/custom-picker-button/modern/hook-3e68f8db.d.ts +1 -1
  104. package/custom-picker-button/modern/index-3e68f8db.d.ts +4 -4
  105. package/custom-picker-button/{typings-97157410.d.ts → modern/typings-5e1b8383.d.ts} +0 -4
  106. package/custom-picker-button/{cssm/utils-97157410.d.ts → modern/utils-5e1b8383.d.ts} +1 -1
  107. package/custom-picker-button/{cssm/typings-97157410.d.ts → typings-5e1b8383.d.ts} +0 -4
  108. package/custom-picker-button/{esm/utils-97157410.d.ts → utils-5e1b8383.d.ts} +1 -1
  109. package/gallery/Component.js +2 -2
  110. package/gallery/components/header/Component.js +1 -1
  111. package/gallery/components/header/buttons.js +1 -1
  112. package/gallery/components/header/index.js +1 -1
  113. package/gallery/components/image-viewer/component.js +1 -1
  114. package/gallery/components/image-viewer/index.js +1 -1
  115. package/gallery/components/image-viewer/slide.js +1 -1
  116. package/gallery/components/index.js +2 -2
  117. package/gallery/esm/Component.js +2 -2
  118. package/gallery/esm/components/header/Component.js +1 -1
  119. package/gallery/esm/components/header/buttons.js +1 -1
  120. package/gallery/esm/components/header/index.js +1 -1
  121. package/gallery/esm/components/image-viewer/component.js +1 -1
  122. package/gallery/esm/components/image-viewer/index.js +1 -1
  123. package/gallery/esm/components/image-viewer/slide.js +1 -1
  124. package/gallery/esm/components/index.js +2 -2
  125. package/gallery/esm/index.js +2 -2
  126. package/gallery/index.js +2 -2
  127. package/gallery/modern/Component.js +2 -2
  128. package/gallery/modern/components/header/Component.js +1 -1
  129. package/gallery/modern/components/header/buttons.js +1 -1
  130. package/gallery/modern/components/header/index.js +1 -1
  131. package/gallery/modern/components/image-viewer/component.js +1 -1
  132. package/gallery/modern/components/image-viewer/index.js +1 -1
  133. package/gallery/modern/components/image-viewer/slide.js +1 -1
  134. package/gallery/modern/components/index.js +2 -2
  135. package/gallery/modern/index.js +2 -2
  136. package/grid/Component.js +1 -1
  137. package/grid/col/Component.js +1 -1
  138. package/grid/col/index.js +1 -1
  139. package/grid/esm/Component.js +1 -1
  140. package/grid/esm/col/Component.js +1 -1
  141. package/grid/esm/col/index.js +1 -1
  142. package/grid/esm/index.js +1 -1
  143. package/grid/esm/row/Component.js +1 -1
  144. package/grid/esm/row/index.js +1 -1
  145. package/grid/index.js +1 -1
  146. package/grid/modern/Component.js +1 -1
  147. package/grid/modern/col/Component.js +1 -1
  148. package/grid/modern/col/index.js +1 -1
  149. package/grid/modern/index.js +1 -1
  150. package/grid/modern/row/Component.js +1 -1
  151. package/grid/modern/row/index.js +1 -1
  152. package/grid/row/Component.js +1 -1
  153. package/grid/row/index.js +1 -1
  154. package/input-autocomplete/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  155. package/input-autocomplete/Component-b4e70cb0.d.ts +1 -1
  156. package/input-autocomplete/Component-f12ee135.d.ts +1 -1
  157. package/input-autocomplete/Component.modal.mobile.d.ts +1 -1
  158. package/input-autocomplete/cssm/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  159. package/input-autocomplete/cssm/Component-b4e70cb0.d.ts +1 -1
  160. package/input-autocomplete/cssm/Component-f12ee135.d.ts +1 -1
  161. package/input-autocomplete/cssm/Component.modal.mobile.d.ts +1 -1
  162. package/input-autocomplete/cssm/index-3e68f8db.d.ts +2 -2
  163. package/input-autocomplete/cssm/{typings-97157410.d.ts → typings-5e1b8383.d.ts} +0 -4
  164. package/input-autocomplete/cssm/utils-5e1b8383.d.ts +38 -0
  165. package/input-autocomplete/esm/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  166. package/input-autocomplete/esm/Component-b4e70cb0.d.ts +1 -1
  167. package/input-autocomplete/esm/Component-f12ee135.d.ts +1 -1
  168. package/input-autocomplete/esm/Component.modal.mobile.d.ts +1 -1
  169. package/input-autocomplete/esm/index-3e68f8db.d.ts +2 -2
  170. package/input-autocomplete/esm/{typings-97157410.d.ts → typings-5e1b8383.d.ts} +0 -4
  171. package/input-autocomplete/esm/utils-5e1b8383.d.ts +38 -0
  172. package/input-autocomplete/index-3e68f8db.d.ts +2 -2
  173. package/input-autocomplete/modern/{Component-97157410.d.ts → Component-5e1b8383.d.ts} +1 -1
  174. package/input-autocomplete/modern/Component-b4e70cb0.d.ts +1 -1
  175. package/input-autocomplete/modern/Component-f12ee135.d.ts +1 -1
  176. package/input-autocomplete/modern/Component.modal.mobile.d.ts +1 -1
  177. package/input-autocomplete/modern/index-3e68f8db.d.ts +2 -2
  178. package/input-autocomplete/modern/{typings-97157410.d.ts → typings-5e1b8383.d.ts} +0 -4
  179. package/input-autocomplete/modern/utils-5e1b8383.d.ts +38 -0
  180. package/input-autocomplete/{typings-97157410.d.ts → typings-5e1b8383.d.ts} +0 -4
  181. package/input-autocomplete/utils-5e1b8383.d.ts +38 -0
  182. package/intl-phone-input/component.js +19 -1
  183. package/intl-phone-input/cssm/component.js +19 -1
  184. package/package.json +1 -1
  185. package/picker-button/cssm/field/Component.d.ts +1 -1
  186. package/picker-button/cssm/option/Component.d.ts +2 -2
  187. package/picker-button/{esm/typings-97157410.d.ts → cssm/typings-5e1b8383.d.ts} +0 -4
  188. package/picker-button/esm/field/Component.d.ts +1 -1
  189. package/picker-button/esm/option/Component.d.ts +2 -2
  190. package/picker-button/{modern/typings-97157410.d.ts → esm/typings-5e1b8383.d.ts} +0 -4
  191. package/picker-button/field/Component.d.ts +1 -1
  192. package/picker-button/modern/field/Component.d.ts +1 -1
  193. package/picker-button/modern/option/Component.d.ts +2 -2
  194. package/picker-button/{typings-97157410.d.ts → modern/typings-5e1b8383.d.ts} +0 -4
  195. package/picker-button/option/Component.d.ts +2 -2
  196. package/picker-button/{cssm/typings-97157410.d.ts → typings-5e1b8383.d.ts} +0 -4
  197. package/pure-cell/{component-bdf2910e.js → component-d8016e98.js} +1 -1
  198. package/pure-cell/component.js +2 -2
  199. package/pure-cell/components/addon/component.js +1 -1
  200. package/pure-cell/components/addon/index.js +1 -1
  201. package/pure-cell/components/amount/component.js +1 -1
  202. package/pure-cell/components/amount/index.js +1 -1
  203. package/pure-cell/components/amount-title/component.js +1 -1
  204. package/pure-cell/components/amount-title/index.js +1 -1
  205. package/pure-cell/components/category/component.js +1 -1
  206. package/pure-cell/components/category/index.js +1 -1
  207. package/pure-cell/components/content/component.js +2 -2
  208. package/pure-cell/components/content/index.d.ts +1 -1
  209. package/pure-cell/components/content/index.js +2 -2
  210. package/pure-cell/components/footer/component.js +1 -1
  211. package/pure-cell/components/footer/index.js +1 -1
  212. package/pure-cell/components/footer-button/component.js +1 -1
  213. package/pure-cell/components/footer-button/index.js +1 -1
  214. package/pure-cell/components/footer-text/component.js +1 -1
  215. package/pure-cell/components/footer-text/index.js +1 -1
  216. package/pure-cell/components/graphics/component.js +1 -1
  217. package/pure-cell/components/graphics/index.js +1 -1
  218. package/pure-cell/components/main/component.js +2 -2
  219. package/pure-cell/components/main/index.d.ts +1 -1
  220. package/pure-cell/components/main/index.js +2 -2
  221. package/pure-cell/components/text/component.js +2 -2
  222. package/pure-cell/components/text/index.d.ts +1 -1
  223. package/pure-cell/components/text/index.js +2 -2
  224. package/pure-cell/esm/{component-960a9d12.js → component-f1ce4770.js} +1 -1
  225. package/pure-cell/esm/component.js +2 -2
  226. package/pure-cell/esm/components/addon/component.js +1 -1
  227. package/pure-cell/esm/components/addon/index.js +1 -1
  228. package/pure-cell/esm/components/amount/component.js +1 -1
  229. package/pure-cell/esm/components/amount/index.js +1 -1
  230. package/pure-cell/esm/components/amount-title/component.js +1 -1
  231. package/pure-cell/esm/components/amount-title/index.js +1 -1
  232. package/pure-cell/esm/components/category/component.js +1 -1
  233. package/pure-cell/esm/components/category/index.js +1 -1
  234. package/pure-cell/esm/components/content/component.js +2 -2
  235. package/pure-cell/esm/components/content/index.d.ts +1 -1
  236. package/pure-cell/esm/components/content/index.js +2 -2
  237. package/pure-cell/esm/components/footer/component.js +1 -1
  238. package/pure-cell/esm/components/footer/index.js +1 -1
  239. package/pure-cell/esm/components/footer-button/component.js +1 -1
  240. package/pure-cell/esm/components/footer-button/index.js +1 -1
  241. package/pure-cell/esm/components/footer-text/component.js +1 -1
  242. package/pure-cell/esm/components/footer-text/index.js +1 -1
  243. package/pure-cell/esm/components/graphics/component.js +1 -1
  244. package/pure-cell/esm/components/graphics/index.js +1 -1
  245. package/pure-cell/esm/components/main/component.js +2 -2
  246. package/pure-cell/esm/components/main/index.d.ts +1 -1
  247. package/pure-cell/esm/components/main/index.js +2 -2
  248. package/pure-cell/esm/components/text/component.js +2 -2
  249. package/pure-cell/esm/components/text/index.d.ts +1 -1
  250. package/pure-cell/esm/components/text/index.js +2 -2
  251. package/pure-cell/esm/index.js +2 -2
  252. package/pure-cell/index.js +2 -2
  253. package/pure-cell/modern/{component-4a8f940d.js → component-c485b5de.js} +1 -1
  254. package/pure-cell/modern/component.js +2 -2
  255. package/pure-cell/modern/components/addon/component.js +1 -1
  256. package/pure-cell/modern/components/addon/index.js +1 -1
  257. package/pure-cell/modern/components/amount/component.js +1 -1
  258. package/pure-cell/modern/components/amount/index.js +1 -1
  259. package/pure-cell/modern/components/amount-title/component.js +1 -1
  260. package/pure-cell/modern/components/amount-title/index.js +1 -1
  261. package/pure-cell/modern/components/category/component.js +1 -1
  262. package/pure-cell/modern/components/category/index.js +1 -1
  263. package/pure-cell/modern/components/content/component.js +2 -2
  264. package/pure-cell/modern/components/content/index.d.ts +1 -1
  265. package/pure-cell/modern/components/content/index.js +2 -2
  266. package/pure-cell/modern/components/footer/component.js +1 -1
  267. package/pure-cell/modern/components/footer/index.js +1 -1
  268. package/pure-cell/modern/components/footer-button/component.js +1 -1
  269. package/pure-cell/modern/components/footer-button/index.js +1 -1
  270. package/pure-cell/modern/components/footer-text/component.js +1 -1
  271. package/pure-cell/modern/components/footer-text/index.js +1 -1
  272. package/pure-cell/modern/components/graphics/component.js +1 -1
  273. package/pure-cell/modern/components/graphics/index.js +1 -1
  274. package/pure-cell/modern/components/main/component.js +2 -2
  275. package/pure-cell/modern/components/main/index.d.ts +1 -1
  276. package/pure-cell/modern/components/main/index.js +2 -2
  277. package/pure-cell/modern/components/text/component.js +2 -2
  278. package/pure-cell/modern/components/text/index.d.ts +1 -1
  279. package/pure-cell/modern/components/text/index.js +2 -2
  280. package/pure-cell/modern/index.js +2 -2
  281. package/select/{Component-8091ba00.js → Component-7469b0ac.js} +1 -1
  282. package/select/Component.js +1 -1
  283. package/select/Component.responsive.js +3 -3
  284. package/select/components/base-select/Component.js +1 -1
  285. package/select/components/base-select/index.js +1 -1
  286. package/select/components/base-select-mobile/Component.js +1 -9
  287. package/select/components/base-select-mobile/index.js +1 -1
  288. package/select/components/index.js +3 -3
  289. package/select/components/select-mobile/Component.js +3 -3
  290. package/select/components/select-mobile/index.d.ts +1 -1
  291. package/select/components/select-mobile/index.js +3 -3
  292. package/select/components/select-modal-mobile/Component.js +3 -3
  293. package/select/components/select-modal-mobile/index.d.ts +1 -1
  294. package/select/components/select-modal-mobile/index.js +3 -3
  295. package/select/cssm/components/base-select-mobile/Component.js +0 -8
  296. package/select/cssm/typings.d.ts +0 -4
  297. package/select/esm/{Component-8c58acca.js → Component-6cebda57.js} +2 -2
  298. package/select/esm/Component.js +1 -1
  299. package/select/esm/Component.responsive.js +3 -3
  300. package/select/esm/components/base-select/Component.js +1 -1
  301. package/select/esm/components/base-select/index.js +1 -1
  302. package/select/esm/components/base-select-mobile/Component.js +1 -9
  303. package/select/esm/components/base-select-mobile/index.js +1 -1
  304. package/select/esm/components/index.js +3 -3
  305. package/select/esm/components/select-mobile/Component.js +3 -3
  306. package/select/esm/components/select-mobile/index.d.ts +1 -1
  307. package/select/esm/components/select-mobile/index.js +3 -3
  308. package/select/esm/components/select-modal-mobile/Component.js +3 -3
  309. package/select/esm/components/select-modal-mobile/index.d.ts +1 -1
  310. package/select/esm/components/select-modal-mobile/index.js +3 -3
  311. package/select/esm/index-3885b0d7.d.ts +1 -1
  312. package/select/esm/index.js +3 -3
  313. package/select/esm/mobile.js +3 -3
  314. package/select/esm/presets/index.js +3 -3
  315. package/select/esm/presets/useLazyLoading/hook.js +1 -1
  316. package/select/esm/presets/useSelectWithApply/hook.js +3 -3
  317. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  318. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  319. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  320. package/select/esm/responsive.js +3 -3
  321. package/select/esm/typings.d.ts +0 -4
  322. package/select/index-3885b0d7.d.ts +1 -1
  323. package/select/index.js +3 -3
  324. package/select/mobile.js +3 -3
  325. package/select/modern/{Component-00fc0872.js → Component-89ec362a.js} +2 -2
  326. package/select/modern/Component.js +1 -1
  327. package/select/modern/Component.responsive.js +3 -3
  328. package/select/modern/components/base-select/Component.js +1 -1
  329. package/select/modern/components/base-select/index.js +1 -1
  330. package/select/modern/components/base-select-mobile/Component.js +1 -9
  331. package/select/modern/components/base-select-mobile/index.js +1 -1
  332. package/select/modern/components/index.js +3 -3
  333. package/select/modern/components/select-mobile/Component.js +3 -3
  334. package/select/modern/components/select-mobile/index.d.ts +1 -1
  335. package/select/modern/components/select-mobile/index.js +3 -3
  336. package/select/modern/components/select-modal-mobile/Component.js +3 -3
  337. package/select/modern/components/select-modal-mobile/index.d.ts +1 -1
  338. package/select/modern/components/select-modal-mobile/index.js +3 -3
  339. package/select/modern/index-3885b0d7.d.ts +1 -1
  340. package/select/modern/index.js +3 -3
  341. package/select/modern/mobile.js +3 -3
  342. package/select/modern/presets/index.js +3 -3
  343. package/select/modern/presets/useLazyLoading/hook.js +1 -1
  344. package/select/modern/presets/useSelectWithApply/hook.js +3 -3
  345. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  346. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  347. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  348. package/select/modern/responsive.js +3 -3
  349. package/select/modern/typings.d.ts +0 -4
  350. package/select/presets/index.js +3 -3
  351. package/select/presets/useLazyLoading/hook.js +1 -1
  352. package/select/presets/useSelectWithApply/hook.js +3 -3
  353. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
  354. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  355. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
  356. package/select/responsive.js +3 -3
  357. package/select/typings.d.ts +0 -4
  358. package/system-message/Component.desktop.js +1 -1
  359. package/system-message/Component.mobile.js +1 -1
  360. package/system-message/Components.responsive.js +1 -1
  361. package/system-message/components/caption/Component.js +1 -1
  362. package/system-message/components/caption/index.js +1 -1
  363. package/system-message/components/controls/Component.js +1 -1
  364. package/system-message/components/controls/index.js +1 -1
  365. package/system-message/components/graphic/Component.js +1 -1
  366. package/system-message/components/graphic/index.js +1 -1
  367. package/system-message/components/subtitle/Component.js +1 -1
  368. package/system-message/components/subtitle/index.js +1 -1
  369. package/system-message/components/title/Component.js +1 -1
  370. package/system-message/components/title/index.js +1 -1
  371. package/system-message/desktop.js +1 -1
  372. package/system-message/esm/Component.desktop.js +1 -1
  373. package/system-message/esm/Component.mobile.js +1 -1
  374. package/system-message/esm/Components.responsive.js +1 -1
  375. package/system-message/esm/components/caption/Component.js +1 -1
  376. package/system-message/esm/components/caption/index.js +1 -1
  377. package/system-message/esm/components/controls/Component.js +1 -1
  378. package/system-message/esm/components/controls/index.js +1 -1
  379. package/system-message/esm/components/graphic/Component.js +1 -1
  380. package/system-message/esm/components/graphic/index.js +1 -1
  381. package/system-message/esm/components/subtitle/Component.js +1 -1
  382. package/system-message/esm/components/subtitle/index.js +1 -1
  383. package/system-message/esm/components/title/Component.js +1 -1
  384. package/system-message/esm/components/title/index.js +1 -1
  385. package/system-message/esm/desktop.js +1 -1
  386. package/system-message/esm/index-3885b0d7.d.ts +1 -1
  387. package/system-message/esm/index.js +1 -1
  388. package/system-message/esm/mobile.js +1 -1
  389. package/system-message/esm/responsive.js +1 -1
  390. package/system-message/esm/utils.js +1 -1
  391. package/system-message/index-3885b0d7.d.ts +1 -1
  392. package/system-message/index.js +1 -1
  393. package/system-message/mobile.js +1 -1
  394. package/system-message/modern/Component.desktop.js +1 -1
  395. package/system-message/modern/Component.mobile.js +1 -1
  396. package/system-message/modern/Components.responsive.js +1 -1
  397. package/system-message/modern/components/caption/Component.js +1 -1
  398. package/system-message/modern/components/caption/index.js +1 -1
  399. package/system-message/modern/components/controls/Component.js +1 -1
  400. package/system-message/modern/components/controls/index.js +1 -1
  401. package/system-message/modern/components/graphic/Component.js +1 -1
  402. package/system-message/modern/components/graphic/index.js +1 -1
  403. package/system-message/modern/components/subtitle/Component.js +1 -1
  404. package/system-message/modern/components/subtitle/index.js +1 -1
  405. package/system-message/modern/components/title/Component.js +1 -1
  406. package/system-message/modern/components/title/index.js +1 -1
  407. package/system-message/modern/desktop.js +1 -1
  408. package/system-message/modern/index-3885b0d7.d.ts +1 -1
  409. package/system-message/modern/index.js +1 -1
  410. package/system-message/modern/mobile.js +1 -1
  411. package/system-message/modern/responsive.js +1 -1
  412. package/system-message/modern/utils.js +1 -1
  413. package/system-message/responsive.js +1 -1
  414. package/system-message/utils.js +1 -1
  415. package/tabs/Component-3885b0d7.d.ts +2 -2
  416. package/tabs/Component-3e68f8db.d.ts +2 -2
  417. package/tabs/Component-5e1b8383.d.ts +4 -0
  418. package/tabs/Component.mobile-b2c0420d.d.ts +1 -1
  419. package/tabs/cssm/Component-3885b0d7.d.ts +2 -2
  420. package/tabs/cssm/Component-3e68f8db.d.ts +2 -2
  421. package/tabs/cssm/Component-5e1b8383.d.ts +4 -0
  422. package/tabs/cssm/Component.mobile-b2c0420d.d.ts +1 -1
  423. package/tabs/cssm/hook-3e68f8db.d.ts +1 -1
  424. package/tabs/cssm/index-3e68f8db.d.ts +4 -4
  425. package/tabs/cssm/typings-5e1b8383.d.ts +549 -0
  426. package/tabs/cssm/utils-5e1b8383.d.ts +38 -0
  427. package/tabs/esm/Component-3885b0d7.d.ts +2 -2
  428. package/tabs/esm/Component-3e68f8db.d.ts +2 -2
  429. package/tabs/esm/Component-5e1b8383.d.ts +4 -0
  430. package/tabs/esm/Component.mobile-b2c0420d.d.ts +1 -1
  431. package/tabs/esm/hook-3e68f8db.d.ts +1 -1
  432. package/tabs/esm/index-3e68f8db.d.ts +4 -4
  433. package/tabs/esm/typings-5e1b8383.d.ts +549 -0
  434. package/tabs/esm/utils-5e1b8383.d.ts +38 -0
  435. package/tabs/hook-3e68f8db.d.ts +1 -1
  436. package/tabs/index-3e68f8db.d.ts +4 -4
  437. package/tabs/modern/Component-3885b0d7.d.ts +2 -2
  438. package/tabs/modern/Component-3e68f8db.d.ts +2 -2
  439. package/tabs/modern/Component-5e1b8383.d.ts +4 -0
  440. package/tabs/modern/Component.mobile-b2c0420d.d.ts +1 -1
  441. package/tabs/modern/hook-3e68f8db.d.ts +1 -1
  442. package/tabs/modern/index-3e68f8db.d.ts +4 -4
  443. package/tabs/modern/typings-5e1b8383.d.ts +549 -0
  444. package/tabs/modern/utils-5e1b8383.d.ts +38 -0
  445. package/tabs/typings-5e1b8383.d.ts +549 -0
  446. package/tabs/utils-5e1b8383.d.ts +38 -0
  447. package/themes/compiled/mobile-dark-bluetint.css +35 -35
  448. package/themes/dist/compiled/mobile-dark-bluetint.css +90 -90
  449. package/typography/component.js +2 -2
  450. package/typography/esm/component.js +2 -2
  451. package/typography/esm/index.js +2 -2
  452. package/typography/esm/text/component.js +1 -1
  453. package/typography/esm/text/index.js +1 -1
  454. package/typography/esm/title/component.js +1 -1
  455. package/typography/esm/title/index.js +2 -2
  456. package/typography/esm/title-mobile/component.js +2 -2
  457. package/typography/esm/title-mobile/index.js +2 -2
  458. package/typography/esm/title-responsive/component.js +2 -2
  459. package/typography/esm/title-responsive/index.js +2 -2
  460. package/typography/index.js +2 -2
  461. package/typography/modern/component.js +2 -2
  462. package/typography/modern/index.js +2 -2
  463. package/typography/modern/text/component.js +1 -1
  464. package/typography/modern/text/index.js +1 -1
  465. package/typography/modern/title/component.js +1 -1
  466. package/typography/modern/title/index.js +2 -2
  467. package/typography/modern/title-mobile/component.js +2 -2
  468. package/typography/modern/title-mobile/index.js +2 -2
  469. package/typography/modern/title-responsive/component.js +2 -2
  470. package/typography/modern/title-responsive/index.js +2 -2
  471. package/typography/text/component.js +1 -1
  472. package/typography/text/index.js +1 -1
  473. package/typography/title/component.js +1 -1
  474. package/typography/title/index.js +2 -2
  475. package/typography/title-mobile/component.js +2 -2
  476. package/typography/title-mobile/index.js +2 -2
  477. package/typography/title-responsive/component.js +2 -2
  478. package/typography/title-responsive/index.js +2 -2
  479. package/input-autocomplete/cssm/utils-97157410.d.ts +0 -38
  480. package/input-autocomplete/esm/utils-97157410.d.ts +0 -38
  481. package/input-autocomplete/modern/utils-97157410.d.ts +0 -38
  482. package/input-autocomplete/utils-97157410.d.ts +0 -38
  483. package/tabs/Component-97157410.d.ts +0 -4
  484. package/tabs/cssm/Component-97157410.d.ts +0 -4
  485. package/tabs/cssm/typings-97157410.d.ts +0 -553
  486. package/tabs/cssm/utils-97157410.d.ts +0 -38
  487. package/tabs/esm/Component-97157410.d.ts +0 -4
  488. package/tabs/esm/typings-97157410.d.ts +0 -553
  489. package/tabs/esm/utils-97157410.d.ts +0 -38
  490. package/tabs/modern/Component-97157410.d.ts +0 -4
  491. package/tabs/modern/typings-97157410.d.ts +0 -553
  492. package/tabs/modern/utils-97157410.d.ts +0 -38
  493. package/tabs/typings-97157410.d.ts +0 -553
  494. package/tabs/utils-97157410.d.ts +0 -38
  495. /package/calendar/{Component.responsive-fddf7121.d.ts → Component.responsive-6d5ea107.d.ts} +0 -0
  496. /package/calendar/{Component.responsive-fddf7121.js → Component.responsive-6d5ea107.js} +0 -0
  497. /package/calendar/esm/{Component.responsive-3a09863d.d.ts → Component.responsive-a0e36136.d.ts} +0 -0
  498. /package/calendar/esm/{Component.responsive-3a09863d.js → Component.responsive-a0e36136.js} +0 -0
  499. /package/calendar/modern/{Component.responsive-1b96e360.d.ts → Component.responsive-091a4247.d.ts} +0 -0
  500. /package/calendar/modern/{Component.responsive-1b96e360.js → Component.responsive-091a4247.js} +0 -0
  501. /package/confirmation/{countdown-section-bc7e38e8.d.ts → countdown-section-e6a11320.d.ts} +0 -0
  502. /package/confirmation/{countdown-section-bc7e38e8.js → countdown-section-e6a11320.js} +0 -0
  503. /package/confirmation/esm/{countdown-section-107433c6.d.ts → countdown-section-23d6c1ba.d.ts} +0 -0
  504. /package/confirmation/esm/{countdown-section-107433c6.js → countdown-section-23d6c1ba.js} +0 -0
  505. /package/confirmation/modern/{countdown-section-0b05d1a1.d.ts → countdown-section-66642843.d.ts} +0 -0
  506. /package/confirmation/modern/{countdown-section-0b05d1a1.js → countdown-section-66642843.js} +0 -0
  507. /package/gallery/{buttons-08dcbf5b.d.ts → buttons-39a2f879.d.ts} +0 -0
  508. /package/gallery/{buttons-08dcbf5b.js → buttons-39a2f879.js} +0 -0
  509. /package/gallery/esm/{buttons-589804fc.d.ts → buttons-722fcdff.d.ts} +0 -0
  510. /package/gallery/esm/{buttons-589804fc.js → buttons-722fcdff.js} +0 -0
  511. /package/gallery/esm/{slide-ba0ac679.d.ts → slide-30a56104.d.ts} +0 -0
  512. /package/gallery/esm/{slide-ba0ac679.js → slide-30a56104.js} +0 -0
  513. /package/gallery/modern/{buttons-91d04dd9.d.ts → buttons-cd1a27d4.d.ts} +0 -0
  514. /package/gallery/modern/{buttons-91d04dd9.js → buttons-cd1a27d4.js} +0 -0
  515. /package/gallery/modern/{slide-3fa36d3a.d.ts → slide-cb5ef2c3.d.ts} +0 -0
  516. /package/gallery/modern/{slide-3fa36d3a.js → slide-cb5ef2c3.js} +0 -0
  517. /package/gallery/{slide-29471b19.d.ts → slide-95a04aba.d.ts} +0 -0
  518. /package/gallery/{slide-29471b19.js → slide-95a04aba.js} +0 -0
  519. /package/grid/esm/{gutters.module-5c7944fa.js → gutters.module-9c9ef8ff.js} +0 -0
  520. /package/grid/{gutters.module-e8c0a9e0.js → gutters.module-8e68bd99.js} +0 -0
  521. /package/grid/modern/{gutters.module-95e1eb4e.js → gutters.module-e4c2ebfb.js} +0 -0
  522. /package/pure-cell/{component-bdf2910e.d.ts → component-d8016e98.d.ts} +0 -0
  523. /package/pure-cell/esm/{component-960a9d12.d.ts → component-f1ce4770.d.ts} +0 -0
  524. /package/pure-cell/esm/{getDataTestId-14e80974.d.ts → getDataTestId-8d0e54bf.d.ts} +0 -0
  525. /package/pure-cell/esm/{getDataTestId-14e80974.js → getDataTestId-8d0e54bf.js} +0 -0
  526. /package/pure-cell/{getDataTestId-d2ce60ce.d.ts → getDataTestId-71118625.d.ts} +0 -0
  527. /package/pure-cell/{getDataTestId-d2ce60ce.js → getDataTestId-71118625.js} +0 -0
  528. /package/pure-cell/modern/{component-4a8f940d.d.ts → component-c485b5de.d.ts} +0 -0
  529. /package/pure-cell/modern/{getDataTestId-f0261d6b.d.ts → getDataTestId-1a5d8e06.d.ts} +0 -0
  530. /package/pure-cell/modern/{getDataTestId-f0261d6b.js → getDataTestId-1a5d8e06.js} +0 -0
  531. /package/select/{Component-8091ba00.d.ts → Component-7469b0ac.d.ts} +0 -0
  532. /package/select/esm/{Component-8c58acca.d.ts → Component-6cebda57.d.ts} +0 -0
  533. /package/select/esm/{getDataTestId-bc63fed3.d.ts → getDataTestId-cd19dfb0.d.ts} +0 -0
  534. /package/select/esm/{getDataTestId-bc63fed3.js → getDataTestId-cd19dfb0.js} +0 -0
  535. /package/select/esm/{intersection-observer-3509044f.d.ts → intersection-observer-6edea692.d.ts} +0 -0
  536. /package/select/esm/{intersection-observer-3509044f.js → intersection-observer-6edea692.js} +0 -0
  537. /package/select/{getDataTestId-205b5d5a.d.ts → getDataTestId-bdf568ab.d.ts} +0 -0
  538. /package/select/{getDataTestId-205b5d5a.js → getDataTestId-bdf568ab.js} +0 -0
  539. /package/select/{intersection-observer-03a92f64.d.ts → intersection-observer-464b4ffd.d.ts} +0 -0
  540. /package/select/{intersection-observer-03a92f64.js → intersection-observer-464b4ffd.js} +0 -0
  541. /package/select/modern/{Component-00fc0872.d.ts → Component-89ec362a.d.ts} +0 -0
  542. /package/select/modern/{getDataTestId-262a880f.d.ts → getDataTestId-c71877cc.d.ts} +0 -0
  543. /package/select/modern/{getDataTestId-262a880f.js → getDataTestId-c71877cc.js} +0 -0
  544. /package/select/modern/{intersection-observer-3509044f.d.ts → intersection-observer-6edea692.d.ts} +0 -0
  545. /package/select/modern/{intersection-observer-3509044f.js → intersection-observer-6edea692.js} +0 -0
  546. /package/system-message/esm/{getDataTestId-1ac1e7c9.d.ts → getDataTestId-6ea692ba.d.ts} +0 -0
  547. /package/system-message/esm/{getDataTestId-1ac1e7c9.js → getDataTestId-6ea692ba.js} +0 -0
  548. /package/system-message/{getDataTestId-877766e7.d.ts → getDataTestId-f02e55ab.d.ts} +0 -0
  549. /package/system-message/{getDataTestId-877766e7.js → getDataTestId-f02e55ab.js} +0 -0
  550. /package/system-message/modern/{getDataTestId-26494a1d.d.ts → getDataTestId-db3cb0e2.d.ts} +0 -0
  551. /package/system-message/modern/{getDataTestId-26494a1d.js → getDataTestId-db3cb0e2.js} +0 -0
  552. /package/typography/{colors.module-a17f671f.js → colors.module-d23150b8.js} +0 -0
  553. /package/typography/{common.module-f3b47595.js → common.module-5d75be67.js} +0 -0
  554. /package/typography/esm/{colors.module-0a4bc765.js → colors.module-8f64835c.js} +0 -0
  555. /package/typography/esm/{common.module-8a324e56.js → common.module-e098f915.js} +0 -0
  556. /package/typography/modern/{colors.module-70551a00.js → colors.module-00c4dbb7.js} +0 -0
  557. /package/typography/modern/{common.module-b1e8572c.js → common.module-f0bfa58a.js} +0 -0
@@ -4,7 +4,7 @@ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var utils_index = require('../utils/index.js');
7
- var gutters_module = require('../gutters.module-e8c0a9e0.js');
7
+ var gutters_module = require('../gutters.module-8e68bd99.js');
8
8
 
9
9
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
10
 
package/grid/row/index.js CHANGED
@@ -5,7 +5,7 @@ require('tslib');
5
5
  require('react');
6
6
  require('classnames');
7
7
  require('../utils/index.js');
8
- require('../gutters.module-e8c0a9e0.js');
8
+ require('../gutters.module-8e68bd99.js');
9
9
 
10
10
 
11
11
 
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptionsListProps } from "./typings-97157410";
3
+ import { OptionsListProps } from "./typings-5e1b8383";
4
4
  declare const VirtualOptionsList: React.ForwardRefExoticComponent<OptionsListProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export { VirtualOptionsList };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionShape, OptionsListProps } from "./typings-97157410";
2
+ import { OptionShape, OptionsListProps } from "./typings-5e1b8383";
3
3
  import React from 'react';
4
4
  import { HeaderProps } from "./Component-aed0af6e";
5
5
  type FooterProps = {
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
- import { BaseSelectProps } from "./typings-97157410";
5
+ import { BaseSelectProps } from "./typings-5e1b8383";
6
6
  type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Футер
@@ -5,7 +5,7 @@ import { ButtonProps } from "../button";
5
5
  import { BaseSelectChangePayload } from "./index-3e68f8db";
6
6
  import { ModalMobile } from "./Component.mobile-e81c389f";
7
7
  import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
8
- import { BaseSelectProps } from "./typings-97157410";
8
+ import { BaseSelectProps } from "./typings-5e1b8383";
9
9
  type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
10
10
  /**
11
11
  * Показывать кнопку очистки
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptionsListProps } from "./typings-97157410";
3
+ import { OptionsListProps } from "./typings-5e1b8383";
4
4
  declare const VirtualOptionsList: React.ForwardRefExoticComponent<OptionsListProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export { VirtualOptionsList };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionShape, OptionsListProps } from "./typings-97157410";
2
+ import { OptionShape, OptionsListProps } from "./typings-5e1b8383";
3
3
  import React from 'react';
4
4
  import { HeaderProps } from "./Component-aed0af6e";
5
5
  type FooterProps = {
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
- import { BaseSelectProps } from "./typings-97157410";
5
+ import { BaseSelectProps } from "./typings-5e1b8383";
6
6
  type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Футер
@@ -5,7 +5,7 @@ import { ButtonProps } from "../../button";
5
5
  import { BaseSelectChangePayload } from "./index-3e68f8db";
6
6
  import { ModalMobile } from "./Component.mobile-e81c389f";
7
7
  import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
8
- import { BaseSelectProps } from "./typings-97157410";
8
+ import { BaseSelectProps } from "./typings-5e1b8383";
9
9
  type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
10
10
  /**
11
11
  * Показывать кнопку очистки
@@ -1,5 +1,5 @@
1
1
  export * from "packages/select/src/Component";
2
2
  export * from "packages/select/src/components/index";
3
3
  export * from "packages/select/src/presets/index";
4
- export * from "./typings-97157410";
5
- export * from "./utils-97157410";
4
+ export * from "./typings-5e1b8383";
5
+ export * from "./utils-5e1b8383";
@@ -18,10 +18,6 @@ type OptionShape = {
18
18
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
19
19
  */
20
20
  showCheckMark?: boolean;
21
- /**
22
- * Обработчик клика по option
23
- */
24
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
25
21
  /**
26
22
  * Дополнительные данные
27
23
  */
@@ -0,0 +1,38 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-5e1b8383";
3
+ declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
+ declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
+ declare const joinOptions: ({ selected, selectedMultiple, }: {
6
+ selected?: OptionShape | undefined;
7
+ selectedMultiple?: OptionShape[] | undefined;
8
+ }) => ReactNode[] | null;
9
+ declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected']): {
10
+ flatOptions: OptionShape[];
11
+ selectedOptions: OptionShape[];
12
+ };
13
+ type useVisibleOptionsArgs = {
14
+ /**
15
+ * Количество видимых пунктов
16
+ */
17
+ visibleOptions: number;
18
+ /**
19
+ * Реф на контейнер с пунтами меню
20
+ */
21
+ listRef: RefObject<HTMLElement>;
22
+ /**
23
+ * Реф на контейнер, которому нужно установить высоту
24
+ */
25
+ styleTargetRef?: RefObject<HTMLElement>;
26
+ /**
27
+ * Флаг открытия меню
28
+ */
29
+ open?: boolean;
30
+ /**
31
+ * Позволяет вызвать пересчет высоты
32
+ */
33
+ invalidate?: unknown;
34
+ };
35
+ declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
36
+ declare function usePrevious<T>(value: T): T | undefined;
37
+ declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
38
+ export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptionsListProps } from "./typings-97157410";
3
+ import { OptionsListProps } from "./typings-5e1b8383";
4
4
  declare const VirtualOptionsList: React.ForwardRefExoticComponent<OptionsListProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export { VirtualOptionsList };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionShape, OptionsListProps } from "./typings-97157410";
2
+ import { OptionShape, OptionsListProps } from "./typings-5e1b8383";
3
3
  import React from 'react';
4
4
  import { HeaderProps } from "./Component-aed0af6e";
5
5
  type FooterProps = {
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
- import { BaseSelectProps } from "./typings-97157410";
5
+ import { BaseSelectProps } from "./typings-5e1b8383";
6
6
  type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Футер
@@ -5,7 +5,7 @@ import { ButtonProps } from "../../button";
5
5
  import { BaseSelectChangePayload } from "./index-3e68f8db";
6
6
  import { ModalMobile } from "./Component.mobile-e81c389f";
7
7
  import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
8
- import { BaseSelectProps } from "./typings-97157410";
8
+ import { BaseSelectProps } from "./typings-5e1b8383";
9
9
  type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
10
10
  /**
11
11
  * Показывать кнопку очистки
@@ -1,5 +1,5 @@
1
1
  export * from "packages/select/src/Component";
2
2
  export * from "packages/select/src/components/index";
3
3
  export * from "packages/select/src/presets/index";
4
- export * from "./typings-97157410";
5
- export * from "./utils-97157410";
4
+ export * from "./typings-5e1b8383";
5
+ export * from "./utils-5e1b8383";
@@ -18,10 +18,6 @@ type OptionShape = {
18
18
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
19
19
  */
20
20
  showCheckMark?: boolean;
21
- /**
22
- * Обработчик клика по option
23
- */
24
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
25
21
  /**
26
22
  * Дополнительные данные
27
23
  */
@@ -0,0 +1,38 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-5e1b8383";
3
+ declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
+ declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
+ declare const joinOptions: ({ selected, selectedMultiple, }: {
6
+ selected?: OptionShape | undefined;
7
+ selectedMultiple?: OptionShape[] | undefined;
8
+ }) => ReactNode[] | null;
9
+ declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected']): {
10
+ flatOptions: OptionShape[];
11
+ selectedOptions: OptionShape[];
12
+ };
13
+ type useVisibleOptionsArgs = {
14
+ /**
15
+ * Количество видимых пунктов
16
+ */
17
+ visibleOptions: number;
18
+ /**
19
+ * Реф на контейнер с пунтами меню
20
+ */
21
+ listRef: RefObject<HTMLElement>;
22
+ /**
23
+ * Реф на контейнер, которому нужно установить высоту
24
+ */
25
+ styleTargetRef?: RefObject<HTMLElement>;
26
+ /**
27
+ * Флаг открытия меню
28
+ */
29
+ open?: boolean;
30
+ /**
31
+ * Позволяет вызвать пересчет высоты
32
+ */
33
+ invalidate?: unknown;
34
+ };
35
+ declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
36
+ declare function usePrevious<T>(value: T): T | undefined;
37
+ declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
38
+ export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
@@ -1,5 +1,5 @@
1
1
  export * from "packages/select/src/Component";
2
2
  export * from "packages/select/src/components/index";
3
3
  export * from "packages/select/src/presets/index";
4
- export * from "./typings-97157410";
5
- export * from "./utils-97157410";
4
+ export * from "./typings-5e1b8383";
5
+ export * from "./utils-5e1b8383";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptionsListProps } from "./typings-97157410";
3
+ import { OptionsListProps } from "./typings-5e1b8383";
4
4
  declare const VirtualOptionsList: React.ForwardRefExoticComponent<OptionsListProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export { VirtualOptionsList };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OptionShape, OptionsListProps } from "./typings-97157410";
2
+ import { OptionShape, OptionsListProps } from "./typings-5e1b8383";
3
3
  import React from 'react';
4
4
  import { HeaderProps } from "./Component-aed0af6e";
5
5
  type FooterProps = {
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ReactNode } from "react";
4
4
  import { BottomSheetProps } from "./index-f12ee135";
5
- import { BaseSelectProps } from "./typings-97157410";
5
+ import { BaseSelectProps } from "./typings-5e1b8383";
6
6
  type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
7
  /**
8
8
  * Футер
@@ -5,7 +5,7 @@ import { ButtonProps } from "../../button";
5
5
  import { BaseSelectChangePayload } from "./index-3e68f8db";
6
6
  import { ModalMobile } from "./Component.mobile-e81c389f";
7
7
  import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
8
- import { BaseSelectProps } from "./typings-97157410";
8
+ import { BaseSelectProps } from "./typings-5e1b8383";
9
9
  type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
10
10
  /**
11
11
  * Показывать кнопку очистки
@@ -1,5 +1,5 @@
1
1
  export * from "packages/select/src/Component";
2
2
  export * from "packages/select/src/components/index";
3
3
  export * from "packages/select/src/presets/index";
4
- export * from "./typings-97157410";
5
- export * from "./utils-97157410";
4
+ export * from "./typings-5e1b8383";
5
+ export * from "./utils-5e1b8383";
@@ -18,10 +18,6 @@ type OptionShape = {
18
18
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
19
19
  */
20
20
  showCheckMark?: boolean;
21
- /**
22
- * Обработчик клика по option
23
- */
24
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
25
21
  /**
26
22
  * Дополнительные данные
27
23
  */
@@ -0,0 +1,38 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-5e1b8383";
3
+ declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
+ declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
+ declare const joinOptions: ({ selected, selectedMultiple, }: {
6
+ selected?: OptionShape | undefined;
7
+ selectedMultiple?: OptionShape[] | undefined;
8
+ }) => ReactNode[] | null;
9
+ declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected']): {
10
+ flatOptions: OptionShape[];
11
+ selectedOptions: OptionShape[];
12
+ };
13
+ type useVisibleOptionsArgs = {
14
+ /**
15
+ * Количество видимых пунктов
16
+ */
17
+ visibleOptions: number;
18
+ /**
19
+ * Реф на контейнер с пунтами меню
20
+ */
21
+ listRef: RefObject<HTMLElement>;
22
+ /**
23
+ * Реф на контейнер, которому нужно установить высоту
24
+ */
25
+ styleTargetRef?: RefObject<HTMLElement>;
26
+ /**
27
+ * Флаг открытия меню
28
+ */
29
+ open?: boolean;
30
+ /**
31
+ * Позволяет вызвать пересчет высоты
32
+ */
33
+ invalidate?: unknown;
34
+ };
35
+ declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
36
+ declare function usePrevious<T>(value: T): T | undefined;
37
+ declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
38
+ export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
@@ -18,10 +18,6 @@ type OptionShape = {
18
18
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
19
19
  */
20
20
  showCheckMark?: boolean;
21
- /**
22
- * Обработчик клика по option
23
- */
24
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
25
21
  /**
26
22
  * Дополнительные данные
27
23
  */
@@ -0,0 +1,38 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-5e1b8383";
3
+ declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
+ declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
+ declare const joinOptions: ({ selected, selectedMultiple, }: {
6
+ selected?: OptionShape | undefined;
7
+ selectedMultiple?: OptionShape[] | undefined;
8
+ }) => ReactNode[] | null;
9
+ declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected']): {
10
+ flatOptions: OptionShape[];
11
+ selectedOptions: OptionShape[];
12
+ };
13
+ type useVisibleOptionsArgs = {
14
+ /**
15
+ * Количество видимых пунктов
16
+ */
17
+ visibleOptions: number;
18
+ /**
19
+ * Реф на контейнер с пунтами меню
20
+ */
21
+ listRef: RefObject<HTMLElement>;
22
+ /**
23
+ * Реф на контейнер, которому нужно установить высоту
24
+ */
25
+ styleTargetRef?: RefObject<HTMLElement>;
26
+ /**
27
+ * Флаг открытия меню
28
+ */
29
+ open?: boolean;
30
+ /**
31
+ * Позволяет вызвать пересчет высоты
32
+ */
33
+ invalidate?: unknown;
34
+ };
35
+ declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
36
+ declare function usePrevious<T>(value: T): T | undefined;
37
+ declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
38
+ export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
@@ -20,6 +20,24 @@ require('./components/select-field/component.js');
20
20
 
21
21
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
22
22
 
23
+ function _interopNamespaceCompat(e) {
24
+ if (e && typeof e === 'object' && 'default' in e) return e;
25
+ var n = Object.create(null);
26
+ if (e) {
27
+ Object.keys(e).forEach(function (k) {
28
+ if (k !== 'default') {
29
+ var d = Object.getOwnPropertyDescriptor(e, k);
30
+ Object.defineProperty(n, k, d.get ? d : {
31
+ enumerable: true,
32
+ get: function () { return e[k]; }
33
+ });
34
+ }
35
+ });
36
+ }
37
+ n.default = e;
38
+ return Object.freeze(n);
39
+ }
40
+
23
41
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
24
42
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
25
43
  var WorldMagnifierMIcon__default = /*#__PURE__*/_interopDefaultCompat(WorldMagnifierMIcon);
@@ -291,7 +309,7 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
291
309
  React.useEffect(function () {
292
310
  if (phoneLibUtils.current)
293
311
  return;
294
- import(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')
312
+ Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceCompat(require(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')); })
295
313
  .then(function (utils) {
296
314
  phoneLibUtils.current = utils.AsYouType;
297
315
  if (canBeEmptyCountry) {
@@ -24,6 +24,24 @@ require('./components/select/index.module.css');
24
24
 
25
25
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
26
26
 
27
+ function _interopNamespaceCompat(e) {
28
+ if (e && typeof e === 'object' && 'default' in e) return e;
29
+ var n = Object.create(null);
30
+ if (e) {
31
+ Object.keys(e).forEach(function (k) {
32
+ if (k !== 'default') {
33
+ var d = Object.getOwnPropertyDescriptor(e, k);
34
+ Object.defineProperty(n, k, d.get ? d : {
35
+ enumerable: true,
36
+ get: function () { return e[k]; }
37
+ });
38
+ }
39
+ });
40
+ }
41
+ n.default = e;
42
+ return Object.freeze(n);
43
+ }
44
+
27
45
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
28
46
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
29
47
  var WorldMagnifierMIcon__default = /*#__PURE__*/_interopDefaultCompat(WorldMagnifierMIcon);
@@ -293,7 +311,7 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
293
311
  React.useEffect(function () {
294
312
  if (phoneLibUtils.current)
295
313
  return;
296
- import(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')
314
+ Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceCompat(require(/* webpackChunkName: "libphonenumber" */ 'libphonenumber-js/min')); })
297
315
  .then(function (utils) {
298
316
  phoneLibUtils.current = utils.AsYouType;
299
317
  if (canBeEmptyCountry) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components",
3
- "version": "41.14.1-beta.4",
3
+ "version": "41.14.1-beta.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonProps } from "../../../button";
3
- import { FieldProps as BaseFieldProps } from "../typings-97157410";
3
+ import { FieldProps as BaseFieldProps } from "../typings-5e1b8383";
4
4
  import { PickerButtonSize, PickerButtonVariant } from "../Component";
5
5
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
6
6
  buttonSize?: PickerButtonSize;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { FC, SVGProps } from 'react';
3
- import { OptionShape } from "../typings-97157410";
4
- import { OptionProps as BaseOptionProps } from "../typings-97157410";
3
+ import { OptionShape } from "../typings-5e1b8383";
4
+ import { OptionProps as BaseOptionProps } from "../typings-5e1b8383";
5
5
  type OptionProps = Omit<BaseOptionProps, 'option'> & {
6
6
  option: OptionShape & {
7
7
  icon?: FC<SVGProps<SVGSVGElement>>;
@@ -474,10 +474,6 @@ type OptionShape = {
474
474
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
475
475
  */
476
476
  showCheckMark?: boolean;
477
- /**
478
- * Обработчик клика по option
479
- */
480
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
481
477
  /**
482
478
  * Дополнительные данные
483
479
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonProps } from "../../../button";
3
- import { FieldProps as BaseFieldProps } from "../typings-97157410";
3
+ import { FieldProps as BaseFieldProps } from "../typings-5e1b8383";
4
4
  import { PickerButtonSize, PickerButtonVariant } from "../Component";
5
5
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
6
6
  buttonSize?: PickerButtonSize;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { FC, SVGProps } from 'react';
3
- import { OptionShape } from "../typings-97157410";
4
- import { OptionProps as BaseOptionProps } from "../typings-97157410";
3
+ import { OptionShape } from "../typings-5e1b8383";
4
+ import { OptionProps as BaseOptionProps } from "../typings-5e1b8383";
5
5
  type OptionProps = Omit<BaseOptionProps, 'option'> & {
6
6
  option: OptionShape & {
7
7
  icon?: FC<SVGProps<SVGSVGElement>>;
@@ -474,10 +474,6 @@ type OptionShape = {
474
474
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
475
475
  */
476
476
  showCheckMark?: boolean;
477
- /**
478
- * Обработчик клика по option
479
- */
480
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
481
477
  /**
482
478
  * Дополнительные данные
483
479
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonProps } from "../../button";
3
- import { FieldProps as BaseFieldProps } from "../typings-97157410";
3
+ import { FieldProps as BaseFieldProps } from "../typings-5e1b8383";
4
4
  import { PickerButtonSize, PickerButtonVariant } from "../Component";
5
5
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
6
6
  buttonSize?: PickerButtonSize;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonProps } from "../../../button";
3
- import { FieldProps as BaseFieldProps } from "../typings-97157410";
3
+ import { FieldProps as BaseFieldProps } from "../typings-5e1b8383";
4
4
  import { PickerButtonSize, PickerButtonVariant } from "../Component";
5
5
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
6
6
  buttonSize?: PickerButtonSize;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { FC, SVGProps } from 'react';
3
- import { OptionShape } from "../typings-97157410";
4
- import { OptionProps as BaseOptionProps } from "../typings-97157410";
3
+ import { OptionShape } from "../typings-5e1b8383";
4
+ import { OptionProps as BaseOptionProps } from "../typings-5e1b8383";
5
5
  type OptionProps = Omit<BaseOptionProps, 'option'> & {
6
6
  option: OptionShape & {
7
7
  icon?: FC<SVGProps<SVGSVGElement>>;
@@ -474,10 +474,6 @@ type OptionShape = {
474
474
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
475
475
  */
476
476
  showCheckMark?: boolean;
477
- /**
478
- * Обработчик клика по option
479
- */
480
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
481
477
  /**
482
478
  * Дополнительные данные
483
479
  */
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { FC, SVGProps } from 'react';
3
- import { OptionShape } from "../typings-97157410";
4
- import { OptionProps as BaseOptionProps } from "../typings-97157410";
3
+ import { OptionShape } from "../typings-5e1b8383";
4
+ import { OptionProps as BaseOptionProps } from "../typings-5e1b8383";
5
5
  type OptionProps = Omit<BaseOptionProps, 'option'> & {
6
6
  option: OptionShape & {
7
7
  icon?: FC<SVGProps<SVGSVGElement>>;
@@ -474,10 +474,6 @@ type OptionShape = {
474
474
  * Разрешает показ компонента Checkmark, иногда нужно его убирать для показа контента ошибки или пустого состояния
475
475
  */
476
476
  showCheckMark?: boolean;
477
- /**
478
- * Обработчик клика по option
479
- */
480
- onOptionClick?: (payload: BaseSelectChangePayload) => void;
481
477
  /**
482
478
  * Дополнительные данные
483
479
  */