hrm_ui_lib 3.4.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (847) hide show
  1. package/assets/styles/styles.css +1 -1
  2. package/components/Alert/Alert.js +2 -2
  3. package/components/Alert/types.d.ts +1 -0
  4. package/components/Avatar/Avatar.d.ts +1 -1
  5. package/components/Avatar/Avatar.js +2 -2
  6. package/components/Avatar/AvatarGroup.d.ts +1 -1
  7. package/components/Avatar/AvatarGroup.js +2 -2
  8. package/components/Avatar/types.d.ts +1 -0
  9. package/components/Badge/Badge.js +2 -2
  10. package/components/Badge/types.d.ts +1 -0
  11. package/components/BadgeV2/BadgeV2.js +3 -3
  12. package/components/BadgeV2/types.d.ts +1 -1
  13. package/components/Breadcrumb/Breadcrumb.js +3 -3
  14. package/components/Breadcrumb/types.d.ts +1 -0
  15. package/components/Button/Button.js +2 -2
  16. package/components/Button/types.d.ts +1 -1
  17. package/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  18. package/components/ButtonGroup/ButtonGroup.js +3 -3
  19. package/components/ButtonGroup/ButtonGroupItem.d.ts +1 -1
  20. package/components/ButtonGroup/ButtonGroupItem.js +2 -2
  21. package/components/ButtonGroup/types.d.ts +1 -1
  22. package/components/Card/CardComponent/Card.js +2 -2
  23. package/components/Card/types.d.ts +1 -0
  24. package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -2
  25. package/components/CardGroup/types.d.ts +1 -0
  26. package/components/Checkbox/Checkbox.js +5 -5
  27. package/components/Checkbox/types.d.ts +1 -0
  28. package/components/Chips/Chips.js +2 -2
  29. package/components/Chips/types.d.ts +1 -1
  30. package/components/Collapse/Collapse/Collapse.js +2 -2
  31. package/components/Collapse/Collapse/Title.d.ts +2 -2
  32. package/components/Collapse/Collapse/Title.js +2 -2
  33. package/components/Collapse/CollapseGroup/CollapseGroup.js +2 -2
  34. package/components/Collapse/CollapseItem/CollapseItem.js +3 -3
  35. package/components/Collapse/types.d.ts +1 -0
  36. package/components/Container/Container.js +2 -2
  37. package/components/Container/types.d.ts +1 -0
  38. package/components/Copy/Copy.d.ts +1 -1
  39. package/components/Copy/Copy.js +2 -2
  40. package/components/Copy/types.d.ts +1 -0
  41. package/components/Counter/Counter.js +2 -2
  42. package/components/Counter/types.d.ts +1 -0
  43. package/components/DarkModeSwitcher/DarkModeSwitcher.d.ts +1 -0
  44. package/components/DarkModeSwitcher/DarkModeSwitcher.js +2 -2
  45. package/components/DarkModeSwitcher/types.d.ts +1 -0
  46. package/components/DatePicker/CustomHeader/CustomHeader.js +1 -1
  47. package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +2 -2
  48. package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +3 -3
  49. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +2 -2
  50. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +2 -2
  51. package/components/DatePicker/TimePicker/TimePickerDesktop.js +2 -2
  52. package/components/DatePicker/TimePicker/TimePickerMobile.js +2 -2
  53. package/components/DatePicker/types.d.ts +2 -1
  54. package/components/Divider/Divider.js +2 -2
  55. package/components/Divider/types.d.ts +1 -0
  56. package/components/Empty/Empty.js +2 -2
  57. package/components/Empty/types.d.ts +1 -0
  58. package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +5 -5
  59. package/components/FileUpload/DropzoneFileUpload/ErrorItem.d.ts +2 -2
  60. package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +2 -2
  61. package/components/FileUpload/DropzoneFileUpload/PreviewItem.d.ts +2 -2
  62. package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +2 -2
  63. package/components/FileUpload/FileUpload.js +2 -2
  64. package/components/FileUpload/UploadItems.js +3 -3
  65. package/components/FileUpload/types.d.ts +1 -1
  66. package/components/FormContainer/FormContainer.js +4 -4
  67. package/components/FormContainer/types.d.ts +1 -0
  68. package/components/FormField/FormField.js +3 -3
  69. package/components/FormField/types.d.ts +1 -0
  70. package/components/Heading/Heading.js +2 -2
  71. package/components/Heading/types.d.ts +1 -0
  72. package/components/Image/Image.js +3 -3
  73. package/components/Image/types.d.ts +1 -0
  74. package/components/Input/Input.js +5 -5
  75. package/components/Input/types.d.ts +1 -1
  76. package/components/LineChart/LineChart.d.ts +1 -1
  77. package/components/LineChart/LineChart.js +4 -4
  78. package/components/LineChart/types.d.ts +1 -0
  79. package/components/Link/Link.js +3 -3
  80. package/components/Link/types.d.ts +1 -0
  81. package/components/Menu/Menu.js +2 -2
  82. package/components/Menu/NestedMenu.js +2 -2
  83. package/components/Menu/types.d.ts +1 -0
  84. package/components/Modal/ModalConfirmation.d.ts +1 -1
  85. package/components/Modal/ModalConfirmation.js +2 -2
  86. package/components/Modal/ModalContent.d.ts +2 -2
  87. package/components/Modal/ModalContent.js +2 -2
  88. package/components/Modal/types.d.ts +2 -2
  89. package/components/More/More.js +2 -2
  90. package/components/More/types.d.ts +1 -0
  91. package/components/Pagination/Pagination.js +4 -4
  92. package/components/Pagination/types.d.ts +1 -0
  93. package/components/Popover/PopoverDesktop.js +2 -2
  94. package/components/Popover/PopoverMobile.js +2 -2
  95. package/components/Popover/types.d.ts +1 -0
  96. package/components/Progress/Progress.js +3 -3
  97. package/components/Progress/types.d.ts +1 -0
  98. package/components/ProgressStep/ProgressStep.js +3 -3
  99. package/components/ProgressStep/Step.js +6 -6
  100. package/components/ProgressStep/types.d.ts +1 -0
  101. package/components/Radio/Radio.js +2 -2
  102. package/components/Radio/RadioGroup.js +1 -1
  103. package/components/Radio/types.d.ts +1 -0
  104. package/components/SVGIcons/IconAdd.d.ts +1 -1
  105. package/components/SVGIcons/IconAdd.js +2 -2
  106. package/components/SVGIcons/IconAddCircle.d.ts +1 -1
  107. package/components/SVGIcons/IconAddCircle.js +2 -2
  108. package/components/SVGIcons/IconAddCircleFilled.d.ts +1 -1
  109. package/components/SVGIcons/IconAddCircleFilled.js +2 -2
  110. package/components/SVGIcons/IconAddFilled.d.ts +1 -1
  111. package/components/SVGIcons/IconAddFilled.js +2 -2
  112. package/components/SVGIcons/IconAirplaneTakeOff.d.ts +1 -1
  113. package/components/SVGIcons/IconAirplaneTakeOff.js +2 -2
  114. package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +1 -1
  115. package/components/SVGIcons/IconAirplaneTakeOffFilled.js +2 -2
  116. package/components/SVGIcons/IconAlert.d.ts +1 -1
  117. package/components/SVGIcons/IconAlert.js +2 -2
  118. package/components/SVGIcons/IconAlertBadge.d.ts +1 -1
  119. package/components/SVGIcons/IconAlertBadge.js +2 -2
  120. package/components/SVGIcons/IconAlertBadgeFilled.d.ts +1 -1
  121. package/components/SVGIcons/IconAlertBadgeFilled.js +2 -2
  122. package/components/SVGIcons/IconAlertFilled.d.ts +1 -1
  123. package/components/SVGIcons/IconAlertFilled.js +2 -2
  124. package/components/SVGIcons/IconAm.d.ts +1 -1
  125. package/components/SVGIcons/IconAm.js +2 -2
  126. package/components/SVGIcons/IconAmd.d.ts +1 -1
  127. package/components/SVGIcons/IconAmd.js +2 -2
  128. package/components/SVGIcons/IconAmdFilled.d.ts +1 -1
  129. package/components/SVGIcons/IconAmdFilled.js +2 -2
  130. package/components/SVGIcons/IconApple.d.ts +1 -1
  131. package/components/SVGIcons/IconApple.js +2 -2
  132. package/components/SVGIcons/IconArrowDown.d.ts +1 -1
  133. package/components/SVGIcons/IconArrowDown.js +2 -2
  134. package/components/SVGIcons/IconArrowDownFilled.d.ts +1 -1
  135. package/components/SVGIcons/IconArrowDownFilled.js +2 -2
  136. package/components/SVGIcons/IconArrowDownLeft.d.ts +1 -1
  137. package/components/SVGIcons/IconArrowDownLeft.js +2 -2
  138. package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +1 -1
  139. package/components/SVGIcons/IconArrowDownLeftFilled.js +2 -2
  140. package/components/SVGIcons/IconArrowDownload.d.ts +1 -1
  141. package/components/SVGIcons/IconArrowDownload.js +2 -2
  142. package/components/SVGIcons/IconArrowDownloadFilled.d.ts +1 -1
  143. package/components/SVGIcons/IconArrowDownloadFilled.js +2 -2
  144. package/components/SVGIcons/IconArrowEnter.d.ts +1 -1
  145. package/components/SVGIcons/IconArrowEnter.js +2 -2
  146. package/components/SVGIcons/IconArrowEnterFilled.d.ts +1 -1
  147. package/components/SVGIcons/IconArrowEnterFilled.js +2 -2
  148. package/components/SVGIcons/IconArrowExit.d.ts +1 -1
  149. package/components/SVGIcons/IconArrowExit.js +2 -2
  150. package/components/SVGIcons/IconArrowExitFilled.d.ts +1 -1
  151. package/components/SVGIcons/IconArrowExitFilled.js +2 -2
  152. package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +1 -1
  153. package/components/SVGIcons/IconArrowExportLeftToRight.js +2 -2
  154. package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +1 -1
  155. package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +2 -2
  156. package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +1 -1
  157. package/components/SVGIcons/IconArrowExportRightToLeft.js +2 -2
  158. package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +1 -1
  159. package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +2 -2
  160. package/components/SVGIcons/IconArrowExportUp.d.ts +1 -1
  161. package/components/SVGIcons/IconArrowExportUp.js +2 -2
  162. package/components/SVGIcons/IconArrowExportUpFilled.d.ts +1 -1
  163. package/components/SVGIcons/IconArrowExportUpFilled.js +2 -2
  164. package/components/SVGIcons/IconArrowImport.d.ts +1 -1
  165. package/components/SVGIcons/IconArrowImport.js +2 -2
  166. package/components/SVGIcons/IconArrowImportFilled.d.ts +1 -1
  167. package/components/SVGIcons/IconArrowImportFilled.js +2 -2
  168. package/components/SVGIcons/IconArrowLeft.d.ts +1 -1
  169. package/components/SVGIcons/IconArrowLeft.js +2 -2
  170. package/components/SVGIcons/IconArrowLeftFilled.d.ts +1 -1
  171. package/components/SVGIcons/IconArrowLeftFilled.js +2 -2
  172. package/components/SVGIcons/IconArrowRepeatAll.d.ts +1 -1
  173. package/components/SVGIcons/IconArrowRepeatAll.js +2 -2
  174. package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +1 -1
  175. package/components/SVGIcons/IconArrowRepeatAllFilled.js +2 -2
  176. package/components/SVGIcons/IconArrowReset.d.ts +1 -1
  177. package/components/SVGIcons/IconArrowReset.js +2 -2
  178. package/components/SVGIcons/IconArrowResetFilled.d.ts +1 -1
  179. package/components/SVGIcons/IconArrowResetFilled.js +2 -2
  180. package/components/SVGIcons/IconArrowRight.d.ts +1 -1
  181. package/components/SVGIcons/IconArrowRight.js +2 -2
  182. package/components/SVGIcons/IconArrowRightFilled.d.ts +1 -1
  183. package/components/SVGIcons/IconArrowRightFilled.js +2 -2
  184. package/components/SVGIcons/IconArrowSort.d.ts +1 -1
  185. package/components/SVGIcons/IconArrowSort.js +2 -2
  186. package/components/SVGIcons/IconArrowSortFilled.d.ts +1 -1
  187. package/components/SVGIcons/IconArrowSortFilled.js +2 -2
  188. package/components/SVGIcons/IconArrowSync.d.ts +1 -1
  189. package/components/SVGIcons/IconArrowSync.js +2 -2
  190. package/components/SVGIcons/IconArrowSyncFilled.d.ts +1 -1
  191. package/components/SVGIcons/IconArrowSyncFilled.js +2 -2
  192. package/components/SVGIcons/IconArrowUp.d.ts +1 -1
  193. package/components/SVGIcons/IconArrowUp.js +2 -2
  194. package/components/SVGIcons/IconArrowUpFilled.d.ts +1 -1
  195. package/components/SVGIcons/IconArrowUpFilled.js +2 -2
  196. package/components/SVGIcons/IconArrowUpLeft.d.ts +1 -1
  197. package/components/SVGIcons/IconArrowUpLeft.js +2 -2
  198. package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +1 -1
  199. package/components/SVGIcons/IconArrowUpLeftFilled.js +2 -2
  200. package/components/SVGIcons/IconArrowUpRight.d.ts +1 -1
  201. package/components/SVGIcons/IconArrowUpRight.js +2 -2
  202. package/components/SVGIcons/IconArrowUpRightFilled.d.ts +1 -1
  203. package/components/SVGIcons/IconArrowUpRightFilled.js +2 -2
  204. package/components/SVGIcons/IconAttach.d.ts +1 -1
  205. package/components/SVGIcons/IconAttach.js +2 -2
  206. package/components/SVGIcons/IconAttachFilled.d.ts +1 -1
  207. package/components/SVGIcons/IconAttachFilled.js +2 -2
  208. package/components/SVGIcons/IconBeach.d.ts +1 -1
  209. package/components/SVGIcons/IconBeach.js +2 -2
  210. package/components/SVGIcons/IconBeachFilled.d.ts +1 -1
  211. package/components/SVGIcons/IconBeachFilled.js +2 -2
  212. package/components/SVGIcons/IconBook.d.ts +1 -1
  213. package/components/SVGIcons/IconBook.js +2 -2
  214. package/components/SVGIcons/IconBookFilled.d.ts +1 -1
  215. package/components/SVGIcons/IconBookFilled.js +2 -2
  216. package/components/SVGIcons/IconBookmark.d.ts +1 -1
  217. package/components/SVGIcons/IconBookmark.js +2 -2
  218. package/components/SVGIcons/IconBookmarkFilled.d.ts +1 -1
  219. package/components/SVGIcons/IconBookmarkFilled.js +2 -2
  220. package/components/SVGIcons/IconBriefcase.d.ts +1 -1
  221. package/components/SVGIcons/IconBriefcase.js +2 -2
  222. package/components/SVGIcons/IconBriefcaseFilled.d.ts +1 -1
  223. package/components/SVGIcons/IconBriefcaseFilled.js +2 -2
  224. package/components/SVGIcons/IconBudgetTransfer.d.ts +1 -1
  225. package/components/SVGIcons/IconBudgetTransfer.js +2 -2
  226. package/components/SVGIcons/IconBuilding.d.ts +1 -1
  227. package/components/SVGIcons/IconBuilding.js +2 -2
  228. package/components/SVGIcons/IconBuildingBank.d.ts +1 -1
  229. package/components/SVGIcons/IconBuildingBank.js +2 -2
  230. package/components/SVGIcons/IconBuildingBankFilled.d.ts +1 -1
  231. package/components/SVGIcons/IconBuildingBankFilled.js +2 -2
  232. package/components/SVGIcons/IconBuildingFilled.d.ts +1 -1
  233. package/components/SVGIcons/IconBuildingFilled.js +2 -2
  234. package/components/SVGIcons/IconBulletListAdd.d.ts +1 -1
  235. package/components/SVGIcons/IconBulletListAdd.js +2 -2
  236. package/components/SVGIcons/IconBulletListAddFilled.d.ts +1 -1
  237. package/components/SVGIcons/IconBulletListAddFilled.js +2 -2
  238. package/components/SVGIcons/IconCalculator.d.ts +1 -1
  239. package/components/SVGIcons/IconCalculator.js +2 -2
  240. package/components/SVGIcons/IconCalculatorFilled.d.ts +1 -1
  241. package/components/SVGIcons/IconCalculatorFilled.js +2 -2
  242. package/components/SVGIcons/IconCalendarClock.d.ts +1 -1
  243. package/components/SVGIcons/IconCalendarClock.js +2 -2
  244. package/components/SVGIcons/IconCalendarClockFilled.d.ts +1 -1
  245. package/components/SVGIcons/IconCalendarClockFilled.js +2 -2
  246. package/components/SVGIcons/IconCalendarDay.d.ts +1 -1
  247. package/components/SVGIcons/IconCalendarDay.js +2 -2
  248. package/components/SVGIcons/IconCalendarDayFilled.d.ts +1 -1
  249. package/components/SVGIcons/IconCalendarDayFilled.js +2 -2
  250. package/components/SVGIcons/IconCalendarEmpty.d.ts +1 -1
  251. package/components/SVGIcons/IconCalendarEmpty.js +2 -2
  252. package/components/SVGIcons/IconCalendarLeft.d.ts +1 -1
  253. package/components/SVGIcons/IconCalendarLeft.js +2 -2
  254. package/components/SVGIcons/IconCalendarLeftFilled.d.ts +1 -1
  255. package/components/SVGIcons/IconCalendarLeftFilled.js +2 -2
  256. package/components/SVGIcons/IconCalendarRight.d.ts +1 -1
  257. package/components/SVGIcons/IconCalendarRight.js +2 -2
  258. package/components/SVGIcons/IconCalendarRightFilled.d.ts +1 -1
  259. package/components/SVGIcons/IconCalendarRightFilled.js +2 -2
  260. package/components/SVGIcons/IconCall.d.ts +1 -1
  261. package/components/SVGIcons/IconCall.js +2 -2
  262. package/components/SVGIcons/IconCallFilled.d.ts +1 -1
  263. package/components/SVGIcons/IconCallFilled.js +2 -2
  264. package/components/SVGIcons/IconCard.d.ts +1 -1
  265. package/components/SVGIcons/IconCard.js +2 -2
  266. package/components/SVGIcons/IconCardFilled.d.ts +1 -1
  267. package/components/SVGIcons/IconCardFilled.js +2 -2
  268. package/components/SVGIcons/IconCaretDown.d.ts +1 -1
  269. package/components/SVGIcons/IconCaretDown.js +2 -2
  270. package/components/SVGIcons/IconCaretDownFilled.d.ts +1 -1
  271. package/components/SVGIcons/IconCaretDownFilled.js +2 -2
  272. package/components/SVGIcons/IconCaretDownRight.d.ts +1 -1
  273. package/components/SVGIcons/IconCaretDownRight.js +2 -2
  274. package/components/SVGIcons/IconCaretDownRightFilled.d.ts +1 -1
  275. package/components/SVGIcons/IconCaretDownRightFilled.js +2 -2
  276. package/components/SVGIcons/IconCaretLeft.d.ts +1 -1
  277. package/components/SVGIcons/IconCaretLeft.js +2 -2
  278. package/components/SVGIcons/IconCaretLeftFilled.d.ts +1 -1
  279. package/components/SVGIcons/IconCaretLeftFilled.js +2 -2
  280. package/components/SVGIcons/IconCaretRight.d.ts +1 -1
  281. package/components/SVGIcons/IconCaretRight.js +2 -2
  282. package/components/SVGIcons/IconCaretRightFilled.d.ts +1 -1
  283. package/components/SVGIcons/IconCaretRightFilled.js +2 -2
  284. package/components/SVGIcons/IconCaretUp.d.ts +1 -1
  285. package/components/SVGIcons/IconCaretUp.js +2 -2
  286. package/components/SVGIcons/IconCaretUpFilled.d.ts +1 -1
  287. package/components/SVGIcons/IconCaretUpFilled.js +2 -2
  288. package/components/SVGIcons/IconChartPerson.d.ts +1 -1
  289. package/components/SVGIcons/IconChartPerson.js +2 -2
  290. package/components/SVGIcons/IconChartPersonFilled.d.ts +1 -1
  291. package/components/SVGIcons/IconChartPersonFilled.js +2 -2
  292. package/components/SVGIcons/IconChat.d.ts +1 -1
  293. package/components/SVGIcons/IconChat.js +2 -2
  294. package/components/SVGIcons/IconChatFilled.d.ts +1 -1
  295. package/components/SVGIcons/IconChatFilled.js +2 -2
  296. package/components/SVGIcons/IconChatMultiple.d.ts +1 -1
  297. package/components/SVGIcons/IconChatMultiple.js +2 -2
  298. package/components/SVGIcons/IconChatMultipleFilled.d.ts +1 -1
  299. package/components/SVGIcons/IconChatMultipleFilled.js +2 -2
  300. package/components/SVGIcons/IconCheckboxArrowRight.d.ts +1 -1
  301. package/components/SVGIcons/IconCheckboxArrowRight.js +2 -2
  302. package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +1 -1
  303. package/components/SVGIcons/IconCheckboxArrowRightFilled.js +2 -2
  304. package/components/SVGIcons/IconCheckmark.d.ts +1 -1
  305. package/components/SVGIcons/IconCheckmark.js +2 -2
  306. package/components/SVGIcons/IconCheckmarkCircle.d.ts +1 -1
  307. package/components/SVGIcons/IconCheckmarkCircle.js +2 -2
  308. package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +1 -1
  309. package/components/SVGIcons/IconCheckmarkCircleFilled.js +2 -2
  310. package/components/SVGIcons/IconCheckmarkFilled.d.ts +1 -1
  311. package/components/SVGIcons/IconCheckmarkFilled.js +2 -2
  312. package/components/SVGIcons/IconChevronDoubleLeft.d.ts +1 -1
  313. package/components/SVGIcons/IconChevronDoubleLeft.js +2 -2
  314. package/components/SVGIcons/IconChevronDoubleRight.d.ts +1 -1
  315. package/components/SVGIcons/IconChevronDoubleRight.js +2 -2
  316. package/components/SVGIcons/IconChevronDown.d.ts +1 -1
  317. package/components/SVGIcons/IconChevronDown.js +2 -2
  318. package/components/SVGIcons/IconChevronDownFilled.d.ts +1 -1
  319. package/components/SVGIcons/IconChevronDownFilled.js +2 -2
  320. package/components/SVGIcons/IconChevronLeft.d.ts +1 -1
  321. package/components/SVGIcons/IconChevronLeft.js +2 -2
  322. package/components/SVGIcons/IconChevronLeftFilled.d.ts +1 -1
  323. package/components/SVGIcons/IconChevronLeftFilled.js +2 -2
  324. package/components/SVGIcons/IconChevronRight.d.ts +1 -1
  325. package/components/SVGIcons/IconChevronRight.js +2 -2
  326. package/components/SVGIcons/IconChevronRightFilled.d.ts +1 -1
  327. package/components/SVGIcons/IconChevronRightFilled.js +2 -2
  328. package/components/SVGIcons/IconChevronUp.d.ts +1 -1
  329. package/components/SVGIcons/IconChevronUp.js +2 -2
  330. package/components/SVGIcons/IconChevronUpDown.d.ts +1 -1
  331. package/components/SVGIcons/IconChevronUpDown.js +2 -2
  332. package/components/SVGIcons/IconChevronUpDownFilled.d.ts +1 -1
  333. package/components/SVGIcons/IconChevronUpDownFilled.js +2 -2
  334. package/components/SVGIcons/IconChevronUpFilled.d.ts +1 -1
  335. package/components/SVGIcons/IconChevronUpFilled.js +2 -2
  336. package/components/SVGIcons/IconClipboardDay.d.ts +1 -1
  337. package/components/SVGIcons/IconClipboardDay.js +2 -2
  338. package/components/SVGIcons/IconClock.d.ts +1 -1
  339. package/components/SVGIcons/IconClock.js +2 -2
  340. package/components/SVGIcons/IconClockDismiss.d.ts +1 -1
  341. package/components/SVGIcons/IconClockDismiss.js +2 -2
  342. package/components/SVGIcons/IconClockDismissFilled.d.ts +1 -1
  343. package/components/SVGIcons/IconClockDismissFilled.js +2 -2
  344. package/components/SVGIcons/IconClockFilled.d.ts +1 -1
  345. package/components/SVGIcons/IconClockFilled.js +2 -2
  346. package/components/SVGIcons/IconCode.d.ts +1 -1
  347. package/components/SVGIcons/IconCode.js +2 -2
  348. package/components/SVGIcons/IconCoins.d.ts +1 -1
  349. package/components/SVGIcons/IconCoins.js +2 -2
  350. package/components/SVGIcons/IconComment.d.ts +1 -1
  351. package/components/SVGIcons/IconComment.js +2 -2
  352. package/components/SVGIcons/IconCommentFilled.d.ts +1 -1
  353. package/components/SVGIcons/IconCommentFilled.js +2 -2
  354. package/components/SVGIcons/IconContractCard.d.ts +1 -1
  355. package/components/SVGIcons/IconContractCard.js +2 -2
  356. package/components/SVGIcons/IconContractCardFilled.d.ts +1 -1
  357. package/components/SVGIcons/IconContractCardFilled.js +2 -2
  358. package/components/SVGIcons/IconCopy.d.ts +1 -1
  359. package/components/SVGIcons/IconCopy.js +2 -2
  360. package/components/SVGIcons/IconCopyFilled.d.ts +1 -1
  361. package/components/SVGIcons/IconCopyFilled.js +2 -2
  362. package/components/SVGIcons/IconCubeTree.d.ts +1 -1
  363. package/components/SVGIcons/IconCubeTree.js +2 -2
  364. package/components/SVGIcons/IconCubeTreeFilled.d.ts +1 -1
  365. package/components/SVGIcons/IconCubeTreeFilled.js +2 -2
  366. package/components/SVGIcons/IconDatabase.d.ts +1 -1
  367. package/components/SVGIcons/IconDatabase.js +2 -2
  368. package/components/SVGIcons/IconDatabaseFilled.d.ts +1 -1
  369. package/components/SVGIcons/IconDatabaseFilled.js +2 -2
  370. package/components/SVGIcons/IconDelete.d.ts +1 -1
  371. package/components/SVGIcons/IconDelete.js +2 -2
  372. package/components/SVGIcons/IconDeleteFilled.d.ts +1 -1
  373. package/components/SVGIcons/IconDeleteFilled.js +2 -2
  374. package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +1 -1
  375. package/components/SVGIcons/IconDeviceMeetingRoom.js +2 -2
  376. package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +1 -1
  377. package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +2 -2
  378. package/components/SVGIcons/IconDismiss.d.ts +1 -1
  379. package/components/SVGIcons/IconDismiss.js +2 -2
  380. package/components/SVGIcons/IconDismissCircle.d.ts +1 -1
  381. package/components/SVGIcons/IconDismissCircle.js +2 -2
  382. package/components/SVGIcons/IconDismissCircleFilled.d.ts +1 -1
  383. package/components/SVGIcons/IconDismissCircleFilled.js +2 -2
  384. package/components/SVGIcons/IconDismissFilled.d.ts +1 -1
  385. package/components/SVGIcons/IconDismissFilled.js +2 -2
  386. package/components/SVGIcons/IconDocument.d.ts +1 -1
  387. package/components/SVGIcons/IconDocument.js +2 -2
  388. package/components/SVGIcons/IconDocumentBulletList.d.ts +1 -1
  389. package/components/SVGIcons/IconDocumentBulletList.js +2 -2
  390. package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +1 -1
  391. package/components/SVGIcons/IconDocumentBulletListFilled.js +2 -2
  392. package/components/SVGIcons/IconDocumentEdit.d.ts +1 -1
  393. package/components/SVGIcons/IconDocumentEdit.js +2 -2
  394. package/components/SVGIcons/IconDocumentEditFilled.d.ts +1 -1
  395. package/components/SVGIcons/IconDocumentEditFilled.js +2 -2
  396. package/components/SVGIcons/IconDocumentFilled.d.ts +1 -1
  397. package/components/SVGIcons/IconDocumentFilled.js +2 -2
  398. package/components/SVGIcons/IconDocumentPerson.d.ts +1 -1
  399. package/components/SVGIcons/IconDocumentPerson.js +2 -2
  400. package/components/SVGIcons/IconEdit.d.ts +1 -1
  401. package/components/SVGIcons/IconEdit.js +2 -2
  402. package/components/SVGIcons/IconEditFilled.d.ts +1 -1
  403. package/components/SVGIcons/IconEditFilled.js +2 -2
  404. package/components/SVGIcons/IconErrorCircle.d.ts +1 -1
  405. package/components/SVGIcons/IconErrorCircle.js +2 -2
  406. package/components/SVGIcons/IconErrorCircleFilled.d.ts +1 -1
  407. package/components/SVGIcons/IconErrorCircleFilled.js +2 -2
  408. package/components/SVGIcons/IconEur.d.ts +1 -1
  409. package/components/SVGIcons/IconEur.js +2 -2
  410. package/components/SVGIcons/IconEurFilled.d.ts +1 -1
  411. package/components/SVGIcons/IconEurFilled.js +2 -2
  412. package/components/SVGIcons/IconExpandUpLeft.d.ts +1 -1
  413. package/components/SVGIcons/IconExpandUpLeft.js +2 -2
  414. package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +1 -1
  415. package/components/SVGIcons/IconExpandUpLeftFilled.js +2 -2
  416. package/components/SVGIcons/IconExpandUpRight.d.ts +1 -1
  417. package/components/SVGIcons/IconExpandUpRight.js +2 -2
  418. package/components/SVGIcons/IconExpandUpRightFilled.d.ts +1 -1
  419. package/components/SVGIcons/IconExpandUpRightFilled.js +2 -2
  420. package/components/SVGIcons/IconEyeOff.d.ts +1 -1
  421. package/components/SVGIcons/IconEyeOff.js +2 -2
  422. package/components/SVGIcons/IconEyeOffFilled.d.ts +1 -1
  423. package/components/SVGIcons/IconEyeOffFilled.js +2 -2
  424. package/components/SVGIcons/IconEyeOn.d.ts +1 -1
  425. package/components/SVGIcons/IconEyeOn.js +2 -2
  426. package/components/SVGIcons/IconEyeOnFilled.d.ts +1 -1
  427. package/components/SVGIcons/IconEyeOnFilled.js +2 -2
  428. package/components/SVGIcons/IconFacebook.d.ts +1 -1
  429. package/components/SVGIcons/IconFacebook.js +2 -2
  430. package/components/SVGIcons/IconFastAcceleration.d.ts +1 -1
  431. package/components/SVGIcons/IconFastAcceleration.js +2 -2
  432. package/components/SVGIcons/IconFastAccelerationFilled.d.ts +1 -1
  433. package/components/SVGIcons/IconFastAccelerationFilled.js +2 -2
  434. package/components/SVGIcons/IconFeed.d.ts +1 -1
  435. package/components/SVGIcons/IconFeed.js +2 -2
  436. package/components/SVGIcons/IconFeedFilled.d.ts +1 -1
  437. package/components/SVGIcons/IconFeedFilled.js +2 -2
  438. package/components/SVGIcons/IconFilter.d.ts +1 -1
  439. package/components/SVGIcons/IconFilter.js +2 -2
  440. package/components/SVGIcons/IconFilterFilled.d.ts +1 -1
  441. package/components/SVGIcons/IconFilterFilled.js +2 -2
  442. package/components/SVGIcons/IconFlag.d.ts +1 -1
  443. package/components/SVGIcons/IconFlag.js +2 -2
  444. package/components/SVGIcons/IconFlagFilled.d.ts +1 -1
  445. package/components/SVGIcons/IconFlagFilled.js +2 -2
  446. package/components/SVGIcons/IconFolderLink.d.ts +1 -1
  447. package/components/SVGIcons/IconFolderLink.js +2 -2
  448. package/components/SVGIcons/IconFolderLinkFilled.d.ts +1 -1
  449. package/components/SVGIcons/IconFolderLinkFilled.js +2 -2
  450. package/components/SVGIcons/IconFood.d.ts +1 -1
  451. package/components/SVGIcons/IconFood.js +2 -2
  452. package/components/SVGIcons/IconFoodFilled.d.ts +1 -1
  453. package/components/SVGIcons/IconFoodFilled.js +2 -2
  454. package/components/SVGIcons/IconGb.d.ts +1 -1
  455. package/components/SVGIcons/IconGb.js +2 -2
  456. package/components/SVGIcons/IconGlobe.d.ts +1 -1
  457. package/components/SVGIcons/IconGlobe.js +2 -2
  458. package/components/SVGIcons/IconGlobeFilled.d.ts +1 -1
  459. package/components/SVGIcons/IconGlobeFilled.js +2 -2
  460. package/components/SVGIcons/IconGoogle.d.ts +1 -1
  461. package/components/SVGIcons/IconGoogle.js +2 -2
  462. package/components/SVGIcons/IconHandOpenHeart.d.ts +1 -1
  463. package/components/SVGIcons/IconHandOpenHeart.js +2 -2
  464. package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +1 -1
  465. package/components/SVGIcons/IconHandOpenHeartFilled.js +2 -2
  466. package/components/SVGIcons/IconHeart.d.ts +1 -1
  467. package/components/SVGIcons/IconHeart.js +2 -2
  468. package/components/SVGIcons/IconHeartFilled.d.ts +1 -1
  469. package/components/SVGIcons/IconHeartFilled.js +2 -2
  470. package/components/SVGIcons/IconHistory.d.ts +1 -1
  471. package/components/SVGIcons/IconHistory.js +2 -2
  472. package/components/SVGIcons/IconHistoryFilled.d.ts +1 -1
  473. package/components/SVGIcons/IconHistoryFilled.js +2 -2
  474. package/components/SVGIcons/IconHome.d.ts +1 -1
  475. package/components/SVGIcons/IconHome.js +2 -2
  476. package/components/SVGIcons/IconHomeFilled.d.ts +1 -1
  477. package/components/SVGIcons/IconHomeFilled.js +2 -2
  478. package/components/SVGIcons/IconImage.d.ts +1 -1
  479. package/components/SVGIcons/IconImage.js +2 -2
  480. package/components/SVGIcons/IconImageFilled.d.ts +1 -1
  481. package/components/SVGIcons/IconImageFilled.js +2 -2
  482. package/components/SVGIcons/IconInfo.d.ts +1 -1
  483. package/components/SVGIcons/IconInfo.js +2 -2
  484. package/components/SVGIcons/IconInfoFilled.d.ts +1 -1
  485. package/components/SVGIcons/IconInfoFilled.js +2 -2
  486. package/components/SVGIcons/IconInstagram.d.ts +1 -1
  487. package/components/SVGIcons/IconInstagram.js +2 -2
  488. package/components/SVGIcons/IconKeyReset.d.ts +1 -1
  489. package/components/SVGIcons/IconKeyReset.js +2 -2
  490. package/components/SVGIcons/IconKeyResetFilled.d.ts +1 -1
  491. package/components/SVGIcons/IconKeyResetFilled.js +2 -2
  492. package/components/SVGIcons/IconLayers.d.ts +1 -1
  493. package/components/SVGIcons/IconLayers.js +2 -2
  494. package/components/SVGIcons/IconLibrary.d.ts +1 -1
  495. package/components/SVGIcons/IconLibrary.js +2 -2
  496. package/components/SVGIcons/IconLibraryFilled.d.ts +1 -1
  497. package/components/SVGIcons/IconLibraryFilled.js +2 -2
  498. package/components/SVGIcons/IconLink.d.ts +1 -1
  499. package/components/SVGIcons/IconLink.js +2 -2
  500. package/components/SVGIcons/IconLinkFilled.d.ts +1 -1
  501. package/components/SVGIcons/IconLinkFilled.js +2 -2
  502. package/components/SVGIcons/IconLinkedin.d.ts +1 -1
  503. package/components/SVGIcons/IconLinkedin.js +2 -2
  504. package/components/SVGIcons/IconList.d.ts +1 -1
  505. package/components/SVGIcons/IconList.js +2 -2
  506. package/components/SVGIcons/IconListFilled.d.ts +1 -1
  507. package/components/SVGIcons/IconListFilled.js +2 -2
  508. package/components/SVGIcons/IconLocation.d.ts +1 -1
  509. package/components/SVGIcons/IconLocation.js +2 -2
  510. package/components/SVGIcons/IconLocationFilled.d.ts +1 -1
  511. package/components/SVGIcons/IconLocationFilled.js +2 -2
  512. package/components/SVGIcons/IconLockClosed.d.ts +1 -1
  513. package/components/SVGIcons/IconLockClosed.js +2 -2
  514. package/components/SVGIcons/IconLockClosedFilled.d.ts +1 -1
  515. package/components/SVGIcons/IconLockClosedFilled.js +2 -2
  516. package/components/SVGIcons/IconLockOpen.d.ts +1 -1
  517. package/components/SVGIcons/IconLockOpen.js +2 -2
  518. package/components/SVGIcons/IconLockOpenFilled.d.ts +1 -1
  519. package/components/SVGIcons/IconLockOpenFilled.js +2 -2
  520. package/components/SVGIcons/IconMail.d.ts +1 -1
  521. package/components/SVGIcons/IconMail.js +2 -2
  522. package/components/SVGIcons/IconMailAdd.d.ts +1 -1
  523. package/components/SVGIcons/IconMailAdd.js +2 -2
  524. package/components/SVGIcons/IconMailAddFilled.d.ts +1 -1
  525. package/components/SVGIcons/IconMailAddFilled.js +2 -2
  526. package/components/SVGIcons/IconMailArrowForward.d.ts +1 -1
  527. package/components/SVGIcons/IconMailArrowForward.js +2 -2
  528. package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +1 -1
  529. package/components/SVGIcons/IconMailArrowForwardFilled.js +2 -2
  530. package/components/SVGIcons/IconMailFilled.d.ts +1 -1
  531. package/components/SVGIcons/IconMailFilled.js +2 -2
  532. package/components/SVGIcons/IconMailLink.d.ts +1 -1
  533. package/components/SVGIcons/IconMailLink.js +2 -2
  534. package/components/SVGIcons/IconMailLinkFilled.d.ts +1 -1
  535. package/components/SVGIcons/IconMailLinkFilled.js +2 -2
  536. package/components/SVGIcons/IconMedium.d.ts +1 -1
  537. package/components/SVGIcons/IconMedium.js +2 -2
  538. package/components/SVGIcons/IconMoon.d.ts +1 -1
  539. package/components/SVGIcons/IconMoon.js +2 -2
  540. package/components/SVGIcons/IconMore.d.ts +1 -1
  541. package/components/SVGIcons/IconMore.js +2 -2
  542. package/components/SVGIcons/IconMoreFilled.d.ts +1 -1
  543. package/components/SVGIcons/IconMoreFilled.js +2 -2
  544. package/components/SVGIcons/IconMoreVertical.d.ts +1 -1
  545. package/components/SVGIcons/IconMoreVertical.js +2 -2
  546. package/components/SVGIcons/IconMoreVerticalFilled.d.ts +1 -1
  547. package/components/SVGIcons/IconMoreVerticalFilled.js +2 -2
  548. package/components/SVGIcons/IconNavigation.d.ts +1 -1
  549. package/components/SVGIcons/IconNavigation.js +2 -2
  550. package/components/SVGIcons/IconNavigationFilled.d.ts +1 -1
  551. package/components/SVGIcons/IconNavigationFilled.js +2 -2
  552. package/components/SVGIcons/IconNotebook.d.ts +1 -1
  553. package/components/SVGIcons/IconNotebook.js +2 -2
  554. package/components/SVGIcons/IconNotebookAdd.d.ts +1 -1
  555. package/components/SVGIcons/IconNotebookAdd.js +2 -2
  556. package/components/SVGIcons/IconNotebookAddFilled.d.ts +1 -1
  557. package/components/SVGIcons/IconNotebookAddFilled.js +2 -2
  558. package/components/SVGIcons/IconNotebookFilled.d.ts +1 -1
  559. package/components/SVGIcons/IconNotebookFilled.js +2 -2
  560. package/components/SVGIcons/IconOnlyEmployee.d.ts +1 -1
  561. package/components/SVGIcons/IconOnlyEmployee.js +2 -2
  562. package/components/SVGIcons/IconOpen.d.ts +1 -1
  563. package/components/SVGIcons/IconOpen.js +2 -2
  564. package/components/SVGIcons/IconOpenFilled.d.ts +1 -1
  565. package/components/SVGIcons/IconOpenFilled.js +2 -2
  566. package/components/SVGIcons/IconPatient.d.ts +1 -1
  567. package/components/SVGIcons/IconPatient.js +2 -2
  568. package/components/SVGIcons/IconPatientFilled.d.ts +1 -1
  569. package/components/SVGIcons/IconPatientFilled.js +2 -2
  570. package/components/SVGIcons/IconPeople.d.ts +1 -1
  571. package/components/SVGIcons/IconPeople.js +2 -2
  572. package/components/SVGIcons/IconPeopleAdd.d.ts +1 -1
  573. package/components/SVGIcons/IconPeopleAdd.js +2 -2
  574. package/components/SVGIcons/IconPeopleAddFilled.d.ts +1 -1
  575. package/components/SVGIcons/IconPeopleAddFilled.js +2 -2
  576. package/components/SVGIcons/IconPeopleFilled.d.ts +1 -1
  577. package/components/SVGIcons/IconPeopleFilled.js +2 -2
  578. package/components/SVGIcons/IconPeopleList.d.ts +1 -1
  579. package/components/SVGIcons/IconPeopleList.js +2 -2
  580. package/components/SVGIcons/IconPeopleListFilled.d.ts +1 -1
  581. package/components/SVGIcons/IconPeopleListFilled.js +2 -2
  582. package/components/SVGIcons/IconPeopleTeam.d.ts +1 -1
  583. package/components/SVGIcons/IconPeopleTeam.js +2 -2
  584. package/components/SVGIcons/IconPeopleTeamFilled.d.ts +1 -1
  585. package/components/SVGIcons/IconPeopleTeamFilled.js +2 -2
  586. package/components/SVGIcons/IconPercent.d.ts +1 -1
  587. package/components/SVGIcons/IconPercent.js +2 -2
  588. package/components/SVGIcons/IconPerson.d.ts +1 -1
  589. package/components/SVGIcons/IconPerson.js +2 -2
  590. package/components/SVGIcons/IconPersonAccount.d.ts +1 -1
  591. package/components/SVGIcons/IconPersonAccount.js +2 -2
  592. package/components/SVGIcons/IconPersonAccountFilled.d.ts +1 -1
  593. package/components/SVGIcons/IconPersonAccountFilled.js +2 -2
  594. package/components/SVGIcons/IconPersonAdd.d.ts +1 -1
  595. package/components/SVGIcons/IconPersonAdd.js +2 -2
  596. package/components/SVGIcons/IconPersonAddFilled.d.ts +1 -1
  597. package/components/SVGIcons/IconPersonAddFilled.js +2 -2
  598. package/components/SVGIcons/IconPersonArrowLeft.d.ts +1 -1
  599. package/components/SVGIcons/IconPersonArrowLeft.js +2 -2
  600. package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +1 -1
  601. package/components/SVGIcons/IconPersonArrowLeftFilled.js +2 -2
  602. package/components/SVGIcons/IconPersonArrowRight.d.ts +1 -1
  603. package/components/SVGIcons/IconPersonArrowRight.js +2 -2
  604. package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +1 -1
  605. package/components/SVGIcons/IconPersonArrowRightFilled.js +2 -2
  606. package/components/SVGIcons/IconPersonBoard.d.ts +1 -1
  607. package/components/SVGIcons/IconPersonBoard.js +2 -2
  608. package/components/SVGIcons/IconPersonFilled.d.ts +1 -1
  609. package/components/SVGIcons/IconPersonFilled.js +2 -2
  610. package/components/SVGIcons/IconPersonMinus.d.ts +1 -1
  611. package/components/SVGIcons/IconPersonMinus.js +2 -2
  612. package/components/SVGIcons/IconPersonStar.d.ts +1 -1
  613. package/components/SVGIcons/IconPersonStar.js +2 -2
  614. package/components/SVGIcons/IconPersonStarFilled.d.ts +1 -1
  615. package/components/SVGIcons/IconPersonStarFilled.js +2 -2
  616. package/components/SVGIcons/IconPersonSubtract.d.ts +1 -1
  617. package/components/SVGIcons/IconPersonSubtract.js +2 -2
  618. package/components/SVGIcons/IconPersonSubtractFilled.d.ts +1 -1
  619. package/components/SVGIcons/IconPersonSubtractFilled.js +2 -2
  620. package/components/SVGIcons/IconPhone.d.ts +1 -1
  621. package/components/SVGIcons/IconPhone.js +2 -2
  622. package/components/SVGIcons/IconPhoneFilled.d.ts +1 -1
  623. package/components/SVGIcons/IconPhoneFilled.js +2 -2
  624. package/components/SVGIcons/IconPlugConnected.d.ts +1 -1
  625. package/components/SVGIcons/IconPlugConnected.js +2 -2
  626. package/components/SVGIcons/IconPos.d.ts +1 -1
  627. package/components/SVGIcons/IconPos.js +2 -2
  628. package/components/SVGIcons/IconPosFilled.d.ts +1 -1
  629. package/components/SVGIcons/IconPosFilled.js +2 -2
  630. package/components/SVGIcons/IconProhibited.d.ts +1 -1
  631. package/components/SVGIcons/IconProhibited.js +2 -2
  632. package/components/SVGIcons/IconProhibitedFilled.d.ts +1 -1
  633. package/components/SVGIcons/IconProhibitedFilled.js +2 -2
  634. package/components/SVGIcons/IconProjectProduct.d.ts +1 -1
  635. package/components/SVGIcons/IconProjectProduct.js +2 -2
  636. package/components/SVGIcons/IconQuestion.d.ts +1 -1
  637. package/components/SVGIcons/IconQuestion.js +2 -2
  638. package/components/SVGIcons/IconQuestionFilled.d.ts +1 -1
  639. package/components/SVGIcons/IconQuestionFilled.js +2 -2
  640. package/components/SVGIcons/IconRedo.d.ts +1 -1
  641. package/components/SVGIcons/IconRedo.js +2 -2
  642. package/components/SVGIcons/IconRedoFilled.d.ts +1 -1
  643. package/components/SVGIcons/IconRedoFilled.js +2 -2
  644. package/components/SVGIcons/IconRibbon.d.ts +1 -1
  645. package/components/SVGIcons/IconRibbon.js +2 -2
  646. package/components/SVGIcons/IconRu.d.ts +1 -1
  647. package/components/SVGIcons/IconRu.js +2 -2
  648. package/components/SVGIcons/IconRub.d.ts +1 -1
  649. package/components/SVGIcons/IconRub.js +2 -2
  650. package/components/SVGIcons/IconRubFilled.d.ts +1 -1
  651. package/components/SVGIcons/IconRubFilled.js +2 -2
  652. package/components/SVGIcons/IconSave.d.ts +1 -1
  653. package/components/SVGIcons/IconSave.js +2 -2
  654. package/components/SVGIcons/IconSaveFilled.d.ts +1 -1
  655. package/components/SVGIcons/IconSaveFilled.js +2 -2
  656. package/components/SVGIcons/IconSavings.d.ts +1 -1
  657. package/components/SVGIcons/IconSavings.js +2 -2
  658. package/components/SVGIcons/IconSavingsFilled.d.ts +1 -1
  659. package/components/SVGIcons/IconSavingsFilled.js +2 -2
  660. package/components/SVGIcons/IconSearch.d.ts +1 -1
  661. package/components/SVGIcons/IconSearch.js +2 -2
  662. package/components/SVGIcons/IconSearchFilled.d.ts +1 -1
  663. package/components/SVGIcons/IconSearchFilled.js +2 -2
  664. package/components/SVGIcons/IconSelectAllOff.d.ts +1 -1
  665. package/components/SVGIcons/IconSelectAllOff.js +2 -2
  666. package/components/SVGIcons/IconSelectAllOffFilled.d.ts +1 -1
  667. package/components/SVGIcons/IconSelectAllOffFilled.js +2 -2
  668. package/components/SVGIcons/IconSelectAllOn.d.ts +1 -1
  669. package/components/SVGIcons/IconSelectAllOn.js +2 -2
  670. package/components/SVGIcons/IconSelectAllOnFilled.d.ts +1 -1
  671. package/components/SVGIcons/IconSelectAllOnFilled.js +2 -2
  672. package/components/SVGIcons/IconSend.d.ts +1 -1
  673. package/components/SVGIcons/IconSend.js +2 -2
  674. package/components/SVGIcons/IconSendFilled.d.ts +1 -1
  675. package/components/SVGIcons/IconSendFilled.js +2 -2
  676. package/components/SVGIcons/IconSettings.d.ts +1 -1
  677. package/components/SVGIcons/IconSettings.js +2 -2
  678. package/components/SVGIcons/IconSettingsFilled.d.ts +1 -1
  679. package/components/SVGIcons/IconSettingsFilled.js +2 -2
  680. package/components/SVGIcons/IconShare.d.ts +1 -1
  681. package/components/SVGIcons/IconShare.js +2 -2
  682. package/components/SVGIcons/IconShareAndroid.d.ts +1 -1
  683. package/components/SVGIcons/IconShareAndroid.js +2 -2
  684. package/components/SVGIcons/IconShareAndroidFilled.d.ts +1 -1
  685. package/components/SVGIcons/IconShareAndroidFilled.js +2 -2
  686. package/components/SVGIcons/IconShareFilled.d.ts +1 -1
  687. package/components/SVGIcons/IconShareFilled.js +2 -2
  688. package/components/SVGIcons/IconSignOut.d.ts +1 -1
  689. package/components/SVGIcons/IconSignOut.js +2 -2
  690. package/components/SVGIcons/IconSignOutFilled.d.ts +1 -1
  691. package/components/SVGIcons/IconSignOutFilled.js +2 -2
  692. package/components/SVGIcons/IconSpinner.d.ts +1 -1
  693. package/components/SVGIcons/IconSpinner.js +2 -2
  694. package/components/SVGIcons/IconSpinnerFilled.d.ts +1 -1
  695. package/components/SVGIcons/IconSpinnerFilled.js +2 -2
  696. package/components/SVGIcons/IconStatus.d.ts +1 -1
  697. package/components/SVGIcons/IconStatus.js +2 -2
  698. package/components/SVGIcons/IconStatusFilled.d.ts +1 -1
  699. package/components/SVGIcons/IconStatusFilled.js +2 -2
  700. package/components/SVGIcons/IconSubtract.d.ts +1 -1
  701. package/components/SVGIcons/IconSubtract.js +2 -2
  702. package/components/SVGIcons/IconSubtractCircle.d.ts +1 -1
  703. package/components/SVGIcons/IconSubtractCircle.js +2 -2
  704. package/components/SVGIcons/IconSubtractCircleFilled.d.ts +1 -1
  705. package/components/SVGIcons/IconSubtractCircleFilled.js +2 -2
  706. package/components/SVGIcons/IconSubtractFilled.d.ts +1 -1
  707. package/components/SVGIcons/IconSubtractFilled.js +2 -2
  708. package/components/SVGIcons/IconSun.d.ts +1 -1
  709. package/components/SVGIcons/IconSun.js +2 -2
  710. package/components/SVGIcons/IconTableCellEdit.d.ts +1 -1
  711. package/components/SVGIcons/IconTableCellEdit.js +2 -2
  712. package/components/SVGIcons/IconTableCellEditFilled.d.ts +1 -1
  713. package/components/SVGIcons/IconTableCellEditFilled.js +2 -2
  714. package/components/SVGIcons/IconTelegram.d.ts +1 -1
  715. package/components/SVGIcons/IconTelegram.js +2 -2
  716. package/components/SVGIcons/IconTimer.d.ts +1 -1
  717. package/components/SVGIcons/IconTimer.js +2 -2
  718. package/components/SVGIcons/IconTimerFilled.d.ts +1 -1
  719. package/components/SVGIcons/IconTimerFilled.js +2 -2
  720. package/components/SVGIcons/IconTrophy.d.ts +1 -1
  721. package/components/SVGIcons/IconTrophy.js +2 -2
  722. package/components/SVGIcons/IconTrophyFilled.d.ts +1 -1
  723. package/components/SVGIcons/IconTrophyFilled.js +2 -2
  724. package/components/SVGIcons/IconTwitter.d.ts +1 -1
  725. package/components/SVGIcons/IconTwitter.js +2 -2
  726. package/components/SVGIcons/IconUndo.d.ts +1 -1
  727. package/components/SVGIcons/IconUndo.js +2 -2
  728. package/components/SVGIcons/IconUndoFilled.d.ts +1 -1
  729. package/components/SVGIcons/IconUndoFilled.js +2 -2
  730. package/components/SVGIcons/IconUnitsEmployee.d.ts +1 -1
  731. package/components/SVGIcons/IconUnitsEmployee.js +2 -2
  732. package/components/SVGIcons/IconUpload.d.ts +1 -1
  733. package/components/SVGIcons/IconUpload.js +2 -2
  734. package/components/SVGIcons/IconUs.d.ts +1 -1
  735. package/components/SVGIcons/IconUs.js +2 -2
  736. package/components/SVGIcons/IconUsd.d.ts +1 -1
  737. package/components/SVGIcons/IconUsd.js +2 -2
  738. package/components/SVGIcons/IconUsdFilled.d.ts +1 -1
  739. package/components/SVGIcons/IconUsdFilled.js +2 -2
  740. package/components/SVGIcons/IconUserMinus.d.ts +1 -1
  741. package/components/SVGIcons/IconUserMinus.js +2 -2
  742. package/components/SVGIcons/IconVacation.d.ts +1 -1
  743. package/components/SVGIcons/IconVacation.js +2 -2
  744. package/components/SVGIcons/IconVideo.d.ts +1 -1
  745. package/components/SVGIcons/IconVideo.js +2 -2
  746. package/components/SVGIcons/IconVideoFilled.d.ts +1 -1
  747. package/components/SVGIcons/IconVideoFilled.js +2 -2
  748. package/components/SVGIcons/IconWallet.d.ts +1 -1
  749. package/components/SVGIcons/IconWallet.js +2 -2
  750. package/components/SVGIcons/IconWalletFilled.d.ts +1 -1
  751. package/components/SVGIcons/IconWalletFilled.js +2 -2
  752. package/components/SVGIcons/IconWarning.d.ts +1 -1
  753. package/components/SVGIcons/IconWarning.js +2 -2
  754. package/components/SVGIcons/IconWarningFilled.d.ts +1 -1
  755. package/components/SVGIcons/IconWarningFilled.js +2 -2
  756. package/components/SVGIcons/IconYoutube.d.ts +1 -1
  757. package/components/SVGIcons/IconYoutube.js +2 -2
  758. package/components/Select/ButtonSelect/ButtonSelect.js +4 -4
  759. package/components/Select/FilterSelect/FilterDropdown.js +3 -3
  760. package/components/Select/FilterSelect/FilterSelect.js +3 -3
  761. package/components/Select/MultiSelect/DesktopWrapper.d.ts +1 -1
  762. package/components/Select/MultiSelect/DesktopWrapper.js +2 -2
  763. package/components/Select/MultiSelect/MobileWrapper.d.ts +1 -1
  764. package/components/Select/MultiSelect/MobileWrapper.js +2 -2
  765. package/components/Select/MultiSelect/MultiBase/MultiBase.js +4 -4
  766. package/components/Select/MultiSelect/MultiSelect.js +3 -3
  767. package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +4 -4
  768. package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +4 -4
  769. package/components/Select/MultiSelect/OptionsWrapper.d.ts +1 -1
  770. package/components/Select/NestedSelect/NestedSelect.js +5 -5
  771. package/components/Select/ProfileDropdown/index.js +2 -2
  772. package/components/Select/Select/Select.js +4 -4
  773. package/components/Select/Select/SelectDesktop/index.js +4 -4
  774. package/components/Select/Select/SelectMobile/MobileTopContent.d.ts +2 -2
  775. package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -2
  776. package/components/Select/Select/SelectMobile/index.js +4 -4
  777. package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.d.ts +1 -1
  778. package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +2 -2
  779. package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +2 -2
  780. package/components/Select/SharedComponents/ContentTop.d.ts +2 -2
  781. package/components/Select/SharedComponents/ContentTop.js +6 -6
  782. package/components/Select/SharedComponents/Footer.js +2 -2
  783. package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -3
  784. package/components/Select/helper.d.ts +1 -1
  785. package/components/Select/helper.js +3 -3
  786. package/components/Select/types.d.ts +5 -4
  787. package/components/SideSheet/Footer/Footer.d.ts +2 -2
  788. package/components/SideSheet/Footer/Footer.js +2 -2
  789. package/components/SideSheet/SideSheet.js +3 -3
  790. package/components/SideSheet/types.d.ts +1 -0
  791. package/components/Skeleton/Skeleton.js +4 -4
  792. package/components/Skeleton/types.d.ts +1 -0
  793. package/components/Snackbar/Snackbar.js +1 -1
  794. package/components/Snackbar/types.d.ts +1 -0
  795. package/components/Status/Status.js +3 -3
  796. package/components/Status/types.d.ts +1 -1
  797. package/components/Stepper/Stepper.js +2 -2
  798. package/components/Stepper/types.d.ts +1 -0
  799. package/components/Switcher/Switcher.js +2 -2
  800. package/components/Switcher/types.d.ts +1 -0
  801. package/components/Tab/Tab.js +3 -3
  802. package/components/Tab/TabItem.js +2 -2
  803. package/components/Tab/types.d.ts +1 -0
  804. package/components/Table/Header.d.ts +2 -1
  805. package/components/Table/Header.js +2 -2
  806. package/components/Table/IndeterminateCheckbox.d.ts +1 -0
  807. package/components/Table/IndeterminateCheckbox.js +2 -2
  808. package/components/Table/Row.d.ts +2 -1
  809. package/components/Table/Row.js +3 -3
  810. package/components/Table/Table.d.ts +1 -1
  811. package/components/Table/Table.js +5 -5
  812. package/components/Table/types.d.ts +1 -0
  813. package/components/Table/utils.d.ts +1 -1
  814. package/components/Table/utils.js +3 -3
  815. package/components/TableV2/AdvancedPagination.d.ts +2 -1
  816. package/components/TableV2/AdvancedPagination.js +3 -3
  817. package/components/TableV2/ColumnHeader.d.ts +2 -1
  818. package/components/TableV2/ColumnHeader.js +3 -3
  819. package/components/TableV2/IndeterminateCheckbox.d.ts +1 -0
  820. package/components/TableV2/IndeterminateCheckbox.js +2 -2
  821. package/components/TableV2/Table.d.ts +1 -1
  822. package/components/TableV2/Table.js +14 -14
  823. package/components/TableV2/hooks/useTableControl.d.ts +1 -1
  824. package/components/TableV2/hooks/useTableControl.js +4 -4
  825. package/components/TableV2/types.d.ts +1 -0
  826. package/components/Text/Text.js +2 -2
  827. package/components/Text/types.d.ts +1 -0
  828. package/components/Textarea/Textarea.js +2 -2
  829. package/components/Textarea/types.d.ts +1 -0
  830. package/components/Tooltip/Tooltip.js +2 -2
  831. package/components/Tooltip/types.d.ts +1 -0
  832. package/components/UnderConstruction/UnderConstruction.js +2 -2
  833. package/components/UnderConstruction/types.d.ts +1 -0
  834. package/helperComponents/ErrorMessage/ErrorMessage.d.ts +1 -1
  835. package/helperComponents/ErrorMessage/ErrorMessage.js +2 -2
  836. package/helperComponents/ErrorMessage/types.d.ts +1 -1
  837. package/helperComponents/Label/types.d.ts +1 -1
  838. package/helperComponents/OptionItem/OptionItem.js +3 -3
  839. package/helperComponents/OptionItem/types.d.ts +1 -1
  840. package/package.json +1 -1
  841. package/type/base.d.ts +13 -0
  842. package/type/base.js +1 -0
  843. package/type/index.d.ts +1 -0
  844. package/type/index.js +1 -0
  845. package/type/svg-icons.d.ts +1 -1
  846. package/utils/helpers.d.ts +1 -1
  847. package/utils/helpers.js +3 -3
