@alfalab/core-components 45.8.0-beta.1 → 45.8.0-beta.2

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 (352) hide show
  1. package/base-modal/Component.d.ts +4 -0
  2. package/base-modal/Component.js +28 -11
  3. package/base-modal/cssm/Component.d.ts +4 -0
  4. package/base-modal/cssm/Component.js +28 -11
  5. package/base-modal/cssm/helpers/lockScroll.d.ts +4 -0
  6. package/base-modal/cssm/helpers/lockScroll.js +18 -0
  7. package/base-modal/cssm/utils.d.ts +1 -1
  8. package/base-modal/cssm/utils.js +5 -2
  9. package/base-modal/esm/Component.d.ts +4 -0
  10. package/base-modal/esm/Component.js +29 -12
  11. package/base-modal/esm/helpers/lockScroll.d.ts +4 -0
  12. package/base-modal/esm/helpers/lockScroll.js +14 -0
  13. package/base-modal/esm/index.js +1 -0
  14. package/base-modal/esm/utils.d.ts +1 -1
  15. package/base-modal/esm/utils.js +5 -2
  16. package/base-modal/helpers/lockScroll.d.ts +4 -0
  17. package/base-modal/helpers/lockScroll.js +18 -0
  18. package/base-modal/modern/Component.d.ts +4 -0
  19. package/base-modal/modern/Component.js +22 -5
  20. package/base-modal/modern/helpers/lockScroll.d.ts +4 -0
  21. package/base-modal/modern/helpers/lockScroll.js +14 -0
  22. package/base-modal/modern/index.js +1 -0
  23. package/base-modal/modern/utils.d.ts +1 -1
  24. package/base-modal/modern/utils.js +4 -2
  25. package/base-modal/utils.d.ts +1 -1
  26. package/base-modal/utils.js +5 -2
  27. package/bottom-sheet/component.js +12 -22
  28. package/bottom-sheet/cssm/component.js +12 -22
  29. package/bottom-sheet/esm/component.js +12 -23
  30. package/bottom-sheet/esm/index.js +0 -2
  31. package/bottom-sheet/modern/component.js +9 -23
  32. package/bottom-sheet/modern/index.js +0 -2
  33. package/confirmation/components/screens/initial/component.js +1 -1
  34. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  35. package/confirmation/esm/component.responsive.js +1 -1
  36. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  37. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  38. package/confirmation/esm/components/index.js +1 -1
  39. package/confirmation/esm/components/screens/index.js +1 -1
  40. package/confirmation/esm/components/screens/initial/component.js +1 -1
  41. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  42. package/confirmation/esm/components/screens/initial/index.js +1 -1
  43. package/confirmation/esm/desktop/component.desktop.js +1 -1
  44. package/confirmation/esm/desktop/index.js +1 -1
  45. package/confirmation/esm/index.js +1 -1
  46. package/confirmation/esm/mobile/component.mobile.js +1 -1
  47. package/confirmation/esm/mobile/index.js +1 -1
  48. package/confirmation/esm/shared/index.js +1 -1
  49. package/confirmation/modern/component.responsive.js +1 -1
  50. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  51. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  52. package/confirmation/modern/components/index.js +1 -1
  53. package/confirmation/modern/components/screens/index.js +1 -1
  54. package/confirmation/modern/components/screens/initial/component.js +1 -1
  55. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  56. package/confirmation/modern/components/screens/initial/index.js +1 -1
  57. package/confirmation/modern/desktop/component.desktop.js +1 -1
  58. package/confirmation/modern/desktop/index.js +1 -1
  59. package/confirmation/modern/index.js +1 -1
  60. package/confirmation/modern/mobile/component.mobile.js +1 -1
  61. package/confirmation/modern/mobile/index.js +1 -1
  62. package/confirmation/modern/shared/index.js +1 -1
  63. package/gallery/components/header/Component.js +1 -1
  64. package/gallery/components/header/buttons.js +1 -1
  65. package/gallery/components/image-viewer/component.js +1 -1
  66. package/gallery/components/image-viewer/slide.js +1 -1
  67. package/gallery/esm/Component.js +2 -2
  68. package/gallery/esm/components/header/Component.js +1 -1
  69. package/gallery/esm/components/header/buttons.js +1 -1
  70. package/gallery/esm/components/header/index.js +1 -1
  71. package/gallery/esm/components/image-preview/Component.js +1 -1
  72. package/gallery/esm/components/image-preview/index.js +1 -1
  73. package/gallery/esm/components/image-viewer/component.js +1 -1
  74. package/gallery/esm/components/image-viewer/index.js +1 -1
  75. package/gallery/esm/components/image-viewer/slide.js +1 -1
  76. package/gallery/esm/components/index.js +2 -2
  77. package/gallery/esm/components/navigation-bar/Component.js +1 -1
  78. package/gallery/esm/components/navigation-bar/index.js +1 -1
  79. package/gallery/esm/index.js +2 -2
  80. package/gallery/modern/Component.js +2 -2
  81. package/gallery/modern/components/header/Component.js +1 -1
  82. package/gallery/modern/components/header/buttons.js +1 -1
  83. package/gallery/modern/components/header/index.js +1 -1
  84. package/gallery/modern/components/image-preview/Component.js +1 -1
  85. package/gallery/modern/components/image-preview/index.js +1 -1
  86. package/gallery/modern/components/image-viewer/component.js +1 -1
  87. package/gallery/modern/components/image-viewer/index.js +1 -1
  88. package/gallery/modern/components/image-viewer/slide.js +1 -1
  89. package/gallery/modern/components/index.js +2 -2
  90. package/gallery/modern/components/navigation-bar/Component.js +1 -1
  91. package/gallery/modern/components/navigation-bar/index.js +1 -1
  92. package/gallery/modern/index.js +2 -2
  93. package/international-phone-input/cssm/index-bdb4c6b9.d.ts +9 -2
  94. package/international-phone-input/cssm/typings-57569e57.d.ts +2 -18
  95. package/international-phone-input/esm/index-bdb4c6b9.d.ts +9 -2
  96. package/international-phone-input/esm/typings-57569e57.d.ts +2 -18
  97. package/international-phone-input/index-bdb4c6b9.d.ts +9 -2
  98. package/international-phone-input/modern/index-bdb4c6b9.d.ts +9 -2
  99. package/international-phone-input/modern/typings-57569e57.d.ts +2 -18
  100. package/international-phone-input/typings-57569e57.d.ts +2 -18
  101. package/modal/components/controls/Component.js +1 -1
  102. package/modal/components/footer/Component.js +1 -1
  103. package/modal/esm/Component.responsive.js +1 -1
  104. package/modal/esm/components/controls/Component.js +1 -1
  105. package/modal/esm/components/controls/index.js +1 -1
  106. package/modal/esm/components/footer/Component.js +1 -1
  107. package/modal/esm/desktop/Component.desktop.js +1 -1
  108. package/modal/esm/desktop/index.js +1 -1
  109. package/modal/esm/index.js +1 -1
  110. package/modal/esm/mobile/Component.mobile.js +1 -1
  111. package/modal/esm/mobile/index.js +1 -1
  112. package/modal/modern/Component.responsive.js +1 -1
  113. package/modal/modern/components/controls/Component.js +1 -1
  114. package/modal/modern/components/controls/index.js +1 -1
  115. package/modal/modern/components/footer/Component.js +1 -1
  116. package/modal/modern/desktop/Component.desktop.js +1 -1
  117. package/modal/modern/desktop/index.js +1 -1
  118. package/modal/modern/index.js +1 -1
  119. package/modal/modern/mobile/Component.mobile.js +1 -1
  120. package/modal/modern/mobile/index.js +1 -1
  121. package/package.json +1 -1
  122. package/picker-button/cssm/index-bdb4c6b9.d.ts +9 -2
  123. package/picker-button/cssm/typings-57569e57.d.ts +2 -18
  124. package/picker-button/esm/index-bdb4c6b9.d.ts +9 -2
  125. package/picker-button/esm/typings-57569e57.d.ts +2 -18
  126. package/picker-button/index-bdb4c6b9.d.ts +9 -2
  127. package/picker-button/modern/index-bdb4c6b9.d.ts +9 -2
  128. package/picker-button/modern/typings-57569e57.d.ts +2 -18
  129. package/picker-button/typings-57569e57.d.ts +2 -18
  130. package/pure-cell/component.js +1 -1
  131. package/pure-cell/components/addon/component.js +1 -1
  132. package/pure-cell/components/addon/index.d.ts +1 -1
  133. package/pure-cell/components/addon/index.js +1 -1
  134. package/pure-cell/components/amount/component.js +1 -1
  135. package/pure-cell/components/amount/index.d.ts +1 -1
  136. package/pure-cell/components/amount/index.js +1 -1
  137. package/pure-cell/components/amount-title/component.js +1 -1
  138. package/pure-cell/components/amount-title/index.d.ts +1 -1
  139. package/pure-cell/components/amount-title/index.js +1 -1
  140. package/pure-cell/components/category/component.js +1 -1
  141. package/pure-cell/components/category/index.d.ts +1 -1
  142. package/pure-cell/components/category/index.js +1 -1
  143. package/pure-cell/components/content/component.js +1 -1
  144. package/pure-cell/components/content/index.d.ts +1 -1
  145. package/pure-cell/components/content/index.js +1 -1
  146. package/pure-cell/components/footer/component.js +1 -1
  147. package/pure-cell/components/footer/index.d.ts +1 -1
  148. package/pure-cell/components/footer/index.js +1 -1
  149. package/pure-cell/components/footer-button/component.js +1 -1
  150. package/pure-cell/components/footer-button/index.d.ts +1 -1
  151. package/pure-cell/components/footer-button/index.js +1 -1
  152. package/pure-cell/components/footer-text/component.js +1 -1
  153. package/pure-cell/components/footer-text/index.d.ts +1 -1
  154. package/pure-cell/components/footer-text/index.js +1 -1
  155. package/pure-cell/components/graphics/component.js +1 -1
  156. package/pure-cell/components/graphics/index.d.ts +1 -1
  157. package/pure-cell/components/graphics/index.js +1 -1
  158. package/pure-cell/components/main/component.js +1 -1
  159. package/pure-cell/components/main/index.d.ts +1 -1
  160. package/pure-cell/components/main/index.js +1 -1
  161. package/pure-cell/components/text/component.js +1 -1
  162. package/pure-cell/components/text/index.d.ts +1 -1
  163. package/pure-cell/components/text/index.js +1 -1
  164. package/pure-cell/esm/component.js +1 -1
  165. package/pure-cell/esm/components/addon/component.js +1 -1
  166. package/pure-cell/esm/components/addon/index.d.ts +1 -1
  167. package/pure-cell/esm/components/addon/index.js +1 -1
  168. package/pure-cell/esm/components/amount/component.js +1 -1
  169. package/pure-cell/esm/components/amount/index.d.ts +1 -1
  170. package/pure-cell/esm/components/amount/index.js +1 -1
  171. package/pure-cell/esm/components/amount-title/component.js +1 -1
  172. package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
  173. package/pure-cell/esm/components/amount-title/index.js +1 -1
  174. package/pure-cell/esm/components/category/component.js +1 -1
  175. package/pure-cell/esm/components/category/index.d.ts +1 -1
  176. package/pure-cell/esm/components/category/index.js +1 -1
  177. package/pure-cell/esm/components/content/component.js +1 -1
  178. package/pure-cell/esm/components/content/index.d.ts +1 -1
  179. package/pure-cell/esm/components/content/index.js +1 -1
  180. package/pure-cell/esm/components/footer/component.js +1 -1
  181. package/pure-cell/esm/components/footer/index.d.ts +1 -1
  182. package/pure-cell/esm/components/footer/index.js +1 -1
  183. package/pure-cell/esm/components/footer-button/component.js +1 -1
  184. package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
  185. package/pure-cell/esm/components/footer-button/index.js +1 -1
  186. package/pure-cell/esm/components/footer-text/component.js +1 -1
  187. package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
  188. package/pure-cell/esm/components/footer-text/index.js +1 -1
  189. package/pure-cell/esm/components/graphics/component.js +1 -1
  190. package/pure-cell/esm/components/graphics/index.d.ts +1 -1
  191. package/pure-cell/esm/components/graphics/index.js +1 -1
  192. package/pure-cell/esm/components/main/component.js +1 -1
  193. package/pure-cell/esm/components/main/index.d.ts +1 -1
  194. package/pure-cell/esm/components/main/index.js +1 -1
  195. package/pure-cell/esm/components/text/component.js +1 -1
  196. package/pure-cell/esm/components/text/index.d.ts +1 -1
  197. package/pure-cell/esm/components/text/index.js +1 -1
  198. package/pure-cell/esm/index.js +1 -1
  199. package/pure-cell/index.js +1 -1
  200. package/pure-cell/modern/component.js +1 -1
  201. package/pure-cell/modern/components/addon/component.js +1 -1
  202. package/pure-cell/modern/components/addon/index.d.ts +1 -1
  203. package/pure-cell/modern/components/addon/index.js +1 -1
  204. package/pure-cell/modern/components/amount/component.js +1 -1
  205. package/pure-cell/modern/components/amount/index.d.ts +1 -1
  206. package/pure-cell/modern/components/amount/index.js +1 -1
  207. package/pure-cell/modern/components/amount-title/component.js +1 -1
  208. package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
  209. package/pure-cell/modern/components/amount-title/index.js +1 -1
  210. package/pure-cell/modern/components/category/component.js +1 -1
  211. package/pure-cell/modern/components/category/index.d.ts +1 -1
  212. package/pure-cell/modern/components/category/index.js +1 -1
  213. package/pure-cell/modern/components/content/component.js +1 -1
  214. package/pure-cell/modern/components/content/index.d.ts +1 -1
  215. package/pure-cell/modern/components/content/index.js +1 -1
  216. package/pure-cell/modern/components/footer/component.js +1 -1
  217. package/pure-cell/modern/components/footer/index.d.ts +1 -1
  218. package/pure-cell/modern/components/footer/index.js +1 -1
  219. package/pure-cell/modern/components/footer-button/component.js +1 -1
  220. package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
  221. package/pure-cell/modern/components/footer-button/index.js +1 -1
  222. package/pure-cell/modern/components/footer-text/component.js +1 -1
  223. package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
  224. package/pure-cell/modern/components/footer-text/index.js +1 -1
  225. package/pure-cell/modern/components/graphics/component.js +1 -1
  226. package/pure-cell/modern/components/graphics/index.d.ts +1 -1
  227. package/pure-cell/modern/components/graphics/index.js +1 -1
  228. package/pure-cell/modern/components/main/component.js +1 -1
  229. package/pure-cell/modern/components/main/index.d.ts +1 -1
  230. package/pure-cell/modern/components/main/index.js +1 -1
  231. package/pure-cell/modern/components/text/component.js +1 -1
  232. package/pure-cell/modern/components/text/index.d.ts +1 -1
  233. package/pure-cell/modern/components/text/index.js +1 -1
  234. package/pure-cell/modern/index.js +1 -1
  235. package/select/esm/Component.responsive.js +1 -1
  236. package/select/esm/index.js +1 -1
  237. package/select/esm/mobile/Component.mobile.js +1 -1
  238. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  239. package/select/esm/mobile/index.js +1 -1
  240. package/select/esm/presets/index.js +1 -1
  241. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  242. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  243. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  244. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  245. package/select/esm/shared/index.js +1 -1
  246. package/select/mobile/Component.mobile.js +1 -1
  247. package/select/modern/Component.responsive.js +1 -1
  248. package/select/modern/index.js +1 -1
  249. package/select/modern/mobile/Component.mobile.js +1 -1
  250. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  251. package/select/modern/mobile/index.js +1 -1
  252. package/select/modern/presets/index.js +1 -1
  253. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  254. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  255. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  256. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  257. package/select/modern/shared/index.js +1 -1
  258. package/select/presets/index.js +1 -1
  259. package/select/presets/useSelectWithApply/hook.js +1 -1
  260. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  261. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  262. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  263. package/select/shared/index.js +1 -1
  264. package/side-panel/components/controls/Component.js +1 -1
  265. package/side-panel/components/footer/Component.js +1 -1
  266. package/side-panel/esm/Component.responsive.js +1 -1
  267. package/side-panel/esm/components/controls/Component.js +1 -1
  268. package/side-panel/esm/components/controls/index.js +1 -1
  269. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  270. package/side-panel/esm/components/footer/Component.js +1 -1
  271. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  272. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  273. package/side-panel/esm/desktop/index.js +1 -1
  274. package/side-panel/esm/index.js +1 -1
  275. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  276. package/side-panel/esm/mobile/index.js +1 -1
  277. package/side-panel/modern/Component.responsive.js +1 -1
  278. package/side-panel/modern/components/controls/Component.js +1 -1
  279. package/side-panel/modern/components/controls/index.js +1 -1
  280. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  281. package/side-panel/modern/components/footer/Component.js +1 -1
  282. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  283. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  284. package/side-panel/modern/desktop/index.js +1 -1
  285. package/side-panel/modern/index.js +1 -1
  286. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  287. package/side-panel/modern/mobile/index.js +1 -1
  288. package/themes/compiled/mobile-dark-bluetint.css +211 -72
  289. package/universal-date-input/cssm/index-5712fce2.d.ts +8 -1
  290. package/universal-date-input/esm/index-5712fce2.d.ts +8 -1
  291. package/universal-date-input/index-5712fce2.d.ts +8 -1
  292. package/universal-date-input/modern/index-5712fce2.d.ts +8 -1
  293. package/bottom-sheet/consts/swipeConsts.d.ts +0 -2
  294. package/bottom-sheet/consts/swipeConsts.js +0 -7
  295. package/bottom-sheet/cssm/consts/swipeConsts.d.ts +0 -2
  296. package/bottom-sheet/cssm/consts/swipeConsts.js +0 -7
  297. package/bottom-sheet/cssm/enums/swipeEnums.d.ts +0 -7
  298. package/bottom-sheet/cssm/enums/swipeEnums.js +0 -9
  299. package/bottom-sheet/cssm/types/swipeTypes.d.ts +0 -9
  300. package/bottom-sheet/cssm/types/swipeTypes.js +0 -1
  301. package/bottom-sheet/enums/swipeEnums.d.ts +0 -7
  302. package/bottom-sheet/enums/swipeEnums.js +0 -9
  303. package/bottom-sheet/esm/consts/swipeConsts.d.ts +0 -2
  304. package/bottom-sheet/esm/consts/swipeConsts.js +0 -5
  305. package/bottom-sheet/esm/enums/swipeEnums.d.ts +0 -7
  306. package/bottom-sheet/esm/enums/swipeEnums.js +0 -9
  307. package/bottom-sheet/esm/types/swipeTypes.d.ts +0 -9
  308. package/bottom-sheet/esm/types/swipeTypes.js +0 -1
  309. package/bottom-sheet/modern/consts/swipeConsts.d.ts +0 -2
  310. package/bottom-sheet/modern/consts/swipeConsts.js +0 -5
  311. package/bottom-sheet/modern/enums/swipeEnums.d.ts +0 -7
  312. package/bottom-sheet/modern/enums/swipeEnums.js +0 -9
  313. package/bottom-sheet/modern/types/swipeTypes.d.ts +0 -9
  314. package/bottom-sheet/modern/types/swipeTypes.js +0 -1
  315. package/bottom-sheet/types/swipeTypes.d.ts +0 -9
  316. package/bottom-sheet/types/swipeTypes.js +0 -1
  317. /package/confirmation/{countdown-section-b30d5212.d.ts → countdown-section-9194293e.d.ts} +0 -0
  318. /package/confirmation/{countdown-section-b30d5212.js → countdown-section-9194293e.js} +0 -0
  319. /package/confirmation/esm/{countdown-section-c4f73a77.d.ts → countdown-section-fc384721.d.ts} +0 -0
  320. /package/confirmation/esm/{countdown-section-c4f73a77.js → countdown-section-fc384721.js} +0 -0
  321. /package/confirmation/modern/{countdown-section-f3215ad8.d.ts → countdown-section-f33e01b7.d.ts} +0 -0
  322. /package/confirmation/modern/{countdown-section-f3215ad8.js → countdown-section-f33e01b7.js} +0 -0
  323. /package/gallery/{buttons-01e8353f.d.ts → buttons-160fdb5a.d.ts} +0 -0
  324. /package/gallery/{buttons-01e8353f.js → buttons-160fdb5a.js} +0 -0
  325. /package/gallery/esm/{buttons-85c1b9a3.d.ts → buttons-f951e5ce.d.ts} +0 -0
  326. /package/gallery/esm/{buttons-85c1b9a3.js → buttons-f951e5ce.js} +0 -0
  327. /package/gallery/esm/{slide-530dfb83.d.ts → slide-3595abb4.d.ts} +0 -0
  328. /package/gallery/esm/{slide-530dfb83.js → slide-3595abb4.js} +0 -0
  329. /package/gallery/modern/{buttons-5f86c790.d.ts → buttons-a3ff616b.d.ts} +0 -0
  330. /package/gallery/modern/{buttons-5f86c790.js → buttons-a3ff616b.js} +0 -0
  331. /package/gallery/modern/{slide-afec4d99.d.ts → slide-acb49e8e.d.ts} +0 -0
  332. /package/gallery/modern/{slide-afec4d99.js → slide-acb49e8e.js} +0 -0
  333. /package/gallery/{slide-18998644.d.ts → slide-2268997b.d.ts} +0 -0
  334. /package/gallery/{slide-18998644.js → slide-2268997b.js} +0 -0
  335. /package/modal/esm/{layout.module-1b8afca9.js → layout.module-2fe04090.js} +0 -0
  336. /package/modal/{layout.module-3eb92921.js → layout.module-8adfa2ca.js} +0 -0
  337. /package/modal/modern/{layout.module-13b15398.js → layout.module-5847d827.js} +0 -0
  338. /package/pure-cell/{component-5e8acf12.d.ts → component-41907143.d.ts} +0 -0
  339. /package/pure-cell/{component-5e8acf12.js → component-41907143.js} +0 -0
  340. /package/pure-cell/esm/{component-f28a5631.d.ts → component-e23350f5.d.ts} +0 -0
  341. /package/pure-cell/esm/{component-f28a5631.js → component-e23350f5.js} +0 -0
  342. /package/pure-cell/modern/{component-10bc9276.d.ts → component-b9194169.d.ts} +0 -0
  343. /package/pure-cell/modern/{component-10bc9276.js → component-b9194169.js} +0 -0
  344. /package/select/esm/{hook-aa7d4c07.d.ts → hook-c0758dcd.d.ts} +0 -0
  345. /package/select/esm/{hook-aa7d4c07.js → hook-c0758dcd.js} +0 -0
  346. /package/select/{hook-f0adfa6b.d.ts → hook-10a14b43.d.ts} +0 -0
  347. /package/select/{hook-f0adfa6b.js → hook-10a14b43.js} +0 -0
  348. /package/select/modern/{hook-d72e58c4.d.ts → hook-5ccdb908.d.ts} +0 -0
  349. /package/select/modern/{hook-d72e58c4.js → hook-5ccdb908.js} +0 -0
  350. /package/side-panel/esm/{layout.module-d6ca40a5.js → layout.module-a9e68775.js} +0 -0
  351. /package/side-panel/{layout.module-85234bb1.js → layout.module-df4fedc9.js} +0 -0
  352. /package/side-panel/modern/{layout.module-9f8549ee.js → layout.module-d348cc57.js} +0 -0
