@alfalab/core-components 46.0.0-beta.2 → 46.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/base-modal/Component.js +2 -1
  2. package/base-modal/cssm/Component.js +2 -1
  3. package/base-modal/esm/Component.js +2 -1
  4. package/base-modal/esm/index.js +1 -0
  5. package/base-modal/modern/Component.js +2 -1
  6. package/base-modal/modern/index.js +1 -0
  7. package/calendar-range/utils.js +3 -1
  8. package/confirmation/components/screens/initial/component.js +1 -1
  9. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  10. package/confirmation/esm/component.responsive.js +1 -1
  11. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  12. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  13. package/confirmation/esm/components/index.js +1 -1
  14. package/confirmation/esm/components/screens/index.js +1 -1
  15. package/confirmation/esm/components/screens/initial/component.js +1 -1
  16. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  17. package/confirmation/esm/components/screens/initial/index.js +1 -1
  18. package/confirmation/esm/desktop/component.desktop.js +1 -1
  19. package/confirmation/esm/desktop/index.js +1 -1
  20. package/confirmation/esm/index.js +1 -1
  21. package/confirmation/esm/mobile/component.mobile.js +1 -1
  22. package/confirmation/esm/mobile/index.js +1 -1
  23. package/confirmation/esm/shared/index.js +1 -1
  24. package/confirmation/modern/component.responsive.js +1 -1
  25. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  26. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  27. package/confirmation/modern/components/index.js +1 -1
  28. package/confirmation/modern/components/screens/index.js +1 -1
  29. package/confirmation/modern/components/screens/initial/component.js +1 -1
  30. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  31. package/confirmation/modern/components/screens/initial/index.js +1 -1
  32. package/confirmation/modern/desktop/component.desktop.js +1 -1
  33. package/confirmation/modern/desktop/index.js +1 -1
  34. package/confirmation/modern/index.js +1 -1
  35. package/confirmation/modern/mobile/component.mobile.js +1 -1
  36. package/confirmation/modern/mobile/index.js +1 -1
  37. package/confirmation/modern/shared/index.js +1 -1
  38. package/gallery/components/header/Component.js +1 -1
  39. package/gallery/components/header/buttons.js +1 -1
  40. package/gallery/components/image-viewer/component.js +1 -1
  41. package/gallery/components/image-viewer/slide.js +1 -1
  42. package/gallery/esm/Component.js +2 -2
  43. package/gallery/esm/components/header/Component.js +1 -1
  44. package/gallery/esm/components/header/buttons.js +1 -1
  45. package/gallery/esm/components/header/index.js +1 -1
  46. package/gallery/esm/components/image-preview/Component.js +1 -1
  47. package/gallery/esm/components/image-preview/index.js +1 -1
  48. package/gallery/esm/components/image-viewer/component.js +1 -1
  49. package/gallery/esm/components/image-viewer/index.js +1 -1
  50. package/gallery/esm/components/image-viewer/slide.js +1 -1
  51. package/gallery/esm/components/index.js +2 -2
  52. package/gallery/esm/components/navigation-bar/Component.js +1 -1
  53. package/gallery/esm/components/navigation-bar/index.js +1 -1
  54. package/gallery/esm/index.js +2 -2
  55. package/gallery/modern/Component.js +2 -2
  56. package/gallery/modern/components/header/Component.js +1 -1
  57. package/gallery/modern/components/header/buttons.js +1 -1
  58. package/gallery/modern/components/header/index.js +1 -1
  59. package/gallery/modern/components/image-preview/Component.js +1 -1
  60. package/gallery/modern/components/image-preview/index.js +1 -1
  61. package/gallery/modern/components/image-viewer/component.js +1 -1
  62. package/gallery/modern/components/image-viewer/index.js +1 -1
  63. package/gallery/modern/components/image-viewer/slide.js +1 -1
  64. package/gallery/modern/components/index.js +2 -2
  65. package/gallery/modern/components/navigation-bar/Component.js +1 -1
  66. package/gallery/modern/components/navigation-bar/index.js +1 -1
  67. package/gallery/modern/index.js +2 -2
  68. package/international-phone-input/cssm/index-7ca84eff.d.ts +15 -0
  69. package/international-phone-input/esm/index-7ca84eff.d.ts +15 -0
  70. package/international-phone-input/index-7ca84eff.d.ts +15 -0
  71. package/international-phone-input/modern/index-7ca84eff.d.ts +15 -0
  72. package/modal/components/controls/Component.js +1 -1
  73. package/modal/components/footer/Component.js +1 -1
  74. package/modal/esm/Component.responsive.js +1 -1
  75. package/modal/esm/components/controls/Component.js +1 -1
  76. package/modal/esm/components/controls/index.js +1 -1
  77. package/modal/esm/components/footer/Component.js +1 -1
  78. package/modal/esm/desktop/Component.desktop.js +1 -1
  79. package/modal/esm/desktop/index.js +1 -1
  80. package/modal/esm/index.js +1 -1
  81. package/modal/esm/mobile/Component.mobile.js +1 -1
  82. package/modal/esm/mobile/index.js +1 -1
  83. package/modal/modern/Component.responsive.js +1 -1
  84. package/modal/modern/components/controls/Component.js +1 -1
  85. package/modal/modern/components/controls/index.js +1 -1
  86. package/modal/modern/components/footer/Component.js +1 -1
  87. package/modal/modern/desktop/Component.desktop.js +1 -1
  88. package/modal/modern/desktop/index.js +1 -1
  89. package/modal/modern/index.js +1 -1
  90. package/modal/modern/mobile/Component.mobile.js +1 -1
  91. package/modal/modern/mobile/index.js +1 -1
  92. package/notification/Component.js +2 -1
  93. package/notification/cssm/Component.js +2 -1
  94. package/notification/esm/Component.js +2 -1
  95. package/notification/esm/index.js +1 -0
  96. package/notification/modern/Component.js +2 -1
  97. package/notification/modern/index.js +1 -0
  98. package/notification-manager/component.js +2 -1
  99. package/notification-manager/cssm/component.js +2 -1
  100. package/notification-manager/esm/component.js +2 -1
  101. package/notification-manager/esm/index.js +1 -0
  102. package/notification-manager/modern/component.js +2 -1
  103. package/notification-manager/modern/index.js +1 -0
  104. package/package.json +2 -1
  105. package/picker-button/cssm/index-bdb4c6b9.d.ts +1 -13
  106. package/picker-button/esm/index-bdb4c6b9.d.ts +1 -13
  107. package/picker-button/index-bdb4c6b9.d.ts +1 -13
  108. package/picker-button/modern/index-bdb4c6b9.d.ts +1 -13
  109. package/popover/Component.js +2 -1
  110. package/popover/cssm/Component.js +2 -1
  111. package/popover/esm/Component.js +2 -1
  112. package/popover/esm/index.js +1 -0
  113. package/popover/modern/Component.js +2 -1
  114. package/popover/modern/index.js +1 -0
  115. package/select/esm/Component.responsive.js +1 -1
  116. package/select/esm/index.js +1 -1
  117. package/select/esm/mobile/Component.mobile.js +1 -1
  118. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  119. package/select/esm/mobile/index.js +1 -1
  120. package/select/esm/presets/index.js +1 -1
  121. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  122. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  123. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  124. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  125. package/select/esm/shared/index.js +1 -1
  126. package/select/mobile/Component.mobile.js +1 -1
  127. package/select/modern/Component.responsive.js +1 -1
  128. package/select/modern/index.js +1 -1
  129. package/select/modern/mobile/Component.mobile.js +1 -1
  130. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  131. package/select/modern/mobile/index.js +1 -1
  132. package/select/modern/presets/index.js +1 -1
  133. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  134. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  135. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  136. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  137. package/select/modern/shared/index.js +1 -1
  138. package/select/presets/index.js +1 -1
  139. package/select/presets/useSelectWithApply/hook.js +1 -1
  140. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  141. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  142. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  143. package/select/shared/index.js +1 -1
  144. package/side-panel/components/controls/Component.js +1 -1
  145. package/side-panel/components/footer/Component.js +1 -1
  146. package/side-panel/esm/Component.responsive.js +1 -1
  147. package/side-panel/esm/components/controls/Component.js +1 -1
  148. package/side-panel/esm/components/controls/index.js +1 -1
  149. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  150. package/side-panel/esm/components/footer/Component.js +1 -1
  151. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  152. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  153. package/side-panel/esm/desktop/index.js +1 -1
  154. package/side-panel/esm/index.js +1 -1
  155. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  156. package/side-panel/esm/mobile/index.js +1 -1
  157. package/side-panel/modern/Component.responsive.js +1 -1
  158. package/side-panel/modern/components/controls/Component.js +1 -1
  159. package/side-panel/modern/components/controls/index.js +1 -1
  160. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  161. package/side-panel/modern/components/footer/Component.js +1 -1
  162. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  163. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  164. package/side-panel/modern/desktop/index.js +1 -1
  165. package/side-panel/modern/index.js +1 -1
  166. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  167. package/side-panel/modern/mobile/index.js +1 -1
  168. package/stack/component.js +4 -4
  169. package/stack/cssm/component.js +4 -4
  170. package/stack/cssm/index.d.ts +0 -1
  171. package/stack/cssm/index.js +0 -3
  172. package/stack/esm/component.js +1 -1
  173. package/stack/esm/index.d.ts +0 -1
  174. package/stack/esm/index.js +1 -1
  175. package/stack/index.d.ts +0 -1
  176. package/stack/index.js +0 -3
  177. package/stack/modern/component.js +1 -1
  178. package/stack/modern/index.d.ts +0 -1
  179. package/stack/modern/index.js +1 -1
  180. package/steps/Component.js +9 -8
  181. package/steps/cssm/Component.js +9 -8
  182. package/steps/esm/Component.js +10 -9
  183. package/steps/modern/Component.js +10 -9
  184. package/textarea/Component.js +1 -1
  185. package/textarea/components/PseudoTextArea.js +1 -1
  186. package/textarea/components/index.d.ts +1 -1
  187. package/textarea/components/index.js +1 -1
  188. package/textarea/esm/Component.js +1 -1
  189. package/textarea/esm/components/PseudoTextArea.js +1 -1
  190. package/textarea/esm/components/index.d.ts +1 -1
  191. package/textarea/esm/components/index.js +1 -1
  192. package/textarea/esm/index.js +1 -1
  193. package/textarea/modern/Component.js +1 -1
  194. package/textarea/modern/components/PseudoTextArea.js +1 -1
  195. package/textarea/modern/components/index.d.ts +1 -1
  196. package/textarea/modern/components/index.js +1 -1
  197. package/textarea/modern/index.js +1 -1
  198. package/themes/compiled/mobile-dark-bluetint.css +178 -39
  199. package/toast/components/base-toast/component.js +2 -1
  200. package/toast/cssm/components/base-toast/component.js +2 -1
  201. package/toast/esm/Component.responsive.js +1 -0
  202. package/toast/esm/components/base-toast/component.js +2 -1
  203. package/toast/esm/components/base-toast/index.js +1 -0
  204. package/toast/esm/desktop/Component.desktop.js +1 -0
  205. package/toast/esm/desktop/index.js +1 -0
  206. package/toast/esm/index.js +1 -0
  207. package/toast/esm/mobile/Component.mobile.js +1 -0
  208. package/toast/esm/mobile/index.js +1 -0
  209. package/toast/modern/Component.responsive.js +1 -0
  210. package/toast/modern/components/base-toast/component.js +2 -1
  211. package/toast/modern/components/base-toast/index.js +1 -0
  212. package/toast/modern/desktop/Component.desktop.js +1 -0
  213. package/toast/modern/desktop/index.js +1 -0
  214. package/toast/modern/index.js +1 -0
  215. package/toast/modern/mobile/Component.mobile.js +1 -0
  216. package/toast/modern/mobile/index.js +1 -0
  217. package/toast-plate/components/base-toast-plate/component.js +1 -1
  218. package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  219. package/toast-plate/esm/Component.responsive.js +1 -1
  220. package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
  221. package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
  222. package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  223. package/toast-plate/esm/desktop/Component.desktop.js +1 -1
  224. package/toast-plate/esm/desktop/index.js +1 -1
  225. package/toast-plate/esm/index-307da6d7.d.ts +1 -1
  226. package/toast-plate/esm/index.js +1 -1
  227. package/toast-plate/esm/mobile/Component.mobile.js +1 -1
  228. package/toast-plate/esm/mobile/index.js +1 -1
  229. package/toast-plate/index-307da6d7.d.ts +1 -1
  230. package/toast-plate/modern/Component.responsive.js +1 -1
  231. package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
  232. package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
  233. package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  234. package/toast-plate/modern/desktop/Component.desktop.js +1 -1
  235. package/toast-plate/modern/desktop/index.js +1 -1
  236. package/toast-plate/modern/index-307da6d7.d.ts +1 -1
  237. package/toast-plate/modern/index.js +1 -1
  238. package/toast-plate/modern/mobile/Component.mobile.js +1 -1
  239. package/toast-plate/modern/mobile/index.js +1 -1
  240. package/typography/esm/component.js +2 -2
  241. package/typography/esm/index.js +2 -2
  242. package/typography/esm/text/component.js +1 -1
  243. package/typography/esm/text/index.js +1 -1
  244. package/typography/esm/title/component.js +1 -1
  245. package/typography/esm/title/index.js +2 -2
  246. package/typography/esm/title-mobile/component.js +2 -2
  247. package/typography/esm/title-mobile/index.js +2 -2
  248. package/typography/esm/title-responsive/component.js +2 -2
  249. package/typography/esm/title-responsive/index.js +2 -2
  250. package/typography/modern/component.js +2 -2
  251. package/typography/modern/index.js +2 -2
  252. package/typography/modern/text/component.js +1 -1
  253. package/typography/modern/text/index.js +1 -1
  254. package/typography/modern/title/component.js +1 -1
  255. package/typography/modern/title/index.js +2 -2
  256. package/typography/modern/title-mobile/component.js +2 -2
  257. package/typography/modern/title-mobile/index.js +2 -2
  258. package/typography/modern/title-responsive/component.js +2 -2
  259. package/typography/modern/title-responsive/index.js +2 -2
  260. package/typography/text/component.js +1 -1
  261. package/typography/title/component.js +1 -1
  262. package/typography/title/index.js +1 -1
  263. package/typography/title-mobile/component.js +1 -1
  264. package/typography/title-responsive/component.js +1 -1
  265. package/universal-date-input/cssm/index-5712fce2.d.ts +1 -13
  266. package/universal-date-input/esm/index-5712fce2.d.ts +1 -13
  267. package/universal-date-input/index-5712fce2.d.ts +1 -13
  268. package/universal-date-input/modern/index-5712fce2.d.ts +1 -13
  269. package/international-phone-input/cssm/index-136acbb1.d.ts +0 -28
  270. package/international-phone-input/esm/index-136acbb1.d.ts +0 -28
  271. package/international-phone-input/index-136acbb1.d.ts +0 -28
  272. package/international-phone-input/modern/index-136acbb1.d.ts +0 -28
  273. package/stack/context.d.ts +0 -29
  274. package/stack/context.js +0 -34
  275. package/stack/cssm/context.d.ts +0 -29
  276. package/stack/cssm/context.js +0 -34
  277. package/stack/esm/context.d.ts +0 -29
  278. package/stack/esm/context.js +0 -31
  279. package/stack/modern/context.d.ts +0 -29
  280. package/stack/modern/context.js +0 -31
  281. /package/confirmation/{countdown-section-756d249f.d.ts → countdown-section-80b2f871.d.ts} +0 -0
  282. /package/confirmation/{countdown-section-756d249f.js → countdown-section-80b2f871.js} +0 -0
  283. /package/confirmation/esm/{countdown-section-7dc1e811.d.ts → countdown-section-acc1051f.d.ts} +0 -0
  284. /package/confirmation/esm/{countdown-section-7dc1e811.js → countdown-section-acc1051f.js} +0 -0
  285. /package/confirmation/modern/{countdown-section-eccb06b6.d.ts → countdown-section-91463948.d.ts} +0 -0
  286. /package/confirmation/modern/{countdown-section-eccb06b6.js → countdown-section-91463948.js} +0 -0
  287. /package/gallery/{buttons-0e0683d9.d.ts → buttons-2d32d0ff.d.ts} +0 -0
  288. /package/gallery/{buttons-0e0683d9.js → buttons-2d32d0ff.js} +0 -0
  289. /package/gallery/esm/{buttons-eabdb51b.d.ts → buttons-7f3fd122.d.ts} +0 -0
  290. /package/gallery/esm/{buttons-eabdb51b.js → buttons-7f3fd122.js} +0 -0
  291. /package/gallery/esm/{slide-a8f6ccc1.d.ts → slide-296478be.d.ts} +0 -0
  292. /package/gallery/esm/{slide-a8f6ccc1.js → slide-296478be.js} +0 -0
  293. /package/gallery/modern/{buttons-062ff167.d.ts → buttons-efa9898e.d.ts} +0 -0
  294. /package/gallery/modern/{buttons-062ff167.js → buttons-efa9898e.js} +0 -0
  295. /package/gallery/modern/{slide-b5566e19.d.ts → slide-7d442501.d.ts} +0 -0
  296. /package/gallery/modern/{slide-b5566e19.js → slide-7d442501.js} +0 -0
  297. /package/gallery/{slide-3d8ed06b.d.ts → slide-4fbf6ff4.d.ts} +0 -0
  298. /package/gallery/{slide-3d8ed06b.js → slide-4fbf6ff4.js} +0 -0
  299. /package/modal/esm/{layout.module-912924e9.js → layout.module-8c2ad581.js} +0 -0
  300. /package/modal/{layout.module-e38411cc.js → layout.module-9c7f42a7.js} +0 -0
  301. /package/modal/modern/{layout.module-020e2ced.js → layout.module-7b9f84d6.js} +0 -0
  302. /package/select/esm/{hook-ec5dced0.d.ts → hook-74e64a0c.d.ts} +0 -0
  303. /package/select/esm/{hook-ec5dced0.js → hook-74e64a0c.js} +0 -0
  304. /package/select/{hook-24546f56.d.ts → hook-0bb52889.d.ts} +0 -0
  305. /package/select/{hook-24546f56.js → hook-0bb52889.js} +0 -0
  306. /package/select/modern/{hook-b714aff5.d.ts → hook-6af684e1.d.ts} +0 -0
  307. /package/select/modern/{hook-b714aff5.js → hook-6af684e1.js} +0 -0
  308. /package/side-panel/esm/{layout.module-bde8ec44.js → layout.module-42bf261d.js} +0 -0
  309. /package/side-panel/{layout.module-a60d58a0.js → layout.module-2ea47a88.js} +0 -0
  310. /package/side-panel/modern/{layout.module-f1c80687.js → layout.module-39651e51.js} +0 -0
  311. /package/textarea/{PseudoTextArea-7681334c.d.ts → PseudoTextArea-53ba3572.d.ts} +0 -0
  312. /package/textarea/{PseudoTextArea-7681334c.js → PseudoTextArea-53ba3572.js} +0 -0
  313. /package/textarea/esm/{PseudoTextArea-850a55b5.d.ts → PseudoTextArea-278ebb87.d.ts} +0 -0
  314. /package/textarea/esm/{PseudoTextArea-850a55b5.js → PseudoTextArea-278ebb87.js} +0 -0
  315. /package/textarea/modern/{PseudoTextArea-c51ed577.d.ts → PseudoTextArea-0d65e973.d.ts} +0 -0
  316. /package/textarea/modern/{PseudoTextArea-c51ed577.js → PseudoTextArea-0d65e973.js} +0 -0
  317. /package/toast-plate/esm/{getDataTestId-185adec6.d.ts → getDataTestId-32d52205.d.ts} +0 -0
  318. /package/toast-plate/esm/{getDataTestId-185adec6.js → getDataTestId-32d52205.js} +0 -0
  319. /package/toast-plate/{getDataTestId-3138baed.d.ts → getDataTestId-1de39d74.d.ts} +0 -0
  320. /package/toast-plate/{getDataTestId-3138baed.js → getDataTestId-1de39d74.js} +0 -0
  321. /package/toast-plate/modern/{getDataTestId-3a028081.d.ts → getDataTestId-dd00ab19.d.ts} +0 -0
  322. /package/toast-plate/modern/{getDataTestId-3a028081.js → getDataTestId-dd00ab19.js} +0 -0
  323. /package/typography/{colors.module-eb3d91ee.js → colors.module-95ea7fc4.js} +0 -0
  324. /package/typography/{common.module-a8409ce9.js → common.module-ae53b4de.js} +0 -0
  325. /package/typography/esm/{colors.module-457deb40.js → colors.module-2b53143b.js} +0 -0
  326. /package/typography/esm/{common.module-99428575.js → common.module-1373fada.js} +0 -0
  327. /package/typography/modern/{colors.module-a0d2e648.js → colors.module-5db1b616.js} +0 -0
  328. /package/typography/modern/{common.module-5bbb2813.js → common.module-49874e31.js} +0 -0