@@ -22,7 +22,7 @@ import { Modal } from '../../Modal';
22
22
  import { CustomHeader } from '../CustomHeader/CustomHeader';
23
23
  import { formatDate } from '../../../helpers';
24
24
  export const RangeDatePickerMobile = forwardRef((props, _ref) => {
25
- const { value, currentDates = [], setFieldValue, name, changeHandler, dataId, format = DateFormat.LongDate, maxDate, minDate, locale = 'hy', disabled, placeholderText, dataIdPrefix, modalOptions } = props, rest = __rest(props, ["value", "currentDates", "setFieldValue", "name", "changeHandler", "dataId", "format", "maxDate", "minDate", "locale", "disabled", "placeholderText", "dataIdPrefix", "modalOptions"]);
25
+ const { value, currentDates = [], setFieldValue, name, changeHandler, dataTestId, format = DateFormat.LongDate, maxDate, minDate, locale = 'hy', disabled, placeholderText, dataTestIdPrefix, modalOptions } = props, rest = __rest(props, ["value", "currentDates", "setFieldValue", "name", "changeHandler", "dataTestId", "format", "maxDate", "minDate", "locale", "disabled", "placeholderText", "dataTestIdPrefix", "modalOptions"]);
26
26
  useImportFilesDynamically(locale);
27
27
  const startYear = minDate ? minDate.getFullYear() : 1900;
28
28
  const endYear = maxDate ? maxDate.getFullYear() : new Date().getFullYear() + 5;
@@ -76,7 +76,7 @@ export const RangeDatePickerMobile = forwardRef((props, _ref) => {
76
76
  closeDatepicker();
77
77
  };
78
78
  const [startDate, endDate] = rangeArray;
79
- return (_jsxs(_Fragment, { children: [_jsx(Input, { readOnly: true, onClick: openDatepicker, dataId: dataId, disabled: disabled, placeholder: placeholderText, currentValue: renderCurrentSelectedDate(rangeArray), rightIconProps: { Component: IconCalendarRight, onClick: openDatepicker } }), _jsxs(Modal, { isOpen: isCalendarOpen, title: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.title, onClose: closeDatepicker, buttonProps: {
79
+ return (_jsxs(_Fragment, { children: [_jsx(Input, { readOnly: true, onClick: openDatepicker, dataTestId: dataTestId, disabled: disabled, placeholder: placeholderText, currentValue: renderCurrentSelectedDate(rangeArray), rightIconProps: { Component: IconCalendarRight, onClick: openDatepicker } }), _jsxs(Modal, { isOpen: isCalendarOpen, title: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.title, onClose: closeDatepicker, buttonProps: {
80
80
  confirm: {
81
81
  buttonText: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.btnConfirmText,
82
82
  onClick: onApply
@@ -85,6 +85,6 @@ export const RangeDatePickerMobile = forwardRef((props, _ref) => {
85
85
  buttonText: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.btnCancelText,
86
86
  onClick: closeDatepicker
87
87
  }
88
- }, closeIcon: true, children: [_jsxs("div", { className: "flexbox justify-content--between mb-16 gap-16", children: [_jsx(Input, { readOnly: true, value: formatDate(startDate, format) }), _jsx(Input, { readOnly: true, value: formatDate(endDate, format) })] }), _jsx(DatePicker, Object.assign({}, rest, { inline: true, locale: locale, minDate: minDate, maxDate: maxDate, startDate: startDate, endDate: endDate, selectsRange: true, disabled: disabled, onChange: onChange, onClickOutside: checkRange, renderCustomHeader: (props) => (_jsx(CustomHeader, Object.assign({}, props, { locale: locale, startYear: startYear, endYear: endYear, dataPrefix: dataIdPrefix, isMobile: true }))) }))] })] }));
88
+ }, closeIcon: true, children: [_jsxs("div", { className: "flexbox justify-content--between mb-16 gap-16", children: [_jsx(Input, { readOnly: true, value: formatDate(startDate, format) }), _jsx(Input, { readOnly: true, value: formatDate(endDate, format) })] }), _jsx(DatePicker, Object.assign({}, rest, { inline: true, locale: locale, minDate: minDate, maxDate: maxDate, startDate: startDate, endDate: endDate, selectsRange: true, disabled: disabled, onChange: onChange, onClickOutside: checkRange, renderCustomHeader: (props) => (_jsx(CustomHeader, Object.assign({}, props, { locale: locale, startYear: startYear, endYear: endYear, dataPrefix: dataTestIdPrefix, isMobile: true }))) }))] })] }));
89
89
  });
90
90
  RangeDatePickerMobile.displayName = 'RangeDatePickerMobile';
@@ -19,7 +19,7 @@ import { CustomHeader } from '../CustomHeader/CustomHeader';
19
19
  import { useImportFilesDynamically } from '../hooks';
20
20
  import IconCalendarRight from '../../SVGIcons/IconCalendarRight';
21
21
  export const SimpleDatePickerDesktop = (props) => {
22
- const { value, currentDate, setFieldValue, name, label, size, locale = 'hy', changeHandler, format = 'M/D/YYYY', required = false, dataId, hasError, placeholderText, minDate, maxDate, dataIdPrefix, helperText, inline } = props, rest = __rest(props, ["value", "currentDate", "setFieldValue", "name", "label", "size", "locale", "changeHandler", "format", "required", "dataId", "hasError", "placeholderText", "minDate", "maxDate", "dataIdPrefix", "helperText", "inline"]);
22
+ const { value, currentDate, setFieldValue, name, label, size, locale = 'hy', changeHandler, format = 'M/D/YYYY', required = false, dataTestId, hasError, placeholderText, minDate, maxDate, dataTestIdPrefix, helperText, inline } = props, rest = __rest(props, ["value", "currentDate", "setFieldValue", "name", "label", "size", "locale", "changeHandler", "format", "required", "dataTestId", "hasError", "placeholderText", "minDate", "maxDate", "dataTestIdPrefix", "helperText", "inline"]);
23
23
  const startYear = minDate ? minDate.getFullYear() : 1900;
24
24
  const endYear = maxDate ? maxDate.getFullYear() : new Date().getFullYear() + 5;
25
25
  const calendarRef = useRef(null);
@@ -44,5 +44,5 @@ export const SimpleDatePickerDesktop = (props) => {
44
44
  };
45
45
  return (_jsxs("div", { className: "picker-container", children: [_jsx(Label, { text: label, required: required, invalid: hasError }), _jsx(DatePicker, Object.assign({ minDate: minDate, maxDate: maxDate, selected: dayjs(selectedDate).isValid() ? selectedDate : null, locale: locale,
46
46
  // @ts-ignore
47
- ref: calendarRef, customInput: _jsx(Input, { size: size, dataId: dataId, helperText: helperText, datePlaceHolderText: label ? '' : placeholderText, rightIconProps: { Component: IconCalendarRight, onClick: openDatepicker }, currentValue: selectedDate ? dayjs(selectedDate.toString()).format(format) : '' }), inline: inline }, rest, { onChange: onChange, renderCustomHeader: (props) => (_jsx(CustomHeader, Object.assign({}, props, { locale: locale, startYear: startYear, endYear: endYear, dataPrefix: dataIdPrefix }))) }))] }));
47
+ ref: calendarRef, customInput: _jsx(Input, { size: size, dataTestId: dataTestId, helperText: helperText, datePlaceHolderText: label ? '' : placeholderText, rightIconProps: { Component: IconCalendarRight, onClick: openDatepicker }, currentValue: selectedDate ? dayjs(selectedDate.toString()).format(format) : '' }), inline: inline }, rest, { onChange: onChange, renderCustomHeader: (props) => (_jsx(CustomHeader, Object.assign({}, props, { locale: locale, startYear: startYear, endYear: endYear, dataPrefix: dataTestIdPrefix }))) }))] }));
48
48
  };
