@alfalab/core-components 47.21.0-beta.1 → 47.21.0-beta.3

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 (393) hide show
  1. package/calendar-input/components/calendar-input/Component.d.ts +1 -1
  2. package/gallery/components/image-viewer/component.js +1 -1
  3. package/gallery/components/image-viewer/slide.js +1 -1
  4. package/gallery/esm/Component.js +1 -1
  5. package/gallery/esm/components/image-viewer/component.js +1 -1
  6. package/gallery/esm/components/image-viewer/index.js +1 -1
  7. package/gallery/esm/components/image-viewer/slide.js +1 -1
  8. package/gallery/esm/components/index.js +1 -1
  9. package/gallery/esm/index.js +1 -1
  10. package/gallery/modern/Component.js +1 -1
  11. package/gallery/modern/components/image-viewer/component.js +1 -1
  12. package/gallery/modern/components/image-viewer/index.js +1 -1
  13. package/gallery/modern/components/image-viewer/slide.js +1 -1
  14. package/gallery/modern/components/index.js +1 -1
  15. package/gallery/modern/index.js +1 -1
  16. package/international-phone-input/{esm/utils-432f5a00.d.ts → cssm/utils-34f6b81b.d.ts} +0 -1
  17. package/international-phone-input/{modern/utils-432f5a00.d.ts → esm/utils-34f6b81b.d.ts} +0 -1
  18. package/international-phone-input/{cssm/utils-432f5a00.d.ts → modern/utils-34f6b81b.d.ts} +0 -1
  19. package/international-phone-input/moderncssm/{utils-432f5a00.d.ts → utils-34f6b81b.d.ts} +0 -1
  20. package/international-phone-input/utils-34f6b81b.d.ts +82 -0
  21. package/modal/components/controls/Component.js +1 -1
  22. package/modal/components/footer/Component.js +1 -1
  23. package/modal/esm/Component.responsive.js +1 -1
  24. package/modal/esm/components/controls/Component.js +1 -1
  25. package/modal/esm/components/controls/index.js +1 -1
  26. package/modal/esm/components/footer/Component.js +1 -1
  27. package/modal/esm/desktop/Component.desktop.js +1 -1
  28. package/modal/esm/desktop/index.js +1 -1
  29. package/modal/esm/index.js +1 -1
  30. package/modal/esm/mobile/Component.mobile.js +1 -1
  31. package/modal/esm/mobile/index.js +1 -1
  32. package/modal/modern/Component.responsive.js +1 -1
  33. package/modal/modern/components/controls/Component.js +1 -1
  34. package/modal/modern/components/controls/index.js +1 -1
  35. package/modal/modern/components/footer/Component.js +1 -1
  36. package/modal/modern/desktop/Component.desktop.js +1 -1
  37. package/modal/modern/desktop/index.js +1 -1
  38. package/modal/modern/index.js +1 -1
  39. package/modal/modern/mobile/Component.mobile.js +1 -1
  40. package/modal/modern/mobile/index.js +1 -1
  41. package/package.json +1 -1
  42. package/picker-button/cssm/utils-34f6b81b.d.ts +82 -0
  43. package/picker-button/esm/utils-34f6b81b.d.ts +82 -0
  44. package/picker-button/modern/utils-34f6b81b.d.ts +82 -0
  45. package/picker-button/moderncssm/utils-34f6b81b.d.ts +82 -0
  46. package/picker-button/typings-7d83ec1e.d.ts +1 -1
  47. package/picker-button/utils-34f6b81b.d.ts +82 -0
  48. package/plate/Component.responsive.js +1 -1
  49. package/plate/components/base-plate/Component.js +1 -1
  50. package/plate/esm/Component.responsive.js +1 -1
  51. package/plate/esm/components/base-plate/Component.js +1 -1
  52. package/plate/esm/components/base-plate/index.js +1 -1
  53. package/plate/esm/desktop/Component.desktop.js +1 -1
  54. package/plate/esm/desktop/index.js +1 -1
  55. package/plate/esm/index-ba3cd492.d.ts +2 -2
  56. package/plate/esm/index.js +1 -1
  57. package/plate/esm/mobile/Component.mobile.js +1 -1
  58. package/plate/esm/mobile/index.js +1 -1
  59. package/plate/esm/shared/index.js +1 -1
  60. package/plate/esm/utils.js +1 -1
  61. package/plate/index-ba3cd492.d.ts +2 -2
  62. package/plate/modern/Component.responsive.js +1 -1
  63. package/plate/modern/components/base-plate/Component.js +1 -1
  64. package/plate/modern/components/base-plate/index.js +1 -1
  65. package/plate/modern/desktop/Component.desktop.js +1 -1
  66. package/plate/modern/desktop/index.js +1 -1
  67. package/plate/modern/index-ba3cd492.d.ts +2 -2
  68. package/plate/modern/index.js +1 -1
  69. package/plate/modern/mobile/Component.mobile.js +1 -1
  70. package/plate/modern/mobile/index.js +1 -1
  71. package/plate/modern/shared/index.js +1 -1
  72. package/plate/modern/utils.js +1 -1
  73. package/plate/utils.js +1 -1
  74. package/pure-cell/component.js +1 -1
  75. package/pure-cell/components/addon/component.js +1 -1
  76. package/pure-cell/components/addon/index.d.ts +1 -1
  77. package/pure-cell/components/addon/index.js +1 -1
  78. package/pure-cell/components/amount/component.js +1 -1
  79. package/pure-cell/components/amount/index.d.ts +1 -1
  80. package/pure-cell/components/amount/index.js +1 -1
  81. package/pure-cell/components/amount-title/component.js +1 -1
  82. package/pure-cell/components/amount-title/index.d.ts +1 -1
  83. package/pure-cell/components/amount-title/index.js +1 -1
  84. package/pure-cell/components/category/component.js +1 -1
  85. package/pure-cell/components/category/index.d.ts +1 -1
  86. package/pure-cell/components/category/index.js +1 -1
  87. package/pure-cell/components/content/component.js +1 -1
  88. package/pure-cell/components/content/index.d.ts +1 -1
  89. package/pure-cell/components/content/index.js +1 -1
  90. package/pure-cell/components/footer/component.js +1 -1
  91. package/pure-cell/components/footer/index.d.ts +1 -1
  92. package/pure-cell/components/footer/index.js +1 -1
  93. package/pure-cell/components/footer-button/component.js +1 -1
  94. package/pure-cell/components/footer-button/index.d.ts +1 -1
  95. package/pure-cell/components/footer-button/index.js +1 -1
  96. package/pure-cell/components/footer-text/component.js +1 -1
  97. package/pure-cell/components/footer-text/index.d.ts +1 -1
  98. package/pure-cell/components/footer-text/index.js +1 -1
  99. package/pure-cell/components/graphics/component.js +1 -1
  100. package/pure-cell/components/graphics/index.d.ts +1 -1
  101. package/pure-cell/components/graphics/index.js +1 -1
  102. package/pure-cell/components/main/component.js +1 -1
  103. package/pure-cell/components/main/index.d.ts +1 -1
  104. package/pure-cell/components/main/index.js +1 -1
  105. package/pure-cell/components/text/component.js +1 -1
  106. package/pure-cell/components/text/index.d.ts +1 -1
  107. package/pure-cell/components/text/index.js +1 -1
  108. package/pure-cell/esm/component.js +1 -1
  109. package/pure-cell/esm/components/addon/component.js +1 -1
  110. package/pure-cell/esm/components/addon/index.d.ts +1 -1
  111. package/pure-cell/esm/components/addon/index.js +1 -1
  112. package/pure-cell/esm/components/amount/component.js +1 -1
  113. package/pure-cell/esm/components/amount/index.d.ts +1 -1
  114. package/pure-cell/esm/components/amount/index.js +1 -1
  115. package/pure-cell/esm/components/amount-title/component.js +1 -1
  116. package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
  117. package/pure-cell/esm/components/amount-title/index.js +1 -1
  118. package/pure-cell/esm/components/category/component.js +1 -1
  119. package/pure-cell/esm/components/category/index.d.ts +1 -1
  120. package/pure-cell/esm/components/category/index.js +1 -1
  121. package/pure-cell/esm/components/content/component.js +1 -1
  122. package/pure-cell/esm/components/content/index.d.ts +1 -1
  123. package/pure-cell/esm/components/content/index.js +1 -1
  124. package/pure-cell/esm/components/footer/component.js +1 -1
  125. package/pure-cell/esm/components/footer/index.d.ts +1 -1
  126. package/pure-cell/esm/components/footer/index.js +1 -1
  127. package/pure-cell/esm/components/footer-button/component.js +1 -1
  128. package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
  129. package/pure-cell/esm/components/footer-button/index.js +1 -1
  130. package/pure-cell/esm/components/footer-text/component.js +1 -1
  131. package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
  132. package/pure-cell/esm/components/footer-text/index.js +1 -1
  133. package/pure-cell/esm/components/graphics/component.js +1 -1
  134. package/pure-cell/esm/components/graphics/index.d.ts +1 -1
  135. package/pure-cell/esm/components/graphics/index.js +1 -1
  136. package/pure-cell/esm/components/main/component.js +1 -1
  137. package/pure-cell/esm/components/main/index.d.ts +1 -1
  138. package/pure-cell/esm/components/main/index.js +1 -1
  139. package/pure-cell/esm/components/text/component.js +1 -1
  140. package/pure-cell/esm/components/text/index.d.ts +1 -1
  141. package/pure-cell/esm/components/text/index.js +1 -1
  142. package/pure-cell/esm/index.js +1 -1
  143. package/pure-cell/index.js +1 -1
  144. package/pure-cell/modern/component.js +1 -1
  145. package/pure-cell/modern/components/addon/component.js +1 -1
  146. package/pure-cell/modern/components/addon/index.d.ts +1 -1
  147. package/pure-cell/modern/components/addon/index.js +1 -1
  148. package/pure-cell/modern/components/amount/component.js +1 -1
  149. package/pure-cell/modern/components/amount/index.d.ts +1 -1
  150. package/pure-cell/modern/components/amount/index.js +1 -1
  151. package/pure-cell/modern/components/amount-title/component.js +1 -1
  152. package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
  153. package/pure-cell/modern/components/amount-title/index.js +1 -1
  154. package/pure-cell/modern/components/category/component.js +1 -1
  155. package/pure-cell/modern/components/category/index.d.ts +1 -1
  156. package/pure-cell/modern/components/category/index.js +1 -1
  157. package/pure-cell/modern/components/content/component.js +1 -1
  158. package/pure-cell/modern/components/content/index.d.ts +1 -1
  159. package/pure-cell/modern/components/content/index.js +1 -1
  160. package/pure-cell/modern/components/footer/component.js +1 -1
  161. package/pure-cell/modern/components/footer/index.d.ts +1 -1
  162. package/pure-cell/modern/components/footer/index.js +1 -1
  163. package/pure-cell/modern/components/footer-button/component.js +1 -1
  164. package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
  165. package/pure-cell/modern/components/footer-button/index.js +1 -1
  166. package/pure-cell/modern/components/footer-text/component.js +1 -1
  167. package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
  168. package/pure-cell/modern/components/footer-text/index.js +1 -1
  169. package/pure-cell/modern/components/graphics/component.js +1 -1
  170. package/pure-cell/modern/components/graphics/index.d.ts +1 -1
  171. package/pure-cell/modern/components/graphics/index.js +1 -1
  172. package/pure-cell/modern/components/main/component.js +1 -1
  173. package/pure-cell/modern/components/main/index.d.ts +1 -1
  174. package/pure-cell/modern/components/main/index.js +1 -1
  175. package/pure-cell/modern/components/text/component.js +1 -1
  176. package/pure-cell/modern/components/text/index.d.ts +1 -1
  177. package/pure-cell/modern/components/text/index.js +1 -1
  178. package/pure-cell/modern/index.js +1 -1
  179. package/select/components/base-select/Component.js +2 -2
  180. package/select/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  181. package/select/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  182. package/select/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  183. package/select/{modern/hook-7e77c1d2.d.ts → cssm/hook-184c14eb.d.ts} +1 -5
  184. package/select/{hook-a10897e5.js → cssm/hook-a7a71737.js} +1 -5
  185. package/select/cssm/mobile/Component.mobile.js +1 -1
  186. package/select/cssm/presets/index.d.ts +1 -1
  187. package/select/cssm/presets/index.js +1 -1
  188. package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
  189. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  190. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  191. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  192. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  193. package/select/cssm/shared/index.js +1 -1
  194. package/select/cssm/typings.d.ts +1 -1
  195. package/select/cssm/utils.d.ts +0 -1
  196. package/select/cssm/utils.js +0 -1
  197. package/select/esm/Component.responsive.js +3 -3
  198. package/select/esm/components/base-select/Component.js +2 -2
  199. package/select/esm/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  200. package/select/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  201. package/select/esm/components/base-select/components/list-mobile/list-mobile.js +1 -1
  202. package/select/esm/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  203. package/select/esm/components/base-select/index.js +2 -2
  204. package/select/esm/components/index.js +2 -2
  205. package/select/esm/desktop/Component.desktop.js +2 -2
  206. package/select/esm/desktop/index.js +2 -2
  207. package/select/esm/{hook-bff3555f.js → hook-0df26050.js} +1 -5
  208. package/select/esm/{hook-7e77c1d2.d.ts → hook-184c14eb.d.ts} +1 -5
  209. package/select/esm/index.js +3 -3
  210. package/select/esm/mobile/Component.mobile.js +3 -3
  211. package/select/esm/mobile/Component.modal.mobile.js +3 -3
  212. package/select/esm/mobile/index.js +3 -3
  213. package/select/esm/presets/index.d.ts +1 -1
  214. package/select/esm/presets/index.js +1 -1
  215. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  216. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  217. package/select/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  218. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  219. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  220. package/select/esm/shared/index.js +3 -3
  221. package/select/esm/typings.d.ts +1 -1
  222. package/select/esm/utils.d.ts +0 -1
  223. package/select/esm/utils.js +0 -1
  224. package/select/{hook-7e77c1d2.d.ts → hook-184c14eb.d.ts} +1 -5
  225. package/select/{cssm/hook-ea9c21c9.js → hook-59057ecb.js} +1 -5
  226. package/select/mobile/Component.mobile.js +1 -1
  227. package/select/modern/Component.responsive.js +3 -3
  228. package/select/modern/components/base-select/Component.js +2 -2
  229. package/select/modern/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  230. package/select/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  231. package/select/modern/components/base-select/components/list-mobile/list-mobile.js +1 -1
  232. package/select/modern/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  233. package/select/modern/components/base-select/index.js +2 -2
  234. package/select/modern/components/index.js +2 -2
  235. package/select/modern/desktop/Component.desktop.js +2 -2
  236. package/select/modern/desktop/index.js +2 -2
  237. package/select/{cssm/hook-7e77c1d2.d.ts → modern/hook-184c14eb.d.ts} +1 -5
  238. package/select/modern/{hook-8eb78868.js → hook-8fb90d49.js} +1 -0
  239. package/select/modern/index.js +3 -3
  240. package/select/modern/mobile/Component.mobile.js +3 -3
  241. package/select/modern/mobile/Component.modal.mobile.js +3 -3
  242. package/select/modern/mobile/index.js +3 -3
  243. package/select/modern/presets/index.d.ts +1 -1
  244. package/select/modern/presets/index.js +1 -1
  245. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  246. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  247. package/select/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  248. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  249. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  250. package/select/modern/shared/index.js +3 -3
  251. package/select/modern/typings.d.ts +1 -1
  252. package/select/modern/utils.d.ts +0 -1
  253. package/select/modern/utils.js +0 -1
  254. package/select/moderncssm/Component.responsive.js +1 -1
  255. package/select/moderncssm/hook-184c14eb.d.ts +115 -0
  256. package/select/moderncssm/{hook-238eb00b.js → hook-839b1d63.js} +1 -0
  257. package/select/moderncssm/index.js +1 -1
  258. package/select/moderncssm/mobile/Component.mobile.js +1 -1
  259. package/select/moderncssm/mobile/Component.modal.mobile.js +1 -1
  260. package/select/moderncssm/mobile/index.js +1 -1
  261. package/select/moderncssm/presets/index.d.ts +1 -1
  262. package/select/moderncssm/presets/index.js +1 -1
  263. package/select/moderncssm/presets/useSelectWithApply/hook.js +1 -1
  264. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  265. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  266. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  267. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  268. package/select/moderncssm/shared/index.js +1 -1
  269. package/select/moderncssm/typings.d.ts +1 -1
  270. package/select/moderncssm/utils.d.ts +0 -1
  271. package/select/moderncssm/utils.js +0 -1
  272. package/select/presets/index.d.ts +1 -1
  273. package/select/presets/index.js +1 -1
  274. package/select/presets/useSelectWithApply/hook.js +1 -1
  275. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  276. package/select/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  277. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  278. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  279. package/select/shared/index.js +1 -1
  280. package/select/typings.d.ts +1 -1
  281. package/select/utils.d.ts +0 -1
  282. package/select/utils.js +0 -1
  283. package/side-panel/components/controls/Component.js +1 -1
  284. package/side-panel/components/footer/Component.js +1 -1
  285. package/side-panel/esm/Component.responsive.js +1 -1
  286. package/side-panel/esm/components/controls/Component.js +1 -1
  287. package/side-panel/esm/components/controls/index.js +1 -1
  288. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  289. package/side-panel/esm/components/footer/Component.js +1 -1
  290. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  291. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  292. package/side-panel/esm/desktop/index.js +1 -1
  293. package/side-panel/esm/index.js +1 -1
  294. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  295. package/side-panel/esm/mobile/index.js +1 -1
  296. package/side-panel/modern/Component.responsive.js +1 -1
  297. package/side-panel/modern/components/controls/Component.js +1 -1
  298. package/side-panel/modern/components/controls/index.js +1 -1
  299. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  300. package/side-panel/modern/components/footer/Component.js +1 -1
  301. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  302. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  303. package/side-panel/modern/desktop/index.js +1 -1
  304. package/side-panel/modern/index.js +1 -1
  305. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  306. package/side-panel/modern/mobile/index.js +1 -1
  307. package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
  308. package/tabs/components/primary-tablist/Component.desktop.js +1 -1
  309. package/tabs/components/primary-tablist/Component.mobile.js +1 -1
  310. package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
  311. package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
  312. package/tabs/esm/collapsible/index.js +1 -1
  313. package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
  314. package/tabs/esm/components/primary-tablist/Component.desktop.js +1 -1
  315. package/tabs/esm/components/primary-tablist/Component.mobile.js +1 -1
  316. package/tabs/esm/components/primary-tablist/Component.responsive.js +1 -1
  317. package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
  318. package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
  319. package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
  320. package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
  321. package/tabs/esm/components/tabs/Component.desktop.js +2 -2
  322. package/tabs/esm/components/tabs/Component.mobile.js +2 -2
  323. package/tabs/esm/components/tabs/Component.responsive.js +2 -2
  324. package/tabs/esm/desktop/index.js +2 -2
  325. package/tabs/esm/index.js +2 -2
  326. package/tabs/esm/mobile/index.js +2 -2
  327. package/tabs/modern/collapsible/index.js +1 -1
  328. package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
  329. package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
  330. package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
  331. package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
  332. package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
  333. package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
  334. package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
  335. package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
  336. package/tabs/modern/components/tabs/Component.desktop.js +2 -2
  337. package/tabs/modern/components/tabs/Component.mobile.js +2 -2
  338. package/tabs/modern/components/tabs/Component.responsive.js +2 -2
  339. package/tabs/modern/desktop/index.js +2 -2
  340. package/tabs/modern/index.js +2 -2
  341. package/tabs/modern/mobile/index.js +2 -2
  342. package/themes/compiled/mobile-dark-bluetint.css +171 -32
  343. package/international-phone-input/utils-432f5a00.d.ts +0 -83
  344. package/picker-button/cssm/utils-432f5a00.d.ts +0 -83
  345. package/picker-button/esm/utils-432f5a00.d.ts +0 -83
  346. package/picker-button/modern/utils-432f5a00.d.ts +0 -83
  347. package/picker-button/moderncssm/utils-432f5a00.d.ts +0 -83
  348. package/picker-button/utils-432f5a00.d.ts +0 -83
  349. package/select/moderncssm/hook-7e77c1d2.d.ts +0 -119
  350. /package/gallery/esm/{slide-4772c370.d.ts → slide-32db2c3e.d.ts} +0 -0
  351. /package/gallery/esm/{slide-4772c370.js → slide-32db2c3e.js} +0 -0
  352. /package/gallery/modern/{slide-cf607866.d.ts → slide-4f756d10.d.ts} +0 -0
  353. /package/gallery/modern/{slide-cf607866.js → slide-4f756d10.js} +0 -0
  354. /package/gallery/{slide-eb403352.d.ts → slide-a134d15c.d.ts} +0 -0
  355. /package/gallery/{slide-eb403352.js → slide-a134d15c.js} +0 -0
  356. /package/modal/esm/{layout.module-1b8af8db.js → layout.module-0416d11b.js} +0 -0
  357. /package/modal/{layout.module-f47c9f23.js → layout.module-e36da4ee.js} +0 -0
  358. /package/modal/modern/{layout.module-b513d03e.js → layout.module-03915939.js} +0 -0
  359. /package/plate/{PortalContext-8ec9a1d0.d.ts → PortalContext-5d8c7d7e.d.ts} +0 -0
  360. /package/plate/{PortalContext-8ec9a1d0.js → PortalContext-5d8c7d7e.js} +0 -0
  361. /package/plate/esm/{PortalContext-725157cc.d.ts → PortalContext-fb0fccc1.d.ts} +0 -0
  362. /package/plate/esm/{PortalContext-725157cc.js → PortalContext-fb0fccc1.js} +0 -0
  363. /package/plate/modern/{PortalContext-a82eb34a.d.ts → PortalContext-f482d7df.d.ts} +0 -0
  364. /package/plate/modern/{PortalContext-a82eb34a.js → PortalContext-f482d7df.js} +0 -0
  365. /package/pure-cell/{component-fa3c9d50.d.ts → component-9771c24c.d.ts} +0 -0
  366. /package/pure-cell/{component-fa3c9d50.js → component-9771c24c.js} +0 -0
  367. /package/pure-cell/esm/{component-d0ac4f2a.d.ts → component-861898c6.d.ts} +0 -0
  368. /package/pure-cell/esm/{component-d0ac4f2a.js → component-861898c6.js} +0 -0
  369. /package/pure-cell/modern/{component-710e8834.d.ts → component-48e46904.d.ts} +0 -0
  370. /package/pure-cell/modern/{component-710e8834.js → component-48e46904.js} +0 -0
  371. /package/select/cssm/{hook-ea9c21c9.d.ts → hook-a7a71737.d.ts} +0 -0
  372. /package/select/esm/{hook-bff3555f.d.ts → hook-0df26050.d.ts} +0 -0
  373. /package/select/esm/{list-popover-desktop-f5290b76.d.ts → list-popover-desktop-bcef5e3a.d.ts} +0 -0
  374. /package/select/esm/{list-popover-desktop-f5290b76.js → list-popover-desktop-bcef5e3a.js} +0 -0
  375. /package/select/esm/{mobile.module-d52c53ce.js → mobile.module-0f224512.js} +0 -0
  376. /package/select/{hook-a10897e5.d.ts → hook-59057ecb.d.ts} +0 -0
  377. /package/select/{list-popover-desktop-3b998fd2.d.ts → list-popover-desktop-0103f59e.d.ts} +0 -0
  378. /package/select/{list-popover-desktop-3b998fd2.js → list-popover-desktop-0103f59e.js} +0 -0
  379. /package/select/{mobile.module-9e0e9502.js → mobile.module-9c00e741.js} +0 -0
  380. /package/select/modern/{hook-8eb78868.d.ts → hook-8fb90d49.d.ts} +0 -0
  381. /package/select/modern/{list-popover-desktop-d7053c94.d.ts → list-popover-desktop-235bce95.d.ts} +0 -0
  382. /package/select/modern/{list-popover-desktop-d7053c94.js → list-popover-desktop-235bce95.js} +0 -0
  383. /package/select/modern/{mobile.module-01500536.js → mobile.module-5037f07a.js} +0 -0
  384. /package/select/moderncssm/{hook-238eb00b.d.ts → hook-839b1d63.d.ts} +0 -0
  385. /package/side-panel/esm/{layout.module-b525d06f.js → layout.module-e591f29b.js} +0 -0
  386. /package/side-panel/{layout.module-b5d98f23.js → layout.module-27205bb2.js} +0 -0
  387. /package/side-panel/modern/{layout.module-88d621e2.js → layout.module-299cfa69.js} +0 -0
  388. /package/tabs/esm/{index.module-d8cc5606.js → index.module-18c112f9.js} +0 -0
  389. /package/tabs/esm/{index.module-fe27c21d.js → index.module-f5b32893.js} +0 -0
  390. /package/tabs/{index.module-275989bb.js → index.module-009ccd4a.js} +0 -0
  391. /package/tabs/{index.module-bca16a45.js → index.module-15d90837.js} +0 -0
  392. /package/tabs/modern/{index.module-c7314bc9.js → index.module-4046a518.js} +0 -0
  393. /package/tabs/modern/{index.module-10472f29.js → index.module-e2d9e659.js} +0 -0
