@alfalab/core-components 42.13.0-beta.0 → 42.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (527) hide show
  1. package/bottom-sheet/component.js +3 -1
  2. package/bottom-sheet/cssm/component.js +3 -1
  3. package/bottom-sheet/esm/component.js +3 -1
  4. package/bottom-sheet/modern/component.js +3 -1
  5. package/calendar/Component-10db897e.d.ts +3 -183
  6. package/{picker-button/cssm → calendar}/Component-69921c40.d.ts +1 -1
  7. package/calendar-input/Component.desktop.d.ts +4 -0
  8. package/calendar-input/Component.desktop.js +4 -0
  9. package/calendar-input/Component.mobile.d.ts +4 -0
  10. package/calendar-input/Component.mobile.js +4 -0
  11. package/calendar-input/Component.responsive.d.ts +4 -0
  12. package/calendar-input/Component.responsive.js +4 -0
  13. package/calendar-input/cssm/Component.desktop.d.ts +4 -0
  14. package/calendar-input/cssm/Component.desktop.js +4 -0
  15. package/calendar-input/cssm/Component.mobile.d.ts +4 -0
  16. package/calendar-input/cssm/Component.mobile.js +4 -0
  17. package/calendar-input/cssm/Component.responsive.d.ts +4 -0
  18. package/calendar-input/cssm/Component.responsive.js +4 -0
  19. package/calendar-input/esm/Component.desktop.d.ts +4 -0
  20. package/calendar-input/esm/Component.desktop.js +4 -0
  21. package/calendar-input/esm/Component.mobile.d.ts +4 -0
  22. package/calendar-input/esm/Component.mobile.js +4 -0
  23. package/calendar-input/esm/Component.responsive.d.ts +4 -0
  24. package/calendar-input/esm/Component.responsive.js +4 -0
  25. package/calendar-input/modern/Component.desktop.d.ts +4 -0
  26. package/calendar-input/modern/Component.desktop.js +4 -0
  27. package/calendar-input/modern/Component.mobile.d.ts +4 -0
  28. package/calendar-input/modern/Component.mobile.js +4 -0
  29. package/calendar-input/modern/Component.responsive.d.ts +4 -0
  30. package/calendar-input/modern/Component.responsive.js +4 -0
  31. package/calendar-range/esm/utils.js +3 -1
  32. package/confirmation/component.desktop.js +1 -1
  33. package/confirmation/component.mobile.js +1 -1
  34. package/confirmation/component.responsive.js +1 -1
  35. package/confirmation/components/base-confirmation/component.js +1 -1
  36. package/confirmation/components/base-confirmation/index.js +1 -1
  37. package/confirmation/components/index.js +1 -1
  38. package/confirmation/components/screens/index.js +1 -1
  39. package/confirmation/components/screens/initial/component.js +1 -1
  40. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  41. package/confirmation/components/screens/initial/index.js +1 -1
  42. package/confirmation/desktop.js +1 -1
  43. package/confirmation/esm/component.desktop.js +1 -1
  44. package/confirmation/esm/component.mobile.js +1 -1
  45. package/confirmation/esm/component.responsive.js +1 -1
  46. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  47. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  48. package/confirmation/esm/components/index.js +1 -1
  49. package/confirmation/esm/components/screens/index.js +1 -1
  50. package/confirmation/esm/components/screens/initial/component.js +1 -1
  51. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  52. package/confirmation/esm/components/screens/initial/index.js +1 -1
  53. package/confirmation/esm/desktop.js +1 -1
  54. package/confirmation/esm/index.js +1 -1
  55. package/confirmation/esm/mobile.js +1 -1
  56. package/confirmation/esm/shared.js +1 -1
  57. package/confirmation/index.js +1 -1
  58. package/confirmation/mobile.js +1 -1
  59. package/confirmation/modern/component.desktop.js +1 -1
  60. package/confirmation/modern/component.mobile.js +1 -1
  61. package/confirmation/modern/component.responsive.js +1 -1
  62. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  63. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  64. package/confirmation/modern/components/index.js +1 -1
  65. package/confirmation/modern/components/screens/index.js +1 -1
  66. package/confirmation/modern/components/screens/initial/component.js +1 -1
  67. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  68. package/confirmation/modern/components/screens/initial/index.js +1 -1
  69. package/confirmation/modern/desktop.js +1 -1
  70. package/confirmation/modern/index.js +1 -1
  71. package/confirmation/modern/mobile.js +1 -1
  72. package/confirmation/modern/shared.js +1 -1
  73. package/confirmation/shared.js +1 -1
  74. package/confirmation-v1/component.d.ts +1 -0
  75. package/confirmation-v1/component.js +1 -0
  76. package/confirmation-v1/cssm/component.d.ts +1 -0
  77. package/confirmation-v1/cssm/component.js +1 -0
  78. package/confirmation-v1/esm/component.d.ts +1 -0
  79. package/confirmation-v1/esm/component.js +1 -0
  80. package/confirmation-v1/modern/component.d.ts +1 -0
  81. package/confirmation-v1/modern/component.js +1 -0
  82. package/custom-picker-button/Component-0f4b9bed.d.ts +4 -21
  83. package/custom-picker-button/Component-10db897e.d.ts +265 -41
  84. package/custom-picker-button/Component-ebda875c.d.ts +98 -9
  85. package/custom-picker-button/Component.desktop-4cd3936b.d.ts +49 -0
  86. package/custom-picker-button/Component.desktop-785df74d.d.ts +1 -1
  87. package/custom-picker-button/Component.mobile-d7e9f69d.d.ts +1 -1
  88. package/custom-picker-button/Component.mobile.d.ts +9 -1
  89. package/custom-picker-button/desktop-d446ae02.d.ts +2 -39
  90. package/custom-picker-button/hook-8abfea97.d.ts +4 -4
  91. package/custom-picker-button/index-89f0cb07.d.ts +2 -0
  92. package/custom-picker-button/index-bdb4c6b9.d.ts +180 -2
  93. package/custom-picker-button/index-c44170fe.d.ts +2 -17
  94. package/custom-picker-button/index-ebda875c.d.ts +200 -18
  95. package/custom-picker-button/index-f12ee135.d.ts +324 -3
  96. package/custom-picker-button/shared-4cd3936b.d.ts +1 -60
  97. package/date-input/Component.d.ts +4 -0
  98. package/date-input/Component.js +4 -0
  99. package/date-input/cssm/Component.d.ts +4 -0
  100. package/date-input/cssm/Component.js +4 -0
  101. package/date-input/esm/Component.d.ts +4 -0
  102. package/date-input/esm/Component.js +4 -0
  103. package/date-input/modern/Component.d.ts +4 -0
  104. package/date-input/modern/Component.js +4 -0
  105. package/date-range-input/Component-10db897e.d.ts +295 -4
  106. package/date-range-input/Component-5684a67d.d.ts +23 -0
  107. package/date-range-input/Component-69921c40.d.ts +12 -172
  108. package/date-range-input/Component-e2b6c730.d.ts +76 -0
  109. package/date-range-input/Component.desktop-b5b4c59f.d.ts +5 -72
  110. package/date-range-input/Component.desktop-ebda875c.d.ts +7 -0
  111. package/date-range-input/Component.desktop.d.ts +4 -0
  112. package/date-range-input/Component.desktop.js +4 -0
  113. package/date-range-input/Component.mobile.d.ts +4 -0
  114. package/date-range-input/Component.mobile.js +4 -0
  115. package/date-range-input/Component.responsive.d.ts +4 -0
  116. package/date-range-input/Component.responsive.js +4 -0
  117. package/date-range-input/components/date-range-input/Component.d.ts +1 -1
  118. package/date-range-input/cssm/Component-10db897e.d.ts +295 -4
  119. package/date-range-input/cssm/Component-5684a67d.d.ts +23 -0
  120. package/date-range-input/cssm/Component-69921c40.d.ts +12 -172
  121. package/date-range-input/cssm/Component-e2b6c730.d.ts +76 -0
  122. package/date-range-input/cssm/Component.desktop-b5b4c59f.d.ts +5 -72
  123. package/date-range-input/cssm/Component.desktop-ebda875c.d.ts +7 -0
  124. package/date-range-input/cssm/Component.desktop.d.ts +4 -0
  125. package/date-range-input/cssm/Component.desktop.js +4 -0
  126. package/date-range-input/cssm/Component.mobile.d.ts +4 -0
  127. package/date-range-input/cssm/Component.mobile.js +4 -0
  128. package/{custom-picker-button/index-8b2c2707.d.ts → date-range-input/cssm/Component.responsive-16b1285a.d.ts} +1 -2
  129. package/date-range-input/cssm/Component.responsive.d.ts +4 -0
  130. package/date-range-input/cssm/Component.responsive.js +4 -0
  131. package/date-range-input/cssm/components/date-range-input/Component.d.ts +1 -1
  132. package/{intl-phone-input/desktop-69921c40.d.ts → date-range-input/cssm/desktop-89f0cb07.d.ts} +1 -1
  133. package/date-range-input/cssm/index-89f0cb07.d.ts +1 -1
  134. package/date-range-input/cssm/index-ebda875c.d.ts +1 -34
  135. package/date-range-input/cssm/index-f034f741.d.ts +2 -80
  136. package/date-range-input/cssm/mobile-c219f8ca.d.ts +368 -1
  137. package/date-range-input/cssm/utils-e0a54580.d.ts +8 -0
  138. package/date-range-input/{desktop-69921c40.d.ts → desktop-89f0cb07.d.ts} +1 -1
  139. package/date-range-input/esm/Component.desktop.d.ts +4 -0
  140. package/date-range-input/esm/Component.desktop.js +4 -0
  141. package/date-range-input/esm/Component.mobile.d.ts +4 -0
  142. package/date-range-input/esm/Component.mobile.js +4 -0
  143. package/date-range-input/esm/Component.responsive.d.ts +4 -0
  144. package/date-range-input/esm/Component.responsive.js +4 -0
  145. package/date-range-input/index-89f0cb07.d.ts +1 -1
  146. package/date-range-input/index-ebda875c.d.ts +1 -34
  147. package/date-range-input/index-f034f741.d.ts +2 -80
  148. package/date-range-input/mobile-c219f8ca.d.ts +368 -1
  149. package/date-range-input/modern/Component.desktop.d.ts +4 -0
  150. package/date-range-input/modern/Component.desktop.js +4 -0
  151. package/date-range-input/modern/Component.mobile.d.ts +4 -0
  152. package/date-range-input/modern/Component.mobile.js +4 -0
  153. package/date-range-input/modern/Component.responsive.d.ts +4 -0
  154. package/date-range-input/modern/Component.responsive.js +4 -0
  155. package/date-range-input/utils-e0a54580.d.ts +8 -0
  156. package/date-time-input/Component.desktop.d.ts +4 -0
  157. package/date-time-input/Component.desktop.js +4 -0
  158. package/date-time-input/cssm/Component.desktop.d.ts +4 -0
  159. package/date-time-input/cssm/Component.desktop.js +4 -0
  160. package/date-time-input/esm/Component.desktop.d.ts +4 -0
  161. package/date-time-input/esm/Component.desktop.js +4 -0
  162. package/date-time-input/modern/Component.desktop.d.ts +4 -0
  163. package/date-time-input/modern/Component.desktop.js +4 -0
  164. package/gallery/Component.js +2 -2
  165. package/gallery/components/header/Component.js +1 -1
  166. package/gallery/components/header/buttons.js +1 -1
  167. package/gallery/components/header/index.js +1 -1
  168. package/gallery/components/image-viewer/component.js +1 -1
  169. package/gallery/components/image-viewer/index.js +1 -1
  170. package/gallery/components/image-viewer/slide.js +1 -1
  171. package/gallery/components/index.js +2 -2
  172. package/gallery/esm/Component.js +2 -2
  173. package/gallery/esm/components/header/Component.js +1 -1
  174. package/gallery/esm/components/header/buttons.js +1 -1
  175. package/gallery/esm/components/header/index.js +1 -1
  176. package/gallery/esm/components/image-viewer/component.js +1 -1
  177. package/gallery/esm/components/image-viewer/index.js +1 -1
  178. package/gallery/esm/components/image-viewer/slide.js +1 -1
  179. package/gallery/esm/components/index.js +2 -2
  180. package/gallery/esm/index.js +2 -2
  181. package/gallery/index.js +2 -2
  182. package/gallery/modern/Component.js +2 -2
  183. package/gallery/modern/components/header/Component.js +1 -1
  184. package/gallery/modern/components/header/buttons.js +1 -1
  185. package/gallery/modern/components/header/index.js +1 -1
  186. package/gallery/modern/components/image-viewer/component.js +1 -1
  187. package/gallery/modern/components/image-viewer/index.js +1 -1
  188. package/gallery/modern/components/image-viewer/slide.js +1 -1
  189. package/gallery/modern/components/index.js +2 -2
  190. package/gallery/modern/index.js +2 -2
  191. package/intl-phone-input/Component-0f4b9bed.d.ts +18 -96
  192. package/intl-phone-input/Component-10db897e.d.ts +99 -5
  193. package/intl-phone-input/Component-4cd3936b.d.ts +1 -1
  194. package/intl-phone-input/Component-c44170fe.d.ts +13 -0
  195. package/intl-phone-input/{Component.desktop-0f4b9bed.d.ts → Component.desktop-63dec22f.d.ts} +1 -1
  196. package/intl-phone-input/component.d.ts +5 -1
  197. package/intl-phone-input/component.js +4 -0
  198. package/intl-phone-input/components/select/component.d.ts +1 -1
  199. package/intl-phone-input/cssm/component.d.ts +4 -0
  200. package/intl-phone-input/cssm/component.js +4 -0
  201. package/intl-phone-input/esm/component.d.ts +4 -0
  202. package/intl-phone-input/esm/component.js +4 -0
  203. package/intl-phone-input/hook-c44170fe.d.ts +48 -0
  204. package/intl-phone-input/modern/component.d.ts +4 -0
  205. package/intl-phone-input/modern/component.js +4 -0
  206. package/intl-phone-input/shared-4cd3936b.d.ts +14 -57
  207. package/package.json +1 -1
  208. package/picker-button/Component-0f4b9bed.d.ts +70 -3
  209. package/picker-button/Component-10db897e.d.ts +4 -294
  210. package/picker-button/Component-ebda875c.d.ts +9 -98
  211. package/picker-button/Component.desktop-785df74d.d.ts +1 -1
  212. package/picker-button/Component.desktop.d.ts +1 -1
  213. package/picker-button/Component.mobile-d7e9f69d.d.ts +1 -1
  214. package/picker-button/Component.mobile.d.ts +1 -1
  215. package/picker-button/Component.responsive.d.ts +1 -1
  216. package/picker-button/cssm/Component-0f4b9bed.d.ts +3 -70
  217. package/picker-button/cssm/Component-10db897e.d.ts +294 -4
  218. package/picker-button/cssm/Component-aed0af6e.d.ts +11 -0
  219. package/picker-button/cssm/Component-ebda875c.d.ts +98 -9
  220. package/picker-button/cssm/Component-f12ee135.d.ts +72 -0
  221. package/picker-button/cssm/Component.desktop-785df74d.d.ts +1 -1
  222. package/picker-button/cssm/Component.desktop.d.ts +1 -1
  223. package/{date-range-input/Component.mobile-ebda875c.d.ts → picker-button/cssm/Component.mobile-96988a65.d.ts} +0 -1
  224. package/picker-button/cssm/Component.mobile-d7e9f69d.d.ts +1 -1
  225. package/picker-button/cssm/Component.mobile.d.ts +1 -1
  226. package/picker-button/cssm/Component.responsive-d7e9f69d.d.ts +26 -0
  227. package/picker-button/cssm/Component.responsive.d.ts +1 -1
  228. package/picker-button/cssm/hook-8abfea97.d.ts +4 -4
  229. package/picker-button/cssm/hook-ebda875c.d.ts +48 -0
  230. package/picker-button/cssm/index-10db897e.d.ts +2 -2
  231. package/picker-button/cssm/index-bdb4c6b9.d.ts +180 -2
  232. package/picker-button/cssm/index-c44170fe.d.ts +1 -1
  233. package/picker-button/cssm/index-ebda875c.d.ts +191 -53
  234. package/picker-button/cssm/index-f12ee135.d.ts +324 -3
  235. package/picker-button/cssm/shared-4cd3936b.d.ts +1 -59
  236. package/picker-button/hook-8abfea97.d.ts +4 -4
  237. package/picker-button/index-10db897e.d.ts +2 -2
  238. package/picker-button/index-bdb4c6b9.d.ts +2 -180
  239. package/picker-button/index-c44170fe.d.ts +1 -1
  240. package/picker-button/index-ebda875c.d.ts +53 -191
  241. package/picker-button/index-f12ee135.d.ts +3 -324
  242. package/picker-button/shared-4cd3936b.d.ts +59 -1
  243. package/pure-cell/component.js +1 -1
  244. package/pure-cell/components/content/component.js +1 -1
  245. package/pure-cell/components/content/index.d.ts +1 -1
  246. package/pure-cell/components/content/index.js +1 -1
  247. package/pure-cell/components/main/component.js +1 -1
  248. package/pure-cell/components/main/index.d.ts +1 -1
  249. package/pure-cell/components/main/index.js +1 -1
  250. package/pure-cell/components/text/component.js +1 -1
  251. package/pure-cell/components/text/index.d.ts +1 -1
  252. package/pure-cell/components/text/index.js +1 -1
  253. package/pure-cell/esm/component.js +1 -1
  254. package/pure-cell/esm/components/content/component.js +1 -1
  255. package/pure-cell/esm/components/content/index.d.ts +1 -1
  256. package/pure-cell/esm/components/content/index.js +1 -1
  257. package/pure-cell/esm/components/main/component.js +1 -1
  258. package/pure-cell/esm/components/main/index.d.ts +1 -1
  259. package/pure-cell/esm/components/main/index.js +1 -1
  260. package/pure-cell/esm/components/text/component.js +1 -1
  261. package/pure-cell/esm/components/text/index.d.ts +1 -1
  262. package/pure-cell/esm/components/text/index.js +1 -1
  263. package/pure-cell/esm/index.js +1 -1
  264. package/pure-cell/index.js +1 -1
  265. package/pure-cell/modern/component.js +1 -1
  266. package/pure-cell/modern/components/content/component.js +1 -1
  267. package/pure-cell/modern/components/content/index.d.ts +1 -1
  268. package/pure-cell/modern/components/content/index.js +1 -1
  269. package/pure-cell/modern/components/main/component.js +1 -1
  270. package/pure-cell/modern/components/main/index.d.ts +1 -1
  271. package/pure-cell/modern/components/main/index.js +1 -1
  272. package/pure-cell/modern/components/text/component.js +1 -1
  273. package/pure-cell/modern/components/text/index.d.ts +1 -1
  274. package/pure-cell/modern/components/text/index.js +1 -1
  275. package/pure-cell/modern/index.js +1 -1
  276. package/select/Component.mobile.js +1 -1
  277. package/select/Component.modal.mobile.js +1 -1
  278. package/select/Component.responsive.js +1 -1
  279. package/select/components/base-select-mobile/Component.js +2 -2
  280. package/select/components/virtual-options-list/Component.js +8 -4
  281. package/select/cssm/components/base-select-mobile/Component.js +2 -2
  282. package/select/cssm/components/virtual-options-list/Component.js +8 -4
  283. package/select/esm/Component.mobile.js +1 -1
  284. package/select/esm/Component.modal.mobile.js +1 -1
  285. package/select/esm/Component.responsive.js +1 -1
  286. package/select/esm/components/base-select-mobile/Component.js +2 -2
  287. package/select/esm/components/virtual-options-list/Component.js +8 -4
  288. package/select/esm/index.js +1 -1
  289. package/select/esm/mobile.js +1 -1
  290. package/select/esm/presets/index.js +1 -1
  291. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  292. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  293. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  294. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  295. package/select/esm/shared.js +1 -1
  296. package/select/index.js +1 -1
  297. package/select/mobile.js +1 -1
  298. package/select/modern/Component.mobile.js +1 -1
  299. package/select/modern/Component.modal.mobile.js +1 -1
  300. package/select/modern/Component.responsive.js +1 -1
  301. package/select/modern/components/base-select-mobile/Component.js +2 -2
  302. package/select/modern/components/virtual-options-list/Component.js +8 -4
  303. package/select/modern/index.js +1 -1
  304. package/select/modern/mobile.js +1 -1
  305. package/select/modern/presets/index.js +1 -1
  306. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  307. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  308. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  309. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  310. package/select/modern/shared.js +1 -1
  311. package/select/presets/index.js +1 -1
  312. package/select/presets/useSelectWithApply/hook.js +1 -1
  313. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  314. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  315. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  316. package/select/shared.js +1 -1
  317. package/tabs/collapsible.js +1 -1
  318. package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
  319. package/tabs/components/primary-tablist/Component.desktop.js +3 -2
  320. package/tabs/components/primary-tablist/Component.js +14 -4
  321. package/tabs/components/primary-tablist/Component.mobile.js +3 -2
  322. package/tabs/components/primary-tablist/Component.responsive.js +3 -2
  323. package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
  324. package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
  325. package/tabs/components/secondary-tablist/Component.responsive.js +1 -1
  326. package/tabs/components/tabs/Component.collapsible.js +1 -1
  327. package/tabs/components/tabs/Component.desktop.js +4 -3
  328. package/tabs/components/tabs/Component.mobile.js +4 -3
  329. package/tabs/components/tabs/Component.responsive.js +4 -3
  330. package/tabs/cssm/components/primary-tablist/Component.desktop.js +2 -1
  331. package/tabs/cssm/components/primary-tablist/Component.js +14 -4
  332. package/tabs/cssm/components/primary-tablist/Component.mobile.js +2 -1
  333. package/tabs/cssm/components/primary-tablist/Component.responsive.js +2 -1
  334. package/tabs/cssm/components/tabs/Component.desktop.js +2 -1
  335. package/tabs/cssm/components/tabs/Component.mobile.js +2 -1
  336. package/tabs/cssm/components/tabs/Component.responsive.js +2 -1
  337. package/tabs/cssm/desktop.js +2 -1
  338. package/tabs/cssm/index.js +2 -1
  339. package/tabs/cssm/mobile.js +2 -1
  340. package/tabs/desktop.js +4 -3
  341. package/tabs/esm/collapsible.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 +2 -1
  344. package/tabs/esm/components/primary-tablist/Component.js +14 -4
  345. package/tabs/esm/components/primary-tablist/Component.mobile.js +2 -1
  346. package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -1
  347. package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
  348. package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
  349. package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
  350. package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
  351. package/tabs/esm/components/tabs/Component.desktop.js +3 -2
  352. package/tabs/esm/components/tabs/Component.mobile.js +3 -2
  353. package/tabs/esm/components/tabs/Component.responsive.js +3 -2
  354. package/tabs/esm/desktop.js +3 -2
  355. package/tabs/esm/index.js +3 -2
  356. package/tabs/esm/mobile.js +3 -2
  357. package/tabs/index-ebda875c.d.ts +21 -86
  358. package/tabs/index.js +4 -3
  359. package/tabs/mobile.js +4 -3
  360. package/tabs/modern/collapsible.js +1 -1
  361. package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
  362. package/tabs/modern/components/primary-tablist/Component.desktop.js +2 -1
  363. package/tabs/modern/components/primary-tablist/Component.js +14 -4
  364. package/tabs/modern/components/primary-tablist/Component.mobile.js +2 -1
  365. package/tabs/modern/components/primary-tablist/Component.responsive.js +2 -1
  366. package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
  367. package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
  368. package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
  369. package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
  370. package/tabs/modern/components/tabs/Component.desktop.js +3 -2
  371. package/tabs/modern/components/tabs/Component.mobile.js +3 -2
  372. package/tabs/modern/components/tabs/Component.responsive.js +3 -2
  373. package/tabs/modern/desktop.js +3 -2
  374. package/tabs/modern/index.js +3 -2
  375. package/tabs/modern/mobile.js +3 -2
  376. package/textarea/Component.d.ts +1 -1
  377. package/textarea/Component.js +1 -1
  378. package/textarea/components/PseudoTextArea.js +1 -1
  379. package/textarea/components/index.d.ts +1 -1
  380. package/textarea/components/index.js +1 -1
  381. package/textarea/esm/Component.js +1 -1
  382. package/textarea/esm/components/PseudoTextArea.js +1 -1
  383. package/textarea/esm/components/index.d.ts +1 -1
  384. package/textarea/esm/components/index.js +1 -1
  385. package/textarea/esm/index.js +1 -1
  386. package/textarea/index.js +1 -1
  387. package/textarea/modern/Component.js +1 -1
  388. package/textarea/modern/components/PseudoTextArea.js +1 -1
  389. package/textarea/modern/components/index.d.ts +1 -1
  390. package/textarea/modern/components/index.js +1 -1
  391. package/textarea/modern/index.js +1 -1
  392. package/themes/compiled/mobile-dark-bluetint.css +19 -19
  393. package/themes/dist/compiled/mobile-dark-bluetint.css +262 -262
  394. package/themes/dist/site.css +348 -343
  395. package/themes/site.css +348 -343
  396. package/time-input/Component.d.ts +4 -0
  397. package/time-input/Component.js +4 -0
  398. package/time-input/cssm/Component.d.ts +4 -0
  399. package/time-input/cssm/Component.js +4 -0
  400. package/time-input/esm/Component.d.ts +4 -0
  401. package/time-input/esm/Component.js +4 -0
  402. package/time-input/modern/Component.d.ts +4 -0
  403. package/time-input/modern/Component.js +4 -0
  404. package/typography/component.js +2 -2
  405. package/typography/esm/component.js +2 -2
  406. package/typography/esm/index.js +2 -2
  407. package/typography/esm/text/component.js +1 -1
  408. package/typography/esm/text/index.js +1 -1
  409. package/typography/esm/title/component.js +1 -1
  410. package/typography/esm/title/index.js +2 -2
  411. package/typography/esm/title-mobile/component.js +2 -2
  412. package/typography/esm/title-mobile/index.js +2 -2
  413. package/typography/esm/title-responsive/component.js +2 -2
  414. package/typography/esm/title-responsive/index.js +2 -2
  415. package/typography/index.js +2 -2
  416. package/typography/modern/component.js +2 -2
  417. package/typography/modern/index.js +2 -2
  418. package/typography/modern/text/component.js +1 -1
  419. package/typography/modern/text/index.js +1 -1
  420. package/typography/modern/title/component.js +1 -1
  421. package/typography/modern/title/index.js +2 -2
  422. package/typography/modern/title-mobile/component.js +2 -2
  423. package/typography/modern/title-mobile/index.js +2 -2
  424. package/typography/modern/title-responsive/component.js +2 -2
  425. package/typography/modern/title-responsive/index.js +2 -2
  426. package/typography/text/component.js +1 -1
  427. package/typography/text/index.js +1 -1
  428. package/typography/title/component.js +1 -1
  429. package/typography/title/index.js +2 -2
  430. package/typography/title-mobile/component.js +2 -2
  431. package/typography/title-mobile/index.js +2 -2
  432. package/typography/title-responsive/component.js +2 -2
  433. package/typography/title-responsive/index.js +2 -2
  434. package/custom-picker-button/Component-89f0cb07.d.ts +0 -38
  435. package/custom-picker-button/Component-8b2c2707.d.ts +0 -12
  436. package/custom-picker-button/Component.mobile-d446ae02.d.ts +0 -23
  437. package/custom-picker-button/mobile-89f0cb07.d.ts +0 -2
  438. package/date-range-input/Component-b5b4c59f.d.ts +0 -389
  439. package/date-range-input/cssm/Component-b5b4c59f.d.ts +0 -389
  440. package/date-range-input/cssm/Component.mobile-ebda875c.d.ts +0 -7
  441. package/picker-button/cssm/Component.modal.mobile-0f4b9bed.d.ts +0 -60
  442. package/picker-button/cssm/component-10db897e.d.ts +0 -44
  443. package/picker-button/cssm/types-67a2d8af.d.ts +0 -276
  444. package/picker-button/cssm/utils-1574ad8b.d.ts +0 -29
  445. package/picker-button/cssm/utils-49cc3c24.d.ts +0 -8
  446. /package/calendar/{desktop-89f0cb07.d.ts → desktop-69921c40.d.ts} +0 -0
  447. /package/confirmation/{countdown-section-fd1f820b.d.ts → countdown-section-98424f8e.d.ts} +0 -0
  448. /package/confirmation/{countdown-section-fd1f820b.js → countdown-section-98424f8e.js} +0 -0
  449. /package/confirmation/esm/{countdown-section-3a227dc3.d.ts → countdown-section-293411b2.d.ts} +0 -0
  450. /package/confirmation/esm/{countdown-section-3a227dc3.js → countdown-section-293411b2.js} +0 -0
  451. /package/confirmation/modern/{countdown-section-0fae6dd8.d.ts → countdown-section-4c466791.d.ts} +0 -0
  452. /package/confirmation/modern/{countdown-section-0fae6dd8.js → countdown-section-4c466791.js} +0 -0
  453. /package/{picker-button → custom-picker-button}/Component-aed0af6e.d.ts +0 -0
  454. /package/{picker-button → custom-picker-button}/Component-f12ee135.d.ts +0 -0
  455. /package/{picker-button → custom-picker-button}/Component.mobile-96988a65.d.ts +0 -0
  456. /package/{date-range-input → custom-picker-button}/Component.responsive-0aa4e915.d.ts +0 -0
  457. /package/{picker-button → custom-picker-button}/Component.responsive-d7e9f69d.d.ts +0 -0
  458. /package/{date-range-input/cssm → custom-picker-button}/desktop-69921c40.d.ts +0 -0
  459. /package/{picker-button → custom-picker-button}/hook-ebda875c.d.ts +0 -0
  460. /package/{picker-button → custom-picker-button}/mobile-96988a65.d.ts +0 -0
  461. /package/{picker-button → custom-picker-button}/useSkeleton-1b036d4b.d.ts +0 -0
  462. /package/date-range-input/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
  463. /package/date-range-input/{cssm/Component.responsive-0aa4e915.d.ts → Component.responsive-16b1285a.d.ts} +0 -0
  464. /package/date-range-input/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
  465. /package/date-range-input/cssm/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
  466. /package/date-range-input/cssm/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
  467. /package/date-range-input/cssm/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
  468. /package/date-range-input/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
  469. /package/gallery/{buttons-690412e1.d.ts → buttons-0f7e62fa.d.ts} +0 -0
  470. /package/gallery/{buttons-690412e1.js → buttons-0f7e62fa.js} +0 -0
  471. /package/gallery/esm/{buttons-56eb04b3.d.ts → buttons-8f2a1c94.d.ts} +0 -0
  472. /package/gallery/esm/{buttons-56eb04b3.js → buttons-8f2a1c94.js} +0 -0
  473. /package/gallery/esm/{slide-44fcdb22.d.ts → slide-ceaab2f7.d.ts} +0 -0
  474. /package/gallery/esm/{slide-44fcdb22.js → slide-ceaab2f7.js} +0 -0
  475. /package/gallery/modern/{buttons-eaec7dc8.d.ts → buttons-c5da30ee.d.ts} +0 -0
  476. /package/gallery/modern/{buttons-eaec7dc8.js → buttons-c5da30ee.js} +0 -0
  477. /package/gallery/modern/{slide-f0094724.d.ts → slide-01729b01.d.ts} +0 -0
  478. /package/gallery/modern/{slide-f0094724.js → slide-01729b01.js} +0 -0
  479. /package/gallery/{slide-44acedca.d.ts → slide-d75dc41d.d.ts} +0 -0
  480. /package/gallery/{slide-44acedca.js → slide-d75dc41d.js} +0 -0
  481. /package/intl-phone-input/{Component.desktop-4cd3936b.d.ts → Component.desktop-9cded6b9.d.ts} +0 -0
  482. /package/intl-phone-input/{desktop-785df74d.d.ts → desktop-63dec22f.d.ts} +0 -0
  483. /package/{custom-picker-button → intl-phone-input}/desktop-89f0cb07.d.ts +0 -0
  484. /package/{custom-picker-button/mobile-d7e9f69d.d.ts → intl-phone-input/mobile-96988a65.d.ts} +0 -0
  485. /package/{custom-picker-button → picker-button}/Component-69921c40.d.ts +0 -0
  486. /package/{custom-picker-button → picker-button}/Component.modal.mobile-0f4b9bed.d.ts +0 -0
  487. /package/picker-button/{cssm/Component.responsive-3109f463.d.ts → Component.responsive-3109f463.d.ts} +0 -0
  488. /package/{custom-picker-button → picker-button}/component-10db897e.d.ts +0 -0
  489. /package/picker-button/{Component-72dda473.d.ts → cssm/Component-72dda473.d.ts} +0 -0
  490. /package/{intl-phone-input/mobile-d7e9f69d.d.ts → picker-button/cssm/mobile-96988a65.d.ts} +0 -0
  491. /package/{custom-picker-button/useSkeleton-ebda875c.d.ts → picker-button/cssm/useSkeleton-1b036d4b.d.ts} +0 -0
  492. /package/picker-button/{cssm/mobile-89f0cb07.d.ts → mobile-89f0cb07.d.ts} +0 -0
  493. /package/picker-button/{cssm/mobile-d7e9f69d.d.ts → mobile-d7e9f69d.d.ts} +0 -0
  494. /package/{custom-picker-button → picker-button}/types-67a2d8af.d.ts +0 -0
  495. /package/picker-button/{cssm/useSkeleton-ebda875c.d.ts → useSkeleton-ebda875c.d.ts} +0 -0
  496. /package/{custom-picker-button → picker-button}/utils-1574ad8b.d.ts +0 -0
  497. /package/{custom-picker-button → picker-button}/utils-49cc3c24.d.ts +0 -0
  498. /package/pure-cell/{component-56e8d476.d.ts → component-0bb227ff.d.ts} +0 -0
  499. /package/pure-cell/{component-56e8d476.js → component-0bb227ff.js} +0 -0
  500. /package/pure-cell/esm/{component-81398343.d.ts → component-0fa1f2f4.d.ts} +0 -0
  501. /package/pure-cell/esm/{component-81398343.js → component-0fa1f2f4.js} +0 -0
  502. /package/pure-cell/modern/{component-62dc17a6.d.ts → component-62710d9b.d.ts} +0 -0
  503. /package/pure-cell/modern/{component-62dc17a6.js → component-62710d9b.js} +0 -0
  504. /package/select/esm/{hook-dbd7a783.d.ts → hook-e63a15d0.d.ts} +0 -0
  505. /package/select/esm/{hook-dbd7a783.js → hook-e63a15d0.js} +0 -0
  506. /package/select/{hook-77cb9499.d.ts → hook-74d61833.d.ts} +0 -0
  507. /package/select/{hook-77cb9499.js → hook-74d61833.js} +0 -0
  508. /package/select/modern/{hook-2d4246ef.d.ts → hook-5e1db0b0.d.ts} +0 -0
  509. /package/select/modern/{hook-2d4246ef.js → hook-5e1db0b0.js} +0 -0
  510. /package/tabs/esm/{index.module-f81c66bd.js → index.module-072f7a03.js} +0 -0
  511. /package/tabs/esm/{index.module-e596240d.js → index.module-64994e8d.js} +0 -0
  512. /package/tabs/{index.module-f5167fdf.js → index.module-5f6b14c2.js} +0 -0
  513. /package/tabs/{index.module-aaabe4b6.js → index.module-e4f107c7.js} +0 -0
  514. /package/tabs/modern/{index.module-57137d98.js → index.module-5e57388f.js} +0 -0
  515. /package/tabs/modern/{index.module-328329dc.js → index.module-633b90f6.js} +0 -0
  516. /package/textarea/{PseudoTextArea-89d92eb6.d.ts → PseudoTextArea-36c6abaa.d.ts} +0 -0
  517. /package/textarea/{PseudoTextArea-89d92eb6.js → PseudoTextArea-36c6abaa.js} +0 -0
  518. /package/textarea/esm/{PseudoTextArea-b972f2a1.d.ts → PseudoTextArea-9a6ecffa.d.ts} +0 -0
  519. /package/textarea/esm/{PseudoTextArea-b972f2a1.js → PseudoTextArea-9a6ecffa.js} +0 -0
  520. /package/textarea/modern/{PseudoTextArea-05bab99f.d.ts → PseudoTextArea-af080549.d.ts} +0 -0
  521. /package/textarea/modern/{PseudoTextArea-05bab99f.js → PseudoTextArea-af080549.js} +0 -0
  522. /package/typography/{colors.module-acfdc4ac.js → colors.module-df0e4b50.js} +0 -0
  523. /package/typography/{common.module-1e0ee495.js → common.module-f956febc.js} +0 -0
  524. /package/typography/esm/{colors.module-15b18b20.js → colors.module-9bede968.js} +0 -0
  525. /package/typography/esm/{common.module-2109e6cf.js → common.module-a7331eab.js} +0 -0
  526. /package/typography/modern/{colors.module-9ac72522.js → colors.module-3d67b05c.js} +0 -0
  527. /package/typography/modern/{common.module-89e311be.js → common.module-37e5ffae.js} +0 -0