@@ -21,7 +21,7 @@ import { CustomHeader } from '../CustomHeader/CustomHeader';
21
21
  import DatePicker from 'react-datepicker';
22
22
  import { Label } from '../../../helperComponents/Label';
23
23
  export const SimpleDatePickerMobile = (props) => {
24
- const { size, dataId, helperText, label, placeholderText, format = 'M/D/YYYY', value, currentDate, minDate, maxDate, locale = 'hy', dataIdPrefix, modalOptions, name, changeHandler, setFieldValue, required, hasError } = props, rest = __rest(props, ["size", "dataId", "helperText", "label", "placeholderText", "format", "value", "currentDate", "minDate", "maxDate", "locale", "dataIdPrefix", "modalOptions", "name", "changeHandler", "setFieldValue", "required", "hasError"]);
24
+ const { size, dataTestId, helperText, label, placeholderText, format = 'M/D/YYYY', value, currentDate, minDate, maxDate, locale = 'hy', dataTestIdPrefix, modalOptions, name, changeHandler, setFieldValue, required, hasError } = props, rest = __rest(props, ["size", "dataTestId", "helperText", "label", "placeholderText", "format", "value", "currentDate", "minDate", "maxDate", "locale", "dataTestIdPrefix", "modalOptions", "name", "changeHandler", "setFieldValue", "required", "hasError"]);
25
25
  const startYear = minDate ? minDate.getFullYear() : 1900;
26
26
  const endYear = maxDate ? maxDate.getFullYear() : new Date().getFullYear() + 5;
27
27
  const [isCalendarOpen, setIsCalendarOpen] = React.useState(false);
@@ -44,5 +44,5 @@ export const SimpleDatePickerMobile = (props) => {
44
44
  }
45
45
  closeDatepicker();
46
46
  };
