@alfalab/core-components 47.21.0-beta.2 → 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 (478) hide show
  1. package/confirmation/components/screens/initial/component.js +1 -1
  2. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  3. package/confirmation/esm/component.responsive.js +1 -1
  4. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  5. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  6. package/confirmation/esm/components/index.js +1 -1
  7. package/confirmation/esm/components/screens/index.js +1 -1
  8. package/confirmation/esm/components/screens/initial/component.js +1 -1
  9. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  10. package/confirmation/esm/components/screens/initial/index.js +1 -1
  11. package/confirmation/esm/desktop/component.desktop.js +1 -1
  12. package/confirmation/esm/desktop/index.js +1 -1
  13. package/confirmation/esm/index.js +1 -1
  14. package/confirmation/esm/mobile/component.mobile.js +1 -1
  15. package/confirmation/esm/mobile/index.js +1 -1
  16. package/confirmation/esm/shared/index.js +1 -1
  17. package/confirmation/modern/component.responsive.js +1 -1
  18. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  19. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  20. package/confirmation/modern/components/index.js +1 -1
  21. package/confirmation/modern/components/screens/index.js +1 -1
  22. package/confirmation/modern/components/screens/initial/component.js +1 -1
  23. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  24. package/confirmation/modern/components/screens/initial/index.js +1 -1
  25. package/confirmation/modern/desktop/component.desktop.js +1 -1
  26. package/confirmation/modern/desktop/index.js +1 -1
  27. package/confirmation/modern/index.js +1 -1
  28. package/confirmation/modern/mobile/component.mobile.js +1 -1
  29. package/confirmation/modern/mobile/index.js +1 -1
  30. package/confirmation/modern/shared/index.js +1 -1
  31. package/gallery/components/image-viewer/component.js +1 -1
  32. package/gallery/components/image-viewer/slide.js +1 -1
  33. package/gallery/esm/Component.js +1 -1
  34. package/gallery/esm/components/image-viewer/component.js +1 -1
  35. package/gallery/esm/components/image-viewer/index.js +1 -1
  36. package/gallery/esm/components/image-viewer/slide.js +1 -1
  37. package/gallery/esm/components/index.js +1 -1
  38. package/gallery/esm/index.js +1 -1
  39. package/gallery/modern/Component.js +1 -1
  40. package/gallery/modern/components/image-viewer/component.js +1 -1
  41. package/gallery/modern/components/image-viewer/index.js +1 -1
  42. package/gallery/modern/components/image-viewer/slide.js +1 -1
  43. package/gallery/modern/components/index.js +1 -1
  44. package/gallery/modern/index.js +1 -1
  45. package/international-phone-input/{esm/utils-2e3f483b.d.ts → cssm/utils-34f6b81b.d.ts} +0 -1
  46. package/international-phone-input/{moderncssm/utils-2e3f483b.d.ts → esm/utils-34f6b81b.d.ts} +0 -1
  47. package/international-phone-input/modern/{utils-2e3f483b.d.ts → utils-34f6b81b.d.ts} +0 -1
  48. package/international-phone-input/{cssm/utils-2e3f483b.d.ts → moderncssm/utils-34f6b81b.d.ts} +0 -1
  49. package/international-phone-input/utils-34f6b81b.d.ts +82 -0
  50. package/modal/components/controls/Component.js +1 -1
  51. package/modal/components/footer/Component.js +1 -1
  52. package/modal/esm/Component.responsive.js +1 -1
  53. package/modal/esm/components/controls/Component.js +1 -1
  54. package/modal/esm/components/controls/index.js +1 -1
  55. package/modal/esm/components/footer/Component.js +1 -1
  56. package/modal/esm/desktop/Component.desktop.js +1 -1
  57. package/modal/esm/desktop/index.js +1 -1
  58. package/modal/esm/index.js +1 -1
  59. package/modal/esm/mobile/Component.mobile.js +1 -1
  60. package/modal/esm/mobile/index.js +1 -1
  61. package/modal/modern/Component.responsive.js +1 -1
  62. package/modal/modern/components/controls/Component.js +1 -1
  63. package/modal/modern/components/controls/index.js +1 -1
  64. package/modal/modern/components/footer/Component.js +1 -1
  65. package/modal/modern/desktop/Component.desktop.js +1 -1
  66. package/modal/modern/desktop/index.js +1 -1
  67. package/modal/modern/index.js +1 -1
  68. package/modal/modern/mobile/Component.mobile.js +1 -1
  69. package/modal/modern/mobile/index.js +1 -1
  70. package/package.json +1 -1
  71. package/picker-button/cssm/utils-34f6b81b.d.ts +82 -0
  72. package/picker-button/esm/utils-34f6b81b.d.ts +82 -0
  73. package/picker-button/modern/utils-34f6b81b.d.ts +82 -0
  74. package/picker-button/moderncssm/utils-34f6b81b.d.ts +82 -0
  75. package/picker-button/typings-7d83ec1e.d.ts +1 -1
  76. package/picker-button/utils-34f6b81b.d.ts +82 -0
  77. package/plate/Component.responsive.js +1 -1
  78. package/plate/components/base-plate/Component.js +1 -1
  79. package/plate/esm/Component.responsive.js +1 -1
  80. package/plate/esm/components/base-plate/Component.js +1 -1
  81. package/plate/esm/components/base-plate/index.js +1 -1
  82. package/plate/esm/desktop/Component.desktop.js +1 -1
  83. package/plate/esm/desktop/index.js +1 -1
  84. package/plate/esm/index-ba3cd492.d.ts +2 -2
  85. package/plate/esm/index.js +1 -1
  86. package/plate/esm/mobile/Component.mobile.js +1 -1
  87. package/plate/esm/mobile/index.js +1 -1
  88. package/plate/esm/shared/index.js +1 -1
  89. package/plate/esm/utils.js +1 -1
  90. package/plate/index-ba3cd492.d.ts +2 -2
  91. package/plate/modern/Component.responsive.js +1 -1
  92. package/plate/modern/components/base-plate/Component.js +1 -1
  93. package/plate/modern/components/base-plate/index.js +1 -1
  94. package/plate/modern/desktop/Component.desktop.js +1 -1
  95. package/plate/modern/desktop/index.js +1 -1
  96. package/plate/modern/index-ba3cd492.d.ts +2 -2
  97. package/plate/modern/index.js +1 -1
  98. package/plate/modern/mobile/Component.mobile.js +1 -1
  99. package/plate/modern/mobile/index.js +1 -1
  100. package/plate/modern/shared/index.js +1 -1
  101. package/plate/modern/utils.js +1 -1
  102. package/plate/utils.js +1 -1
  103. package/pure-cell/component.js +1 -1
  104. package/pure-cell/components/addon/component.js +1 -1
  105. package/pure-cell/components/addon/index.d.ts +1 -1
  106. package/pure-cell/components/addon/index.js +1 -1
  107. package/pure-cell/components/amount/component.js +1 -1
  108. package/pure-cell/components/amount/index.d.ts +1 -1
  109. package/pure-cell/components/amount/index.js +1 -1
  110. package/pure-cell/components/amount-title/component.js +1 -1
  111. package/pure-cell/components/amount-title/index.d.ts +1 -1
  112. package/pure-cell/components/amount-title/index.js +1 -1
  113. package/pure-cell/components/category/component.js +1 -1
  114. package/pure-cell/components/category/index.d.ts +1 -1
  115. package/pure-cell/components/category/index.js +1 -1
  116. package/pure-cell/components/content/component.js +1 -1
  117. package/pure-cell/components/content/index.d.ts +1 -1
  118. package/pure-cell/components/content/index.js +1 -1
  119. package/pure-cell/components/footer/component.js +1 -1
  120. package/pure-cell/components/footer/index.d.ts +1 -1
  121. package/pure-cell/components/footer/index.js +1 -1
  122. package/pure-cell/components/footer-button/component.js +1 -1
  123. package/pure-cell/components/footer-button/index.d.ts +1 -1
  124. package/pure-cell/components/footer-button/index.js +1 -1
  125. package/pure-cell/components/footer-text/component.js +1 -1
  126. package/pure-cell/components/footer-text/index.d.ts +1 -1
  127. package/pure-cell/components/footer-text/index.js +1 -1
  128. package/pure-cell/components/graphics/component.js +1 -1
  129. package/pure-cell/components/graphics/index.d.ts +1 -1
  130. package/pure-cell/components/graphics/index.js +1 -1
  131. package/pure-cell/components/main/component.js +1 -1
  132. package/pure-cell/components/main/index.d.ts +1 -1
  133. package/pure-cell/components/main/index.js +1 -1
  134. package/pure-cell/components/text/component.js +1 -1
  135. package/pure-cell/components/text/index.d.ts +1 -1
  136. package/pure-cell/components/text/index.js +1 -1
  137. package/pure-cell/esm/component.js +1 -1
  138. package/pure-cell/esm/components/addon/component.js +1 -1
  139. package/pure-cell/esm/components/addon/index.d.ts +1 -1
  140. package/pure-cell/esm/components/addon/index.js +1 -1
  141. package/pure-cell/esm/components/amount/component.js +1 -1
  142. package/pure-cell/esm/components/amount/index.d.ts +1 -1
  143. package/pure-cell/esm/components/amount/index.js +1 -1
  144. package/pure-cell/esm/components/amount-title/component.js +1 -1
  145. package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
  146. package/pure-cell/esm/components/amount-title/index.js +1 -1
  147. package/pure-cell/esm/components/category/component.js +1 -1
  148. package/pure-cell/esm/components/category/index.d.ts +1 -1
  149. package/pure-cell/esm/components/category/index.js +1 -1
  150. package/pure-cell/esm/components/content/component.js +1 -1
  151. package/pure-cell/esm/components/content/index.d.ts +1 -1
  152. package/pure-cell/esm/components/content/index.js +1 -1
  153. package/pure-cell/esm/components/footer/component.js +1 -1
  154. package/pure-cell/esm/components/footer/index.d.ts +1 -1
  155. package/pure-cell/esm/components/footer/index.js +1 -1
  156. package/pure-cell/esm/components/footer-button/component.js +1 -1
  157. package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
  158. package/pure-cell/esm/components/footer-button/index.js +1 -1
  159. package/pure-cell/esm/components/footer-text/component.js +1 -1
  160. package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
  161. package/pure-cell/esm/components/footer-text/index.js +1 -1
  162. package/pure-cell/esm/components/graphics/component.js +1 -1
  163. package/pure-cell/esm/components/graphics/index.d.ts +1 -1
  164. package/pure-cell/esm/components/graphics/index.js +1 -1
  165. package/pure-cell/esm/components/main/component.js +1 -1
  166. package/pure-cell/esm/components/main/index.d.ts +1 -1
  167. package/pure-cell/esm/components/main/index.js +1 -1
  168. package/pure-cell/esm/components/text/component.js +1 -1
  169. package/pure-cell/esm/components/text/index.d.ts +1 -1
  170. package/pure-cell/esm/components/text/index.js +1 -1
  171. package/pure-cell/esm/index.js +1 -1
  172. package/pure-cell/index.js +1 -1
  173. package/pure-cell/modern/component.js +1 -1
  174. package/pure-cell/modern/components/addon/component.js +1 -1
  175. package/pure-cell/modern/components/addon/index.d.ts +1 -1
  176. package/pure-cell/modern/components/addon/index.js +1 -1
  177. package/pure-cell/modern/components/amount/component.js +1 -1
  178. package/pure-cell/modern/components/amount/index.d.ts +1 -1
  179. package/pure-cell/modern/components/amount/index.js +1 -1
  180. package/pure-cell/modern/components/amount-title/component.js +1 -1
  181. package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
  182. package/pure-cell/modern/components/amount-title/index.js +1 -1
  183. package/pure-cell/modern/components/category/component.js +1 -1
  184. package/pure-cell/modern/components/category/index.d.ts +1 -1
  185. package/pure-cell/modern/components/category/index.js +1 -1
  186. package/pure-cell/modern/components/content/component.js +1 -1
  187. package/pure-cell/modern/components/content/index.d.ts +1 -1
  188. package/pure-cell/modern/components/content/index.js +1 -1
  189. package/pure-cell/modern/components/footer/component.js +1 -1
  190. package/pure-cell/modern/components/footer/index.d.ts +1 -1
  191. package/pure-cell/modern/components/footer/index.js +1 -1
  192. package/pure-cell/modern/components/footer-button/component.js +1 -1
  193. package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
  194. package/pure-cell/modern/components/footer-button/index.js +1 -1
  195. package/pure-cell/modern/components/footer-text/component.js +1 -1
  196. package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
  197. package/pure-cell/modern/components/footer-text/index.js +1 -1
  198. package/pure-cell/modern/components/graphics/component.js +1 -1
  199. package/pure-cell/modern/components/graphics/index.d.ts +1 -1
  200. package/pure-cell/modern/components/graphics/index.js +1 -1
  201. package/pure-cell/modern/components/main/component.js +1 -1
  202. package/pure-cell/modern/components/main/index.d.ts +1 -1
  203. package/pure-cell/modern/components/main/index.js +1 -1
  204. package/pure-cell/modern/components/text/component.js +1 -1
  205. package/pure-cell/modern/components/text/index.d.ts +1 -1
  206. package/pure-cell/modern/components/text/index.js +1 -1
  207. package/pure-cell/modern/index.js +1 -1
  208. package/select/components/base-select/Component.js +2 -2
  209. package/select/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  210. package/select/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  211. package/select/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  212. package/select/{modern/hook-7e77c1d2.d.ts → cssm/hook-184c14eb.d.ts} +1 -5
  213. package/select/{hook-ade47c3d.js → cssm/hook-a7a71737.js} +2 -6
  214. package/select/cssm/mobile/Component.mobile.js +1 -1
  215. package/select/cssm/presets/index.d.ts +1 -1
  216. package/select/cssm/presets/index.js +1 -1
  217. package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
  218. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  219. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  220. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  221. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  222. package/select/cssm/shared/index.js +1 -1
  223. package/select/cssm/typings.d.ts +1 -1
  224. package/select/cssm/utils.d.ts +0 -1
  225. package/select/cssm/utils.js +0 -1
  226. package/select/esm/Component.responsive.js +3 -3
  227. package/select/esm/components/base-select/Component.js +2 -2
  228. package/select/esm/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  229. package/select/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  230. package/select/esm/components/base-select/components/list-mobile/list-mobile.js +1 -1
  231. package/select/esm/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  232. package/select/esm/components/base-select/index.js +2 -2
  233. package/select/esm/components/index.js +2 -2
  234. package/select/esm/desktop/Component.desktop.js +2 -2
  235. package/select/esm/desktop/index.js +2 -2
  236. package/select/esm/{hook-830d302f.js → hook-0df26050.js} +2 -6
  237. package/select/esm/{hook-7e77c1d2.d.ts → hook-184c14eb.d.ts} +1 -5
  238. package/select/esm/index.js +3 -3
  239. package/select/esm/mobile/Component.mobile.js +3 -3
  240. package/select/esm/mobile/Component.modal.mobile.js +3 -3
  241. package/select/esm/mobile/index.js +3 -3
  242. package/select/esm/presets/index.d.ts +1 -1
  243. package/select/esm/presets/index.js +1 -1
  244. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  245. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  246. package/select/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  247. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  248. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  249. package/select/esm/shared/index.js +3 -3
  250. package/select/esm/typings.d.ts +1 -1
  251. package/select/esm/utils.d.ts +0 -1
  252. package/select/esm/utils.js +0 -1
  253. package/select/{hook-7e77c1d2.d.ts → hook-184c14eb.d.ts} +1 -5
  254. package/select/{cssm/hook-e5b68af9.js → hook-59057ecb.js} +2 -6
  255. package/select/mobile/Component.mobile.js +1 -1
  256. package/select/modern/Component.responsive.js +3 -3
  257. package/select/modern/components/base-select/Component.js +2 -2
  258. package/select/modern/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  259. package/select/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  260. package/select/modern/components/base-select/components/list-mobile/list-mobile.js +1 -1
  261. package/select/modern/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  262. package/select/modern/components/base-select/index.js +2 -2
  263. package/select/modern/components/index.js +2 -2
  264. package/select/modern/desktop/Component.desktop.js +2 -2
  265. package/select/modern/desktop/index.js +2 -2
  266. package/select/{cssm/hook-7e77c1d2.d.ts → modern/hook-184c14eb.d.ts} +1 -5
  267. package/select/modern/{hook-521f35df.js → hook-8fb90d49.js} +2 -1
  268. package/select/modern/index.js +3 -3
  269. package/select/modern/mobile/Component.mobile.js +3 -3
  270. package/select/modern/mobile/Component.modal.mobile.js +3 -3
  271. package/select/modern/mobile/index.js +3 -3
  272. package/select/modern/presets/index.d.ts +1 -1
  273. package/select/modern/presets/index.js +1 -1
  274. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  275. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  276. package/select/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  277. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  278. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  279. package/select/modern/shared/index.js +3 -3
  280. package/select/modern/typings.d.ts +1 -1
  281. package/select/modern/utils.d.ts +0 -1
  282. package/select/modern/utils.js +0 -1
  283. package/select/moderncssm/Component.responsive.js +1 -1
  284. package/select/moderncssm/hook-184c14eb.d.ts +115 -0
  285. package/select/moderncssm/{hook-8f0dc930.js → hook-839b1d63.js} +2 -1
  286. package/select/moderncssm/index.js +1 -1
  287. package/select/moderncssm/mobile/Component.mobile.js +1 -1
  288. package/select/moderncssm/mobile/Component.modal.mobile.js +1 -1
  289. package/select/moderncssm/mobile/index.js +1 -1
  290. package/select/moderncssm/presets/index.d.ts +1 -1
  291. package/select/moderncssm/presets/index.js +1 -1
  292. package/select/moderncssm/presets/useSelectWithApply/hook.js +1 -1
  293. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  294. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  295. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  296. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  297. package/select/moderncssm/shared/index.js +1 -1
  298. package/select/moderncssm/typings.d.ts +1 -1
  299. package/select/moderncssm/utils.d.ts +0 -1
  300. package/select/moderncssm/utils.js +0 -1
  301. package/select/presets/index.d.ts +1 -1
  302. package/select/presets/index.js +1 -1
  303. package/select/presets/useSelectWithApply/hook.js +1 -1
  304. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  305. package/select/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
  306. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  307. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  308. package/select/shared/index.js +1 -1
  309. package/select/typings.d.ts +1 -1
  310. package/select/utils.d.ts +0 -1
  311. package/select/utils.js +0 -1
  312. package/side-panel/components/controls/Component.js +1 -1
  313. package/side-panel/components/footer/Component.js +1 -1
  314. package/side-panel/esm/Component.responsive.js +1 -1
  315. package/side-panel/esm/components/controls/Component.js +1 -1
  316. package/side-panel/esm/components/controls/index.js +1 -1
  317. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  318. package/side-panel/esm/components/footer/Component.js +1 -1
  319. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  320. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  321. package/side-panel/esm/desktop/index.js +1 -1
  322. package/side-panel/esm/index.js +1 -1
  323. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  324. package/side-panel/esm/mobile/index.js +1 -1
  325. package/side-panel/modern/Component.responsive.js +1 -1
  326. package/side-panel/modern/components/controls/Component.js +1 -1
  327. package/side-panel/modern/components/controls/index.js +1 -1
  328. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  329. package/side-panel/modern/components/footer/Component.js +1 -1
  330. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  331. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  332. package/side-panel/modern/desktop/index.js +1 -1
  333. package/side-panel/modern/index.js +1 -1
  334. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  335. package/side-panel/modern/mobile/index.js +1 -1
  336. package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
  337. package/tabs/components/primary-tablist/Component.desktop.js +1 -1
  338. package/tabs/components/primary-tablist/Component.mobile.js +1 -1
  339. package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
  340. package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
  341. package/tabs/esm/collapsible/index.js +1 -1
  342. package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
  343. package/tabs/esm/components/primary-tablist/Component.desktop.js +1 -1
  344. package/tabs/esm/components/primary-tablist/Component.mobile.js +1 -1
  345. package/tabs/esm/components/primary-tablist/Component.responsive.js +1 -1
  346. package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
  347. package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
  348. package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
  349. package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
  350. package/tabs/esm/components/tabs/Component.desktop.js +2 -2
  351. package/tabs/esm/components/tabs/Component.mobile.js +2 -2
  352. package/tabs/esm/components/tabs/Component.responsive.js +2 -2
  353. package/tabs/esm/desktop/index.js +2 -2
  354. package/tabs/esm/index.js +2 -2
  355. package/tabs/esm/mobile/index.js +2 -2
  356. package/tabs/modern/collapsible/index.js +1 -1
  357. package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
  358. package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
  359. package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
  360. package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
  361. package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
  362. package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
  363. package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
  364. package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
  365. package/tabs/modern/components/tabs/Component.desktop.js +2 -2
  366. package/tabs/modern/components/tabs/Component.mobile.js +2 -2
  367. package/tabs/modern/components/tabs/Component.responsive.js +2 -2
  368. package/tabs/modern/desktop/index.js +2 -2
  369. package/tabs/modern/index.js +2 -2
  370. package/tabs/modern/mobile/index.js +2 -2
  371. package/textarea/Component.js +1 -1
  372. package/textarea/components/PseudoTextArea.js +1 -1
  373. package/textarea/components/index.d.ts +1 -1
  374. package/textarea/components/index.js +1 -1
  375. package/textarea/esm/Component.js +1 -1
  376. package/textarea/esm/components/PseudoTextArea.js +1 -1
  377. package/textarea/esm/components/index.d.ts +1 -1
  378. package/textarea/esm/components/index.js +1 -1
  379. package/textarea/esm/index.js +1 -1
  380. package/textarea/modern/Component.js +1 -1
  381. package/textarea/modern/components/PseudoTextArea.js +1 -1
  382. package/textarea/modern/components/index.d.ts +1 -1
  383. package/textarea/modern/components/index.js +1 -1
  384. package/textarea/modern/index.js +1 -1
  385. package/themes/compiled/mobile-dark-bluetint.css +154 -15
  386. package/typography/esm/component.js +2 -2
  387. package/typography/esm/index.js +2 -2
  388. package/typography/esm/text/component.js +1 -1
  389. package/typography/esm/text/index.js +1 -1
  390. package/typography/esm/title/component.js +1 -1
  391. package/typography/esm/title/index.js +2 -2
  392. package/typography/esm/title-mobile/component.js +2 -2
  393. package/typography/esm/title-mobile/index.js +2 -2
  394. package/typography/esm/title-responsive/component.js +2 -2
  395. package/typography/esm/title-responsive/index.js +2 -2
  396. package/typography/modern/component.js +2 -2
  397. package/typography/modern/index.js +2 -2
  398. package/typography/modern/text/component.js +1 -1
  399. package/typography/modern/text/index.js +1 -1
  400. package/typography/modern/title/component.js +1 -1
  401. package/typography/modern/title/index.js +2 -2
  402. package/typography/modern/title-mobile/component.js +2 -2
  403. package/typography/modern/title-mobile/index.js +2 -2
  404. package/typography/modern/title-responsive/component.js +2 -2
  405. package/typography/modern/title-responsive/index.js +2 -2
  406. package/typography/text/component.js +1 -1
  407. package/typography/title/component.js +1 -1
  408. package/typography/title/index.js +1 -1
  409. package/typography/title-mobile/component.js +1 -1
  410. package/international-phone-input/utils-2e3f483b.d.ts +0 -83
  411. package/picker-button/cssm/utils-2e3f483b.d.ts +0 -83
  412. package/picker-button/esm/utils-2e3f483b.d.ts +0 -83
  413. package/picker-button/modern/utils-2e3f483b.d.ts +0 -83
  414. package/picker-button/moderncssm/utils-2e3f483b.d.ts +0 -83
  415. package/picker-button/utils-2e3f483b.d.ts +0 -83
  416. package/select/moderncssm/hook-7e77c1d2.d.ts +0 -119
  417. /package/confirmation/{countdown-section-ea68f0db.d.ts → countdown-section-6f95fca2.d.ts} +0 -0
  418. /package/confirmation/{countdown-section-ea68f0db.js → countdown-section-6f95fca2.js} +0 -0
  419. /package/confirmation/esm/{countdown-section-fccd60be.d.ts → countdown-section-2ff4f3e1.d.ts} +0 -0
  420. /package/confirmation/esm/{countdown-section-fccd60be.js → countdown-section-2ff4f3e1.js} +0 -0
  421. /package/confirmation/modern/{countdown-section-4c58e55e.d.ts → countdown-section-9baa7491.d.ts} +0 -0
  422. /package/confirmation/modern/{countdown-section-4c58e55e.js → countdown-section-9baa7491.js} +0 -0
  423. /package/gallery/esm/{slide-a18b4715.d.ts → slide-32db2c3e.d.ts} +0 -0
  424. /package/gallery/esm/{slide-a18b4715.js → slide-32db2c3e.js} +0 -0
  425. /package/gallery/modern/{slide-b13843a9.d.ts → slide-4f756d10.d.ts} +0 -0
  426. /package/gallery/modern/{slide-b13843a9.js → slide-4f756d10.js} +0 -0
  427. /package/gallery/{slide-76c6bfc7.d.ts → slide-a134d15c.d.ts} +0 -0
  428. /package/gallery/{slide-76c6bfc7.js → slide-a134d15c.js} +0 -0
  429. /package/modal/esm/{layout.module-1407c4ba.js → layout.module-0416d11b.js} +0 -0
  430. /package/modal/{layout.module-937df982.js → layout.module-e36da4ee.js} +0 -0
  431. /package/modal/modern/{layout.module-844fbf07.js → layout.module-03915939.js} +0 -0
  432. /package/plate/{PortalContext-8ec9a1d0.d.ts → PortalContext-5d8c7d7e.d.ts} +0 -0
  433. /package/plate/{PortalContext-8ec9a1d0.js → PortalContext-5d8c7d7e.js} +0 -0
  434. /package/plate/esm/{PortalContext-725157cc.d.ts → PortalContext-fb0fccc1.d.ts} +0 -0
  435. /package/plate/esm/{PortalContext-725157cc.js → PortalContext-fb0fccc1.js} +0 -0
  436. /package/plate/modern/{PortalContext-a82eb34a.d.ts → PortalContext-f482d7df.d.ts} +0 -0
  437. /package/plate/modern/{PortalContext-a82eb34a.js → PortalContext-f482d7df.js} +0 -0
  438. /package/pure-cell/{component-d1d1ab9c.d.ts → component-9771c24c.d.ts} +0 -0
  439. /package/pure-cell/{component-d1d1ab9c.js → component-9771c24c.js} +0 -0
  440. /package/pure-cell/esm/{component-d5000532.d.ts → component-861898c6.d.ts} +0 -0
  441. /package/pure-cell/esm/{component-d5000532.js → component-861898c6.js} +0 -0
  442. /package/pure-cell/modern/{component-5283f359.d.ts → component-48e46904.d.ts} +0 -0
  443. /package/pure-cell/modern/{component-5283f359.js → component-48e46904.js} +0 -0
  444. /package/select/cssm/{hook-e5b68af9.d.ts → hook-a7a71737.d.ts} +0 -0
  445. /package/select/esm/{hook-830d302f.d.ts → hook-0df26050.d.ts} +0 -0
  446. /package/select/esm/{list-popover-desktop-ac4ee4d4.d.ts → list-popover-desktop-bcef5e3a.d.ts} +0 -0
  447. /package/select/esm/{list-popover-desktop-ac4ee4d4.js → list-popover-desktop-bcef5e3a.js} +0 -0
  448. /package/select/esm/{mobile.module-a18fa384.js → mobile.module-0f224512.js} +0 -0
  449. /package/select/{hook-ade47c3d.d.ts → hook-59057ecb.d.ts} +0 -0
  450. /package/select/{list-popover-desktop-5c7b297f.d.ts → list-popover-desktop-0103f59e.d.ts} +0 -0
  451. /package/select/{list-popover-desktop-5c7b297f.js → list-popover-desktop-0103f59e.js} +0 -0
  452. /package/select/{mobile.module-a6389553.js → mobile.module-9c00e741.js} +0 -0
  453. /package/select/modern/{hook-521f35df.d.ts → hook-8fb90d49.d.ts} +0 -0
  454. /package/select/modern/{list-popover-desktop-63c14346.d.ts → list-popover-desktop-235bce95.d.ts} +0 -0
  455. /package/select/modern/{list-popover-desktop-63c14346.js → list-popover-desktop-235bce95.js} +0 -0
  456. /package/select/modern/{mobile.module-8ab79b9e.js → mobile.module-5037f07a.js} +0 -0
  457. /package/select/moderncssm/{hook-8f0dc930.d.ts → hook-839b1d63.d.ts} +0 -0
  458. /package/side-panel/esm/{layout.module-66877922.js → layout.module-e591f29b.js} +0 -0
  459. /package/side-panel/{layout.module-7e807390.js → layout.module-27205bb2.js} +0 -0
  460. /package/side-panel/modern/{layout.module-31362255.js → layout.module-299cfa69.js} +0 -0
  461. /package/tabs/esm/{index.module-f575bf74.js → index.module-18c112f9.js} +0 -0
  462. /package/tabs/esm/{index.module-e4ee2c34.js → index.module-f5b32893.js} +0 -0
  463. /package/tabs/{index.module-99019dc8.js → index.module-009ccd4a.js} +0 -0
  464. /package/tabs/{index.module-92a8a222.js → index.module-15d90837.js} +0 -0
  465. /package/tabs/modern/{index.module-0d9d8f30.js → index.module-4046a518.js} +0 -0
  466. /package/tabs/modern/{index.module-54e4857b.js → index.module-e2d9e659.js} +0 -0
  467. /package/textarea/{PseudoTextArea-cd83e221.d.ts → PseudoTextArea-60941b11.d.ts} +0 -0
  468. /package/textarea/{PseudoTextArea-cd83e221.js → PseudoTextArea-60941b11.js} +0 -0
  469. /package/textarea/esm/{PseudoTextArea-d1bf2a96.d.ts → PseudoTextArea-b46bb520.d.ts} +0 -0
  470. /package/textarea/esm/{PseudoTextArea-d1bf2a96.js → PseudoTextArea-b46bb520.js} +0 -0
  471. /package/textarea/modern/{PseudoTextArea-2ea65d62.d.ts → PseudoTextArea-a8ed9df8.d.ts} +0 -0
  472. /package/textarea/modern/{PseudoTextArea-2ea65d62.js → PseudoTextArea-a8ed9df8.js} +0 -0
  473. /package/typography/{colors.module-3ff799a0.js → colors.module-52040b0b.js} +0 -0
  474. /package/typography/{common.module-5defc7e3.js → common.module-f0381f3b.js} +0 -0
  475. /package/typography/esm/{colors.module-0b2a9283.js → colors.module-48307921.js} +0 -0
  476. /package/typography/esm/{common.module-cebd0ee8.js → common.module-4a56bb81.js} +0 -0
  477. /package/typography/modern/{colors.module-cf896807.js → colors.module-033fc4fa.js} +0 -0
  478. /package/typography/modern/{common.module-35c18f22.js → common.module-754dd9b1.js} +0 -0
