@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,159 +0,0 @@
1
- /// <reference types="react" />
2
- import { AriaAttributes, FC, FocusEvent, MouseEvent, ReactElement, ReactNode, RefAttributes, UIEvent } from 'react';
3
- import { InputProps } from "../input/index";
4
- import { PopoverProps } from "../popover/index";
5
- type OptionShape = {
6
- key: number | string;
7
- content?: ReactNode;
8
- disabled?: boolean;
9
- loading?: boolean;
10
- value?: any;
11
- };
12
- type GroupShape = {
13
- label?: string;
14
- options: OptionShape[];
15
- };
16
- type BaseSelectProps = {
17
- dataTestId?: string;
18
- className?: string;
19
- offset?: PopoverProps['offset'];
20
- withArrow?: boolean;
21
- popoverOuterClassname?: string;
22
- required?: boolean;
23
- fieldClassName?: string;
24
- optionsListClassName?: string;
25
- optionClassName?: string;
26
- options: Array<OptionShape | GroupShape>;
27
- actionButton?: {
28
- label: string;
29
- onClick: () => void;
30
- };
31
- id?: string;
32
- name?: string;
33
- disabled?: boolean;
34
- defaultOpen?: boolean;
35
- open?: boolean;
36
- multiple?: boolean;
37
- size?: 's' | 'm' | 'l' | 'xl' | 'xs';
38
- optionsSize?: 's' | 'm' | 'l' | 'xl' | 'xs';
39
- block?: boolean;
40
- optionsListWidth?: 'content' | 'field';
41
- label?: ReactNode;
42
- placeholder?: string;
43
- error?: string | boolean;
44
- hint?: string;
45
- autocomplete?: boolean;
46
- allowUnselect?: boolean;
47
- closeOnSelect?: boolean;
48
- circularNavigation?: boolean;
49
- preventFlip?: boolean;
50
- selected?: Array<string | number | OptionShape> | string | number | OptionShape | null;
51
- nativeSelect?: boolean;
52
- popoverPosition?: PopoverProps['position'];
53
- visibleOptions?: number;
54
- valueRenderer?: ({ selected, selectedMultiple, }: {
55
- selected?: OptionShape;
56
- selectedMultiple: OptionShape[];
57
- }) => ReactNode;
58
- Arrow?: FC<ArrowProps> | null | false;
59
- Field?: FC<FieldProps>;
60
- fieldProps?: Record<string, unknown>;
61
- optionsListProps?: Record<string, unknown>;
62
- optionProps?: Record<string, unknown>;
63
- OptionsList?: FC<OptionsListProps>;
64
- Optgroup?: FC<OptgroupProps>;
65
- Option?: FC<OptionProps>;
66
- onChange?: (payload: {
67
- selected: OptionShape | null;
68
- selectedMultiple: OptionShape[];
69
- name?: string;
70
- }) => void;
71
- onOpen?: (payload: {
72
- open?: boolean;
73
- name?: string;
74
- }) => void;
75
- onBlur?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
76
- onFocus?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
77
- onScroll?: (event: UIEvent<HTMLDivElement>) => void;
78
- updatePopover?: PopoverProps['update'];
79
- zIndexPopover?: PopoverProps['zIndex'];
80
- showEmptyOptionsList?: boolean;
81
- };
82
- type FieldProps = {
83
- className?: string;
84
- size?: 's' | 'm' | 'l' | 'xl' | 'xs';
85
- selected?: OptionShape;
86
- selectedMultiple?: OptionShape[];
87
- multiple?: boolean;
88
- open?: boolean;
89
- disabled?: boolean;
90
- label?: ReactNode;
91
- placeholder?: string;
92
- error?: string | boolean;
93
- success?: boolean;
94
- hint?: string;
95
- Arrow?: ReactElement | false | null;
96
- valueRenderer?: BaseSelectProps['valueRenderer'];
97
- innerProps: {
98
- onBlur?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
99
- onFocus?: (event: FocusEvent<HTMLDivElement | HTMLInputElement>) => void;
100
- onClick?: (event: MouseEvent<HTMLDivElement | HTMLInputElement>) => void;
101
- tabIndex: number;
102
- id: string;
103
- } & RefAttributes<HTMLDivElement | HTMLInputElement> & AriaAttributes;
104
- dataTestId?: string;
105
- };
106
- type ArrowProps = {
107
- className?: string;
108
- open?: boolean;
109
- };
110
- type OptionsListProps = {
111
- className?: string;
112
- size?: 's' | 'm' | 'l' | 'xl' | 'xs';
113
- Option: (props: {
114
- option: OptionShape;
115
- index: number;
116
- }) => JSX.Element | null;
117
- options?: Array<OptionShape | GroupShape>;
118
- flatOptions?: OptionShape[];
119
- actionButton?: {
120
- label: string;
121
- onClick: () => void;
122
- };
123
- highlightedIndex?: number;
124
- open?: boolean;
125
- Optgroup?: BaseSelectProps['Optgroup'];
126
- emptyPlaceholder?: string | ReactNode;
127
- visibleOptions?: number;
128
- onScroll?: (event: UIEvent<HTMLDivElement>) => void;
129
- dataTestId?: string;
130
- inputProps?: InputProps;
131
- toggleMenu: () => void;
132
- };
133
- type OptgroupProps = {
134
- size?: 's' | 'm' | 'l' | 'xl' | 'xs';
135
- label?: string;
136
- children?: ReactNode;
137
- };
138
- type OptionProps = {
139
- className?: string;
140
- size?: 's' | 'm' | 'l' | 'xl' | 'xs';
141
- children?: ReactNode;
142
- option: OptionShape;
143
- index: number;
144
- selected?: boolean;
145
- highlighted?: boolean;
146
- disabled?: boolean;
147
- Checkmark?: FC<CheckmarkProps>;
148
- innerProps?: {
149
- id?: string;
150
- onClick?: (event: MouseEvent<HTMLDivElement>) => void;
151
- onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
152
- onMouseMove?: (event: MouseEvent<HTMLDivElement>) => void;
153
- role?: string;
154
- } & RefAttributes<HTMLDivElement> & AriaAttributes;
155
- };
156
- type CheckmarkProps = {
157
- selected?: boolean;
158
- };
159
- export { OptionShape, GroupShape, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps };
@@ -1 +0,0 @@
1
-
@@ -1,34 +0,0 @@
1
- import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings";
3
- declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
- declare const isOptionShape: (item: OptionShape | string | number | null) => item is OptionShape;
5
- declare const joinOptions: ({ selected, selectedMultiple, }: {
6
- selected?: OptionShape | undefined;
7
- selectedMultiple?: OptionShape[] | undefined;
8
- }) => ReactNode[] | null;
9
- declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected']): {
10
- flatOptions: OptionShape[];
11
- selectedOptions: OptionShape[];
12
- };
13
- type useVisibleOptionsArgs = {
14
- visibleOptions: number;
15
- listRef: RefObject<HTMLElement>;
16
- styleTargetRef?: RefObject<HTMLElement>;
17
- open?: boolean;
18
- invalidate?: unknown;
19
- };
20
- declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
21
- declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
22
- type OptionsType<T> = Array<{
23
- key: T;
24
- content: any;
25
- }>;
26
- type ConvertToOptions = <T extends {
27
- id: string | number;
28
- [field: string]: any;
29
- }>(data: T[], field?: string) => Array<{
30
- key: T['id'];
31
- content: any;
32
- }>;
33
- declare const convertToOptions: ConvertToOptions;
34
- export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, lastIndexOf, OptionsType, convertToOptions };
@@ -1 +0,0 @@
1
- import{isValidElement as t,cloneElement as n,useEffect as e}from"react";var r=function(t){return Object.prototype.hasOwnProperty.call(t,"options")},i=function(t){return!!t&&Object.prototype.hasOwnProperty.call(t,"key")},o=function(e){var r=e.selected,i=e.selectedMultiple||(r?[r]:[]);return i.length?i.reduce((function(e,r,o){return t(r.content)?e.push(n(r.content,{key:r.key})):e.push(r.content),o<i.length-1&&e.push(", "),e}),[]):null};function c(t,n){void 0===n&&(n=[]);var e=[],o=Array.isArray(n)?n:[n],c=o.filter(i),u=o.filter((function(t){return"string"==typeof t||"number"==typeof t})),l=function(t){e.push(t),function(t){return u.includes(t.key)}(t)&&c.push(t)};return t.forEach((function(t){r(t)?t.options.forEach(l):l(t)})),{flatOptions:e,selectedOptions:c}}function u(t){var n=t.visibleOptions,r=t.listRef,i=t.styleTargetRef,o=void 0===i?r:i,c=t.open,u=t.invalidate;e((function(){var t=r.current,e=o.current;if(c&&t&&e){var i=[].slice.call(t.children,0,n+1),u=i.slice(0,n).reduce((function(t,n){return t+n.clientHeight}),0);n<t.children.length&&(u+=Math.round(i[i.length-1].clientHeight/2)),e.style.height=u+"px"}}),[r,c,o,n,u])}var l=function(t,n){for(var e=t.length-1;e>=0;e--)if(n(t[e]))return e;return-1},f=function(t,n){return t.map((function(t){return{key:t.id,content:n&&t[n]||t.title||t.name}}))};export{f as convertToOptions,r as isGroup,i as isOptionShape,o as joinOptions,l as lastIndexOf,c as processOptions,u as useVisibleOptions};
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { TFunction } from "../modal/index";
4
- type Back = {
5
- back?: () => void;
6
- t: TFunction;
7
- } | {
8
- back?: never;
9
- t?: never;
10
- };
11
- type SidepanelProps = {
12
- title?: string;
13
- loading?: boolean;
14
- subtitle?: string;
15
- headerRightAddons?: React.ReactNode;
16
- headerBottomAddons?: React.ReactNode;
17
- bottomAddons?: React.ReactNode;
18
- dataTestId?: string;
19
- noCloser?: boolean;
20
- noStickyFooter?: boolean;
21
- noStickyHeader?: boolean;
22
- } & Back;
23
- declare const Sidepanel: React.FC<SidepanelProps>;
24
- export { SidepanelProps, Sidepanel };
@@ -1 +0,0 @@
1
- import{__rest as e,__assign as t}from"tslib";import o from"react";import n from"classnames";import{FlexColumns as r}from"../flex-columns/component.js";import{SidepanelHeader as m}from"../sidepanel-header/component.js";import{Skeleton as i}from"../skeleton/component.js";import"../back-button/component.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"../typography/title/component.js";var a="index-module_header__mPZ5T",d="index-module_loader__AwSf2",l="index-module_input__4qiE9",s="index-module_footer__gMIpz",c="index-module_noSticky__LgClY",p="index-module_content__3wIEH",u=function(u){var _,h=u.dataTestId,y=u.title,f=u.loading,g=u.headerRightAddons,b=u.subtitle,j=u.noCloser,x=u.headerBottomAddons,A=u.noStickyFooter,k=u.noStickyHeader,E=u.bottomAddons,v=u.children,S=e(u,["dataTestId","title","loading","headerRightAddons","subtitle","noCloser","headerBottomAddons","noStickyFooter","noStickyHeader","bottomAddons","children"]);return o.createElement(o.Fragment,null,f?o.createElement(r,{className:d,columns:1,gr:20},new Array(7).fill("").map((function(e,t){return o.createElement(i,{key:t,animate:!0,visible:!0,className:l})}))):o.createElement("div",null,o.createElement(m,t({title:y,className:k?void 0:a,subtitle:b,noCloser:j,dataTestId:h,rightAddons:g,bottomAddons:x},S)),o.createElement("div",{className:p},v),E&&o.createElement("div",{className:n(s,(_={},_[c]=A,_))},E)))};export{u as Sidepanel};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Sidepanel}from"./component.js";import"tslib";import"react";import"classnames";import"../flex-columns/component.js";import"../sidepanel-header/component.js";import"../back-button/component.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../skeleton/component.js";
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { TFunction } from "../modal/index";
4
- type Back = {
5
- back?: () => void;
6
- t: TFunction;
7
- } | {
8
- back?: never;
9
- t?: never;
10
- };
11
- type SidepanelHeaderProps = {
12
- className?: string;
13
- title?: string;
14
- rightAddons?: React.ReactNode;
15
- bottomAddons?: React.ReactNode;
16
- noCloser?: boolean;
17
- dataTestId?: string;
18
- subtitle?: string;
19
- } & Back;
20
- declare const SidepanelHeader: React.FC<SidepanelHeaderProps>;
21
- export { SidepanelHeaderProps, SidepanelHeader };
@@ -1 +0,0 @@
1
- import e from"react";import t from"classnames";import{BackButton as o}from"../back-button/component.js";import{FlexColumns as r}from"../flex-columns/component.js";import{Typography as m}from"../typography/component.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../typography/text/component.js";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";var a="index-module_wrapper__QxqDy",i="index-module_heading__XGDyC",l="index-module_title__jwxcv",n="index-module_bottomAddons__3yzd0",s="index-module_rightAddons__aZFaJ",c="index-module_noCloser__O7u0p",d=function(t){var o=t.title,a=t.subtitle;return e.createElement(r,{columns:1,gr:4,className:l},e.createElement(m.Title,{color:"primary",tag:"div",view:"small",weight:"bold"},o),a&&e.createElement(m.Text,{view:"title",weight:"regular",color:"secondary"},a))},p=function(r){var m,l=r.className,p=r.dataTestId,u=r.title,_=r.rightAddons,b=r.back,x=r.subtitle,y=r.t,g=r.bottomAddons,v=r.noCloser;return e.createElement("div",{"data-test-id":p,className:t(a,l)},(b||u||_)&&e.createElement("div",{className:i},b&&y&&e.createElement(o,{onClick:b,t:y}),!b&&u&&e.createElement(d,{title:u,subtitle:x}),_&&e.createElement("div",{className:t(s,(m={},m[c]=!!v,m))},_)),!!b&&u&&e.createElement(d,{title:u,subtitle:x}),!!g&&e.createElement("div",{className:n},g))};export{p as SidepanelHeader};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{SidepanelHeader}from"./component.js";import"react";import"classnames";import"../back-button/component.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../flex-columns/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- type SkeletonProps = {
4
- children?: React.ReactNode;
5
- visible?: boolean;
6
- animate?: boolean;
7
- className?: string;
8
- dataTestId?: string;
9
- };
10
- declare const Skeleton: React.FC<SkeletonProps>;
11
- export { SkeletonProps, Skeleton };
@@ -1 +0,0 @@
1
- import e from"react";import a from"classnames";var t="index-module_component__-McTc",m="index-module_animate__-bLCJ",n=function(n){var r,i=n.visible,c=n.animate,d=void 0===c||c,l=n.className,o=n.dataTestId,s=n.children;return i?e.createElement("div",{className:a(t,(r={},r[m]=d,r),l),"data-test-id":o},s):e.createElement(e.Fragment,null,s)};export{n as Skeleton};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Skeleton}from"./component.js";import"react";import"classnames";
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { Direction } from "./utils";
4
- interface ItemProps {
5
- className: string;
6
- horizontalSize: number;
7
- verticalSize: number;
8
- length: number;
9
- children: React.ReactNode;
10
- index: number;
11
- direction?: Direction;
12
- divider?: string | React.ReactNode;
13
- wrap?: boolean;
14
- }
15
- declare const Item: (props: ItemProps) => JSX.Element | null;
16
- export { Item as default, ItemProps };
@@ -1 +0,0 @@
1
- import{__assign as e}from"tslib";import t from"react";var r=function(r){var a=r.className,i=r.horizontalSize,l=r.verticalSize,n=r.length,m=r.direction,o=r.index,c=r.children,d=r.divider,s=r.wrap,g={};return"vertical"===m?o<n&&(g={marginBottom:i/(d?2:1)}):g=e(e({},o<n&&{marginRight:i/(d?2:1)}),s&&{paddingBottom:l}),null==c?null:t.createElement(t.Fragment,null,t.createElement("div",{className:a,style:g},c),o<n-1&&d&&t.createElement("span",{style:e({width:"100%"},g)},d))};export{r as default};
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ReactNode } from "react";
4
- import { Direction, Align, Size } from "./utils";
5
- type SpaceProps = {
6
- align?: Align;
7
- direction?: Direction;
8
- size?: Size | [Size, Size];
9
- className?: string;
10
- children: ReactNode;
11
- dataTestId?: string;
12
- wrap?: boolean;
13
- divider?: string | ReactNode;
14
- fullWidth?: boolean;
15
- };
16
- declare const Space: React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<HTMLDivElement>>;
17
- export { SpaceProps, Space };
@@ -1 +0,0 @@
1
- import{__assign as e}from"tslib";import t,{forwardRef as i,Children as r}from"react";import n from"classnames";import a from"./Item.js";var l={spaceContainer:"index-module_spaceContainer__Onnxn",spaceContainerFullWidth:"index-module_spaceContainerFullWidth__W7-9v",vertical:"index-module_vertical__EjIme",center:"index-module_center__VDiFi",start:"index-module_start__WKuO-",end:"index-module_end__FzVWP",spaceItemFullWidth:"index-module_spaceItemFullWidth__C58tA",spaceItem:"index-module_spaceItem__oUYtC"},o={s:12,m:16,l:20},d=i((function(i,d){var m,c,s=i.children,u=i.className,p=i.align,_=void 0===p?"start":p,v=i.direction,f=void 0===v?"vertical":v,h=i.size,x=void 0===h?"m":h,W=i.wrap,C=void 0!==W&&W,F=i.divider,I=void 0!==F&&F,g=i.fullWidth,y=void 0!==g&&g,z=t.useMemo((function(){return(Array.isArray(x)?x:[x,x]).map((function(e){return function(e){return"string"==typeof e?o[e]:e||0}(e)}))}),[x]),A=z[0],w=z[1],E=r.toArray(s);if(0===E.length)return null;var N=n(l.spaceContainer,l[f],((m={})[l[_]]=_,m[l.spaceContainerFullWidth]=y,m),u),j=n(l.spaceItem,((c={})[l.spaceItemFullWidth]=y,c)),O=E.map((function(e,i){return t.createElement(a,{className:j,key:j+"-"+i,direction:f,horizontalSize:A,verticalSize:w,length:E.length,index:i,wrap:C,divider:I},e)}));return t.createElement("div",{className:N,style:e({},C&&{flexWrap:"wrap",marginBottom:-w}),ref:d},O)}));export{d as Space};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Space}from"./component.js";import"tslib";import"react";import"classnames";import"./Item.js";
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- type Align = 'start' | 'end' | 'center';
4
- type Direction = 'horizontal' | 'vertical';
5
- type Size = 's' | 'm' | 'l' | number;
6
- declare const SpaceContext: React.Context<{
7
- length: number;
8
- horizontalSize: number;
9
- verticalSize: number;
10
- }>;
11
- export { Align, Direction, Size, SpaceContext };
@@ -1 +0,0 @@
1
- import e from"react";var t=e.createContext({length:0,horizontalSize:0,verticalSize:0});export{t as SpaceContext};
@@ -1,11 +0,0 @@
1
- import { FC } from 'react';
2
- type SpinnerProps = {
3
- visible?: boolean;
4
- size?: 's' | 'm';
5
- className?: string;
6
- id?: string;
7
- view?: 'default' | 'dark' | 'invert';
8
- dataTestId?: string;
9
- };
10
- declare const Spinner: FC<SpinnerProps>;
11
- export { SpinnerProps, Spinner };
@@ -1 +0,0 @@
1
- import e from"react";import r from"classnames";var d={s:"index-module_s__Xi4z8",m:"index-module_m__ZpMyr",spinnerWrapper:"index-module_spinnerWrapper__VE6YF",spinner:"index-module_spinner__QP-ux",rotate:"index-module_rotate__Qv2Ic",path:"index-module_path__SQCAA",dash:"index-module_dash__PurJL",default:"index-module_default__nPp3J",dark:"index-module_dark__QnOjR",invert:"index-module_invert__6bSD5"},i=function(i){var n=i.size,a=void 0===n?"s":n,t=i.id,_=i.view,s=void 0===_?"default":_,m=i.className,l=i.dataTestId;return e.createElement("div",{id:t,"data-test-id":l,className:r(d.spinnerWrapper,d[a],m)},e.createElement("svg",{className:r(d.spinner,d[a]),preserveAspectRatio:"xMinYMin meet",viewBox:"0 0 50 50"},e.createElement("circle",{className:r(d.path,d[s]),cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"5"})))};export{i as Spinner};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Spinner}from"./component.js";import"react";import"classnames";
@@ -1,7 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- type StackProps = {
3
- children: (value: number) => ReactNode;
4
- value?: number;
5
- };
6
- declare const Stack: FC<StackProps>;
7
- export { StackProps, Stack };
@@ -1 +0,0 @@
1
- import r,{useContext as e}from"react";import{stackingOrder as t,StackingContext as o}from"./context.js";var a=function(a){var i=a.children,m=a.value,n=void 0===m?t.DEFAULT:m,v=e(o),c=Math.max(n,v),l=c+1;return r.createElement(o.Provider,{value:l},i(c))};export{a as Stack};
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- declare const stackingOrder: {
3
- FOCUSED: number;
4
- DEFAULT: number;
5
- POPOVER: number;
6
- MODAL: number;
7
- TOAST: number;
8
- };
9
- declare const StackingContext: import("react").Context<number>;
10
- export { stackingOrder, StackingContext };
@@ -1 +0,0 @@
1
- import{createContext as e}from"react";var r={FOCUSED:2,DEFAULT:10,POPOVER:11e4,MODAL:9e4,TOAST:11e4},O=e(r.DEFAULT);export{O as StackingContext,r as stackingOrder};
@@ -1,2 +0,0 @@
1
- export * from "./context";
2
- export * from "./component";
@@ -1 +0,0 @@
1
- export{StackingContext,stackingOrder}from"./context.js";export{Stack}from"./component.js";import"react";
@@ -1,11 +0,0 @@
1
- import { FC } from 'react';
2
- type StatusProps = {
3
- className?: string;
4
- upperCase?: boolean;
5
- view: 'contrast' | 'soft';
6
- size?: 's' | 'm';
7
- color: 'green' | 'orange' | 'red' | 'blue' | 'grey' | 'teal' | 'purple';
8
- dataTestId?: string;
9
- };
10
- declare const Status: FC<StatusProps>;
11
- export { StatusProps, Status };
@@ -1 +0,0 @@
1
- import e from"react";import _ from"classnames";var o={component:"index-module_component__ow7Aw",upper_case:"index-module_upper_case__qm11K",m:"index-module_m__oJfGX",s:"index-module_s__caYRs",soft:"index-module_soft__BdoFt",green:"index-module_green__KVuFt",orange:"index-module_orange__RhVjy",red:"index-module_red__tLzKj",blue:"index-module_blue__Z-Cce",grey:"index-module_grey__0taE9",teal:"index-module_teal__wjFjP",purple:"index-module_purple__xJsve",contrast:"index-module_contrast__Y6fKB"},d=function(d){var n,r=d.className,t=d.view,a=d.color,m=d.children,l=d.dataTestId,s=d.upperCase,u=d.size,i=void 0===u?"s":u;return e.createElement("span",{className:_(o.component,o[a],o[i],o[t],r,(n={},n[o.upper_case]=s,n)),"data-test-id":l},m)};export{d as Status};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Status}from"./component.js";import"react";import"classnames";
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- type SteppedProgressBarView = 'positive' | 'negative' | 'attention' | 'link' | 'tertiary' | 'secondary' | 'primary' | 'accent';
3
- type StepBarProps = {
4
- isDone: boolean;
5
- view?: SteppedProgressBarView;
6
- };
7
- declare const StepBar: FC<StepBarProps>;
8
- export { SteppedProgressBarView, StepBar };
@@ -1 +0,0 @@
1
- import e,{memo as i}from"react";import n from"classnames";var o={bar:"index-module_bar__SJw07",positive:"index-module_positive__BV6AP",attention:"index-module_attention__yBWsh",negative:"index-module_negative__JYzop",link:"index-module_link__3hGbM",tertiary:"index-module_tertiary__4dElX",secondary:"index-module_secondary__J2aM7",primary:"index-module_primary__9D-Nm",accent:"index-module_accent__NXKi2",component:"index-module_component__bJPtL",stepsContainer:"index-module_stepsContainer__o8tZI",description:"index-module_description__JRG5S"},t=i((function(i){var t=i.isDone,_=i.view,d=void 0===_?"positive":_;return e.createElement("span",{"data-test-id":t?"on":"off",className:n(o.bar,t&&o[d])})}));export{t as S,o as s};
@@ -1 +0,0 @@
1
- import"react";import"classnames";export{S as StepBar}from"../../step-bar-ca252463.js";
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { FC } from "react";
4
- import { SteppedProgressBarView } from "../step-bar-ca252463";
5
- type SteppedProgressBarProps = {
6
- maxStep: number;
7
- description?: string;
8
- step?: number;
9
- view?: SteppedProgressBarView | SteppedProgressBarView[];
10
- dataTestId?: string;
11
- className?: string;
12
- };
13
- declare const SteppedProgressBar: FC<SteppedProgressBarProps>;
14
- declare const useSteps: ({ maxStep, initialStep, }: {
15
- maxStep: number;
16
- initialStep?: number | undefined;
17
- }) => {
18
- step: number;
19
- setStep: React.Dispatch<React.SetStateAction<number>>;
20
- nextStep: () => void;
21
- prevStep: () => void;
22
- };
23
- export { SteppedProgressBarProps, SteppedProgressBar, useSteps };
@@ -1 +0,0 @@
1
- import t,{useState as e}from"react";import r from"classnames";import{Typography as o}from"../typography/component.js";import{s as a,S as i}from"../step-bar-ca252463.js";import"../typography/text/component.js";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";var n=function(e){var n=e.maxStep,p=e.description,s=e.step,m=void 0===s?0:s,c=e.view,l=e.dataTestId,d=e.className,y=n<=0?1:n,v="string"==typeof c;return t.createElement("div",{className:r(a.component,d),"data-test-id":l},t.createElement("div",{className:a.stepsContainer},Array.from(Array(y),(function(e,r){return t.createElement(i,{key:r,isDone:r<m,view:v?c:null==c?void 0:c[r]})}))),p&&t.createElement(o.Text,{color:"secondary",tag:"div",className:a.description,view:"primary-small"},p))},p=function(t){var r=t.maxStep,o=t.initialStep,a=e(void 0===o?1:o),i=a[0],n=a[1];return{step:i,setStep:n,nextStep:function(){n(i<r?i+1:r)},prevStep:function(){n(1===i?i:i-1)}}};export{n as SteppedProgressBar,p as useSteps};
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- interface StickerProps {
4
- className?: string;
5
- color: 'yellow' | 'green' | 'white' | 'gray';
6
- text: string;
7
- dataTestId?: string;
8
- }
9
- declare const Sticker: React.FC<StickerProps>;
10
- export { StickerProps, Sticker };
@@ -1 +0,0 @@
1
- import e from"react";import n from"classnames";var t={component:"index-module_component__yE8Fi",yellow:"index-module_yellow__e9HEA",white:"index-module_white__vq66g",green:"index-module_green__YtEMp",blue:"index-module_blue__B76YL",gray:"index-module_gray__nmJqT"},o=function(o){var l=o.className,m=o.text,a=o.color,_=o.dataTestId;return e.createElement("div",{className:n(t.component,t[a],l),"data-test-id":_},e.createElement("span",null,m))};export{o as Sticker};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Sticker}from"./component.js";import"react";import"classnames";
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { InputProps } from "../input/index";
4
- type SuffixInputProps = Omit<InputProps, 'value' | 'onChange' | 'type'> & {
5
- value: number | undefined | null;
6
- suffix?: string;
7
- required?: boolean;
8
- bold?: boolean;
9
- onChange: (e: React.ChangeEvent<HTMLInputElement>, payload: {
10
- value: number | undefined | null;
11
- }) => void;
12
- };
13
- declare const SuffixInput: React.ForwardRefExoticComponent<Omit<InputProps, "value" | "type" | "onChange"> & {
14
- value: number | undefined | null;
15
- suffix?: string | undefined;
16
- required?: boolean | undefined;
17
- bold?: boolean | undefined;
18
- onChange: (e: React.ChangeEvent<HTMLInputElement>, payload: {
19
- value: number | undefined | null;
20
- }) => void;
21
- } & React.RefAttributes<HTMLInputElement>>;
22
- export { SuffixInputProps, SuffixInput };
@@ -1 +0,0 @@
1
- import{__rest as e,__assign as o}from"tslib";import n,{forwardRef as r,useState as t,useEffect as a,useCallback as i,Fragment as l}from"react";import m from"classnames";import{Input as s}from"../input/component.js";import{withSuffix as u}from"../with-suffix/component.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";var d={container:"index-module_container__tczFF",minorPartAndCurrency:"index-module_minorPartAndCurrency__0K7XF",suffixContainer:"index-module_suffixContainer__8eIxg",filled:"index-module_filled__nKrpt",input:"index-module_input__SIj3W"},c=u(s),f=r((function(r,s){var u,f=r.value,p=r.suffix,C=r.placeholder,v=void 0===C?"":C,x=r.bold,_=void 0===x||x,N=r.className,j=r.focusedClassName,b=r.required,g=r.dataTestId,h=r.clear,I=void 0!==h&&h,y=r.onChange,E=r.onClear,F=e(r,["value","suffix","placeholder","bold","className","focusedClassName","required","dataTestId","clear","onChange","onClear"]),q=t(f),A=q[0],P=q[1];a((function(){return A!==f?P(f):function(){}}),[f]);var T=i((function(e){P(void 0),E&&E(e)}),[E]);return n.createElement("div",{className:m(d.container,(u={},u[d.bold]=_,u[d.filled]=Boolean(A),u))},n.createElement(c,o({},F,{suffix:n.createElement(l,null,A,n.createElement("span",{className:d.minorPartAndCurrency}," ",p)),suffixContainerClassName:d.suffixContainer,clear:I,required:b,placeholder:v,value:Number.isInteger(f)?""+f:void 0,type:"number",className:m(d.component,N),focusedClassName:j,inputClassName:d.input,onChange:function(e){var o=e.target.value;y&&y(e,{value:Number.isInteger(+o)?+o:void 0})},onClear:T,dataTestId:g,ref:s})))}));export{f as SuffixInput};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{SuffixInput}from"./component.js";import"tslib";import"react";import"classnames";import"../input/component.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../with-suffix/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- interface SuperListHeaderProps {
4
- text: string;
5
- handleClick?: () => void;
6
- rightAddons?: React.ReactNode;
7
- leftAddons?: React.ReactNode;
8
- }
9
- declare const SuperListHeader: React.FC<SuperListHeaderProps>;
10
- export { SuperListHeaderProps, SuperListHeader };
@@ -1 +0,0 @@
1
- import e from"react";import{Typography as t}from"../typography/component.js";import"../typography/text/component.js";import"classnames";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";var o="index-module_component__cofLq",m="index-module_leftSide__qNA7Y",r="index-module_leftAddons__l-m-3",n="index-module_rightAddons__m-u4n",a=function(a){var i=a.text,l=a.leftAddons,d=a.rightAddons;return e.createElement("div",{className:o},e.createElement("div",{className:m},e.createElement(t.Text,{color:"primary",weight:"bold",tag:"span"},i),l&&e.createElement("div",{className:r},l)),d&&e.createElement("div",{className:n},d))};export{a as SuperListHeader};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{SuperListHeader}from"./component.js";import"react";import"../typography/component.js";import"../typography/text/component.js";import"classnames";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- interface SuperListItemProps {
4
- text: string;
5
- rightAddons?: React.ReactNode | string;
6
- leftAddons?: React.ReactNode;
7
- color?: 'primary' | 'negative';
8
- weight?: 'bold' | 'regular' | 'medium';
9
- disabled?: boolean;
10
- hint?: string;
11
- className?: string;
12
- }
13
- declare const SuperListItem: React.FC<SuperListItemProps>;
14
- export { SuperListItemProps, SuperListItem };
@@ -1 +0,0 @@
1
- import e from"react";import t from"classnames";import{Dot as o}from"../dot/component.js";import{Typography as r}from"../typography/component.js";import"../typography/text/component.js";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";var i="index-module_component__exnSI",m="index-module_leftSide__t9PJZ",a="index-module_content__Z53Wl",l="index-module_leftAddons__AhXk-",n="index-module_rightAddons__UjV9O",d=function(d){var c=d.text,s=d.rightAddons,p=d.leftAddons,v=d.color,g=void 0===v?"primary":v,_=d.disabled,x=d.className,y=d.weight,h=void 0===y?"regular":y,f=d.hint;return e.createElement("div",{className:t(i,x)},e.createElement("div",{className:m},p&&!_&&e.createElement("div",{className:l},p),_&&e.createElement("div",{className:l},e.createElement(o,{size:"sm",color:"grey"})),e.createElement("div",{className:a},e.createElement(r.Text,{weight:h,color:g,view:"title",tag:"div"},c),f&&e.createElement(r.Text,{color:"secondary",view:"caps",tag:"div"},f))),s&&e.createElement("div",{className:n},"string"==typeof s?e.createElement(r.Text,{weight:h,color:g,view:"title",tag:"div"},s):s))};export{d as SuperListItem};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{SuperListItem}from"./component.js";import"react";import"classnames";import"../dot/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-f837aabc.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";