@@ -1,3 +1,324 @@
1
- export * from "./component-10db897e";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-67a2d8af";
3
- export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
1
+ /// <reference types="react-transition-group" />
2
+ /// <reference types="react" />
3
+ import React from "react";
4
+ import { HTMLAttributes, ReactElement, ReactNode, RefObject, FC } from "react";
5
+ import { HandledEvents } from "react-swipeable/es/types";
6
+ import { TransitionProps } from "react-transition-group/Transition";
7
+ import { BaseModalProps } from "./index-bdb4c6b9";
8
+ import { NavigationBarProps } from "./index-c76d6398";
9
+ import { BackgroundColorType } from "./index-72dda473";
10
+ import { SwipeableHandlers } from "react-swipeable";
11
+ import { BackdropProps } from "./index-ebda875c";
12
+ type BottomSheetTitleAlign = "center" | "left";
13
+ type BottomSheetProps = {
14
+ /**
15
+ * Контент
16
+ */
17
+ children?: ReactNode;
18
+ /**
19
+ * Управление видимостью
20
+ */
21
+ open: boolean;
22
+ /**
23
+ * Заголовок
24
+ */
25
+ title?: ReactNode;
26
+ /**
27
+ * Размер заголовка
28
+ */
29
+ titleSize?: NavigationBarProps["titleSize"];
30
+ /**
31
+ * Подзаголовок.
32
+ */
33
+ subtitle?: NavigationBarProps["subtitle"];
34
+ /**
35
+ * Кнопка действия (обычно, это кнопка закрытия)
36
+ */
37
+ actionButton?: ReactNode;
38
+ /**
39
+ * Нода, компонент или функция возвращающая их
40
+ *
41
+ * Контейнер к которому будут добавляться порталы
42
+ */
43
+ container?: BaseModalProps["container"];
44
+ /**
45
+ * Рендерить ли в контейнер через портал.
46
+ */
47
+ usePortal?: BaseModalProps["usePortal"];
48
+ /**
49
+ * Дополнительный класс
50
+ */
51
+ className?: string;
52
+ /**
53
+ * Дополнительный класс
54
+ */
55
+ contentClassName?: string;
56
+ /**
57
+ * Дополнительные пропсы на контейнер.
58
+ */
59
+ containerProps?: HTMLAttributes<HTMLDivElement>;
60
+ /**
61
+ * Дополнительный класс
62
+ */
63
+ containerClassName?: string;
64
+ /**
65
+ * Цвет фона
66
+ */
67
+ backgroundColor?: Extract<BackgroundColorType, "primary" | "secondary">;
68
+ /**
69
+ * Дополнительный класс шапки
70
+ */
71
+ headerClassName?: string;
72
+ /**
73
+ * Дополнительный класс футера
74
+ */
75
+ footerClassName?: string;
76
+ /**
77
+ * Дополнительный класс для аддонов
78
+ */
79
+ addonClassName?: string;
80
+ /**
81
+ * Дополнительный класс для компонента крестика
82
+ */
83
+ closerClassName?: string;
84
+ /**
85
+ * Дополнительный класс для компонента стрелки назад
86
+ */
87
+ backerClassName?: string;
88
+ /**
89
+ * Дополнительный класс для компонента модального окна
90
+ */
91
+ modalClassName?: string;
92
+ /**
93
+ * Дополнительный класс для обертки модального окна
94
+ */
95
+ modalWrapperClassName?: string;
96
+ /**
97
+ * Дополнительный класс для маркера
98
+ */
99
+ swipeableMarkerClassName?: string;
100
+ /**
101
+ * Кастомный маркер
102
+ */
103
+ swipeableMarker?: ReactElement;
104
+ /**
105
+ * TransitionProps, прокидываются в компонент CSSTransitionProps.
106
+ */
107
+ transitionProps?: Partial<TransitionProps>;
108
+ /**
109
+ * Идентификатор для систем автоматизированного тестирования
110
+ */
111
+ dataTestId?: string;
112
+ /**
113
+ * z-index компонента
114
+ */
115
+ zIndex?: number;
116
+ /**
117
+ * Будет ли свайпаться шторка
118
+ * @default true
119
+ */
120
+ swipeable?: boolean;
121
+ /**
122
+ * Будет ли свайпаться контент
123
+ */
124
+ swipeableContent?: boolean;
125
+ /**
126
+ * Порог свайпа
127
+ */
128
+ swipeThreshold?: number;
129
+ /**
130
+ * Слот слева
131
+ */
132
+ leftAddons?: ReactNode;
133
+ /**
134
+ * Слот справа
135
+ */
136
+ rightAddons?: ReactNode;
137
+ /**
138
+ * Слот снизу
139
+ */
140
+ bottomAddons?: ReactNode;
141
+ /**
142
+ * Наличие компонента крестика
143
+ */
144
+ hasCloser?: boolean;
145
+ /**
146
+ * Наличие компонента стрелки назад
147
+ */
148
+ hasBacker?: boolean;
149
+ /**
150
+ * Выравнивание заголовка
151
+ */
152
+ titleAlign?: BottomSheetTitleAlign;
153
+ /**
154
+ * Фиксирует шапку
155
+ */
156
+ stickyHeader?: boolean;
157
+ /**
158
+ * Фиксирует футер
159
+ */
160
+ stickyFooter?: boolean;
161
+ /**
162
+ * Высота шторки
163
+ */
164
+ initialHeight?: "default" | "full";
165
+ /**
166
+ * Будет ли виден оверлэй
167
+ */
168
+ hideOverlay?: boolean;
169
+ /**
170
+ * Будет ли видна шапка
171
+ */
172
+ hideHeader?: boolean;
173
+ /**
174
+ * Будет ли обрезан заголовок
175
+ */
176
+ trimTitle?: boolean;
177
+ /**
178
+ * Запретить закрытие шторки кликом на оверлэй
179
+ */
180
+ disableOverlayClick?: boolean;
181
+ /**
182
+ * Отключает блокировку скролла при открытии модального окна
183
+ */
184
+ disableBlockingScroll?: boolean;
185
+ /**
186
+ * Отключает ловушку фокуса
187
+ */
188
+ disableFocusLock?: boolean;
189
+ /**
190
+ * @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
191
+ * Не анимировать шторку при изменении размера вьюпорта
192
+ */
193
+ ignoreScreenChange?: boolean;
194
+ /**
195
+ * Свойства для Бэкдропа
196
+ */
197
+ backdropProps?: BaseModalProps["backdropProps"];
198
+ /**
199
+ * Реф на контейнер, в котором происходит скролл
200
+ */
201
+ scrollableContainerRef?: RefObject<HTMLElement>;
202
+ /**
203
+ * Реф для управления компонентом.
204
+ */
205
+ bottomSheetInstanceRef?: RefObject<{
206
+ scrollToArea: (idx: number) => void;
207
+ }>;
208
+ /**
209
+ * Реф на контейнер, в котором находится шторка
210
+ */
211
+ sheetContainerRef?: RefObject<HTMLElement>;
212
+ /**
213
+ * Магнитные области видимой высоты шторки.
214
+ * Можно использовать значения в пикселях - 10(число), либо в процентах - 10%(строка).
215
+ * По-умолчанию -[0, window.innerHeight - '24px']
216
+ * массив должен состоять минимум из 2 элементов
217
+ */
218
+ magneticAreas?: Array<number | string>;
219
+ /**
220
+ * Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
221
+ */
222
+ initialActiveAreaIndex?: number;
223
+ /**
224
+ * Отключает скролл контентной области.
225
+ */
226
+ scrollLocked?: boolean;
227
+ /**
228
+ * Скрыть скроллбар внутри шторки
229
+ */
230
+ hideScrollbar?: boolean;
231
+ /**
232
+ * Верхний отступ шторки, если она открыта на максимальную высоту
233
+ */
234
+ headerOffset?: number;
235
+ /**
236
+ * Содержимое bottom-sheet всегда в DOM
237
+ */
238
+ keepMounted?: boolean;
239
+ /**
240
+ * Отключает автоматический перевод фокуса на bottom-sheet при открытии
241
+ */
242
+ disableAutoFocus?: boolean;
243
+ /**
244
+ * Отключает восстановление фокуса на предыдущем элементе после закрытия bottom-sheet
245
+ */
246
+ disableRestoreFocus?: boolean;
247
+ /**
248
+ * Отключает вызов `onClose` при нажатии Escape
249
+ */
250
+ disableEscapeKeyDown?: boolean;
251
+ /**
252
+ * Обработчик закрытия
253
+ */
254
+ onClose: () => void;
255
+ /**
256
+ * Обработчик нажатия на стрелку назад
257
+ */
258
+ onBack?: () => void;
259
+ /**
260
+ * Вызывается в начале анимации притягивания к одной из `magneticAreas`
261
+ */
262
+ onMagnetize?: (index: number) => void;
263
+ /**
264
+ * Вызывается после окончания анимации притягивания
265
+ */
266
+ onMagnetizeEnd?: (index: number) => void;
267
+ /**
268
+ * Вызывается при изменении положения шторки
269
+ */
270
+ onOffsetChange?: (offset: number, percent: number) => void;
271
+ /**
272
+ * Вызывается в начале свайпа
273
+ */
274
+ onSwipeStart?: (event: HandledEvents) => void;
275
+ /**
276
+ * Вызывается после окончания свайпа
277
+ */
278
+ onSwipeEnd?: (event: HandledEvents | null) => void;
279
+ };
280
+ declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
281
+ declare const TIMEOUT = 500;
282
+ declare const SWIPE_VELOCITY = 0.4;
283
+ declare const MARKER_HEIGHT = 24;
284
+ declare const CLOSE_OFFSET = 0.2;
285
+ declare const SCROLL_OFFSET = 1;
286
+ declare const HEADER_OFFSET = 24;
287
+ declare const convertPercentToNumber: (value: string | number, fullHeight: number, headerOffset?: number) => number;
288
+ type FooterProps = {
289
+ /**
290
+ * Контент футера
291
+ */
292
+ children?: ReactNode;
293
+ /**
294
+ * Фиксирует футер
295
+ */
296
+ sticky?: boolean;
297
+ /**
298
+ * Дополнительный класс
299
+ */
300
+ className?: string;
301
+ };
302
+ declare const Footer: FC<FooterProps>;
303
+ type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
304
+ headerRef: RefObject<HTMLDivElement>;
305
+ headerOffset: number;
306
+ };
307
+ declare const Header: FC<HeaderProps>;
308
+ type SwipeableBackdropProps = BackdropProps & {
309
+ /**
310
+ * Прозрачность бэкдропа
311
+ */
312
+ opacity?: number;
313
+ /**
314
+ * Обработчики свайпа
315
+ */
316
+ handlers?: SwipeableHandlers;
317
+ /**
318
+ * Время анимации opacity
319
+ */
320
+ opacityTimeout?: number;
321
+ };
322
+ declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
323
+ export { BottomSheet, TIMEOUT, SWIPE_VELOCITY, MARKER_HEIGHT, CLOSE_OFFSET, SCROLL_OFFSET, HEADER_OFFSET, convertPercentToNumber, FooterProps, Footer, HeaderProps, Header, SwipeableBackdropProps, SwipeableBackdrop };
324
+ export type { BottomSheetProps, BottomSheetTitleAlign };
@@ -1,65 +1,6 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { BaseSelectProps, OptionProps, OptionShape } from "./typings-0f4b9bed";
4
- // eslint-disable-next-line @typescript-eslint/naming-convention
5
- type useSelectWithLoadingProps = {
6
- loading?: boolean;
7
- visibleOptions?: BaseSelectProps["visibleOptions"];
8
- Option?: React.FC<OptionProps>;
9
- };
10
- declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
11
- Option: (props: OptionProps) => React.JSX.Element;
12
- options: OptionShape[];
13
- } | null;
14
- type OptionsFetcherResponse = {
15
- options: OptionShape[];
16
- hasMore: boolean;
17
- };
18
- // eslint-disable-next-line @typescript-eslint/naming-convention
19
- type useLazyLoadingProps = {
20
- /** Количество элементов на "странице" */
21
- limit?: number;
22
- /** Начальный номер "страницы" */
23
- initialOffset?: number;
24
- /** Скелетон загружаемых элементов */
25
- skeleton?: React.ReactNode;
26
- /** Компонент пункта меню */
27
- Option?: React.FC<OptionProps>;
28
- /**
29
- * Функция-загрузчик опций.
30
- * @param offset - текущая страница
31
- * @param limit - количество элементов на странице
32
- * @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
33
- * @returns Promise<{
34
- * options - список опций следующей "страницы". Они аппендятся к предыдущим
35
- * hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
36
- * }>
37
- */
38
- optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
39
- };
40
- declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option }: useLazyLoadingProps): {
41
- optionsProps: {
42
- Option: (props: OptionProps) => React.JSX.Element;
43
- options: OptionShape[];
44
- optionsListProps: {
45
- ref: React.RefObject<HTMLDivElement>;
46
- inputProps: {
47
- onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
48
- value: string;
49
- }) => void;
50
- value: string;
51
- };
52
- };
53
- onOpen: (payload: {
54
- open?: boolean;
55
- }) => void;
56
- };
57
- reset: () => void;
58
- };
59
1
  export * from "./index-ebda875c";