@@ -5,7 +5,7 @@ var React = require('react');
5
5
  var mergeRefs = require('react-merge-refs');
6
6
  var cn = require('classnames');
7
7
  var hooks_useSkeleton = require('../hooks/use-skeleton.js');
8
- var colors_module = require('../colors.module-3ff799a0.js');
8
+ var colors_module = require('../colors.module-52040b0b.js');
9
9
 
10
10
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
11
 
@@ -6,7 +6,7 @@ var mergeRefs = require('react-merge-refs');
6
6
  var cn = require('classnames');
7
7
  var hooks_useSkeleton = require('../hooks/use-skeleton.js');
8
8
  var title_utils = require('./utils.js');
9
- var colors_module = require('../colors.module-3ff799a0.js');
9
+ var colors_module = require('../colors.module-52040b0b.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var title_component = require('./component.js');
6
- var common_module = require('../common.module-5defc7e3.js');
6
+ var common_module = require('../common.module-f0381f3b.js');
7
7
 
8
8
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
9
 
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var title_component = require('../title/component.js');
6
- var common_module = require('../common.module-5defc7e3.js');
6
+ var common_module = require('../common.module-f0381f3b.js');
7
7
 
8
8
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
9
 
@@ -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
- headerSelectAll: string;
60
- clearButton: string;
61
- applyButton: string;
62
- field: string;
63
- fieldFormControl: string;
64
- fieldLeftAddons: string;
65
- fieldRightAddons: string;
66
- fieldError: string;
67
- fieldHint: string;
68
- fieldClearIcon: 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
- headerSelectAll: string;
60
- clearButton: string;
61
- applyButton: string;
62
- field: string;
63
- fieldFormControl: string;
64
- fieldLeftAddons: string;
65
- fieldRightAddons: string;
66
- fieldError: string;
67
- fieldHint: string;
68
- fieldClearIcon: 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
- headerSelectAll: string;
60
- clearButton: string;
61
- applyButton: string;
62
- field: string;
63
- fieldFormControl: string;
64
- fieldLeftAddons: string;
65
- fieldRightAddons: string;
66
- fieldError: string;
67
- fieldHint: string;
68
- fieldClearIcon: 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
- headerSelectAll: string;
60
- clearButton: string;
61
- applyButton: string;
62
- field: string;
63
- fieldFormControl: string;
64
- fieldLeftAddons: string;
65
- fieldRightAddons: string;
66
- fieldError: string;
67
- fieldHint: string;
68
- fieldClearIcon: 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
- headerSelectAll: string;
60
- clearButton: string;
61
- applyButton: string;
62
- field: string;
63
- fieldFormControl: string;
64
- fieldLeftAddons: string;
65
- fieldRightAddons: string;
66
- fieldError: string;
67
- fieldHint: string;
68
- fieldClearIcon: 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
- headerSelectAll: string;
60
- clearButton: string;
61
- applyButton: string;
62
- field: string;
63
- fieldFormControl: string;
64
- fieldLeftAddons: string;
65
- fieldRightAddons: string;
66
- fieldError: string;
67
- fieldHint: string;
68
- fieldClearIcon: 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 };