@alfalab/core-components 43.1.3-beta.0 → 43.2.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 (321) hide show
  1. package/bottom-sheet/component.js +2 -2
  2. package/bottom-sheet/cssm/component.js +2 -2
  3. package/bottom-sheet/cssm/index.module.css +3 -2
  4. package/bottom-sheet/cssm/types.d.ts +4 -0
  5. package/bottom-sheet/esm/component.js +2 -2
  6. package/bottom-sheet/esm/index.css +3 -2
  7. package/bottom-sheet/esm/types.d.ts +4 -0
  8. package/bottom-sheet/index.css +3 -2
  9. package/bottom-sheet/modern/component.js +2 -1
  10. package/bottom-sheet/modern/index.css +3 -2
  11. package/bottom-sheet/modern/types.d.ts +4 -0
  12. package/bottom-sheet/types.d.ts +4 -0
  13. package/confirmation/component.responsive.js +1 -1
  14. package/confirmation/components/base-confirmation/component.js +1 -1
  15. package/confirmation/components/base-confirmation/index.js +1 -1
  16. package/confirmation/components/index.js +1 -1
  17. package/confirmation/components/screens/index.js +1 -1
  18. package/confirmation/components/screens/initial/component.js +1 -1
  19. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  20. package/confirmation/components/screens/initial/index.js +1 -1
  21. package/confirmation/desktop/component.desktop.js +1 -1
  22. package/confirmation/desktop/index.js +1 -1
  23. package/confirmation/esm/component.responsive.js +1 -1
  24. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  25. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  26. package/confirmation/esm/components/index.js +1 -1
  27. package/confirmation/esm/components/screens/index.js +1 -1
  28. package/confirmation/esm/components/screens/initial/component.js +1 -1
  29. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  30. package/confirmation/esm/components/screens/initial/index.js +1 -1
  31. package/confirmation/esm/desktop/component.desktop.js +1 -1
  32. package/confirmation/esm/desktop/index.js +1 -1
  33. package/confirmation/esm/index.js +1 -1
  34. package/confirmation/esm/mobile/component.mobile.js +1 -1
  35. package/confirmation/esm/mobile/index.js +1 -1
  36. package/confirmation/esm/shared/index.js +1 -1
  37. package/confirmation/index.js +1 -1
  38. package/confirmation/mobile/component.mobile.js +1 -1
  39. package/confirmation/mobile/index.js +1 -1
  40. package/confirmation/modern/component.responsive.js +1 -1
  41. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  42. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  43. package/confirmation/modern/components/index.js +1 -1
  44. package/confirmation/modern/components/screens/index.js +1 -1
  45. package/confirmation/modern/components/screens/initial/component.js +1 -1
  46. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  47. package/confirmation/modern/components/screens/initial/index.js +1 -1
  48. package/confirmation/modern/desktop/component.desktop.js +1 -1
  49. package/confirmation/modern/desktop/index.js +1 -1
  50. package/confirmation/modern/index.js +1 -1
  51. package/confirmation/modern/mobile/component.mobile.js +1 -1
  52. package/confirmation/modern/mobile/index.js +1 -1
  53. package/confirmation/modern/shared/index.js +1 -1
  54. package/confirmation/shared/index.js +1 -1
  55. package/form-control/components/base-form-control/default.css +2 -2
  56. package/form-control/components/base-form-control/inverted.css +2 -2
  57. package/form-control/cssm/components/base-form-control/default.module.css +2 -2
  58. package/form-control/cssm/components/base-form-control/inverted.module.css +2 -2
  59. package/form-control/esm/components/base-form-control/default.css +2 -2
  60. package/form-control/esm/components/base-form-control/inverted.css +2 -2
  61. package/form-control/modern/components/base-form-control/default.css +2 -2
  62. package/form-control/modern/components/base-form-control/inverted.css +2 -2
  63. package/gallery/Component.js +2 -2
  64. package/gallery/components/header/Component.js +1 -1
  65. package/gallery/components/header/buttons.js +1 -1
  66. package/gallery/components/header/index.js +1 -1
  67. package/gallery/components/image-viewer/component.js +1 -1
  68. package/gallery/components/image-viewer/index.js +1 -1
  69. package/gallery/components/image-viewer/slide.js +1 -1
  70. package/gallery/components/index.js +2 -2
  71. package/gallery/esm/Component.js +2 -2
  72. package/gallery/esm/components/header/Component.js +1 -1
  73. package/gallery/esm/components/header/buttons.js +1 -1
  74. package/gallery/esm/components/header/index.js +1 -1
  75. package/gallery/esm/components/image-viewer/component.js +1 -1
  76. package/gallery/esm/components/image-viewer/index.js +1 -1
  77. package/gallery/esm/components/image-viewer/slide.js +1 -1
  78. package/gallery/esm/components/index.js +2 -2
  79. package/gallery/esm/index.js +2 -2
  80. package/gallery/index.js +2 -2
  81. package/gallery/modern/Component.js +2 -2
  82. package/gallery/modern/components/header/Component.js +1 -1
  83. package/gallery/modern/components/header/buttons.js +1 -1
  84. package/gallery/modern/components/header/index.js +1 -1
  85. package/gallery/modern/components/image-viewer/component.js +1 -1
  86. package/gallery/modern/components/image-viewer/index.js +1 -1
  87. package/gallery/modern/components/image-viewer/slide.js +1 -1
  88. package/gallery/modern/components/index.js +2 -2
  89. package/gallery/modern/index.js +2 -2
  90. package/international-phone-input/cssm/typings-e63ec8aa.d.ts +31 -24
  91. package/international-phone-input/esm/typings-e63ec8aa.d.ts +31 -24
  92. package/international-phone-input/modern/typings-e63ec8aa.d.ts +31 -24
  93. package/international-phone-input/typings-e63ec8aa.d.ts +31 -24
  94. package/navigation-bar/Component.js +2 -2
  95. package/navigation-bar/cssm/Component.js +2 -2
  96. package/navigation-bar/cssm/types.d.ts +5 -0
  97. package/navigation-bar/esm/Component.js +2 -2
  98. package/navigation-bar/esm/types.d.ts +5 -0
  99. package/navigation-bar/modern/Component.js +2 -2
  100. package/navigation-bar/modern/types.d.ts +5 -0
  101. package/navigation-bar/types.d.ts +5 -0
  102. package/package.json +1 -1
  103. package/picker-button/{esm/types-1c79e231.d.ts → cssm/types-667e33fd.d.ts} +5 -1
  104. package/picker-button/cssm/typings-e63ec8aa.d.ts +5 -1
  105. package/picker-button/{types-1c79e231.d.ts → esm/types-667e33fd.d.ts} +5 -1
  106. package/picker-button/esm/typings-e63ec8aa.d.ts +5 -1
  107. package/picker-button/modern/{types-1c79e231.d.ts → types-667e33fd.d.ts} +5 -1
  108. package/picker-button/modern/typings-e63ec8aa.d.ts +5 -1
  109. package/picker-button/{cssm/types-1c79e231.d.ts → types-667e33fd.d.ts} +5 -1
  110. package/picker-button/typings-e63ec8aa.d.ts +5 -1
  111. package/pure-cell/component.js +1 -1
  112. package/pure-cell/components/content/component.js +1 -1
  113. package/pure-cell/components/content/index.d.ts +1 -1
  114. package/pure-cell/components/content/index.js +1 -1
  115. package/pure-cell/components/main/component.js +1 -1
  116. package/pure-cell/components/main/index.d.ts +1 -1
  117. package/pure-cell/components/main/index.js +1 -1
  118. package/pure-cell/components/text/component.js +1 -1
  119. package/pure-cell/components/text/index.d.ts +1 -1
  120. package/pure-cell/components/text/index.js +1 -1
  121. package/pure-cell/esm/component.js +1 -1
  122. package/pure-cell/esm/components/content/component.js +1 -1
  123. package/pure-cell/esm/components/content/index.d.ts +1 -1
  124. package/pure-cell/esm/components/content/index.js +1 -1
  125. package/pure-cell/esm/components/main/component.js +1 -1
  126. package/pure-cell/esm/components/main/index.d.ts +1 -1
  127. package/pure-cell/esm/components/main/index.js +1 -1
  128. package/pure-cell/esm/components/text/component.js +1 -1
  129. package/pure-cell/esm/components/text/index.d.ts +1 -1
  130. package/pure-cell/esm/components/text/index.js +1 -1
  131. package/pure-cell/esm/index.js +1 -1
  132. package/pure-cell/index.js +1 -1
  133. package/pure-cell/modern/component.js +1 -1
  134. package/pure-cell/modern/components/content/component.js +1 -1
  135. package/pure-cell/modern/components/content/index.d.ts +1 -1
  136. package/pure-cell/modern/components/content/index.js +1 -1
  137. package/pure-cell/modern/components/main/component.js +1 -1
  138. package/pure-cell/modern/components/main/index.d.ts +1 -1
  139. package/pure-cell/modern/components/main/index.js +1 -1
  140. package/pure-cell/modern/components/text/component.js +1 -1
  141. package/pure-cell/modern/components/text/index.d.ts +1 -1
  142. package/pure-cell/modern/components/text/index.js +1 -1
  143. package/pure-cell/modern/index.js +1 -1
  144. package/select/Component.responsive.js +1 -1
  145. package/select/esm/Component.responsive.js +1 -1
  146. package/select/esm/index.js +1 -1
  147. package/select/esm/mobile/Component.mobile.js +1 -1
  148. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  149. package/select/esm/mobile/index.js +1 -1
  150. package/select/esm/presets/index.js +1 -1
  151. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  152. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  153. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  154. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  155. package/select/esm/shared/index.js +1 -1
  156. package/select/index.js +1 -1
  157. package/select/mobile/Component.mobile.js +1 -1
  158. package/select/mobile/Component.modal.mobile.js +1 -1
  159. package/select/mobile/index.js +1 -1
  160. package/select/modern/Component.responsive.js +1 -1
  161. package/select/modern/index.js +1 -1
  162. package/select/modern/mobile/Component.mobile.js +1 -1
  163. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  164. package/select/modern/mobile/index.js +1 -1
  165. package/select/modern/presets/index.js +1 -1
  166. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  167. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  168. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  169. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  170. package/select/modern/shared/index.js +1 -1
  171. package/select/presets/index.js +1 -1
  172. package/select/presets/useSelectWithApply/hook.js +1 -1
  173. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  174. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  175. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  176. package/select/shared/index.js +1 -1
  177. package/select-with-tags/component.d.ts +1 -1
  178. package/tabs/collapsible/index.js +1 -1
  179. package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
  180. package/tabs/components/primary-tablist/Component.desktop.js +1 -1
  181. package/tabs/components/primary-tablist/Component.mobile.js +1 -1
  182. package/tabs/components/primary-tablist/Component.responsive.js +1 -1
  183. package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
  184. package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
  185. package/tabs/components/secondary-tablist/Component.responsive.js +1 -1
  186. package/tabs/components/tabs/Component.collapsible.js +1 -1
  187. package/tabs/components/tabs/Component.desktop.js +2 -2
  188. package/tabs/components/tabs/Component.mobile.js +2 -2
  189. package/tabs/components/tabs/Component.responsive.js +2 -2
  190. package/tabs/desktop/index.js +2 -2
  191. package/tabs/esm/collapsible/index.js +1 -1
  192. package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
  193. package/tabs/esm/components/primary-tablist/Component.desktop.js +1 -1
  194. package/tabs/esm/components/primary-tablist/Component.mobile.js +1 -1
  195. package/tabs/esm/components/primary-tablist/Component.responsive.js +1 -1
  196. package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
  197. package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
  198. package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
  199. package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
  200. package/tabs/esm/components/tabs/Component.desktop.js +2 -2
  201. package/tabs/esm/components/tabs/Component.mobile.js +2 -2
  202. package/tabs/esm/components/tabs/Component.responsive.js +2 -2
  203. package/tabs/esm/desktop/index.js +2 -2
  204. package/tabs/esm/index.js +2 -2
  205. package/tabs/esm/mobile/index.js +2 -2
  206. package/tabs/index.js +2 -2
  207. package/tabs/mobile/index.js +2 -2
  208. package/tabs/modern/collapsible/index.js +1 -1
  209. package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
  210. package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
  211. package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
  212. package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
  213. package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
  214. package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
  215. package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
  216. package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
  217. package/tabs/modern/components/tabs/Component.desktop.js +2 -2
  218. package/tabs/modern/components/tabs/Component.mobile.js +2 -2
  219. package/tabs/modern/components/tabs/Component.responsive.js +2 -2
  220. package/tabs/modern/desktop/index.js +2 -2
  221. package/tabs/modern/index.js +2 -2
  222. package/tabs/modern/mobile/index.js +2 -2
  223. package/textarea/Component.js +1 -1
  224. package/textarea/components/PseudoTextArea.js +1 -1
  225. package/textarea/components/index.d.ts +1 -1
  226. package/textarea/components/index.js +1 -1
  227. package/textarea/esm/Component.js +1 -1
  228. package/textarea/esm/components/PseudoTextArea.js +1 -1
  229. package/textarea/esm/components/index.d.ts +1 -1
  230. package/textarea/esm/components/index.js +1 -1
  231. package/textarea/esm/index.js +1 -1
  232. package/textarea/index.js +1 -1
  233. package/textarea/modern/Component.js +1 -1
  234. package/textarea/modern/components/PseudoTextArea.js +1 -1
  235. package/textarea/modern/components/index.d.ts +1 -1
  236. package/textarea/modern/components/index.js +1 -1
  237. package/textarea/modern/index.js +1 -1
  238. package/themes/compiled/mobile-dark-bluetint.css +21 -21
  239. package/themes/dist/compiled/mobile-dark-bluetint.css +121 -121
  240. package/typography/component.js +2 -2
  241. package/typography/esm/component.js +2 -2
  242. package/typography/esm/index.js +2 -2
  243. package/typography/esm/text/component.js +1 -1
  244. package/typography/esm/text/index.js +1 -1
  245. package/typography/esm/title/component.js +1 -1
  246. package/typography/esm/title/index.js +2 -2
  247. package/typography/esm/title-mobile/component.js +2 -2
  248. package/typography/esm/title-mobile/index.js +2 -2
  249. package/typography/esm/title-responsive/component.js +2 -2
  250. package/typography/esm/title-responsive/index.js +2 -2
  251. package/typography/index.js +2 -2
  252. package/typography/modern/component.js +2 -2
  253. package/typography/modern/index.js +2 -2
  254. package/typography/modern/text/component.js +1 -1
  255. package/typography/modern/text/index.js +1 -1
  256. package/typography/modern/title/component.js +1 -1
  257. package/typography/modern/title/index.js +2 -2
  258. package/typography/modern/title-mobile/component.js +2 -2
  259. package/typography/modern/title-mobile/index.js +2 -2
  260. package/typography/modern/title-responsive/component.js +2 -2
  261. package/typography/modern/title-responsive/index.js +2 -2
  262. package/typography/text/component.js +1 -1
  263. package/typography/text/index.js +1 -1
  264. package/typography/title/component.js +1 -1
  265. package/typography/title/index.js +2 -2
  266. package/typography/title-mobile/component.js +2 -2
  267. package/typography/title-mobile/index.js +2 -2
  268. package/typography/title-responsive/component.js +2 -2
  269. package/typography/title-responsive/index.js +2 -2
  270. package/universal-date-input/cssm/index-5712fce2.d.ts +27 -24
  271. package/universal-date-input/esm/index-5712fce2.d.ts +27 -24
  272. package/universal-date-input/index-5712fce2.d.ts +27 -24
  273. package/universal-date-input/modern/index-5712fce2.d.ts +27 -24
  274. /package/confirmation/{countdown-section-840dd98a.d.ts → countdown-section-c3df4486.d.ts} +0 -0
  275. /package/confirmation/{countdown-section-840dd98a.js → countdown-section-c3df4486.js} +0 -0
  276. /package/confirmation/esm/{countdown-section-0db0e4ed.d.ts → countdown-section-7359cc39.d.ts} +0 -0
  277. /package/confirmation/esm/{countdown-section-0db0e4ed.js → countdown-section-7359cc39.js} +0 -0
  278. /package/confirmation/modern/{countdown-section-9c20403c.d.ts → countdown-section-afd7b569.d.ts} +0 -0
  279. /package/confirmation/modern/{countdown-section-9c20403c.js → countdown-section-afd7b569.js} +0 -0
  280. /package/gallery/{buttons-4f5e6d04.d.ts → buttons-916b2ace.d.ts} +0 -0
  281. /package/gallery/{buttons-4f5e6d04.js → buttons-916b2ace.js} +0 -0
  282. /package/gallery/esm/{buttons-b69133ee.d.ts → buttons-9fe1d28e.d.ts} +0 -0
  283. /package/gallery/esm/{buttons-b69133ee.js → buttons-9fe1d28e.js} +0 -0
  284. /package/gallery/esm/{slide-d3262e3b.d.ts → slide-cfd8bfe0.d.ts} +0 -0
  285. /package/gallery/esm/{slide-d3262e3b.js → slide-cfd8bfe0.js} +0 -0
  286. /package/gallery/modern/{buttons-86d05dcd.d.ts → buttons-95ecfff9.d.ts} +0 -0
  287. /package/gallery/modern/{buttons-86d05dcd.js → buttons-95ecfff9.js} +0 -0
  288. /package/gallery/modern/{slide-aa765790.d.ts → slide-026ef04b.d.ts} +0 -0
  289. /package/gallery/modern/{slide-aa765790.js → slide-026ef04b.js} +0 -0
  290. /package/gallery/{slide-c5cb565d.d.ts → slide-36063e76.d.ts} +0 -0
  291. /package/gallery/{slide-c5cb565d.js → slide-36063e76.js} +0 -0
  292. /package/pure-cell/{component-e1553bc3.d.ts → component-a5dfdddd.d.ts} +0 -0
  293. /package/pure-cell/{component-e1553bc3.js → component-a5dfdddd.js} +0 -0
  294. /package/pure-cell/esm/{component-17015bb0.d.ts → component-a5b5f2d1.d.ts} +0 -0
  295. /package/pure-cell/esm/{component-17015bb0.js → component-a5b5f2d1.js} +0 -0
  296. /package/pure-cell/modern/{component-d9b0a296.d.ts → component-591761ce.d.ts} +0 -0
  297. /package/pure-cell/modern/{component-d9b0a296.js → component-591761ce.js} +0 -0
  298. /package/select/esm/{hook-b7e947a3.d.ts → hook-a287da6c.d.ts} +0 -0
  299. /package/select/esm/{hook-b7e947a3.js → hook-a287da6c.js} +0 -0
  300. /package/select/{hook-c20445cd.d.ts → hook-d8cd1702.d.ts} +0 -0
  301. /package/select/{hook-c20445cd.js → hook-d8cd1702.js} +0 -0
  302. /package/select/modern/{hook-3b1b5c82.d.ts → hook-14cdb84d.d.ts} +0 -0
  303. /package/select/modern/{hook-3b1b5c82.js → hook-14cdb84d.js} +0 -0
  304. /package/tabs/esm/{index.module-b52b9e17.js → index.module-4151daf2.js} +0 -0
  305. /package/tabs/esm/{index.module-be3bfbff.js → index.module-525943f3.js} +0 -0
  306. /package/tabs/{index.module-711e02ae.js → index.module-0382cb1b.js} +0 -0
  307. /package/tabs/{index.module-05b34f7e.js → index.module-6325dd03.js} +0 -0
  308. /package/tabs/modern/{index.module-1bf1a955.js → index.module-86f8baa2.js} +0 -0
  309. /package/tabs/modern/{index.module-810908b2.js → index.module-efbe6ab6.js} +0 -0
  310. /package/textarea/{PseudoTextArea-e28d5626.d.ts → PseudoTextArea-6e620af2.d.ts} +0 -0
  311. /package/textarea/{PseudoTextArea-e28d5626.js → PseudoTextArea-6e620af2.js} +0 -0
  312. /package/textarea/esm/{PseudoTextArea-377a9459.d.ts → PseudoTextArea-a3994a4b.d.ts} +0 -0
  313. /package/textarea/esm/{PseudoTextArea-377a9459.js → PseudoTextArea-a3994a4b.js} +0 -0
  314. /package/textarea/modern/{PseudoTextArea-5d699ede.d.ts → PseudoTextArea-7787d54a.d.ts} +0 -0
  315. /package/textarea/modern/{PseudoTextArea-5d699ede.js → PseudoTextArea-7787d54a.js} +0 -0
  316. /package/typography/{colors.module-88798512.js → colors.module-49eb285f.js} +0 -0
  317. /package/typography/{common.module-60c4edff.js → common.module-7275f428.js} +0 -0
  318. /package/typography/esm/{colors.module-5d0e5d81.js → colors.module-0752fba9.js} +0 -0
  319. /package/typography/esm/{common.module-980459cf.js → common.module-a41f9d6b.js} +0 -0
  320. /package/typography/modern/{colors.module-76bf7d31.js → colors.module-bae7f7cd.js} +0 -0
  321. /package/typography/modern/{common.module-a42461d1.js → common.module-b8a90806.js} +0 -0
