@alphakits/ui 1.30.39 → 1.30.40

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 (673) hide show
  1. package/package.json +1 -1
  2. package/dist/__internal/utils/clear-text.d.ts +0 -2
  3. package/dist/__internal/utils/clear-text.js +0 -1
  4. package/dist/__internal/utils/getDataTestId.d.ts +0 -2
  5. package/dist/__internal/utils/getDataTestId.js +0 -1
  6. package/dist/__internal/utils/index.d.ts +0 -2
  7. package/dist/__internal/utils/index.js +0 -1
  8. package/dist/amount/component.d.ts +0 -22
  9. package/dist/amount/component.js +0 -1
  10. package/dist/amount/index.d.ts +0 -1
  11. package/dist/amount/index.js +0 -1
  12. package/dist/amount-input/component.d.ts +0 -34
  13. package/dist/amount-input/component.js +0 -1
  14. package/dist/amount-input/index.d.ts +0 -1
  15. package/dist/amount-input/index.js +0 -1
  16. package/dist/amount-input/utils/index.d.ts +0 -3
  17. package/dist/amount-input/utils/index.js +0 -1
  18. package/dist/avatar/component.d.ts +0 -10
  19. package/dist/avatar/component.js +0 -1
  20. package/dist/avatar/index.d.ts +0 -1
  21. package/dist/avatar/index.js +0 -1
  22. package/dist/back-button/component.d.ts +0 -9
  23. package/dist/back-button/component.js +0 -1
  24. package/dist/back-button/index.d.ts +0 -1
  25. package/dist/back-button/index.js +0 -1
  26. package/dist/badge/component.d.ts +0 -14
  27. package/dist/badge/component.js +0 -1
  28. package/dist/badge/index.d.ts +0 -1
  29. package/dist/badge/index.js +0 -1
  30. package/dist/base-card/component.d.ts +0 -23
  31. package/dist/base-card/component.js +0 -1
  32. package/dist/base-card/index.d.ts +0 -1
  33. package/dist/base-card/index.js +0 -1
  34. package/dist/bottom-sheet/component.d.ts +0 -11
  35. package/dist/bottom-sheet/component.js +0 -1
  36. package/dist/bottom-sheet/index.d.ts +0 -1
  37. package/dist/bottom-sheet/index.js +0 -1
  38. package/dist/box/component.d.ts +0 -34
  39. package/dist/box/component.js +0 -1
  40. package/dist/box/index.d.ts +0 -1
  41. package/dist/box/index.js +0 -1
  42. package/dist/button/component.d.ts +0 -21
  43. package/dist/button/component.js +0 -1
  44. package/dist/button/index.d.ts +0 -1
  45. package/dist/button/index.js +0 -1
  46. package/dist/button-arrow/component.d.ts +0 -12
  47. package/dist/button-arrow/component.js +0 -1
  48. package/dist/button-arrow/index.d.ts +0 -1
  49. package/dist/button-arrow/index.js +0 -1
  50. package/dist/calendar/component.d.ts +0 -26
  51. package/dist/calendar/component.js +0 -1
  52. package/dist/calendar/components/days-table/component.d.ts +0 -15
  53. package/dist/calendar/components/days-table/component.js +0 -1
  54. package/dist/calendar/components/days-table/index.d.ts +0 -1
  55. package/dist/calendar/components/days-table/index.js +0 -1
  56. package/dist/calendar/components/header/index.d.ts +0 -1
  57. package/dist/calendar/components/header/index.js +0 -1
  58. package/dist/calendar/components/header//321/201omponent.d.ts +0 -17
  59. package/dist/calendar/components/header//321/201omponent.js +0 -1
  60. package/dist/calendar/components/months-table/index.d.ts +0 -1
  61. package/dist/calendar/components/months-table/index.js +0 -1
  62. package/dist/calendar/components/months-table//321/201omponent.d.ts +0 -11
  63. package/dist/calendar/components/months-table//321/201omponent.js +0 -1
  64. package/dist/calendar/components/select-button/index.d.ts +0 -1
  65. package/dist/calendar/components/select-button/index.js +0 -1
  66. package/dist/calendar/components/select-button//321/201omponent.d.ts +0 -12
  67. package/dist/calendar/components/select-button//321/201omponent.js +0 -1
  68. package/dist/calendar/components/years-table/index.d.ts +0 -1
  69. package/dist/calendar/components/years-table/index.js +0 -1
  70. package/dist/calendar/components/years-table//321/201omponent.d.ts +0 -9
  71. package/dist/calendar/components/years-table//321/201omponent.js +0 -1
  72. package/dist/calendar/index.d.ts +0 -4
  73. package/dist/calendar/index.js +0 -1
  74. package/dist/calendar/typings.d.ts +0 -16
  75. package/dist/calendar/typings.js +0 -1
  76. package/dist/calendar/use-calendar.d.ts +0 -57
  77. package/dist/calendar/use-calendar.js +0 -1
  78. package/dist/calendar/use-period.d.ts +0 -14
  79. package/dist/calendar/use-period.js +0 -1
  80. package/dist/calendar/utils.d.ts +0 -40
  81. package/dist/calendar/utils.js +0 -1
  82. package/dist/calendar-input/component.d.ts +0 -58
  83. package/dist/calendar-input/component.js +0 -1
  84. package/dist/calendar-input/index.d.ts +0 -2
  85. package/dist/calendar-input/index.js +0 -1
  86. package/dist/calendar-input/utils.d.ts +0 -9
  87. package/dist/calendar-input/utils.js +0 -1
  88. package/dist/capitalize-2b9fa5e2.js +0 -1
  89. package/dist/card/component.d.ts +0 -14
  90. package/dist/card/component.js +0 -1
  91. package/dist/card/images/index.d.ts +0 -5
  92. package/dist/card/images/index.js +0 -1
  93. package/dist/card/index.d.ts +0 -1
  94. package/dist/card/index.js +0 -1
  95. package/dist/cell/base/component.d.ts +0 -13
  96. package/dist/cell/base/component.js +0 -1
  97. package/dist/cell/component.d.ts +0 -7
  98. package/dist/cell/component.js +0 -1
  99. package/dist/cell/index.d.ts +0 -1
  100. package/dist/cell/index.js +0 -1
  101. package/dist/cell/pure/component.d.ts +0 -15
  102. package/dist/cell/pure/component.js +0 -1
  103. package/dist/cell/pure/index.d.ts +0 -1
  104. package/dist/cell/pure/index.js +0 -1
  105. package/dist/checkbox/component.d.ts +0 -36
  106. package/dist/checkbox/component.js +0 -1
  107. package/dist/checkbox/index.d.ts +0 -1
  108. package/dist/checkbox/index.js +0 -1
  109. package/dist/checkbox-group/component.d.ts +0 -18
  110. package/dist/checkbox-group/component.js +0 -1
  111. package/dist/checkbox-group/index.d.ts +0 -1
  112. package/dist/checkbox-group/index.js +0 -1
  113. package/dist/checkbox-lists/component.d.ts +0 -21
  114. package/dist/checkbox-lists/component.js +0 -1
  115. package/dist/checkbox-lists/index.d.ts +0 -1
  116. package/dist/checkbox-lists/index.js +0 -1
  117. package/dist/checkbox-lists/mock.d.ts +0 -82
  118. package/dist/checkbox-lists/mock.js +0 -1
  119. package/dist/collapsable-row/addons.d.ts +0 -7
  120. package/dist/collapsable-row/addons.js +0 -1
  121. package/dist/collapsable-row/component.d.ts +0 -12
  122. package/dist/collapsable-row/component.js +0 -1
  123. package/dist/collapsable-row/fixtures.d.ts +0 -100
  124. package/dist/collapsable-row/fixtures.js +0 -1
  125. package/dist/collapsable-row/index.d.ts +0 -1
  126. package/dist/collapsable-row/index.js +0 -1
  127. package/dist/collapse/component.d.ts +0 -19
  128. package/dist/collapse/component.js +0 -1
  129. package/dist/collapse/index.d.ts +0 -1
  130. package/dist/collapse/index.js +0 -1
  131. package/dist/colors.module-f837aabc.js +0 -1
  132. package/dist/contact-block-430fa14f.d.ts +0 -8
  133. package/dist/contact-block-430fa14f.js +0 -1
  134. package/dist/copy-button/component.d.ts +0 -9
  135. package/dist/copy-button/component.js +0 -1
  136. package/dist/copy-button/index.d.ts +0 -1
  137. package/dist/copy-button/index.js +0 -1
  138. package/dist/date/component.d.ts +0 -13
  139. package/dist/date/component.js +0 -1
  140. package/dist/date/index.d.ts +0 -1
  141. package/dist/date/index.js +0 -1
  142. package/dist/date-switcher/component.d.ts +0 -11
  143. package/dist/date-switcher/component.js +0 -1
  144. package/dist/date-switcher/index.d.ts +0 -1
  145. package/dist/date-switcher/index.js +0 -1
  146. package/dist/decorated-item/component.d.ts +0 -13
  147. package/dist/decorated-item/component.js +0 -1
  148. package/dist/decorated-item/index.d.ts +0 -1
  149. package/dist/decorated-item/index.js +0 -1
  150. package/dist/divider/component.d.ts +0 -10
  151. package/dist/divider/component.js +0 -1
  152. package/dist/divider/index.d.ts +0 -1
  153. package/dist/divider/index.js +0 -1
  154. package/dist/dot/component.d.ts +0 -7
  155. package/dist/dot/component.js +0 -1
  156. package/dist/dot/index.d.ts +0 -1
  157. package/dist/dot/index.js +0 -1
  158. package/dist/empty-page/component.d.ts +0 -14
  159. package/dist/empty-page/component.js +0 -1
  160. package/dist/empty-page/index.d.ts +0 -1
  161. package/dist/empty-page/index.js +0 -1
  162. package/dist/flex/component.d.ts +0 -24
  163. package/dist/flex/component.js +0 -1
  164. package/dist/flex/index.d.ts +0 -1
  165. package/dist/flex/index.js +0 -1
  166. package/dist/flex-columns/component.d.ts +0 -11
  167. package/dist/flex-columns/component.js +0 -1
  168. package/dist/flex-columns/index.d.ts +0 -1
  169. package/dist/flex-columns/index.js +0 -1
  170. package/dist/footer/component.d.ts +0 -27
  171. package/dist/footer/component.js +0 -1
  172. package/dist/footer/contact-block.d.ts +0 -0
  173. package/dist/footer/contact-block.js +0 -1
  174. package/dist/footer/index.d.ts +0 -1
  175. package/dist/footer/index.js +0 -1
  176. package/dist/form/component.d.ts +0 -3
  177. package/dist/form/component.js +0 -1
  178. package/dist/form/components/form-loading/index.d.ts +0 -4
  179. package/dist/form/components/form-loading/index.js +0 -1
  180. package/dist/form/index.d.ts +0 -1
  181. package/dist/form/index.js +0 -1
  182. package/dist/form/templates/base-form/index.d.ts +0 -17
  183. package/dist/form/templates/base-form/index.js +0 -1
  184. package/dist/form/templates/filters-form/index.d.ts +0 -15
  185. package/dist/form/templates/filters-form/index.js +0 -1
  186. package/dist/form/templates/rest-form/form.d.ts +0 -6
  187. package/dist/form/templates/rest-form/form.js +0 -1
  188. package/dist/form/templates/rest-form/index.d.ts +0 -31
  189. package/dist/form/templates/rest-form/index.js +0 -1
  190. package/dist/form/utils/get-default-values.d.ts +0 -2
  191. package/dist/form/utils/get-default-values.js +0 -1
  192. package/dist/form/utils/remove-undefined-from-object.d.ts +0 -4
  193. package/dist/form/utils/remove-undefined-from-object.js +0 -1
  194. package/dist/form-control/component.d.ts +0 -44
  195. package/dist/form-control/component.js +0 -1
  196. package/dist/form-control/index.d.ts +0 -1
  197. package/dist/form-control/index.js +0 -1
  198. package/dist/grid/col/component.d.ts +0 -16
  199. package/dist/grid/col/component.js +0 -1
  200. package/dist/grid/col/index.d.ts +0 -1
  201. package/dist/grid/col/index.js +0 -1
  202. package/dist/grid/component.d.ts +0 -8
  203. package/dist/grid/component.js +0 -1
  204. package/dist/grid/index.d.ts +0 -1
  205. package/dist/grid/index.js +0 -1
  206. package/dist/grid/row/component.d.ts +0 -14
  207. package/dist/grid/row/component.js +0 -1
  208. package/dist/grid/row/index.d.ts +0 -1
  209. package/dist/grid/row/index.js +0 -1
  210. package/dist/grid/typings.d.ts +0 -16
  211. package/dist/grid/typings.js +0 -1
  212. package/dist/grid/utils/index.d.ts +0 -3
  213. package/dist/grid/utils/index.js +0 -1
  214. package/dist/gutters.module-d3b93abb.js +0 -1
  215. package/dist/header-search/component.d.ts +0 -10
  216. package/dist/header-search/component.js +0 -1
  217. package/dist/header-search/index.d.ts +0 -1
  218. package/dist/header-search/index.js +0 -1
  219. package/dist/hooks/index.d.ts +0 -5
  220. package/dist/hooks/index.js +0 -1
  221. package/dist/hooks/use-crud-form-requests/index.d.ts +0 -17
  222. package/dist/hooks/use-crud-form-requests/index.js +0 -1
  223. package/dist/hooks/use-get-one/index.d.ts +0 -8
  224. package/dist/hooks/use-get-one/index.js +0 -1
  225. package/dist/hooks/useClickOutside/index.d.ts +0 -4
  226. package/dist/hooks/useClickOutside/index.js +0 -1
  227. package/dist/hooks/useFocus/index.d.ts +0 -5
  228. package/dist/hooks/useFocus/index.js +0 -1
  229. package/dist/hooks/usePrevious/index.d.ts +0 -2
  230. package/dist/hooks/usePrevious/index.js +0 -1
  231. package/dist/icon-button/component.d.ts +0 -20
  232. package/dist/icon-button/component.js +0 -1
  233. package/dist/icon-button/index.d.ts +0 -1
  234. package/dist/icon-button/index.js +0 -1
  235. package/dist/image/component.d.ts +0 -5
  236. package/dist/image/component.js +0 -1
  237. package/dist/image/image-base.d.ts +0 -6
  238. package/dist/image/image-base.js +0 -1
  239. package/dist/image/index.d.ts +0 -2
  240. package/dist/image/index.js +0 -1
  241. package/dist/image/types.d.ts +0 -27
  242. package/dist/image/types.js +0 -1
  243. package/dist/image/use-image-render-component.d.ts +0 -0
  244. package/dist/image/use-image-render-component.js +0 -1
  245. package/dist/image/utils.d.ts +0 -2
  246. package/dist/image/utils.js +0 -1
  247. package/dist/image-gallery/component.d.ts +0 -11
  248. package/dist/image-gallery/component.js +0 -1
  249. package/dist/image-gallery/index.d.ts +0 -1
  250. package/dist/image-gallery/index.js +0 -1
  251. package/dist/image-uploader/component.d.ts +0 -25
  252. package/dist/image-uploader/component.js +0 -1
  253. package/dist/image-uploader/index.d.ts +0 -1
  254. package/dist/image-uploader/index.js +0 -1
  255. package/dist/index.css +0 -1
  256. package/dist/index.ts +0 -93
  257. package/dist/info-block-header/component.d.ts +0 -8
  258. package/dist/info-block-header/component.js +0 -1
  259. package/dist/info-block-header/index.d.ts +0 -1
  260. package/dist/info-block-header/index.js +0 -1
  261. package/dist/info-block-item/component.d.ts +0 -12
  262. package/dist/info-block-item/component.js +0 -1
  263. package/dist/info-block-item/index.d.ts +0 -1
  264. package/dist/info-block-item/index.js +0 -1
  265. package/dist/info-block-wrapper/component.d.ts +0 -8
  266. package/dist/info-block-wrapper/component.js +0 -1
  267. package/dist/info-block-wrapper/index.d.ts +0 -1
  268. package/dist/info-block-wrapper/index.js +0 -1
  269. package/dist/input/component.d.ts +0 -68
  270. package/dist/input/component.js +0 -1
  271. package/dist/input/index.d.ts +0 -1
  272. package/dist/input/index.js +0 -1
  273. package/dist/input-autocomplete/autocomplete-field/index.d.ts +0 -6
  274. package/dist/input-autocomplete/autocomplete-field/index.js +0 -1
  275. package/dist/input-autocomplete/component.d.ts +0 -86
  276. package/dist/input-autocomplete/component.js +0 -1
  277. package/dist/input-autocomplete/index.d.ts +0 -1
  278. package/dist/input-autocomplete/index.js +0 -1
  279. package/dist/input-ghost/component.d.ts +0 -12
  280. package/dist/input-ghost/component.js +0 -1
  281. package/dist/input-ghost/index.d.ts +0 -1
  282. package/dist/input-ghost/index.js +0 -1
  283. package/dist/isSymbol-7d47cb2a.js +0 -1
  284. package/dist/link/component.d.ts +0 -29
  285. package/dist/link/component.js +0 -1
  286. package/dist/link/index.d.ts +0 -1
  287. package/dist/link/index.js +0 -1
  288. package/dist/list-allert/component.d.ts +0 -10
  289. package/dist/list-allert/component.js +0 -1
  290. package/dist/list-allert/index.d.ts +0 -1
  291. package/dist/list-allert/index.js +0 -1
  292. package/dist/loader/component.d.ts +0 -8
  293. package/dist/loader/component.js +0 -1
  294. package/dist/loader/index.d.ts +0 -1
  295. package/dist/loader/index.js +0 -1
  296. package/dist/masked-input/component.d.ts +0 -45
  297. package/dist/masked-input/component.js +0 -1
  298. package/dist/masked-input/index.d.ts +0 -1
  299. package/dist/masked-input/index.js +0 -1
  300. package/dist/menu/component.d.ts +0 -25
  301. package/dist/menu/component.js +0 -1
  302. package/dist/menu/components/content-header/index.d.ts +0 -8
  303. package/dist/menu/components/content-header/index.js +0 -1
  304. package/dist/menu/components/index.d.ts +0 -5
  305. package/dist/menu/components/index.js +0 -1
  306. package/dist/menu/components/menu-avatar/index.d.ts +0 -10
  307. package/dist/menu/components/menu-avatar/index.js +0 -1
  308. package/dist/menu/components/menu-back-button/index.d.ts +0 -8
  309. package/dist/menu/components/menu-back-button/index.js +0 -1
  310. package/dist/menu/components/menu-button/index.d.ts +0 -13
  311. package/dist/menu/components/menu-button/index.js +0 -1
  312. package/dist/menu/components/menu-buttons-list/index.d.ts +0 -13
  313. package/dist/menu/components/menu-buttons-list/index.js +0 -1
  314. package/dist/menu/components/user-button/index.d.ts +0 -10
  315. package/dist/menu/components/user-button/index.js +0 -1
  316. package/dist/menu/hooks/use-menu.d.ts +0 -8
  317. package/dist/menu/hooks/use-menu.js +0 -1
  318. package/dist/menu/index.d.ts +0 -1
  319. package/dist/menu/index.js +0 -1
  320. package/dist/message/component.d.ts +0 -16
  321. package/dist/message/component.js +0 -1
  322. package/dist/message/index.d.ts +0 -1
  323. package/dist/message/index.js +0 -1
  324. package/dist/modal/components/modals/index.d.ts +0 -9
  325. package/dist/modal/components/modals/index.js +0 -1
  326. package/dist/modal/components/modals/modal.d.ts +0 -10
  327. package/dist/modal/components/modals/modal.js +0 -1
  328. package/dist/modal/context.d.ts +0 -10
  329. package/dist/modal/context.js +0 -1
  330. package/dist/modal/hooks/use-modal.d.ts +0 -12
  331. package/dist/modal/hooks/use-modal.js +0 -1
  332. package/dist/modal/index.d.ts +0 -2
  333. package/dist/modal/index.js +0 -1
  334. package/dist/modal/types.d.ts +0 -27
  335. package/dist/modal/types.js +0 -1
  336. package/dist/modal/utils/delete-property-by-id.d.ts +0 -4
  337. package/dist/modal/utils/delete-property-by-id.js +0 -1
  338. package/dist/modal/utils/is-last.d.ts +0 -2
  339. package/dist/modal/utils/is-last.js +0 -1
  340. package/dist/mq/component.d.ts +0 -11
  341. package/dist/mq/component.js +0 -1
  342. package/dist/mq/index.d.ts +0 -2
  343. package/dist/mq/index.js +0 -1
  344. package/dist/mq/use-match-media.d.ts +0 -2
  345. package/dist/mq/use-match-media.js +0 -1
  346. package/dist/mq/utils.d.ts +0 -5
  347. package/dist/mq/utils.js +0 -1
  348. package/dist/notification/component.d.ts +0 -35
  349. package/dist/notification/component.js +0 -1
  350. package/dist/notification/index.d.ts +0 -1
  351. package/dist/notification/index.js +0 -1
  352. package/dist/notification/utils/index.d.ts +0 -4
  353. package/dist/notification/utils/index.js +0 -1
  354. package/dist/padding/component.d.ts +0 -9
  355. package/dist/padding/component.js +0 -1
  356. package/dist/padding/index.d.ts +0 -1
  357. package/dist/padding/index.js +0 -1
  358. package/dist/page-container/component.d.ts +0 -15
  359. package/dist/page-container/component.js +0 -1
  360. package/dist/page-container/index.d.ts +0 -1
  361. package/dist/page-container/index.js +0 -1
  362. package/dist/page-loading/component.d.ts +0 -3
  363. package/dist/page-loading/component.js +0 -1
  364. package/dist/page-loading/index.d.ts +0 -1
  365. package/dist/page-loading/index.js +0 -1
  366. package/dist/page-with-controls/component.d.ts +0 -24
  367. package/dist/page-with-controls/component.js +0 -1
  368. package/dist/page-with-controls/index.d.ts +0 -1
  369. package/dist/page-with-controls/index.js +0 -1
  370. package/dist/picker-button/common/index.d.ts +0 -1
  371. package/dist/picker-button/common/index.js +0 -1
  372. package/dist/picker-button/common/labeled-button/index.d.ts +0 -12
  373. package/dist/picker-button/common/labeled-button/index.js +0 -1
  374. package/dist/picker-button/component.d.ts +0 -16
  375. package/dist/picker-button/component.js +0 -1
  376. package/dist/picker-button/field/Component.d.ts +0 -11
  377. package/dist/picker-button/field/Component.js +0 -1
  378. package/dist/picker-button/field/index.d.ts +0 -1
  379. package/dist/picker-button/field/index.js +0 -1
  380. package/dist/picker-button/index.d.ts +0 -2
  381. package/dist/picker-button/index.js +0 -1
  382. package/dist/popover/component.d.ts +0 -28
  383. package/dist/popover/component.js +0 -1
  384. package/dist/popover/index.d.ts +0 -1
  385. package/dist/popover/index.js +0 -1
  386. package/dist/portal/component.d.ts +0 -7
  387. package/dist/portal/component.js +0 -1
  388. package/dist/portal/index.d.ts +0 -1
  389. package/dist/portal/index.js +0 -1
  390. package/dist/portal/utils.d.ts +0 -5
  391. package/dist/portal/utils.js +0 -1
  392. package/dist/progress-bar/component.d.ts +0 -11
  393. package/dist/progress-bar/component.js +0 -1
  394. package/dist/progress-bar/index.d.ts +0 -1
  395. package/dist/progress-bar/index.js +0 -1
  396. package/dist/progress-index/component.d.ts +0 -11
  397. package/dist/progress-index/component.js +0 -1
  398. package/dist/progress-index/index.d.ts +0 -1
  399. package/dist/progress-index/index.js +0 -1
  400. package/dist/radio/component.d.ts +0 -40
  401. package/dist/radio/component.js +0 -1
  402. package/dist/radio/index.d.ts +0 -1
  403. package/dist/radio/index.js +0 -1
  404. package/dist/radio-group/component.d.ts +0 -18
  405. package/dist/radio-group/component.js +0 -1
  406. package/dist/radio-group/index.d.ts +0 -1
  407. package/dist/radio-group/index.js +0 -1
  408. package/dist/radio-groups/component.d.ts +0 -19
  409. package/dist/radio-groups/component.js +0 -1
  410. package/dist/radio-groups/index.d.ts +0 -1
  411. package/dist/radio-groups/index.js +0 -1
  412. package/dist/radio-groups/mock.d.ts +0 -10
  413. package/dist/radio-groups/mock.js +0 -1
  414. package/dist/section-wrapper/component.d.ts +0 -12
  415. package/dist/section-wrapper/component.js +0 -1
  416. package/dist/section-wrapper/index.d.ts +0 -1
  417. package/dist/section-wrapper/index.js +0 -1
  418. package/dist/select/component.d.ts +0 -32
  419. package/dist/select/component.js +0 -1
  420. package/dist/select/components/arrow/component.d.ts +0 -4
  421. package/dist/select/components/arrow/component.js +0 -1
  422. package/dist/select/components/arrow/index.d.ts +0 -1
  423. package/dist/select/components/arrow/index.js +0 -1
  424. package/dist/select/components/base-select/component.d.ts +0 -5
  425. package/dist/select/components/base-select/component.js +0 -1
  426. package/dist/select/components/base-select/index.d.ts +0 -1
  427. package/dist/select/components/base-select/index.js +0 -1
  428. package/dist/select/components/checkmark/component.d.ts +0 -4
  429. package/dist/select/components/checkmark/component.js +0 -1
  430. package/dist/select/components/checkmark/index.d.ts +0 -1
  431. package/dist/select/components/checkmark/index.js +0 -1
  432. package/dist/select/components/field/component.d.ts +0 -5
  433. package/dist/select/components/field/component.js +0 -1
  434. package/dist/select/components/field/index.d.ts +0 -1
  435. package/dist/select/components/field/index.js +0 -1
  436. package/dist/select/components/index.d.ts +0 -7
  437. package/dist/select/components/index.js +0 -1
  438. package/dist/select/components/native-select/component.d.ts +0 -13
  439. package/dist/select/components/native-select/component.js +0 -1
  440. package/dist/select/components/native-select/index.d.ts +0 -1
  441. package/dist/select/components/native-select/index.js +0 -1
  442. package/dist/select/components/optgroup/component.d.ts +0 -4
  443. package/dist/select/components/optgroup/component.js +0 -1
  444. package/dist/select/components/optgroup/index.d.ts +0 -1
  445. package/dist/select/components/optgroup/index.js +0 -1
  446. package/dist/select/components/option/component.d.ts +0 -4
  447. package/dist/select/components/option/component.js +0 -1
  448. package/dist/select/components/option/index.d.ts +0 -1
  449. package/dist/select/components/option/index.js +0 -1
  450. package/dist/select/components/options-list/component.d.ts +0 -5
  451. package/dist/select/components/options-list/component.js +0 -1
  452. package/dist/select/components/options-list/index.d.ts +0 -1
  453. package/dist/select/components/options-list/index.js +0 -1
  454. package/dist/select/components/select-search/index.d.ts +0 -11
  455. package/dist/select/components/select-search/index.js +0 -1
  456. package/dist/select/components/virtual-options-list/component.d.ts +0 -7
  457. package/dist/select/components/virtual-options-list/component.js +0 -1
  458. package/dist/select/components/virtual-options-list/index.d.ts +0 -1
  459. package/dist/select/components/virtual-options-list/index.js +0 -1
  460. package/dist/select/index.d.ts +0 -5
  461. package/dist/select/index.js +0 -1
  462. package/dist/select/presets/index.d.ts +0 -2
  463. package/dist/select/presets/index.js +0 -1
  464. package/dist/select/presets/use-lazy-loading/index.d.ts +0 -45
  465. package/dist/select/presets/use-lazy-loading/index.js +0 -1
  466. package/dist/select/presets/use-select-with-loading/hook.d.ts +0 -11
  467. package/dist/select/presets/use-select-with-loading/hook.js +0 -1
  468. package/dist/select/typings.d.ts +0 -159
  469. package/dist/select/typings.js +0 -1
  470. package/dist/select/utils.d.ts +0 -34
  471. package/dist/select/utils.js +0 -1
  472. package/dist/sidepanel/component.d.ts +0 -24
  473. package/dist/sidepanel/component.js +0 -1
  474. package/dist/sidepanel/index.d.ts +0 -1
  475. package/dist/sidepanel/index.js +0 -1
  476. package/dist/sidepanel-header/component.d.ts +0 -21
  477. package/dist/sidepanel-header/component.js +0 -1
  478. package/dist/sidepanel-header/index.d.ts +0 -1
  479. package/dist/sidepanel-header/index.js +0 -1
  480. package/dist/skeleton/component.d.ts +0 -11
  481. package/dist/skeleton/component.js +0 -1
  482. package/dist/skeleton/index.d.ts +0 -1
  483. package/dist/skeleton/index.js +0 -1
  484. package/dist/space/Item.d.ts +0 -16
  485. package/dist/space/Item.js +0 -1
  486. package/dist/space/component.d.ts +0 -17
  487. package/dist/space/component.js +0 -1
  488. package/dist/space/index.d.ts +0 -1
  489. package/dist/space/index.js +0 -1
  490. package/dist/space/utils.d.ts +0 -11
  491. package/dist/space/utils.js +0 -1
  492. package/dist/spinner/component.d.ts +0 -11
  493. package/dist/spinner/component.js +0 -1
  494. package/dist/spinner/index.d.ts +0 -1
  495. package/dist/spinner/index.js +0 -1
  496. package/dist/stack/component.d.ts +0 -7
  497. package/dist/stack/component.js +0 -1
  498. package/dist/stack/context.d.ts +0 -10
  499. package/dist/stack/context.js +0 -1
  500. package/dist/stack/index.d.ts +0 -2
  501. package/dist/stack/index.js +0 -1
  502. package/dist/status/component.d.ts +0 -11
  503. package/dist/status/component.js +0 -1
  504. package/dist/status/index.d.ts +0 -1
  505. package/dist/status/index.js +0 -1
  506. package/dist/step-bar-ca252463.d.ts +0 -8
  507. package/dist/step-bar-ca252463.js +0 -1
  508. package/dist/stepped-progress-bar/components/step-bar.d.ts +0 -0
  509. package/dist/stepped-progress-bar/components/step-bar.js +0 -1
  510. package/dist/stepped-progress-bar/index.d.ts +0 -23
  511. package/dist/stepped-progress-bar/index.js +0 -1
  512. package/dist/sticker/component.d.ts +0 -10
  513. package/dist/sticker/component.js +0 -1
  514. package/dist/sticker/index.d.ts +0 -1
  515. package/dist/sticker/index.js +0 -1
  516. package/dist/suffix-input/component.d.ts +0 -22
  517. package/dist/suffix-input/component.js +0 -1
  518. package/dist/suffix-input/index.d.ts +0 -1
  519. package/dist/suffix-input/index.js +0 -1
  520. package/dist/super-list-header/component.d.ts +0 -10
  521. package/dist/super-list-header/component.js +0 -1
  522. package/dist/super-list-header/index.d.ts +0 -1
  523. package/dist/super-list-header/index.js +0 -1
  524. package/dist/super-list-item/component.d.ts +0 -14
  525. package/dist/super-list-item/component.js +0 -1
  526. package/dist/super-list-item/index.d.ts +0 -1
  527. package/dist/super-list-item/index.js +0 -1
  528. package/dist/switch/component.d.ts +0 -33
  529. package/dist/switch/component.js +0 -1
  530. package/dist/switch/index.d.ts +0 -1
  531. package/dist/switch/index.js +0 -1
  532. package/dist/table/columns.d.ts +0 -7
  533. package/dist/table/columns.js +0 -1
  534. package/dist/table/component.d.ts +0 -7
  535. package/dist/table/component.js +0 -1
  536. package/dist/table/components/cell/component.d.ts +0 -18
  537. package/dist/table/components/cell/component.js +0 -1
  538. package/dist/table/components/cell/index.d.ts +0 -1
  539. package/dist/table/components/cell/index.js +0 -1
  540. package/dist/table/components/cells/index.d.ts +0 -10
  541. package/dist/table/components/cells/index.js +0 -1
  542. package/dist/table/components/empty-list/index.d.ts +0 -5
  543. package/dist/table/components/empty-list/index.js +0 -1
  544. package/dist/table/components/error/index.d.ts +0 -5
  545. package/dist/table/components/error/index.js +0 -1
  546. package/dist/table/components/loading/index.d.ts +0 -7
  547. package/dist/table/components/loading/index.js +0 -1
  548. package/dist/table/components/pagination/index.d.ts +0 -12
  549. package/dist/table/components/pagination/index.js +0 -1
  550. package/dist/table/components/table-header/index.d.ts +0 -20
  551. package/dist/table/components/table-header/index.js +0 -1
  552. package/dist/table/hooks/use-table-data.d.ts +0 -20
  553. package/dist/table/hooks/use-table-data.js +0 -1
  554. package/dist/table/index.d.ts +0 -2
  555. package/dist/table/index.js +0 -1
  556. package/dist/table/languages/index.d.ts +0 -2
  557. package/dist/table/languages/index.js +0 -1
  558. package/dist/table/table.d.ts +0 -39
  559. package/dist/table/table.js +0 -1
  560. package/dist/table/types.d.ts +0 -75
  561. package/dist/table/types.js +0 -1
  562. package/dist/table/utils/add-query-param.d.ts +0 -3
  563. package/dist/table/utils/add-query-param.js +0 -1
  564. package/dist/table/utils/get-query-from-url.d.ts +0 -3
  565. package/dist/table/utils/get-query-from-url.js +0 -1
  566. package/dist/table/utils/get-tags.d.ts +0 -10
  567. package/dist/table/utils/get-tags.js +0 -1
  568. package/dist/table/utils/index.d.ts +0 -8
  569. package/dist/table/utils/index.js +0 -1
  570. package/dist/table/utils/is-object.d.ts +0 -2
  571. package/dist/table/utils/is-object.js +0 -1
  572. package/dist/table/utils/parse-query-params.d.ts +0 -2
  573. package/dist/table/utils/parse-query-params.js +0 -1
  574. package/dist/table/utils/prepare-rows.d.ts +0 -12
  575. package/dist/table/utils/prepare-rows.js +0 -1
  576. package/dist/table/utils/query-adapter.d.ts +0 -2
  577. package/dist/table/utils/query-adapter.js +0 -1
  578. package/dist/table/utils/remove-query-param.d.ts +0 -2
  579. package/dist/table/utils/remove-query-param.js +0 -1
  580. package/dist/table/utils/reset-query-param.d.ts +0 -4
  581. package/dist/table/utils/reset-query-param.js +0 -1
  582. package/dist/table/utils/serialize-data.d.ts +0 -3
  583. package/dist/table/utils/serialize-data.js +0 -1
  584. package/dist/table/utils/set-query-to-url.d.ts +0 -2
  585. package/dist/table/utils/set-query-to-url.js +0 -1
  586. package/dist/table/utils/sort-array.d.ts +0 -2
  587. package/dist/table/utils/sort-array.js +0 -1
  588. package/dist/table-status/component.d.ts +0 -9
  589. package/dist/table-status/component.js +0 -1
  590. package/dist/table-status/index.d.ts +0 -1
  591. package/dist/table-status/index.js +0 -1
  592. package/dist/tag/component.d.ts +0 -17
  593. package/dist/tag/component.js +0 -1
  594. package/dist/tag/index.d.ts +0 -1
  595. package/dist/tag/index.js +0 -1
  596. package/dist/tags-list/component.d.ts +0 -10
  597. package/dist/tags-list/component.js +0 -1
  598. package/dist/tags-list/index.d.ts +0 -1
  599. package/dist/tags-list/index.js +0 -1
  600. package/dist/textarea/component.d.ts +0 -60
  601. package/dist/textarea/component.js +0 -1
  602. package/dist/textarea/index.d.ts +0 -1
  603. package/dist/textarea/index.js +0 -1
  604. package/dist/theme-provider/component.d.ts +0 -20
  605. package/dist/theme-provider/component.js +0 -1
  606. package/dist/theme-provider/default-themes.d.ts +0 -165
  607. package/dist/theme-provider/default-themes.js +0 -1
  608. package/dist/theme-provider/index.d.ts +0 -2
  609. package/dist/theme-provider/index.js +0 -1
  610. package/dist/toast/component.d.ts +0 -29
  611. package/dist/toast/component.js +0 -1
  612. package/dist/toast/index.d.ts +0 -1
  613. package/dist/toast/index.js +0 -1
  614. package/dist/toast-notifier/component.d.ts +0 -12
  615. package/dist/toast-notifier/component.js +0 -1
  616. package/dist/toast-notifier/index.d.ts +0 -1
  617. package/dist/toast-notifier/index.js +0 -1
  618. package/dist/toast-notifier/use-timer.d.ts +0 -7
  619. package/dist/toast-notifier/use-timer.js +0 -1
  620. package/dist/toast-plate/component.d.ts +0 -30
  621. package/dist/toast-plate/component.js +0 -1
  622. package/dist/toast-plate/index.d.ts +0 -1
  623. package/dist/toast-plate/index.js +0 -1
  624. package/dist/tooltip/component.d.ts +0 -23
  625. package/dist/tooltip/component.js +0 -1
  626. package/dist/tooltip/index.d.ts +0 -1
  627. package/dist/tooltip/index.js +0 -1
  628. package/dist/typings/api.d.ts +0 -18
  629. package/dist/typings/api.js +0 -1
  630. package/dist/typography/colors.d.ts +0 -3
  631. package/dist/typography/colors.js +0 -1
  632. package/dist/typography/component.d.ts +0 -8
  633. package/dist/typography/component.js +0 -1
  634. package/dist/typography/index.d.ts +0 -1
  635. package/dist/typography/index.js +0 -1
  636. package/dist/typography/text/component.d.ts +0 -17
  637. package/dist/typography/text/component.js +0 -1
  638. package/dist/typography/text/index.d.ts +0 -1
  639. package/dist/typography/text/index.js +0 -1
  640. package/dist/typography/title/component.d.ts +0 -22
  641. package/dist/typography/title/component.js +0 -1
  642. package/dist/typography/title/index.d.ts +0 -4
  643. package/dist/typography/title/index.js +0 -1
  644. package/dist/use-image-render-component-09e36a01.d.ts +0 -13
  645. package/dist/use-image-render-component-09e36a01.js +0 -1
  646. package/dist/utils/data/currency-codes.d.ts +0 -35
  647. package/dist/utils/data/currency-codes.js +0 -1
  648. package/dist/utils/format-amount/util.d.ts +0 -12
  649. package/dist/utils/format-amount/util.js +0 -1
  650. package/dist/utils/format-date/index.d.ts +0 -21
  651. package/dist/utils/format-date/index.js +0 -1
  652. package/dist/utils/get-currency-symbol/util.d.ts +0 -2
  653. package/dist/utils/get-currency-symbol/util.js +0 -1
  654. package/dist/utils/get-service-error/index.d.ts +0 -21
  655. package/dist/utils/get-service-error/index.js +0 -1
  656. package/dist/utils/get-service-error/is-axios-error.d.ts +0 -3
  657. package/dist/utils/get-service-error/is-axios-error.js +0 -1
  658. package/dist/utils/get-service-error/is-network-error.d.ts +0 -2
  659. package/dist/utils/get-service-error/is-network-error.js +0 -1
  660. package/dist/utils/index.d.ts +0 -4
  661. package/dist/utils/index.js +0 -1
  662. package/dist/utils/show-toast/index.d.ts +0 -3
  663. package/dist/utils/show-toast/index.js +0 -1
  664. package/dist/utils/split-amount/util.d.ts +0 -2
  665. package/dist/utils/split-amount/util.js +0 -1
  666. package/dist/welcome-layout/component.d.ts +0 -10
  667. package/dist/welcome-layout/component.js +0 -1
  668. package/dist/welcome-layout/index.d.ts +0 -1
  669. package/dist/welcome-layout/index.js +0 -1
  670. package/dist/with-suffix/component.d.ts +0 -44
  671. package/dist/with-suffix/component.js +0 -1
  672. package/dist/with-suffix/index.d.ts +0 -1
  673. package/dist/with-suffix/index.js +0 -1
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ComponentSizes, ImageProps } from "./image/types";
4
- type UseImageRenderComponent = {
5
- src?: string;
6
- size: ComponentSizes;
7
- alt?: string;
8
- text?: string;
9
- icon?: React.ReactNode;
10
- color?: ImageProps['color'];
11
- };
12
- declare const useImageRenderComponent: ({ src, size, color, alt, text, icon, }: UseImageRenderComponent) => {};
13
- export { UseImageRenderComponent, useImageRenderComponent };
@@ -1 +0,0 @@
1
- import e,{useRef as o,useEffect as n}from"react";import d from"@alphakits/icons/dist/PhotoM";import t from"@alphakits/icons/dist/PhotoS";import i from"classnames";import{Spinner as _}from"./spinner/component.js";import{Typography as l}from"./typography/component.js";import{textSizes as a}from"./image/types.js";import{getCharsFromText as r}from"./image/utils.js";var m={container:"index-module_container__bgmJ2",component:"index-module_component__Jf39Y",border:"index-module_border__3eTFR",addon:"index-module_addon__fLNNt",filled:"index-module_filled__-OKoH",default:"index-module_default__7yCk8",primary:"index-module_primary__NmfOf",secondary:"index-module_secondary__mFC44",thirdly:"index-module_thirdly__QoVoR",positive:"index-module_positive__KObTG",negative:"index-module_negative__JSntK",attention:"index-module_attention__xn0w7",accent:"index-module_accent__OKgO0",broken:"index-module_broken__U-IUD",image:"index-module_image__m6QQ3",hint:"index-module_hint__U93qq",hint_text:"index-module_hint_text__iACDk",textContent:"index-module_textContent__zwpfH",xs:"index-module_xs__WMoNb",s:"index-module_s__Hg5M9",m:"index-module_m__C8KqW",l:"index-module_l__bAVTF",xl:"index-module_xl__4V4rQ",auto:"index-module_auto__UzBuJ",xxl:"index-module_xxl__CbPtC",circle:"index-module_circle__a7zSR",ellipse:"index-module_ellipse__omc91",defs:"index-module_defs__-U1g-",textS:"index-module_textS__rn-Mq",textXs:"index-module_textXs__qpkPR",textM:"index-module_textM__mXb7s",textL:"index-module_textL__jV-69","addon-positive":"index-module_addon-positive__YNhNe","addon-negative":"index-module_addon-negative__XjAPo","addon-attention":"index-module_addon-attention__zeb5R","addon-accent":"index-module_addon-accent__pBWXg","addon-primary":"index-module_addon-primary__p-a27","addon-secondary":"index-module_addon-secondary__PYOhn","addon-thirdly":"index-module_addon-thirdly__0zlRh"},x={xs:"300x300",s:"300x300",m:"300x300",l:"300x300",xl:"300x300",xxl:"640x640",auto:"640x640"},s=function(s){var u=s.src,c=void 0===u?"":u,p=s.size,f=s.color,g=s.alt,v=s.text,h=s.icon,y=e.useState("loading"),b=y[0],w=y[1],z=o(0),C=function(e){var o=e.src,n=e.size;if((null==o?void 0:o.includes("escapenavigator-images.s3"))&&n){var d=o.split("amazonaws.com/")[1];return"https://d2z3luly8bezbw.cloudfront.net/fit-in/"+x[n]+"/"+d}return o}({src:c,size:p});return n((function(){if(C){z.current=Date.now(),w("loading");var e=new Image;e.src=C,e.onload=function(){w("loaded")},e.onerror=function(){Date.now()-z.current<2e3?setTimeout((function(){e.src=C}),500):w("error")}}else w("error")}),[C,p]),h||("loading"===b?e.createElement(_,{className:m.spinner,size:"s",view:"dark"}):"error"===b&&v?e.createElement(l.Text,{className:i(m.textContent,m[a[p]]),view:"caps",color:f,weight:"bold"},r(v.toUpperCase())):"error"===b?e.createElement(l.Text,{className:m.broken,tag:"div",view:"caps",color:f,weight:"bold"},"xs"===p?e.createElement(t,null):e.createElement(d,null)):e.createElement("img",{className:m.image,src:C,alt:g}))};export{m as s,s as u};
@@ -1,35 +0,0 @@
1
- declare const CURRENCY_SYMBOLS: {
2
- EUR: string;
3
- RUR: string;
4
- RUB: string;
5
- USD: string;
6
- GBP: string;
7
- CHF: string;
8
- SEK: string;
9
- DKK: string;
10
- NOK: string;
11
- CZK: string;
12
- PLN: string;
13
- HUF: string;
14
- RSD: string;
15
- BGN: string;
16
- HRK: string;
17
- RON: string;
18
- MKD: string;
19
- BAM: string;
20
- ALL: string;
21
- ISK: string;
22
- UAH: string;
23
- BYN: string;
24
- MDL: string;
25
- GEL: string;
26
- TRY: string;
27
- CAD: string;
28
- AUD: string;
29
- ILS: string;
30
- };
31
- type CurrencyCodes = keyof typeof CURRENCY_SYMBOLS;
32
- declare const currency: {
33
- CURRENCY_SYMBOLS: typeof CURRENCY_SYMBOLS;
34
- };
35
- export { CurrencyCodes, currency };
@@ -1 +0,0 @@
1
- var K={CURRENCY_SYMBOLS:{EUR:"€",RUR:"₽",RUB:"₽",USD:"$",GBP:"£",CHF:"CHF",SEK:"kr",DKK:"kr",NOK:"kr",CZK:"Kč",PLN:"zł",HUF:"Ft",RSD:"Дин",BGN:"лв",HRK:"kn",RON:"lei",MKD:"ден",BAM:"KM",ALL:"L",ISK:"kr",UAH:"₴",BYN:"Br",MDL:"L",GEL:"₾",TRY:"₺",CAD:"C$",AUD:"$",ILS:"₪"}};export{K as currency};
@@ -1,12 +0,0 @@
1
- import { AmountProps } from "../../amount/index";
2
- declare const THINSP: string;
3
- declare const AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR = ",";
4
- type AmountValueType = 'default' | 'decimal';
5
- declare const formatAmount: ({ value, currency, showMinorPart, type, }: Pick<AmountProps, 'value' | 'currency' | 'showMinorPart' | 'type'>) => {
6
- majorPart: string;
7
- minorPart: string | null;
8
- currencySymbol: string | undefined;
9
- formatted: string;
10
- formattedWithCurrency: string;
11
- };
12
- export { THINSP, AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR, AmountValueType, formatAmount };
@@ -1 +0,0 @@
1
- import{currency as r}from"../data/currency-codes.js";import{getCurrencySymbol as t}from"../get-currency-symbol/util.js";import{splitAmount as e}from"../split-amount/util.js";var n=String.fromCharCode(8201),o=",",a=function(r,t,e){var n=function(r){return r?r.length>2?r.slice(0,2):r.length<2?r+"0":r:"00"}(r);return e||"00"!==n?e||"0"!==n[1]?"00"!==n||t?n:null:n.slice(0,1):null},u=function(o){var u=o.value,i=o.currency,l=o.showMinorPart,c=o.type,m=!!i&&!!r.CURRENCY_SYMBOLS[i],f=m?t(i):i;if(null===u)return{majorPart:"",minorPart:"",formatted:"",currencySymbol:f,formattedWithCurrency:n+f};var s="default"===c?(""+u).split("."):[(""+u).slice(0,-2),(""+u).slice(-2)],y=s[0],d=s[1],h=e(""+Math.abs(+y||0),3,n,4),p=u<0?"−"+h:h,C=d?p+","+d:p;return{majorPart:p,minorPart:a(d,l,m),currencySymbol:f,formatted:C,formattedWithCurrency:C+n+f}};export{o as AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,n as THINSP,u as formatAmount};
@@ -1,21 +0,0 @@
1
- type FormatDateOptions = {
2
- time?: string;
3
- format?: string;
4
- lang?: any;
5
- };
6
- declare const locales: {
7
- readonly ru: Locale;
8
- readonly de: Locale;
9
- readonly en: Locale;
10
- readonly pl: Locale;
11
- readonly et: Locale;
12
- readonly fr: Locale;
13
- readonly it: Locale;
14
- readonly pt: Locale;
15
- readonly es: Locale;
16
- readonly el: Locale;
17
- readonly nl: Locale;
18
- readonly cs: Locale;
19
- };
20
- declare const formatDate: (date: Date | number | string, { time, format, lang }: FormatDateOptions) => string;
21
- export { locales, formatDate };
@@ -1 +0,0 @@
1
- import{parse as e,format as t}from"date-fns";import o from"date-fns/esm/locale/cs";import l from"date-fns/esm/locale/de";import r from"date-fns/esm/locale/en-GB";import m from"date-fns/esm/locale/pl";import a from"date-fns/esm/locale/ru";import f from"date-fns/locale/el";import n from"date-fns/locale/es";import i from"date-fns/locale/et";import d from"date-fns/locale/fr";import s from"date-fns/locale/it";import p from"date-fns/locale/nl";import c from"date-fns/locale/pt";var y={ru:a,de:l,en:r,pl:m,et:i,fr:d,it:s,pt:c,es:n,el:f,nl:p,cs:o},u=function(o,l){var r,m,a=l.time,f=l.format,n=void 0===f?"dd MMMM yyyy, HH:mm":f,i=l.lang;if(!o)return"-";try{if("number"==typeof o||"object"==typeof o||o.includes("Z"))m=new Date(o);else{var d=3===o.split("-").length?"yyyy-MM-dd":"dd.MM.yyyy",s=a?" "+a.split(":")[0]+":"+a.split(":")[1]:"";s&&(d+=" HH:mm"),m=e(o+s,d,new Date)}return t(m,n,{locale:y[null===(r=null==i?void 0:i.split("-"))||void 0===r?void 0:r[0]]||y.en})}catch(e){return"Invalid date "+o}};export{u as formatDate,y as locales};
@@ -1,2 +0,0 @@
1
- declare const getCurrencySymbol: (currencyCode?: "CHF" | "EUR" | "RUR" | "RUB" | "USD" | "GBP" | "SEK" | "DKK" | "NOK" | "CZK" | "PLN" | "HUF" | "RSD" | "BGN" | "HRK" | "RON" | "MKD" | "BAM" | "ALL" | "ISK" | "UAH" | "BYN" | "MDL" | "GEL" | "TRY" | "CAD" | "AUD" | "ILS" | undefined) => string;
2
- export { getCurrencySymbol };
@@ -1 +0,0 @@
1
- import{currency as r}from"../data/currency-codes.js";var o=function(o){return o?r.CURRENCY_SYMBOLS[o]:""};export{o as getCurrencySymbol};
@@ -1,21 +0,0 @@
1
- import { AxiosError } from 'axios';
2
- type ErrorData = {
3
- errorId: string;
4
- application: string;
5
- errorCode: string;
6
- message: string;
7
- originalErrorCode?: string;
8
- };
9
- declare enum ErrorType {
10
- NETWORK = "NETWORK",
11
- BUSINESS = "BUSINESS",
12
- INTERNAL = "INTERNAL"
13
- }
14
- type ServiceError = {
15
- code: string;
16
- message: string;
17
- errorType: ErrorType;
18
- originalError: unknown | AxiosError<ErrorData>;
19
- };
20
- declare function getServiceError(error: unknown): ServiceError;
21
- export { ErrorData, ErrorType, ServiceError, getServiceError };
@@ -1 +0,0 @@
1
- import{isAxiosError as r}from"./is-axios-error.js";import{isNetworkError as e}from"./is-network-error.js";var o,E,R;!function(r){r.NETWORK="NETWORK",r.BUSINESS="BUSINESS",r.INTERNAL="INTERNAL"}(R||(R={}));var N=((o={})[R.INTERNAL]="INTERNAL_ERROR",o[R.NETWORK]="NETWORK_ERROR",o),a=((E={})[R.INTERNAL]="Please, try again later",E[R.NETWORK]="Please, check internet connection and try again later",E),n=["BAD_REQUEST","INTERNAL_SERVER_ERROR","INTERNAL_ERROR","WS_ERROR","DEFAULT"];function i(o){if(e(o))return{code:N[R.NETWORK],message:a[R.NETWORK],errorType:R.NETWORK,originalError:o};if(r(o)){var E=o.response?o.response.data:{errorCode:"500",originalErrorCode:"500",message:"Unhandled error"},i=E.errorCode,T=E.originalErrorCode,s=E.message,t=i,I=R.BUSINESS;return n.includes(t)&&(void 0===T?I=R.INTERNAL:t=T),{code:t,message:s,errorType:I,originalError:o}}return{code:N[R.INTERNAL],message:a[R.INTERNAL],errorType:R.INTERNAL,originalError:o}}export{R as ErrorType,i as getServiceError};
@@ -1,3 +0,0 @@
1
- import { AxiosError } from 'axios';
2
- declare function isAxiosError<T>(error: unknown): error is AxiosError<T>;
3
- export { isAxiosError };
@@ -1 +0,0 @@
1
- function o(o){return Boolean(o.isAxiosError)}export{o as isAxiosError};
@@ -1,2 +0,0 @@
1
- declare function isNetworkError(error: unknown): boolean;
2
- export { isNetworkError };
@@ -1 +0,0 @@
1
- import{isAxiosError as r}from"./is-axios-error.js";var e=["ENETUNREACH","ECONNABORTED","ENOTCONN"];function o(o){if(r(o)){var s=o.response,N=o.code,i=o.message;return void 0===s&&(e.includes(N||"")||"Network Error"===i)}return!1}export{o as isNetworkError};
@@ -1,4 +0,0 @@
1
- export * from "./format-amount/util";
2
- export * from "./show-toast/index";
3
- export * from "./split-amount/util";
4
- export * from "./format-date/index";
@@ -1 +0,0 @@
1
- export{AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,THINSP,formatAmount}from"./format-amount/util.js";export{showError,showSuccess}from"./show-toast/index.js";export{splitAmount}from"./split-amount/util.js";export{formatDate,locales}from"./format-date/index.js";import"./data/currency-codes.js";import"./get-currency-symbol/util.js";import"../toast-notifier/component.js";import"tslib";import"react";import"react-dom";import"classnames";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";
@@ -1,3 +0,0 @@
1
- declare const showSuccess: (text: string, title?: string, offset?: number) => void;
2
- declare const showError: (text: string, title?: string, offset?: number) => void;
3
- export { showSuccess, showError };
@@ -1 +0,0 @@
1
- import{ToastNotifier as t}from"../../toast-notifier/component.js";import"tslib";import"react";import"react-dom";import"classnames";import"../../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../../button/component.js";import"react-merge-refs";import"../../hooks/useFocus/index.js";import"../../loader/component.js";import"../../toast-notifier/use-timer.js";var o=function(o,i,e){void 0===i&&(i="Success"),void 0===e&&(e=30),t({view:"positive",title:i,text:o,offset:e})},i=function(o,i,e){void 0===i&&(i="Error"),void 0===e&&(e=30),t({view:"negative",title:i,text:o,offset:e})};export{i as showError,o as showSuccess};
@@ -1,2 +0,0 @@
1
- declare const splitAmount: (amount: string, partSize: number | undefined, splitter: string, splitFrom?: number) => string;
2
- export { splitAmount };
@@ -1 +0,0 @@
1
- var e=function(e,n,o,p){void 0===n&&(n=3),void 0===p&&(p=4);var r="\\B(?=(\\d{"+n+"})+(?!\\d))";return e.length<p?e:(console.log({pp:e.replace(new RegExp(r,"g"),o)}),e.replace(new RegExp(r,"g"),o))};export{e as splitAmount};
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- type Props = {
4
- children?: React.ReactNode;
5
- image: string;
6
- color?: 'navigator' | 'loverocket' | 'default';
7
- reversed?: boolean;
8
- };
9
- declare const WelcomeContainer: React.FC<Props>;
10
- export { WelcomeContainer };
@@ -1 +0,0 @@
1
- import e from"react";import i from"classnames";var r={container:"index-module_container__OmIEF",reversed:"index-module_reversed__oDLY2",left_side:"index-module_left_side__4-uKL",left_side_inner:"index-module_left_side_inner__-Lvbn",right_side:"index-module_right_side__iFk7C",navigator:"index-module_navigator__O-rxg",loverocket:"index-module_loverocket__DMLiT",default:"index-module_default__yQU6t"},d=function(d){var t,_=d.children,n=d.image,l=d.color,a=void 0===l?"default":l,o=d.reversed;return e.createElement("div",{className:i(r.container,(t={},t[r.reversed]=o,t))},e.createElement("div",{className:r.left_side},e.createElement("div",{className:r.left_side_inner},_)),e.createElement("div",{className:i(r.right_side,r[a])},e.createElement("img",{src:n,alt:"right_side_image"})))};export{d as WelcomeContainer};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{WelcomeContainer}from"./component.js";import"react";import"classnames";
@@ -1,44 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { FC, ReactNode, RefAttributes } from "react";
4
- import { InputProps } from "../input/index";
5
- type WithSuffixProps = InputProps & {
6
- suffix?: ReactNode;
7
- suffixContainerClassName?: string;
8
- };
9
- declare const withSuffix: (Input: FC<InputProps & RefAttributes<HTMLInputElement>>) => React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "type" | "size" | "defaultValue" | "onChange" | "onClick" | "onMouseDown"> & {
10
- value?: string | undefined;
11
- defaultValue?: string | undefined;
12
- block?: boolean | undefined;
13
- required?: boolean | undefined;
14
- clear?: boolean | undefined;
15
- size?: "s" | "m" | "l" | undefined;
16
- error?: string | boolean | undefined;
17
- success?: boolean | undefined;
18
- hint?: string | undefined;
19
- label?: React.ReactNode;
20
- type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
21
- wrapperRef?: React.Ref<HTMLDivElement> | undefined;
22
- leftAddons?: React.ReactNode;
23
- rightAddons?: React.ReactNode;
24
- bottomAddons?: React.ReactNode;
25
- className?: string | undefined;
26
- fieldClassName?: string | undefined;
27
- inputClassName?: string | undefined;
28
- labelClassName?: string | undefined;
29
- addonsClassName?: string | undefined;
30
- focusedClassName?: string | undefined;
31
- filledClassName?: string | undefined;
32
- onChange?: ((event: React.ChangeEvent<HTMLInputElement>, payload: {
33
- value: string;
34
- }) => void) | undefined;
35
- onClear?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
36
- onClick?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
37
- onMouseDown?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
38
- onMouseUp?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
39
- dataTestId?: string | undefined;
40
- } & {
41
- suffix?: ReactNode;
42
- suffixContainerClassName?: string | undefined;
43
- } & React.RefAttributes<HTMLInputElement>>;
44
- export { WithSuffixProps, withSuffix };
@@ -1 +0,0 @@
1
- import{__rest as e,__assign as a}from"tslib";import l,{forwardRef as n,useRef as r,useState as t,useCallback as o,Fragment as i}from"react";import m from"react-merge-refs";import s from"classnames";import{Portal as d}from"../portal/component.js";import"react-dom";import"../portal/utils.js";var u="index-module_suffixContainer__L2XY5",f="index-module_suffixVisible__Yc0TG",c="index-module_hasSuffix__k5IuB",_="index-module_spacer__ylEiI",p="index-module_suffix__rQNLe",x="index-module_disabled__tntct",C="index-module_readOnly__tm8U3",v=function(v){return n((function(n,N){var E,h,b=n.value,g=n.defaultValue,y=n.onChange,O=n.onClear,V=n.suffix,j=void 0===V?"":V,B=n.placeholder,I=n.className,L=n.disabled,Y=n.readOnly,k=n.suffixContainerClassName,G=e(n,["value","defaultValue","onChange","onClear","suffix","placeholder","className","disabled","readOnly","suffixContainerClassName"]),P=void 0===b,Q=r(null),S=t(g||""),T=S[0],U=S[1],X=o((function(e,a){y&&y(e,a),P&&U(a.value)}),[y,P]),q=o((function(e){P&&U(""),O&&O(e)}),[O,P]),w=o((function(){return Q.current.parentElement}),[]),z=P?T:b;return l.createElement(i,null,l.createElement(v,a({ref:m([N,Q]),value:z,disabled:L,readOnly:Y,onChange:X,onClear:q,placeholder:B,className:s(I,(E={},E[f]=Boolean(z),E[c]=j,E))},G)),l.createElement(d,{getPortalContainer:w},l.createElement("div",{className:s(u,k)},l.createElement("span",{className:_},z),j&&l.createElement("div",{className:s(p,(h={},h[x]=L,h[C]=Y,h))},j))))}))};export{v as withSuffix};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{withSuffix}from"./component.js";import"tslib";import"react";import"react-merge-refs";import"classnames";import"../portal/component.js";import"react-dom";import"../portal/utils.js";