47
- return (_jsxs(_Fragment, { children: [_jsx(Label, { text: label, required: required, invalid: hasError }), _jsx(Input, { size: size, onClick: openDatepicker, dataId: dataId, readOnly: true, helperText: helperText, datePlaceHolderText: label ? '' : placeholderText, rightIconProps: { Component: IconCalendarRight, onClick: openDatepicker }, currentValue: selectedDate ? dayjs(selectedDate.toString()).format(format) : '' }), _jsx(Modal, { isOpen: isCalendarOpen, title: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.title, onClose: closeDatepicker, withFooter: false, closeIcon: true, children: _jsx(DatePicker, Object.assign({ minDate: minDate, maxDate: maxDate, selected: dayjs(selectedDate).isValid() ? selectedDate : null, locale: locale, inline: true }, rest, { onChange: onChange, renderCustomHeader: (props) => (_jsx(CustomHeader, Object.assign({}, props, { locale: locale, startYear: startYear, endYear: endYear, dataPrefix: dataIdPrefix, isMobile: true }))) })) })] }));
47
+ return (_jsxs(_Fragment, { children: [_jsx(Label, { text: label, required: required, invalid: hasError }), _jsx(Input, { size: size, onClick: openDatepicker, dataTestId: dataTestId, readOnly: true, helperText: helperText, datePlaceHolderText: label ? '' : placeholderText, rightIconProps: { Component: IconCalendarRight, onClick: openDatepicker }, currentValue: selectedDate ? dayjs(selectedDate.toString()).format(format) : '' }), _jsx(Modal, { isOpen: isCalendarOpen, title: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.title, onClose: closeDatepicker, withFooter: false, closeIcon: true, children: _jsx(DatePicker, Object.assign({ minDate: minDate, maxDate: maxDate, selected: dayjs(selectedDate).isValid() ? selectedDate : null, locale: locale, inline: true }, rest, { onChange: onChange, renderCustomHeader: (props) => (_jsx(CustomHeader, Object.assign({}, props, { locale: locale, startYear: startYear, endYear: endYear, dataPrefix: dataTestIdPrefix, isMobile: true }))) })) })] }));
48
48
  };