@@ -27,7 +27,7 @@ require('./index.css');
27
27
  var isNil = coreComponentsShared.fnUtils.isNil;
28
28
  var BottomSheet = React.forwardRef(function (_a, ref) {
29
29
  var _b, _c, _d, _e, _f;
30
- var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _h = _a.titleAlign, titleAlign = _h === void 0 ? 'left' : _h, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _j = _a.stickyFooter, stickyFooter = _j === void 0 ? true : _j, _k = _a.initialHeight, initialHeight = _k === void 0 ? 'default' : _k, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _l = _a.transitionProps, transitionProps = _l === void 0 ? {} : _l, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _m = _a.swipeable, swipeable = _m === void 0 ? true : _m, _o = _a.swipeableContent, swipeableContent = _o === void 0 ? true : _o, _p = _a.swipeThreshold, swipeThreshold = _p === void 0 ? 5 : _p, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _q = _a.scrollableContainerRef, scrollableContainerRef = _q === void 0 ? function () { return null; } : _q, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _r = _a.sheetContainerRef, sheetContainerRef = _r === void 0 ? function () { return null; } : _r, _s = _a.headerOffset, headerOffset = _s === void 0 ? 24 : _s, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName;
30
+ var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _h = _a.titleAlign, titleAlign = _h === void 0 ? 'left' : _h, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _j = _a.stickyFooter, stickyFooter = _j === void 0 ? true : _j, _k = _a.initialHeight, initialHeight = _k === void 0 ? 'default' : _k, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _l = _a.transitionProps, transitionProps = _l === void 0 ? {} : _l, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _m = _a.swipeable, swipeable = _m === void 0 ? true : _m, _o = _a.swipeableContent, swipeableContent = _o === void 0 ? true : _o, _p = _a.swipeThreshold, swipeThreshold = _p === void 0 ? 5 : _p, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _q = _a.scrollableContainerRef, scrollableContainerRef = _q === void 0 ? function () { return null; } : _q, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _r = _a.sheetContainerRef, sheetContainerRef = _r === void 0 ? function () { return null; } : _r, _s = _a.headerOffset, headerOffset = _s === void 0 ? 24 : _s, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps;
31
31
  var fullHeight = reactDiv100vh.use100vh() || 0;
32
32
  // Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
33
33
  var isFirstRender = fullHeight === 0;
@@ -55,7 +55,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
55
55
  var titleIsReactElement = React__default.default.isValidElement(title);
56
56
  var headerProps = tslib.__assign(tslib.__assign({}, (titleIsReactElement
57
57
  ? { children: title }
58
- : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, headerRef: headerRef, headerOffset: headerOffset, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
58
+ : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, headerRef: headerRef, headerOffset: headerOffset, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose, backButtonProps: backButtonProps });
59
59
  var startSwiping = function (event) {
60
60
  setSwipingInProgress(function (p) {
61
61
  if (!p)
@@ -28,7 +28,7 @@ var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
28
28
  var isNil = coreComponentsShared.fnUtils.isNil;
29
29
  var BottomSheet = React.forwardRef(function (_a, ref) {
30
30
  var _b, _c, _d, _e, _f;
31
- var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _h = _a.titleAlign, titleAlign = _h === void 0 ? 'left' : _h, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _j = _a.stickyFooter, stickyFooter = _j === void 0 ? true : _j, _k = _a.initialHeight, initialHeight = _k === void 0 ? 'default' : _k, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _l = _a.transitionProps, transitionProps = _l === void 0 ? {} : _l, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _m = _a.swipeable, swipeable = _m === void 0 ? true : _m, _o = _a.swipeableContent, swipeableContent = _o === void 0 ? true : _o, _p = _a.swipeThreshold, swipeThreshold = _p === void 0 ? 5 : _p, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _q = _a.scrollableContainerRef, scrollableContainerRef = _q === void 0 ? function () { return null; } : _q, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _r = _a.sheetContainerRef, sheetContainerRef = _r === void 0 ? function () { return null; } : _r, _s = _a.headerOffset, headerOffset = _s === void 0 ? 24 : _s, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName;
31
+ var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _h = _a.titleAlign, titleAlign = _h === void 0 ? 'left' : _h, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _j = _a.stickyFooter, stickyFooter = _j === void 0 ? true : _j, _k = _a.initialHeight, initialHeight = _k === void 0 ? 'default' : _k, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _l = _a.transitionProps, transitionProps = _l === void 0 ? {} : _l, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _m = _a.swipeable, swipeable = _m === void 0 ? true : _m, _o = _a.swipeableContent, swipeableContent = _o === void 0 ? true : _o, _p = _a.swipeThreshold, swipeThreshold = _p === void 0 ? 5 : _p, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _q = _a.scrollableContainerRef, scrollableContainerRef = _q === void 0 ? function () { return null; } : _q, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _r = _a.sheetContainerRef, sheetContainerRef = _r === void 0 ? function () { return null; } : _r, _s = _a.headerOffset, headerOffset = _s === void 0 ? 24 : _s, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps;
32
32
  var fullHeight = reactDiv100vh.use100vh() || 0;
33
33
  // Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
34
34
  var isFirstRender = fullHeight === 0;
@@ -56,7 +56,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
56
56
  var titleIsReactElement = React__default.default.isValidElement(title);
57
57
  var headerProps = tslib.__assign(tslib.__assign({}, (titleIsReactElement
58
58
  ? { children: title }
59
- : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, headerRef: headerRef, headerOffset: headerOffset, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
59
+ : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, headerRef: headerRef, headerOffset: headerOffset, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose, backButtonProps: backButtonProps });
60
60
  var startSwiping = function (event) {
61
61
  setSwipingInProgress(function (p) {
62
62
  if (!p)
@@ -51,13 +51,14 @@
51
51
 
52
52
  /* footer */
53
53
  } .modal {
54
- background-color: transparent;
55
- position: fixed;
56
54
  bottom: 0;
57
55
  width: 100%;
58
56
  max-width: 600px;
59
57
  pointer-events: none;
60
58
  touch-action: none;
59
+ } .modal.modal {
60
+ background-color: transparent;
61
+ position: fixed;
61
62
  } .wrapper {
62
63
  transform: translateY(100%);
63
64
  pointer-events: none;
@@ -142,6 +142,10 @@ type BottomSheetProps = {
142
142
  * Наличие компонента стрелки назад
143
143
  */
144
144
  hasBacker?: boolean;
145
+ /**
146
+ * Дополнительные пропсы для кнопки "Назад"
147
+ */
148
+ backButtonProps?: NavigationBarProps['backButtonProps'];
145
149
  /**
146
150
  * Выравнивание заголовка
147
151
  */
@@ -19,7 +19,7 @@ require('./index.css');
19
19
  var isNil = fnUtils.isNil;
20
20
  var BottomSheet = forwardRef(function (_a, ref) {
21
21
  var _b, _c, _d, _e, _f;
22
- var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _h = _a.titleAlign, titleAlign = _h === void 0 ? 'left' : _h, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _j = _a.stickyFooter, stickyFooter = _j === void 0 ? true : _j, _k = _a.initialHeight, initialHeight = _k === void 0 ? 'default' : _k, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _l = _a.transitionProps, transitionProps = _l === void 0 ? {} : _l, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _m = _a.swipeable, swipeable = _m === void 0 ? true : _m, _o = _a.swipeableContent, swipeableContent = _o === void 0 ? true : _o, _p = _a.swipeThreshold, swipeThreshold = _p === void 0 ? 5 : _p, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _q = _a.scrollableContainerRef, scrollableContainerRef = _q === void 0 ? function () { return null; } : _q, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _r = _a.sheetContainerRef, sheetContainerRef = _r === void 0 ? function () { return null; } : _r, _s = _a.headerOffset, headerOffset = _s === void 0 ? 24 : _s, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName;
22
+ var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _h = _a.titleAlign, titleAlign = _h === void 0 ? 'left' : _h, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _j = _a.stickyFooter, stickyFooter = _j === void 0 ? true : _j, _k = _a.initialHeight, initialHeight = _k === void 0 ? 'default' : _k, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _l = _a.transitionProps, transitionProps = _l === void 0 ? {} : _l, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _m = _a.swipeable, swipeable = _m === void 0 ? true : _m, _o = _a.swipeableContent, swipeableContent = _o === void 0 ? true : _o, _p = _a.swipeThreshold, swipeThreshold = _p === void 0 ? 5 : _p, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _q = _a.scrollableContainerRef, scrollableContainerRef = _q === void 0 ? function () { return null; } : _q, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _r = _a.sheetContainerRef, sheetContainerRef = _r === void 0 ? function () { return null; } : _r, _s = _a.headerOffset, headerOffset = _s === void 0 ? 24 : _s, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps;
23
23
  var fullHeight = use100vh() || 0;
24
24
  // Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
25
25
  var isFirstRender = fullHeight === 0;
@@ -47,7 +47,7 @@ var BottomSheet = forwardRef(function (_a, ref) {
47
47
  var titleIsReactElement = React.isValidElement(title);
48
48
  var headerProps = __assign(__assign({}, (titleIsReactElement
49
49
  ? { children: title }
50
- : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, headerRef: headerRef, headerOffset: headerOffset, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
50
+ : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, headerRef: headerRef, headerOffset: headerOffset, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose, backButtonProps: backButtonProps });
51
51
  var startSwiping = function (event) {
52
52
  setSwipingInProgress(function (p) {
53
53
  if (!p)
@@ -52,13 +52,14 @@
52
52
 
53
53
  /* footer */
54
54
  } .bottom-sheet__modal_1hk66 {
55
- background-color: transparent;
56
- position: fixed;
57
55
  bottom: 0;
58
56
  width: 100%;
59
57
  max-width: 600px;
60
58
  pointer-events: none;
61
59
  touch-action: none;
60
+ } .bottom-sheet__modal_1hk66.bottom-sheet__modal_1hk66 {
61
+ background-color: transparent;
62
+ position: fixed;
62
63
  } .bottom-sheet__wrapper_1hk66 {
63
64
  transform: translateY(100%);
64
65
  pointer-events: none;
@@ -142,6 +142,10 @@ type BottomSheetProps = {
142
142
  * Наличие компонента стрелки назад
143
143
  */
144
144
  hasBacker?: boolean;
145
+ /**
146
+ * Дополнительные пропсы для кнопки "Назад"
147
+ */
148
+ backButtonProps?: NavigationBarProps['backButtonProps'];
145
149
  /**
146
150
  * Выравнивание заголовка
147
151
  */
@@ -52,13 +52,14 @@
52
52
 
53
53
  /* footer */
54
54
  } .bottom-sheet__modal_1hk66 {
55
- background-color: transparent;
56
- position: fixed;
57
55
  bottom: 0;
58
56
  width: 100%;
59
57
  max-width: 600px;
60
58
  pointer-events: none;
61
59
  touch-action: none;
60
+ } .bottom-sheet__modal_1hk66.bottom-sheet__modal_1hk66 {
61
+ background-color: transparent;
62
+ position: fixed;
62
63
  } .bottom-sheet__wrapper_1hk66 {
63
64
  transform: translateY(100%);
64
65
  pointer-events: none;
@@ -16,7 +16,7 @@ const styles = {"modal":"bottom-sheet__modal_1hk66","wrapper":"bottom-sheet__wra
16
16
  require('./index.css');
17
17
 
18
18
  const { isNil } = fnUtils;
19
- const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, modalWrapperClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, onClose, onBack, onMagnetize, onSwipeStart, onSwipeEnd, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, swipeableMarker, swipeableMarkerClassName, }, ref) => {
19
+ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, modalWrapperClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, onClose, onBack, onMagnetize, onSwipeStart, onSwipeEnd, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, swipeableMarker, swipeableMarkerClassName, backButtonProps, }, ref) => {
20
20
  const fullHeight = use100vh() || 0;
21
21
  // Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
22
22
  const isFirstRender = fullHeight === 0;
@@ -64,6 +64,7 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
64
64
  titleSize,
65
65
  subtitle,
66
66
  onClose,
67
+ backButtonProps,
67
68
  };
68
69
  const startSwiping = (event) => {
69
70
  setSwipingInProgress((p) => {
@@ -52,13 +52,14 @@
52
52
 
53
53
  /* footer */
54
54
  } .bottom-sheet__modal_1hk66 {
55
- background-color: transparent;
56
- position: fixed;
57
55
  bottom: 0;
58
56
  width: 100%;
59
57
  max-width: 600px;
60
58
  pointer-events: none;
61
59
  touch-action: none;
60
+ } .bottom-sheet__modal_1hk66.bottom-sheet__modal_1hk66 {
61
+ background-color: transparent;
62
+ position: fixed;
62
63
  } .bottom-sheet__wrapper_1hk66 {
63
64
  transform: translateY(100%);
64
65
  pointer-events: none;
@@ -142,6 +142,10 @@ type BottomSheetProps = {
142
142
  * Наличие компонента стрелки назад
143
143
  */
144
144
  hasBacker?: boolean;
145
+ /**
146
+ * Дополнительные пропсы для кнопки "Назад"
147
+ */
148
+ backButtonProps?: NavigationBarProps['backButtonProps'];
145
149
  /**
146
150
  * Выравнивание заголовка
147
151
  */
@@ -142,6 +142,10 @@ type BottomSheetProps = {
142
142
  * Наличие компонента стрелки назад
143
143
  */
144
144
  hasBacker?: boolean;
145
+ /**
146
+ * Дополнительные пропсы для кнопки "Назад"
147
+ */
148
+ backButtonProps?: NavigationBarProps['backButtonProps'];
145
149
  /**
146
150
  * Выравнивание заголовка
147
151
  */
@@ -18,7 +18,7 @@ require('../code-input/mobile');
18
18
  require('../link');
19
19
  require('../typography');
20
20
  require('./components/header/component.js');
21
- require('./countdown-section-840dd98a.js');
21
+ require('./countdown-section-c3df4486.js');
22
22
  require('../button');
23
23
  require('../spinner');
24
24
  require('./components/screens/hint/component.js');
@@ -17,7 +17,7 @@ require('../../../code-input/mobile');
17
17
  require('../../../link');
18
18
  require('../../../typography');
19
19
  require('../header/component.js');
20
- require('../../countdown-section-840dd98a.js');
20
+ require('../../countdown-section-c3df4486.js');
21
21
  require('../../../button');
22
22
  require('../../../spinner');
23
23
  require('../countdown-loader/component.js');
@@ -15,7 +15,7 @@ require('../../../code-input/mobile');
15
15
  require('../../../link');
16
16
  require('../../../typography');
17
17
  require('../header/component.js');
18
- require('../../countdown-section-840dd98a.js');
18
+ require('../../countdown-section-c3df4486.js');
19
19
  require('../../../button');
20
20
  require('../../../spinner');
21
21
  require('../screens/hint/component.js');
@@ -16,7 +16,7 @@ require('@alfalab/hooks');
16
16
  require('../context.js');
17
17
  require('../utils.js');
18
18
  require('./header/component.js');
19
- require('../countdown-section-840dd98a.js');
19
+ require('../countdown-section-c3df4486.js');
20
20
  require('../../button');
21
21
  require('../../spinner');
22
22
 
@@ -15,7 +15,7 @@ require('@alfalab/hooks');
15
15
  require('../../context.js');
16
16
  require('../../utils.js');
17
17
  require('../header/component.js');
18
- require('../../countdown-section-840dd98a.js');
18
+ require('../../countdown-section-c3df4486.js');
19
19
  require('../../../button');
20
20
  require('../../../spinner');
21
21
  require('../countdown-loader/component.js');
@@ -10,7 +10,7 @@ var coreComponentsTypography = require('../../../../typography');
10
10
  var hooks = require('@alfalab/hooks');
11
11
  var context = require('../../../context.js');
12
12
  var components_header_component = require('../../header/component.js');
13
- var components_screens_initial_countdownSection = require('../../../countdown-section-840dd98a.js');
13
+ var components_screens_initial_countdownSection = require('../../../countdown-section-c3df4486.js');
14
14
  require('../../../utils.js');
15
15
  require('../../../../button');
16
16
  require('../../../../spinner');
@@ -7,7 +7,7 @@ require('../../../../spinner');
7
7
  require('../../../../typography');
8
8
  require('../../../context.js');
9
9
  require('../../../utils.js');
10
- var components_screens_initial_countdownSection = require('../../../countdown-section-840dd98a.js');
10
+ var components_screens_initial_countdownSection = require('../../../countdown-section-c3df4486.js');
11
11
 
12
12
 
13
13
 
@@ -12,7 +12,7 @@ require('@alfalab/hooks');
12
12
  require('../../../context.js');
13
13
  require('../../../utils.js');
14
14
  require('../../header/component.js');
15
- require('../../../countdown-section-840dd98a.js');
15
+ require('../../../countdown-section-c3df4486.js');
16
16
  require('../../../../button');
17
17
  require('../../../../spinner');
18
18
 
@@ -15,7 +15,7 @@ require('../../code-input/mobile');
15
15
  require('../../link');
16
16
  require('../../typography');
17
17
  require('../components/header/component.js');
18
- require('../countdown-section-840dd98a.js');
18
+ require('../countdown-section-c3df4486.js');
19
19
  require('../../button');
20
20
  require('../../spinner');
21
21
  require('../components/screens/hint/component.js');
@@ -16,7 +16,7 @@ require('../../code-input/mobile');
16
16
  require('../../link');
17
17
  require('../../typography');
18
18
  require('../components/header/component.js');
19
- require('../countdown-section-840dd98a.js');
19
+ require('../countdown-section-c3df4486.js');
20
20
  require('../../button');
21
21
  require('../../spinner');
22
22
  require('../components/screens/hint/component.js');
@@ -13,7 +13,7 @@ import '../../code-input/esm/mobile';
13
13
  import '../../link/esm';
14
14
  import '../../typography/esm';
15
15
  import './components/header/component.js';
16
- import './countdown-section-0db0e4ed.js';
16
+ import './countdown-section-7359cc39.js';
17
17
  import '../../button/esm';
18
18
  import '../../spinner/esm';
19
19
  import './components/screens/hint/component.js';
@@ -15,7 +15,7 @@ import '../../../../code-input/esm/mobile';
15
15
  import '../../../../link/esm';
16
16
  import '../../../../typography/esm';
17
17
  import '../header/component.js';
18
- import '../../countdown-section-0db0e4ed.js';
18
+ import '../../countdown-section-7359cc39.js';
19
19
  import '../../../../button/esm';
20
20
  import '../../../../spinner/esm';
21
21
  import '../countdown-loader/component.js';
@@ -10,7 +10,7 @@ import '../../../../code-input/esm/mobile';
10
10
  import '../../../../link/esm';
11
11
  import '../../../../typography/esm';
12
12
  import '../header/component.js';
13
- import '../../countdown-section-0db0e4ed.js';
13
+ import '../../countdown-section-7359cc39.js';
14
14
  import '../../../../button/esm';
15
15
  import '../../../../spinner/esm';
16
16
  import '../screens/hint/component.js';
@@ -13,7 +13,7 @@ import '../../../typography/esm';
13
13
  import '@alfalab/hooks';
14
14
  import '../context.js';
15
15
  import './header/component.js';
16
- import '../countdown-section-0db0e4ed.js';
16
+ import '../countdown-section-7359cc39.js';
17
17
  import '../../../button/esm';
18
18
  import '../../../spinner/esm';
19
19
  import '../utils.js';
@@ -12,7 +12,7 @@ import '../../../../typography/esm';
12
12
  import '@alfalab/hooks';
13
13
  import '../../context.js';
14
14
  import '../header/component.js';
15
- import '../../countdown-section-0db0e4ed.js';
15
+ import '../../countdown-section-7359cc39.js';
16
16
  import '../../../../button/esm';
17
17
  import '../../../../spinner/esm';
18
18
  import '../countdown-loader/component.js';
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/esm';
8
8
  import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
9
9
  import { ConfirmationContext } from '../../../context.js';
10
10
  import { Header } from '../../header/component.js';
11
- import { s as styles, C as CountdownSection } from '../../../countdown-section-0db0e4ed.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-7359cc39.js';
12
12
  import '../../../../../button/esm';
13
13
  import '../../../../../spinner/esm';
14
14
  import '../../../utils.js';
@@ -4,5 +4,5 @@ import '../../../../../button/esm';
4
4
  import '../../../../../spinner/esm';
5
5
  import '../../../../../typography/esm';
6
6
  import '../../../context.js';
7
- export { C as CountdownSection } from '../../../countdown-section-0db0e4ed.js';
7
+ export { C as CountdownSection } from '../../../countdown-section-7359cc39.js';
8
8
  import '../../../utils.js';
@@ -9,7 +9,7 @@ import '../../../../../typography/esm';
9
9
  import '@alfalab/hooks';
10
10
  import '../../../context.js';
11
11
  import '../../header/component.js';
12
- import '../../../countdown-section-0db0e4ed.js';
12
+ import '../../../countdown-section-7359cc39.js';
13
13
  import '../../../../../button/esm';
14
14
  import '../../../../../spinner/esm';
15
15
  import '../../../utils.js';
@@ -10,7 +10,7 @@ import '../../../code-input/esm/mobile';
10
10
  import '../../../link/esm';
11
11
  import '../../../typography/esm';
12
12
  import '../components/header/component.js';
13
- import '../countdown-section-0db0e4ed.js';
13
+ import '../countdown-section-7359cc39.js';
14
14
  import '../../../button/esm';
15
15
  import '../../../spinner/esm';
16
16
  import '../components/screens/hint/component.js';
@@ -12,7 +12,7 @@ import '../../../code-input/esm/mobile';
12
12
  import '../../../link/esm';
13
13
  import '../../../typography/esm';
14
14
  import '../components/header/component.js';
15
- import '../countdown-section-0db0e4ed.js';
15
+ import '../countdown-section-7359cc39.js';
16
16
  import '../../../button/esm';
17
17
  import '../../../spinner/esm';
18
18
  import '../components/screens/hint/component.js';
@@ -13,7 +13,7 @@ import '../../code-input/esm/mobile';
13
13
  import '../../link/esm';
14
14
  import '../../typography/esm';
15
15
  import './components/header/component.js';
16
- import './countdown-section-0db0e4ed.js';
16
+ import './countdown-section-7359cc39.js';
17
17
  import '../../button/esm';
18
18
  import '../../spinner/esm';
19
19
  import './components/screens/hint/component.js';
@@ -10,7 +10,7 @@ import '../../../code-input/esm/mobile';
10
10
  import '../../../link/esm';
11
11
  import '../../../typography/esm';
12
12
  import '../components/header/component.js';
13
- import '../countdown-section-0db0e4ed.js';
13
+ import '../countdown-section-7359cc39.js';
14
14
  import '../../../button/esm';
15
15
  import '../../../spinner/esm';
16
16
  import '../components/screens/hint/component.js';
@@ -12,7 +12,7 @@ import '../../../code-input/esm/mobile';
12
12
  import '../../../link/esm';
13
13
  import '../../../typography/esm';
14
14
  import '../components/header/component.js';
15
- import '../countdown-section-0db0e4ed.js';
15
+ import '../countdown-section-7359cc39.js';
16
16
  import '../../../button/esm';
17
17
  import '../../../spinner/esm';
18
18
  import '../components/screens/hint/component.js';
@@ -15,6 +15,6 @@ import '../../../link/esm';
15
15
  import '../../../typography/esm';
16
16
  import '@alfalab/hooks';
17
17
  import '../components/header/component.js';
18
- import '../countdown-section-0db0e4ed.js';
18
+ import '../countdown-section-7359cc39.js';
19
19
  import '../../../button/esm';
20
20
  import '../../../spinner/esm';
@@ -18,7 +18,7 @@ require('../code-input/mobile');
18
18
  require('../link');
19
19
  require('../typography');
20
20
  require('./components/header/component.js');
21
- require('./countdown-section-840dd98a.js');
21
+ require('./countdown-section-c3df4486.js');
22
22
  require('../button');
23
23
  require('../spinner');
24
24
  require('./components/screens/hint/component.js');
@@ -15,7 +15,7 @@ require('../../code-input/mobile');
15
15
  require('../../link');
16
16
  require('../../typography');
17
17
  require('../components/header/component.js');
18
- require('../countdown-section-840dd98a.js');
18
+ require('../countdown-section-c3df4486.js');
19
19
  require('../../button');
20
20
  require('../../spinner');
21
21
  require('../components/screens/hint/component.js');
@@ -16,7 +16,7 @@ require('../../code-input/mobile');
16
16
  require('../../link');
17
17
  require('../../typography');
18
18
  require('../components/header/component.js');
19
- require('../countdown-section-840dd98a.js');
19
+ require('../countdown-section-c3df4486.js');
20
20
  require('../../button');
21
21
  require('../../spinner');
22
22
  require('../components/screens/hint/component.js');
@@ -12,7 +12,7 @@ import '../../code-input/modern/mobile';
12
12
  import '../../link/modern';
13
13
  import '../../typography/modern';
14
14
  import './components/header/component.js';
15
- import './countdown-section-9c20403c.js';
15
+ import './countdown-section-afd7b569.js';
16
16
  import '../../button/modern';
17
17
  import '../../spinner/modern';
18
18
  import './components/screens/hint/component.js';
@@ -14,7 +14,7 @@ import '../../../../code-input/modern/mobile';
14
14
  import '../../../../link/modern';
15
15
  import '../../../../typography/modern';
16
16
  import '../header/component.js';
17
- import '../../countdown-section-9c20403c.js';
17
+ import '../../countdown-section-afd7b569.js';
18
18
  import '../../../../button/modern';
19
19
  import '../../../../spinner/modern';
20
20
  import '../countdown-loader/component.js';
@@ -9,7 +9,7 @@ import '../../../../code-input/modern/mobile';
9
9
  import '../../../../link/modern';
10
10
  import '../../../../typography/modern';
11
11
  import '../header/component.js';
12
- import '../../countdown-section-9c20403c.js';
12
+ import '../../countdown-section-afd7b569.js';
13
13
  import '../../../../button/modern';
14
14
  import '../../../../spinner/modern';
15
15
  import '../screens/hint/component.js';
@@ -13,7 +13,7 @@ import '../../../typography/modern';
13
13
  import '@alfalab/hooks';
14
14
  import '../context.js';
15
15
  import './header/component.js';
16
- import '../countdown-section-9c20403c.js';
16
+ import '../countdown-section-afd7b569.js';
17
17
  import '../../../button/modern';
18
18
  import '../../../spinner/modern';
19
19
  import '../utils.js';
@@ -12,7 +12,7 @@ import '../../../../typography/modern';
12
12
  import '@alfalab/hooks';
13
13
  import '../../context.js';
14
14
  import '../header/component.js';
15
- import '../../countdown-section-9c20403c.js';
15
+ import '../../countdown-section-afd7b569.js';
16
16
  import '../../../../button/modern';
17
17
  import '../../../../spinner/modern';
18
18
  import '../countdown-loader/component.js';
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/modern';
8
8
  import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
9
9
  import { ConfirmationContext } from '../../../context.js';
10
10
  import { Header } from '../../header/component.js';
11
- import { s as styles, C as CountdownSection } from '../../../countdown-section-9c20403c.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-afd7b569.js';
12
12
  import '../../../../../button/modern';
13
13
  import '../../../../../spinner/modern';
14
14
  import '../../../utils.js';
@@ -4,5 +4,5 @@ import '../../../../../button/modern';
4
4
  import '../../../../../spinner/modern';
5
5
  import '../../../../../typography/modern';
6
6
  import '../../../context.js';
7
- export { C as CountdownSection } from '../../../countdown-section-9c20403c.js';
7
+ export { C as CountdownSection } from '../../../countdown-section-afd7b569.js';
8
8
  import '../../../utils.js';
@@ -9,7 +9,7 @@ import '../../../../../typography/modern';
9
9
  import '@alfalab/hooks';
10
10
  import '../../../context.js';
11
11
  import '../../header/component.js';
12
- import '../../../countdown-section-9c20403c.js';
12
+ import '../../../countdown-section-afd7b569.js';
13
13
  import '../../../../../button/modern';
14
14
  import '../../../../../spinner/modern';
15
15
  import '../../../utils.js';
@@ -9,7 +9,7 @@ import '../../../code-input/modern/mobile';
9
9
  import '../../../link/modern';
10
10
  import '../../../typography/modern';
11
11
  import '../components/header/component.js';
12
- import '../countdown-section-9c20403c.js';
12
+ import '../countdown-section-afd7b569.js';
13
13
  import '../../../button/modern';
14
14
  import '../../../spinner/modern';
15
15
  import '../components/screens/hint/component.js';