@@ -3,7 +3,7 @@ import { GalleryContext } from '../../context.js';
3
3
  import { isSmallImage } from '../../utils/utils.js';
4
4
  import { TestIds } from '../../utils/constants.js';
5
5
  import { HeaderInfoBlock } from '../header-info-block/Component.js';
6
- import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-062ff167.js';
6
+ import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-efa9898e.js';
7
7
  import '../../../../typography/modern';
8
8
  import '../../utils/split-filename.js';
9
9
  import '../../../../icon-button/modern';
@@ -5,4 +5,4 @@ import '@alfalab/icons-glyph/ArrowsInwardMIcon';
5
5
  import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
6
6
  import '@alfalab/icons-glyph/CrossMIcon';
7
7
  import '@alfalab/icons-glyph/PointerDownMIcon';
8
- export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-062ff167.js';
8
+ export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-efa9898e.js';
@@ -6,7 +6,7 @@ import '../../utils/constants.js';
6
6
  import '../header-info-block/Component.js';
7
7
  import '../../../../typography/modern';
8
8
  import '../../utils/split-filename.js';
9
- import '../../buttons-062ff167.js';
9
+ import '../../buttons-efa9898e.js';
10
10
  import '../../../../icon-button/modern';
11
11
  import '../../../../tooltip/modern/desktop';