@@ -18,7 +18,7 @@ import { Label } from '../../../helperComponents/Label';
18
18
  import { useImportFilesDynamically } from '../hooks';
19
19
  import IconClock from '../../SVGIcons/IconClock';
20
20
  export const TimePickerDesktop = (props) => {
21
- const { value, currentTime, name, setFieldValue, label, size, dataId, changeHandler, required, format = 'HH:mm', locale = 'hy', hasError } = props, rest = __rest(props, ["value", "currentTime", "name", "setFieldValue", "label", "size", "dataId", "changeHandler", "required", "format", "locale", "hasError"]);
21
+ const { value, currentTime, name, setFieldValue, label, size, dataTestId, changeHandler, required, format = 'HH:mm', locale = 'hy', hasError } = props, rest = __rest(props, ["value", "currentTime", "name", "setFieldValue", "label", "size", "dataTestId", "changeHandler", "required", "format", "locale", "hasError"]);
22
22
  const [time, setTime] = useState();
23
23
  const dateInitialValue = value !== undefined && Object.prototype.toString.call(value) === '[object Date]'
24
24
  ? value
@@ -63,5 +63,5 @@ export const TimePickerDesktop = (props) => {
63
63
  };
64
64
  return (_jsxs("div", { className: "picker-container input__inner", children: [_jsx(Label, { text: label, required: required, invalid: hasError }), _jsx(DatePicker, Object.assign({ selected: dayjs(dateInitialValue).isValid() ? dateInitialValue : null, locale: locale, showTimeSelect: true, showTimeSelectOnly: true, dateFormat: format,
65
65
  // @ts-ignore
66
- ref: calendarRef }, rest, { onChange: onChange, customInput: _jsx(Input, { handleChange: onInputChange, handleBlurEvent: formatAndSetTime, disabled: rest.disabled, dataId: dataId, size: size, rightIconProps: { Component: IconClock, onClick: openDatepicker } }) }))] }));
66
+ ref: calendarRef }, rest, { onChange: onChange, customInput: _jsx(Input, { handleChange: onInputChange, handleBlurEvent: formatAndSetTime, disabled: rest.disabled, dataTestId: dataTestId, size: size, rightIconProps: { Component: IconClock, onClick: openDatepicker } }) }))] }));
67
67
  };
@@ -6,7 +6,7 @@ import IconCalendarRight from '../../SVGIcons/IconCalendarRight';
6
6
  import dayjs from 'dayjs';
7
7
  import { MobileModalContent } from './MobileModalContent';
8
8
  export const TimePickerMobile = (props) => {
9
- const { value, currentTime, format = 'HH:mm', label, required, hasError, size, placeholderText, dataId, changeHandler, setFieldValue, modalOptions, name } = props;
9
+ const { value, currentTime, format = 'HH:mm', label, required, hasError, size, placeholderText, dataTestId, changeHandler, setFieldValue, modalOptions, name } = props;
10
10
  const selectedTime = value !== undefined && Object.prototype.toString.call(value) === '[object Date]'
11
11
  ? value
12
12
  : currentTime;
@@ -25,5 +25,5 @@ export const TimePickerMobile = (props) => {
25
25
  onChange(selectedTime);
26
26
  closeTimePicker();
27
27
  };
28
- return (_jsxs(_Fragment, { children: [_jsx(Label, { text: label, required: required, invalid: hasError }), _jsx(Input, { size: size, onClick: openTimePicker, dataId: dataId, readOnly: true, datePlaceHolderText: label ? '' : placeholderText, rightIconProps: { Component: IconCalendarRight, onClick: openTimePicker }, currentValue: selectedTime ? dayjs(selectedTime.toString()).format(format) : '' }), _jsx(MobileModalContent, { dateInitialValue: selectedTime, onApply: onApply, mobileTitle: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.title, isOpen: isPickerOpen, closeTimePicker: closeTimePicker, modalApplyButtonText: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.btnConfirmText })] }));
28
+ return (_jsxs(_Fragment, { children: [_jsx(Label, { text: label, required: required, invalid: hasError }), _jsx(Input, { size: size, onClick: openTimePicker, dataTestId: dataTestId, readOnly: true, datePlaceHolderText: label ? '' : placeholderText, rightIconProps: { Component: IconCalendarRight, onClick: openTimePicker }, currentValue: selectedTime ? dayjs(selectedTime.toString()).format(format) : '' }), _jsx(MobileModalContent, { dateInitialValue: selectedTime, onApply: onApply, mobileTitle: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.title, isOpen: isPickerOpen, closeTimePicker: closeTimePicker, modalApplyButtonText: modalOptions === null || modalOptions === void 0 ? void 0 : modalOptions.btnConfirmText })] }));
29
29
  };
@@ -1,8 +1,9 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  import { DatePickerProps } from 'react-datepicker';
2
3
  import { ReactNode } from 'react';
3
4
  type DatePickerDefaultProps = Omit<IFormCompProps, 'value'> & Omit<DatePickerProps, 'onChange' | 'value'>;