@@ -11,7 +11,6 @@ var coreComponentsShared = require('../shared');
11
11
  var components_footer_Component = require('./components/footer/Component.js');
12
12
  var components_header_Component = require('./components/header/Component.js');
13
13
  var components_swipeableBackdrop_Component = require('./components/swipeable-backdrop/Component.js');
14
- var consts_swipeConsts = require('./consts/swipeConsts.js');
15
14
  var utils = require('./utils.js');
16
15
 
17
16
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -186,9 +185,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
186
185
  * Если контент внутри шторки скроллится - то шторка не должна свайпаться
187
186
  * Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
188
187
  */
189
- var shouldSkipSwiping = function (swipeParams) {
188
+ var shouldSkipSwiping = function (deltaY, startY, event) {
190
189
  var _a;
191
- var deltaY = swipeParams.deltaY, startY = swipeParams.startY, event = swipeParams.event, dir = swipeParams.dir;
192
190
  if (scrollLockedProp || swipingInProgress)
193
191
  return false;
194
192
  if (!swipeableContent && ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target))) {
@@ -213,24 +211,18 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
213
211
  if (!scrollOccurred.current && shouldScroll) {
214
212
  scrollOccurred.current = true;
215
213
  }
216
- // Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
217
- if (consts_swipeConsts.horizontalDirections.includes(dir)) {
218
- return true;
219
- }
220
214
  return shouldScroll;
221
215
  };