12
12
  import '@alfalab/icons-glyph/ArrowsInwardMIcon';
@@ -19,7 +19,7 @@ import 'swiper/react';
19
19
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
20
20
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
21
21
  import '../../utils/constants.js';
22
- import '../../slide-b5566e19.js';
22
+ import '../../slide-7d442501.js';
23
23
  import '../image-viewer/paths.js';
24
24
  import 'swiper/swiper.min.css';
25
25
 
@@ -19,7 +19,7 @@ import '@alfalab/hooks';
19
19
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
20
20
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
21
21
  import '../../utils/constants.js';
22
- import '../../slide-b5566e19.js';
22
+ import '../../slide-7d442501.js';
23
23
  import '../image-viewer/paths.js';
24
24
  import 'swiper/swiper.min.css';
25
25
  import './paths.js';
@@ -9,7 +9,7 @@ import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHea
9
9
  import { GalleryContext } from '../../context.js';
10
10
  import { getImageAlt, getImageKey } from '../../utils/utils.js';
11
11
  import { TestIds } from '../../utils/constants.js';
12
- import { s as styles, S as Slide } from '../../slide-b5566e19.js';
12
+ import { s as styles, S as Slide } from '../../slide-7d442501.js';
13
13
  import 'swiper/swiper.min.css';