60
- export * from "./Component-10db897e";
61
2
  export * from "./Component-0f4b9bed";
62
- export { useSelectWithLoading, useLazyLoading };
3
+ export * from "./hook-ebda875c";
63
4
  export * from "./hook-8abfea97";
64
5
  export * from "./typings-0f4b9bed";
65
6
  export * from "./utils-0f4b9bed";
@@ -22,6 +22,10 @@ type DateInputProps = Omit<InputProps, 'onChange'> & {
22
22
  value: string;
23
23
  }) => void;
24
24
  };
25
+ /**
26
+ * @deprecated
27
+ * use UniversalDateInput instead
28
+ */
25
29
  declare const DateInput: React.ForwardRefExoticComponent<Omit<InputProps, "onChange"> & {
26
30
  /**
27
31
  * Управление нативным режимом на мобильных устройствах
@@ -18,6 +18,10 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
18
18
  var styles = {"nativeInput":"date-input__nativeInput_1l5r0"};
19
19
  require('./index.css');
20
20
 
21
+ /**
22
+ * @deprecated
23
+ * use UniversalDateInput instead
24
+ */
21
25
  var DateInput = React.forwardRef(function (_a, ref) {
22
26
  var _b = _a.mobileMode, mobileMode = _b === void 0 ? 'input' : _b, _c = _a.defaultValue, defaultValue = _c === void 0 ? '' : _c, rightAddons = _a.rightAddons, error = _a.error, propValue = _a.value, onBlur = _a.onBlur, onChange = _a.onChange, onComplete = _a.onComplete, restProps = tslib.__rest(_a, ["mobileMode", "defaultValue", "rightAddons", "error", "value", "onBlur", "onChange", "onComplete"]);
23
27
  var inputRef = React.useRef(null);
@@ -22,6 +22,10 @@ type DateInputProps = Omit<InputProps, 'onChange'> & {
22
22
  value: string;
23
23
  }) => void;
24
24
  };
25
+ /**
26
+ * @deprecated
27
+ * use UniversalDateInput instead
28
+ */
25
29
  declare const DateInput: React.ForwardRefExoticComponent<Omit<InputProps, "onChange"> & {
26
30
  /**
27
31
  * Управление нативным режимом на мобильных устройствах
@@ -17,6 +17,10 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
17
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
18
18
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
19
19
 
20
+ /**
21
+ * @deprecated
22
+ * use UniversalDateInput instead
23
+ */
20
24
  var DateInput = React.forwardRef(function (_a, ref) {
21
25
  var _b = _a.mobileMode, mobileMode = _b === void 0 ? 'input' : _b, _c = _a.defaultValue, defaultValue = _c === void 0 ? '' : _c, rightAddons = _a.rightAddons, error = _a.error, propValue = _a.value, onBlur = _a.onBlur, onChange = _a.onChange, onComplete = _a.onComplete, restProps = tslib.__rest(_a, ["mobileMode", "defaultValue", "rightAddons", "error", "value", "onBlur", "onChange", "onComplete"]);
22
26
  var inputRef = React.useRef(null);
@@ -22,6 +22,10 @@ type DateInputProps = Omit<InputProps, 'onChange'> & {
22
22
  value: string;
23
23
  }) => void;
24
24
  };
25
+ /**
26
+ * @deprecated
27
+ * use UniversalDateInput instead
28
+ */
25
29
  declare const DateInput: React.ForwardRefExoticComponent<Omit<InputProps, "onChange"> & {
26
30
  /**
27
31
  * Управление нативным режимом на мобильных устройствах
@@ -11,6 +11,10 @@ import 'date-fns/parse';
11
11
  var styles = {"nativeInput":"date-input__nativeInput_1l5r0"};
12
12
  require('./index.css');
13
13
 
14
+ /**
15
+ * @deprecated
16
+ * use UniversalDateInput instead
17
+ */
14
18
  var DateInput = forwardRef(function (_a, ref) {
15
19
  var _b = _a.mobileMode, mobileMode = _b === void 0 ? 'input' : _b, _c = _a.defaultValue, defaultValue = _c === void 0 ? '' : _c, rightAddons = _a.rightAddons, error = _a.error, propValue = _a.value, onBlur = _a.onBlur, onChange = _a.onChange, onComplete = _a.onComplete, restProps = __rest(_a, ["mobileMode", "defaultValue", "rightAddons", "error", "value", "onBlur", "onChange", "onComplete"]);
16
20
  var inputRef = useRef(null);
@@ -22,6 +22,10 @@ type DateInputProps = Omit<InputProps, 'onChange'> & {
22
22
  value: string;
23
23
  }) => void;
24
24
  };
25
+ /**
26
+ * @deprecated
27
+ * use UniversalDateInput instead
28
+ */
25
29
  declare const DateInput: React.ForwardRefExoticComponent<Omit<InputProps, "onChange"> & {
26
30
  /**
27
31
  * Управление нативным режимом на мобильных устройствах
@@ -10,6 +10,10 @@ import 'date-fns/parse';
10
10
  const styles = {"nativeInput":"date-input__nativeInput_1l5r0"};
11
11
  require('./index.css');
12
12
 
13
+ /**
14
+ * @deprecated
15
+ * use UniversalDateInput instead
16
+ */
13
17
  const DateInput = forwardRef(({ mobileMode = 'input', defaultValue = '', rightAddons, error, value: propValue, onBlur, onChange, onComplete, ...restProps }, ref) => {
14
18
  const inputRef = useRef(null);
15
19
  const [shouldRenderNative, setShouldRenderNative] = useState(false);