222
- var handleSheetSwipeEnd = function (swipeParams) {
223
- var initial = swipeParams.initial, velocity = swipeParams.velocity, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
224
- var shouldPreventSwipe = scrollOccurred.current ||
225
- shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
226
- if (shouldPreventSwipe) {
216
+ var handleSheetSwipe = function (_a) {
217
+ var initial = _a.initial, velocity = _a.velocity, deltaY = _a.deltaY, event = _a.event;
218
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
227
219
  return;
228
220
  }
229
221
  magnetize(velocity, deltaY);
230
222
  };
231
- var handleSheetSwipeStart = function (swipeParams) {
232
- var deltaY = swipeParams.deltaY, initial = swipeParams.initial, event = swipeParams.event, dir = swipeParams.dir;
233
- if (shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir })) {
223
+ var handleSheetSwipeStart = function (_a) {
224
+ var deltaY = _a.deltaY, initial = _a.initial, event = _a.event;
225
+ if (shouldSkipSwiping(deltaY, initial[1], event)) {
234
226
  return;
235
227
  }
236
228
  startSwiping(event);
@@ -239,11 +231,9 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
239
231
  var event = _a.event;
240
232
  return stopSwiping(event);
241
233
  };
242
- var handleSheetSwipeMove = function (swipeParams) {
243
- var initial = swipeParams.initial, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
244
- var shouldPreventSwipe = scrollOccurred.current ||
245
- shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
246
- if (shouldPreventSwipe) {
234
+ var handleSheetSwiping = function (_a) {
235
+ var initial = _a.initial, deltaY = _a.deltaY, event = _a.event;
236
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
247
237
  return;
248
238
  }
249
239
  if (!swipingInProgress) {
@@ -256,8 +246,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
256
246
  };
257
247
  var sheetSwipeableHandlers = reactSwipeable.useSwipeable({
258
248
  onSwipeStart: handleSheetSwipeStart,
259
- onSwiping: handleSheetSwipeMove,
260
- onSwiped: handleSheetSwipeEnd,
249
+ onSwiping: handleSheetSwiping,
250
+ onSwiped: handleSheetSwipe,
261
251
  onTouchEndOrOnMouseUp: handleTouchEnd,
262
252
  trackMouse: swipeable,
263
253
  trackTouch: swipeable,
@@ -11,7 +11,6 @@ var coreComponentsShared = require('../../shared/cssm');
11
11
  var components_footer_Component = require('./components/footer/Component.js');
12
12
  var components_header_Component = require('./components/header/Component.js');
13
13
  var components_swipeableBackdrop_Component = require('./components/swipeable-backdrop/Component.js');
14
- var consts_swipeConsts = require('./consts/swipeConsts.js');
15
14
  var utils = require('./utils.js');
16
15
  var styles = require('./index.module.css');
17
16
 
@@ -185,9 +184,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
185
184
  * Если контент внутри шторки скроллится - то шторка не должна свайпаться
186
185
  * Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
187
186
  */
188
- var shouldSkipSwiping = function (swipeParams) {
187
+ var shouldSkipSwiping = function (deltaY, startY, event) {
189
188
  var _a;
190
- var deltaY = swipeParams.deltaY, startY = swipeParams.startY, event = swipeParams.event, dir = swipeParams.dir;
191
189
  if (scrollLockedProp || swipingInProgress)
192
190
  return false;
193
191
  if (!swipeableContent && ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target))) {
@@ -212,24 +210,18 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
212
210
  if (!scrollOccurred.current && shouldScroll) {
213
211
  scrollOccurred.current = true;
214
212
  }
215
- // Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
216
- if (consts_swipeConsts.horizontalDirections.includes(dir)) {
217
- return true;
218
- }
219
213
  return shouldScroll;
220
214
  };
221
- var handleSheetSwipeEnd = function (swipeParams) {
222
- var initial = swipeParams.initial, velocity = swipeParams.velocity, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
223
- var shouldPreventSwipe = scrollOccurred.current ||
224
- shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
225
- if (shouldPreventSwipe) {
215
+ var handleSheetSwipe = function (_a) {
216
+ var initial = _a.initial, velocity = _a.velocity, deltaY = _a.deltaY, event = _a.event;
217
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
226
218
  return;
227
219
  }
228
220
  magnetize(velocity, deltaY);
229
221
  };
230
- var handleSheetSwipeStart = function (swipeParams) {
231
- var deltaY = swipeParams.deltaY, initial = swipeParams.initial, event = swipeParams.event, dir = swipeParams.dir;
232
- if (shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir })) {
222
+ var handleSheetSwipeStart = function (_a) {
223
+ var deltaY = _a.deltaY, initial = _a.initial, event = _a.event;
224
+ if (shouldSkipSwiping(deltaY, initial[1], event)) {
233
225
  return;
234
226
  }
235
227
  startSwiping(event);
@@ -238,11 +230,9 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
238
230
  var event = _a.event;
239
231
  return stopSwiping(event);
240
232
  };
241
- var handleSheetSwipeMove = function (swipeParams) {
242
- var initial = swipeParams.initial, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
243
- var shouldPreventSwipe = scrollOccurred.current ||
244
- shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
245
- if (shouldPreventSwipe) {
233
+ var handleSheetSwiping = function (_a) {
234
+ var initial = _a.initial, deltaY = _a.deltaY, event = _a.event;
235
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
246
236
  return;
247
237
  }
248
238
  if (!swipingInProgress) {
@@ -255,8 +245,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
255
245
  };
256
246
  var sheetSwipeableHandlers = reactSwipeable.useSwipeable({
257
247
  onSwipeStart: handleSheetSwipeStart,
258
- onSwiping: handleSheetSwipeMove,
259
- onSwiped: handleSheetSwipeEnd,
248
+ onSwiping: handleSheetSwiping,
249
+ onSwiped: handleSheetSwipe,
260
250
  onTouchEndOrOnMouseUp: handleTouchEnd,
261
251
  trackMouse: swipeable,
262
252
  trackTouch: swipeable,
@@ -9,11 +9,9 @@ import { fnUtils, getDataTestId } from '../../shared/esm';
9
9
  import { Footer } from './components/footer/Component.js';
10
10
  import { Header } from './components/header/Component.js';
11
11
  import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
12
- import { horizontalDirections } from './consts/swipeConsts.js';
13
12
  import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
14
13
  import '../../navigation-bar/esm';
15
14
  import '../../backdrop/esm';
16
- import './enums/swipeEnums.js';
17
15
 
18
16
  var styles = {"modal":"bottom-sheet__modal_tmbtb","wrapper":"bottom-sheet__wrapper_tmbtb","fullscreen":"bottom-sheet__fullscreen_tmbtb","component":"bottom-sheet__component_tmbtb","withTransition":"bottom-sheet__withTransition_tmbtb","scrollableContainer":"bottom-sheet__scrollableContainer_tmbtb","marker":"bottom-sheet__marker_tmbtb","defaultMarker":"bottom-sheet__defaultMarker_tmbtb","content":"bottom-sheet__content_tmbtb","noHeader":"bottom-sheet__noHeader_tmbtb","noFooter":"bottom-sheet__noFooter_tmbtb","scrollLocked":"bottom-sheet__scrollLocked_tmbtb","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_tmbtb","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_tmbtb","appear":"bottom-sheet__appear_tmbtb","enter":"bottom-sheet__enter_tmbtb","appearActive":"bottom-sheet__appearActive_tmbtb","enterActive":"bottom-sheet__enterActive_tmbtb","enterDone":"bottom-sheet__enterDone_tmbtb","appearDone":"bottom-sheet__appearDone_tmbtb","exit":"bottom-sheet__exit_tmbtb","exitActive":"bottom-sheet__exitActive_tmbtb","background-accent":"bottom-sheet__background-accent_tmbtb","background-info":"bottom-sheet__background-info_tmbtb","background-attention-muted":"bottom-sheet__background-attention-muted_tmbtb","background-positive-muted":"bottom-sheet__background-positive-muted_tmbtb","background-negative-muted":"bottom-sheet__background-negative-muted_tmbtb","background-primary":"bottom-sheet__background-primary_tmbtb","background-primary-inverted":"bottom-sheet__background-primary-inverted_tmbtb","background-secondary":"bottom-sheet__background-secondary_tmbtb","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_tmbtb","background-tertiary":"bottom-sheet__background-tertiary_tmbtb","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_tmbtb","background-quaternary":"bottom-sheet__background-quaternary_tmbtb","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_tmbtb","background-specialbg-component":"bottom-sheet__background-specialbg-component_tmbtb","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_tmbtb","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_tmbtb","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_tmbtb","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_tmbtb","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_tmbtb","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_tmbtb","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_tmbtb","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_tmbtb"};
19
17
  require('./index.css');
@@ -181,9 +179,8 @@ var BottomSheet = forwardRef(function (_a, ref) {
181
179
  * Если контент внутри шторки скроллится - то шторка не должна свайпаться
182
180
  * Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
183
181
  */
184
- var shouldSkipSwiping = function (swipeParams) {
182
+ var shouldSkipSwiping = function (deltaY, startY, event) {
185
183
  var _a;
186
- var deltaY = swipeParams.deltaY, startY = swipeParams.startY, event = swipeParams.event, dir = swipeParams.dir;
187
184
  if (scrollLockedProp || swipingInProgress)
188
185
  return false;
189
186
  if (!swipeableContent && ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target))) {
@@ -208,24 +205,18 @@ var BottomSheet = forwardRef(function (_a, ref) {
208
205
  if (!scrollOccurred.current && shouldScroll) {
209
206
  scrollOccurred.current = true;
210
207
  }
211
- // Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
212
- if (horizontalDirections.includes(dir)) {
213
- return true;
214
- }
215
208
  return shouldScroll;
216
209
  };
217
- var handleSheetSwipeEnd = function (swipeParams) {
218
- var initial = swipeParams.initial, velocity = swipeParams.velocity, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
219
- var shouldPreventSwipe = scrollOccurred.current ||
220
- shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
221
- if (shouldPreventSwipe) {
210
+ var handleSheetSwipe = function (_a) {
211
+ var initial = _a.initial, velocity = _a.velocity, deltaY = _a.deltaY, event = _a.event;
212
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
222
213
  return;
223
214
  }
224
215
  magnetize(velocity, deltaY);
225
216
  };
226
- var handleSheetSwipeStart = function (swipeParams) {
227
- var deltaY = swipeParams.deltaY, initial = swipeParams.initial, event = swipeParams.event, dir = swipeParams.dir;
228
- if (shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir })) {
217
+ var handleSheetSwipeStart = function (_a) {
218
+ var deltaY = _a.deltaY, initial = _a.initial, event = _a.event;
219
+ if (shouldSkipSwiping(deltaY, initial[1], event)) {
229
220
  return;
230
221
  }
231
222
  startSwiping(event);
@@ -234,11 +225,9 @@ var BottomSheet = forwardRef(function (_a, ref) {
234
225
  var event = _a.event;
235
226
  return stopSwiping(event);
236
227
  };
237
- var handleSheetSwipeMove = function (swipeParams) {
238
- var initial = swipeParams.initial, deltaY = swipeParams.deltaY, event = swipeParams.event, dir = swipeParams.dir;
239
- var shouldPreventSwipe = scrollOccurred.current ||
240
- shouldSkipSwiping({ deltaY: deltaY, startY: initial[1], event: event, dir: dir });
241
- if (shouldPreventSwipe) {
228
+ var handleSheetSwiping = function (_a) {
229
+ var initial = _a.initial, deltaY = _a.deltaY, event = _a.event;
230
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
242
231
  return;
243
232
  }
244
233
  if (!swipingInProgress) {
@@ -251,8 +240,8 @@ var BottomSheet = forwardRef(function (_a, ref) {
251
240
  };
252
241
  var sheetSwipeableHandlers = useSwipeable({
253
242
  onSwipeStart: handleSheetSwipeStart,
254
- onSwiping: handleSheetSwipeMove,
255
- onSwiped: handleSheetSwipeEnd,
243
+ onSwiping: handleSheetSwiping,
244
+ onSwiped: handleSheetSwipe,
256
245
  onTouchEndOrOnMouseUp: handleTouchEnd,
257
246
  trackMouse: swipeable,
258
247
  trackTouch: swipeable,
@@ -13,5 +13,3 @@ import './components/header/Component.js';
13
13
  import '../../navigation-bar/esm';
14
14
  import './components/swipeable-backdrop/Component.js';
15
15
  import '../../backdrop/esm';
16
- import './consts/swipeConsts.js';
17
- import './enums/swipeEnums.js';
@@ -8,11 +8,9 @@ import { getDataTestId, fnUtils } from '../../shared/modern';
8
8
  import { Footer } from './components/footer/Component.js';
9
9
  import { Header } from './components/header/Component.js';
10
10
  import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
11
- import { horizontalDirections } from './consts/swipeConsts.js';
12
11
  import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
13
12
  import '../../navigation-bar/modern';
14
13
  import '../../backdrop/modern';
15
- import './enums/swipeEnums.js';
16
14
 
17
15
  const styles = {"modal":"bottom-sheet__modal_tmbtb","wrapper":"bottom-sheet__wrapper_tmbtb","fullscreen":"bottom-sheet__fullscreen_tmbtb","component":"bottom-sheet__component_tmbtb","withTransition":"bottom-sheet__withTransition_tmbtb","scrollableContainer":"bottom-sheet__scrollableContainer_tmbtb","marker":"bottom-sheet__marker_tmbtb","defaultMarker":"bottom-sheet__defaultMarker_tmbtb","content":"bottom-sheet__content_tmbtb","noHeader":"bottom-sheet__noHeader_tmbtb","noFooter":"bottom-sheet__noFooter_tmbtb","scrollLocked":"bottom-sheet__scrollLocked_tmbtb","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_tmbtb","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_tmbtb","appear":"bottom-sheet__appear_tmbtb","enter":"bottom-sheet__enter_tmbtb","appearActive":"bottom-sheet__appearActive_tmbtb","enterActive":"bottom-sheet__enterActive_tmbtb","enterDone":"bottom-sheet__enterDone_tmbtb","appearDone":"bottom-sheet__appearDone_tmbtb","exit":"bottom-sheet__exit_tmbtb","exitActive":"bottom-sheet__exitActive_tmbtb","background-accent":"bottom-sheet__background-accent_tmbtb","background-info":"bottom-sheet__background-info_tmbtb","background-attention-muted":"bottom-sheet__background-attention-muted_tmbtb","background-positive-muted":"bottom-sheet__background-positive-muted_tmbtb","background-negative-muted":"bottom-sheet__background-negative-muted_tmbtb","background-primary":"bottom-sheet__background-primary_tmbtb","background-primary-inverted":"bottom-sheet__background-primary-inverted_tmbtb","background-secondary":"bottom-sheet__background-secondary_tmbtb","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_tmbtb","background-tertiary":"bottom-sheet__background-tertiary_tmbtb","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_tmbtb","background-quaternary":"bottom-sheet__background-quaternary_tmbtb","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_tmbtb","background-specialbg-component":"bottom-sheet__background-specialbg-component_tmbtb","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_tmbtb","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_tmbtb","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_tmbtb","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_tmbtb","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_tmbtb","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_tmbtb","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_tmbtb","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_tmbtb"};
18
16
  require('./index.css');
@@ -199,8 +197,7 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
199
197
  * Если контент внутри шторки скроллится - то шторка не должна свайпаться
200
198
  * Если шапка внутри шторки зафиксирована - то шторка должна свайпаться только в области шапки
201
199
  */
202
- const shouldSkipSwiping = (swipeParams) => {
203
- const { deltaY, startY, event, dir } = swipeParams;
200
+ const shouldSkipSwiping = (deltaY, startY, event) => {
204
201
  if (scrollLockedProp || swipingInProgress)
205
202
  return false;
206
203
  if (!swipeableContent && contentRef.current?.contains(event.target)) {
@@ -225,34 +222,23 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
225
222
  if (!scrollOccurred.current && shouldScroll) {
226
223
  scrollOccurred.current = true;
227
224
  }
228
- // Если контент внутри шторки скроллится горизонально - то шторка не должна закрываться
229
- if (horizontalDirections.includes(dir)) {
230
- return true;
231
- }
232
225
  return shouldScroll;
233
226
  };
234
- const handleSheetSwipeEnd = (swipeParams) => {
235
- const { initial, velocity, deltaY, event, dir } = swipeParams;
236
- const shouldPreventSwipe = scrollOccurred.current ||
237
- shouldSkipSwiping({ deltaY, startY: initial[1], event, dir });
238
- if (shouldPreventSwipe) {
227
+ const handleSheetSwipe = ({ initial, velocity, deltaY, event }) => {
228
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
239
229
  return;
240
230
  }
241
231
  magnetize(velocity, deltaY);
242
232
  };
243
- const handleSheetSwipeStart = (swipeParams) => {
244
- const { deltaY, initial, event, dir } = swipeParams;
245
- if (shouldSkipSwiping({ deltaY, startY: initial[1], event, dir })) {
233
+ const handleSheetSwipeStart = ({ deltaY, initial, event }) => {
234
+ if (shouldSkipSwiping(deltaY, initial[1], event)) {
246
235
  return;
247
236
  }
248
237
  startSwiping(event);
249
238
  };
250
239
  const handleTouchEnd = ({ event }) => stopSwiping(event);
251
- const handleSheetSwipeMove = (swipeParams) => {
252
- const { initial, deltaY, event, dir } = swipeParams;
253
- const shouldPreventSwipe = scrollOccurred.current ||
254
- shouldSkipSwiping({ deltaY, startY: initial[1], event, dir });
255
- if (shouldPreventSwipe) {
240
+ const handleSheetSwiping = ({ initial, deltaY, event }) => {
241
+ if (scrollOccurred.current || shouldSkipSwiping(deltaY, initial[1], event)) {
256
242
  return;
257
243
  }
258
244
  if (!swipingInProgress) {
@@ -265,8 +251,8 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
265
251
  };
266
252
  const sheetSwipeableHandlers = useSwipeable({
267
253
  onSwipeStart: handleSheetSwipeStart,
268
- onSwiping: handleSheetSwipeMove,
269
- onSwiped: handleSheetSwipeEnd,
254
+ onSwiping: handleSheetSwiping,
255
+ onSwiped: handleSheetSwipe,
270
256
  onTouchEndOrOnMouseUp: handleTouchEnd,
271
257
  trackMouse: swipeable,
272
258
  trackTouch: swipeable,
@@ -12,5 +12,3 @@ import './components/header/Component.js';
12
12
  import '../../navigation-bar/modern';
13
13
  import './components/swipeable-backdrop/Component.js';
14
14
  import '../../backdrop/modern';
15
- import './consts/swipeConsts.js';
16
- import './enums/swipeEnums.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-b30d5212.js');
13
+ var components_screens_initial_countdownSection = require('../../../countdown-section-9194293e.js');
14
14
 
15
15
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
16
16
 
@@ -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-b30d5212.js');
10
+ var components_screens_initial_countdownSection = require('../../../countdown-section-9194293e.js');
11
11
 
12
12
 
13
13
 
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
16
16
  import '../../link/esm';
17
17
  import '../../typography/esm';
18
18
  import './components/header/component.js';
19
- import './countdown-section-c4f73a77.js';
19
+ import './countdown-section-fc384721.js';
20
20
  import '../../button/esm';
21
21
  import '../../spinner/esm';
22
22
  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-c4f73a77.js';
18
+ import '../../countdown-section-fc384721.js';
19
19
  import '../../../../button/esm';
20
20
  import '../../../../spinner/esm';
21
21
  import '../countdown-loader/component.js';
@@ -13,7 +13,7 @@ import '../../../../code-input/esm/mobile';
13
13
  import '../../../../link/esm';
14
14
  import '../../../../typography/esm';
15
15
  import '../header/component.js';
16
- import '../../countdown-section-c4f73a77.js';
16
+ import '../../countdown-section-fc384721.js';
17
17
  import '../../../../button/esm';
18
18
  import '../../../../spinner/esm';
19
19
  import '../screens/hint/component.js';
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
14
14
  import '../context.js';
15
15
  import '../utils.js';
16
16
  import './header/component.js';
17
- import '../countdown-section-c4f73a77.js';
17
+ import '../countdown-section-fc384721.js';
18
18
  import '../../../button/esm';
19
19
  import '../../../spinner/esm';
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
13
13
  import '../../context.js';
14
14
  import '../../utils.js';
15
15
  import '../header/component.js';
16
- import '../../countdown-section-c4f73a77.js';
16
+ import '../../countdown-section-fc384721.js';
17
17
  import '../../../../button/esm';
18
18
  import '../../../../spinner/esm';
19
19
  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-c4f73a77.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-fc384721.js';
12
12
  import '../../../utils.js';
13
13
  import '../../../../../button/esm';
14
14
  import '../../../../../spinner/esm';
@@ -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-c4f73a77.js';
7
+ export { C as CountdownSection } from '../../../countdown-section-fc384721.js';
8
8
  import '../../../utils.js';
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
10
10
  import '../../../context.js';
11
11
  import '../../../utils.js';
12
12
  import '../../header/component.js';
13
- import '../../../countdown-section-c4f73a77.js';
13
+ import '../../../countdown-section-fc384721.js';
14
14
  import '../../../../../button/esm';
15
15
  import '../../../../../spinner/esm';
@@ -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-c4f73a77.js';
16
+ import '../countdown-section-fc384721.js';
17
17
  import '../../../button/esm';
18
18
  import '../../../spinner/esm';
19
19
  import '../components/screens/hint/component.js';
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
14
14
  import '../../../link/esm';
15
15
  import '../../../typography/esm';
16
16
  import '../components/header/component.js';
17
- import '../countdown-section-c4f73a77.js';
17
+ import '../countdown-section-fc384721.js';
18
18
  import '../../../button/esm';
19
19
  import '../../../spinner/esm';
20
20
  import '../components/screens/hint/component.js';
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
16
16
  import '../../link/esm';
17
17
  import '../../typography/esm';
18
18
  import './components/header/component.js';
19
- import './countdown-section-c4f73a77.js';
19
+ import './countdown-section-fc384721.js';
20
20
  import '../../button/esm';
21
21
  import '../../spinner/esm';
22
22
  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-c4f73a77.js';
16
+ import '../countdown-section-fc384721.js';
17
17
  import '../../../button/esm';
18
18
  import '../../../spinner/esm';
19
19
  import '../components/screens/hint/component.js';
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
14
14
  import '../../../link/esm';
15
15
  import '../../../typography/esm';
16
16
  import '../components/header/component.js';
17
- import '../countdown-section-c4f73a77.js';
17
+ import '../countdown-section-fc384721.js';
18
18
  import '../../../button/esm';
19
19
  import '../../../spinner/esm';
20
20
  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-c4f73a77.js';
18
+ import '../countdown-section-fc384721.js';
19
19
  import '../../../button/esm';
20
20
  import '../../../spinner/esm';
@@ -15,7 +15,7 @@ import '../../code-input/modern/mobile';
15
15
  import '../../link/modern';
16
16
  import '../../typography/modern';
17
17
  import './components/header/component.js';
18
- import './countdown-section-f3215ad8.js';
18
+ import './countdown-section-f33e01b7.js';
19
19
  import '../../button/modern';
20
20
  import '../../spinner/modern';
21
21
  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-f3215ad8.js';
17
+ import '../../countdown-section-f33e01b7.js';
18
18
  import '../../../../button/modern';
19
19
  import '../../../../spinner/modern';
20
20
  import '../countdown-loader/component.js';
@@ -12,7 +12,7 @@ import '../../../../code-input/modern/mobile';
12
12
  import '../../../../link/modern';
13
13
  import '../../../../typography/modern';
14
14
  import '../header/component.js';
15
- import '../../countdown-section-f3215ad8.js';
15
+ import '../../countdown-section-f33e01b7.js';
16
16
  import '../../../../button/modern';
17
17
  import '../../../../spinner/modern';
18
18
  import '../screens/hint/component.js';
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
14
14
  import '../context.js';
15
15
  import '../utils.js';
16
16
  import './header/component.js';
17
- import '../countdown-section-f3215ad8.js';
17
+ import '../countdown-section-f33e01b7.js';
18
18
  import '../../../button/modern';
19
19
  import '../../../spinner/modern';
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
13
13
  import '../../context.js';
14
14
  import '../../utils.js';
15
15
  import '../header/component.js';
16
- import '../../countdown-section-f3215ad8.js';
16
+ import '../../countdown-section-f33e01b7.js';
17
17
  import '../../../../button/modern';
18
18
  import '../../../../spinner/modern';
19
19
  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-f3215ad8.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-f33e01b7.js';
12
12
  import '../../../utils.js';
13
13
  import '../../../../../button/modern';
14
14
  import '../../../../../spinner/modern';
@@ -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-f3215ad8.js';
7
+ export { C as CountdownSection } from '../../../countdown-section-f33e01b7.js';
8
8
  import '../../../utils.js';
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
10
10
  import '../../../context.js';
11
11
  import '../../../utils.js';
12
12
  import '../../header/component.js';
13
- import '../../../countdown-section-f3215ad8.js';
13
+ import '../../../countdown-section-f33e01b7.js';
14
14
  import '../../../../../button/modern';
15
15
  import '../../../../../spinner/modern';
@@ -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-f3215ad8.js';
15
+ import '../countdown-section-f33e01b7.js';
16
16
  import '../../../button/modern';
17
17
  import '../../../spinner/modern';
18
18
  import '../components/screens/hint/component.js';
@@ -13,7 +13,7 @@ import '../../../code-input/modern/mobile';
13
13
  import '../../../link/modern';
14
14
  import '../../../typography/modern';
15
15
  import '../components/header/component.js';
16
- import '../countdown-section-f3215ad8.js';
16
+ import '../countdown-section-f33e01b7.js';
17
17
  import '../../../button/modern';
18
18
  import '../../../spinner/modern';
19
19
  import '../components/screens/hint/component.js';
@@ -15,7 +15,7 @@ import '../../code-input/modern/mobile';
15
15
  import '../../link/modern';
16
16
  import '../../typography/modern';
17
17
  import './components/header/component.js';
18
- import './countdown-section-f3215ad8.js';
18
+ import './countdown-section-f33e01b7.js';
19
19
  import '../../button/modern';
20
20
  import '../../spinner/modern';
21
21
  import './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-f3215ad8.js';
15
+ import '../countdown-section-f33e01b7.js';
16
16
  import '../../../button/modern';
17
17
  import '../../../spinner/modern';
18
18
  import '../components/screens/hint/component.js';