14
14
  import '../../../../typography/modern';
15
15
  import './paths.js';
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
10
10
  import '../../context.js';
11
11
  import '../../utils/utils.js';
12
12
  import '../../utils/constants.js';
13
- import '../../slide-b5566e19.js';
13
+ import '../../slide-7d442501.js';
14
14
  import '../../../../typography/modern';
15
15
  import './paths.js';
16
16
  import 'swiper/swiper.min.css';
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '../../../../typography/modern';
4
- export { S as Slide } from '../../slide-b5566e19.js';
4
+ export { S as Slide } from '../../slide-7d442501.js';
5
5
  import '../../utils/utils.js';
6
6
  import '../../utils/constants.js';
7
7
  import './paths.js';
@@ -21,10 +21,10 @@ import 'swiper/react';
21
21
  import '@alfalab/hooks';
22
22
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
23
23
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
24
- import '../slide-b5566e19.js';
24
+ import '../slide-7d442501.js';
25
25
  import './image-viewer/paths.js';
26
26
  import 'swiper/swiper.min.css';
27
27
  import './image-preview/paths.js';
28
28
  import './header-info-block/Component.js';
29
29
  import '../utils/split-filename.js';
30
- import '../buttons-062ff167.js';
30
+ import '../buttons-efa9898e.js';
@@ -19,7 +19,7 @@ import 'swiper/react';
19
19
  import '@alfalab/hooks';
20
20
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
21
21
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
22
- import '../../slide-b5566e19.js';
22
+ import '../../slide-7d442501.js';
23
23
  import '../image-viewer/paths.js';
24
24
  import 'swiper/swiper.min.css';
25
25
  import '../image-preview/paths.js';
@@ -20,7 +20,7 @@ import 'swiper/react';
20
20
  import '@alfalab/hooks';
21
21
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
22
22
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
23
- import '../../slide-b5566e19.js';
23
+ import '../../slide-7d442501.js';
24
24
  import '../image-viewer/paths.js';
25
25
  import 'swiper/swiper.min.css';
26
26
  import '../image-preview/paths.js';
@@ -22,10 +22,10 @@ import 'swiper/react';
22
22
  import '@alfalab/hooks';
23
23
  import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
24
24
  import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
25
- import './slide-b5566e19.js';
25
+ import './slide-7d442501.js';
26
26
  import './components/image-viewer/paths.js';
27
27
  import 'swiper/swiper.min.css';
28
28
  import './components/image-preview/paths.js';
29
29
  import './components/header/Component.js';
30
30
  import './components/header-info-block/Component.js';
31
- import './buttons-062ff167.js';
31
+ import './buttons-efa9898e.js';
@@ -0,0 +1,15 @@
1
+ import { FC, ReactNode } from "react";
2
+ type StackProps = {
3
+ /**
4
+ * Render prop, в который передается функция.
5
+ * Функция принимает аргумент со значением z-index из текущего контекста.
6
+ */
7
+ children: (value: number) => ReactNode;
8
+ /**
9
+ * Исходное значение для z-index.
10
+ * @default 5
11
+ */
12
+ value?: number;
13
+ };
14
+ declare const Stack: FC<StackProps>;
15
+ export { StackProps, Stack };
@@ -0,0 +1,15 @@
1
+ import { FC, ReactNode } from "react";
2
+ type StackProps = {
3
+ /**
4
+ * Render prop, в который передается функция.
5
+ * Функция принимает аргумент со значением z-index из текущего контекста.
6
+ */
7
+ children: (value: number) => ReactNode;
8
+ /**
9
+ * Исходное значение для z-index.
10
+ * @default 5
11
+ */
12
+ value?: number;
13
+ };
14
+ declare const Stack: FC<StackProps>;
15
+ export { StackProps, Stack };
@@ -0,0 +1,15 @@
1
+ import { FC, ReactNode } from "react";
2
+ type StackProps = {
3
+ /**
4
+ * Render prop, в который передается функция.
5
+ * Функция принимает аргумент со значением z-index из текущего контекста.
6
+ */
7
+ children: (value: number) => ReactNode;
8
+ /**
9
+ * Исходное значение для z-index.
10
+ * @default 5
11
+ */
12
+ value?: number;
13
+ };
14
+ declare const Stack: FC<StackProps>;
15
+ export { StackProps, Stack };
@@ -0,0 +1,15 @@
1
+ import { FC, ReactNode } from "react";
2
+ type StackProps = {
3
+ /**
4
+ * Render prop, в который передается функция.
5
+ * Функция принимает аргумент со значением z-index из текущего контекста.
6
+ */
7
+ children: (value: number) => ReactNode;
8
+ /**
9
+ * Исходное значение для z-index.
10
+ * @default 5
11
+ */
12
+ value?: number;
13
+ };
14
+ declare const Stack: FC<StackProps>;
15
+ export { StackProps, Stack };
@@ -4,7 +4,7 @@ var React = require('react');
4
4
  var cn = require('classnames');
5
5
  var coreComponentsShared = require('../../../shared');
6
6
  var ResponsiveContext = require('../../ResponsiveContext.js');
7
- var layout_module = require('../../layout.module-e38411cc.js');
7
+ var layout_module = require('../../layout.module-9c7f42a7.js');
8
8
 
9
9
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
10
 
@@ -6,7 +6,7 @@ var coreComponentsShared = require('../../../shared');
6
6
  var consts = require('../../consts.js');
7
7
  var Context = require('../../Context.js');
8
8
  var ResponsiveContext = require('../../ResponsiveContext.js');
9
- var layout_module = require('../../layout.module-e38411cc.js');
9
+ var layout_module = require('../../layout.module-9c7f42a7.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -12,7 +12,7 @@ import './consts.js';
12
12
  import './Context.js';
13
13
  import '../../base-modal/esm';
14
14
  import './ResponsiveContext.js';
15
- import './layout.module-912924e9.js';
15
+ import './layout.module-8c2ad581.js';
16
16
  import '../../navigation-bar-private/esm';
17
17
  import 'react-merge-refs';
18
18
 
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/esm';
4
4
  import { ResponsiveContext } from '../../ResponsiveContext.js';
5
- import { l as layoutStyles } from '../../layout.module-912924e9.js';
5
+ import { l as layoutStyles } from '../../layout.module-8c2ad581.js';
6
6
 
7
7
  var styles = {"component":"modal__component_6629a"};
8
8
  require('./index.css');
@@ -3,4 +3,4 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../../../../shared/esm';
5
5
  import '../../ResponsiveContext.js';
6
- import '../../layout.module-912924e9.js';
6
+ import '../../layout.module-8c2ad581.js';
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/esm';
4
4
  import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
5
5
  import { ModalContext } from '../../Context.js';
6
6
  import { ResponsiveContext } from '../../ResponsiveContext.js';
7
- import { l as layoutStyles } from '../../layout.module-912924e9.js';
7
+ import { l as layoutStyles } from '../../layout.module-8c2ad581.js';
8
8
  import '../../../../base-modal/esm';
9
9
 
10
10
  var desktopStyles = {"footer":"modal__footer_e5vdf","sticky":"modal__sticky_e5vdf","fullscreen":"modal__fullscreen_e5vdf","size-500":"modal__size-500_e5vdf","size-600":"modal__size-600_e5vdf","size-800":"modal__size-800_e5vdf","size-1140":"modal__size-1140_e5vdf"};
@@ -12,7 +12,7 @@ import '../consts.js';
12
12
  import '../ResponsiveContext.js';
13
13
  import '../../../shared/esm';
14
14
  import '../Context.js';
15
- import '../layout.module-912924e9.js';
15
+ import '../layout.module-8c2ad581.js';
16
16
  import '../../../navigation-bar-private/esm';
17
17
 
18
18
  var ModalDesktopComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'desktop' }))); });
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
11
11
  import '../../../shared/esm';
12
12
  import '../Context.js';
