@alfalab/core-components 46.3.0-beta.1 → 46.3.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/amount-input/Component.js +1 -2
  2. package/amount-input/cssm/Component.js +1 -2
  3. package/amount-input/esm/Component.js +1 -2
  4. package/amount-input/esm/index.js +0 -1
  5. package/amount-input/modern/Component.js +1 -2
  6. package/amount-input/modern/index.js +0 -1
  7. package/button/Component.responsive.js +1 -2
  8. package/button/cssm/Component.responsive.js +1 -2
  9. package/button/esm/Component.responsive.js +2 -2
  10. package/button/esm/index.js +1 -1
  11. package/button/modern/Component.responsive.js +2 -2
  12. package/button/modern/index.js +1 -1
  13. package/calendar/Component.responsive.js +1 -2
  14. package/calendar/cssm/Component.responsive.js +1 -2
  15. package/calendar/esm/Component.responsive.js +2 -2
  16. package/calendar/esm/index.js +1 -1
  17. package/calendar/modern/Component.responsive.js +2 -2
  18. package/calendar/modern/index.js +1 -1
  19. package/calendar-input/Component.responsive.js +1 -2
  20. package/calendar-input/cssm/Component.responsive.js +1 -2
  21. package/calendar-input/esm/Component.responsive.js +1 -2
  22. package/calendar-input/esm/index.js +0 -1
  23. package/calendar-input/modern/Component.responsive.js +1 -2
  24. package/calendar-input/modern/index.js +0 -1
  25. package/checkbox-group/Component.responsive.js +1 -2
  26. package/checkbox-group/cssm/Component.responsive.js +1 -2
  27. package/checkbox-group/esm/Component.responsive.js +1 -2
  28. package/checkbox-group/esm/index.js +0 -1
  29. package/checkbox-group/modern/Component.responsive.js +1 -2
  30. package/checkbox-group/modern/index.js +0 -1
  31. package/code-input/Component.responsive.js +1 -2
  32. package/code-input/cssm/Component.responsive.js +1 -2
  33. package/code-input/esm/Component.responsive.js +1 -2
  34. package/code-input/esm/index.js +0 -1
  35. package/code-input/modern/Component.responsive.js +1 -2
  36. package/code-input/modern/index.js +0 -1
  37. package/confirmation/component.responsive.js +1 -2
  38. package/confirmation/components/base-confirmation/component.js +1 -2
  39. package/confirmation/components/screens/initial/component.js +1 -1
  40. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  41. package/confirmation/cssm/component.responsive.js +1 -2
  42. package/confirmation/cssm/components/base-confirmation/component.js +1 -2
  43. package/confirmation/esm/component.responsive.js +2 -3
  44. package/confirmation/esm/components/base-confirmation/component.js +2 -3
  45. package/confirmation/esm/components/base-confirmation/index.js +1 -2
  46. package/confirmation/esm/components/index.js +1 -1
  47. package/confirmation/esm/components/screens/index.js +1 -1
  48. package/confirmation/esm/components/screens/initial/component.js +1 -1
  49. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  50. package/confirmation/esm/components/screens/initial/index.js +1 -1
  51. package/confirmation/esm/desktop/component.desktop.js +1 -2
  52. package/confirmation/esm/desktop/index.js +1 -2
  53. package/confirmation/esm/index.js +1 -2
  54. package/confirmation/esm/mobile/component.mobile.js +1 -2
  55. package/confirmation/esm/mobile/index.js +1 -2
  56. package/confirmation/esm/shared/index.js +1 -1
  57. package/confirmation/modern/component.responsive.js +2 -3
  58. package/confirmation/modern/components/base-confirmation/component.js +2 -3
  59. package/confirmation/modern/components/base-confirmation/index.js +1 -2
  60. package/confirmation/modern/components/index.js +1 -1
  61. package/confirmation/modern/components/screens/index.js +1 -1
  62. package/confirmation/modern/components/screens/initial/component.js +1 -1
  63. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  64. package/confirmation/modern/components/screens/initial/index.js +1 -1
  65. package/confirmation/modern/desktop/component.desktop.js +1 -2
  66. package/confirmation/modern/desktop/index.js +1 -2
  67. package/confirmation/modern/index.js +1 -2
  68. package/confirmation/modern/mobile/component.mobile.js +1 -2
  69. package/confirmation/modern/mobile/index.js +1 -2
  70. package/confirmation/modern/shared/index.js +1 -1
  71. package/custom-picker-button/Component.responsive.js +1 -2
  72. package/custom-picker-button/cssm/Component.responsive.js +1 -2
  73. package/custom-picker-button/esm/Component.responsive.js +1 -2
  74. package/custom-picker-button/esm/index.js +0 -1
  75. package/custom-picker-button/modern/Component.responsive.js +1 -2
  76. package/custom-picker-button/modern/index.js +0 -1
  77. package/date-range-input/Component.responsive.js +1 -2
  78. package/date-range-input/cssm/Component.responsive.js +1 -2
  79. package/date-range-input/esm/Component.responsive.js +1 -2
  80. package/date-range-input/esm/index.js +0 -1
  81. package/date-range-input/modern/Component.responsive.js +1 -2
  82. package/date-range-input/modern/index.js +0 -1
  83. package/date-time-input/Component.responsive.js +1 -2
  84. package/date-time-input/cssm/Component.responsive.js +1 -2
  85. package/date-time-input/esm/Component.responsive.js +1 -2
  86. package/date-time-input/esm/index.js +0 -1
  87. package/date-time-input/modern/Component.responsive.js +1 -2
  88. package/date-time-input/modern/index.js +0 -1
  89. package/filter-tag/Component.responsive.js +1 -2
  90. package/filter-tag/cssm/Component.responsive.js +1 -2
  91. package/filter-tag/esm/Component.responsive.js +1 -2
  92. package/filter-tag/esm/index.js +0 -1
  93. package/filter-tag/modern/Component.responsive.js +1 -2
  94. package/filter-tag/modern/index.js +0 -1
  95. package/form-control/Component.responsive.js +1 -2
  96. package/form-control/cssm/Component.responsive.js +1 -2
  97. package/form-control/esm/Component.responsive.js +2 -2
  98. package/form-control/esm/index.js +1 -1
  99. package/form-control/modern/Component.responsive.js +2 -2
  100. package/form-control/modern/index.js +1 -1
  101. package/input/Component.responsive.js +1 -2
  102. package/input/cssm/Component.responsive.js +1 -2
  103. package/input/esm/Component.responsive.js +2 -2
  104. package/input/esm/index.js +1 -1
  105. package/input/modern/Component.responsive.js +2 -2
  106. package/input/modern/index.js +1 -1
  107. package/input-autocomplete/Component.responsive.js +1 -2
  108. package/input-autocomplete/cssm/Component.responsive.js +1 -2
  109. package/input-autocomplete/esm/Component.responsive.js +2 -2
  110. package/input-autocomplete/esm/index.js +1 -1
  111. package/input-autocomplete/modern/Component.responsive.js +2 -2
  112. package/input-autocomplete/modern/index.js +1 -1
  113. package/international-phone-input/Component.responsive.js +1 -2
  114. package/international-phone-input/cssm/Component.responsive.js +1 -2
  115. package/international-phone-input/esm/Component.responsive.js +2 -2
  116. package/international-phone-input/esm/index.js +1 -1
  117. package/international-phone-input/modern/Component.responsive.js +2 -2
  118. package/international-phone-input/modern/index.js +1 -1
  119. package/markdown/Component.responsive.js +1 -1
  120. package/markdown/cssm/Component.responsive.js +1 -1
  121. package/markdown/esm/Component.responsive.js +2 -2
  122. package/markdown/modern/Component.responsive.js +2 -2
  123. package/modal/Component.responsive.js +1 -2
  124. package/modal/components/controls/Component.js +1 -1
  125. package/modal/components/footer/Component.js +1 -1
  126. package/modal/cssm/Component.responsive.js +1 -2
  127. package/modal/esm/Component.responsive.js +3 -3
  128. package/modal/esm/components/controls/Component.js +1 -1
  129. package/modal/esm/components/controls/index.js +1 -1
  130. package/modal/esm/components/footer/Component.js +1 -1
  131. package/modal/esm/desktop/Component.desktop.js +1 -1
  132. package/modal/esm/desktop/index.js +1 -1
  133. package/modal/esm/index.js +2 -2
  134. package/modal/esm/mobile/Component.mobile.js +1 -1
  135. package/modal/esm/mobile/index.js +1 -1
  136. package/modal/modern/Component.responsive.js +3 -3
  137. package/modal/modern/components/controls/Component.js +1 -1
  138. package/modal/modern/components/controls/index.js +1 -1
  139. package/modal/modern/components/footer/Component.js +1 -1
  140. package/modal/modern/desktop/Component.desktop.js +1 -1
  141. package/modal/modern/desktop/index.js +1 -1
  142. package/modal/modern/index.js +2 -2
  143. package/modal/modern/mobile/Component.mobile.js +1 -1
  144. package/modal/modern/mobile/index.js +1 -1
  145. package/number-input/Component.responsive.js +1 -2
  146. package/number-input/cssm/Component.responsive.js +1 -2
  147. package/number-input/esm/Component.responsive.js +2 -2
  148. package/number-input/esm/index.js +1 -1
  149. package/number-input/modern/Component.responsive.js +2 -2
  150. package/number-input/modern/index.js +1 -1
  151. package/package.json +1 -1
  152. package/pattern-lock/Component.responsive.js +1 -2
  153. package/pattern-lock/cssm/Component.responsive.js +1 -2
  154. package/pattern-lock/esm/Component.responsive.js +2 -2
  155. package/pattern-lock/esm/index.js +1 -1
  156. package/pattern-lock/modern/Component.responsive.js +2 -2
  157. package/pattern-lock/modern/index.js +1 -1
  158. package/picker-button/Component-307da6d7.d.ts +168 -0
  159. package/picker-button/Component.responsive.js +1 -2
  160. package/picker-button/Context-c2e6f1b2.d.ts +4 -0
  161. package/picker-button/cssm/Component-307da6d7.d.ts +168 -0
  162. package/picker-button/cssm/Component.responsive.js +1 -2
  163. package/picker-button/cssm/Context-c2e6f1b2.d.ts +4 -0
  164. package/picker-button/cssm/index-064acd29.d.ts +13 -0
  165. package/picker-button/cssm/index-307da6d7.d.ts +67 -0
  166. package/picker-button/cssm/mobile/Component.mobile.js +1 -2
  167. package/picker-button/cssm/types-a870d1f8.d.ts +117 -0
  168. package/picker-button/cssm/typings-cab56f5d.d.ts +10 -415
  169. package/picker-button/esm/Component-307da6d7.d.ts +168 -0
  170. package/picker-button/esm/Component.responsive.js +1 -2
  171. package/picker-button/esm/Context-c2e6f1b2.d.ts +4 -0
  172. package/picker-button/esm/index-064acd29.d.ts +13 -0
  173. package/picker-button/esm/index-307da6d7.d.ts +67 -0
  174. package/picker-button/esm/index.js +0 -1
  175. package/picker-button/esm/mobile/Component.mobile.js +1 -2
  176. package/picker-button/esm/mobile/index.js +0 -1
  177. package/picker-button/esm/types-a870d1f8.d.ts +117 -0
  178. package/picker-button/esm/typings-cab56f5d.d.ts +10 -415
  179. package/picker-button/index-064acd29.d.ts +13 -0
  180. package/picker-button/index-307da6d7.d.ts +67 -0
  181. package/picker-button/mobile/Component.mobile.js +1 -2
  182. package/picker-button/modern/Component-307da6d7.d.ts +168 -0
  183. package/picker-button/modern/Component.responsive.js +1 -2
  184. package/picker-button/modern/Context-c2e6f1b2.d.ts +4 -0
  185. package/picker-button/modern/index-064acd29.d.ts +13 -0
  186. package/picker-button/modern/index-307da6d7.d.ts +67 -0
  187. package/picker-button/modern/index.js +0 -1
  188. package/picker-button/modern/mobile/Component.mobile.js +1 -2
  189. package/picker-button/modern/mobile/index.js +0 -1
  190. package/picker-button/modern/types-a870d1f8.d.ts +117 -0
  191. package/picker-button/modern/typings-cab56f5d.d.ts +10 -415
  192. package/picker-button/types-a870d1f8.d.ts +117 -0
  193. package/picker-button/typings-cab56f5d.d.ts +10 -415
  194. package/plate/Component.responsive.js +1 -17
  195. package/plate/cssm/Component.responsive.js +1 -17
  196. package/plate/esm/Component.responsive.js +2 -17
  197. package/plate/esm/index.js +1 -1
  198. package/plate/modern/Component.responsive.js +2 -18
  199. package/plate/modern/index.js +1 -1
  200. package/radio-group/Component.responsive.js +1 -2
  201. package/radio-group/cssm/Component.responsive.js +1 -2
  202. package/radio-group/esm/Component.responsive.js +1 -2
  203. package/radio-group/esm/index.js +0 -1
  204. package/radio-group/modern/Component.responsive.js +1 -2
  205. package/radio-group/modern/index.js +0 -1
  206. package/scrollbar/Component.js +1 -1
  207. package/scrollbar/cssm/Component.js +1 -1
  208. package/scrollbar/esm/Component.js +1 -1
  209. package/scrollbar/modern/Component.js +1 -1
  210. package/select/Component.responsive.js +1 -2
  211. package/select/cssm/Component.responsive.js +1 -2
  212. package/select/esm/Component.responsive.js +3 -3
  213. package/select/esm/index.js +2 -2
  214. package/select/esm/mobile/Component.mobile.js +1 -1
  215. package/select/esm/mobile/Component.modal.mobile.js +1 -1
  216. package/select/esm/mobile/index.js +1 -1
  217. package/select/esm/presets/index.js +1 -1
  218. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  219. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  220. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  221. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  222. package/select/esm/shared/index.js +1 -1
  223. package/select/mobile/Component.mobile.js +1 -1
  224. package/select/modern/Component.responsive.js +3 -3
  225. package/select/modern/index.js +2 -2
  226. package/select/modern/mobile/Component.mobile.js +1 -1
  227. package/select/modern/mobile/Component.modal.mobile.js +1 -1
  228. package/select/modern/mobile/index.js +1 -1
  229. package/select/modern/presets/index.js +1 -1
  230. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  231. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  232. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  233. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  234. package/select/modern/shared/index.js +1 -1
  235. package/select/presets/index.js +1 -1
  236. package/select/presets/useSelectWithApply/hook.js +1 -1
  237. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  238. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  239. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  240. package/select/shared/index.js +1 -1
  241. package/select-with-tags/Component.responsive.js +1 -2
  242. package/select-with-tags/cssm/Component.responsive.js +1 -2
  243. package/select-with-tags/esm/Component.responsive.js +1 -2
  244. package/select-with-tags/esm/index.js +0 -1
  245. package/select-with-tags/modern/Component.responsive.js +1 -2
  246. package/select-with-tags/modern/index.js +0 -1
  247. package/shared/cssm/index.d.ts +0 -1
  248. package/shared/cssm/index.js +0 -2
  249. package/shared/esm/index.d.ts +0 -1
  250. package/shared/esm/index.js +0 -1
  251. package/shared/index.d.ts +0 -1
  252. package/shared/index.js +0 -2
  253. package/shared/modern/index.d.ts +0 -1
  254. package/shared/modern/index.js +0 -1
  255. package/side-panel/Component.responsive.js +1 -1
  256. package/side-panel/components/controls/Component.js +1 -1
  257. package/side-panel/components/footer/Component.js +1 -1
  258. package/side-panel/cssm/Component.responsive.js +1 -1
  259. package/side-panel/esm/Component.responsive.js +3 -3
  260. package/side-panel/esm/components/controls/Component.js +1 -1
  261. package/side-panel/esm/components/controls/index.js +1 -1
  262. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  263. package/side-panel/esm/components/footer/Component.js +1 -1
  264. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  265. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  266. package/side-panel/esm/desktop/index.js +1 -1
  267. package/side-panel/esm/index.js +1 -1
  268. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  269. package/side-panel/esm/mobile/index.js +1 -1
  270. package/side-panel/modern/Component.responsive.js +3 -3
  271. package/side-panel/modern/components/controls/Component.js +1 -1
  272. package/side-panel/modern/components/controls/index.js +1 -1
  273. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  274. package/side-panel/modern/components/footer/Component.js +1 -1
  275. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  276. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  277. package/side-panel/modern/desktop/index.js +1 -1
  278. package/side-panel/modern/index.js +1 -1
  279. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  280. package/side-panel/modern/mobile/index.js +1 -1
  281. package/system-message/Components.responsive.js +1 -1
  282. package/system-message/cssm/Components.responsive.js +1 -1
  283. package/system-message/esm/Components.responsive.js +2 -2
  284. package/system-message/modern/Components.responsive.js +2 -2
  285. package/tabs/components/primary-tablist/Component.collapsible.js +1 -2
  286. package/tabs/components/primary-tablist/Component.responsive.js +1 -2
  287. package/tabs/components/secondary-tablist/Component.responsive.js +1 -2
  288. package/tabs/components/tabs/Component.js +1 -2
  289. package/tabs/cssm/components/primary-tablist/Component.collapsible.js +1 -2
  290. package/tabs/cssm/components/primary-tablist/Component.responsive.js +1 -2
  291. package/tabs/cssm/components/secondary-tablist/Component.responsive.js +1 -2
  292. package/tabs/cssm/components/tabs/Component.js +1 -2
  293. package/tabs/esm/collapsible/index.js +1 -1
  294. package/tabs/esm/components/primary-tablist/Component.collapsible.js +2 -2
  295. package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
  296. package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
  297. package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
  298. package/tabs/esm/components/tabs/Component.js +1 -2
  299. package/tabs/esm/components/tabs/Component.responsive.js +1 -1
  300. package/tabs/esm/index.js +1 -1
  301. package/tabs/modern/collapsible/index.js +1 -1
  302. package/tabs/modern/components/primary-tablist/Component.collapsible.js +2 -2
  303. package/tabs/modern/components/primary-tablist/Component.responsive.js +2 -2
  304. package/tabs/modern/components/secondary-tablist/Component.responsive.js +2 -2
  305. package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
  306. package/tabs/modern/components/tabs/Component.js +1 -2
  307. package/tabs/modern/components/tabs/Component.responsive.js +1 -1
  308. package/tabs/modern/index.js +1 -1
  309. package/tag/Component.responsive.js +1 -2
  310. package/tag/components/base-tag/Component.d.ts +1 -1
  311. package/tag/cssm/Component.responsive.js +1 -2
  312. package/tag/cssm/components/base-tag/Component.d.ts +1 -1
  313. package/tag/esm/Component.responsive.js +1 -2
  314. package/tag/esm/components/base-tag/Component.d.ts +1 -1
  315. package/tag/esm/index.js +0 -1
  316. package/tag/modern/Component.responsive.js +1 -2
  317. package/tag/modern/components/base-tag/Component.d.ts +1 -1
  318. package/tag/modern/index.js +0 -1
  319. package/themes/compiled/mobile-dark-bluetint.css +30 -169
  320. package/themes/corp.css +0 -3
  321. package/themes/mixins/corp.css +0 -1
  322. package/toast/Component.responsive.js +1 -2
  323. package/toast/cssm/Component.responsive.js +1 -2
  324. package/toast/esm/Component.responsive.js +1 -2
  325. package/toast/esm/index.js +0 -1
  326. package/toast/modern/Component.responsive.js +1 -2
  327. package/toast/modern/index.js +0 -1
  328. package/toast-plate/Component.responsive.js +1 -2
  329. package/toast-plate/browser-a216f694.d.ts +6 -0
  330. package/toast-plate/components/base-toast-plate/component.js +4 -3
  331. package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.js +5 -2
  332. package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +5 -3
  333. package/toast-plate/cssm/Component.responsive.js +1 -2
  334. package/toast-plate/cssm/browser-a216f694.d.ts +6 -0
  335. package/toast-plate/cssm/components/base-toast-plate/component.js +4 -3
  336. package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.js +5 -2
  337. package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +5 -3
  338. package/toast-plate/cssm/getDataTestId-73ea38f8.d.ts +3 -0
  339. package/toast-plate/cssm/getDataTestId-73ea38f8.js +6 -0
  340. package/toast-plate/cssm/index-307da6d7.d.ts +71 -0
  341. package/toast-plate/cssm/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
  342. package/toast-plate/esm/Component.responsive.js +3 -2
  343. package/toast-plate/esm/browser-a216f694.d.ts +6 -0
  344. package/toast-plate/esm/components/base-toast-plate/component.js +2 -1
  345. package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.js +4 -1
  346. package/toast-plate/esm/components/base-toast-plate/index.js +2 -1
  347. package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +3 -1
  348. package/toast-plate/esm/desktop/Component.desktop.js +2 -1
  349. package/toast-plate/esm/desktop/index.js +2 -1
  350. package/toast-plate/esm/getDataTestId-8c3fed0f.d.ts +3 -0
  351. package/toast-plate/esm/getDataTestId-8c3fed0f.js +6 -0
  352. package/toast-plate/esm/index-307da6d7.d.ts +71 -0
  353. package/toast-plate/esm/index.js +2 -1
  354. package/toast-plate/esm/mobile/Component.mobile.js +2 -1
  355. package/toast-plate/esm/mobile/index.js +2 -1
  356. package/toast-plate/esm/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
  357. package/toast-plate/getDataTestId-616b4aa4.d.ts +3 -0
  358. package/toast-plate/getDataTestId-616b4aa4.js +6 -0
  359. package/toast-plate/index-307da6d7.d.ts +71 -0
  360. package/toast-plate/modern/Component.responsive.js +3 -2
  361. package/toast-plate/modern/browser-a216f694.d.ts +6 -0
  362. package/toast-plate/modern/components/base-toast-plate/component.js +2 -1
  363. package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.js +4 -1
  364. package/toast-plate/modern/components/base-toast-plate/index.js +2 -1
  365. package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +3 -1
  366. package/toast-plate/modern/desktop/Component.desktop.js +2 -1
  367. package/toast-plate/modern/desktop/index.js +2 -1
  368. package/toast-plate/modern/getDataTestId-72c08d00.d.ts +3 -0
  369. package/toast-plate/modern/getDataTestId-72c08d00.js +6 -0
  370. package/toast-plate/modern/index-307da6d7.d.ts +71 -0
  371. package/toast-plate/modern/index.js +2 -1
  372. package/toast-plate/modern/mobile/Component.mobile.js +2 -1
  373. package/toast-plate/modern/mobile/index.js +2 -1
  374. package/toast-plate/modern/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
  375. package/toast-plate/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
  376. package/tooltip/Component.responsive.js +1 -2
  377. package/tooltip/cssm/Component.responsive.js +1 -2
  378. package/tooltip/esm/Component.responsive.js +1 -2
  379. package/tooltip/esm/index.js +0 -1
  380. package/tooltip/modern/Component.responsive.js +1 -2
  381. package/tooltip/modern/index.js +0 -1
  382. package/universal-date-input/Component.responsive.js +1 -2
  383. package/universal-date-input/cssm/Component.responsive.js +1 -2
  384. package/universal-date-input/esm/Component.responsive.js +2 -2
  385. package/universal-date-input/esm/index.js +1 -1
  386. package/universal-date-input/modern/Component.responsive.js +2 -2
  387. package/universal-date-input/modern/index.js +1 -1
  388. package/shared/cssm/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
  389. package/shared/cssm/getComponentBreakpoint/getComponentBreakpoint.js +0 -18
  390. package/shared/cssm/getComponentBreakpoint/index.d.ts +0 -1
  391. package/shared/cssm/getComponentBreakpoint/index.js +0 -7
  392. package/shared/esm/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
  393. package/shared/esm/getComponentBreakpoint/getComponentBreakpoint.js +0 -16
  394. package/shared/esm/getComponentBreakpoint/index.d.ts +0 -1
  395. package/shared/esm/getComponentBreakpoint/index.js +0 -1
  396. package/shared/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
  397. package/shared/getComponentBreakpoint/getComponentBreakpoint.js +0 -18
  398. package/shared/getComponentBreakpoint/index.d.ts +0 -1
  399. package/shared/getComponentBreakpoint/index.js +0 -7
  400. package/shared/modern/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
  401. package/shared/modern/getComponentBreakpoint/getComponentBreakpoint.js +0 -17
  402. package/shared/modern/getComponentBreakpoint/index.d.ts +0 -1
  403. package/shared/modern/getComponentBreakpoint/index.js +0 -1
  404. package/themes/breakpoints/breakpoint-768.css +0 -3
  405. /package/confirmation/{countdown-section-43d652bc.d.ts → countdown-section-aec25c87.d.ts} +0 -0
  406. /package/confirmation/{countdown-section-43d652bc.js → countdown-section-aec25c87.js} +0 -0
  407. /package/confirmation/esm/{countdown-section-fa359ca6.d.ts → countdown-section-c3e9c20e.d.ts} +0 -0
  408. /package/confirmation/esm/{countdown-section-fa359ca6.js → countdown-section-c3e9c20e.js} +0 -0
  409. /package/confirmation/modern/{countdown-section-5dad7304.d.ts → countdown-section-8f8ec9cc.d.ts} +0 -0
  410. /package/confirmation/modern/{countdown-section-5dad7304.js → countdown-section-8f8ec9cc.js} +0 -0
  411. /package/modal/esm/{layout.module-b4ea6558.js → layout.module-8c132de9.js} +0 -0
  412. /package/modal/{layout.module-7efaf6d6.js → layout.module-46235d07.js} +0 -0
  413. /package/modal/modern/{layout.module-58f4847a.js → layout.module-21005b1e.js} +0 -0
  414. /package/{plate → picker-button}/browser-a216f694.d.ts +0 -0
  415. /package/{plate → picker-button}/cssm/browser-a216f694.d.ts +0 -0
  416. /package/{plate → picker-button}/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
  417. /package/{plate → picker-button}/esm/browser-a216f694.d.ts +0 -0
  418. /package/{plate → picker-button}/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
  419. /package/{plate → picker-button}/modern/browser-a216f694.d.ts +0 -0
  420. /package/{plate → picker-button}/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
  421. /package/{plate → picker-button}/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
  422. /package/select/esm/{hook-bfd507f2.d.ts → hook-7c54b450.d.ts} +0 -0
  423. /package/select/esm/{hook-bfd507f2.js → hook-7c54b450.js} +0 -0
  424. /package/select/{hook-2a286167.d.ts → hook-f698d382.d.ts} +0 -0
  425. /package/select/{hook-2a286167.js → hook-f698d382.js} +0 -0
  426. /package/select/modern/{hook-b7be50fa.d.ts → hook-ae85f4a7.d.ts} +0 -0
  427. /package/select/modern/{hook-b7be50fa.js → hook-ae85f4a7.js} +0 -0
  428. /package/side-panel/esm/{layout.module-b0991390.js → layout.module-705483a3.js} +0 -0
  429. /package/side-panel/{layout.module-e5881cc7.js → layout.module-5c45e934.js} +0 -0
  430. /package/side-panel/modern/{layout.module-77a5552f.js → layout.module-8f376872.js} +0 -0