@@ -1,83 +0,0 @@
1
- import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
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'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
- filteredOptions: (OptionShape | GroupShape)[];
11
- flatOptions: OptionShape[];
12
- selectedOptions: OptionShape[];
13
- };
14
- type useVisibleOptionsArgs = {
15
- /**
16
- * Количество видимых пунктов
17
- */
18
- visibleOptions: number;
19
- /**
20
- * Реф на контейнер с пунтами меню
21
- */
22
- listRef: RefObject<HTMLElement>;
23
- /**
24
- * Реф на контейнер, которому нужно установить высоту
25
- */
26
- styleTargetRef?: RefObject<HTMLElement>;
27
- /**
28
- * Флаг открытия меню
29
- */
30
- open?: boolean;
31
- /**
32
- * Позволяет вызвать пересчет высоты
33
- */
34
- invalidate?: unknown;
35
- /**
36
- * Список вариантов выбора
37
- */
38
- options?: Array<OptionShape | GroupShape>;
39
- /**
40
- * Максимальный размер варианта выбора
41
- */
42
- size?: Extract<OptionsListProps['size'], number>;
43
- /**
44
- * Учитывать действительное число вариантов выбора
45
- */
46
- actualOptionsCount?: boolean;
47
- };
48
- declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
49
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
50
- declare function defaultFilterFn(optionText: string, search: string): boolean;
51
- declare function defaultGroupAccessor(option: GroupShape): string | undefined;
52
- declare function defaultAccessor(option: OptionShape): string;
53
- declare function usePrevious<T>(value: T): T | undefined;
54
- declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
55
- declare function getSelectTestIds(dataTestId: string): {
56
- select: string;
57
- option: string;
58
- optionsList: string;
59
- clearButton: string;
60
- applyButton: string;
61
- field: string;
62
- fieldFormControl: string;
63
- fieldLeftAddons: string;
64
- fieldRightAddons: string;
65
- fieldError: string;
66
- fieldHint: string;
67
- fieldClearIcon: string;
68
- headerSelectAll: string;
69
- searchInput: string;
70
- searchFormControl: string;
71
- searchInner: string;
72
- searchLeftAddons: string;
73
- searchRightAddons: string;
74
- searchError: string;
75
- searchHint: string;
76
- bottomSheet: string;
77
- bottomSheetHeader: string;
78
- bottomSheetContent: string;
79
- modal: string;
80
- modalHeader: string;
81
- modalContent: string;
82
- };
83
- export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
@@ -1,83 +0,0 @@
1
- import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
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'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
- filteredOptions: (OptionShape | GroupShape)[];
11
- flatOptions: OptionShape[];
12
- selectedOptions: OptionShape[];
13
- };
14
- type useVisibleOptionsArgs = {
15
- /**
16
- * Количество видимых пунктов
17
- */
18
- visibleOptions: number;
19
- /**
20
- * Реф на контейнер с пунтами меню
21
- */
22
- listRef: RefObject<HTMLElement>;
23
- /**
24
- * Реф на контейнер, которому нужно установить высоту
25
- */
26
- styleTargetRef?: RefObject<HTMLElement>;
27
- /**
28
- * Флаг открытия меню
29
- */
30
- open?: boolean;
31
- /**
32
- * Позволяет вызвать пересчет высоты
33
- */
34
- invalidate?: unknown;
35
- /**
36
- * Список вариантов выбора
37
- */
38
- options?: Array<OptionShape | GroupShape>;
39
- /**
40
- * Максимальный размер варианта выбора
41
- */
42
- size?: Extract<OptionsListProps['size'], number>;
43
- /**
44
- * Учитывать действительное число вариантов выбора
45
- */
46
- actualOptionsCount?: boolean;
47
- };
48
- declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
49
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
50
- declare function defaultFilterFn(optionText: string, search: string): boolean;
51
- declare function defaultGroupAccessor(option: GroupShape): string | undefined;
52
- declare function defaultAccessor(option: OptionShape): string;
53
- declare function usePrevious<T>(value: T): T | undefined;
54
- declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
55
- declare function getSelectTestIds(dataTestId: string): {
56
- select: string;
57
- option: string;
58
- optionsList: string;
59
- clearButton: string;
60
- applyButton: string;
61
- field: string;
62
- fieldFormControl: string;
63
- fieldLeftAddons: string;
64
- fieldRightAddons: string;
65
- fieldError: string;
66
- fieldHint: string;
67
- fieldClearIcon: string;
68
- headerSelectAll: string;
69
- searchInput: string;
70
- searchFormControl: string;
71
- searchInner: string;
72
- searchLeftAddons: string;
73
- searchRightAddons: string;
74
- searchError: string;
75
- searchHint: string;
76
- bottomSheet: string;
77
- bottomSheetHeader: string;
78
- bottomSheetContent: string;
79
- modal: string;
80
- modalHeader: string;
81
- modalContent: string;
82
- };
83
- export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
@@ -1,83 +0,0 @@
1
- import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
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'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
- filteredOptions: (OptionShape | GroupShape)[];
11
- flatOptions: OptionShape[];
12
- selectedOptions: OptionShape[];
13
- };
14
- type useVisibleOptionsArgs = {
15
- /**
16
- * Количество видимых пунктов
17
- */
18
- visibleOptions: number;
19
- /**
20
- * Реф на контейнер с пунтами меню
21
- */
22
- listRef: RefObject<HTMLElement>;
23
- /**
24
- * Реф на контейнер, которому нужно установить высоту
25
- */
26
- styleTargetRef?: RefObject<HTMLElement>;
27
- /**
28
- * Флаг открытия меню
29
- */
30
- open?: boolean;
31
- /**
32
- * Позволяет вызвать пересчет высоты
33
- */
34
- invalidate?: unknown;
35
- /**
36
- * Список вариантов выбора
37
- */
38
- options?: Array<OptionShape | GroupShape>;
39
- /**
40
- * Максимальный размер варианта выбора
41
- */
42
- size?: Extract<OptionsListProps['size'], number>;
43
- /**
44
- * Учитывать действительное число вариантов выбора
45
- */
46
- actualOptionsCount?: boolean;
47
- };
48
- declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
49
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
50
- declare function defaultFilterFn(optionText: string, search: string): boolean;
51
- declare function defaultGroupAccessor(option: GroupShape): string | undefined;
52
- declare function defaultAccessor(option: OptionShape): string;
53
- declare function usePrevious<T>(value: T): T | undefined;
54
- declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
55
- declare function getSelectTestIds(dataTestId: string): {
56
- select: string;
57
- option: string;
58
- optionsList: string;
59
- clearButton: string;
60
- applyButton: string;
61
- field: string;
62
- fieldFormControl: string;
63
- fieldLeftAddons: string;
64
- fieldRightAddons: string;
65
- fieldError: string;
66
- fieldHint: string;
67
- fieldClearIcon: string;
68
- headerSelectAll: string;
69
- searchInput: string;
70
- searchFormControl: string;
71
- searchInner: string;
72
- searchLeftAddons: string;
73
- searchRightAddons: string;
74
- searchError: string;
75
- searchHint: string;
76
- bottomSheet: string;
77
- bottomSheetHeader: string;
78
- bottomSheetContent: string;
79
- modal: string;
80
- modalHeader: string;
81
- modalContent: string;
82
- };
83
- export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
@@ -1,83 +0,0 @@
1
- import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
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'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
- filteredOptions: (OptionShape | GroupShape)[];
11
- flatOptions: OptionShape[];
12
- selectedOptions: OptionShape[];
13
- };
14
- type useVisibleOptionsArgs = {
15
- /**
16
- * Количество видимых пунктов
17
- */
18
- visibleOptions: number;
19
- /**
20
- * Реф на контейнер с пунтами меню
21
- */
22
- listRef: RefObject<HTMLElement>;
23
- /**
24
- * Реф на контейнер, которому нужно установить высоту
25
- */
26
- styleTargetRef?: RefObject<HTMLElement>;
27
- /**
28
- * Флаг открытия меню
29
- */
30
- open?: boolean;
31
- /**
32
- * Позволяет вызвать пересчет высоты
33
- */
34
- invalidate?: unknown;
35
- /**
36
- * Список вариантов выбора
37
- */
38
- options?: Array<OptionShape | GroupShape>;
39
- /**
40
- * Максимальный размер варианта выбора
41
- */
42
- size?: Extract<OptionsListProps['size'], number>;
43
- /**
44
- * Учитывать действительное число вариантов выбора
45
- */
46
- actualOptionsCount?: boolean;
47
- };
48
- declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
49
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
50
- declare function defaultFilterFn(optionText: string, search: string): boolean;
51
- declare function defaultGroupAccessor(option: GroupShape): string | undefined;
52
- declare function defaultAccessor(option: OptionShape): string;
53
- declare function usePrevious<T>(value: T): T | undefined;
54
- declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
55
- declare function getSelectTestIds(dataTestId: string): {
56
- select: string;
57
- option: string;
58
- optionsList: string;
59
- clearButton: string;
60
- applyButton: string;
61
- field: string;
62
- fieldFormControl: string;
63
- fieldLeftAddons: string;
64
- fieldRightAddons: string;
65
- fieldError: string;
66
- fieldHint: string;
67
- fieldClearIcon: string;
68
- headerSelectAll: string;
69
- searchInput: string;
70
- searchFormControl: string;
71
- searchInner: string;
72
- searchLeftAddons: string;
73
- searchRightAddons: string;
74
- searchError: string;
75
- searchHint: string;
76
- bottomSheet: string;
77
- bottomSheetHeader: string;
78
- bottomSheetContent: string;
79
- modal: string;
80
- modalHeader: string;
81
- modalContent: string;
82
- };
83
- export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
@@ -1,83 +0,0 @@
1
- import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
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'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
- filteredOptions: (OptionShape | GroupShape)[];
11
- flatOptions: OptionShape[];
12
- selectedOptions: OptionShape[];
13
- };
14
- type useVisibleOptionsArgs = {
15
- /**
16
- * Количество видимых пунктов
17
- */
18
- visibleOptions: number;
19
- /**
20
- * Реф на контейнер с пунтами меню
21
- */
22
- listRef: RefObject<HTMLElement>;
23
- /**
24
- * Реф на контейнер, которому нужно установить высоту
25
- */
26
- styleTargetRef?: RefObject<HTMLElement>;
27
- /**
28
- * Флаг открытия меню
29
- */
30
- open?: boolean;
31
- /**
32
- * Позволяет вызвать пересчет высоты
33
- */
34
- invalidate?: unknown;
35
- /**
36
- * Список вариантов выбора
37
- */
38
- options?: Array<OptionShape | GroupShape>;
39
- /**
40
- * Максимальный размер варианта выбора
41
- */
42
- size?: Extract<OptionsListProps['size'], number>;
43
- /**
44
- * Учитывать действительное число вариантов выбора
45
- */
46
- actualOptionsCount?: boolean;
47
- };
48
- declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
49
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
50
- declare function defaultFilterFn(optionText: string, search: string): boolean;
51
- declare function defaultGroupAccessor(option: GroupShape): string | undefined;
52
- declare function defaultAccessor(option: OptionShape): string;
53
- declare function usePrevious<T>(value: T): T | undefined;
54
- declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
55
- declare function getSelectTestIds(dataTestId: string): {
56
- select: string;
57
- option: string;
58
- optionsList: string;
59
- clearButton: string;
60
- applyButton: string;
61
- field: string;
62
- fieldFormControl: string;
63
- fieldLeftAddons: string;
64
- fieldRightAddons: string;
65
- fieldError: string;
66
- fieldHint: string;
67
- fieldClearIcon: string;
68
- headerSelectAll: string;
69
- searchInput: string;
70
- searchFormControl: string;
71
- searchInner: string;
72
- searchLeftAddons: string;
73
- searchRightAddons: string;
74
- searchError: string;
75
- searchHint: string;
76
- bottomSheet: string;
77
- bottomSheetHeader: string;
78
- bottomSheetContent: string;
79
- modal: string;
80
- modalHeader: string;
81
- modalContent: string;
82
- };
83
- export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
@@ -1,83 +0,0 @@
1
- import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
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'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
10
- filteredOptions: (OptionShape | GroupShape)[];
11
- flatOptions: OptionShape[];
12
- selectedOptions: OptionShape[];
13
- };
14
- type useVisibleOptionsArgs = {
15
- /**
16
- * Количество видимых пунктов
17
- */
18
- visibleOptions: number;
19
- /**
20
- * Реф на контейнер с пунтами меню
21
- */
22
- listRef: RefObject<HTMLElement>;
23
- /**
24
- * Реф на контейнер, которому нужно установить высоту
25
- */
26
- styleTargetRef?: RefObject<HTMLElement>;
27
- /**
28
- * Флаг открытия меню
29
- */
30
- open?: boolean;
31
- /**
32
- * Позволяет вызвать пересчет высоты
33
- */
34
- invalidate?: unknown;
35
- /**
36
- * Список вариантов выбора
37
- */
38
- options?: Array<OptionShape | GroupShape>;
39
- /**
40
- * Максимальный размер варианта выбора
41
- */
42
- size?: Extract<OptionsListProps['size'], number>;
43
- /**
44
- * Учитывать действительное число вариантов выбора
45
- */
46
- actualOptionsCount?: boolean;
47
- };
48
- declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
49
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
50
- declare function defaultFilterFn(optionText: string, search: string): boolean;
51
- declare function defaultGroupAccessor(option: GroupShape): string | undefined;
52
- declare function defaultAccessor(option: OptionShape): string;
53
- declare function usePrevious<T>(value: T): T | undefined;
54
- declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
55
- declare function getSelectTestIds(dataTestId: string): {
56
- select: string;
57
- option: string;
58
- optionsList: string;
59
- clearButton: string;
60
- applyButton: string;
61
- field: string;
62
- fieldFormControl: string;
63
- fieldLeftAddons: string;
64
- fieldRightAddons: string;
65
- fieldError: string;
66
- fieldHint: string;
67
- fieldClearIcon: string;
68
- headerSelectAll: string;
69
- searchInput: string;
70
- searchFormControl: string;
71
- searchInner: string;
72
- searchLeftAddons: string;
73
- searchRightAddons: string;
74
- searchError: string;
75
- searchHint: string;
76
- bottomSheet: string;
77
- bottomSheetHeader: string;
78
- bottomSheetContent: string;
79
- modal: string;
80
- modalHeader: string;
81
- modalContent: string;
82
- };
83
- export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
@@ -1,119 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseSelectProps, OptionShape } from "./typings";
3
- type UseSelectWithApplyProps = {
4
- /**
5
- * Список выбранных пунктов
6
- */
7
- selected: BaseSelectProps['selected'];
8
- /**
9
- * Список вариантов выбора
10
- */
11
- options: BaseSelectProps['options'];
12
- /**
13
- * Обработчик выбора
14
- */
15
- onChange: BaseSelectProps['onChange'];
16
- /**
17
- * Дополнительный обработчик клика на чекбокс выбрать все
18
- */
19
- onSelectAllClick?: (selectedMultiple: OptionShape[]) => void;
20
- /**
21
- * Компонент выпадающего меню
22
- */
23
- OptionsList?: BaseSelectProps['OptionsList'];
24
- /**
25
- * Пропсы, которые будут прокинуты в компонент списка
26
- */
27
- optionsListProps?: BaseSelectProps['optionsListProps'];
28
- /**
29
- * Включает отображение поиска
30
- */
31
- showSearch?: BaseSelectProps['showSearch'];
32
- /**
33
- * Настройки поиска
34
- */
35
- searchProps?: BaseSelectProps['searchProps'];
36
- /**
37
- * Показывать кнопку очистки
38
- */
39
- showClear?: boolean;
40
- /**
41
- * Показывать пункт "Выбрать все"
42
- */
43
- showSelectAll?: boolean;
44
- /**
45
- * Показывать пункт "Выбрать все" в заголовке списка
46
- */
47
- showHeaderWithSelectAll?: boolean;
48
- };
49
- declare const SELECT_ALL_KEY = "select_all";
50
- declare function useSelectWithApply({ options, selected, onChange, onSelectAllClick, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
51
- OptionsList: import("react").ForwardRefExoticComponent<import("./typings").OptionsListProps & {
52
- showClear?: boolean | undefined;
53
- onClose?: (() => void) | undefined;
54
- /**
55
- * Обработчик выбора
56
- */
57
- selectedDraft?: OptionShape[] | undefined;
58
- OptionsList?: import("react").FC<import("./typings").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
59
- Footer?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/footer/Component").FooterProps> | undefined;
60
- Header?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps> | undefined;
61
- headerProps?: import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps | undefined;
62
- showHeaderWithSelectAll?: boolean | undefined;
63
- setSelectedDraft?: ((selectedDraft: OptionShape[]) => void) | undefined;
64
- } & import("react").RefAttributes<HTMLDivElement>>;
65
- optionsListProps: {
66
- OptionsList: import("react").ComponentType<import("./typings").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
67
- showClear: boolean;
68
- onClear: () => void;
69
- onApply: () => void;
70
- onClose: () => void;
71
- selectedDraft: OptionShape[];
72
- setSelectedDraft: import("react").Dispatch<import("react").SetStateAction<OptionShape[]>>;
73
- showHeaderWithSelectAll: boolean;
74
- headerProps: {
75
- indeterminate: boolean;
76
- checked: boolean;
77
- onChange: () => void;
78
- };
79
- };
80
- allowUnselect: boolean;
81
- multiple: boolean;
82
- options: (OptionShape | import("./typings").GroupShape | {
83
- key: string;
84
- content: string;
85
- })[];
86
- onChange: (payload: import("./typings").BaseSelectChangePayload) => void;
87
- selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
88
- showSearch: boolean;
89
- searchProps: {
90
- value: string;
91
- onChange: ((value: string) => void) | undefined;
92
- componentProps?: import("./typings").SearchProps | undefined;
93
- accessor?: ((option: OptionShape) => string) | undefined;
94
- filterFn?: ((optionText: string, search: string) => boolean) | undefined;
95
- filterGroup?: boolean | undefined;
96
- groupAccessor?: ((group: import("./typings").GroupShape) => string | undefined) | undefined;
97
- } | undefined;
98
- originalProps: {
99
- options: (OptionShape | import("./typings").GroupShape)[];
100
- selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
101
- onChange: (payload: import("./typings").BaseSelectChangePayload) => void;
102
- OptionsList: import("react").ComponentType<import("./typings").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
103
- optionsListProps: unknown;
104
- showClear: boolean;
105
- showSelectAll: boolean;
106
- showHeaderWithSelectAll: boolean;
107
- showSearch: boolean;
108
- searchProps: {
109
- componentProps?: import("./typings").SearchProps | undefined;
110
- accessor?: ((option: OptionShape) => string) | undefined;
111
- filterFn?: ((optionText: string, search: string) => boolean) | undefined;
112
- value?: string | undefined;
113
- onChange?: ((value: string) => void) | undefined;
114
- filterGroup?: boolean | undefined;
115
- groupAccessor?: ((group: import("./typings").GroupShape) => string | undefined) | undefined;
116
- };
117
- };
118
- };
119
- export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };