hrm_ui_lib 2.0.3 → 2.1.0-alpha.10

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 (1053) hide show
  1. package/README.md +1 -3
  2. package/assets/images/file-preview.svg.js +1 -0
  3. package/assets/images/no-result.svg.js +1 -0
  4. package/assets/images/no_mobile_image.svg.js +1 -0
  5. package/assets/images/under-construction.webp +0 -0
  6. package/assets/images/under-construction.webp.js +1 -0
  7. package/assets/styles/helpers/_mixin.scss +326 -464
  8. package/assets/styles/styles.css +1 -8776
  9. package/components/Alert/Alert.js +6 -52
  10. package/components/Alert/consts.d.ts +3 -4
  11. package/components/Alert/consts.js +1 -16
  12. package/components/Alert/index.js +1 -52
  13. package/components/Alert/types.js +0 -1
  14. package/components/Avatar/Avatar.js +1 -119
  15. package/components/Avatar/AvatarGroup.js +5 -120
  16. package/components/Avatar/index.js +1 -64
  17. package/components/Avatar/types.js +0 -1
  18. package/components/Badge/Badge.js +2 -24
  19. package/components/Badge/index.js +1 -6
  20. package/components/Badge/types.js +0 -1
  21. package/components/BadgeV2/BadgeV2.d.ts +3 -0
  22. package/components/BadgeV2/BadgeV2.js +1 -0
  23. package/components/BadgeV2/index.d.ts +1 -0
  24. package/components/BadgeV2/index.js +1 -0
  25. package/components/BadgeV2/types.d.ts +23 -0
  26. package/components/BadgeV2/types.js +1 -0
  27. package/components/Breadcrumb/Breadcrumb.js +2 -24
  28. package/components/Breadcrumb/index.js +1 -2
  29. package/components/Breadcrumb/types.js +0 -1
  30. package/components/Button/Button.js +2 -52
  31. package/components/Button/consts.d.ts +1 -1
  32. package/components/Button/consts.js +1 -16
  33. package/components/Button/index.js +1 -52
  34. package/components/Button/types.d.ts +2 -1
  35. package/components/Button/types.js +0 -1
  36. package/components/ButtonGroup/ButtonGroup.d.ts +2 -0
  37. package/components/ButtonGroup/ButtonGroup.js +2 -0
  38. package/components/ButtonGroup/ButtonGroupItem.d.ts +2 -0
  39. package/components/ButtonGroup/ButtonGroupItem.js +3 -0
  40. package/components/ButtonGroup/consts.d.ts +8 -0
  41. package/components/ButtonGroup/consts.js +1 -0
  42. package/components/ButtonGroup/index.d.ts +1 -0
  43. package/components/ButtonGroup/index.js +1 -0
  44. package/components/ButtonGroup/types.d.ts +23 -0
  45. package/components/ButtonGroup/types.js +0 -0
  46. package/components/Card/Card.d.ts +13 -0
  47. package/components/Card/Card.js +1 -0
  48. package/components/Card/CardComponent/Card.d.ts +4 -0
  49. package/components/Card/CardComponent/Card.js +3 -0
  50. package/components/Card/CardComponent/CardBody.d.ts +4 -0
  51. package/components/Card/CardComponent/CardBody.js +2 -0
  52. package/components/Card/CardComponent/CardFooter.d.ts +4 -0
  53. package/components/Card/CardComponent/CardFooter.js +1 -0
  54. package/components/Card/CardComponent/CardHead.d.ts +4 -0
  55. package/components/Card/CardComponent/CardHead.js +2 -0
  56. package/components/Card/CardContext.d.ts +7 -0
  57. package/components/Card/CardContext.js +1 -0
  58. package/components/Card/index.d.ts +1 -0
  59. package/components/Card/index.js +1 -0
  60. package/components/Card/types.d.ts +19 -0
  61. package/components/Card/types.js +0 -0
  62. package/components/CardGroup/CardGroup.d.ts +10 -0
  63. package/components/CardGroup/CardGroup.js +1 -0
  64. package/components/CardGroup/CardGroupComponent/CardBody.d.ts +4 -0
  65. package/components/CardGroup/CardGroupComponent/CardBody.js +2 -0
  66. package/components/CardGroup/CardGroupComponent/CardGroup.d.ts +4 -0
  67. package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -0
  68. package/components/CardGroup/CardGroupComponent/CardHead.d.ts +4 -0
  69. package/components/CardGroup/CardGroupComponent/CardHead.js +3 -0
  70. package/components/CardGroup/CardGroupContext.d.ts +6 -0
  71. package/components/CardGroup/CardGroupContext.js +1 -0
  72. package/components/CardGroup/index.d.ts +1 -0
  73. package/components/CardGroup/index.js +1 -0
  74. package/components/CardGroup/types.d.ts +14 -0
  75. package/components/CardGroup/types.js +0 -0
  76. package/components/Checkbox/Checkbox.js +6 -52
  77. package/components/Checkbox/consts.d.ts +3 -0
  78. package/components/Checkbox/consts.js +1 -0
  79. package/components/Checkbox/index.js +1 -52
  80. package/components/Checkbox/types.d.ts +1 -0
  81. package/components/Checkbox/types.js +0 -1
  82. package/components/Chips/Chips.js +2 -67
  83. package/components/Chips/consts.d.ts +1 -1
  84. package/components/Chips/consts.js +1 -14
  85. package/components/Chips/index.js +1 -11
  86. package/components/Chips/types.d.ts +1 -1
  87. package/components/Chips/types.js +1 -7
  88. package/components/Collapse/Collapse/Collapse.d.ts +3 -0
  89. package/components/Collapse/Collapse/Collapse.js +5 -0
  90. package/components/Collapse/Collapse/Title.d.ts +10 -0
  91. package/components/Collapse/Collapse/Title.js +2 -0
  92. package/components/Collapse/CollapseGroup/CollapseGroup.js +3 -76
  93. package/components/Collapse/CollapseItem/CollapseItem.js +10 -89
  94. package/components/Collapse/index.d.ts +1 -0
  95. package/components/Collapse/index.js +1 -16
  96. package/components/Collapse/types.d.ts +16 -3
  97. package/components/Collapse/types.js +0 -1
  98. package/components/Container/Container.js +2 -10
  99. package/components/Container/index.js +1 -2
  100. package/components/Container/types.js +0 -1
  101. package/components/Copy/Copy.js +3 -94
  102. package/components/Copy/index.js +1 -54
  103. package/components/Copy/types.js +0 -1
  104. package/components/Counter/Counter.js +2 -137
  105. package/components/Counter/index.js +1 -61
  106. package/components/Counter/types.js +0 -1
  107. package/components/DarkModeSwitcher/DarkModeSwitcher.d.ts +11 -0
  108. package/components/DarkModeSwitcher/DarkModeSwitcher.js +5 -0
  109. package/components/DarkModeSwitcher/index.d.ts +1 -0
  110. package/components/DarkModeSwitcher/index.js +1 -0
  111. package/components/DarkModeSwitcher/types.d.ts +17 -0
  112. package/components/DarkModeSwitcher/types.js +1 -0
  113. package/components/DatePicker/CustomHeader/CustomHeader.js +7 -192
  114. package/components/DatePicker/CustomHeader/helpers.js +1 -17
  115. package/components/DatePicker/RangeDatePicker/RangeDatePicker.js +1 -130
  116. package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +4 -177
  117. package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +8 -269
  118. package/components/DatePicker/RangeDatePicker/index.js +1 -124
  119. package/components/DatePicker/SimpleDatePicker/SimpleDatePicker.js +1 -130
  120. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +4 -205
  121. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +5 -210
  122. package/components/DatePicker/SimpleDatePicker/index.js +1 -123
  123. package/components/DatePicker/TimePicker/MobileModalContent.js +4 -124
  124. package/components/DatePicker/TimePicker/TimePicker.js +1 -76
  125. package/components/DatePicker/TimePicker/TimePickerDesktop.js +4 -131
  126. package/components/DatePicker/TimePicker/TimePickerMobile.js +5 -127
  127. package/components/DatePicker/TimePicker/consts.js +1 -8
  128. package/components/DatePicker/TimePicker/helpers.js +1 -21
  129. package/components/DatePicker/TimePicker/index.js +1 -70
  130. package/components/DatePicker/hooks.js +1 -2175
  131. package/components/DatePicker/index.js +1 -134
  132. package/components/DatePicker/localization.js +1 -7
  133. package/components/DatePicker/types.js +1 -7
  134. package/components/Divider/Divider.js +2 -16
  135. package/components/Divider/index.js +1 -3
  136. package/components/Divider/types.d.ts +1 -0
  137. package/components/Divider/types.js +0 -1
  138. package/components/Empty/Empty.js +4 -85
  139. package/components/Empty/index.js +1 -54
  140. package/components/Empty/types.js +0 -1
  141. package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +7 -52
  142. package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +1 -52
  143. package/components/FileUpload/DropzoneFileUpload/FilePreview.js +2 -53
  144. package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +7 -52
  145. package/components/FileUpload/DropzoneFileUpload/helpers.js +1 -52
  146. package/components/FileUpload/DropzoneFileUpload/index.js +1 -52
  147. package/components/FileUpload/FileUpload.js +6 -193
  148. package/components/FileUpload/UploadItems.js +6 -102
  149. package/components/FileUpload/index.js +1 -61
  150. package/components/FileUpload/types.js +1 -10
  151. package/components/FormContainer/FormContainer.js +1 -137
  152. package/components/FormContainer/index.js +1 -55
  153. package/components/FormContainer/types.d.ts +2 -2
  154. package/components/FormContainer/types.js +0 -1
  155. package/components/FormField/FormField.js +3 -115
  156. package/components/FormField/index.js +1 -56
  157. package/components/FormField/types.d.ts +1 -0
  158. package/components/FormField/types.js +0 -1
  159. package/components/Heading/Heading.js +2 -29
  160. package/components/Heading/index.js +1 -5
  161. package/components/Heading/types.js +0 -1
  162. package/components/Image/Image.js +1 -33
  163. package/components/Image/index.js +1 -2
  164. package/components/Image/types.js +0 -1
  165. package/components/Input/Input.js +9 -243
  166. package/components/Input/index.js +1 -58
  167. package/components/Input/types.d.ts +1 -1
  168. package/components/Input/types.js +0 -1
  169. package/components/Link/Link.js +2 -42
  170. package/components/Link/index.js +1 -3
  171. package/components/Link/types.js +0 -1
  172. package/components/Menu/Menu.js +3 -165
  173. package/components/Menu/NestedMenu.js +3 -178
  174. package/components/Menu/index.js +1 -72
  175. package/components/Menu/types.js +0 -1
  176. package/components/Modal/Modal.d.ts +1 -6
  177. package/components/Modal/Modal.js +1 -52
  178. package/components/Modal/ModalConfirmation.d.ts +1 -1
  179. package/components/Modal/ModalConfirmation.js +3 -143
  180. package/components/Modal/ModalContent.d.ts +3 -1
  181. package/components/Modal/ModalContent.js +5 -52
  182. package/components/Modal/index.js +1 -53
  183. package/components/Modal/types.d.ts +2 -0
  184. package/components/Modal/types.js +0 -1
  185. package/components/More/More.js +3 -86
  186. package/components/More/index.js +1 -53
  187. package/components/More/types.js +0 -1
  188. package/components/Pagination/Pagination.js +2 -59
  189. package/components/Pagination/consts.d.ts +1 -1
  190. package/components/Pagination/consts.js +1 -8
  191. package/components/Pagination/index.js +1 -10
  192. package/components/Pagination/types.js +0 -1
  193. package/components/Popover/Popover.js +1 -52
  194. package/components/Popover/PopoverDesktop.js +1 -71
  195. package/components/Popover/PopoverMobile.js +3 -52
  196. package/components/Popover/index.js +1 -52
  197. package/components/Popover/types.d.ts +2 -1
  198. package/components/Popover/types.js +0 -1
  199. package/components/Progress/Progress.js +4 -57
  200. package/components/Progress/index.js +1 -2
  201. package/components/Progress/types.js +0 -1
  202. package/components/ProgressStep/ProgressStep.js +2 -39
  203. package/components/ProgressStep/Step.js +9 -101
  204. package/components/ProgressStep/consts.js +1 -9
  205. package/components/ProgressStep/index.js +1 -12
  206. package/components/ProgressStep/types.js +1 -7
  207. package/components/Radio/Radio.js +4 -58
  208. package/components/Radio/RadioGroup.js +4 -113
  209. package/components/Radio/index.js +1 -55
  210. package/components/Radio/types.js +0 -1
  211. package/components/SVGIcons/IconAdd.d.ts +2 -2
  212. package/components/SVGIcons/IconAdd.js +1 -29
  213. package/components/SVGIcons/IconAddCircle.d.ts +2 -2
  214. package/components/SVGIcons/IconAddCircle.js +1 -32
  215. package/components/SVGIcons/IconAddCircleFilled.d.ts +2 -2
  216. package/components/SVGIcons/IconAddCircleFilled.js +1 -32
  217. package/components/SVGIcons/IconAddFilled.d.ts +2 -2
  218. package/components/SVGIcons/IconAddFilled.js +1 -29
  219. package/components/SVGIcons/IconAirplaneTakeOff.d.ts +4 -0
  220. package/components/SVGIcons/IconAirplaneTakeOff.js +1 -0
  221. package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +4 -0
  222. package/components/SVGIcons/IconAirplaneTakeOffFilled.js +1 -0
  223. package/components/SVGIcons/IconAlert.d.ts +2 -2
  224. package/components/SVGIcons/IconAlert.js +1 -32
  225. package/components/SVGIcons/IconAlertBadge.d.ts +2 -2
  226. package/components/SVGIcons/IconAlertBadge.js +1 -32
  227. package/components/SVGIcons/IconAlertBadgeFilled.d.ts +2 -2
  228. package/components/SVGIcons/IconAlertBadgeFilled.js +1 -32
  229. package/components/SVGIcons/IconAlertFilled.d.ts +2 -2
  230. package/components/SVGIcons/IconAlertFilled.js +1 -32
  231. package/components/SVGIcons/IconAm.d.ts +2 -2
  232. package/components/SVGIcons/IconAm.js +7 -58
  233. package/components/SVGIcons/IconAmd.d.ts +2 -2
  234. package/components/SVGIcons/IconAmd.js +1 -29
  235. package/components/SVGIcons/IconAmdFilled.d.ts +2 -2
  236. package/components/SVGIcons/IconAmdFilled.js +1 -29
  237. package/components/SVGIcons/IconApple.d.ts +2 -2
  238. package/components/SVGIcons/IconApple.js +1 -32
  239. package/components/SVGIcons/IconArrowDown.d.ts +2 -2
  240. package/components/SVGIcons/IconArrowDown.js +1 -32
  241. package/components/SVGIcons/IconArrowDownFilled.d.ts +2 -2
  242. package/components/SVGIcons/IconArrowDownFilled.js +1 -32
  243. package/components/SVGIcons/IconArrowDownLeft.d.ts +2 -2
  244. package/components/SVGIcons/IconArrowDownLeft.js +1 -32
  245. package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +2 -2
  246. package/components/SVGIcons/IconArrowDownLeftFilled.js +1 -32
  247. package/components/SVGIcons/IconArrowDownload.d.ts +2 -2
  248. package/components/SVGIcons/IconArrowDownload.js +1 -32
  249. package/components/SVGIcons/IconArrowDownloadFilled.d.ts +2 -2
  250. package/components/SVGIcons/IconArrowDownloadFilled.js +1 -32
  251. package/components/SVGIcons/IconArrowEnter.d.ts +2 -2
  252. package/components/SVGIcons/IconArrowEnter.js +1 -29
  253. package/components/SVGIcons/IconArrowEnterFilled.d.ts +2 -2
  254. package/components/SVGIcons/IconArrowEnterFilled.js +1 -29
  255. package/components/SVGIcons/IconArrowExit.d.ts +2 -2
  256. package/components/SVGIcons/IconArrowExit.js +1 -29
  257. package/components/SVGIcons/IconArrowExitFilled.d.ts +2 -2
  258. package/components/SVGIcons/IconArrowExitFilled.js +1 -29
  259. package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +2 -2
  260. package/components/SVGIcons/IconArrowExportLeftToRight.js +1 -32
  261. package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +2 -2
  262. package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +1 -32
  263. package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +2 -2
  264. package/components/SVGIcons/IconArrowExportRightToLeft.js +1 -32
  265. package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +2 -2
  266. package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +1 -32
  267. package/components/SVGIcons/IconArrowExportUp.d.ts +2 -2
  268. package/components/SVGIcons/IconArrowExportUp.js +1 -32
  269. package/components/SVGIcons/IconArrowExportUpFilled.d.ts +2 -2
  270. package/components/SVGIcons/IconArrowExportUpFilled.js +1 -32
  271. package/components/SVGIcons/IconArrowImport.d.ts +2 -2
  272. package/components/SVGIcons/IconArrowImport.js +1 -32
  273. package/components/SVGIcons/IconArrowImportFilled.d.ts +2 -2
  274. package/components/SVGIcons/IconArrowImportFilled.js +1 -32
  275. package/components/SVGIcons/IconArrowLeft.d.ts +2 -2
  276. package/components/SVGIcons/IconArrowLeft.js +1 -32
  277. package/components/SVGIcons/IconArrowLeftFilled.d.ts +2 -2
  278. package/components/SVGIcons/IconArrowLeftFilled.js +1 -32
  279. package/components/SVGIcons/IconArrowRepeatAll.d.ts +2 -2
  280. package/components/SVGIcons/IconArrowRepeatAll.js +1 -32
  281. package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +2 -2
  282. package/components/SVGIcons/IconArrowRepeatAllFilled.js +1 -32
  283. package/components/SVGIcons/IconArrowReset.d.ts +2 -2
  284. package/components/SVGIcons/IconArrowReset.js +1 -32
  285. package/components/SVGIcons/IconArrowResetFilled.d.ts +2 -2
  286. package/components/SVGIcons/IconArrowResetFilled.js +1 -32
  287. package/components/SVGIcons/IconArrowRight.d.ts +2 -2
  288. package/components/SVGIcons/IconArrowRight.js +1 -32
  289. package/components/SVGIcons/IconArrowRightFilled.d.ts +2 -2
  290. package/components/SVGIcons/IconArrowRightFilled.js +1 -32
  291. package/components/SVGIcons/IconArrowSort.d.ts +2 -2
  292. package/components/SVGIcons/IconArrowSort.js +1 -29
  293. package/components/SVGIcons/IconArrowSortFilled.d.ts +2 -2
  294. package/components/SVGIcons/IconArrowSortFilled.js +1 -29
  295. package/components/SVGIcons/IconArrowSync.d.ts +2 -2
  296. package/components/SVGIcons/IconArrowSync.js +1 -29
  297. package/components/SVGIcons/IconArrowSyncFilled.d.ts +2 -2
  298. package/components/SVGIcons/IconArrowSyncFilled.js +1 -29
  299. package/components/SVGIcons/IconArrowUp.d.ts +2 -2
  300. package/components/SVGIcons/IconArrowUp.js +1 -32
  301. package/components/SVGIcons/IconArrowUpFilled.d.ts +2 -2
  302. package/components/SVGIcons/IconArrowUpFilled.js +1 -32
  303. package/components/SVGIcons/IconArrowUpLeft.d.ts +2 -2
  304. package/components/SVGIcons/IconArrowUpLeft.js +1 -32
  305. package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +2 -2
  306. package/components/SVGIcons/IconArrowUpLeftFilled.js +1 -32
  307. package/components/SVGIcons/IconArrowUpRight.d.ts +2 -2
  308. package/components/SVGIcons/IconArrowUpRight.js +1 -32
  309. package/components/SVGIcons/IconArrowUpRightFilled.d.ts +2 -2
  310. package/components/SVGIcons/IconArrowUpRightFilled.js +1 -32
  311. package/components/SVGIcons/IconAttach.d.ts +2 -2
  312. package/components/SVGIcons/IconAttach.js +1 -32
  313. package/components/SVGIcons/IconAttachFilled.d.ts +2 -2
  314. package/components/SVGIcons/IconAttachFilled.js +1 -32
  315. package/components/SVGIcons/IconBeach.d.ts +2 -2
  316. package/components/SVGIcons/IconBeach.js +1 -29
  317. package/components/SVGIcons/IconBeachFilled.d.ts +2 -2
  318. package/components/SVGIcons/IconBeachFilled.js +1 -29
  319. package/components/SVGIcons/IconBook.d.ts +2 -2
  320. package/components/SVGIcons/IconBook.js +1 -32
  321. package/components/SVGIcons/IconBookFilled.d.ts +2 -2
  322. package/components/SVGIcons/IconBookFilled.js +1 -32
  323. package/components/SVGIcons/IconBookmark.d.ts +2 -2
  324. package/components/SVGIcons/IconBookmark.js +1 -32
  325. package/components/SVGIcons/IconBookmarkFilled.d.ts +2 -2
  326. package/components/SVGIcons/IconBookmarkFilled.js +1 -32
  327. package/components/SVGIcons/IconBriefcase.d.ts +2 -2
  328. package/components/SVGIcons/IconBriefcase.js +1 -32
  329. package/components/SVGIcons/IconBriefcaseFilled.d.ts +2 -2
  330. package/components/SVGIcons/IconBriefcaseFilled.js +1 -32
  331. package/components/SVGIcons/IconBudgetTransfer.d.ts +4 -0
  332. package/components/SVGIcons/IconBudgetTransfer.js +7 -0
  333. package/components/SVGIcons/IconBuilding.d.ts +2 -2
  334. package/components/SVGIcons/IconBuilding.js +7 -55
  335. package/components/SVGIcons/IconBuildingBank.d.ts +2 -2
  336. package/components/SVGIcons/IconBuildingBank.js +1 -29
  337. package/components/SVGIcons/IconBuildingBankFilled.d.ts +2 -2
  338. package/components/SVGIcons/IconBuildingBankFilled.js +1 -29
  339. package/components/SVGIcons/IconBuildingFilled.d.ts +2 -2
  340. package/components/SVGIcons/IconBuildingFilled.js +1 -32
  341. package/components/SVGIcons/IconBulletListAdd.d.ts +2 -2
  342. package/components/SVGIcons/IconBulletListAdd.js +1 -32
  343. package/components/SVGIcons/IconBulletListAddFilled.d.ts +2 -2
  344. package/components/SVGIcons/IconBulletListAddFilled.js +1 -32
  345. package/components/SVGIcons/IconCalculator.d.ts +2 -2
  346. package/components/SVGIcons/IconCalculator.js +1 -32
  347. package/components/SVGIcons/IconCalculatorFilled.d.ts +2 -2
  348. package/components/SVGIcons/IconCalculatorFilled.js +1 -32
  349. package/components/SVGIcons/IconCalendarClock.d.ts +2 -2
  350. package/components/SVGIcons/IconCalendarClock.js +1 -29
  351. package/components/SVGIcons/IconCalendarClockFilled.d.ts +2 -2
  352. package/components/SVGIcons/IconCalendarClockFilled.js +1 -29
  353. package/components/SVGIcons/IconCalendarDay.d.ts +2 -2
  354. package/components/SVGIcons/IconCalendarDay.js +1 -32
  355. package/components/SVGIcons/IconCalendarDayFilled.d.ts +2 -2
  356. package/components/SVGIcons/IconCalendarDayFilled.js +1 -32
  357. package/components/SVGIcons/IconCalendarEmpty.d.ts +2 -2
  358. package/components/SVGIcons/IconCalendarEmpty.js +1 -29
  359. package/components/SVGIcons/IconCalendarLeft.d.ts +2 -2
  360. package/components/SVGIcons/IconCalendarLeft.js +1 -29
  361. package/components/SVGIcons/IconCalendarLeftFilled.d.ts +2 -2
  362. package/components/SVGIcons/IconCalendarLeftFilled.js +1 -29
  363. package/components/SVGIcons/IconCalendarRight.d.ts +2 -2
  364. package/components/SVGIcons/IconCalendarRight.js +1 -29
  365. package/components/SVGIcons/IconCalendarRightFilled.d.ts +2 -2
  366. package/components/SVGIcons/IconCalendarRightFilled.js +1 -29
  367. package/components/SVGIcons/IconCall.d.ts +2 -2
  368. package/components/SVGIcons/IconCall.js +1 -32
  369. package/components/SVGIcons/IconCallFilled.d.ts +2 -2
  370. package/components/SVGIcons/IconCallFilled.js +1 -32
  371. package/components/SVGIcons/IconCard.d.ts +2 -2
  372. package/components/SVGIcons/IconCard.js +1 -29
  373. package/components/SVGIcons/IconCardFilled.d.ts +2 -2
  374. package/components/SVGIcons/IconCardFilled.js +1 -29
  375. package/components/SVGIcons/IconCaretDown.d.ts +2 -2
  376. package/components/SVGIcons/IconCaretDown.js +1 -29
  377. package/components/SVGIcons/IconCaretDownFilled.d.ts +2 -2
  378. package/components/SVGIcons/IconCaretDownFilled.js +1 -29
  379. package/components/SVGIcons/IconCaretDownRight.d.ts +2 -2
  380. package/components/SVGIcons/IconCaretDownRight.js +1 -29
  381. package/components/SVGIcons/IconCaretDownRightFilled.d.ts +2 -2
  382. package/components/SVGIcons/IconCaretDownRightFilled.js +1 -29
  383. package/components/SVGIcons/IconCaretLeft.d.ts +2 -2
  384. package/components/SVGIcons/IconCaretLeft.js +1 -29
  385. package/components/SVGIcons/IconCaretLeftFilled.d.ts +2 -2
  386. package/components/SVGIcons/IconCaretLeftFilled.js +1 -29
  387. package/components/SVGIcons/IconCaretRight.d.ts +2 -2
  388. package/components/SVGIcons/IconCaretRight.js +1 -29
  389. package/components/SVGIcons/IconCaretRightFilled.d.ts +2 -2
  390. package/components/SVGIcons/IconCaretRightFilled.js +1 -29
  391. package/components/SVGIcons/IconCaretUp.d.ts +2 -2
  392. package/components/SVGIcons/IconCaretUp.js +1 -29
  393. package/components/SVGIcons/IconCaretUpFilled.d.ts +2 -2
  394. package/components/SVGIcons/IconCaretUpFilled.js +1 -29
  395. package/components/SVGIcons/IconChartPerson.d.ts +4 -0
  396. package/components/SVGIcons/IconChartPerson.js +1 -0
  397. package/components/SVGIcons/IconChartPersonFilled.d.ts +4 -0
  398. package/components/SVGIcons/IconChartPersonFilled.js +1 -0
  399. package/components/SVGIcons/IconChat.d.ts +2 -2
  400. package/components/SVGIcons/IconChat.js +1 -29
  401. package/components/SVGIcons/IconChatFilled.d.ts +2 -2
  402. package/components/SVGIcons/IconChatFilled.js +1 -29
  403. package/components/SVGIcons/IconChatMultiple.d.ts +2 -2
  404. package/components/SVGIcons/IconChatMultiple.js +1 -29
  405. package/components/SVGIcons/IconChatMultipleFilled.d.ts +2 -2
  406. package/components/SVGIcons/IconChatMultipleFilled.js +1 -29
  407. package/components/SVGIcons/IconCheckboxArrowRight.d.ts +2 -2
  408. package/components/SVGIcons/IconCheckboxArrowRight.js +1 -32
  409. package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +2 -2
  410. package/components/SVGIcons/IconCheckboxArrowRightFilled.js +1 -32
  411. package/components/SVGIcons/IconCheckmark.d.ts +2 -2
  412. package/components/SVGIcons/IconCheckmark.js +1 -29
  413. package/components/SVGIcons/IconCheckmarkCircle.d.ts +2 -2
  414. package/components/SVGIcons/IconCheckmarkCircle.js +1 -29
  415. package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +2 -2
  416. package/components/SVGIcons/IconCheckmarkCircleFilled.js +1 -29
  417. package/components/SVGIcons/IconCheckmarkFilled.d.ts +2 -2
  418. package/components/SVGIcons/IconCheckmarkFilled.js +1 -29
  419. package/components/SVGIcons/IconChevronDoubleLeft.d.ts +4 -0
  420. package/components/SVGIcons/IconChevronDoubleLeft.js +1 -0
  421. package/components/SVGIcons/IconChevronDoubleRight.d.ts +4 -0
  422. package/components/SVGIcons/IconChevronDoubleRight.js +1 -0
  423. package/components/SVGIcons/IconChevronDown.d.ts +2 -2
  424. package/components/SVGIcons/IconChevronDown.js +1 -29
  425. package/components/SVGIcons/IconChevronDownFilled.d.ts +2 -2
  426. package/components/SVGIcons/IconChevronDownFilled.js +1 -29
  427. package/components/SVGIcons/IconChevronLeft.d.ts +2 -2
  428. package/components/SVGIcons/IconChevronLeft.js +1 -29
  429. package/components/SVGIcons/IconChevronLeftFilled.d.ts +2 -2
  430. package/components/SVGIcons/IconChevronLeftFilled.js +1 -29
  431. package/components/SVGIcons/IconChevronRight.d.ts +2 -2
  432. package/components/SVGIcons/IconChevronRight.js +1 -29
  433. package/components/SVGIcons/IconChevronRightFilled.d.ts +2 -2
  434. package/components/SVGIcons/IconChevronRightFilled.js +1 -29
  435. package/components/SVGIcons/IconChevronUp.d.ts +2 -2
  436. package/components/SVGIcons/IconChevronUp.js +1 -29
  437. package/components/SVGIcons/IconChevronUpDown.d.ts +2 -2
  438. package/components/SVGIcons/IconChevronUpDown.js +1 -32
  439. package/components/SVGIcons/IconChevronUpDownFilled.d.ts +2 -2
  440. package/components/SVGIcons/IconChevronUpDownFilled.js +1 -32
  441. package/components/SVGIcons/IconChevronUpFilled.d.ts +2 -2
  442. package/components/SVGIcons/IconChevronUpFilled.js +1 -29
  443. package/components/SVGIcons/IconClipboardDay.d.ts +2 -2
  444. package/components/SVGIcons/IconClipboardDay.js +1 -29
  445. package/components/SVGIcons/IconClock.d.ts +2 -2
  446. package/components/SVGIcons/IconClock.js +1 -32
  447. package/components/SVGIcons/IconClockDismiss.d.ts +2 -2
  448. package/components/SVGIcons/IconClockDismiss.js +1 -29
  449. package/components/SVGIcons/IconClockDismissFilled.d.ts +2 -2
  450. package/components/SVGIcons/IconClockDismissFilled.js +1 -29
  451. package/components/SVGIcons/IconClockFilled.d.ts +2 -2
  452. package/components/SVGIcons/IconClockFilled.js +1 -32
  453. package/components/SVGIcons/IconComment.d.ts +2 -2
  454. package/components/SVGIcons/IconComment.js +1 -32
  455. package/components/SVGIcons/IconCommentFilled.d.ts +2 -2
  456. package/components/SVGIcons/IconCommentFilled.js +1 -32
  457. package/components/SVGIcons/IconContractCard.d.ts +2 -2
  458. package/components/SVGIcons/IconContractCard.js +1 -29
  459. package/components/SVGIcons/IconContractCardFilled.d.ts +2 -2
  460. package/components/SVGIcons/IconContractCardFilled.js +1 -29
  461. package/components/SVGIcons/IconCopy.d.ts +2 -2
  462. package/components/SVGIcons/IconCopy.js +1 -29
  463. package/components/SVGIcons/IconCopyFilled.d.ts +2 -2
  464. package/components/SVGIcons/IconCopyFilled.js +1 -29
  465. package/components/SVGIcons/IconCubeTree.d.ts +2 -2
  466. package/components/SVGIcons/IconCubeTree.js +1 -29
  467. package/components/SVGIcons/IconCubeTreeFilled.d.ts +2 -2
  468. package/components/SVGIcons/IconCubeTreeFilled.js +1 -32
  469. package/components/SVGIcons/IconDatabase.d.ts +2 -2
  470. package/components/SVGIcons/IconDatabase.js +1 -32
  471. package/components/SVGIcons/IconDatabaseFilled.d.ts +2 -2
  472. package/components/SVGIcons/IconDatabaseFilled.js +1 -32
  473. package/components/SVGIcons/IconDelete.d.ts +2 -2
  474. package/components/SVGIcons/IconDelete.js +1 -29
  475. package/components/SVGIcons/IconDeleteFilled.d.ts +2 -2
  476. package/components/SVGIcons/IconDeleteFilled.js +1 -29
  477. package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +2 -2
  478. package/components/SVGIcons/IconDeviceMeetingRoom.js +1 -29
  479. package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +2 -2
  480. package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +1 -29
  481. package/components/SVGIcons/IconDismiss.d.ts +2 -2
  482. package/components/SVGIcons/IconDismiss.js +1 -29
  483. package/components/SVGIcons/IconDismissCircle.d.ts +2 -2
  484. package/components/SVGIcons/IconDismissCircle.js +1 -32
  485. package/components/SVGIcons/IconDismissCircleFilled.d.ts +2 -2
  486. package/components/SVGIcons/IconDismissCircleFilled.js +1 -32
  487. package/components/SVGIcons/IconDismissFilled.d.ts +2 -2
  488. package/components/SVGIcons/IconDismissFilled.js +1 -29
  489. package/components/SVGIcons/IconDocument.d.ts +2 -2
  490. package/components/SVGIcons/IconDocument.js +1 -29
  491. package/components/SVGIcons/IconDocumentBulletList.d.ts +2 -2
  492. package/components/SVGIcons/IconDocumentBulletList.js +1 -32
  493. package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +2 -2
  494. package/components/SVGIcons/IconDocumentBulletListFilled.js +1 -32
  495. package/components/SVGIcons/IconDocumentEdit.d.ts +2 -2
  496. package/components/SVGIcons/IconDocumentEdit.js +1 -29
  497. package/components/SVGIcons/IconDocumentEditFilled.d.ts +2 -2
  498. package/components/SVGIcons/IconDocumentEditFilled.js +1 -29
  499. package/components/SVGIcons/IconDocumentFilled.d.ts +2 -2
  500. package/components/SVGIcons/IconDocumentFilled.js +1 -29
  501. package/components/SVGIcons/IconDocumentPerson.d.ts +2 -2
  502. package/components/SVGIcons/IconDocumentPerson.js +1 -29
  503. package/components/SVGIcons/IconEdit.d.ts +2 -2
  504. package/components/SVGIcons/IconEdit.js +1 -29
  505. package/components/SVGIcons/IconEditFilled.d.ts +2 -2
  506. package/components/SVGIcons/IconEditFilled.js +1 -29
  507. package/components/SVGIcons/IconErrorCircle.d.ts +2 -2
  508. package/components/SVGIcons/IconErrorCircle.js +1 -29
  509. package/components/SVGIcons/IconErrorCircleFilled.d.ts +2 -2
  510. package/components/SVGIcons/IconErrorCircleFilled.js +1 -29
  511. package/components/SVGIcons/IconEur.d.ts +2 -2
  512. package/components/SVGIcons/IconEur.js +1 -29
  513. package/components/SVGIcons/IconEurFilled.d.ts +2 -2
  514. package/components/SVGIcons/IconEurFilled.js +1 -29
  515. package/components/SVGIcons/IconExpandUpLeft.d.ts +2 -2
  516. package/components/SVGIcons/IconExpandUpLeft.js +1 -32
  517. package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +2 -2
  518. package/components/SVGIcons/IconExpandUpLeftFilled.js +1 -32
  519. package/components/SVGIcons/IconExpandUpRight.d.ts +2 -2
  520. package/components/SVGIcons/IconExpandUpRight.js +1 -32
  521. package/components/SVGIcons/IconExpandUpRightFilled.d.ts +2 -2
  522. package/components/SVGIcons/IconExpandUpRightFilled.js +1 -32
  523. package/components/SVGIcons/IconEyeOff.d.ts +2 -2
  524. package/components/SVGIcons/IconEyeOff.js +1 -32
  525. package/components/SVGIcons/IconEyeOffFilled.d.ts +2 -2
  526. package/components/SVGIcons/IconEyeOffFilled.js +1 -32
  527. package/components/SVGIcons/IconEyeOn.d.ts +2 -2
  528. package/components/SVGIcons/IconEyeOn.js +1 -32
  529. package/components/SVGIcons/IconEyeOnFilled.d.ts +2 -2
  530. package/components/SVGIcons/IconEyeOnFilled.js +1 -32
  531. package/components/SVGIcons/IconFacebook.d.ts +2 -2
  532. package/components/SVGIcons/IconFacebook.js +3 -39
  533. package/components/SVGIcons/IconFastAcceleration.d.ts +4 -0
  534. package/components/SVGIcons/IconFastAcceleration.js +1 -0
  535. package/components/SVGIcons/IconFastAccelerationFilled.d.ts +4 -0
  536. package/components/SVGIcons/IconFastAccelerationFilled.js +1 -0
  537. package/components/SVGIcons/IconFeed.d.ts +4 -0
  538. package/components/SVGIcons/IconFeed.js +1 -0
  539. package/components/SVGIcons/IconFeedFilled.d.ts +4 -0
  540. package/components/SVGIcons/IconFeedFilled.js +1 -0
  541. package/components/SVGIcons/IconFilter.d.ts +2 -2
  542. package/components/SVGIcons/IconFilter.js +1 -29
  543. package/components/SVGIcons/IconFilterFilled.d.ts +2 -2
  544. package/components/SVGIcons/IconFilterFilled.js +1 -29
  545. package/components/SVGIcons/IconFlag.d.ts +2 -2
  546. package/components/SVGIcons/IconFlag.js +1 -32
  547. package/components/SVGIcons/IconFlagFilled.d.ts +2 -2
  548. package/components/SVGIcons/IconFlagFilled.js +1 -32
  549. package/components/SVGIcons/IconFolderLink.d.ts +2 -2
  550. package/components/SVGIcons/IconFolderLink.js +1 -29
  551. package/components/SVGIcons/IconFolderLinkFilled.d.ts +2 -2
  552. package/components/SVGIcons/IconFolderLinkFilled.js +1 -29
  553. package/components/SVGIcons/IconFood.d.ts +2 -2
  554. package/components/SVGIcons/IconFood.js +1 -29
  555. package/components/SVGIcons/IconFoodFilled.d.ts +2 -2
  556. package/components/SVGIcons/IconFoodFilled.js +1 -29
  557. package/components/SVGIcons/IconGb.d.ts +2 -2
  558. package/components/SVGIcons/IconGb.js +11 -72
  559. package/components/SVGIcons/IconGlobe.d.ts +2 -2
  560. package/components/SVGIcons/IconGlobe.js +1 -29
  561. package/components/SVGIcons/IconGlobeFilled.d.ts +2 -2
  562. package/components/SVGIcons/IconGlobeFilled.js +1 -29
  563. package/components/SVGIcons/IconGoogle.d.ts +2 -2
  564. package/components/SVGIcons/IconGoogle.js +3 -41
  565. package/components/SVGIcons/IconHandOpenHeart.d.ts +2 -2
  566. package/components/SVGIcons/IconHandOpenHeart.js +1 -32
  567. package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +2 -2
  568. package/components/SVGIcons/IconHandOpenHeartFilled.js +1 -32
  569. package/components/SVGIcons/IconHeart.d.ts +2 -2
  570. package/components/SVGIcons/IconHeart.js +1 -32
  571. package/components/SVGIcons/IconHeartFilled.d.ts +2 -2
  572. package/components/SVGIcons/IconHeartFilled.js +1 -32
  573. package/components/SVGIcons/IconHistory.d.ts +2 -2
  574. package/components/SVGIcons/IconHistory.js +1 -32
  575. package/components/SVGIcons/IconHistoryFilled.d.ts +2 -2
  576. package/components/SVGIcons/IconHistoryFilled.js +1 -32
  577. package/components/SVGIcons/IconHome.d.ts +2 -2
  578. package/components/SVGIcons/IconHome.js +1 -32
  579. package/components/SVGIcons/IconHomeFilled.d.ts +2 -2
  580. package/components/SVGIcons/IconHomeFilled.js +1 -32
  581. package/components/SVGIcons/IconImage.d.ts +2 -2
  582. package/components/SVGIcons/IconImage.js +1 -32
  583. package/components/SVGIcons/IconImageFilled.d.ts +2 -2
  584. package/components/SVGIcons/IconImageFilled.js +1 -32
  585. package/components/SVGIcons/IconInfo.d.ts +2 -2
  586. package/components/SVGIcons/IconInfo.js +1 -29
  587. package/components/SVGIcons/IconInfoFilled.d.ts +2 -2
  588. package/components/SVGIcons/IconInfoFilled.js +1 -29
  589. package/components/SVGIcons/IconInstagram.d.ts +2 -2
  590. package/components/SVGIcons/IconInstagram.js +4 -40
  591. package/components/SVGIcons/IconKeyReset.d.ts +2 -2
  592. package/components/SVGIcons/IconKeyReset.js +1 -32
  593. package/components/SVGIcons/IconKeyResetFilled.d.ts +2 -2
  594. package/components/SVGIcons/IconKeyResetFilled.js +1 -32
  595. package/components/SVGIcons/IconLibrary.d.ts +4 -0
  596. package/components/SVGIcons/IconLibrary.js +1 -0
  597. package/components/SVGIcons/IconLibraryFilled.d.ts +4 -0
  598. package/components/SVGIcons/IconLibraryFilled.js +1 -0
  599. package/components/SVGIcons/IconLink.d.ts +2 -2
  600. package/components/SVGIcons/IconLink.js +1 -32
  601. package/components/SVGIcons/IconLinkFilled.d.ts +2 -2
  602. package/components/SVGIcons/IconLinkFilled.js +1 -32
  603. package/components/SVGIcons/IconLinkedin.d.ts +2 -2
  604. package/components/SVGIcons/IconLinkedin.js +1 -32
  605. package/components/SVGIcons/IconList.d.ts +2 -2
  606. package/components/SVGIcons/IconList.js +1 -29
  607. package/components/SVGIcons/IconListFilled.d.ts +2 -2
  608. package/components/SVGIcons/IconListFilled.js +1 -32
  609. package/components/SVGIcons/IconLocation.d.ts +2 -2
  610. package/components/SVGIcons/IconLocation.js +1 -32
  611. package/components/SVGIcons/IconLocationFilled.d.ts +2 -2
  612. package/components/SVGIcons/IconLocationFilled.js +1 -32
  613. package/components/SVGIcons/IconLockClosed.d.ts +2 -2
  614. package/components/SVGIcons/IconLockClosed.js +1 -32
  615. package/components/SVGIcons/IconLockClosedFilled.d.ts +2 -2
  616. package/components/SVGIcons/IconLockClosedFilled.js +1 -32
  617. package/components/SVGIcons/IconLockOpen.d.ts +2 -2
  618. package/components/SVGIcons/IconLockOpen.js +1 -32
  619. package/components/SVGIcons/IconLockOpenFilled.d.ts +2 -2
  620. package/components/SVGIcons/IconLockOpenFilled.js +1 -32
  621. package/components/SVGIcons/IconMail.d.ts +2 -2
  622. package/components/SVGIcons/IconMail.js +1 -32
  623. package/components/SVGIcons/IconMailAdd.d.ts +2 -2
  624. package/components/SVGIcons/IconMailAdd.js +1 -32
  625. package/components/SVGIcons/IconMailAddFilled.d.ts +2 -2
  626. package/components/SVGIcons/IconMailAddFilled.js +1 -32
  627. package/components/SVGIcons/IconMailArrowForward.d.ts +2 -2
  628. package/components/SVGIcons/IconMailArrowForward.js +1 -32
  629. package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +2 -2
  630. package/components/SVGIcons/IconMailArrowForwardFilled.js +1 -32
  631. package/components/SVGIcons/IconMailFilled.d.ts +2 -2
  632. package/components/SVGIcons/IconMailFilled.js +1 -32
  633. package/components/SVGIcons/IconMailLink.d.ts +2 -2
  634. package/components/SVGIcons/IconMailLink.js +1 -32
  635. package/components/SVGIcons/IconMailLinkFilled.d.ts +2 -2
  636. package/components/SVGIcons/IconMailLinkFilled.js +1 -32
  637. package/components/SVGIcons/IconMedium.d.ts +2 -2
  638. package/components/SVGIcons/IconMedium.js +1 -32
  639. package/components/SVGIcons/IconMoon.d.ts +4 -0
  640. package/components/SVGIcons/IconMoon.js +1 -0
  641. package/components/SVGIcons/IconMore.d.ts +2 -2
  642. package/components/SVGIcons/IconMore.js +1 -32
  643. package/components/SVGIcons/IconMoreFilled.d.ts +2 -2
  644. package/components/SVGIcons/IconMoreFilled.js +1 -32
  645. package/components/SVGIcons/IconMoreVertical.d.ts +2 -2
  646. package/components/SVGIcons/IconMoreVertical.js +1 -32
  647. package/components/SVGIcons/IconMoreVerticalFilled.d.ts +2 -2
  648. package/components/SVGIcons/IconMoreVerticalFilled.js +1 -32
  649. package/components/SVGIcons/IconNavigation.d.ts +2 -2
  650. package/components/SVGIcons/IconNavigation.js +1 -32
  651. package/components/SVGIcons/IconNavigationFilled.d.ts +2 -2
  652. package/components/SVGIcons/IconNavigationFilled.js +1 -32
  653. package/components/SVGIcons/IconNotebook.d.ts +2 -2
  654. package/components/SVGIcons/IconNotebook.js +1 -32
  655. package/components/SVGIcons/IconNotebookAdd.d.ts +2 -2
  656. package/components/SVGIcons/IconNotebookAdd.js +7 -48
  657. package/components/SVGIcons/IconNotebookAddFilled.d.ts +2 -2
  658. package/components/SVGIcons/IconNotebookAddFilled.js +6 -45
  659. package/components/SVGIcons/IconNotebookFilled.d.ts +2 -2
  660. package/components/SVGIcons/IconNotebookFilled.js +1 -32
  661. package/components/SVGIcons/IconOnlyEmployee.d.ts +2 -2
  662. package/components/SVGIcons/IconOnlyEmployee.js +1 -29
  663. package/components/SVGIcons/IconOpen.d.ts +2 -2
  664. package/components/SVGIcons/IconOpen.js +1 -32
  665. package/components/SVGIcons/IconOpenFilled.d.ts +2 -2
  666. package/components/SVGIcons/IconOpenFilled.js +1 -32
  667. package/components/SVGIcons/IconPatient.d.ts +2 -2
  668. package/components/SVGIcons/IconPatient.js +1 -29
  669. package/components/SVGIcons/IconPatientFilled.d.ts +2 -2
  670. package/components/SVGIcons/IconPatientFilled.js +1 -29
  671. package/components/SVGIcons/IconPeople.d.ts +2 -2
  672. package/components/SVGIcons/IconPeople.js +1 -29
  673. package/components/SVGIcons/IconPeopleAdd.d.ts +2 -2
  674. package/components/SVGIcons/IconPeopleAdd.js +1 -32
  675. package/components/SVGIcons/IconPeopleAddFilled.d.ts +2 -2
  676. package/components/SVGIcons/IconPeopleAddFilled.js +1 -32
  677. package/components/SVGIcons/IconPeopleFilled.d.ts +2 -2
  678. package/components/SVGIcons/IconPeopleFilled.js +1 -32
  679. package/components/SVGIcons/IconPeopleList.d.ts +4 -0
  680. package/components/SVGIcons/IconPeopleList.js +1 -0
  681. package/components/SVGIcons/IconPeopleListFilled.d.ts +4 -0
  682. package/components/SVGIcons/IconPeopleListFilled.js +1 -0
  683. package/components/SVGIcons/IconPeopleTeam.d.ts +4 -0
  684. package/components/SVGIcons/IconPeopleTeam.js +1 -0
  685. package/components/SVGIcons/IconPeopleTeamFilled.d.ts +4 -0
  686. package/components/SVGIcons/IconPeopleTeamFilled.js +1 -0
  687. package/components/SVGIcons/IconPercent.d.ts +2 -2
  688. package/components/SVGIcons/IconPercent.js +1 -34
  689. package/components/SVGIcons/IconPerson.d.ts +2 -2
  690. package/components/SVGIcons/IconPerson.js +1 -32
  691. package/components/SVGIcons/IconPersonAccount.d.ts +2 -2
  692. package/components/SVGIcons/IconPersonAccount.js +1 -29
  693. package/components/SVGIcons/IconPersonAccountFilled.d.ts +2 -2
  694. package/components/SVGIcons/IconPersonAccountFilled.js +1 -29
  695. package/components/SVGIcons/IconPersonAdd.d.ts +2 -2
  696. package/components/SVGIcons/IconPersonAdd.js +1 -32
  697. package/components/SVGIcons/IconPersonAddFilled.d.ts +2 -2
  698. package/components/SVGIcons/IconPersonAddFilled.js +1 -32
  699. package/components/SVGIcons/IconPersonArrowLeft.d.ts +2 -2
  700. package/components/SVGIcons/IconPersonArrowLeft.js +1 -29
  701. package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +2 -2
  702. package/components/SVGIcons/IconPersonArrowLeftFilled.js +1 -29
  703. package/components/SVGIcons/IconPersonArrowRight.d.ts +2 -2
  704. package/components/SVGIcons/IconPersonArrowRight.js +1 -29
  705. package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +2 -2
  706. package/components/SVGIcons/IconPersonArrowRightFilled.js +1 -29
  707. package/components/SVGIcons/IconPersonBoard.d.ts +2 -2
  708. package/components/SVGIcons/IconPersonBoard.js +1 -29
  709. package/components/SVGIcons/IconPersonFilled.d.ts +2 -2
  710. package/components/SVGIcons/IconPersonFilled.js +1 -32
  711. package/components/SVGIcons/IconPersonMinus.d.ts +2 -2
  712. package/components/SVGIcons/IconPersonMinus.js +1 -29
  713. package/components/SVGIcons/IconPersonStar.d.ts +2 -2
  714. package/components/SVGIcons/IconPersonStar.js +1 -32
  715. package/components/SVGIcons/IconPersonStarFilled.d.ts +2 -2
  716. package/components/SVGIcons/IconPersonStarFilled.js +1 -32
  717. package/components/SVGIcons/IconPersonSubtract.d.ts +2 -2
  718. package/components/SVGIcons/IconPersonSubtract.js +1 -32
  719. package/components/SVGIcons/IconPersonSubtractFilled.d.ts +2 -2
  720. package/components/SVGIcons/IconPersonSubtractFilled.js +1 -32
  721. package/components/SVGIcons/IconPhone.d.ts +2 -2
  722. package/components/SVGIcons/IconPhone.js +1 -32
  723. package/components/SVGIcons/IconPhoneFilled.d.ts +2 -2
  724. package/components/SVGIcons/IconPhoneFilled.js +1 -32
  725. package/components/SVGIcons/IconPlugConnected.d.ts +2 -2
  726. package/components/SVGIcons/IconPlugConnected.js +1 -29
  727. package/components/SVGIcons/IconPos.d.ts +2 -2
  728. package/components/SVGIcons/IconPos.js +1 -34
  729. package/components/SVGIcons/IconPosFilled.d.ts +2 -2
  730. package/components/SVGIcons/IconPosFilled.js +1 -34
  731. package/components/SVGIcons/IconProhibited.d.ts +2 -2
  732. package/components/SVGIcons/IconProhibited.js +1 -32
  733. package/components/SVGIcons/IconProhibitedFilled.d.ts +2 -2
  734. package/components/SVGIcons/IconProhibitedFilled.js +1 -32
  735. package/components/SVGIcons/IconProjectProduct.d.ts +2 -2
  736. package/components/SVGIcons/IconProjectProduct.js +1 -29
  737. package/components/SVGIcons/IconQuestion.d.ts +2 -2
  738. package/components/SVGIcons/IconQuestion.js +1 -32
  739. package/components/SVGIcons/IconQuestionFilled.d.ts +2 -2
  740. package/components/SVGIcons/IconQuestionFilled.js +1 -32
  741. package/components/SVGIcons/IconRedo.d.ts +2 -2
  742. package/components/SVGIcons/IconRedo.js +1 -32
  743. package/components/SVGIcons/IconRedoFilled.d.ts +2 -2
  744. package/components/SVGIcons/IconRedoFilled.js +1 -32
  745. package/components/SVGIcons/IconRibbon.d.ts +4 -0
  746. package/components/SVGIcons/IconRibbon.js +1 -0
  747. package/components/SVGIcons/IconRu.d.ts +2 -2
  748. package/components/SVGIcons/IconRu.js +6 -61
  749. package/components/SVGIcons/IconRub.d.ts +2 -2
  750. package/components/SVGIcons/IconRub.js +1 -29
  751. package/components/SVGIcons/IconRubFilled.d.ts +2 -2
  752. package/components/SVGIcons/IconRubFilled.js +1 -29
  753. package/components/SVGIcons/IconSave.d.ts +2 -2
  754. package/components/SVGIcons/IconSave.js +1 -32
  755. package/components/SVGIcons/IconSaveFilled.d.ts +2 -2
  756. package/components/SVGIcons/IconSaveFilled.js +1 -32
  757. package/components/SVGIcons/IconSavings.d.ts +2 -2
  758. package/components/SVGIcons/IconSavings.js +1 -32
  759. package/components/SVGIcons/IconSavingsFilled.d.ts +2 -2
  760. package/components/SVGIcons/IconSavingsFilled.js +1 -32
  761. package/components/SVGIcons/IconSearch.d.ts +2 -2
  762. package/components/SVGIcons/IconSearch.js +1 -32
  763. package/components/SVGIcons/IconSearchFilled.d.ts +2 -2
  764. package/components/SVGIcons/IconSearchFilled.js +1 -32
  765. package/components/SVGIcons/IconSelectAllOff.d.ts +2 -2
  766. package/components/SVGIcons/IconSelectAllOff.js +1 -32
  767. package/components/SVGIcons/IconSelectAllOffFilled.d.ts +2 -2
  768. package/components/SVGIcons/IconSelectAllOffFilled.js +1 -32
  769. package/components/SVGIcons/IconSelectAllOn.d.ts +2 -2
  770. package/components/SVGIcons/IconSelectAllOn.js +1 -32
  771. package/components/SVGIcons/IconSelectAllOnFilled.d.ts +2 -2
  772. package/components/SVGIcons/IconSelectAllOnFilled.js +1 -32
  773. package/components/SVGIcons/IconSend.d.ts +2 -2
  774. package/components/SVGIcons/IconSend.js +1 -32
  775. package/components/SVGIcons/IconSendFilled.d.ts +2 -2
  776. package/components/SVGIcons/IconSendFilled.js +1 -32
  777. package/components/SVGIcons/IconSettings.d.ts +2 -2
  778. package/components/SVGIcons/IconSettings.js +1 -29
  779. package/components/SVGIcons/IconSettingsFilled.d.ts +2 -2
  780. package/components/SVGIcons/IconSettingsFilled.js +1 -32
  781. package/components/SVGIcons/IconShare.d.ts +2 -2
  782. package/components/SVGIcons/IconShare.js +1 -32
  783. package/components/SVGIcons/IconShareAndroid.d.ts +2 -2
  784. package/components/SVGIcons/IconShareAndroid.js +1 -32
  785. package/components/SVGIcons/IconShareAndroidFilled.d.ts +2 -2
  786. package/components/SVGIcons/IconShareAndroidFilled.js +1 -32
  787. package/components/SVGIcons/IconShareFilled.d.ts +2 -2
  788. package/components/SVGIcons/IconShareFilled.js +1 -32
  789. package/components/SVGIcons/IconSignOut.d.ts +2 -2
  790. package/components/SVGIcons/IconSignOut.js +1 -32
  791. package/components/SVGIcons/IconSignOutFilled.d.ts +2 -2
  792. package/components/SVGIcons/IconSignOutFilled.js +1 -32
  793. package/components/SVGIcons/IconSpinner.d.ts +2 -2
  794. package/components/SVGIcons/IconSpinner.js +1 -32
  795. package/components/SVGIcons/IconSpinnerFilled.d.ts +2 -2
  796. package/components/SVGIcons/IconSpinnerFilled.js +1 -32
  797. package/components/SVGIcons/IconStatus.d.ts +2 -2
  798. package/components/SVGIcons/IconStatus.js +1 -32
  799. package/components/SVGIcons/IconStatusFilled.d.ts +2 -2
  800. package/components/SVGIcons/IconStatusFilled.js +1 -32
  801. package/components/SVGIcons/IconSubtract.d.ts +2 -2
  802. package/components/SVGIcons/IconSubtract.js +1 -32
  803. package/components/SVGIcons/IconSubtractCircle.d.ts +2 -2
  804. package/components/SVGIcons/IconSubtractCircle.js +1 -32
  805. package/components/SVGIcons/IconSubtractCircleFilled.d.ts +2 -2
  806. package/components/SVGIcons/IconSubtractCircleFilled.js +1 -32
  807. package/components/SVGIcons/IconSubtractFilled.d.ts +2 -2
  808. package/components/SVGIcons/IconSubtractFilled.js +1 -32
  809. package/components/SVGIcons/IconSun.d.ts +4 -0
  810. package/components/SVGIcons/IconSun.js +10 -0
  811. package/components/SVGIcons/IconTableCellEdit.d.ts +2 -2
  812. package/components/SVGIcons/IconTableCellEdit.js +3 -36
  813. package/components/SVGIcons/IconTableCellEditFilled.d.ts +2 -2
  814. package/components/SVGIcons/IconTableCellEditFilled.js +5 -42
  815. package/components/SVGIcons/IconTelegram.d.ts +2 -2
  816. package/components/SVGIcons/IconTelegram.js +3 -41
  817. package/components/SVGIcons/IconTimer.d.ts +2 -2
  818. package/components/SVGIcons/IconTimer.js +1 -32
  819. package/components/SVGIcons/IconTimerFilled.d.ts +2 -2
  820. package/components/SVGIcons/IconTimerFilled.js +1 -32
  821. package/components/SVGIcons/IconTrophy.d.ts +4 -0
  822. package/components/SVGIcons/IconTrophy.js +1 -0
  823. package/components/SVGIcons/IconTrophyFilled.d.ts +4 -0
  824. package/components/SVGIcons/IconTrophyFilled.js +1 -0
  825. package/components/SVGIcons/IconTwitter.d.ts +2 -2
  826. package/components/SVGIcons/IconTwitter.js +1 -32
  827. package/components/SVGIcons/IconUndo.d.ts +2 -2
  828. package/components/SVGIcons/IconUndo.js +1 -32
  829. package/components/SVGIcons/IconUndoFilled.d.ts +2 -2
  830. package/components/SVGIcons/IconUndoFilled.js +1 -32
  831. package/components/SVGIcons/IconUnitsEmployee.d.ts +2 -2
  832. package/components/SVGIcons/IconUnitsEmployee.js +1 -29
  833. package/components/SVGIcons/IconUpload.d.ts +2 -2
  834. package/components/SVGIcons/IconUpload.js +1 -29
  835. package/components/SVGIcons/IconUs.d.ts +4 -0
  836. package/components/SVGIcons/IconUs.js +11 -0
  837. package/components/SVGIcons/IconUsd.d.ts +2 -2
  838. package/components/SVGIcons/IconUsd.js +1 -29
  839. package/components/SVGIcons/IconUsdFilled.d.ts +2 -2
  840. package/components/SVGIcons/IconUsdFilled.js +1 -29
  841. package/components/SVGIcons/IconUserMinus.d.ts +2 -2
  842. package/components/SVGIcons/IconUserMinus.js +1 -32
  843. package/components/SVGIcons/IconVideo.d.ts +2 -2
  844. package/components/SVGIcons/IconVideo.js +1 -29
  845. package/components/SVGIcons/IconVideoFilled.d.ts +2 -2
  846. package/components/SVGIcons/IconVideoFilled.js +1 -29
  847. package/components/SVGIcons/IconWallet.d.ts +2 -2
  848. package/components/SVGIcons/IconWallet.js +1 -32
  849. package/components/SVGIcons/IconWalletFilled.d.ts +2 -2
  850. package/components/SVGIcons/IconWalletFilled.js +1 -32
  851. package/components/SVGIcons/IconWarning.d.ts +2 -2
  852. package/components/SVGIcons/IconWarning.js +1 -29
  853. package/components/SVGIcons/IconWarningFilled.d.ts +2 -2
  854. package/components/SVGIcons/IconWarningFilled.js +1 -29
  855. package/components/SVGIcons/IconYoutube.d.ts +2 -2
  856. package/components/SVGIcons/IconYoutube.js +1 -32
  857. package/components/Select/ButtonSelect/ButtonSelect.js +3 -198
  858. package/components/Select/FilterSelect/FilterDropdown.js +3 -96
  859. package/components/Select/FilterSelect/FilterGroupDropdown.js +4 -83
  860. package/components/Select/FilterSelect/FilterSelect.js +4 -202
  861. package/components/Select/MultiSelect/DesktopWrapper.js +1 -56
  862. package/components/Select/MultiSelect/MobileWrapper.js +2 -78
  863. package/components/Select/MultiSelect/MultiBase/MultiBase.js +5 -214
  864. package/components/Select/MultiSelect/MultiSelect.js +3 -246
  865. package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +7 -268
  866. package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +7 -253
  867. package/components/Select/MultiSelect/OptionsWrapper.js +1 -177
  868. package/components/Select/NestedSelect/NestedSelect.js +4 -200
  869. package/components/Select/ProfileDropdown/index.js +10 -83
  870. package/components/Select/Select/Select.js +1 -257
  871. package/components/Select/Select/SelectDesktop/index.js +2 -223
  872. package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -91
  873. package/components/Select/Select/SelectMobile/index.js +5 -196
  874. package/components/Select/Select/helpers.js +1 -10
  875. package/components/Select/SharedComponents/Actions.js +3 -116
  876. package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +3 -44
  877. package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +3 -132
  878. package/components/Select/SharedComponents/ContentTop.d.ts +1 -0
  879. package/components/Select/SharedComponents/ContentTop.js +3 -179
  880. package/components/Select/SharedComponents/Footer.js +6 -99
  881. package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -164
  882. package/components/Select/SharedComponents/Loading.js +2 -17
  883. package/components/Select/SharedComponents/index.js +1 -92
  884. package/components/Select/constants.js +1 -9
  885. package/components/Select/helper.d.ts +0 -0
  886. package/components/Select/helper.js +0 -0
  887. package/components/Select/index.js +1 -114
  888. package/components/Select/localization.js +1 -31
  889. package/components/Select/types.d.ts +9 -5
  890. package/components/Select/types.js +0 -1
  891. package/components/SideSheet/Footer/Footer.js +5 -101
  892. package/components/SideSheet/SideSheet.js +8 -211
  893. package/components/SideSheet/index.js +1 -56
  894. package/components/SideSheet/types.js +0 -1
  895. package/components/Snackbar/Snackbar.js +5 -126
  896. package/components/Snackbar/consts.d.ts +3 -4
  897. package/components/Snackbar/consts.js +1 -15
  898. package/components/Snackbar/index.js +1 -54
  899. package/components/Snackbar/types.js +0 -1
  900. package/components/Status/Status.js +4 -53
  901. package/components/Status/index.js +1 -8
  902. package/components/Status/types.d.ts +1 -1
  903. package/components/Status/types.js +0 -1
  904. package/components/Stepper/Stepper.js +2 -45
  905. package/components/Stepper/index.js +1 -3
  906. package/components/Stepper/types.js +0 -1
  907. package/components/Switcher/Switcher.js +5 -116
  908. package/components/Switcher/index.js +1 -55
  909. package/components/Switcher/types.d.ts +2 -0
  910. package/components/Switcher/types.js +0 -1
  911. package/components/Tab/Tab.js +2 -37
  912. package/components/Tab/TabItem.js +3 -54
  913. package/components/Tab/index.js +1 -11
  914. package/components/Tab/types.js +0 -1
  915. package/components/Table/Header.d.ts +2 -1
  916. package/components/Table/Header.js +4 -123
  917. package/components/Table/IndeterminateCheckbox.d.ts +1 -0
  918. package/components/Table/IndeterminateCheckbox.js +1 -78
  919. package/components/Table/Row.d.ts +2 -1
  920. package/components/Table/Row.js +3 -94
  921. package/components/Table/Table.d.ts +1 -1
  922. package/components/Table/Table.js +6 -163
  923. package/components/Table/index.js +1 -61
  924. package/components/Table/localization.d.ts +5 -0
  925. package/components/Table/localization.js +1 -0
  926. package/components/Table/types.d.ts +6 -0
  927. package/components/Table/types.js +0 -1
  928. package/components/Table/utils.js +3 -78
  929. package/components/TableV2/AdvancedPagination.d.ts +8 -0
  930. package/components/TableV2/AdvancedPagination.js +12 -0
  931. package/components/TableV2/ColumnHeader.d.ts +9 -0
  932. package/components/TableV2/ColumnHeader.js +6 -0
  933. package/components/TableV2/ColumnSettings.d.ts +9 -0
  934. package/components/TableV2/ColumnSettings.js +8 -0
  935. package/components/TableV2/IndeterminateCheckbox.d.ts +13 -0
  936. package/components/TableV2/IndeterminateCheckbox.js +2 -0
  937. package/components/TableV2/Table.d.ts +3 -0
  938. package/components/TableV2/Table.js +8 -0
  939. package/components/TableV2/constants/index.d.ts +6 -0
  940. package/components/TableV2/constants/index.js +1 -0
  941. package/components/TableV2/hooks/useTableColumnSettings.d.ts +2 -0
  942. package/components/TableV2/hooks/useTableColumnSettings.js +1 -0
  943. package/components/TableV2/hooks/useTableControl.d.ts +11 -0
  944. package/components/TableV2/hooks/useTableControl.js +1 -0
  945. package/components/TableV2/index.d.ts +3 -0
  946. package/components/TableV2/index.js +1 -0
  947. package/components/TableV2/loadTableSettings.d.ts +2 -0
  948. package/components/TableV2/loadTableSettings.js +1 -0
  949. package/components/TableV2/types.d.ts +70 -0
  950. package/components/TableV2/types.js +0 -0
  951. package/components/Text/Text.js +2 -36
  952. package/components/Text/index.js +1 -5
  953. package/components/Text/types.d.ts +1 -1
  954. package/components/Text/types.js +0 -1
  955. package/components/Textarea/Textarea.js +6 -144
  956. package/components/Textarea/index.js +1 -56
  957. package/components/Textarea/types.js +0 -1
  958. package/components/Tooltip/Tooltip.js +1 -103
  959. package/components/Tooltip/index.js +1 -18
  960. package/components/Tooltip/types.d.ts +0 -1
  961. package/components/Tooltip/types.js +1 -13
  962. package/components/UnderConstruction/UnderConstruction.d.ts +3 -0
  963. package/components/UnderConstruction/UnderConstruction.js +6 -0
  964. package/components/UnderConstruction/index.d.ts +1 -0
  965. package/components/UnderConstruction/index.js +1 -0
  966. package/components/UnderConstruction/localization.d.ts +4 -0
  967. package/components/UnderConstruction/localization.js +1 -0
  968. package/components/UnderConstruction/types.d.ts +12 -0
  969. package/components/UnderConstruction/types.js +0 -0
  970. package/consts/index.d.ts +18 -0
  971. package/consts/index.js +1 -67
  972. package/context/FormContextProvider.d.ts +3 -2
  973. package/context/FormContextProvider.js +1 -12
  974. package/context/index.js +1 -5
  975. package/context/types.js +1 -12
  976. package/helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js +2 -15
  977. package/helperComponents/AnimatePresenceWrapper/index.js +1 -3
  978. package/helperComponents/CodeBlock/CodeBlock.js +2 -178
  979. package/helperComponents/CodeBlock/index.js +1 -3
  980. package/helperComponents/ErrorMessage/ErrorMessage.js +3 -27
  981. package/helperComponents/ErrorMessage/consts.d.ts +3 -0
  982. package/helperComponents/ErrorMessage/consts.js +1 -0
  983. package/helperComponents/ErrorMessage/index.js +1 -8
  984. package/helperComponents/ErrorMessage/types.js +0 -1
  985. package/helperComponents/GoToWebPage/GoToWebPage.js +1 -67
  986. package/helperComponents/IconDynamicComponent/IconDynamicComponent.d.ts +6 -8
  987. package/helperComponents/IconDynamicComponent/IconDynamicComponent.js +1 -26
  988. package/helperComponents/IconDynamicComponent/index.js +1 -3
  989. package/helperComponents/Label/Label.js +1 -29
  990. package/helperComponents/Label/index.js +1 -6
  991. package/helperComponents/Label/types.js +0 -1
  992. package/helperComponents/Loader/Loader.js +2 -15
  993. package/helperComponents/Loader/index.js +1 -2
  994. package/helperComponents/Loader/types.js +0 -1
  995. package/helperComponents/OptionItem/OptionItem.js +5 -150
  996. package/helperComponents/OptionItem/index.js +1 -64
  997. package/helperComponents/OptionItem/types.js +0 -1
  998. package/helpers/check-authorization.js +1 -114
  999. package/helpers/download-file.js +1 -10
  1000. package/helpers/format-date.js +1 -46
  1001. package/helpers/get-module-prefix.js +1 -6
  1002. package/helpers/index.d.ts +1 -0
  1003. package/helpers/index.js +1 -59
  1004. package/helpers/isDeepEqual.js +1 -18
  1005. package/helpers/locale.js +1 -17
  1006. package/helpers/logout.d.ts +1 -0
  1007. package/helpers/logout.js +1 -0
  1008. package/helpers/storage.js +1 -20
  1009. package/hooks/index.js +1 -21
  1010. package/hooks/useAnimation.d.ts +12 -0
  1011. package/hooks/useAnimation.js +1 -0
  1012. package/hooks/useChangePositionsOnScroll.js +1 -34
  1013. package/hooks/useDispatchEventOnScroll.js +1 -14
  1014. package/hooks/useEscapeKey.d.ts +5 -0
  1015. package/hooks/useEscapeKey.js +1 -0
  1016. package/hooks/useFieldArray.js +1 -1
  1017. package/hooks/useFormContext.js +1 -10
  1018. package/hooks/useFormProps.js +1 -10
  1019. package/hooks/useGetElemPositions.js +1 -19
  1020. package/hooks/useGetElemSizes.js +1 -16
  1021. package/hooks/useGetHasBottomSpace.js +1 -26
  1022. package/hooks/useGetIsMobile.js +1 -49
  1023. package/hooks/useGetTooltipPosition.js +1 -85
  1024. package/hooks/useGetTooltipStyles.js +1 -89
  1025. package/hooks/useHideBodyScroll.js +1 -35
  1026. package/hooks/useHideOnScroll.d.ts +1 -1
  1027. package/hooks/useHideOnScroll.js +1 -26
  1028. package/hooks/useOnOutsideClick.js +1 -52
  1029. package/hooks/useScreenSize.js +1 -38
  1030. package/package.json +16 -8
  1031. package/type/file-upload.js +1 -8
  1032. package/type/index.d.ts +1 -0
  1033. package/type/index.js +1 -4
  1034. package/type/locale.js +1 -14
  1035. package/type/notification.js +1 -9
  1036. package/type/status-code.js +1 -9
  1037. package/type/svg-icons.js +0 -0
  1038. package/utils/helpers.d.ts +1 -0
  1039. package/utils/helpers.js +1 -89
  1040. package/Alert-V_kH4Snn.js +0 -751
  1041. package/assets/images/avatar.jpg +0 -0
  1042. package/assets/styles/styles.scss +0 -1
  1043. package/components/SVGIcons/index.d.ts +0 -300
  1044. package/components/SVGIcons/index.js +0 -303
  1045. package/components/SVGIcons/types.js +0 -1
  1046. package/helperComponents/IconDynamicComponent/constants.d.ts +0 -3
  1047. package/helperComponents/IconDynamicComponent/constants.js +0 -33
  1048. package/helperComponents/index.d.ts +0 -6
  1049. package/helperComponents/index.js +0 -65
  1050. package/index.d.ts +0 -46
  1051. package/index.js +0 -454
  1052. package/types.d.js +0 -1
  1053. /package/{components/SVGIcons/types.d.ts → type/svg-icons.d.ts} +0 -0
package/Alert-V_kH4Snn.js DELETED
@@ -1,751 +0,0 @@
1
- import _extends from '@babel/runtime/helpers/extends';
2
- import React, { useMemo, forwardRef, useState, useCallback, useId, useEffect, useRef } from 'react';
3
- import { TYPE_MAPPING, ICONS_MAPPING } from './components/Alert/consts.js';
4
- import classNames from 'classnames';
5
- import { Text } from './components/Text/Text.js';
6
- import _defineProperty from '@babel/runtime/helpers/defineProperty';
7
- import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
8
- import 'dayjs';
9
- import { Loader } from './helperComponents/Loader/Loader.js';
10
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
11
- import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
12
- import { FILE_ACCEPT_TYPE } from './consts/index.js';
13
- import './hooks/useScreenSize.js';
14
- import 'react-hook-form';
15
- import { ErrorCode, useDropzone } from 'react-dropzone';
16
- import { IconUpload } from './components/SVGIcons/IconUpload.js';
17
- import { FileTypeEnum } from './type/file-upload.js';
18
- import { FileUploadMode } from './components/FileUpload/types.js';
19
- import './helpers/format-date.js';
20
- import { getTranslationLocale } from './helpers/locale.js';
21
- import 'react-toastify';
22
- import { useIsMobile } from './hooks/useGetIsMobile.js';
23
- import { motion } from 'framer-motion';
24
- import { AnimatePresenceWrapper } from './helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
25
- import { useOnOutsideClick } from './hooks/useOnOutsideClick.js';
26
- import { useHideBodyScroll } from './hooks/useHideBodyScroll.js';
27
- import { IconDismiss } from './components/SVGIcons/IconDismiss.js';
28
- import { Positions } from './components/Tooltip/types.js';
29
- import { Tooltip } from './components/Tooltip/Tooltip.js';
30
- import { uniqueFiles, noop } from './utils/helpers.js';
31
- import 'react-syntax-highlighter';
32
- import { Link } from './components/Link/Link.js';
33
- import { PopoverDesktop } from './components/Popover/PopoverDesktop.js';
34
- import { IconInfo } from './components/SVGIcons/IconInfo.js';
35
- import { IconDynamicComponent } from './helperComponents/IconDynamicComponent/IconDynamicComponent.js';
36
- import '@babel/runtime/helpers/typeof';
37
- import { IconDismissFilled } from './components/SVGIcons/IconDismissFilled.js';
38
- import { IconDelete } from './components/SVGIcons/IconDelete.js';
39
- import { FilePreview } from './components/FileUpload/DropzoneFileUpload/FilePreview.js';
40
- import { IconArrowDownloadFilled } from './components/SVGIcons/IconArrowDownloadFilled.js';
41
- import { downloadFile } from './helpers/download-file.js';
42
- import { LITE_LOADER_TYPES, ICON_TYPE_MAPPING, ICON_SIZE_MAPPING } from './components/Button/consts.js';
43
-
44
- var shortenFileName = function shortenFileName(fileName, maxLength) {
45
- // Regular expression to split the name into three parts: start, middle, and extension
46
- var regex = /^(.{10}).*?(.{10}\.[^.]*)$/;
47
-
48
- // If the file name length exceeds maxLength, shorten it
49
- if (fileName.length > maxLength) {
50
- return fileName.replace(regex, '$1...$2');
51
- }
52
-
53
- // If it's short enough, return as is
54
- return fileName;
55
- };
56
- var formatFileSize = function formatFileSize(sizeInBytes) {
57
- var fractionDigits = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
58
- if (sizeInBytes < 1024) {
59
- return "".concat(sizeInBytes, " B"); // Bytes
60
- } else if (sizeInBytes < 1024 * 1024) {
61
- return "".concat((sizeInBytes / 1024).toFixed(fractionDigits), " KB"); // Kilobytes
62
- } else if (sizeInBytes < 1024 * 1024 * 1024) {
63
- return "".concat((sizeInBytes / (1024 * 1024)).toFixed(fractionDigits), " MB"); // Megabytes
64
- } else {
65
- return "".concat((sizeInBytes / (1024 * 1024 * 1024)).toFixed(fractionDigits), " GB"); // Gigabytes
66
- }
67
- };
68
- var generateAreaContent = function generateAreaContent(_ref) {
69
- var allowedTypes = _ref.allowedTypes,
70
- maxSize = _ref.maxSize,
71
- locale = _ref.locale;
72
- var acceptTypes = allowedTypes.map(function (type) {
73
- return FILE_ACCEPT_TYPE[type];
74
- }).flat();
75
- var translation = getDropzoneLocale(locale);
76
- var acceptTypesMessage = allowedTypes.length === 1 ? allowedTypes[0] : allowedTypes.reduce(function (acc, currentValue, _index, _arr) {
77
- if (_index === _arr.length - 1) {
78
- return "".concat(acc, " ").concat(translation.or, " ").concat(currentValue);
79
- }
80
- return acc ? "".concat(acc, ", ").concat(currentValue) : currentValue;
81
- }, '');
82
- return {
83
- acceptTypes: acceptTypes,
84
- maxSizeFormatted: formatFileSize(maxSize),
85
- acceptTypesMessage: acceptTypesMessage
86
- };
87
- };
88
- var getDropzoneLocale = function getDropzoneLocale(lang) {
89
- var locale = lang || getTranslationLocale();
90
- var translation = {
91
- en: {
92
- title: 'Choose a file or drop it here',
93
- format: 'format',
94
- formats: 'formats',
95
- maxSize: 'Maximum size up to $1.',
96
- fileInvalidType: 'The file type should be $1',
97
- fileTooLarge: 'The file is too large (Max $1)',
98
- tooManyFiles: 'Too many files. Please select one file.',
99
- or: 'or'
100
- },
101
- ru: {
102
- title: 'Выберите файл или перетащите его сюда',
103
- format: 'формат',
104
- formats: 'форматы',
105
- maxSize: 'Максимальный размер до $1',
106
- fileInvalidType: 'Тип файла должен быть $1',
107
- fileTooLarge: 'Файл слишком большой (Максимум $1)',
108
- tooManyFiles: 'Слишком много файлов. Пожалуйста, выберите один файл.',
109
- or: 'или'
110
- },
111
- hy: {
112
- title: 'Ընտրեք ֆայլ կամ քաշեք այն այստեղ',
113
- format: 'ֆորմատ',
114
- formats: 'ֆորմատներ',
115
- maxSize: 'Առավելագույն չափը՝ մինչև $1',
116
- fileInvalidType: 'Ֆայլի տեսակը պետք է լինի $1',
117
- fileTooLarge: 'Ֆայլը չափազանց մեծ է (Առավելագույնը $1)',
118
- tooManyFiles: 'Չափազանց շատ ֆայլեր։ Խնդրում ենք ընտրել միայն մեկ ֆայլ։',
119
- or: 'կամ'
120
- }
121
- };
122
- return translation[locale] || translation.en;
123
- };
124
-
125
- var ErrorItem = function ErrorItem(_ref) {
126
- var code = _ref.code,
127
- onRemove = _ref.onRemove,
128
- areaContent = _ref.areaContent,
129
- locale = _ref.locale;
130
- var errorMessage = useMemo(function () {
131
- var translation = getDropzoneLocale(locale);
132
- if (code === ErrorCode.FileInvalidType) {
133
- return translation.fileInvalidType.replace('$1', areaContent.acceptTypesMessage);
134
- } else if (code === ErrorCode.FileTooLarge) {
135
- return translation.fileTooLarge.replace('$1', areaContent.maxSizeFormatted);
136
- } else if (code === ErrorCode.TooManyFiles) {
137
- return translation.tooManyFiles;
138
- }
139
- return '';
140
- }, [code]);
141
- return errorMessage ? /*#__PURE__*/React.createElement(Alert, {
142
- type: "error",
143
- text: errorMessage,
144
- closeIcon: true,
145
- onClose: onRemove
146
- }) : null;
147
- };
148
-
149
- var PreviewItem = function PreviewItem(_ref) {
150
- var file = _ref.file,
151
- onRemove = _ref.onRemove,
152
- mode = _ref.mode;
153
- var type = file.type.split('/')[0];
154
- var preview = useMemo(function () {
155
- return URL.createObjectURL(file);
156
- }, [file.name]);
157
- var handleItemClick = function handleItemClick() {
158
- if (mode === FileUploadMode.view) {
159
- window.open(preview, '_blank');
160
- }
161
- };
162
- var onFileDownload = function onFileDownload(event) {
163
- event.preventDefault();
164
- event.stopPropagation();
165
- downloadFile(preview, file.name);
166
- };
167
- return /*#__PURE__*/React.createElement("div", {
168
- className: classNames('dz-file-upload__files--item', {
169
- 'dz-file-upload__files--item--view': mode === FileUploadMode.view
170
- }),
171
- onClick: handleItemClick
172
- }, /*#__PURE__*/React.createElement("div", {
173
- className: 'dz-file-upload__files--item__preview'
174
- }, /*#__PURE__*/React.createElement(FilePreview, {
175
- preview: preview,
176
- type: type
177
- })), /*#__PURE__*/React.createElement("div", {
178
- className: 'dz-file-upload__files--item__info'
179
- }, /*#__PURE__*/React.createElement("div", {
180
- className: "dz-file-upload__files--item__info-title"
181
- }, /*#__PURE__*/React.createElement(Text, {
182
- weight: "semibold"
183
- }, shortenFileName(file.name, 40)), mode === FileUploadMode.attach && /*#__PURE__*/React.createElement(Button, {
184
- size: "small",
185
- type: "tertiary",
186
- onClick: onRemove,
187
- iconProps: {
188
- Component: IconDelete
189
- }
190
- }), mode === FileUploadMode.view && /*#__PURE__*/React.createElement(Button, {
191
- size: "small",
192
- type: "tertiary",
193
- onClick: onFileDownload,
194
- iconProps: {
195
- Component: IconArrowDownloadFilled
196
- }
197
- })), /*#__PURE__*/React.createElement("div", {
198
- className: "dz-file-upload__files--item__info-size"
199
- }, /*#__PURE__*/React.createElement(Text, {
200
- size: "small"
201
- }, formatFileSize(file.size)))));
202
- };
203
-
204
- var DropzoneFileUpload = /*#__PURE__*/forwardRef(function (_ref2, _ref) {
205
- var _ref2$maxSize = _ref2.maxSize,
206
- maxSize = _ref2$maxSize === void 0 ? 10 * 1024 * 1024 : _ref2$maxSize,
207
- _ref2$allowedTypes = _ref2.allowedTypes,
208
- allowedTypes = _ref2$allowedTypes === void 0 ? [FileTypeEnum.IMAGE, FileTypeEnum.PDF, FileTypeEnum.DOC] : _ref2$allowedTypes,
209
- name = _ref2.name,
210
- setFiles = _ref2.setFiles,
211
- setFieldValue = _ref2.setFieldValue,
212
- value = _ref2.value,
213
- selectedFiles = _ref2.selectedFiles,
214
- _ref2$maxFiles = _ref2.maxFiles,
215
- maxFiles = _ref2$maxFiles === void 0 ? 1 : _ref2$maxFiles,
216
- _ref2$mode = _ref2.mode,
217
- mode = _ref2$mode === void 0 ? FileUploadMode.attach : _ref2$mode,
218
- locale = _ref2.locale,
219
- _ref2$multiple = _ref2.multiple,
220
- multiple = _ref2$multiple === void 0 ? false : _ref2$multiple;
221
- var initialFiles = value || selectedFiles || [];
222
- var initialMaxFiles = initialFiles.length >= maxFiles ? 0 : maxFiles - initialFiles.length;
223
- var _useState = useState([]),
224
- _useState2 = _slicedToArray(_useState, 2),
225
- errors = _useState2[0],
226
- setErrors = _useState2[1];
227
- var areaContent = generateAreaContent({
228
- allowedTypes: allowedTypes,
229
- maxSize: maxSize
230
- });
231
- var translation = getDropzoneLocale(locale);
232
- var onDrop = function onDrop(fileAccepted, fileRejections) {
233
- if (initialMaxFiles === 0 && !multiple) {
234
- setErrors([{
235
- code: ErrorCode.TooManyFiles,
236
- message: ''
237
- }]);
238
- return;
239
- }
240
- var newFiles = uniqueFiles([].concat(_toConsumableArray(initialFiles), _toConsumableArray(fileAccepted)));
241
- var errors = fileRejections.map(function (fileRejection) {
242
- return fileRejection.errors;
243
- }).flat();
244
- setFiles === null || setFiles === void 0 || setFiles(newFiles);
245
- updateInForm(newFiles);
246
- setErrors(errors);
247
- };
248
- var _useDropzone = useDropzone({
249
- onDrop: onDrop,
250
- accept: areaContent.acceptTypes,
251
- maxSize: maxSize,
252
- maxFiles: multiple ? 0 : initialMaxFiles,
253
- multiple: multiple
254
- }),
255
- getRootProps = _useDropzone.getRootProps,
256
- getInputProps = _useDropzone.getInputProps,
257
- isFocused = _useDropzone.isFocused,
258
- isDragActive = _useDropzone.isDragActive;
259
- var removeFile = function removeFile(fileName) {
260
- var newFiles = initialFiles.filter(function (file) {
261
- return file.name !== fileName;
262
- });
263
- if (newFiles.length === 0) {
264
- setErrors([]);
265
- }
266
- setFiles === null || setFiles === void 0 || setFiles(newFiles);
267
- updateInForm(newFiles);
268
- };
269
- var removeError = function removeError(index) {
270
- setErrors(function (prevErrors) {
271
- return prevErrors.filter(function (_error, i) {
272
- return i !== index;
273
- });
274
- });
275
- };
276
- var updateInForm = useCallback(function (values) {
277
- if (name && setFieldValue) {
278
- setFieldValue(name, values);
279
- }
280
- }, [name, setFieldValue]);
281
- return /*#__PURE__*/React.createElement("div", {
282
- className: "dz-file-upload"
283
- }, mode !== FileUploadMode.view ? /*#__PURE__*/React.createElement("div", _extends({}, getRootProps(), {
284
- className: classNames('dz-file-upload__area', {
285
- 'dz-file-upload__area--focused': isFocused,
286
- 'dz-file-upload__area--active': isDragActive
287
- })
288
- }), /*#__PURE__*/React.createElement(IconUpload, {
289
- className: "mb-20",
290
- size: "xlarge"
291
- }), /*#__PURE__*/React.createElement("input", _extends({}, getInputProps(), {
292
- name: name
293
- })), /*#__PURE__*/React.createElement(Text, {
294
- type: "primary",
295
- weight: "semibold",
296
- className: "mb-6"
297
- }, translation.title), /*#__PURE__*/React.createElement(Text, {
298
- size: "small"
299
- }, "".concat(areaContent.acceptTypesMessage, " ").concat((allowedTypes === null || allowedTypes === void 0 ? void 0 : allowedTypes.length) === 1 ? translation.format : translation.formats, ", ").concat(translation.maxSize.replace('$1', areaContent.maxSizeFormatted)))) : null, /*#__PURE__*/React.createElement("div", {
300
- className: "dz-file-upload__files"
301
- }, errors.map(function (_ref3, index) {
302
- var code = _ref3.code;
303
- return /*#__PURE__*/React.createElement(ErrorItem, {
304
- key: index,
305
- code: code,
306
- areaContent: areaContent,
307
- onRemove: function onRemove() {
308
- return removeError(index);
309
- },
310
- locale: locale
311
- });
312
- }), initialFiles.map(function (file, index) {
313
- return /*#__PURE__*/React.createElement(PreviewItem, {
314
- key: index,
315
- file: file,
316
- onRemove: function onRemove() {
317
- return removeFile(file.name);
318
- },
319
- mode: mode
320
- });
321
- })));
322
- });
323
- DropzoneFileUpload.displayName = 'DropzoneFileUpload';
324
-
325
- var ModalContent = function ModalContent(_ref) {
326
- var title = _ref.title,
327
- subtitle = _ref.subtitle,
328
- dataIdPrefix = _ref.dataIdPrefix,
329
- closeIcon = _ref.closeIcon,
330
- onClose = _ref.onClose,
331
- children = _ref.children,
332
- _ref$withFooter = _ref.withFooter,
333
- withFooter = _ref$withFooter === void 0 ? true : _ref$withFooter,
334
- confirmBtnTooltipText = _ref.confirmBtnTooltipText,
335
- buttonProps = _ref.buttonProps,
336
- onSubmit = _ref.onSubmit;
337
- return /*#__PURE__*/React.createElement(React.Fragment, null, title ? /*#__PURE__*/React.createElement("div", {
338
- className: "modal__header"
339
- }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
340
- lineHeight: "large",
341
- size: "large",
342
- weight: 'bolder',
343
- dataId: dataIdPrefix ? "".concat(dataIdPrefix, "-modal-title") : ''
344
- }, title), subtitle ? /*#__PURE__*/React.createElement(Text, {
345
- className: 'mt-12',
346
- dataId: dataIdPrefix ? "".concat(dataIdPrefix, "-modal-title") : ''
347
- }, subtitle) : null), closeIcon ? /*#__PURE__*/React.createElement(Button, {
348
- className: 'modal__close ml-16',
349
- dataId: dataIdPrefix ? "".concat(dataIdPrefix, "-modal-close-button") : '',
350
- iconProps: {
351
- Component: IconDismiss
352
- },
353
- onClick: onClose,
354
- type: "tertiary"
355
- }) : null) : null, /*#__PURE__*/React.createElement("div", {
356
- className: "modal__content scrollbar scrollbar--vertical"
357
- }, children), withFooter && buttonProps ? /*#__PURE__*/React.createElement("div", {
358
- className: "modal__footer"
359
- }, buttonProps.cancel && /*#__PURE__*/React.createElement(Button, _extends({
360
- type: "tertiary",
361
- className: "modal__footer__btn mr-16",
362
- onClick: onClose,
363
- dataId: dataIdPrefix ? "".concat(dataIdPrefix, "-modal-cancel-button") : ''
364
- }, buttonProps.cancel || {})), confirmBtnTooltipText ? /*#__PURE__*/React.createElement(Tooltip, {
365
- text: confirmBtnTooltipText,
366
- id: 'confirm-btn-tooltip',
367
- position: Positions.TOP_CENTER
368
- }) : null, /*#__PURE__*/React.createElement(Button, _extends({
369
- id: 'confirm-btn-tooltip',
370
- className: 'modal__footer__btn',
371
- type: "primary",
372
- onClick: onSubmit ? onSubmit : noop,
373
- dataId: dataIdPrefix ? "".concat(dataIdPrefix, "-modal-confirm-button") : ''
374
- }, buttonProps.confirm))) : null);
375
- };
376
-
377
- var _excluded$2 = ["isOpen", "onClose", "className", "size", "closeOnOutsideClick", "isMobileFullScreen"];
378
- var DESKTOP_ANIMATION = {
379
- initial: {
380
- opacity: 0.5,
381
- scale: 0.65
382
- },
383
- animate: {
384
- opacity: 1,
385
- scale: [0.95, 1]
386
- },
387
- exit: {
388
- opacity: 0,
389
- scale: 0.7,
390
- transition: {
391
- duration: 0.2
392
- }
393
- },
394
- transition: {
395
- duration: 0.4,
396
- type: 'spring',
397
- damping: 55,
398
- stiffness: 700
399
- }
400
- };
401
- var MOBILE_ANIMATION = function MOBILE_ANIMATION(isFullScreen) {
402
- return {
403
- initial: {
404
- height: 0,
405
- bottom: 0
406
- },
407
- animate: {
408
- height: isFullScreen ? '100%' : 'auto',
409
- bottom: 0
410
- },
411
- exit: {
412
- height: 0,
413
- bottom: 0
414
- },
415
- transition: {
416
- duration: 0.3
417
- }
418
- };
419
- };
420
- var Modal = function Modal(props) {
421
- var isOpen = props.isOpen,
422
- onClose = props.onClose,
423
- _props$className = props.className,
424
- className = _props$className === void 0 ? '' : _props$className,
425
- _props$size = props.size,
426
- size = _props$size === void 0 ? 'medium' : _props$size,
427
- _props$closeOnOutside = props.closeOnOutsideClick,
428
- closeOnOutsideClick = _props$closeOnOutside === void 0 ? true : _props$closeOnOutside,
429
- isMobileFullScreen = props.isMobileFullScreen,
430
- rest = _objectWithoutProperties(props, _excluded$2);
431
- var isMobile = useIsMobile();
432
- var _useState = useState(null),
433
- _useState2 = _slicedToArray(_useState, 2),
434
- containerRef = _useState2[0],
435
- setContainerRef = _useState2[1];
436
- useOnOutsideClick(containerRef, onClose, closeOnOutsideClick && isOpen, useId());
437
- useHideBodyScroll(isOpen);
438
- return /*#__PURE__*/React.createElement(AnimatePresenceWrapper, null, isOpen ? /*#__PURE__*/React.createElement(motion.div, {
439
- className: classNames('modal', "modal--".concat(size), className),
440
- initial: {
441
- opacity: 0
442
- },
443
- animate: {
444
- opacity: 1
445
- },
446
- exit: {
447
- opacity: 0
448
- },
449
- transition: {
450
- duration: isMobile ? 0 : 0.4
451
- }
452
- }, /*#__PURE__*/React.createElement(motion.div, _extends({
453
- className: classNames('modal__container', {
454
- modal__container_fullScreen: isMobile && isMobileFullScreen
455
- }),
456
- ref: setContainerRef
457
- }, isMobile ? MOBILE_ANIMATION(isMobileFullScreen) : DESKTOP_ANIMATION), /*#__PURE__*/React.createElement(ModalContent, _extends({}, rest, {
458
- onClose: onClose
459
- })))) : null);
460
- };
461
-
462
- var PopoverMobile = function PopoverMobile(props) {
463
- var dataId = props.dataId,
464
- text = props.text,
465
- linkAddons = props.linkAddons,
466
- mobileTitle = props.mobileTitle,
467
- hideMessage = props.hideMessage,
468
- _props$clicked = props.clicked,
469
- clicked = _props$clicked === void 0 ? false : _props$clicked,
470
- children = props.children;
471
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Modal, {
472
- closeIcon: true,
473
- title: mobileTitle,
474
- onClose: hideMessage,
475
- isOpen: clicked
476
- }, clicked && /*#__PURE__*/React.createElement(React.Fragment, null, linkAddons ? /*#__PURE__*/React.createElement(Link, {
477
- dataId: linkAddons.dataId,
478
- url: linkAddons.url,
479
- beforeLink: linkAddons.beforeLink,
480
- afterLink: linkAddons.afterLink,
481
- target: linkAddons.target,
482
- className: 'popover__link'
483
- }, text) : /*#__PURE__*/React.createElement(Text, {
484
- dataId: dataId ? "".concat(dataId, "-popover-text") : '',
485
- type: "primary",
486
- weight: "regular",
487
- lineHeight: "medium",
488
- size: "small"
489
- }, text))), children);
490
- };
491
-
492
- var _excluded$1 = ["elemRef", "id", "clicked"];
493
- var Popover = function Popover(props) {
494
- var elemRef = props.elemRef,
495
- id = props.id,
496
- clicked = props.clicked,
497
- rest = _objectWithoutProperties(props, _excluded$1);
498
- var isMobile = useIsMobile();
499
- var _useState = useState(false),
500
- _useState2 = _slicedToArray(_useState, 2),
501
- isClicked = _useState2[0],
502
- setIsClicked = _useState2[1];
503
- var _useState3 = useState(elemRef || null),
504
- _useState4 = _slicedToArray(_useState3, 2),
505
- parent = _useState4[0],
506
- setElement = _useState4[1];
507
- var showMessage = function showMessage() {
508
- return setIsClicked(true);
509
- };
510
- var hideMessage = function hideMessage() {
511
- return setIsClicked(false);
512
- };
513
- useEffect(function () {
514
- if (parent) {
515
- parent.addEventListener('click', showMessage);
516
- }
517
- }, [parent]);
518
- useEffect(function () {
519
- if (id) {
520
- var element = document.getElementById(id.toString());
521
- setElement(element);
522
- }
523
- }, [id]);
524
- useEffect(function () {
525
- if (clicked === false) {
526
- setIsClicked(clicked);
527
- }
528
- }, [clicked]);
529
- return isMobile ? /*#__PURE__*/React.createElement(PopoverMobile, _extends({}, rest, {
530
- clicked: isClicked,
531
- hideMessage: hideMessage
532
- })) : /*#__PURE__*/React.createElement(PopoverDesktop, _extends({}, rest, {
533
- parent: parent,
534
- clicked: isClicked,
535
- showMessage: showMessage,
536
- hideMessage: hideMessage
537
- }));
538
- };
539
-
540
- var Checkbox = /*#__PURE__*/forwardRef(function (props, ref) {
541
- var label = props.label,
542
- disabled = props.disabled,
543
- _props$required = props.required,
544
- required = _props$required === void 0 ? false : _props$required,
545
- link = props.link,
546
- name = props.name,
547
- setFieldValue = props.setFieldValue,
548
- selectedValue = props.selectedValue,
549
- value = props.value,
550
- _props$className = props.className,
551
- className = _props$className === void 0 ? '' : _props$className,
552
- _props$iconProps = props.iconProps,
553
- iconProps = _props$iconProps === void 0 ? {
554
- name: 'checkmark'
555
- } : _props$iconProps,
556
- _props$dataId = props.dataId,
557
- dataId = _props$dataId === void 0 ? '' : _props$dataId,
558
- onClick = props.onClick,
559
- beforeLink = props.beforeLink,
560
- afterLink = props.afterLink,
561
- _props$helperText = props.helperText,
562
- helperText = _props$helperText === void 0 ? '' : _props$helperText,
563
- popoverAddons = props.popoverAddons,
564
- isInvalid = props.isInvalid;
565
- var localRef = useRef(null);
566
- var inputRef = ref && Object.keys(ref).length ? ref : localRef;
567
- var isChecked = !!value || selectedValue;
568
- var changeHandler = function changeHandler() {
569
- if (name && setFieldValue) {
570
- setFieldValue(name, !isChecked, {
571
- shouldValidate: !isChecked
572
- });
573
- }
574
- if (onClick) {
575
- onClick(!isChecked);
576
- }
577
- };
578
- var checkboxLabelPopover = popoverAddons ? /*#__PURE__*/React.createElement(Popover, _extends({
579
- id: "".concat(popoverAddons.id)
580
- }, popoverAddons), /*#__PURE__*/React.createElement("div", {
581
- id: "".concat(popoverAddons.id)
582
- }, /*#__PURE__*/React.createElement(IconInfo, {
583
- dataId: "".concat(dataId, "-icon"),
584
- type: "information",
585
- size: "xsmall",
586
- className: 'ml-4 pointer',
587
- onClick: function onClick(e) {
588
- e.stopPropagation();
589
- changeHandler();
590
- }
591
- }))) : null;
592
- var checkboxLabel = useMemo(function () {
593
- if (!label) {
594
- return null;
595
- }
596
- if (typeof label !== 'string') {
597
- return label;
598
- }
599
- if (!link) {
600
- return /*#__PURE__*/React.createElement(Text, {
601
- type: disabled ? 'disabled' : 'primary',
602
- className: "controller__label"
603
- }, /*#__PURE__*/React.createElement(React.Fragment, null, label, required && /*#__PURE__*/React.createElement("sup", null, "*")));
604
- }
605
- return /*#__PURE__*/React.createElement(Text, {
606
- type: disabled ? 'disabled' : 'primary',
607
- className: "controller__label"
608
- }, /*#__PURE__*/React.createElement(React.Fragment, null, beforeLink && /*#__PURE__*/React.createElement("span", {
609
- className: "mr-4"
610
- }, beforeLink), /*#__PURE__*/React.createElement(Link, {
611
- dataId: dataId,
612
- url: link,
613
- target: "_blank"
614
- }, label), afterLink && /*#__PURE__*/React.createElement("span", {
615
- className: "ml-4"
616
- }, afterLink), required && /*#__PURE__*/React.createElement("sup", null, "*")));
617
- }, [label, link]);
618
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("label", {
619
- className: classNames('controller', _defineProperty({
620
- 'controller--checkbox': true,
621
- 'controller--disabled': disabled,
622
- 'controller--error': isInvalid
623
- }, className, !!className))
624
- }, /*#__PURE__*/React.createElement("input", {
625
- "data-id": dataId,
626
- type: "checkbox",
627
- ref: inputRef,
628
- tabIndex: 0,
629
- onChange: changeHandler,
630
- checked: Boolean(isChecked),
631
- disabled: disabled
632
- }), /*#__PURE__*/React.createElement("span", {
633
- className: "controller__icon"
634
- }, /*#__PURE__*/React.createElement(IconDynamicComponent, {
635
- componentName: iconProps.name,
636
- size: "xxsmall",
637
- type: disabled ? 'disabled' : 'inverse',
638
- className: "controller__mark"
639
- })), checkboxLabel ? /*#__PURE__*/React.createElement("div", {
640
- className: "controller__right"
641
- }, /*#__PURE__*/React.createElement("div", {
642
- className: "flexbox"
643
- }, checkboxLabel, checkboxLabelPopover), helperText ? /*#__PURE__*/React.createElement(Text, {
644
- size: "small",
645
- type: disabled ? 'disabled' : 'secondary'
646
- }, helperText) : null) : null));
647
- });
648
- Checkbox.displayName = 'Checkbox';
649
-
650
- var _excluded = ["buttonText", "type", "size", "className", "iconProps", "buttonActionType", "disabled", "isLoading", "formId", "dataId", "onClick", "refHandler", "children"];
651
- var Button = function Button(props) {
652
- var buttonText = props.buttonText,
653
- _props$type = props.type,
654
- type = _props$type === void 0 ? 'primary' : _props$type,
655
- _props$size = props.size,
656
- size = _props$size === void 0 ? 'large' : _props$size,
657
- _props$className = props.className,
658
- className = _props$className === void 0 ? '' : _props$className,
659
- iconProps = props.iconProps,
660
- _props$buttonActionTy = props.buttonActionType,
661
- buttonActionType = _props$buttonActionTy === void 0 ? 'button' : _props$buttonActionTy,
662
- disabled = props.disabled,
663
- isLoading = props.isLoading,
664
- formId = props.formId,
665
- _props$dataId = props.dataId,
666
- dataId = _props$dataId === void 0 ? '' : _props$dataId,
667
- onClick = props.onClick,
668
- _props$refHandler = props.refHandler,
669
- refHandler = _props$refHandler === void 0 ? null : _props$refHandler,
670
- children = props.children,
671
- rest = _objectWithoutProperties(props, _excluded);
672
- var justIcon = !buttonText && !children && iconProps !== undefined;
673
- var clickHandler = function clickHandler(e) {
674
- if (disabled || isLoading) {
675
- return;
676
- }
677
- onClick === null || onClick === void 0 || onClick(e);
678
- };
679
- return /*#__PURE__*/React.createElement("button", _extends({
680
- ref: refHandler,
681
- "data-id": dataId,
682
- disabled: disabled,
683
- type: buttonActionType,
684
- className: classNames('btn', "btn--".concat(type), "btn--".concat(size), _defineProperty({
685
- 'btn--icon': justIcon
686
- }, "btn--icon-".concat((iconProps === null || iconProps === void 0 ? void 0 : iconProps.alignment) || 'left'), !isLoading && !justIcon && (iconProps === null || iconProps === void 0 ? void 0 : iconProps.Component)), className),
687
- onClick: clickHandler,
688
- form: formId
689
- }, rest), isLoading ? /*#__PURE__*/React.createElement(Loader, {
690
- size: size,
691
- type: LITE_LOADER_TYPES.indexOf(type) === -1 ? 'dark' : 'lite'
692
- }) : /*#__PURE__*/React.createElement(React.Fragment, null, iconProps !== null && iconProps !== void 0 && iconProps.Component ? /*#__PURE__*/React.createElement(iconProps.Component, {
693
- size: ICON_SIZE_MAPPING[iconProps.size || size],
694
- type: ICON_TYPE_MAPPING[iconProps.type || type],
695
- className: "btn__icon"
696
- }) : null, buttonText || children ? /*#__PURE__*/React.createElement("span", {
697
- className: "btn__text"
698
- }, buttonText || children) : null));
699
- };
700
-
701
- var Alert = function Alert(props) {
702
- var buttonProps = props.buttonProps,
703
- _props$type = props.type,
704
- type = _props$type === void 0 ? 'information' : _props$type,
705
- _props$position = props.position,
706
- position = _props$position === void 0 ? 'inline' : _props$position,
707
- text = props.text,
708
- subtext = props.subtext,
709
- closeIcon = props.closeIcon,
710
- onClose = props.onClose,
711
- _props$className = props.className,
712
- className = _props$className === void 0 ? '' : _props$className;
713
- return /*#__PURE__*/React.createElement("div", {
714
- className: classNames('alert', "alert--".concat(type, " alert--").concat(position), className)
715
- }, /*#__PURE__*/React.createElement("div", {
716
- className: "alert__content"
717
- }, /*#__PURE__*/React.createElement(IconDynamicComponent, {
718
- componentName: ICONS_MAPPING[type],
719
- size: "small",
720
- type: TYPE_MAPPING[type]
721
- }), /*#__PURE__*/React.createElement("div", {
722
- className: "alert__text pl-8"
723
- }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
724
- type: "primary",
725
- size: "standard",
726
- weight: "regular",
727
- lineHeight: "large"
728
- }, text), subtext ? /*#__PURE__*/React.createElement(Text, {
729
- className: 'mt-4',
730
- type: "secondary",
731
- size: "small",
732
- weight: "regular",
733
- lineHeight: "large"
734
- }, subtext) : null), buttonProps ? /*#__PURE__*/React.createElement("div", {
735
- className: "alert__actions"
736
- }, buttonProps.confirm && /*#__PURE__*/React.createElement(Button, _extends({
737
- size: "medium",
738
- type: "secondary"
739
- }, buttonProps.confirm)), buttonProps.cancel && /*#__PURE__*/React.createElement(Button, _extends({
740
- size: "medium",
741
- type: "tertiary",
742
- className: "ml-12"
743
- }, buttonProps.cancel))) : null), closeIcon ? /*#__PURE__*/React.createElement(IconDismissFilled, {
744
- type: TYPE_MAPPING[type],
745
- size: "xsmall",
746
- className: "ml-12 pointer",
747
- onClick: onClose
748
- }) : null));
749
- };
750
-
751
- export { Alert as A, Button as B, Checkbox as C, DropzoneFileUpload as D, ErrorItem as E, MOBILE_ANIMATION as M, Popover as P, Modal as a, getDropzoneLocale as b, PreviewItem as c, ModalContent as d, PopoverMobile as e, formatFileSize as f, generateAreaContent as g, shortenFileName as s };