@@ -3,7 +3,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
- var coreComponentsShared = require('../../../shared');
7
6
  var hooks = require('@alfalab/hooks');
8
7
  var context = require('../../context.js');
9
8
  var types = require('../../types.js');
@@ -28,7 +27,7 @@ var confirmationScreens = {
28
27
  TEMP_BLOCK: components_screens_tempBlock_component.TempBlock,
29
28
  };
30
29
  var BaseConfirmation = function (_a) {
31
- var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? utils.ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? utils.ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, _g = _a.hideCountdownSection, hideCountdownSection = _g === void 0 ? false : _g, _h = _a.breakpoint, breakpoint = _h === void 0 ? coreComponentsShared.getComponentBreakpoint() : _h, initialScreenHintSlot = _a.initialScreenHintSlot, errorVisibleDuration = _a.errorVisibleDuration, restProps = tslib.__rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError", "hideCountdownSection", "breakpoint", "initialScreenHintSlot", "errorVisibleDuration"]);
30
+ var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? utils.ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? utils.ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, _g = _a.hideCountdownSection, hideCountdownSection = _g === void 0 ? false : _g, _h = _a.breakpoint, breakpoint = _h === void 0 ? 1024 : _h, initialScreenHintSlot = _a.initialScreenHintSlot, errorVisibleDuration = _a.errorVisibleDuration, restProps = tslib.__rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError", "hideCountdownSection", "breakpoint", "initialScreenHintSlot", "errorVisibleDuration"]);
32
31
  var _j = utils.useCountdown(countdownDuration), timeLeft = _j[0], startTimer = _j[1], stopTimer = _j[2];
33
32
  var prevState = hooks.usePrevious(state);
34
33
  React.useEffect(function () {
@@ -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-43d652bc.js');
13
+ var components_screens_initial_countdownSection = require('../../../countdown-section-aec25c87.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-43d652bc.js');
10
+ var components_screens_initial_countdownSection = require('../../../countdown-section-aec25c87.js');
11
11
 
12
12
 
13
13
 
@@ -3,7 +3,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var coreComponentsMq = require('../../mq/cssm');
6
- var coreComponentsShared = require('../../shared/cssm');
7
6
  var desktop_component_desktop = require('./desktop/component.desktop.js');
8
7
  var mobile_component_mobile = require('./mobile/component.mobile.js');
9
8
 
@@ -12,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
12
 
14
13
  var ConfirmationResponsive = function (_a) {
15
- var _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
14
+ var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
16
15
  var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), true)[0];
17
16
  return isDesktop ? (React__default.default.createElement(desktop_component_desktop.ConfirmationDesktop, tslib.__assign({}, restProps))) : (React__default.default.createElement(mobile_component_mobile.ConfirmationMobile, tslib.__assign({ breakpoint: breakpoint }, restProps)));
18
17
  };
@@ -3,7 +3,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
- var coreComponentsShared = require('../../../../shared/cssm');
7
6
  var hooks = require('@alfalab/hooks');
8
7
  var context = require('../../context.js');
9
8
  var types = require('../../types.js');
@@ -27,7 +26,7 @@ var confirmationScreens = {
27
26
  TEMP_BLOCK: components_screens_tempBlock_component.TempBlock,
28
27
  };
29
28
  var BaseConfirmation = function (_a) {
30
- var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? utils.ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? utils.ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, _g = _a.hideCountdownSection, hideCountdownSection = _g === void 0 ? false : _g, _h = _a.breakpoint, breakpoint = _h === void 0 ? coreComponentsShared.getComponentBreakpoint() : _h, initialScreenHintSlot = _a.initialScreenHintSlot, errorVisibleDuration = _a.errorVisibleDuration, restProps = tslib.__rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError", "hideCountdownSection", "breakpoint", "initialScreenHintSlot", "errorVisibleDuration"]);
29
+ var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? utils.ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? utils.ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, _g = _a.hideCountdownSection, hideCountdownSection = _g === void 0 ? false : _g, _h = _a.breakpoint, breakpoint = _h === void 0 ? 1024 : _h, initialScreenHintSlot = _a.initialScreenHintSlot, errorVisibleDuration = _a.errorVisibleDuration, restProps = tslib.__rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError", "hideCountdownSection", "breakpoint", "initialScreenHintSlot", "errorVisibleDuration"]);
31
30
  var _j = utils.useCountdown(countdownDuration), timeLeft = _j[0], startTimer = _j[1], stopTimer = _j[2];
32
31
  var prevState = hooks.usePrevious(state);
33
32
  React.useEffect(function () {
@@ -1,7 +1,6 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { useMatchMedia } from '../../mq/esm';
4
- import { getComponentBreakpoint } from '../../shared/esm';
5
4
  import { ConfirmationDesktop } from './desktop/component.desktop.js';
6
5
  import { ConfirmationMobile } from './mobile/component.mobile.js';
7
6
  import './components/base-confirmation/component.js';
@@ -17,7 +16,7 @@ import '../../code-input/esm/mobile';
17
16
  import '../../link/esm';
18
17
  import '../../typography/esm';
19
18
  import './components/header/component.js';
20
- import './countdown-section-fa359ca6.js';
19
+ import './countdown-section-c3e9c20e.js';
21
20
  import '../../button/esm';
22
21
  import '../../spinner/esm';
23
22
  import './components/screens/hint/component.js';
@@ -26,7 +25,7 @@ import './components/screens/temp-block/component.js';
26
25
  import './components/countdown-loader/component.js';
27
26
 
28
27
  var ConfirmationResponsive = function (_a) {
29
- var _b = _a.breakpoint, breakpoint = _b === void 0 ? getComponentBreakpoint() : _b, restProps = __rest(_a, ["breakpoint"]);
28
+ var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["breakpoint"]);
30
29
  var isDesktop = useMatchMedia("(min-width: ".concat(breakpoint, "px)"), true)[0];
31
30
  return isDesktop ? (React.createElement(ConfirmationDesktop, __assign({}, restProps))) : (React.createElement(ConfirmationMobile, __assign({ breakpoint: breakpoint }, restProps)));
32
31
  };
@@ -1,7 +1,6 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React, { useEffect, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
- import { getComponentBreakpoint } from '../../../../shared/esm';
5
4
  import { usePrevious } from '@alfalab/hooks';
6
5
  import { ConfirmationContext } from '../../context.js';
7
6
  import { defaultTexts } from '../../types.js';
@@ -16,7 +15,7 @@ import '../../../../code-input/esm/mobile';
16
15
  import '../../../../link/esm';
17
16
  import '../../../../typography/esm';
18
17
  import '../header/component.js';
19
- import '../../countdown-section-fa359ca6.js';
18
+ import '../../countdown-section-c3e9c20e.js';
20
19
  import '../../../../button/esm';
21
20
  import '../../../../spinner/esm';
22
21
  import '../countdown-loader/component.js';
@@ -31,7 +30,7 @@ var confirmationScreens = {
31
30
  TEMP_BLOCK: TempBlock,
32
31
  };
33
32
  var BaseConfirmation = function (_a) {
34
- var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, _g = _a.hideCountdownSection, hideCountdownSection = _g === void 0 ? false : _g, _h = _a.breakpoint, breakpoint = _h === void 0 ? getComponentBreakpoint() : _h, initialScreenHintSlot = _a.initialScreenHintSlot, errorVisibleDuration = _a.errorVisibleDuration, restProps = __rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError", "hideCountdownSection", "breakpoint", "initialScreenHintSlot", "errorVisibleDuration"]);
33
+ var state = _a.state, screen = _a.screen, _b = _a.alignContent, alignContent = _b === void 0 ? 'left' : _b; _a.children; var _c = _a.requiredCharAmount, requiredCharAmount = _c === void 0 ? 5 : _c, _d = _a.countdownDuration, countdownDuration = _d === void 0 ? ONE_MINUTE : _d, _e = _a.tempBlockDuration, tempBlockDuration = _e === void 0 ? ONE_DAY : _e, phone = _a.phone, blockSmsRetry = _a.blockSmsRetry, dataTestId = _a.dataTestId, className = _a.className, getScreensMap = _a.getScreensMap, onInputFinished = _a.onInputFinished, onChangeState = _a.onChangeState, onSmsRetryClick = _a.onSmsRetryClick, onChangeScreen = _a.onChangeScreen, onFatalErrorOkButtonClick = _a.onFatalErrorOkButtonClick, onTempBlockFinished = _a.onTempBlockFinished, mobile = _a.mobile, _f = _a.clearCodeOnError, clearCodeOnError = _f === void 0 ? true : _f, _g = _a.hideCountdownSection, hideCountdownSection = _g === void 0 ? false : _g, _h = _a.breakpoint, breakpoint = _h === void 0 ? 1024 : _h, initialScreenHintSlot = _a.initialScreenHintSlot, errorVisibleDuration = _a.errorVisibleDuration, restProps = __rest(_a, ["state", "screen", "alignContent", "children", "requiredCharAmount", "countdownDuration", "tempBlockDuration", "phone", "blockSmsRetry", "dataTestId", "className", "getScreensMap", "onInputFinished", "onChangeState", "onSmsRetryClick", "onChangeScreen", "onFatalErrorOkButtonClick", "onTempBlockFinished", "mobile", "clearCodeOnError", "hideCountdownSection", "breakpoint", "initialScreenHintSlot", "errorVisibleDuration"]);
35
34
  var _j = useCountdown(countdownDuration), timeLeft = _j[0], startTimer = _j[1], stopTimer = _j[2];
36
35
  var prevState = usePrevious(state);
37
36
  useEffect(function () {
@@ -2,7 +2,6 @@ export { BaseConfirmation } from './component.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import 'classnames';
5
- import '../../../../shared/esm';
6
5
  import '@alfalab/hooks';
7
6
  import '../../context.js';
8
7
  import '../../utils.js';
@@ -14,7 +13,7 @@ import '../../../../code-input/esm/mobile';
14
13
  import '../../../../link/esm';
15
14
  import '../../../../typography/esm';
16
15
  import '../header/component.js';
17
- import '../../countdown-section-fa359ca6.js';
16
+ import '../../countdown-section-c3e9c20e.js';
18
17
  import '../../../../button/esm';
19
18
  import '../../../../spinner/esm';
20
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-fa359ca6.js';
17
+ import '../countdown-section-c3e9c20e.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-fa359ca6.js';
16
+ import '../../countdown-section-c3e9c20e.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-fa359ca6.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-c3e9c20e.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-fa359ca6.js';
7
+ export { C as CountdownSection } from '../../../countdown-section-c3e9c20e.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-fa359ca6.js';
13
+ import '../../../countdown-section-c3e9c20e.js';
14
14
  import '../../../../../button/esm';
15
15
  import '../../../../../spinner/esm';
@@ -2,7 +2,6 @@ import { __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
4
4
  import 'classnames';
5
- import '../../../shared/esm';
6
5
  import '@alfalab/hooks';
7
6
  import '../context.js';
8
7
  import '../utils.js';
@@ -14,7 +13,7 @@ import '../../../code-input/esm/mobile';
14
13
  import '../../../link/esm';
15
14
  import '../../../typography/esm';
16
15
  import '../components/header/component.js';
17
- import '../countdown-section-fa359ca6.js';
16
+ import '../countdown-section-c3e9c20e.js';
18
17
  import '../../../button/esm';
19
18
  import '../../../spinner/esm';
20
19
  import '../components/screens/hint/component.js';
@@ -4,7 +4,6 @@ import 'tslib';
4
4
  import 'react';
5
5
  import '../components/base-confirmation/component.js';
6
6
  import 'classnames';
7
- import '../../../shared/esm';
8
7
  import '@alfalab/hooks';
9
8
  import '../context.js';
10
9
  import '../types.js';
@@ -15,7 +14,7 @@ import '../../../code-input/esm/mobile';
15
14
  import '../../../link/esm';
16
15
  import '../../../typography/esm';
17
16
  import '../components/header/component.js';
18
- import '../countdown-section-fa359ca6.js';
17
+ import '../countdown-section-c3e9c20e.js';
19
18
  import '../../../button/esm';
20
19
  import '../../../spinner/esm';
21
20
  import '../components/screens/hint/component.js';
@@ -3,7 +3,6 @@ export { useConfirmation, useCountdown } from './utils.js';
3
3
  import 'tslib';
4
4
  import 'react';
5
5
  import '../../mq/esm';
6
- import '../../shared/esm';
7
6
  import './desktop/component.desktop.js';
8
7
  import './components/base-confirmation/component.js';
9
8
  import 'classnames';
@@ -17,7 +16,7 @@ import '../../code-input/esm/mobile';
17
16
  import '../../link/esm';
18
17
  import '../../typography/esm';
19
18
  import './components/header/component.js';
20
- import './countdown-section-fa359ca6.js';
19
+ import './countdown-section-c3e9c20e.js';
21
20
  import '../../button/esm';
22
21
  import '../../spinner/esm';
23
22
  import './components/screens/hint/component.js';
@@ -2,7 +2,6 @@ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
5
- import '../../../shared/esm';
6
5
  import '@alfalab/hooks';
7
6
  import '../context.js';
8
7
  import '../utils.js';
@@ -14,7 +13,7 @@ import '../../../code-input/esm/mobile';
14
13
  import '../../../link/esm';
15
14
  import '../../../typography/esm';
16
15
  import '../components/header/component.js';
17
- import '../countdown-section-fa359ca6.js';
16
+ import '../countdown-section-c3e9c20e.js';
18
17
  import '../../../button/esm';
19
18
  import '../../../spinner/esm';
20
19
  import '../components/screens/hint/component.js';
@@ -4,7 +4,6 @@ import 'tslib';
4
4
  import 'react';
5
5
  import 'classnames';
6
6
  import '../components/base-confirmation/component.js';
7
- import '../../../shared/esm';
8
7
  import '@alfalab/hooks';
9
8
  import '../context.js';
10
9
  import '../types.js';
@@ -15,7 +14,7 @@ import '../../../code-input/esm/mobile';
15
14
  import '../../../link/esm';
16
15
  import '../../../typography/esm';
17
16
  import '../components/header/component.js';
18
- import '../countdown-section-fa359ca6.js';
17
+ import '../countdown-section-c3e9c20e.js';
19
18
  import '../../../button/esm';
20
19
  import '../../../spinner/esm';
21
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-fa359ca6.js';
18
+ import '../countdown-section-c3e9c20e.js';
19
19
  import '../../../button/esm';
20
20
  import '../../../spinner/esm';
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { useMatchMedia } from '../../mq/modern';
3
- import { getComponentBreakpoint } from '../../shared/modern';
4
3
  import { ConfirmationDesktop } from './desktop/component.desktop.js';
5
4
  import { ConfirmationMobile } from './mobile/component.mobile.js';
6
5
  import './components/base-confirmation/component.js';
@@ -16,7 +15,7 @@ import '../../code-input/modern/mobile';
16
15
  import '../../link/modern';
17
16
  import '../../typography/modern';
18
17
  import './components/header/component.js';
19
- import './countdown-section-5dad7304.js';
18
+ import './countdown-section-8f8ec9cc.js';
20
19
  import '../../button/modern';
21
20
  import '../../spinner/modern';
22
21
  import './components/screens/hint/component.js';
@@ -24,7 +23,7 @@ import './components/screens/fatal-error/component.js';
24
23
  import './components/screens/temp-block/component.js';
25
24
  import './components/countdown-loader/component.js';
26
25
 
27
- const ConfirmationResponsive = ({ breakpoint = getComponentBreakpoint(), ...restProps }) => {
26
+ const ConfirmationResponsive = ({ breakpoint = 1024, ...restProps }) => {
28
27
  const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, true);
29
28
  return isDesktop ? (React.createElement(ConfirmationDesktop, { ...restProps })) : (React.createElement(ConfirmationMobile, { breakpoint: breakpoint, ...restProps }));
30
29
  };
@@ -1,6 +1,5 @@
1
1
  import React, { useEffect, useMemo } from 'react';
2
2
  import cn from 'classnames';
3
- import { getComponentBreakpoint } from '../../../../shared/modern';
4
3
  import { usePrevious } from '@alfalab/hooks';
5
4
  import { ConfirmationContext } from '../../context.js';
6
5
  import { defaultTexts } from '../../types.js';
@@ -15,7 +14,7 @@ import '../../../../code-input/modern/mobile';
15
14
  import '../../../../link/modern';
16
15
  import '../../../../typography/modern';
17
16
  import '../header/component.js';
18
- import '../../countdown-section-5dad7304.js';
17
+ import '../../countdown-section-8f8ec9cc.js';
19
18
  import '../../../../button/modern';
20
19
  import '../../../../spinner/modern';
21
20
  import '../countdown-loader/component.js';
@@ -29,7 +28,7 @@ const confirmationScreens = {
29
28
  FATAL_ERROR: FatalError,
30
29
  TEMP_BLOCK: TempBlock,
31
30
  };
32
- const BaseConfirmation = ({ state, screen, alignContent = 'left', children, requiredCharAmount = 5, countdownDuration = ONE_MINUTE, tempBlockDuration = ONE_DAY, phone, blockSmsRetry, dataTestId, className, getScreensMap, onInputFinished, onChangeState, onSmsRetryClick, onChangeScreen, onFatalErrorOkButtonClick, onTempBlockFinished, mobile, clearCodeOnError = true, hideCountdownSection = false, breakpoint = getComponentBreakpoint(), initialScreenHintSlot, errorVisibleDuration, ...restProps }) => {
31
+ const BaseConfirmation = ({ state, screen, alignContent = 'left', children, requiredCharAmount = 5, countdownDuration = ONE_MINUTE, tempBlockDuration = ONE_DAY, phone, blockSmsRetry, dataTestId, className, getScreensMap, onInputFinished, onChangeState, onSmsRetryClick, onChangeScreen, onFatalErrorOkButtonClick, onTempBlockFinished, mobile, clearCodeOnError = true, hideCountdownSection = false, breakpoint = 1024, initialScreenHintSlot, errorVisibleDuration, ...restProps }) => {
33
32
  const [timeLeft, startTimer, stopTimer] = useCountdown(countdownDuration);
34
33
  const prevState = usePrevious(state);
35
34
  useEffect(() => {
@@ -1,7 +1,6 @@
1
1
  export { BaseConfirmation } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../../../../shared/modern';
5
4
  import '@alfalab/hooks';
6
5
  import '../../context.js';
7
6
  import '../../utils.js';
@@ -13,7 +12,7 @@ import '../../../../code-input/modern/mobile';
13
12
  import '../../../../link/modern';
14
13
  import '../../../../typography/modern';
15
14
  import '../header/component.js';
16
- import '../../countdown-section-5dad7304.js';
15
+ import '../../countdown-section-8f8ec9cc.js';
17
16
  import '../../../../button/modern';
18
17
  import '../../../../spinner/modern';
19
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-5dad7304.js';
17
+ import '../countdown-section-8f8ec9cc.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-5dad7304.js';
16
+ import '../../countdown-section-8f8ec9cc.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-5dad7304.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-8f8ec9cc.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-5dad7304.js';
7
+ export { C as CountdownSection } from '../../../countdown-section-8f8ec9cc.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-5dad7304.js';
13
+ import '../../../countdown-section-8f8ec9cc.js';
14
14
  import '../../../../../button/modern';
15
15
  import '../../../../../spinner/modern';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
3
3
  import 'classnames';
4
- import '../../../shared/modern';
5
4
  import '@alfalab/hooks';
6
5
  import '../context.js';
7
6
  import '../utils.js';
@@ -13,7 +12,7 @@ import '../../../code-input/modern/mobile';
13
12
  import '../../../link/modern';
14
13
  import '../../../typography/modern';
15
14
  import '../components/header/component.js';
16
- import '../countdown-section-5dad7304.js';
15
+ import '../countdown-section-8f8ec9cc.js';
17
16
  import '../../../button/modern';
18
17
  import '../../../spinner/modern';
19
18
  import '../components/screens/hint/component.js';
@@ -3,7 +3,6 @@ export { useConfirmation, useCountdown } from '../utils.js';
3
3
  import 'react';
4
4
  import '../components/base-confirmation/component.js';
5
5
  import 'classnames';
6
- import '../../../shared/modern';
7
6
  import '@alfalab/hooks';
8
7
  import '../context.js';
9
8
  import '../types.js';
@@ -14,7 +13,7 @@ import '../../../code-input/modern/mobile';
14
13
  import '../../../link/modern';
15
14
  import '../../../typography/modern';
16
15
  import '../components/header/component.js';
17
- import '../countdown-section-5dad7304.js';
16
+ import '../countdown-section-8f8ec9cc.js';
18
17
  import '../../../button/modern';
19
18
  import '../../../spinner/modern';
20
19
  import '../components/screens/hint/component.js';
@@ -2,7 +2,6 @@ export { ConfirmationResponsive as Confirmation } from './component.responsive.j
2
2
  export { useConfirmation, useCountdown } from './utils.js';
3
3
  import 'react';
4
4
  import '../../mq/modern';
5
- import '../../shared/modern';
6
5
  import './desktop/component.desktop.js';
7
6
  import './components/base-confirmation/component.js';
8
7
  import 'classnames';
@@ -16,7 +15,7 @@ import '../../code-input/modern/mobile';
16
15
  import '../../link/modern';
17
16
  import '../../typography/modern';
18
17
  import './components/header/component.js';
19
- import './countdown-section-5dad7304.js';
18
+ import './countdown-section-8f8ec9cc.js';
20
19
  import '../../button/modern';
21
20
  import '../../spinner/modern';
22
21
  import './components/screens/hint/component.js';
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
4
- import '../../../shared/modern';
5
4
  import '@alfalab/hooks';
6
5
  import '../context.js';
7
6
  import '../utils.js';
@@ -13,7 +12,7 @@ import '../../../code-input/modern/mobile';
13
12
  import '../../../link/modern';
14
13
  import '../../../typography/modern';
15
14
  import '../components/header/component.js';
16
- import '../countdown-section-5dad7304.js';
15
+ import '../countdown-section-8f8ec9cc.js';
17
16
  import '../../../button/modern';
18
17
  import '../../../spinner/modern';
19
18
  import '../components/screens/hint/component.js';
@@ -3,7 +3,6 @@ export { useConfirmation, useCountdown } from '../utils.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../components/base-confirmation/component.js';
6
- import '../../../shared/modern';
7
6
  import '@alfalab/hooks';
8
7
  import '../context.js';
9
8
  import '../types.js';
@@ -14,7 +13,7 @@ import '../../../code-input/modern/mobile';
14
13
  import '../../../link/modern';
15
14
  import '../../../typography/modern';
16
15
  import '../components/header/component.js';
17
- import '../countdown-section-5dad7304.js';
16
+ import '../countdown-section-8f8ec9cc.js';
18
17
  import '../../../button/modern';
19
18
  import '../../../spinner/modern';
20
19
  import '../components/screens/hint/component.js';
@@ -15,6 +15,6 @@ import '../../../link/modern';
15
15
  import '../../../typography/modern';
16
16
  import '@alfalab/hooks';
17
17
  import '../components/header/component.js';
18
- import '../countdown-section-5dad7304.js';
18
+ import '../countdown-section-8f8ec9cc.js';
19
19
  import '../../../button/modern';
20
20
  import '../../../spinner/modern';
@@ -3,7 +3,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var coreComponentsMq = require('../mq');
6
- var coreComponentsShared = require('../shared');
7
6
  var desktop_Component_desktop = require('./desktop/Component.desktop.js');
8
7
  var mobile_Component_mobile = require('./mobile/Component.mobile.js');
9
8
 
@@ -12,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
12
 
14
13
  var CustomPickerButtonResponsive = React.forwardRef(function (_a, ref) {
15
- var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, restProps = tslib.__rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
14
+ var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
16
15
  var query = "(min-width: ".concat(breakpoint, "px)");
17
16
  var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
18
17
  return isDesktop ? (React__default.default.createElement(desktop_Component_desktop.CustomPickerButtonDesktop, tslib.__assign({ ref: ref, OptionsList: OptionsList, onScroll: onScroll }, restProps))) : (React__default.default.createElement(mobile_Component_mobile.CustomPickerButtonMobile, tslib.__assign({ ref: ref, footer: footer, swipeable: swipeable, bottomSheetProps: bottomSheetProps }, restProps)));
@@ -3,7 +3,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var coreComponentsMq = require('../../mq/cssm');
6
- var coreComponentsShared = require('../../shared/cssm');
7
6
  var desktop_Component_desktop = require('./desktop/Component.desktop.js');
8
7
  var mobile_Component_mobile = require('./mobile/Component.mobile.js');
9
8
 
@@ -12,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
12
 
14
13
  var CustomPickerButtonResponsive = React.forwardRef(function (_a, ref) {
15
- var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? coreComponentsShared.getComponentBreakpoint() : _b, restProps = tslib.__rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
14
+ var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
16
15
  var query = "(min-width: ".concat(breakpoint, "px)");
17
16
  var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
18
17
  return isDesktop ? (React__default.default.createElement(desktop_Component_desktop.CustomPickerButtonDesktop, tslib.__assign({ ref: ref, OptionsList: OptionsList, onScroll: onScroll }, restProps))) : (React__default.default.createElement(mobile_Component_mobile.CustomPickerButtonMobile, tslib.__assign({ ref: ref, footer: footer, swipeable: swipeable, bottomSheetProps: bottomSheetProps }, restProps)));
@@ -1,7 +1,6 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React, { forwardRef } from 'react';
3
3
  import { useMatchMedia } from '../../mq/esm';
4
- import { getComponentBreakpoint } from '../../shared/esm';
5
4
  import { CustomPickerButtonDesktop } from './desktop/Component.desktop.js';
6
5
  import { CustomPickerButtonMobile } from './mobile/Component.mobile.js';
7
6
  import '../../picker-button/esm/desktop';
@@ -12,7 +11,7 @@ import '../../picker-button/esm/shared';
12
11
  import '../../picker-button/esm/mobile';
13
12
 
14
13
  var CustomPickerButtonResponsive = forwardRef(function (_a, ref) {
15
- var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? getComponentBreakpoint() : _b, restProps = __rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
14
+ var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
16
15
  var query = "(min-width: ".concat(breakpoint, "px)");
17
16
  var isDesktop = useMatchMedia(query)[0];
18
17
  return isDesktop ? (React.createElement(CustomPickerButtonDesktop, __assign({ ref: ref, OptionsList: OptionsList, onScroll: onScroll }, restProps))) : (React.createElement(CustomPickerButtonMobile, __assign({ ref: ref, footer: footer, swipeable: swipeable, bottomSheetProps: bottomSheetProps }, restProps)));
@@ -2,7 +2,6 @@ export { CustomPickerButtonResponsive as CustomPickerButton } from './Component.
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '../../mq/esm';
5
- import '../../shared/esm';
6
5
  import './desktop/Component.desktop.js';
7
6
  import '../../picker-button/esm/desktop';
8
7
  import './field/Component.js';
@@ -1,6 +1,5 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import { useMatchMedia } from '../../mq/modern';
3
- import { getComponentBreakpoint } from '../../shared/modern';
4
3
  import { CustomPickerButtonDesktop } from './desktop/Component.desktop.js';
5
4
  import { CustomPickerButtonMobile } from './mobile/Component.mobile.js';
6
5
  import '../../picker-button/modern/desktop';
@@ -10,7 +9,7 @@ import '../../custom-button/modern';
10
9
  import '../../picker-button/modern/shared';
11
10
  import '../../picker-button/modern/mobile';
12
11
 
13
- const CustomPickerButtonResponsive = forwardRef(({ OptionsList, onScroll, footer, swipeable, bottomSheetProps, breakpoint = getComponentBreakpoint(), ...restProps }, ref) => {
12
+ const CustomPickerButtonResponsive = forwardRef(({ OptionsList, onScroll, footer, swipeable, bottomSheetProps, breakpoint = 1024, ...restProps }, ref) => {
14
13
  const query = `(min-width: ${breakpoint}px)`;
15
14
  const [isDesktop] = useMatchMedia(query);
16
15
  return isDesktop ? (React.createElement(CustomPickerButtonDesktop, { ref: ref, OptionsList: OptionsList, onScroll: onScroll, ...restProps })) : (React.createElement(CustomPickerButtonMobile, { ref: ref, footer: footer, swipeable: swipeable, bottomSheetProps: bottomSheetProps, ...restProps }));