4
5
  export interface TDatepickerBaseProps extends DatePickerDefaultProps {
5
- dataIdPrefix?: string;
6
+ dataTestIdPrefix?: string;
6
7
  label?: ReactNode;
7
8
  format?: string;
8
9
  inline?: boolean;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import classnames from 'classnames';
3
3
  export const Divider = (props) => {
4
- const { type = 'primary', isHorizontal, className, color = 'light-grey', dataId = '' } = props;
5
- return (_jsx("hr", { "data-id": dataId, className: classnames('divider', `divider--${type}`, `divider--${color}`, {
4
+ const { type = 'primary', isHorizontal, className, color = 'light-grey', dataTestId = '' } = props;
5
+ return (_jsx("hr", { "data-test-id": dataTestId, className: classnames('divider', `divider--${type}`, `divider--${color}`, {
6
6
  'divider--horizontal': isHorizontal,
7
7
  'divider--vertical': !isHorizontal
8
8
  }, className) }));
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  export interface TDividerProps extends IBaseProps {
2
3
  type: 'primary' | 'secondary';
3
4
  isHorizontal?: boolean;
@@ -7,6 +7,6 @@ import classNames from 'classnames';
7
7
  import noResultImage from '../../assets/images/no-result.svg';
8
8
  export const Empty = (props) => {
9
9
  var _a;
10
- const { size = 'large', mainMessage, paragraphMessage, buttonProps, className, illustration = noResultImage, dataId = '' } = props;
11
- return (_jsxs("div", { "data-id": dataId, className: classNames(`no-result ${size == 'large' ? 'no-result--large' : 'no-result--small'}`, className), children: [_jsx("div", { className: "no-result__icon", children: _jsx(Image, { imagePath: illustration, dataId: dataId ? `${dataId}-image` : '' }) }), _jsxs("div", { className: "no-result__content", children: [mainMessage ? (_jsx(Text, { size: size == 'large' ? 'large' : 'small', weight: "bold", dataId: dataId ? `${dataId}-text` : '', children: mainMessage })) : null, paragraphMessage ? (_jsx(Text, { size: size == 'large' ? 'small' : 'xsmall', dataId: dataId ? `${dataId}-subtext` : '', children: paragraphMessage })) : null, buttonProps ? (_jsx(Button, Object.assign({}, buttonProps, { size: "medium", className: "mt-4", dataId: (_a = buttonProps.dataId) !== null && _a !== void 0 ? _a : (dataId ? `${dataId}-action` : '') }))) : null] })] }));
10
+ const { size = 'large', mainMessage, paragraphMessage, buttonProps, className, illustration = noResultImage, dataTestId = '' } = props;
11
+ return (_jsxs("div", { "data-test-id": dataTestId, className: classNames(`no-result ${size == 'large' ? 'no-result--large' : 'no-result--small'}`, className), children: [_jsx("div", { className: "no-result__icon", children: _jsx(Image, { imagePath: illustration, dataTestId: dataTestId ? `${dataTestId}-image` : '' }) }), _jsxs("div", { className: "no-result__content", children: [mainMessage ? (_jsx(Text, { size: size == 'large' ? 'large' : 'small', weight: "bold", dataTestId: dataTestId ? `${dataTestId}-text` : '', children: mainMessage })) : null, paragraphMessage ? (_jsx(Text, { size: size == 'large' ? 'small' : 'xsmall', dataTestId: dataTestId ? `${dataTestId}-subtext` : '', children: paragraphMessage })) : null, buttonProps ? (_jsx(Button, Object.assign({}, buttonProps, { size: "medium", className: "mt-4", dataTestId: (_a = buttonProps.dataTestId) !== null && _a !== void 0 ? _a : (dataTestId ? `${dataTestId}-action` : '') }))) : null] })] }));
12
12
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { TButtonPropTypes } from '../Button/types';
2
3
  export interface TEmptyProps extends IBaseProps {
3
4
  size?: string;
@@ -10,7 +10,7 @@ import { generateAreaContent, getDropzoneLocale } from './helpers';
10
10
  import { ErrorItem } from './ErrorItem';
11
11
  import { PreviewItem } from './PreviewItem';
12
12
  import { uniqueFiles as _uniqueFiles } from '../../../utils/helpers';
13
- export const DropzoneFileUpload = forwardRef(({ maxSize = 10 * 1024 * 1024, allowedTypes = [FileTypeEnum.IMAGE, FileTypeEnum.PDF, FileTypeEnum.DOC], name, setFiles, setFieldValue, value, selectedFiles, maxFiles = 1, mode = FileUploadMode.attach, locale, multiple = false, dataId = '' }, _ref) => {
13
+ export const DropzoneFileUpload = forwardRef(({ maxSize = 10 * 1024 * 1024, allowedTypes = [FileTypeEnum.IMAGE, FileTypeEnum.PDF, FileTypeEnum.DOC], name, setFiles, setFieldValue, value, selectedFiles, maxFiles = 1, mode = FileUploadMode.attach, locale, multiple = false, dataTestId = '' }, _ref) => {
14
14
  const initialFiles = value || selectedFiles || [];
15
15
  const initialMaxFiles = initialFiles.length >= maxFiles ? 0 : maxFiles - initialFiles.length;
16
16
  const [errors, setErrors] = useState([]);
@@ -55,13 +55,13 @@ export const DropzoneFileUpload = forwardRef(({ maxSize = 10 * 1024 * 1024, allo
55
55
  setFieldValue(name, values);
56
56
  }
57
57
  }, [name, setFieldValue]);
58
- return (_jsxs("div", { className: "dz-file-upload", "data-id": dataId, children: [mode !== FileUploadMode.view ? (_jsxs("div", Object.assign({}, getRootProps(), { className: classnames('dz-file-upload__area', {
58
+ return (_jsxs("div", { className: "dz-file-upload", "data-test-id": dataTestId, children: [mode !== FileUploadMode.view ? (_jsxs("div", Object.assign({}, getRootProps(), { className: classnames('dz-file-upload__area', {
59
59
  'dz-file-upload__area--focused': isFocused,
60
60
  'dz-file-upload__area--active': isDragActive
61
- }), "data-id": dataId ? `${dataId}-dropzone` : '', children: [_jsx(IconUpload, { className: "mb-20", size: "xlarge" }), _jsx("input", Object.assign({}, getInputProps(), { name: name, "data-id": dataId ? `${dataId}-input` : '' })), _jsx(Text, { type: "primary", weight: "semibold", className: "mb-6", children: translation.title }), _jsx(Text, { size: "small", children: `${areaContent.acceptTypesMessage} ${(allowedTypes === null || allowedTypes === void 0 ? void 0 : allowedTypes.length) === 1 ? translation.format : translation.formats}, ${translation.maxSize.replace('$1', areaContent.maxSizeFormatted)}` })] }))) : null, _jsxs("div", { className: "dz-file-upload__files", children: [errors.map(({ code }, index) => {
62
- return (_jsx(ErrorItem, { code: code, areaContent: areaContent, onRemove: () => removeError(index), locale: locale, dataId: dataId ? `${dataId}-error-${index}` : '' }, index));
61
+ }), "data-test-id": dataTestId ? `${dataTestId}-dropzone` : '', children: [_jsx(IconUpload, { className: "mb-20", size: "xlarge" }), _jsx("input", Object.assign({}, getInputProps(), { name: name, "data-test-id": dataTestId ? `${dataTestId}-input` : '' })), _jsx(Text, { type: "primary", weight: "semibold", className: "mb-6", children: translation.title }), _jsx(Text, { size: "small", children: `${areaContent.acceptTypesMessage} ${(allowedTypes === null || allowedTypes === void 0 ? void 0 : allowedTypes.length) === 1 ? translation.format : translation.formats}, ${translation.maxSize.replace('$1', areaContent.maxSizeFormatted)}` })] }))) : null, _jsxs("div", { className: "dz-file-upload__files", children: [errors.map(({ code }, index) => {
62
+ return (_jsx(ErrorItem, { code: code, areaContent: areaContent, onRemove: () => removeError(index), locale: locale, dataTestId: dataTestId ? `${dataTestId}-error-${index}` : '' }, index));
63
63
  }), initialFiles.map((file, index) => {
64
- return (_jsx(PreviewItem, { file: file, onRemove: () => removeFile(file.name), mode: mode, dataId: dataId ? `${dataId}-item-${index}` : '' }, index));
64
+ return (_jsx(PreviewItem, { file: file, onRemove: () => removeFile(file.name), mode: mode, dataTestId: dataTestId ? `${dataTestId}-item-${index}` : '' }, index));
65
65
  })] })] }));
66
66
  });
67
67
  DropzoneFileUpload.displayName = 'DropzoneFileUpload';
@@ -5,7 +5,7 @@ interface IErrorItemProps {
5
5
  areaContent: AreaContentDTO;
6
6
  onRemove: () => void;
7
7
  locale?: string;
8
- dataId?: string;
8
+ dataTestId?: string;
9
9
  }
10
- export declare const ErrorItem: ({ code, onRemove, areaContent, locale, dataId }: IErrorItemProps) => ReactElement | null;
10
+ export declare const ErrorItem: ({ code, onRemove, areaContent, locale, dataTestId }: IErrorItemProps) => ReactElement | null;
11
11
  export {};
@@ -3,7 +3,7 @@ import { useMemo } from 'react';
3
3
  import { ErrorCode } from 'react-dropzone';
4
4
  import { Alert } from '../../Alert';
5
5
  import { getDropzoneLocale } from './helpers';
6
- export const ErrorItem = ({ code, onRemove, areaContent, locale, dataId = '' }) => {
6
+ export const ErrorItem = ({ code, onRemove, areaContent, locale, dataTestId = '' }) => {
7
7
  const errorMessage = useMemo(() => {
8
8
  const translation = getDropzoneLocale(locale);
9
9
  if (code === ErrorCode.FileInvalidType) {
@@ -17,5 +17,5 @@ export const ErrorItem = ({ code, onRemove, areaContent, locale, dataId = '' })
17
17
  }
18
18
  return '';
19
19
  }, [code]);
20
- return errorMessage ? (_jsx(Alert, { type: "error", text: errorMessage, closeIcon: true, onClose: onRemove, dataId: dataId })) : null;
20
+ return errorMessage ? (_jsx(Alert, { type: "error", text: errorMessage, closeIcon: true, onClose: onRemove, dataTestId: dataTestId })) : null;
21
21
  };
@@ -1,8 +1,8 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { FileType, FileUploadMode } from '../types';
3
- export declare const PreviewItem: ({ file, onRemove, mode, dataId }: {
3
+ export declare const PreviewItem: ({ file, onRemove, mode, dataTestId }: {
4
4
  file: FileType;
5
5
  onRemove: () => void;
6
6
  mode: FileUploadMode;
7
- dataId?: string;
7
+ dataTestId?: string;
8
8
  }) => ReactElement;
@@ -9,7 +9,7 @@ import { formatFileSize, shortenFileName } from './helpers';
9
9
  import IconArrowDownloadFilled from '../../SVGIcons/IconArrowDownloadFilled';
10
10
  import classnames from 'classnames';
11
11
  import { downloadFile } from '../../../helpers';
12
- export const PreviewItem = ({ file, onRemove, mode, dataId = '' }) => {
12
+ export const PreviewItem = ({ file, onRemove, mode, dataTestId = '' }) => {
13
13
  const type = file.type.split('/')[0];
14
14
  const preview = useMemo(() => {
15
15
  return URL.createObjectURL(file);
@@ -26,5 +26,5 @@ export const PreviewItem = ({ file, onRemove, mode, dataId = '' }) => {
26
26
  };
27
27
  return (_jsxs("div", { className: classnames('dz-file-upload__files--item', {
28
28
  'dz-file-upload__files--item--view': mode === FileUploadMode.view
29
- }), "data-id": dataId, onClick: handleItemClick, children: [_jsx("div", { className: 'dz-file-upload__files--item__preview', children: _jsx(FilePreview, { preview: preview, type: type }) }), _jsxs("div", { className: 'dz-file-upload__files--item__info', children: [_jsxs("div", { className: "dz-file-upload__files--item__info-title", children: [_jsx(Text, { weight: "semibold", dataId: dataId ? `${dataId}-text` : '', children: shortenFileName(file.name, 40) }), mode === FileUploadMode.attach && (_jsx(Button, { size: "small", type: "tertiary", onClick: onRemove, iconProps: { Component: IconDelete }, dataId: dataId ? `${dataId}-close` : '' })), mode === FileUploadMode.view && (_jsx(Button, { size: "small", type: "tertiary", onClick: onFileDownload, iconProps: { Component: IconArrowDownloadFilled }, dataId: dataId ? `${dataId}-action` : '' }))] }), _jsx("div", { className: "dz-file-upload__files--item__info-size", children: _jsx(Text, { size: "small", dataId: dataId ? `${dataId}-size` : '', children: formatFileSize(file.size) }) })] })] }));
29
+ }), "data-test-id": dataTestId, onClick: handleItemClick, children: [_jsx("div", { className: 'dz-file-upload__files--item__preview', children: _jsx(FilePreview, { preview: preview, type: type }) }), _jsxs("div", { className: 'dz-file-upload__files--item__info', children: [_jsxs("div", { className: "dz-file-upload__files--item__info-title", children: [_jsx(Text, { weight: "semibold", dataTestId: dataTestId ? `${dataTestId}-text` : '', children: shortenFileName(file.name, 40) }), mode === FileUploadMode.attach && (_jsx(Button, { size: "small", type: "tertiary", onClick: onRemove, iconProps: { Component: IconDelete }, dataTestId: dataTestId ? `${dataTestId}-close` : '' })), mode === FileUploadMode.view && (_jsx(Button, { size: "small", type: "tertiary", onClick: onFileDownload, iconProps: { Component: IconArrowDownloadFilled }, dataTestId: dataTestId ? `${dataTestId}-action` : '' }))] }), _jsx("div", { className: "dz-file-upload__files--item__info-size", children: _jsx(Text, { size: "small", dataTestId: dataTestId ? `${dataTestId}-size` : '', children: formatFileSize(file.size) }) })] })] }));
30
30
  };
@@ -10,7 +10,7 @@ import IconEditFilled from '../SVGIcons/IconEditFilled';
10
10
  import IconEdit from '../SVGIcons/IconEdit';
11
11
  import IconAttach from '../SVGIcons/IconAttach';
12
12
  export const FileUpload = (props) => {
13
- const { allowedTypes = 'application/pdf, .png, .jpg, .jpeg, image/jpeg, image/png, image/jpg, text/plain, image/*, .pdf, .doc, .docx, application/vnd', label, getFiles, removeFiles, handleFileClick, name, setFieldValue, toBase64, required, disabled, buttonText, withFilePreview = true, multiple = true, uploadedFiles, value, labelAddons, onError, fileAllowedSize, mode = FileUploadMode.attach, dataId = '' } = props;
13
+ const { allowedTypes = 'application/pdf, .png, .jpg, .jpeg, image/jpeg, image/png, image/jpg, text/plain, image/*, .pdf, .doc, .docx, application/vnd', label, getFiles, removeFiles, handleFileClick, name, setFieldValue, toBase64, required, disabled, buttonText, withFilePreview = true, multiple = true, uploadedFiles, value, labelAddons, onError, fileAllowedSize, mode = FileUploadMode.attach, dataTestId = '' } = props;
14
14
  const files = value || uploadedFiles || [];
15
15
  const fileInputRef = useRef(null);
16
16
  const [isHovered, setHoverState] = useState(false);
@@ -66,5 +66,5 @@ export const FileUpload = (props) => {
66
66
  }
67
67
  }
68
68
  }, [files, removeFiles]);
69
- return (_jsxs("div", { className: "file-upload", "data-id": dataId, children: [_jsx(Label, { text: label, required: required, disabled: disabled, labelAddons: labelAddons, dataId: dataId ? `${dataId}-label` : '' }), _jsxs("div", { className: "file-upload__inner", children: [_jsx("input", { name: name, type: "file", multiple: multiple, className: "hide", ref: fileInputRef, accept: allowedTypes, "data-id": dataId ? `${dataId}-input` : '', onChange: handleChange }), mode === FileUploadMode.edit && (_jsx("div", { className: "edit__icon", "data-id": dataId ? `${dataId}-trigger` : '', onMouseEnter: onMouseEnterOrLeave, onMouseLeave: onMouseEnterOrLeave, onClick: onUploadClick, children: isHovered ? (_jsx(IconEditFilled, { size: "xxsmall", type: "secondary" })) : (_jsx(IconEdit, { size: "xxsmall", type: "secondary" })) })), mode === FileUploadMode.attach && (_jsx(Button, { type: "secondary", size: "medium", disabled: disabled, iconProps: { Component: IconAttach }, onClick: onUploadClick, buttonText: buttonText, dataId: dataId ? `${dataId}-action` : '' })), _jsx(UploadItems, { handleFileClick: handleFileClick, onRemove: handleFileRemove, files: files, withFilePreview: withFilePreview, dataId: dataId })] })] }));
69
+ return (_jsxs("div", { className: "file-upload", "data-test-id": dataTestId, children: [_jsx(Label, { text: label, required: required, disabled: disabled, labelAddons: labelAddons, dataTestId: dataTestId ? `${dataTestId}-label` : '' }), _jsxs("div", { className: "file-upload__inner", children: [_jsx("input", { name: name, type: "file", multiple: multiple, className: "hide", ref: fileInputRef, accept: allowedTypes, "data-test-id": dataTestId ? `${dataTestId}-input` : '', onChange: handleChange }), mode === FileUploadMode.edit && (_jsx("div", { className: "edit__icon", "data-test-id": dataTestId ? `${dataTestId}-trigger` : '', onMouseEnter: onMouseEnterOrLeave, onMouseLeave: onMouseEnterOrLeave, onClick: onUploadClick, children: isHovered ? (_jsx(IconEditFilled, { size: "xxsmall", type: "secondary" })) : (_jsx(IconEdit, { size: "xxsmall", type: "secondary" })) })), mode === FileUploadMode.attach && (_jsx(Button, { type: "secondary", size: "medium", disabled: disabled, iconProps: { Component: IconAttach }, onClick: onUploadClick, buttonText: buttonText, dataTestId: dataTestId ? `${dataTestId}-action` : '' })), _jsx(UploadItems, { handleFileClick: handleFileClick, onRemove: handleFileRemove, files: files, withFilePreview: withFilePreview, dataTestId: dataTestId })] })] }));
70
70
  };
@@ -6,17 +6,17 @@ import { ErrorMessage } from '../../helperComponents/ErrorMessage';
6
6
  import { Button } from '../Button';
7
7
  import IconDelete from '../SVGIcons/IconDelete';
8
8
  export const UploadItems = (props) => {
9
- const { files, onRemove, withFilePreview, handleFileClick, dataId = '' } = props;
9
+ const { files, onRemove, withFilePreview, handleFileClick, dataTestId = '' } = props;
10
10
  const { errors } = useFormProps();
11
11
  const filesErrors = errors && errors.files && errors.files.length > 0;
12
12
  return (_jsx(_Fragment, { children: files.map((file, index) => {
13
13
  var _a, _b;
14
- return (_jsx("div", { className: `upload-item mt-4 ${filesErrors && ((_a = errors.files[index]) === null || _a === void 0 ? void 0 : _a.message) ? 'upload-item--error' : ''}`, "data-id": dataId ? `${dataId}-item-${index}` : '', children: _jsx("div", { className: "upload-item__inner", children: _jsxs("div", { className: "upload-item__content mb-2", children: [_jsxs("div", { className: "upload-item__content__inner pr-8", children: [_jsx(Text, { size: "small", lineHeight: "medium", className: "upload-item__text", dataId: dataId ? `${dataId}-item-${index}-text` : '', onClick: (e) => withFilePreview &&
14
+ return (_jsx("div", { className: `upload-item mt-4 ${filesErrors && ((_a = errors.files[index]) === null || _a === void 0 ? void 0 : _a.message) ? 'upload-item--error' : ''}`, "data-test-id": dataTestId ? `${dataTestId}-item-${index}` : '', children: _jsx("div", { className: "upload-item__inner", children: _jsxs("div", { className: "upload-item__content mb-2", children: [_jsxs("div", { className: "upload-item__content__inner pr-8", children: [_jsx(Text, { size: "small", lineHeight: "medium", className: "upload-item__text", dataTestId: dataTestId ? `${dataTestId}-item-${index}-text` : '', onClick: (e) => withFilePreview &&
15
15
  openFileInNewWindow({
16
16
  e,
17
17
  file,
18
18
  handleFileClick
19
- }), children: file.name }), filesErrors && (_jsx(ErrorMessage, { message: (_b = errors.files[index]) === null || _b === void 0 ? void 0 : _b.message, dataId: dataId ? `${dataId}-item-${index}` : '' }))] }), _jsx(Button, { type: "tertiary", size: "small", iconProps: { Component: IconDelete }, dataId: dataId ? `${dataId}-item-${index}-close` : '', onClick: () => {
19
+ }), children: file.name }), filesErrors && (_jsx(ErrorMessage, { message: (_b = errors.files[index]) === null || _b === void 0 ? void 0 : _b.message, dataTestId: dataTestId ? `${dataTestId}-item-${index}` : '' }))] }), _jsx(Button, { type: "tertiary", size: "small", iconProps: { Component: IconDelete }, dataTestId: dataTestId ? `${dataTestId}-item-${index}-close` : '', onClick: () => {
20
20
  onRemove(file, index);
21
21
  } })] }) }) }, index));
22
22
  }) }));
@@ -1,5 +1,5 @@
1
1
  import { FILE_UPLOAD_ERRORS } from '../../consts';
2
- import { FileTypeEnum } from '../../type';
2
+ import { FileTypeEnum, IBaseProps, IFormCompProps } from '../../type';
3
3
  import { Dispatch, SetStateAction } from 'react';
4
4
  import { Accept, DropzoneOptions } from 'react-dropzone';
5
5
  export interface TFileUploadProps extends IFormCompProps {
@@ -7,7 +7,7 @@ import classnames from 'classnames';
7
7
  import { FormContext } from '../../context';
8
8
  import { Button } from '../Button';
9
9
  export const FormContainer = (props) => {
10
- const { children, className = '', shouldUnregister, shouldFocusError = true, mode = 'onBlur', initialValues, validationScheme, buttonConfigs, formId, language, onSubmit, dataId = '' } = props;
10
+ const { children, className = '', shouldUnregister, shouldFocusError = true, mode = 'onBlur', initialValues, validationScheme, buttonConfigs, formId, language, onSubmit, dataTestId = '' } = props;
11
11
  const { handleSubmit, register, setValue, control, formState, getValues, watch, reset, clearErrors, setError, trigger, getFieldState, unregister } = useForm({
12
12
  mode: mode,
13
13
  resolver: yupResolver(validationScheme),
@@ -29,7 +29,7 @@ export const FormContainer = (props) => {
29
29
  }
30
30
  }
31
31
  }, [language]);
32
- return (_jsx("form", { onSubmit: handleSubmit(customSubmit), id: formId, "data-id": dataId, className: classnames('form-container', className), children: _jsx(FormContext.Provider, { value: {
32
+ return (_jsx("form", { onSubmit: handleSubmit(customSubmit), id: formId, "data-test-id": dataTestId, className: classnames('form-container', className), children: _jsx(FormContext.Provider, { value: {
33
33
  trigger,
34
34
  register,
35
35
  errors,
@@ -48,7 +48,7 @@ export const FormContainer = (props) => {
48
48
  unregister,
49
49
  isValid,
50
50
  onSubmit: () => handleSubmit(customSubmit)()
51
- }, children: _jsxs(_Fragment, { children: [children, buttonConfigs && (_jsx("div", { className: "form-container__buttons", "data-id": dataId ? `${dataId}-buttons` : '', children: buttonConfigs.map((buttonConfig, index) => {
52
- return (_createElement(Button, Object.assign({}, buttonConfig, { key: index, dataId: dataId ? `${dataId}-button-${index}` : buttonConfig.dataId })));
51
+ }, children: _jsxs(_Fragment, { children: [children, buttonConfigs && (_jsx("div", { className: "form-container__buttons", "data-test-id": dataTestId ? `${dataTestId}-buttons` : '', children: buttonConfigs.map((buttonConfig, index) => {
52
+ return (_createElement(Button, Object.assign({}, buttonConfig, { key: index, dataTestId: dataTestId ? `${dataTestId}-button-${index}` : buttonConfig.dataTestId })));
53
53
  }) }))] }) }) }));
54
54
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactNode } from 'react';
2
3
  import { FormState, ValidationMode } from 'react-hook-form';
3
4
  import { AnyObjectSchema } from 'yup';
@@ -6,7 +6,7 @@ import { FormContext } from '../../context';
6
6
  import { Controller } from 'react-hook-form';
7
7
  import classnames from 'classnames';
8
8
  export const FormField = (props) => {
9
- const { As, name, className = '', dataId = '', hideErrorMessage = false, errorMessageIcon, defaultValue } = props;
9
+ const { As, name, className = '', dataTestId = '', hideErrorMessage = false, errorMessageIcon, defaultValue } = props;
10
10
  const { register, errors, setValue, control } = useContext(FormContext);
11
11
  if (!register) {
12
12
  return null;
@@ -14,8 +14,8 @@ export const FormField = (props) => {
14
14
  const registerOptions = register(name);
15
15
  return (_jsx("div", { className: classnames('form-container__field', className, name), children: _jsx(Controller, Object.assign({ control: control, name: name }, (defaultValue ? { defaultValue } : {}), { render: ({ field, fieldState }) => {
16
16
  var _a;
17
- return (_jsxs(_Fragment, { children: [As(Object.assign(Object.assign(Object.assign({ hasError: !!fieldState.error, isValid: fieldState.isTouched && fieldState.isDirty && !fieldState.invalid, dataId }, registerOptions), { setFieldValue: (data, name, options) => setValue(data, name, Object.assign({ shouldValidate: true, shouldDirty: true, shouldTouch: true }, options)) }), field)), !hideErrorMessage ? (_jsx(ReactHookFormErrorMessage, { name: ((_a = errors === null || errors === void 0 ? void 0 : errors[name]) === null || _a === void 0 ? void 0 : _a.root) ? `${name}.root` : name, errors: errors, render: ({ message }) => {
18
- return (_jsx(ErrorMessage, { dataId: dataId, message: message || '', className: "full-width", icon: errorMessageIcon }));
17
+ return (_jsxs(_Fragment, { children: [As(Object.assign(Object.assign(Object.assign({ hasError: !!fieldState.error, isValid: fieldState.isTouched && fieldState.isDirty && !fieldState.invalid, dataTestId }, registerOptions), { setFieldValue: (data, name, options) => setValue(data, name, Object.assign({ shouldValidate: true, shouldDirty: true, shouldTouch: true }, options)) }), field)), !hideErrorMessage ? (_jsx(ReactHookFormErrorMessage, { name: ((_a = errors === null || errors === void 0 ? void 0 : errors[name]) === null || _a === void 0 ? void 0 : _a.root) ? `${name}.root` : name, errors: errors, render: ({ message }) => {
18
+ return (_jsx(ErrorMessage, { dataTestId: dataTestId, message: message || '', className: "full-width", icon: errorMessageIcon }));
19
19
  } })) : null] }));
20
20
  } })) }));
21
21
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps, IFormCompProps } from '../../type';
1
2
  export interface TFormFieldPropTypes extends IBaseProps {
2
3
  As: (props: IFormCompProps) => React.ReactElement;
3
4
  name: string;
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { noop } from '../../utils/helpers';
3
3
  import classNames from 'classnames';
4
4
  export const Heading = (props) => {
5
- const { children, className = '', size = 'small', lineHeight = 'large', type: As = 'h1', weight = 'regular', onClick = noop, dataId = '' } = props;
6
- return (_jsx(As, { dataid: dataId, onClick: onClick, className: classNames('heading', size && `heading-${size}`, weight, lineHeight && `lh-${lineHeight}`, className), children: children }));
5
+ const { children, className = '', size = 'small', lineHeight = 'large', type: As = 'h1', weight = 'regular', onClick = noop, dataTestId = '' } = props;
6
+ return (_jsx(As, { dataid: dataTestId, onClick: onClick, className: classNames('heading', size && `heading-${size}`, weight, lineHeight && `lh-${lineHeight}`, className), children: children }));
7
7
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ElementType, ReactNode } from 'react';
2
3
  export interface HeadingPropTypes extends IBaseProps {
3
4
  children?: ReactNode;
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  export const Image = (props) => {
3
- const { name, imagePath = 'static/media/src/assets/images/image-placeholder.png', isBackgroundImage, backgroundSize, className = '', isFullWidth, isFullHeight, ratio, dataId = '' } = props;
4
- return isBackgroundImage ? (_jsx("div", { "data-id": dataId, className: `image image--bg ${className}`, style: {
3
+ const { name, imagePath = 'static/media/src/assets/images/image-placeholder.png', isBackgroundImage, backgroundSize, className = '', isFullWidth, isFullHeight, ratio, dataTestId = '' } = props;
4
+ return isBackgroundImage ? (_jsx("div", { "data-test-id": dataTestId, className: `image image--bg ${className}`, style: {
5
5
  backgroundImage: `${imagePath ? `url(${imagePath})` : ''}`,
6
6
  backgroundSize: backgroundSize,
7
7
  aspectRatio: ratio
8
- } })) : (_jsx("img", { "data-id": dataId, className: `image ${className}`, src: imagePath, alt: name, style: {
8
+ } })) : (_jsx("img", { "data-test-id": dataTestId, className: `image ${className}`, src: imagePath, alt: name, style: {
9
9
  aspectRatio: ratio,
10
10
  width: isFullWidth ? '100%' : '',
11
11
  height: isFullHeight ? '100%' : ''
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  export interface ImagePropTypes extends IBaseProps {
2
3
  name?: string;
3
4
  imagePath?: string;
@@ -19,7 +19,7 @@ import { Label } from '../../helperComponents/Label';
19
19
  import { Text } from '../Text';
20
20
  import IconCheckmarkCircleFilled from '../SVGIcons/IconCheckmarkCircleFilled';
21
21
  export const Input = React.forwardRef((_a, ref) => {
22
- var { datePlaceHolderText, className, size = 'medium', error, hasError, label, mask, maskChar, maskPlaceholder, currentValue, name, leftIconProps, rightIconProps, disabled, required, readonly, placeholder, type = 'text', helperText, successMessage, maxCount, setFieldValue, handleChange, dataId = '', isValid, allowLeadingZeros, thousandSeparator = '', allowNegative = false, hideCounter = false, labelAddons, witUpperCase = false, isAllowed, onChange, handleBlurEvent } = _a, rest = __rest(_a, ["datePlaceHolderText", "className", "size", "error", "hasError", "label", "mask", "maskChar", "maskPlaceholder", "currentValue", "name", "leftIconProps", "rightIconProps", "disabled", "required", "readonly", "placeholder", "type", "helperText", "successMessage", "maxCount", "setFieldValue", "handleChange", "dataId", "isValid", "allowLeadingZeros", "thousandSeparator", "allowNegative", "hideCounter", "labelAddons", "witUpperCase", "isAllowed", "onChange", "handleBlurEvent"]);
22
+ var { datePlaceHolderText, className, size = 'medium', error, hasError, label, mask, maskChar, maskPlaceholder, currentValue, name, leftIconProps, rightIconProps, disabled, required, readonly, placeholder, type = 'text', helperText, successMessage, maxCount, setFieldValue, handleChange, dataTestId = '', isValid, allowLeadingZeros, thousandSeparator = '', allowNegative = false, hideCounter = false, labelAddons, witUpperCase = false, isAllowed, onChange, handleBlurEvent } = _a, rest = __rest(_a, ["datePlaceHolderText", "className", "size", "error", "hasError", "label", "mask", "maskChar", "maskPlaceholder", "currentValue", "name", "leftIconProps", "rightIconProps", "disabled", "required", "readonly", "placeholder", "type", "helperText", "successMessage", "maxCount", "setFieldValue", "handleChange", "dataTestId", "isValid", "allowLeadingZeros", "thousandSeparator", "allowNegative", "hideCounter", "labelAddons", "witUpperCase", "isAllowed", "onChange", "handleBlurEvent"]);
23
23
  const isErrorVisible = hasError !== undefined ? hasError : !!error;
24
24
  const placeHolder = label === placeholder ? '' : placeholder || datePlaceHolderText;
25
25
  const changeHandler = (event) => {
@@ -56,21 +56,21 @@ export const Input = React.forwardRef((_a, ref) => {
56
56
  // @ts-ignore
57
57
  _jsx(InputMask, Object.assign({ name: name, mask: mask,
58
58
  // @ts-ignore
59
- ref: () => ref && ref() }, rest, { placeholder: placeHolder, onBlur: onBlurCallback, onChange: changeHandler, disabled: disabled, "data-id": dataId, className: `${isErrorVisible ? 'with-error-styles' : ''}` }, (currentValue ? { value: currentValue } : {}), { maskChar: maskChar, maskPlaceholder: maskPlaceholder }))) : type === 'numeric' ? (
59
+ ref: () => ref && ref() }, rest, { placeholder: placeHolder, onBlur: onBlurCallback, onChange: changeHandler, disabled: disabled, "data-test-id": dataTestId, className: `${isErrorVisible ? 'with-error-styles' : ''}` }, (currentValue ? { value: currentValue } : {}), { maskChar: maskChar, maskPlaceholder: maskPlaceholder }))) : type === 'numeric' ? (
60
60
  // @ts-ignore
61
61
  _jsx(NumericFormat, Object.assign({}, rest, { name: name, onChange: changeHandler, placeholder: placeHolder, readOnly: readonly, allowLeadingZeros: allowLeadingZeros, thousandSeparator: thousandSeparator, allowNegative: allowNegative, maxLength: maxCount, inputMode: 'numeric', disabled: disabled, isAllowed: isAllowed, onBlur: onBlurCallback }, (currentValue !== undefined ? { value: currentValue } : {})))) : (
62
62
  // @ts-ignore
63
- _jsx("input", Object.assign({ readOnly: readonly, disabled: disabled, name: name, ref: ref, type: type, placeholder: placeHolder, "data-id": dataId }, rest, { onBlur: onBlurCallback, onChange: changeHandler }, (currentValue !== undefined ? { value: currentValue } : {}))));
63
+ _jsx("input", Object.assign({ readOnly: readonly, disabled: disabled, name: name, ref: ref, type: type, placeholder: placeHolder, "data-test-id": dataTestId }, rest, { onBlur: onBlurCallback, onChange: changeHandler }, (currentValue !== undefined ? { value: currentValue } : {}))));
64
64
  return (_jsxs("div", { className: classNames(`input input--${size}`, className, {
65
65
  'input--icon-left': leftIconProps,
66
66
  'input--icon-right': rightIconProps,
67
67
  'input--invalid': isErrorVisible || !!error,
68
68
  'input--valid': isValid,
69
69
  'input--disabled': disabled
70
- }), children: [_jsx(Label, { text: label, required: required, disabled: disabled, labelAddons: labelAddons, dataId: dataId }), _jsxs("div", { className: "input__inner", children: [input, (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.Component) ? (_jsx(leftIconProps.Component, Object.assign({ size: "small" }, leftIconProps, { className: classNames('input__icon', 'input__icon--left', {
70
+ }), children: [_jsx(Label, { text: label, required: required, disabled: disabled, labelAddons: labelAddons, dataTestId: dataTestId }), _jsxs("div", { className: "input__inner", children: [input, (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.Component) ? (_jsx(leftIconProps.Component, Object.assign({ size: "small" }, leftIconProps, { className: classNames('input__icon', 'input__icon--left', {
71
71
  [leftIconProps.className || '']: !!leftIconProps.className
72
72
  }) }))) : null, (rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.Component) ? (_jsx(rightIconProps.Component, Object.assign({ size: "small" }, rightIconProps, { className: classNames('input__icon', 'input__icon--right', {
73
73
  [rightIconProps.className || '']: !!rightIconProps.className
74
- }) }))) : null] }), error || successMessage || helperText || maxCount ? (_jsxs("div", { className: "input__message mt-8", children: [isErrorVisible && error ? (_jsx(ErrorMessage, { message: error, icon: "infoFilled", dataId: dataId })) : null, successMessage ? (_jsx(Text, { size: "small", type: "success", className: "flexbox align-items--center", children: _jsxs(_Fragment, { children: [_jsx(IconCheckmarkCircleFilled, { type: "success", size: "xsmall" }), _jsx("span", { className: "ml-4", children: successMessage })] }) })) : null, helperText && !successMessage && !(isErrorVisible || error) ? (_jsx(Text, { size: "small", type: disabled ? 'disabled' : 'secondary', children: helperText })) : null, maxCount && !hideCounter && !hasError ? (_jsx(Text, { size: "small", type: disabled ? 'disabled' : 'secondary', className: "input__counter", children: `${currentLength}/${maxCount}` })) : null] })) : null] }));
74
+ }) }))) : null] }), error || successMessage || helperText || maxCount ? (_jsxs("div", { className: "input__message mt-8", children: [isErrorVisible && error ? (_jsx(ErrorMessage, { message: error, icon: "infoFilled", dataTestId: dataTestId })) : null, successMessage ? (_jsx(Text, { size: "small", type: "success", className: "flexbox align-items--center", children: _jsxs(_Fragment, { children: [_jsx(IconCheckmarkCircleFilled, { type: "success", size: "xsmall" }), _jsx("span", { className: "ml-4", children: successMessage })] }) })) : null, helperText && !successMessage && !(isErrorVisible || error) ? (_jsx(Text, { size: "small", type: disabled ? 'disabled' : 'secondary', children: helperText })) : null, maxCount && !hideCounter && !hasError ? (_jsx(Text, { size: "small", type: disabled ? 'disabled' : 'secondary', className: "input__counter", children: `${currentLength}/${maxCount}` })) : null] })) : null] }));
75
75
  });
76
76
  Input.displayName = 'FormInput';
@@ -1,5 +1,5 @@
1
1
  import { InputHTMLAttributes, ReactElement, RefObject, FocusEvent } from 'react';
2
- import { ISVGIconProps } from '../../type';
2
+ import { ISVGIconProps, IFormCompProps } from '../../type';
3
3
  export interface InputCustomProps extends IFormCompProps, Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onFocus' | 'value' | 'onChange' | 'autoComplete'> {
4
4
  mask?: string;
5
5
  maskChar?: string | null;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { TLineChartProps } from './types';
3
- export declare const LineChart: ({ data, dataId }: TLineChartProps) => React.ReactElement;
3
+ export declare const LineChart: ({ data, dataTestId }: TLineChartProps) => React.ReactElement;
@@ -3,18 +3,18 @@ import classNames from 'classnames';
3
3
  import { Text } from '../Text';
4
4
  import { Divider } from '../Divider';
5
5
  import { generateLinePath, formatWithDots } from './helper';
6
- export const LineChart = ({ data, dataId = '' }) => {
6
+ export const LineChart = ({ data, dataTestId = '' }) => {
7
7
  const linePathes = generateLinePath(data);
8
8
  let percent = 0;
9
- return (_jsxs("div", { "data-id": dataId, children: [_jsx("div", { className: "bar", children: linePathes.map(({ percentage, color }, i) => {
9
+ return (_jsxs("div", { "data-test-id": dataTestId, children: [_jsx("div", { className: "bar", children: linePathes.map(({ percentage, color }, i) => {
10
10
  const start = percent;
11
11
  const end = start + percentage;
12
12
  percent = end;
13
- return (_jsx("div", { "data-id": dataId ? `${dataId}-segment-${i}` : '', className: classNames('bar__segment', `bar__segment--color-${color}`, {
13
+ return (_jsx("div", { "data-test-id": dataTestId ? `${dataTestId}-segment-${i}` : '', className: classNames('bar__segment', `bar__segment--color-${color}`, {
14
14
  'bar__segment--first': i === 0,
15
15
  'bar__segment--last': i === linePathes.length - 1
16
16
  }), style: {
17
17
  flexBasis: `${percentage}%`
18
18
  } }, `line-chart-segment-${i}`));
19
- }) }), _jsx("div", { className: "line-chart-status", children: linePathes.map(({ label, dataCurrency, color, quantity, isHidden }, i) => !isHidden && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flexbox justify-content--between pt-6 pb-6", "data-id": dataId ? `${dataId}-item-${i}` : '', children: [_jsxs("div", { className: "flexbox align-items--center", children: [_jsx("span", { className: classNames('status__circle', `status__circle--${color}`) }), _jsx(Text, { type: "tertiary", dataId: dataId ? `${dataId}-label-${i}` : '', children: label })] }), _jsx("div", { children: _jsxs(Text, { dataId: dataId ? `${dataId}-value-${i}` : '', children: [formatWithDots(quantity), " ", dataCurrency] }) })] }, `line-chart-status-${i}`), i !== linePathes.length - 1 && (_jsx(Divider, { type: "primary", isHorizontal: true, color: "grey" }))] }))) })] }));
19
+ }) }), _jsx("div", { className: "line-chart-status", children: linePathes.map(({ label, dataCurrency, color, quantity, isHidden }, i) => !isHidden && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flexbox justify-content--between pt-6 pb-6", "data-test-id": dataTestId ? `${dataTestId}-item-${i}` : '', children: [_jsxs("div", { className: "flexbox align-items--center", children: [_jsx("span", { className: classNames('status__circle', `status__circle--${color}`) }), _jsx(Text, { type: "tertiary", dataTestId: dataTestId ? `${dataTestId}-label-${i}` : '', children: label })] }), _jsx("div", { children: _jsxs(Text, { dataTestId: dataTestId ? `${dataTestId}-value-${i}` : '', children: [formatWithDots(quantity), " ", dataCurrency] }) })] }, `line-chart-status-${i}`), i !== linePathes.length - 1 && (_jsx(Divider, { type: "primary", isHorizontal: true, color: "grey" }))] }))) })] }));
20
20
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  export type TLineChartColor = 'blue' | 'purple' | 'yellow' | 'pink' | 'green' | 'grey' | 'red';
2
3
  export type TLineChartDataItem = {
3
4
  quantity: number;
@@ -1,16 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import classNames from 'classnames';
3
3
  export const Link = (props) => {
4
- const { children, afterLink, beforeLink, className = '', url, dataId = '', target, type = 'brand', onclick } = props;
4
+ const { children, afterLink, beforeLink, className = '', url, dataTestId = '', target, type = 'brand', onclick } = props;
5
5
  return beforeLink || afterLink ? (_jsxs("span", { className: className, children: [beforeLink, _jsx("a", { onClick: (e) => {
6
6
  if (onclick) {
7
7
  e.preventDefault();
8
8
  onclick();
9
9
  }
10
- }, href: url, className: `link link-${type}`, "data-id": dataId ? `${dataId}-link` : '', target: target, children: children }), afterLink] })) : (_jsx("a", { onClick: (e) => {
10
+ }, href: url, className: `link link-${type}`, "data-test-id": dataTestId ? `${dataTestId}-link` : '', target: target, children: children }), afterLink] })) : (_jsx("a", { onClick: (e) => {
11
11
  if (onclick) {
12
12
  e.preventDefault();
13
13
  onclick();
14
14
  }
15
- }, href: url, className: classNames(`link ${className} link-${type}`), "data-id": dataId ? `${dataId}-link` : '', target: target, children: children }));
15
+ }, href: url, className: classNames(`link ${className} link-${type}`), "data-test-id": dataTestId ? `${dataTestId}-link` : '', target: target, children: children }));
16
16
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  type TLinkTypes = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse' | 'selected' | 'brand' | 'danger' | 'warning' | 'success' | 'information' | 'discovery';
2
3
  export interface LinkPropTypes extends IBaseProps {
3
4
  children?: string | React.ReactElement;
@@ -36,8 +36,8 @@ export const Menu = (props) => {
36
36
  if (!parentRef || !isOpen) {
37
37
  return null;
38
38
  }
39
- return (_jsx(_Fragment, { children: createPortal(_jsx("div", { className: classNames('select', 'select--menu', className), style: menuStyles, ref: setMenuRef, children: _jsxs(_Fragment, { children: [children, _jsx(_Fragment, { children: menuItems === null || menuItems === void 0 ? void 0 : menuItems.map(({ label, meta, value, handler, iconProps, disabled, dataId }) => {
40
- return (_jsx(OptionItem, { dataId: dataId, disabled: disabled, data: {
39
+ return (_jsx(_Fragment, { children: createPortal(_jsx("div", { className: classNames('select', 'select--menu', className), style: menuStyles, ref: setMenuRef, children: _jsxs(_Fragment, { children: [children, _jsx(_Fragment, { children: menuItems === null || menuItems === void 0 ? void 0 : menuItems.map(({ label, meta, value, handler, iconProps, disabled, dataTestId }) => {
40
+ return (_jsx(OptionItem, { dataTestId: dataTestId, disabled: disabled, data: {
41
41
  label,
42
42
  value,
43
43
  meta
@@ -37,8 +37,8 @@ export const NestedMenu = ({ menuItems = [], parentRef, onClose, isOpen, positio
37
37
  return null;
38
38
  }
39
39
  const _menuItems = menuItems.map((item, index) => {
40
- return Object.assign(Object.assign({}, item), { content: item.subItems ? (_jsx("div", { className: "nested-menu__sub-items select", children: item.subItems.map(({ label, meta, value, handler, iconProps, disabled, dataId }) => {
41
- return (_jsx(OptionItem, { dataId: dataId, disabled: disabled, data: {
40
+ return Object.assign(Object.assign({}, item), { content: item.subItems ? (_jsx("div", { className: "nested-menu__sub-items select", children: item.subItems.map(({ label, meta, value, handler, iconProps, disabled, dataTestId }) => {
41
+ return (_jsx(OptionItem, { dataTestId: dataTestId, disabled: disabled, data: {
42
42
  label,
43
43
  value,
44
44
  meta
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactNode } from 'react';
2
3
  export type TMenuItem = IBaseProps & {
3
4
  label: TItemLabel;