13
13
  import '../components/controls/Component.js';
14
- import '../layout.module-912924e9.js';
14
+ import '../layout.module-8c2ad581.js';
15
15
  import '../components/footer/Component.js';
16
16
  import '../components/header/Component.js';
17
17
  import '../../../navigation-bar-private/esm';
@@ -10,7 +10,7 @@ import './Context.js';
10
10
  import '../../base-modal/esm';
11
11
  import './ResponsiveContext.js';
12
12
  import './components/controls/Component.js';
13
- import './layout.module-912924e9.js';
13
+ import './layout.module-8c2ad581.js';
14
14
  import './components/footer/Component.js';
15
15
  import './components/header/Component.js';
16
16
  import '../../navigation-bar-private/esm';
@@ -12,7 +12,7 @@ import '../consts.js';
12
12
  import '../ResponsiveContext.js';
13
13
  import '../../../shared/esm';
14
14
  import '../Context.js';
15
- import '../layout.module-912924e9.js';
15
+ import '../layout.module-8c2ad581.js';
16
16
  import '../../../navigation-bar-private/esm';
17
17
 
18
18
  var ModalMobileComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'mobile' }))); });
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
11
11
  import '../../../shared/esm';
12
12
  import '../Context.js';
13
13
  import '../components/controls/Component.js';
14
- import '../layout.module-912924e9.js';
14
+ import '../layout.module-8c2ad581.js';
15
15
  import '../components/footer/Component.js';
16
16
  import '../components/header/Component.js';
17
17
  import '../../../navigation-bar-private/esm';
@@ -11,7 +11,7 @@ import './consts.js';
11
11
  import './Context.js';
12
12
  import '../../base-modal/modern';
13
13
  import './ResponsiveContext.js';
14
- import './layout.module-020e2ced.js';
14
+ import './layout.module-7b9f84d6.js';
15
15
  import '../../navigation-bar-private/modern';
16
16
  import 'react-merge-refs';
17
17
 
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { getDataTestId } from '../../../../shared/modern';
4
4
  import { ResponsiveContext } from '../../ResponsiveContext.js';
5
- import { l as layoutStyles } from '../../layout.module-020e2ced.js';
5
+ import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
6
6
 
7
7
  const styles = {"component":"modal__component_6629a"};
8
8
  require('./index.css');
@@ -3,4 +3,4 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '../../../../shared/modern';
5
5
  import '../../ResponsiveContext.js';
6
- import '../../layout.module-020e2ced.js';
6
+ import '../../layout.module-7b9f84d6.js';
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/modern';
4
4
  import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
5
5
  import { ModalContext } from '../../Context.js';
6
6
  import { ResponsiveContext } from '../../ResponsiveContext.js';
7
- import { l as layoutStyles } from '../../layout.module-020e2ced.js';
7
+ import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
8
8
  import '../../../../base-modal/modern';
9
9
 
10
10
  const desktopStyles = {"footer":"modal__footer_e5vdf","sticky":"modal__sticky_e5vdf","fullscreen":"modal__fullscreen_e5vdf","size-500":"modal__size-500_e5vdf","size-600":"modal__size-600_e5vdf","size-800":"modal__size-800_e5vdf","size-1140":"modal__size-1140_e5vdf"};
@@ -11,7 +11,7 @@ import '../consts.js';
11
11
  import '../ResponsiveContext.js';
12
12
  import '../../../shared/modern';
13
13
  import '../Context.js';
14
- import '../layout.module-020e2ced.js';
14
+ import '../layout.module-7b9f84d6.js';
15
15
  import '../../../navigation-bar-private/modern';
16
16
 
17
17
  const ModalDesktopComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'desktop' })));
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
10
10
  import '../../../shared/modern';
11
11
  import '../Context.js';
12
12
  import '../components/controls/Component.js';
13
- import '../layout.module-020e2ced.js';
13
+ import '../layout.module-7b9f84d6.js';
14
14
  import '../components/footer/Component.js';
15
15
  import '../components/header/Component.js';
16
16
  import '../../../navigation-bar-private/modern';
@@ -9,7 +9,7 @@ import './Context.js';
9
9
  import '../../base-modal/modern';
10
10
  import './ResponsiveContext.js';
11
11
  import './components/controls/Component.js';
12
- import './layout.module-020e2ced.js';
12
+ import './layout.module-7b9f84d6.js';
13
13
  import './components/footer/Component.js';
14
14
  import './components/header/Component.js';
15
15
  import '../../navigation-bar-private/modern';
@@ -11,7 +11,7 @@ import '../consts.js';
11
11
  import '../ResponsiveContext.js';
12
12
  import '../../../shared/modern';
13
13
  import '../Context.js';
14
- import '../layout.module-020e2ced.js';
14
+ import '../layout.module-7b9f84d6.js';
15
15
  import '../../../navigation-bar-private/modern';
16
16
 
17
17
  const ModalMobileComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'mobile' })));
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
10
10
  import '../../../shared/modern';
11
11
  import '../Context.js';
12
12
  import '../components/controls/Component.js';
13
- import '../layout.module-020e2ced.js';
13
+ import '../layout.module-7b9f84d6.js';
14
14
  import '../components/footer/Component.js';
15
15
  import '../components/header/Component.js';
16
16
  import '../../../navigation-bar-private/modern';
@@ -9,6 +9,7 @@ var elementClosest = require('element-closest');
9
9
  var coreComponentsPortal = require('../portal');
10
10
  var coreComponentsStack = require('../stack');
11
11
  var desktop = require('../toast-plate/desktop');
12
+ var stackContext = require('@alfalab/stack-context');
12
13
  var utils_index = require('./utils/index.js');
13
14
 
14
15
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -23,7 +24,7 @@ require('./index.css');
23
24
 
24
25
  var notificationClassNameSelector = ".".concat(styles.notificationComponent);
25
26
  var Notification = React.forwardRef(function (_a, ref) {
26
- var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ? coreComponentsStack.stackingOrder.TOAST : _f, style = _a.style, onClose = _a.onClose, onCloseTimeout = _a.onCloseTimeout, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onClickOutside = _a.onClickOutside, restProps = tslib.__rest(_a, ["className", "actionSectionClassName", "children", "visible", "offset", "hasCloser", "autoCloseDelay", "usePortal", "zIndex", "style", "onClose", "onCloseTimeout", "onMouseEnter", "onMouseLeave", "onClickOutside"]);
27
+ var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ? stackContext.stackingOrder.TOAST : _f, style = _a.style, onClose = _a.onClose, onCloseTimeout = _a.onCloseTimeout, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onClickOutside = _a.onClickOutside, restProps = tslib.__rest(_a, ["className", "actionSectionClassName", "children", "visible", "offset", "hasCloser", "autoCloseDelay", "usePortal", "zIndex", "style", "onClose", "onCloseTimeout", "onMouseEnter", "onMouseLeave", "onClickOutside"]);
27
28
  var notificationRef = React.useRef(null);
28
29
  var autoCloseTimeoutRef = React.useRef(0);
29
30
  var closeTimeoutRef = React.useRef(0);
@@ -9,6 +9,7 @@ var elementClosest = require('element-closest');
9
9
  var coreComponentsPortal = require('../../portal/cssm');
10
10
  var coreComponentsStack = require('../../stack/cssm');
11
11
  var desktop = require('../../toast-plate/cssm/desktop');
12
+ var stackContext = require('@alfalab/stack-context');
12
13
  var utils_index = require('./utils/index.js');
13
14
  var styles = require('./index.module.css');
14
15
 
@@ -22,7 +23,7 @@ var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
22
23
 
23
24
  var notificationClassNameSelector = ".".concat(styles__default.default.notificationComponent);
24
25
  var Notification = React.forwardRef(function (_a, ref) {
25
- var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ? coreComponentsStack.stackingOrder.TOAST : _f, style = _a.style, onClose = _a.onClose, onCloseTimeout = _a.onCloseTimeout, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onClickOutside = _a.onClickOutside, restProps = tslib.__rest(_a, ["className", "actionSectionClassName", "children", "visible", "offset", "hasCloser", "autoCloseDelay", "usePortal", "zIndex", "style", "onClose", "onCloseTimeout", "onMouseEnter", "onMouseLeave", "onClickOutside"]);
26
+ var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ? stackContext.stackingOrder.TOAST : _f, style = _a.style, onClose = _a.onClose, onCloseTimeout = _a.onCloseTimeout, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onClickOutside = _a.onClickOutside, restProps = tslib.__rest(_a, ["className", "actionSectionClassName", "children", "visible", "offset", "hasCloser", "autoCloseDelay", "usePortal", "zIndex", "style", "onClose", "onCloseTimeout", "onMouseEnter", "onMouseLeave", "onClickOutside"]);
26
27
  var notificationRef = React.useRef(null);
27
28
  var autoCloseTimeoutRef = React.useRef(0);
28
29
  var closeTimeoutRef = React.useRef(0);
@@ -5,8 +5,9 @@ import { useSwipeable } from 'react-swipeable';
5
5
  import cn from 'classnames';
6
6
  import elementClosest from 'element-closest';
7
7
  import { Portal } from '../../portal/esm';
8
- import { stackingOrder, Stack } from '../../stack/esm';
8
+ import { Stack } from '../../stack/esm';
9
9
  import { ToastPlateDesktop } from '../../toast-plate/esm/desktop';
10
+ import { stackingOrder } from '@alfalab/stack-context';
10
11
  import { useClickOutside } from './utils/index.js';
11
12
 
12
13
  var styles = {"notificationComponent":"notification__notificationComponent_x5voa","isVisible":"notification__isVisible_x5voa","isClosing":"notification__isClosing_x5voa","toastContent":"notification__toastContent_x5voa","actionSection":"notification__actionSection_x5voa"};
@@ -8,4 +8,5 @@ import 'element-closest';
8
8
  import '../../portal/esm';
9
9
  import '../../stack/esm';
10
10
  import '../../toast-plate/esm/desktop';
11
+ import '@alfalab/stack-context';
11
12
  import './utils/index.js';
@@ -4,8 +4,9 @@ import { useSwipeable } from 'react-swipeable';
4
4
  import cn from 'classnames';
5
5
  import elementClosest from 'element-closest';
6
6
  import { Portal } from '../../portal/modern';
7
- import { Stack, stackingOrder } from '../../stack/modern';
7
+ import { Stack } from '../../stack/modern';
8
8
  import { ToastPlateDesktop } from '../../toast-plate/modern/desktop';
9
+ import { stackingOrder } from '@alfalab/stack-context';
9
10
  import { useClickOutside } from './utils/index.js';
10
11
 
11
12
  const styles = {"notificationComponent":"notification__notificationComponent_x5voa","isVisible":"notification__isVisible_x5voa","isClosing":"notification__isClosing_x5voa","toastContent":"notification__toastContent_x5voa","actionSection":"notification__actionSection_x5voa"};
@@ -7,4 +7,5 @@ import 'element-closest';
7
7
  import '../../portal/modern';
8
8
  import '../../stack/modern';
9
9
  import '../../toast-plate/modern/desktop';
10
+ import '@alfalab/stack-context';
10
11
  import './utils/index.js';
@@ -6,6 +6,7 @@ var reactTransitionGroup = require('react-transition-group');
6
6
  var cn = require('classnames');
7
7
  var coreComponentsPortal = require('../portal');
8
8
  var coreComponentsStack = require('../stack');
9
+ var stackContext = require('@alfalab/stack-context');
9
10
  var components_notification_component = require('./components/notification/component.js');
10
11
 
11
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -25,7 +26,7 @@ var TIMEOUT = {
25
26
  enter: 400,
26
27
  };
27
28
  var NotificationManager = React.forwardRef(function (_a, ref) {
28
- var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ? coreComponentsStack.stackingOrder.TOAST : _b, _c = _a.style, style = _c === void 0 ? {} : _c, offset = _a.offset, onRemoveNotification = _a.onRemoveNotification, container = _a.container, restProps = tslib.__rest(_a, ["notifications", "className", "dataTestId", "zIndex", "style", "offset", "onRemoveNotification", "container"]);
29
+ var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ? stackContext.stackingOrder.TOAST : _b, _c = _a.style, style = _c === void 0 ? {} : _c, offset = _a.offset, onRemoveNotification = _a.onRemoveNotification, container = _a.container, restProps = tslib.__rest(_a, ["notifications", "className", "dataTestId", "zIndex", "style", "offset", "onRemoveNotification", "container"]);
29
30
  return (React__default.default.createElement(coreComponentsStack.Stack, { value: zIndex }, function (computedZIndex) { return (React__default.default.createElement(coreComponentsPortal.Portal, { getPortalContainer: container },
30
31
  React__default.default.createElement("div", tslib.__assign({ className: cn__default.default(styles.component, className), ref: ref, "data-test-id": dataTestId, style: tslib.__assign({ zIndex: computedZIndex, top: offset }, style) }, restProps),
31
32
  React__default.default.createElement(reactTransitionGroup.TransitionGroup, null, notifications.map(function (element, index) {
@@ -6,6 +6,7 @@ var reactTransitionGroup = require('react-transition-group');
6
6
  var cn = require('classnames');
7
7
  var coreComponentsPortal = require('../../portal/cssm');
8
8
  var coreComponentsStack = require('../../stack/cssm');
9
+ var stackContext = require('@alfalab/stack-context');
9
10
  var components_notification_component = require('./components/notification/component.js');
10
11
  var styles = require('./index.module.css');
11
12
 
@@ -24,7 +25,7 @@ var TIMEOUT = {
24
25
  enter: 400,
25
26
  };
26
27
  var NotificationManager = React.forwardRef(function (_a, ref) {
27
- var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ? coreComponentsStack.stackingOrder.TOAST : _b, _c = _a.style, style = _c === void 0 ? {} : _c, offset = _a.offset, onRemoveNotification = _a.onRemoveNotification, container = _a.container, restProps = tslib.__rest(_a, ["notifications", "className", "dataTestId", "zIndex", "style", "offset", "onRemoveNotification", "container"]);
28
+ var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ? stackContext.stackingOrder.TOAST : _b, _c = _a.style, style = _c === void 0 ? {} : _c, offset = _a.offset, onRemoveNotification = _a.onRemoveNotification, container = _a.container, restProps = tslib.__rest(_a, ["notifications", "className", "dataTestId", "zIndex", "style", "offset", "onRemoveNotification", "container"]);
28
29
  return (React__default.default.createElement(coreComponentsStack.Stack, { value: zIndex }, function (computedZIndex) { return (React__default.default.createElement(coreComponentsPortal.Portal, { getPortalContainer: container },
29
30
  React__default.default.createElement("div", tslib.__assign({ className: cn__default.default(styles__default.default.component, className), ref: ref, "data-test-id": dataTestId, style: tslib.__assign({ zIndex: computedZIndex, top: offset }, style) }, restProps),
30
31
  React__default.default.createElement(reactTransitionGroup.TransitionGroup, null, notifications.map(function (element, index) {
@@ -3,7 +3,8 @@ import React, { forwardRef } from 'react';
3
3
  import { TransitionGroup, CSSTransition } from 'react-transition-group';
4
4
  import cn from 'classnames';
5
5
  import { Portal } from '../../portal/esm';
6
- import { stackingOrder, Stack } from '../../stack/esm';
6
+ import { Stack } from '../../stack/esm';
7
+ import { stackingOrder } from '@alfalab/stack-context';
7
8
  import { Notification } from './components/notification/component.js';
8
9
 
9
10
  var styles = {"component":"notification-manager__component_1xrx7","notification":"notification-manager__notification_1xrx7","withoutMargin":"notification-manager__withoutMargin_1xrx7","enter":"notification-manager__enter_1xrx7","enterActive":"notification-manager__enterActive_1xrx7"};
@@ -5,4 +5,5 @@ import 'react-transition-group';
5
5
  import 'classnames';
6
6
  import '../../portal/esm';
7
7
  import '../../stack/esm';
8
+ import '@alfalab/stack-context';
8
9
  import './components/notification/component.js';
@@ -2,7 +2,8 @@ import React, { forwardRef } from 'react';
2
2
  import { TransitionGroup, CSSTransition } from 'react-transition-group';
3
3
  import cn from 'classnames';
4
4
  import { Portal } from '../../portal/modern';
5
- import { Stack, stackingOrder } from '../../stack/modern';
5
+ import { Stack } from '../../stack/modern';
6
+ import { stackingOrder } from '@alfalab/stack-context';
6
7
  import { Notification } from './components/notification/component.js';
7
8
 
8
9
  const styles = {"component":"notification-manager__component_1xrx7","notification":"notification-manager__notification_1xrx7","withoutMargin":"notification-manager__withoutMargin_1xrx7","enter":"notification-manager__enter_1xrx7","enterActive":"notification-manager__enterActive_1xrx7"};
@@ -4,4 +4,5 @@ import 'react-transition-group';
4
4
  import 'classnames';
5
5
  import '../../portal/modern';
6
6
  import '../../stack/modern';
7
+ import '@alfalab/stack-context';
7
8
  import './components/notification/component.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components",
3
- "version": "46.0.0-beta.2",
3
+ "version": "46.0.0-beta.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -56,6 +56,7 @@
56
56
  "@alfalab/hooks": "^1.13.0",
57
57
  "@alfalab/icons-glyph": "^2.139.0",
58
58
  "@alfalab/icons-logotype": "^2.27.0",
59
+ "@alfalab/stack-context": "^1.16.0",
59
60
  "@alfalab/utils": "^1.15.2",
60
61
  "@dnd-kit/core": "^6.0.7",
61
62
  "@dnd-kit/sortable": "^7.0.2",
@@ -174,18 +174,6 @@ declare function isScrolledToBottom(target: HTMLElement): boolean;
174
174
  declare function hasScrollbar(target: HTMLElement): boolean;
175
175
  declare const restoreContainerStyles: (container: HTMLElement) => void;
176
176
  declare const handleContainer: (container?: HTMLElement, shouldIOSLock?: boolean) => void;
177
- /**
178
- * Набор констант для z-index соответствующих классов компонентов.
179
- * Значения выбраны по приоритету.
180
- */
181
- declare const stackingOrder: {
182
- FOCUSED: number;
183
- DEFAULT: number;
184
- POPOVER: number;
185
- MODAL: number;
186
- TOAST: number;
187
- };
188
- declare const StackingContext: import("react").Context<number>;
189
177
  type StackProps = {
190
178
  /**
191
179
  * Render prop, в который передается функция.
@@ -226,5 +214,5 @@ declare class GlobalStore {
226
214
  constructor();
227
215
  getModalStore: () => ModalStore;
228
216
  }
229
- export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, stackingOrder, StackingContext, StackProps, Stack, lockScroll, unlockScroll, syncHeight, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore };
217
+ export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, StackProps, Stack, lockScroll, unlockScroll, syncHeight, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore };
230
218
  export type { SavedStyle };