hrm_ui_lib 3.4.2 → 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 (846) hide show
  1. package/components/Alert/Alert.js +2 -2
  2. package/components/Alert/types.d.ts +1 -0
  3. package/components/Avatar/Avatar.d.ts +1 -1
  4. package/components/Avatar/Avatar.js +2 -2
  5. package/components/Avatar/AvatarGroup.d.ts +1 -1
  6. package/components/Avatar/AvatarGroup.js +2 -2
  7. package/components/Avatar/types.d.ts +1 -0
  8. package/components/Badge/Badge.js +2 -2
  9. package/components/Badge/types.d.ts +1 -0
  10. package/components/BadgeV2/BadgeV2.js +3 -3
  11. package/components/BadgeV2/types.d.ts +1 -1
  12. package/components/Breadcrumb/Breadcrumb.js +3 -3
  13. package/components/Breadcrumb/types.d.ts +1 -0
  14. package/components/Button/Button.js +2 -2
  15. package/components/Button/types.d.ts +1 -1
  16. package/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  17. package/components/ButtonGroup/ButtonGroup.js +3 -3
  18. package/components/ButtonGroup/ButtonGroupItem.d.ts +1 -1
  19. package/components/ButtonGroup/ButtonGroupItem.js +2 -2
  20. package/components/ButtonGroup/types.d.ts +1 -1
  21. package/components/Card/CardComponent/Card.js +2 -2
  22. package/components/Card/types.d.ts +1 -0
  23. package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -2
  24. package/components/CardGroup/types.d.ts +1 -0
  25. package/components/Checkbox/Checkbox.js +5 -5
  26. package/components/Checkbox/types.d.ts +1 -0
  27. package/components/Chips/Chips.js +2 -2
  28. package/components/Chips/types.d.ts +1 -1
  29. package/components/Collapse/Collapse/Collapse.js +2 -2
  30. package/components/Collapse/Collapse/Title.d.ts +2 -2
  31. package/components/Collapse/Collapse/Title.js +2 -2
  32. package/components/Collapse/CollapseGroup/CollapseGroup.js +2 -2
  33. package/components/Collapse/CollapseItem/CollapseItem.js +3 -3
  34. package/components/Collapse/types.d.ts +1 -0
  35. package/components/Container/Container.js +2 -2
  36. package/components/Container/types.d.ts +1 -0
  37. package/components/Copy/Copy.d.ts +1 -1
  38. package/components/Copy/Copy.js +2 -2
  39. package/components/Copy/types.d.ts +1 -0
  40. package/components/Counter/Counter.js +2 -2
  41. package/components/Counter/types.d.ts +1 -0
  42. package/components/DarkModeSwitcher/DarkModeSwitcher.d.ts +1 -0
  43. package/components/DarkModeSwitcher/DarkModeSwitcher.js +2 -2
  44. package/components/DarkModeSwitcher/types.d.ts +1 -0
  45. package/components/DatePicker/CustomHeader/CustomHeader.js +1 -1
  46. package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +2 -2
  47. package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +3 -3
  48. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +2 -2
  49. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +2 -2
  50. package/components/DatePicker/TimePicker/TimePickerDesktop.js +2 -2
  51. package/components/DatePicker/TimePicker/TimePickerMobile.js +2 -2
  52. package/components/DatePicker/types.d.ts +2 -1
  53. package/components/Divider/Divider.js +2 -2
  54. package/components/Divider/types.d.ts +1 -0
  55. package/components/Empty/Empty.js +2 -2
  56. package/components/Empty/types.d.ts +1 -0
  57. package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +5 -5
  58. package/components/FileUpload/DropzoneFileUpload/ErrorItem.d.ts +2 -2
  59. package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +2 -2
  60. package/components/FileUpload/DropzoneFileUpload/PreviewItem.d.ts +2 -2
  61. package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +2 -2
  62. package/components/FileUpload/FileUpload.js +2 -2
  63. package/components/FileUpload/UploadItems.js +3 -3
  64. package/components/FileUpload/types.d.ts +1 -1
  65. package/components/FormContainer/FormContainer.js +4 -4
  66. package/components/FormContainer/types.d.ts +1 -0
  67. package/components/FormField/FormField.js +3 -3
  68. package/components/FormField/types.d.ts +1 -0
  69. package/components/Heading/Heading.js +2 -2
  70. package/components/Heading/types.d.ts +1 -0
  71. package/components/Image/Image.js +3 -3
  72. package/components/Image/types.d.ts +1 -0
  73. package/components/Input/Input.js +5 -5
  74. package/components/Input/types.d.ts +1 -1
  75. package/components/LineChart/LineChart.d.ts +1 -1
  76. package/components/LineChart/LineChart.js +4 -4
  77. package/components/LineChart/types.d.ts +1 -0
  78. package/components/Link/Link.js +3 -3
  79. package/components/Link/types.d.ts +1 -0
  80. package/components/Menu/Menu.js +2 -2
  81. package/components/Menu/NestedMenu.js +2 -2
  82. package/components/Menu/types.d.ts +1 -0
  83. package/components/Modal/ModalConfirmation.d.ts +1 -1
  84. package/components/Modal/ModalConfirmation.js +2 -2
  85. package/components/Modal/ModalContent.d.ts +2 -2
  86. package/components/Modal/ModalContent.js +2 -2
  87. package/components/Modal/types.d.ts +2 -2
  88. package/components/More/More.js +2 -2
  89. package/components/More/types.d.ts +1 -0
  90. package/components/Pagination/Pagination.js +4 -4
  91. package/components/Pagination/types.d.ts +1 -0
  92. package/components/Popover/PopoverDesktop.js +2 -2
  93. package/components/Popover/PopoverMobile.js +2 -2
  94. package/components/Popover/types.d.ts +1 -0
  95. package/components/Progress/Progress.js +3 -3
  96. package/components/Progress/types.d.ts +1 -0
  97. package/components/ProgressStep/ProgressStep.js +3 -3
  98. package/components/ProgressStep/Step.js +6 -6
  99. package/components/ProgressStep/types.d.ts +1 -0
  100. package/components/Radio/Radio.js +2 -2
  101. package/components/Radio/RadioGroup.js +1 -1
  102. package/components/Radio/types.d.ts +1 -0
  103. package/components/SVGIcons/IconAdd.d.ts +1 -1
  104. package/components/SVGIcons/IconAdd.js +2 -2
  105. package/components/SVGIcons/IconAddCircle.d.ts +1 -1
  106. package/components/SVGIcons/IconAddCircle.js +2 -2
  107. package/components/SVGIcons/IconAddCircleFilled.d.ts +1 -1
  108. package/components/SVGIcons/IconAddCircleFilled.js +2 -2
  109. package/components/SVGIcons/IconAddFilled.d.ts +1 -1
  110. package/components/SVGIcons/IconAddFilled.js +2 -2
  111. package/components/SVGIcons/IconAirplaneTakeOff.d.ts +1 -1
  112. package/components/SVGIcons/IconAirplaneTakeOff.js +2 -2
  113. package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +1 -1
  114. package/components/SVGIcons/IconAirplaneTakeOffFilled.js +2 -2
  115. package/components/SVGIcons/IconAlert.d.ts +1 -1
  116. package/components/SVGIcons/IconAlert.js +2 -2
  117. package/components/SVGIcons/IconAlertBadge.d.ts +1 -1
  118. package/components/SVGIcons/IconAlertBadge.js +2 -2
  119. package/components/SVGIcons/IconAlertBadgeFilled.d.ts +1 -1
  120. package/components/SVGIcons/IconAlertBadgeFilled.js +2 -2
  121. package/components/SVGIcons/IconAlertFilled.d.ts +1 -1
  122. package/components/SVGIcons/IconAlertFilled.js +2 -2
  123. package/components/SVGIcons/IconAm.d.ts +1 -1
  124. package/components/SVGIcons/IconAm.js +2 -2
  125. package/components/SVGIcons/IconAmd.d.ts +1 -1
  126. package/components/SVGIcons/IconAmd.js +2 -2
  127. package/components/SVGIcons/IconAmdFilled.d.ts +1 -1
  128. package/components/SVGIcons/IconAmdFilled.js +2 -2
  129. package/components/SVGIcons/IconApple.d.ts +1 -1
  130. package/components/SVGIcons/IconApple.js +2 -2
  131. package/components/SVGIcons/IconArrowDown.d.ts +1 -1
  132. package/components/SVGIcons/IconArrowDown.js +2 -2
  133. package/components/SVGIcons/IconArrowDownFilled.d.ts +1 -1
  134. package/components/SVGIcons/IconArrowDownFilled.js +2 -2
  135. package/components/SVGIcons/IconArrowDownLeft.d.ts +1 -1
  136. package/components/SVGIcons/IconArrowDownLeft.js +2 -2
  137. package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +1 -1
  138. package/components/SVGIcons/IconArrowDownLeftFilled.js +2 -2
  139. package/components/SVGIcons/IconArrowDownload.d.ts +1 -1
  140. package/components/SVGIcons/IconArrowDownload.js +2 -2
  141. package/components/SVGIcons/IconArrowDownloadFilled.d.ts +1 -1
  142. package/components/SVGIcons/IconArrowDownloadFilled.js +2 -2
  143. package/components/SVGIcons/IconArrowEnter.d.ts +1 -1
  144. package/components/SVGIcons/IconArrowEnter.js +2 -2
  145. package/components/SVGIcons/IconArrowEnterFilled.d.ts +1 -1
  146. package/components/SVGIcons/IconArrowEnterFilled.js +2 -2
  147. package/components/SVGIcons/IconArrowExit.d.ts +1 -1
  148. package/components/SVGIcons/IconArrowExit.js +2 -2
  149. package/components/SVGIcons/IconArrowExitFilled.d.ts +1 -1
  150. package/components/SVGIcons/IconArrowExitFilled.js +2 -2
  151. package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +1 -1
  152. package/components/SVGIcons/IconArrowExportLeftToRight.js +2 -2
  153. package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +1 -1
  154. package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +2 -2
  155. package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +1 -1
  156. package/components/SVGIcons/IconArrowExportRightToLeft.js +2 -2
  157. package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +1 -1
  158. package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +2 -2
  159. package/components/SVGIcons/IconArrowExportUp.d.ts +1 -1
  160. package/components/SVGIcons/IconArrowExportUp.js +2 -2
  161. package/components/SVGIcons/IconArrowExportUpFilled.d.ts +1 -1
  162. package/components/SVGIcons/IconArrowExportUpFilled.js +2 -2
  163. package/components/SVGIcons/IconArrowImport.d.ts +1 -1
  164. package/components/SVGIcons/IconArrowImport.js +2 -2
  165. package/components/SVGIcons/IconArrowImportFilled.d.ts +1 -1
  166. package/components/SVGIcons/IconArrowImportFilled.js +2 -2
  167. package/components/SVGIcons/IconArrowLeft.d.ts +1 -1
  168. package/components/SVGIcons/IconArrowLeft.js +2 -2
  169. package/components/SVGIcons/IconArrowLeftFilled.d.ts +1 -1
  170. package/components/SVGIcons/IconArrowLeftFilled.js +2 -2
  171. package/components/SVGIcons/IconArrowRepeatAll.d.ts +1 -1
  172. package/components/SVGIcons/IconArrowRepeatAll.js +2 -2
  173. package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +1 -1
  174. package/components/SVGIcons/IconArrowRepeatAllFilled.js +2 -2
  175. package/components/SVGIcons/IconArrowReset.d.ts +1 -1
  176. package/components/SVGIcons/IconArrowReset.js +2 -2
  177. package/components/SVGIcons/IconArrowResetFilled.d.ts +1 -1
  178. package/components/SVGIcons/IconArrowResetFilled.js +2 -2
  179. package/components/SVGIcons/IconArrowRight.d.ts +1 -1
  180. package/components/SVGIcons/IconArrowRight.js +2 -2
  181. package/components/SVGIcons/IconArrowRightFilled.d.ts +1 -1
  182. package/components/SVGIcons/IconArrowRightFilled.js +2 -2
  183. package/components/SVGIcons/IconArrowSort.d.ts +1 -1
  184. package/components/SVGIcons/IconArrowSort.js +2 -2
  185. package/components/SVGIcons/IconArrowSortFilled.d.ts +1 -1
  186. package/components/SVGIcons/IconArrowSortFilled.js +2 -2
  187. package/components/SVGIcons/IconArrowSync.d.ts +1 -1
  188. package/components/SVGIcons/IconArrowSync.js +2 -2
  189. package/components/SVGIcons/IconArrowSyncFilled.d.ts +1 -1
  190. package/components/SVGIcons/IconArrowSyncFilled.js +2 -2
  191. package/components/SVGIcons/IconArrowUp.d.ts +1 -1
  192. package/components/SVGIcons/IconArrowUp.js +2 -2
  193. package/components/SVGIcons/IconArrowUpFilled.d.ts +1 -1
  194. package/components/SVGIcons/IconArrowUpFilled.js +2 -2
  195. package/components/SVGIcons/IconArrowUpLeft.d.ts +1 -1
  196. package/components/SVGIcons/IconArrowUpLeft.js +2 -2
  197. package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +1 -1
  198. package/components/SVGIcons/IconArrowUpLeftFilled.js +2 -2
  199. package/components/SVGIcons/IconArrowUpRight.d.ts +1 -1
  200. package/components/SVGIcons/IconArrowUpRight.js +2 -2
  201. package/components/SVGIcons/IconArrowUpRightFilled.d.ts +1 -1
  202. package/components/SVGIcons/IconArrowUpRightFilled.js +2 -2
  203. package/components/SVGIcons/IconAttach.d.ts +1 -1
  204. package/components/SVGIcons/IconAttach.js +2 -2
  205. package/components/SVGIcons/IconAttachFilled.d.ts +1 -1
  206. package/components/SVGIcons/IconAttachFilled.js +2 -2
  207. package/components/SVGIcons/IconBeach.d.ts +1 -1
  208. package/components/SVGIcons/IconBeach.js +2 -2
  209. package/components/SVGIcons/IconBeachFilled.d.ts +1 -1
  210. package/components/SVGIcons/IconBeachFilled.js +2 -2
  211. package/components/SVGIcons/IconBook.d.ts +1 -1
  212. package/components/SVGIcons/IconBook.js +2 -2
  213. package/components/SVGIcons/IconBookFilled.d.ts +1 -1
  214. package/components/SVGIcons/IconBookFilled.js +2 -2
  215. package/components/SVGIcons/IconBookmark.d.ts +1 -1
  216. package/components/SVGIcons/IconBookmark.js +2 -2
  217. package/components/SVGIcons/IconBookmarkFilled.d.ts +1 -1
  218. package/components/SVGIcons/IconBookmarkFilled.js +2 -2
  219. package/components/SVGIcons/IconBriefcase.d.ts +1 -1
  220. package/components/SVGIcons/IconBriefcase.js +2 -2
  221. package/components/SVGIcons/IconBriefcaseFilled.d.ts +1 -1
  222. package/components/SVGIcons/IconBriefcaseFilled.js +2 -2
  223. package/components/SVGIcons/IconBudgetTransfer.d.ts +1 -1
  224. package/components/SVGIcons/IconBudgetTransfer.js +2 -2
  225. package/components/SVGIcons/IconBuilding.d.ts +1 -1
  226. package/components/SVGIcons/IconBuilding.js +2 -2
  227. package/components/SVGIcons/IconBuildingBank.d.ts +1 -1
  228. package/components/SVGIcons/IconBuildingBank.js +2 -2
  229. package/components/SVGIcons/IconBuildingBankFilled.d.ts +1 -1
  230. package/components/SVGIcons/IconBuildingBankFilled.js +2 -2
  231. package/components/SVGIcons/IconBuildingFilled.d.ts +1 -1
  232. package/components/SVGIcons/IconBuildingFilled.js +2 -2
  233. package/components/SVGIcons/IconBulletListAdd.d.ts +1 -1
  234. package/components/SVGIcons/IconBulletListAdd.js +2 -2
  235. package/components/SVGIcons/IconBulletListAddFilled.d.ts +1 -1
  236. package/components/SVGIcons/IconBulletListAddFilled.js +2 -2
  237. package/components/SVGIcons/IconCalculator.d.ts +1 -1
  238. package/components/SVGIcons/IconCalculator.js +2 -2
  239. package/components/SVGIcons/IconCalculatorFilled.d.ts +1 -1
  240. package/components/SVGIcons/IconCalculatorFilled.js +2 -2
  241. package/components/SVGIcons/IconCalendarClock.d.ts +1 -1
  242. package/components/SVGIcons/IconCalendarClock.js +2 -2
  243. package/components/SVGIcons/IconCalendarClockFilled.d.ts +1 -1
  244. package/components/SVGIcons/IconCalendarClockFilled.js +2 -2
  245. package/components/SVGIcons/IconCalendarDay.d.ts +1 -1
  246. package/components/SVGIcons/IconCalendarDay.js +2 -2
  247. package/components/SVGIcons/IconCalendarDayFilled.d.ts +1 -1
  248. package/components/SVGIcons/IconCalendarDayFilled.js +2 -2
  249. package/components/SVGIcons/IconCalendarEmpty.d.ts +1 -1
  250. package/components/SVGIcons/IconCalendarEmpty.js +2 -2
  251. package/components/SVGIcons/IconCalendarLeft.d.ts +1 -1
  252. package/components/SVGIcons/IconCalendarLeft.js +2 -2
  253. package/components/SVGIcons/IconCalendarLeftFilled.d.ts +1 -1
  254. package/components/SVGIcons/IconCalendarLeftFilled.js +2 -2
  255. package/components/SVGIcons/IconCalendarRight.d.ts +1 -1
  256. package/components/SVGIcons/IconCalendarRight.js +2 -2
  257. package/components/SVGIcons/IconCalendarRightFilled.d.ts +1 -1
  258. package/components/SVGIcons/IconCalendarRightFilled.js +2 -2
  259. package/components/SVGIcons/IconCall.d.ts +1 -1
  260. package/components/SVGIcons/IconCall.js +2 -2
  261. package/components/SVGIcons/IconCallFilled.d.ts +1 -1
  262. package/components/SVGIcons/IconCallFilled.js +2 -2
  263. package/components/SVGIcons/IconCard.d.ts +1 -1
  264. package/components/SVGIcons/IconCard.js +2 -2
  265. package/components/SVGIcons/IconCardFilled.d.ts +1 -1
  266. package/components/SVGIcons/IconCardFilled.js +2 -2
  267. package/components/SVGIcons/IconCaretDown.d.ts +1 -1
  268. package/components/SVGIcons/IconCaretDown.js +2 -2
  269. package/components/SVGIcons/IconCaretDownFilled.d.ts +1 -1
  270. package/components/SVGIcons/IconCaretDownFilled.js +2 -2
  271. package/components/SVGIcons/IconCaretDownRight.d.ts +1 -1
  272. package/components/SVGIcons/IconCaretDownRight.js +2 -2
  273. package/components/SVGIcons/IconCaretDownRightFilled.d.ts +1 -1
  274. package/components/SVGIcons/IconCaretDownRightFilled.js +2 -2
  275. package/components/SVGIcons/IconCaretLeft.d.ts +1 -1
  276. package/components/SVGIcons/IconCaretLeft.js +2 -2
  277. package/components/SVGIcons/IconCaretLeftFilled.d.ts +1 -1
  278. package/components/SVGIcons/IconCaretLeftFilled.js +2 -2
  279. package/components/SVGIcons/IconCaretRight.d.ts +1 -1
  280. package/components/SVGIcons/IconCaretRight.js +2 -2
  281. package/components/SVGIcons/IconCaretRightFilled.d.ts +1 -1
  282. package/components/SVGIcons/IconCaretRightFilled.js +2 -2
  283. package/components/SVGIcons/IconCaretUp.d.ts +1 -1
  284. package/components/SVGIcons/IconCaretUp.js +2 -2
  285. package/components/SVGIcons/IconCaretUpFilled.d.ts +1 -1
  286. package/components/SVGIcons/IconCaretUpFilled.js +2 -2
  287. package/components/SVGIcons/IconChartPerson.d.ts +1 -1
  288. package/components/SVGIcons/IconChartPerson.js +2 -2
  289. package/components/SVGIcons/IconChartPersonFilled.d.ts +1 -1
  290. package/components/SVGIcons/IconChartPersonFilled.js +2 -2
  291. package/components/SVGIcons/IconChat.d.ts +1 -1
  292. package/components/SVGIcons/IconChat.js +2 -2
  293. package/components/SVGIcons/IconChatFilled.d.ts +1 -1
  294. package/components/SVGIcons/IconChatFilled.js +2 -2
  295. package/components/SVGIcons/IconChatMultiple.d.ts +1 -1
  296. package/components/SVGIcons/IconChatMultiple.js +2 -2
  297. package/components/SVGIcons/IconChatMultipleFilled.d.ts +1 -1
  298. package/components/SVGIcons/IconChatMultipleFilled.js +2 -2
  299. package/components/SVGIcons/IconCheckboxArrowRight.d.ts +1 -1
  300. package/components/SVGIcons/IconCheckboxArrowRight.js +2 -2
  301. package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +1 -1
  302. package/components/SVGIcons/IconCheckboxArrowRightFilled.js +2 -2
  303. package/components/SVGIcons/IconCheckmark.d.ts +1 -1
  304. package/components/SVGIcons/IconCheckmark.js +2 -2
  305. package/components/SVGIcons/IconCheckmarkCircle.d.ts +1 -1
  306. package/components/SVGIcons/IconCheckmarkCircle.js +2 -2
  307. package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +1 -1
  308. package/components/SVGIcons/IconCheckmarkCircleFilled.js +2 -2
  309. package/components/SVGIcons/IconCheckmarkFilled.d.ts +1 -1
  310. package/components/SVGIcons/IconCheckmarkFilled.js +2 -2
  311. package/components/SVGIcons/IconChevronDoubleLeft.d.ts +1 -1
  312. package/components/SVGIcons/IconChevronDoubleLeft.js +2 -2
  313. package/components/SVGIcons/IconChevronDoubleRight.d.ts +1 -1
  314. package/components/SVGIcons/IconChevronDoubleRight.js +2 -2
  315. package/components/SVGIcons/IconChevronDown.d.ts +1 -1
  316. package/components/SVGIcons/IconChevronDown.js +2 -2
  317. package/components/SVGIcons/IconChevronDownFilled.d.ts +1 -1
  318. package/components/SVGIcons/IconChevronDownFilled.js +2 -2
  319. package/components/SVGIcons/IconChevronLeft.d.ts +1 -1
  320. package/components/SVGIcons/IconChevronLeft.js +2 -2
  321. package/components/SVGIcons/IconChevronLeftFilled.d.ts +1 -1
  322. package/components/SVGIcons/IconChevronLeftFilled.js +2 -2
  323. package/components/SVGIcons/IconChevronRight.d.ts +1 -1
  324. package/components/SVGIcons/IconChevronRight.js +2 -2
  325. package/components/SVGIcons/IconChevronRightFilled.d.ts +1 -1
  326. package/components/SVGIcons/IconChevronRightFilled.js +2 -2
  327. package/components/SVGIcons/IconChevronUp.d.ts +1 -1
  328. package/components/SVGIcons/IconChevronUp.js +2 -2
  329. package/components/SVGIcons/IconChevronUpDown.d.ts +1 -1
  330. package/components/SVGIcons/IconChevronUpDown.js +2 -2
  331. package/components/SVGIcons/IconChevronUpDownFilled.d.ts +1 -1
  332. package/components/SVGIcons/IconChevronUpDownFilled.js +2 -2
  333. package/components/SVGIcons/IconChevronUpFilled.d.ts +1 -1
  334. package/components/SVGIcons/IconChevronUpFilled.js +2 -2
  335. package/components/SVGIcons/IconClipboardDay.d.ts +1 -1
  336. package/components/SVGIcons/IconClipboardDay.js +2 -2
  337. package/components/SVGIcons/IconClock.d.ts +1 -1
  338. package/components/SVGIcons/IconClock.js +2 -2
  339. package/components/SVGIcons/IconClockDismiss.d.ts +1 -1
  340. package/components/SVGIcons/IconClockDismiss.js +2 -2
  341. package/components/SVGIcons/IconClockDismissFilled.d.ts +1 -1
  342. package/components/SVGIcons/IconClockDismissFilled.js +2 -2
  343. package/components/SVGIcons/IconClockFilled.d.ts +1 -1
  344. package/components/SVGIcons/IconClockFilled.js +2 -2
  345. package/components/SVGIcons/IconCode.d.ts +1 -1
  346. package/components/SVGIcons/IconCode.js +2 -2
  347. package/components/SVGIcons/IconCoins.d.ts +1 -1
  348. package/components/SVGIcons/IconCoins.js +2 -2
  349. package/components/SVGIcons/IconComment.d.ts +1 -1
  350. package/components/SVGIcons/IconComment.js +2 -2
  351. package/components/SVGIcons/IconCommentFilled.d.ts +1 -1
  352. package/components/SVGIcons/IconCommentFilled.js +2 -2
  353. package/components/SVGIcons/IconContractCard.d.ts +1 -1
  354. package/components/SVGIcons/IconContractCard.js +2 -2
  355. package/components/SVGIcons/IconContractCardFilled.d.ts +1 -1
  356. package/components/SVGIcons/IconContractCardFilled.js +2 -2
  357. package/components/SVGIcons/IconCopy.d.ts +1 -1
  358. package/components/SVGIcons/IconCopy.js +2 -2
  359. package/components/SVGIcons/IconCopyFilled.d.ts +1 -1
  360. package/components/SVGIcons/IconCopyFilled.js +2 -2
  361. package/components/SVGIcons/IconCubeTree.d.ts +1 -1
  362. package/components/SVGIcons/IconCubeTree.js +2 -2
  363. package/components/SVGIcons/IconCubeTreeFilled.d.ts +1 -1
  364. package/components/SVGIcons/IconCubeTreeFilled.js +2 -2
  365. package/components/SVGIcons/IconDatabase.d.ts +1 -1
  366. package/components/SVGIcons/IconDatabase.js +2 -2
  367. package/components/SVGIcons/IconDatabaseFilled.d.ts +1 -1
  368. package/components/SVGIcons/IconDatabaseFilled.js +2 -2
  369. package/components/SVGIcons/IconDelete.d.ts +1 -1
  370. package/components/SVGIcons/IconDelete.js +2 -2
  371. package/components/SVGIcons/IconDeleteFilled.d.ts +1 -1
  372. package/components/SVGIcons/IconDeleteFilled.js +2 -2
  373. package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +1 -1
  374. package/components/SVGIcons/IconDeviceMeetingRoom.js +2 -2
  375. package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +1 -1
  376. package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +2 -2
  377. package/components/SVGIcons/IconDismiss.d.ts +1 -1
  378. package/components/SVGIcons/IconDismiss.js +2 -2
  379. package/components/SVGIcons/IconDismissCircle.d.ts +1 -1
  380. package/components/SVGIcons/IconDismissCircle.js +2 -2
  381. package/components/SVGIcons/IconDismissCircleFilled.d.ts +1 -1
  382. package/components/SVGIcons/IconDismissCircleFilled.js +2 -2
  383. package/components/SVGIcons/IconDismissFilled.d.ts +1 -1
  384. package/components/SVGIcons/IconDismissFilled.js +2 -2
  385. package/components/SVGIcons/IconDocument.d.ts +1 -1
  386. package/components/SVGIcons/IconDocument.js +2 -2
  387. package/components/SVGIcons/IconDocumentBulletList.d.ts +1 -1
  388. package/components/SVGIcons/IconDocumentBulletList.js +2 -2
  389. package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +1 -1
  390. package/components/SVGIcons/IconDocumentBulletListFilled.js +2 -2
  391. package/components/SVGIcons/IconDocumentEdit.d.ts +1 -1
  392. package/components/SVGIcons/IconDocumentEdit.js +2 -2
  393. package/components/SVGIcons/IconDocumentEditFilled.d.ts +1 -1
  394. package/components/SVGIcons/IconDocumentEditFilled.js +2 -2
  395. package/components/SVGIcons/IconDocumentFilled.d.ts +1 -1
  396. package/components/SVGIcons/IconDocumentFilled.js +2 -2
  397. package/components/SVGIcons/IconDocumentPerson.d.ts +1 -1
  398. package/components/SVGIcons/IconDocumentPerson.js +2 -2
  399. package/components/SVGIcons/IconEdit.d.ts +1 -1
  400. package/components/SVGIcons/IconEdit.js +2 -2
  401. package/components/SVGIcons/IconEditFilled.d.ts +1 -1
  402. package/components/SVGIcons/IconEditFilled.js +2 -2
  403. package/components/SVGIcons/IconErrorCircle.d.ts +1 -1
  404. package/components/SVGIcons/IconErrorCircle.js +2 -2
  405. package/components/SVGIcons/IconErrorCircleFilled.d.ts +1 -1
  406. package/components/SVGIcons/IconErrorCircleFilled.js +2 -2
  407. package/components/SVGIcons/IconEur.d.ts +1 -1
  408. package/components/SVGIcons/IconEur.js +2 -2
  409. package/components/SVGIcons/IconEurFilled.d.ts +1 -1
  410. package/components/SVGIcons/IconEurFilled.js +2 -2
  411. package/components/SVGIcons/IconExpandUpLeft.d.ts +1 -1
  412. package/components/SVGIcons/IconExpandUpLeft.js +2 -2
  413. package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +1 -1
  414. package/components/SVGIcons/IconExpandUpLeftFilled.js +2 -2
  415. package/components/SVGIcons/IconExpandUpRight.d.ts +1 -1
  416. package/components/SVGIcons/IconExpandUpRight.js +2 -2
  417. package/components/SVGIcons/IconExpandUpRightFilled.d.ts +1 -1
  418. package/components/SVGIcons/IconExpandUpRightFilled.js +2 -2
  419. package/components/SVGIcons/IconEyeOff.d.ts +1 -1
  420. package/components/SVGIcons/IconEyeOff.js +2 -2
  421. package/components/SVGIcons/IconEyeOffFilled.d.ts +1 -1
  422. package/components/SVGIcons/IconEyeOffFilled.js +2 -2
  423. package/components/SVGIcons/IconEyeOn.d.ts +1 -1
  424. package/components/SVGIcons/IconEyeOn.js +2 -2
  425. package/components/SVGIcons/IconEyeOnFilled.d.ts +1 -1
  426. package/components/SVGIcons/IconEyeOnFilled.js +2 -2
  427. package/components/SVGIcons/IconFacebook.d.ts +1 -1
  428. package/components/SVGIcons/IconFacebook.js +2 -2
  429. package/components/SVGIcons/IconFastAcceleration.d.ts +1 -1
  430. package/components/SVGIcons/IconFastAcceleration.js +2 -2
  431. package/components/SVGIcons/IconFastAccelerationFilled.d.ts +1 -1
  432. package/components/SVGIcons/IconFastAccelerationFilled.js +2 -2
  433. package/components/SVGIcons/IconFeed.d.ts +1 -1
  434. package/components/SVGIcons/IconFeed.js +2 -2
  435. package/components/SVGIcons/IconFeedFilled.d.ts +1 -1
  436. package/components/SVGIcons/IconFeedFilled.js +2 -2
  437. package/components/SVGIcons/IconFilter.d.ts +1 -1
  438. package/components/SVGIcons/IconFilter.js +2 -2
  439. package/components/SVGIcons/IconFilterFilled.d.ts +1 -1
  440. package/components/SVGIcons/IconFilterFilled.js +2 -2
  441. package/components/SVGIcons/IconFlag.d.ts +1 -1
  442. package/components/SVGIcons/IconFlag.js +2 -2
  443. package/components/SVGIcons/IconFlagFilled.d.ts +1 -1
  444. package/components/SVGIcons/IconFlagFilled.js +2 -2
  445. package/components/SVGIcons/IconFolderLink.d.ts +1 -1
  446. package/components/SVGIcons/IconFolderLink.js +2 -2
  447. package/components/SVGIcons/IconFolderLinkFilled.d.ts +1 -1
  448. package/components/SVGIcons/IconFolderLinkFilled.js +2 -2
  449. package/components/SVGIcons/IconFood.d.ts +1 -1
  450. package/components/SVGIcons/IconFood.js +2 -2
  451. package/components/SVGIcons/IconFoodFilled.d.ts +1 -1
  452. package/components/SVGIcons/IconFoodFilled.js +2 -2
  453. package/components/SVGIcons/IconGb.d.ts +1 -1
  454. package/components/SVGIcons/IconGb.js +2 -2
  455. package/components/SVGIcons/IconGlobe.d.ts +1 -1
  456. package/components/SVGIcons/IconGlobe.js +2 -2
  457. package/components/SVGIcons/IconGlobeFilled.d.ts +1 -1
  458. package/components/SVGIcons/IconGlobeFilled.js +2 -2
  459. package/components/SVGIcons/IconGoogle.d.ts +1 -1
  460. package/components/SVGIcons/IconGoogle.js +2 -2
  461. package/components/SVGIcons/IconHandOpenHeart.d.ts +1 -1
  462. package/components/SVGIcons/IconHandOpenHeart.js +2 -2
  463. package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +1 -1
  464. package/components/SVGIcons/IconHandOpenHeartFilled.js +2 -2
  465. package/components/SVGIcons/IconHeart.d.ts +1 -1
  466. package/components/SVGIcons/IconHeart.js +2 -2
  467. package/components/SVGIcons/IconHeartFilled.d.ts +1 -1
  468. package/components/SVGIcons/IconHeartFilled.js +2 -2
  469. package/components/SVGIcons/IconHistory.d.ts +1 -1
  470. package/components/SVGIcons/IconHistory.js +2 -2
  471. package/components/SVGIcons/IconHistoryFilled.d.ts +1 -1
  472. package/components/SVGIcons/IconHistoryFilled.js +2 -2
  473. package/components/SVGIcons/IconHome.d.ts +1 -1
  474. package/components/SVGIcons/IconHome.js +2 -2
  475. package/components/SVGIcons/IconHomeFilled.d.ts +1 -1
  476. package/components/SVGIcons/IconHomeFilled.js +2 -2
  477. package/components/SVGIcons/IconImage.d.ts +1 -1
  478. package/components/SVGIcons/IconImage.js +2 -2
  479. package/components/SVGIcons/IconImageFilled.d.ts +1 -1
  480. package/components/SVGIcons/IconImageFilled.js +2 -2
  481. package/components/SVGIcons/IconInfo.d.ts +1 -1
  482. package/components/SVGIcons/IconInfo.js +2 -2
  483. package/components/SVGIcons/IconInfoFilled.d.ts +1 -1
  484. package/components/SVGIcons/IconInfoFilled.js +2 -2
  485. package/components/SVGIcons/IconInstagram.d.ts +1 -1
  486. package/components/SVGIcons/IconInstagram.js +2 -2
  487. package/components/SVGIcons/IconKeyReset.d.ts +1 -1
  488. package/components/SVGIcons/IconKeyReset.js +2 -2
  489. package/components/SVGIcons/IconKeyResetFilled.d.ts +1 -1
  490. package/components/SVGIcons/IconKeyResetFilled.js +2 -2
  491. package/components/SVGIcons/IconLayers.d.ts +1 -1
  492. package/components/SVGIcons/IconLayers.js +2 -2
  493. package/components/SVGIcons/IconLibrary.d.ts +1 -1
  494. package/components/SVGIcons/IconLibrary.js +2 -2
  495. package/components/SVGIcons/IconLibraryFilled.d.ts +1 -1
  496. package/components/SVGIcons/IconLibraryFilled.js +2 -2
  497. package/components/SVGIcons/IconLink.d.ts +1 -1
  498. package/components/SVGIcons/IconLink.js +2 -2
  499. package/components/SVGIcons/IconLinkFilled.d.ts +1 -1
  500. package/components/SVGIcons/IconLinkFilled.js +2 -2
  501. package/components/SVGIcons/IconLinkedin.d.ts +1 -1
  502. package/components/SVGIcons/IconLinkedin.js +2 -2
  503. package/components/SVGIcons/IconList.d.ts +1 -1
  504. package/components/SVGIcons/IconList.js +2 -2
  505. package/components/SVGIcons/IconListFilled.d.ts +1 -1
  506. package/components/SVGIcons/IconListFilled.js +2 -2
  507. package/components/SVGIcons/IconLocation.d.ts +1 -1
  508. package/components/SVGIcons/IconLocation.js +2 -2
  509. package/components/SVGIcons/IconLocationFilled.d.ts +1 -1
  510. package/components/SVGIcons/IconLocationFilled.js +2 -2
  511. package/components/SVGIcons/IconLockClosed.d.ts +1 -1
  512. package/components/SVGIcons/IconLockClosed.js +2 -2
  513. package/components/SVGIcons/IconLockClosedFilled.d.ts +1 -1
  514. package/components/SVGIcons/IconLockClosedFilled.js +2 -2
  515. package/components/SVGIcons/IconLockOpen.d.ts +1 -1
  516. package/components/SVGIcons/IconLockOpen.js +2 -2
  517. package/components/SVGIcons/IconLockOpenFilled.d.ts +1 -1
  518. package/components/SVGIcons/IconLockOpenFilled.js +2 -2
  519. package/components/SVGIcons/IconMail.d.ts +1 -1
  520. package/components/SVGIcons/IconMail.js +2 -2
  521. package/components/SVGIcons/IconMailAdd.d.ts +1 -1
  522. package/components/SVGIcons/IconMailAdd.js +2 -2
  523. package/components/SVGIcons/IconMailAddFilled.d.ts +1 -1
  524. package/components/SVGIcons/IconMailAddFilled.js +2 -2
  525. package/components/SVGIcons/IconMailArrowForward.d.ts +1 -1
  526. package/components/SVGIcons/IconMailArrowForward.js +2 -2
  527. package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +1 -1
  528. package/components/SVGIcons/IconMailArrowForwardFilled.js +2 -2
  529. package/components/SVGIcons/IconMailFilled.d.ts +1 -1
  530. package/components/SVGIcons/IconMailFilled.js +2 -2
  531. package/components/SVGIcons/IconMailLink.d.ts +1 -1
  532. package/components/SVGIcons/IconMailLink.js +2 -2
  533. package/components/SVGIcons/IconMailLinkFilled.d.ts +1 -1
  534. package/components/SVGIcons/IconMailLinkFilled.js +2 -2
  535. package/components/SVGIcons/IconMedium.d.ts +1 -1
  536. package/components/SVGIcons/IconMedium.js +2 -2
  537. package/components/SVGIcons/IconMoon.d.ts +1 -1
  538. package/components/SVGIcons/IconMoon.js +2 -2
  539. package/components/SVGIcons/IconMore.d.ts +1 -1
  540. package/components/SVGIcons/IconMore.js +2 -2
  541. package/components/SVGIcons/IconMoreFilled.d.ts +1 -1
  542. package/components/SVGIcons/IconMoreFilled.js +2 -2
  543. package/components/SVGIcons/IconMoreVertical.d.ts +1 -1
  544. package/components/SVGIcons/IconMoreVertical.js +2 -2
  545. package/components/SVGIcons/IconMoreVerticalFilled.d.ts +1 -1
  546. package/components/SVGIcons/IconMoreVerticalFilled.js +2 -2
  547. package/components/SVGIcons/IconNavigation.d.ts +1 -1
  548. package/components/SVGIcons/IconNavigation.js +2 -2
  549. package/components/SVGIcons/IconNavigationFilled.d.ts +1 -1
  550. package/components/SVGIcons/IconNavigationFilled.js +2 -2
  551. package/components/SVGIcons/IconNotebook.d.ts +1 -1
  552. package/components/SVGIcons/IconNotebook.js +2 -2
  553. package/components/SVGIcons/IconNotebookAdd.d.ts +1 -1
  554. package/components/SVGIcons/IconNotebookAdd.js +2 -2
  555. package/components/SVGIcons/IconNotebookAddFilled.d.ts +1 -1
  556. package/components/SVGIcons/IconNotebookAddFilled.js +2 -2
  557. package/components/SVGIcons/IconNotebookFilled.d.ts +1 -1
  558. package/components/SVGIcons/IconNotebookFilled.js +2 -2
  559. package/components/SVGIcons/IconOnlyEmployee.d.ts +1 -1
  560. package/components/SVGIcons/IconOnlyEmployee.js +2 -2
  561. package/components/SVGIcons/IconOpen.d.ts +1 -1
  562. package/components/SVGIcons/IconOpen.js +2 -2
  563. package/components/SVGIcons/IconOpenFilled.d.ts +1 -1
  564. package/components/SVGIcons/IconOpenFilled.js +2 -2
  565. package/components/SVGIcons/IconPatient.d.ts +1 -1
  566. package/components/SVGIcons/IconPatient.js +2 -2
  567. package/components/SVGIcons/IconPatientFilled.d.ts +1 -1
  568. package/components/SVGIcons/IconPatientFilled.js +2 -2
  569. package/components/SVGIcons/IconPeople.d.ts +1 -1
  570. package/components/SVGIcons/IconPeople.js +2 -2
  571. package/components/SVGIcons/IconPeopleAdd.d.ts +1 -1
  572. package/components/SVGIcons/IconPeopleAdd.js +2 -2
  573. package/components/SVGIcons/IconPeopleAddFilled.d.ts +1 -1
  574. package/components/SVGIcons/IconPeopleAddFilled.js +2 -2
  575. package/components/SVGIcons/IconPeopleFilled.d.ts +1 -1
  576. package/components/SVGIcons/IconPeopleFilled.js +2 -2
  577. package/components/SVGIcons/IconPeopleList.d.ts +1 -1
  578. package/components/SVGIcons/IconPeopleList.js +2 -2
  579. package/components/SVGIcons/IconPeopleListFilled.d.ts +1 -1
  580. package/components/SVGIcons/IconPeopleListFilled.js +2 -2
  581. package/components/SVGIcons/IconPeopleTeam.d.ts +1 -1
  582. package/components/SVGIcons/IconPeopleTeam.js +2 -2
  583. package/components/SVGIcons/IconPeopleTeamFilled.d.ts +1 -1
  584. package/components/SVGIcons/IconPeopleTeamFilled.js +2 -2
  585. package/components/SVGIcons/IconPercent.d.ts +1 -1
  586. package/components/SVGIcons/IconPercent.js +2 -2
  587. package/components/SVGIcons/IconPerson.d.ts +1 -1
  588. package/components/SVGIcons/IconPerson.js +2 -2
  589. package/components/SVGIcons/IconPersonAccount.d.ts +1 -1
  590. package/components/SVGIcons/IconPersonAccount.js +2 -2
  591. package/components/SVGIcons/IconPersonAccountFilled.d.ts +1 -1
  592. package/components/SVGIcons/IconPersonAccountFilled.js +2 -2
  593. package/components/SVGIcons/IconPersonAdd.d.ts +1 -1
  594. package/components/SVGIcons/IconPersonAdd.js +2 -2
  595. package/components/SVGIcons/IconPersonAddFilled.d.ts +1 -1
  596. package/components/SVGIcons/IconPersonAddFilled.js +2 -2
  597. package/components/SVGIcons/IconPersonArrowLeft.d.ts +1 -1
  598. package/components/SVGIcons/IconPersonArrowLeft.js +2 -2
  599. package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +1 -1
  600. package/components/SVGIcons/IconPersonArrowLeftFilled.js +2 -2
  601. package/components/SVGIcons/IconPersonArrowRight.d.ts +1 -1
  602. package/components/SVGIcons/IconPersonArrowRight.js +2 -2
  603. package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +1 -1
  604. package/components/SVGIcons/IconPersonArrowRightFilled.js +2 -2
  605. package/components/SVGIcons/IconPersonBoard.d.ts +1 -1
  606. package/components/SVGIcons/IconPersonBoard.js +2 -2
  607. package/components/SVGIcons/IconPersonFilled.d.ts +1 -1
  608. package/components/SVGIcons/IconPersonFilled.js +2 -2
  609. package/components/SVGIcons/IconPersonMinus.d.ts +1 -1
  610. package/components/SVGIcons/IconPersonMinus.js +2 -2
  611. package/components/SVGIcons/IconPersonStar.d.ts +1 -1
  612. package/components/SVGIcons/IconPersonStar.js +2 -2
  613. package/components/SVGIcons/IconPersonStarFilled.d.ts +1 -1
  614. package/components/SVGIcons/IconPersonStarFilled.js +2 -2
  615. package/components/SVGIcons/IconPersonSubtract.d.ts +1 -1
  616. package/components/SVGIcons/IconPersonSubtract.js +2 -2
  617. package/components/SVGIcons/IconPersonSubtractFilled.d.ts +1 -1
  618. package/components/SVGIcons/IconPersonSubtractFilled.js +2 -2
  619. package/components/SVGIcons/IconPhone.d.ts +1 -1
  620. package/components/SVGIcons/IconPhone.js +2 -2
  621. package/components/SVGIcons/IconPhoneFilled.d.ts +1 -1
  622. package/components/SVGIcons/IconPhoneFilled.js +2 -2
  623. package/components/SVGIcons/IconPlugConnected.d.ts +1 -1
  624. package/components/SVGIcons/IconPlugConnected.js +2 -2
  625. package/components/SVGIcons/IconPos.d.ts +1 -1
  626. package/components/SVGIcons/IconPos.js +2 -2
  627. package/components/SVGIcons/IconPosFilled.d.ts +1 -1
  628. package/components/SVGIcons/IconPosFilled.js +2 -2
  629. package/components/SVGIcons/IconProhibited.d.ts +1 -1
  630. package/components/SVGIcons/IconProhibited.js +2 -2
  631. package/components/SVGIcons/IconProhibitedFilled.d.ts +1 -1
  632. package/components/SVGIcons/IconProhibitedFilled.js +2 -2
  633. package/components/SVGIcons/IconProjectProduct.d.ts +1 -1
  634. package/components/SVGIcons/IconProjectProduct.js +2 -2
  635. package/components/SVGIcons/IconQuestion.d.ts +1 -1
  636. package/components/SVGIcons/IconQuestion.js +2 -2
  637. package/components/SVGIcons/IconQuestionFilled.d.ts +1 -1
  638. package/components/SVGIcons/IconQuestionFilled.js +2 -2
  639. package/components/SVGIcons/IconRedo.d.ts +1 -1
  640. package/components/SVGIcons/IconRedo.js +2 -2
  641. package/components/SVGIcons/IconRedoFilled.d.ts +1 -1
  642. package/components/SVGIcons/IconRedoFilled.js +2 -2
  643. package/components/SVGIcons/IconRibbon.d.ts +1 -1
  644. package/components/SVGIcons/IconRibbon.js +2 -2
  645. package/components/SVGIcons/IconRu.d.ts +1 -1
  646. package/components/SVGIcons/IconRu.js +2 -2
  647. package/components/SVGIcons/IconRub.d.ts +1 -1
  648. package/components/SVGIcons/IconRub.js +2 -2
  649. package/components/SVGIcons/IconRubFilled.d.ts +1 -1
  650. package/components/SVGIcons/IconRubFilled.js +2 -2
  651. package/components/SVGIcons/IconSave.d.ts +1 -1
  652. package/components/SVGIcons/IconSave.js +2 -2
  653. package/components/SVGIcons/IconSaveFilled.d.ts +1 -1
  654. package/components/SVGIcons/IconSaveFilled.js +2 -2
  655. package/components/SVGIcons/IconSavings.d.ts +1 -1
  656. package/components/SVGIcons/IconSavings.js +2 -2
  657. package/components/SVGIcons/IconSavingsFilled.d.ts +1 -1
  658. package/components/SVGIcons/IconSavingsFilled.js +2 -2
  659. package/components/SVGIcons/IconSearch.d.ts +1 -1
  660. package/components/SVGIcons/IconSearch.js +2 -2
  661. package/components/SVGIcons/IconSearchFilled.d.ts +1 -1
  662. package/components/SVGIcons/IconSearchFilled.js +2 -2
  663. package/components/SVGIcons/IconSelectAllOff.d.ts +1 -1
  664. package/components/SVGIcons/IconSelectAllOff.js +2 -2
  665. package/components/SVGIcons/IconSelectAllOffFilled.d.ts +1 -1
  666. package/components/SVGIcons/IconSelectAllOffFilled.js +2 -2
  667. package/components/SVGIcons/IconSelectAllOn.d.ts +1 -1
  668. package/components/SVGIcons/IconSelectAllOn.js +2 -2
  669. package/components/SVGIcons/IconSelectAllOnFilled.d.ts +1 -1
  670. package/components/SVGIcons/IconSelectAllOnFilled.js +2 -2
  671. package/components/SVGIcons/IconSend.d.ts +1 -1
  672. package/components/SVGIcons/IconSend.js +2 -2
  673. package/components/SVGIcons/IconSendFilled.d.ts +1 -1
  674. package/components/SVGIcons/IconSendFilled.js +2 -2
  675. package/components/SVGIcons/IconSettings.d.ts +1 -1
  676. package/components/SVGIcons/IconSettings.js +2 -2
  677. package/components/SVGIcons/IconSettingsFilled.d.ts +1 -1
  678. package/components/SVGIcons/IconSettingsFilled.js +2 -2
  679. package/components/SVGIcons/IconShare.d.ts +1 -1
  680. package/components/SVGIcons/IconShare.js +2 -2
  681. package/components/SVGIcons/IconShareAndroid.d.ts +1 -1
  682. package/components/SVGIcons/IconShareAndroid.js +2 -2
  683. package/components/SVGIcons/IconShareAndroidFilled.d.ts +1 -1
  684. package/components/SVGIcons/IconShareAndroidFilled.js +2 -2
  685. package/components/SVGIcons/IconShareFilled.d.ts +1 -1
  686. package/components/SVGIcons/IconShareFilled.js +2 -2
  687. package/components/SVGIcons/IconSignOut.d.ts +1 -1
  688. package/components/SVGIcons/IconSignOut.js +2 -2
  689. package/components/SVGIcons/IconSignOutFilled.d.ts +1 -1
  690. package/components/SVGIcons/IconSignOutFilled.js +2 -2
  691. package/components/SVGIcons/IconSpinner.d.ts +1 -1
  692. package/components/SVGIcons/IconSpinner.js +2 -2
  693. package/components/SVGIcons/IconSpinnerFilled.d.ts +1 -1
  694. package/components/SVGIcons/IconSpinnerFilled.js +2 -2
  695. package/components/SVGIcons/IconStatus.d.ts +1 -1
  696. package/components/SVGIcons/IconStatus.js +2 -2
  697. package/components/SVGIcons/IconStatusFilled.d.ts +1 -1
  698. package/components/SVGIcons/IconStatusFilled.js +2 -2
  699. package/components/SVGIcons/IconSubtract.d.ts +1 -1
  700. package/components/SVGIcons/IconSubtract.js +2 -2
  701. package/components/SVGIcons/IconSubtractCircle.d.ts +1 -1
  702. package/components/SVGIcons/IconSubtractCircle.js +2 -2
  703. package/components/SVGIcons/IconSubtractCircleFilled.d.ts +1 -1
  704. package/components/SVGIcons/IconSubtractCircleFilled.js +2 -2
  705. package/components/SVGIcons/IconSubtractFilled.d.ts +1 -1
  706. package/components/SVGIcons/IconSubtractFilled.js +2 -2
  707. package/components/SVGIcons/IconSun.d.ts +1 -1
  708. package/components/SVGIcons/IconSun.js +2 -2
  709. package/components/SVGIcons/IconTableCellEdit.d.ts +1 -1
  710. package/components/SVGIcons/IconTableCellEdit.js +2 -2
  711. package/components/SVGIcons/IconTableCellEditFilled.d.ts +1 -1
  712. package/components/SVGIcons/IconTableCellEditFilled.js +2 -2
  713. package/components/SVGIcons/IconTelegram.d.ts +1 -1
  714. package/components/SVGIcons/IconTelegram.js +2 -2
  715. package/components/SVGIcons/IconTimer.d.ts +1 -1
  716. package/components/SVGIcons/IconTimer.js +2 -2
  717. package/components/SVGIcons/IconTimerFilled.d.ts +1 -1
  718. package/components/SVGIcons/IconTimerFilled.js +2 -2
  719. package/components/SVGIcons/IconTrophy.d.ts +1 -1
  720. package/components/SVGIcons/IconTrophy.js +2 -2
  721. package/components/SVGIcons/IconTrophyFilled.d.ts +1 -1
  722. package/components/SVGIcons/IconTrophyFilled.js +2 -2
  723. package/components/SVGIcons/IconTwitter.d.ts +1 -1
  724. package/components/SVGIcons/IconTwitter.js +2 -2
  725. package/components/SVGIcons/IconUndo.d.ts +1 -1
  726. package/components/SVGIcons/IconUndo.js +2 -2
  727. package/components/SVGIcons/IconUndoFilled.d.ts +1 -1
  728. package/components/SVGIcons/IconUndoFilled.js +2 -2
  729. package/components/SVGIcons/IconUnitsEmployee.d.ts +1 -1
  730. package/components/SVGIcons/IconUnitsEmployee.js +2 -2
  731. package/components/SVGIcons/IconUpload.d.ts +1 -1
  732. package/components/SVGIcons/IconUpload.js +2 -2
  733. package/components/SVGIcons/IconUs.d.ts +1 -1
  734. package/components/SVGIcons/IconUs.js +2 -2
  735. package/components/SVGIcons/IconUsd.d.ts +1 -1
  736. package/components/SVGIcons/IconUsd.js +2 -2
  737. package/components/SVGIcons/IconUsdFilled.d.ts +1 -1
  738. package/components/SVGIcons/IconUsdFilled.js +2 -2
  739. package/components/SVGIcons/IconUserMinus.d.ts +1 -1
  740. package/components/SVGIcons/IconUserMinus.js +2 -2
  741. package/components/SVGIcons/IconVacation.d.ts +1 -1
  742. package/components/SVGIcons/IconVacation.js +2 -2
  743. package/components/SVGIcons/IconVideo.d.ts +1 -1
  744. package/components/SVGIcons/IconVideo.js +2 -2
  745. package/components/SVGIcons/IconVideoFilled.d.ts +1 -1
  746. package/components/SVGIcons/IconVideoFilled.js +2 -2
  747. package/components/SVGIcons/IconWallet.d.ts +1 -1
  748. package/components/SVGIcons/IconWallet.js +2 -2
  749. package/components/SVGIcons/IconWalletFilled.d.ts +1 -1
  750. package/components/SVGIcons/IconWalletFilled.js +2 -2
  751. package/components/SVGIcons/IconWarning.d.ts +1 -1
  752. package/components/SVGIcons/IconWarning.js +2 -2
  753. package/components/SVGIcons/IconWarningFilled.d.ts +1 -1
  754. package/components/SVGIcons/IconWarningFilled.js +2 -2
  755. package/components/SVGIcons/IconYoutube.d.ts +1 -1
  756. package/components/SVGIcons/IconYoutube.js +2 -2
  757. package/components/Select/ButtonSelect/ButtonSelect.js +4 -4
  758. package/components/Select/FilterSelect/FilterDropdown.js +3 -3
  759. package/components/Select/FilterSelect/FilterSelect.js +3 -3
  760. package/components/Select/MultiSelect/DesktopWrapper.d.ts +1 -1
  761. package/components/Select/MultiSelect/DesktopWrapper.js +2 -2
  762. package/components/Select/MultiSelect/MobileWrapper.d.ts +1 -1
  763. package/components/Select/MultiSelect/MobileWrapper.js +2 -2
  764. package/components/Select/MultiSelect/MultiBase/MultiBase.js +4 -4
  765. package/components/Select/MultiSelect/MultiSelect.js +3 -3
  766. package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +4 -4
  767. package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +4 -4
  768. package/components/Select/MultiSelect/OptionsWrapper.d.ts +1 -1
  769. package/components/Select/NestedSelect/NestedSelect.js +5 -5
  770. package/components/Select/ProfileDropdown/index.js +2 -2
  771. package/components/Select/Select/Select.js +4 -4
  772. package/components/Select/Select/SelectDesktop/index.js +4 -4
  773. package/components/Select/Select/SelectMobile/MobileTopContent.d.ts +2 -2
  774. package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -2
  775. package/components/Select/Select/SelectMobile/index.js +4 -4
  776. package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.d.ts +1 -1
  777. package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +2 -2
  778. package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +2 -2
  779. package/components/Select/SharedComponents/ContentTop.d.ts +2 -2
  780. package/components/Select/SharedComponents/ContentTop.js +6 -6
  781. package/components/Select/SharedComponents/Footer.js +2 -2
  782. package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -3
  783. package/components/Select/helper.d.ts +1 -1
  784. package/components/Select/helper.js +3 -3
  785. package/components/Select/types.d.ts +5 -4
  786. package/components/SideSheet/Footer/Footer.d.ts +2 -2
  787. package/components/SideSheet/Footer/Footer.js +2 -2
  788. package/components/SideSheet/SideSheet.js +3 -3
  789. package/components/SideSheet/types.d.ts +1 -0
  790. package/components/Skeleton/Skeleton.js +4 -4
  791. package/components/Skeleton/types.d.ts +1 -0
  792. package/components/Snackbar/Snackbar.js +1 -1
  793. package/components/Snackbar/types.d.ts +1 -0
  794. package/components/Status/Status.js +3 -3
  795. package/components/Status/types.d.ts +1 -1
  796. package/components/Stepper/Stepper.js +2 -2
  797. package/components/Stepper/types.d.ts +1 -0
  798. package/components/Switcher/Switcher.js +2 -2
  799. package/components/Switcher/types.d.ts +1 -0
  800. package/components/Tab/Tab.js +3 -3
  801. package/components/Tab/TabItem.js +2 -2
  802. package/components/Tab/types.d.ts +1 -0
  803. package/components/Table/Header.d.ts +2 -1
  804. package/components/Table/Header.js +2 -2
  805. package/components/Table/IndeterminateCheckbox.d.ts +1 -0
  806. package/components/Table/IndeterminateCheckbox.js +2 -2
  807. package/components/Table/Row.d.ts +2 -1
  808. package/components/Table/Row.js +3 -3
  809. package/components/Table/Table.d.ts +1 -1
  810. package/components/Table/Table.js +5 -5
  811. package/components/Table/types.d.ts +1 -0
  812. package/components/Table/utils.d.ts +1 -1
  813. package/components/Table/utils.js +3 -3
  814. package/components/TableV2/AdvancedPagination.d.ts +2 -1
  815. package/components/TableV2/AdvancedPagination.js +3 -3
  816. package/components/TableV2/ColumnHeader.d.ts +2 -1
  817. package/components/TableV2/ColumnHeader.js +3 -3
  818. package/components/TableV2/IndeterminateCheckbox.d.ts +1 -0
  819. package/components/TableV2/IndeterminateCheckbox.js +2 -2
  820. package/components/TableV2/Table.d.ts +1 -1
  821. package/components/TableV2/Table.js +14 -14
  822. package/components/TableV2/hooks/useTableControl.d.ts +1 -1
  823. package/components/TableV2/hooks/useTableControl.js +4 -4
  824. package/components/TableV2/types.d.ts +1 -0
  825. package/components/Text/Text.js +2 -2
  826. package/components/Text/types.d.ts +1 -0
  827. package/components/Textarea/Textarea.js +2 -2
  828. package/components/Textarea/types.d.ts +1 -0
  829. package/components/Tooltip/Tooltip.js +2 -2
  830. package/components/Tooltip/types.d.ts +1 -0
  831. package/components/UnderConstruction/UnderConstruction.js +2 -2
  832. package/components/UnderConstruction/types.d.ts +1 -0
  833. package/helperComponents/ErrorMessage/ErrorMessage.d.ts +1 -1
  834. package/helperComponents/ErrorMessage/ErrorMessage.js +2 -2
  835. package/helperComponents/ErrorMessage/types.d.ts +1 -1
  836. package/helperComponents/Label/types.d.ts +1 -1
  837. package/helperComponents/OptionItem/OptionItem.js +3 -3
  838. package/helperComponents/OptionItem/types.d.ts +1 -1
  839. package/package.json +1 -1
  840. package/type/base.d.ts +13 -0
  841. package/type/base.js +1 -0
  842. package/type/index.d.ts +1 -0
  843. package/type/index.js +1 -0
  844. package/type/svg-icons.d.ts +1 -1
  845. package/utils/helpers.d.ts +1 -1
  846. package/utils/helpers.js +3 -3
@@ -5,7 +5,7 @@ import { Button } from '../Button';
5
5
  import { DEFAULT_DURATION, ICONS_MAPPING, TYPE_MAPPING } from './consts';
6
6
  import { IconDynamicComponent } from '../../helperComponents/IconDynamicComponent';
7
7
  const CustomToast = ({ actionProps, toastId, type = 'information', text }) => {
8
- return (_jsxs("div", { "data-id": `${type}-toast-message`, className: "snackbar", children: [_jsxs("div", { className: "snackbar__content", children: [_jsx(IconDynamicComponent, { Component: ICONS_MAPPING[type], type: TYPE_MAPPING[type], size: "medium" }), _jsx(Text, { className: "snackbar__text pl-16 pr-8", type: "primary", size: "standard", weight: "regular", lineHeight: "large", children: text })] }), actionProps ? (_jsx(Button, Object.assign({ size: "small", type: "tertiary" }, actionProps, { onClick: (e) => {
8
+ return (_jsxs("div", { "data-test-id": `${type}-toast-message`, className: "snackbar", children: [_jsxs("div", { className: "snackbar__content", children: [_jsx(IconDynamicComponent, { Component: ICONS_MAPPING[type], type: TYPE_MAPPING[type], size: "medium" }), _jsx(Text, { className: "snackbar__text pl-16 pr-8", type: "primary", size: "standard", weight: "regular", lineHeight: "large", children: text })] }), actionProps ? (_jsx(Button, Object.assign({ size: "small", type: "tertiary" }, actionProps, { onClick: (e) => {
9
9
  var _a;
10
10
  toast.dismiss(toastId);
11
11
  (_a = actionProps === null || actionProps === void 0 ? void 0 : actionProps.onClick) === null || _a === void 0 ? void 0 : _a.call(actionProps, e);
@@ -1,3 +1,4 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  import { TButtonPropTypes } from '../Button/types';
2
3
  export type TSnackbarTypes = 'success' | 'error' | 'warning' | 'information';
3
4
  export interface TToastProps {
@@ -8,11 +8,11 @@ var StatusTextSize;
8
8
  StatusTextSize["small"] = "xsmall";
9
9
  })(StatusTextSize || (StatusTextSize = {}));
10
10
  export const Status = (props) => {
11
- const { type = 'primary', size = 'large', text = '', children, className = '', leftIconProps, rightIconProps, withCircle = true, withBackground = false, dataId = '' } = props;
12
- return (_jsxs("div", { "data-id": dataId, className: classNames(`status status--${size}`, className, {
11
+ const { type = 'primary', size = 'large', text = '', children, className = '', leftIconProps, rightIconProps, withCircle = true, withBackground = false, dataTestId = '' } = props;
12
+ return (_jsxs("div", { "data-test-id": dataTestId, className: classNames(`status status--${size}`, className, {
13
13
  status__withBackground: withBackground,
14
14
  [`status__withBackground--${type}`]: withBackground
15
15
  }), children: [withCircle ? (_jsx("span", { className: classNames('status__circle', 'mr-6', {
16
16
  [`status__circle--${type}`]: true
17
- }) })) : null, (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.Component) ? (_jsx(leftIconProps.Component, Object.assign({ size: "xsmall", type: type, className: "mr-6" }, leftIconProps))) : null, _jsxs("div", { className: "status__label", children: [_jsx(Text, { className: "status__label-text", dataId: dataId ? `${dataId}-text` : '', weight: withBackground ? 'semibold' : 'regular', type: !withCircle || withBackground ? type : 'primary', size: StatusTextSize[size], children: text }), children] }), rightIconProps] }));
17
+ }) })) : null, (leftIconProps === null || leftIconProps === void 0 ? void 0 : leftIconProps.Component) ? (_jsx(leftIconProps.Component, Object.assign({ size: "xsmall", type: type, className: "mr-6" }, leftIconProps))) : null, _jsxs("div", { className: "status__label", children: [_jsx(Text, { className: "status__label-text", dataTestId: dataTestId ? `${dataTestId}-text` : '', weight: withBackground ? 'semibold' : 'regular', type: !withCircle || withBackground ? type : 'primary', size: StatusTextSize[size], children: text }), children] }), rightIconProps] }));
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { ISVGIconProps } from '../../type';
2
+ import { ISVGIconProps, IFormCompProps } from '../../type';
3
3
  export type TStatusTypes = 'primary' | 'disabled' | 'brand' | 'danger' | 'warning' | 'success' | 'information' | 'discovery';
4
4
  export interface TStatusProps extends IFormCompProps {
5
5
  text?: string;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEffect, useState } from 'react';
3
3
  export const Stepper = (props) => {
4
- const { list, activeStep = 0, setActiveStep, dataId = '' } = props;
4
+ const { list, activeStep = 0, setActiveStep, dataTestId = '' } = props;
5
5
  const [activeStepIndex, setActiveStepIndex] = useState(activeStep);
6
6
  const decreaseStepIndex = () => {
7
7
  let newIndex = activeStepIndex;
@@ -25,5 +25,5 @@ export const Stepper = (props) => {
25
25
  }
26
26
  }, [activeStep, activeStepIndex]);
27
27
  const Content = list[activeStepIndex];
28
- return (_jsx(Content, { activeStepIndex: activeStepIndex, isNextDisabled: activeStepIndex === list.length - 1, isPrevDisabled: activeStepIndex === 0, prevHandler: decreaseStepIndex, nextHandler: increaseStepIndex, stepCount: list.length, dataId: dataId ? `${dataId}-step-${activeStepIndex}` : '' }));
28
+ return (_jsx(Content, { activeStepIndex: activeStepIndex, isNextDisabled: activeStepIndex === list.length - 1, isPrevDisabled: activeStepIndex === 0, prevHandler: decreaseStepIndex, nextHandler: increaseStepIndex, stepCount: list.length, dataTestId: dataTestId ? `${dataTestId}-step-${activeStepIndex}` : '' }));
29
29
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  export interface TStepperContentWrapperProps extends IBaseProps {
2
3
  isPrevDisabled: boolean;
3
4
  isNextDisabled: boolean;
@@ -3,7 +3,7 @@ import { forwardRef, useMemo } from 'react';
3
3
  import classnames from 'classnames';
4
4
  import { Label } from '../../helperComponents/Label';
5
5
  export const Switcher = forwardRef((props, ref) => {
6
- const { onClick, id = '', name, value, disabled, label, inlineType = false, dataId, size = 'large', setFieldValue, selectedValue, className = '', labelAddons, orientation = 'right', hasSpaceBetween = true } = props;
6
+ const { onClick, id = '', name, value, disabled, label, inlineType = false, dataTestId, size = 'large', setFieldValue, selectedValue, className = '', labelAddons, orientation = 'right', hasSpaceBetween = true } = props;
7
7
  const isChecked = !!value || !!selectedValue;
8
8
  const changeHandler = () => {
9
9
  if (name && setFieldValue) {
@@ -17,6 +17,6 @@ export const Switcher = forwardRef((props, ref) => {
17
17
  return (_jsxs("div", { className: classnames('switcher', {
18
18
  'switcher--inline': inlineType,
19
19
  'switcher--space-between': hasSpaceBetween
20
- }), children: [label && orientation === 'right' && labelComponent, _jsxs("label", { id: id, className: classnames('controller', 'controller--switch', `controller--switch-${size}`, className, { 'controller--disabled': disabled }), children: [_jsx("input", { "data-id": dataId, type: "checkbox", tabIndex: 0, onChange: changeHandler, checked: isChecked, disabled: disabled }), _jsx("span", { className: "controller__icon", children: _jsx("span", { className: "controller__icon__inner", children: _jsx("span", { className: "controller__mark" }) }) })] }), label && orientation === 'left' && labelComponent] }));
20
+ }), children: [label && orientation === 'right' && labelComponent, _jsxs("label", { id: id, className: classnames('controller', 'controller--switch', `controller--switch-${size}`, className, { 'controller--disabled': disabled }), children: [_jsx("input", { "data-test-id": dataTestId, type: "checkbox", tabIndex: 0, onChange: changeHandler, checked: isChecked, disabled: disabled }), _jsx("span", { className: "controller__icon", children: _jsx("span", { className: "controller__icon__inner", children: _jsx("span", { className: "controller__mark" }) }) })] }), label && orientation === 'left' && labelComponent] }));
21
21
  });
22
22
  Switcher.displayName = 'Switcher';
@@ -1,3 +1,4 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  export interface TSwitcherProps extends IFormCompProps {
2
3
  onClick?: (isChecked: boolean) => void;
3
4
  className?: string;
@@ -13,8 +13,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { TabItem } from './TabItem';
14
14
  import classNames from 'classnames';
15
15
  export const Tab = (props) => {
16
- const { selectedValue, tabItems, onSelect, className, dataId = '' } = props, rest = __rest(props, ["selectedValue", "tabItems", "onSelect", "className", "dataId"]);
17
- return (_jsx("div", { className: "tabs-container", "data-id": dataId, children: _jsx("div", { className: classNames('tabs-header-container', className), children: tabItems.map((tabInfo, index) => {
18
- return (_jsx(TabItem, Object.assign({ label: tabInfo.label, badgeProps: tabInfo.badgeProps, onClick: () => onSelect(tabInfo.value), val: tabInfo.value, isSelected: selectedValue === tabInfo.value, dataId: (tabInfo === null || tabInfo === void 0 ? void 0 : tabInfo.dataId) || (dataId ? `${dataId}-item-${index}` : ''), disabled: tabInfo.disabled }, rest), tabInfo.value));
16
+ const { selectedValue, tabItems, onSelect, className, dataTestId = '' } = props, rest = __rest(props, ["selectedValue", "tabItems", "onSelect", "className", "dataTestId"]);
17
+ return (_jsx("div", { className: "tabs-container", "data-test-id": dataTestId, children: _jsx("div", { className: classNames('tabs-header-container', className), children: tabItems.map((tabInfo, index) => {
18
+ return (_jsx(TabItem, Object.assign({ label: tabInfo.label, badgeProps: tabInfo.badgeProps, onClick: () => onSelect(tabInfo.value), val: tabInfo.value, isSelected: selectedValue === tabInfo.value, dataTestId: (tabInfo === null || tabInfo === void 0 ? void 0 : tabInfo.dataTestId) || (dataTestId ? `${dataTestId}-item-${index}` : ''), disabled: tabInfo.disabled }, rest), tabInfo.value));
19
19
  }) }) }));
20
20
  };
@@ -3,8 +3,8 @@ import { Badge } from '../Badge';
3
3
  import { noop } from '../../utils/helpers';
4
4
  import classNames from 'classnames';
5
5
  export const TabItem = (props) => {
6
- const { size = 'large', iconProps, badgeProps, label, className = '', disabled = false, isSelected, rightIconProps, val, onClick, dataId } = props;
7
- return (_jsxs("div", { "data-id": dataId, onClick: disabled ? noop : onClick, className: classNames('tab', { [`tab--${size}`]: size }, { 'tab--disabled': disabled }, { 'tab--selected': isSelected }, className), children: [(iconProps === null || iconProps === void 0 ? void 0 : iconProps.Component) ? (_jsx(iconProps.Component, Object.assign({ className: "tab__icon mr-8", size: `${size == 'small' ? 'xsmall' : 'small'}` }, iconProps))) : null, _jsx("span", { className: "tab__label", "data-id": dataId ? `${dataId}-label` : '', children: label }), (rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.Component) ? (_jsx(rightIconProps.Component, Object.assign({ onClick: (e) => {
6
+ const { size = 'large', iconProps, badgeProps, label, className = '', disabled = false, isSelected, rightIconProps, val, onClick, dataTestId } = props;
7
+ return (_jsxs("div", { "data-test-id": dataTestId, onClick: disabled ? noop : onClick, className: classNames('tab', { [`tab--${size}`]: size }, { 'tab--disabled': disabled }, { 'tab--selected': isSelected }, className), children: [(iconProps === null || iconProps === void 0 ? void 0 : iconProps.Component) ? (_jsx(iconProps.Component, Object.assign({ className: "tab__icon mr-8", size: `${size == 'small' ? 'xsmall' : 'small'}` }, iconProps))) : null, _jsx("span", { className: "tab__label", "data-test-id": dataTestId ? `${dataTestId}-label` : '', children: label }), (rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.Component) ? (_jsx(rightIconProps.Component, Object.assign({ onClick: (e) => {
8
8
  if (rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.action) {
9
9
  e.stopPropagation();
10
10
  rightIconProps === null || rightIconProps === void 0 ? void 0 : rightIconProps.action(val);
@@ -1,3 +1,4 @@
1
+ import { IBaseProps, IFormCompProps } from '../../type';
1
2
  import { TBadgeProps } from '../Badge/types';
2
3
  export type TTabItem = IBaseProps & {
3
4
  value: number | string;
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactElement } from 'react';
2
3
  import { HeaderGroup } from 'react-table';
3
4
  type Props = IBaseProps & {
@@ -7,5 +8,5 @@ type Props = IBaseProps & {
7
8
  headerGroup: HeaderGroup;
8
9
  uniqueKey: string;
9
10
  };
10
- export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader, dataId }: Props): ReactElement;
11
+ export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader, dataTestId }: Props): ReactElement;
11
12
  export {};
@@ -15,7 +15,7 @@ import { calcColumnWidth, CHECKBOX_DEFAULT_WIDTH, CHECKBOX_HEADER_ID } from './u
15
15
  import { Text } from '../Text';
16
16
  import IconArrowDown from '../SVGIcons/IconArrowDown';
17
17
  import IconArrowUp from '../SVGIcons/IconArrowUp';
18
- export function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader = false, dataId = '' }) {
18
+ export function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader = false, dataTestId = '' }) {
19
19
  const _a = headerGroup.getHeaderGroupProps(), { key: keyheaderGroup } = _a, headerGroupProps = __rest(_a, ["key"]);
20
20
  return (_jsx("tr", Object.assign({}, headerGroupProps, { className: classNames({ fixed_header: fixedHeader }), children: headerGroup.headers.map(({ id, minWidth, maxWidth, width, widthInPercent, getHeaderProps, fixed, columnProps, render, isSorted, isSortedDesc, getSortByToggleProps }, i, arr) => {
21
21
  var _a;
@@ -24,7 +24,7 @@ export function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHe
24
24
  ? CHECKBOX_DEFAULT_WIDTH
25
25
  : calcColumnWidth(widthInPercent, tableWidth), left: !isSelection && withSelect && fixed === 'left' ? CHECKBOX_DEFAULT_WIDTH : 0 }, (!isSelection && minWidth ? { minWidth } : {})), (!isSelection && maxWidth ? { maxWidth } : {})), (!isSelection && width ? { width } : {}));
26
26
  const _b = getHeaderProps((columnProps === null || columnProps === void 0 ? void 0 : columnProps.sortable) ? getSortByToggleProps() : undefined), { key: keyHead } = _b, headProps = __rest(_b, ["key"]);
27
- return (_jsx("th", Object.assign({}, headProps, { "data-id": dataId ? `${dataId}-header-${id !== null && id !== void 0 ? id : i}` : '', className: classNames({
27
+ return (_jsx("th", Object.assign({}, headProps, { "data-test-id": dataTestId ? `${dataTestId}-header-${id !== null && id !== void 0 ? id : i}` : '', className: classNames({
28
28
  fixed_column_left: fixed === 'left',
29
29
  fixed_column_right: fixed === 'right',
30
30
  fixed_checkbox: isSelection && ((_a = arr[i + 1]) === null || _a === void 0 ? void 0 : _a.fixed) === 'left',
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import React from 'react';
2
3
  export declare const IndeterminateCheckbox: React.ForwardRefExoticComponent<IBaseProps & {
3
4
  indeterminate: boolean;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { forwardRef, useEffect, useRef } from 'react';
3
3
  import { Checkbox } from '../Checkbox';
4
- export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled = false, dataId = '' }, ref) => {
4
+ export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled = false, dataTestId = '' }, ref) => {
5
5
  const defaultRef = useRef(null);
6
6
  const resolvedRef = ref || defaultRef;
7
7
  useEffect(() => {
@@ -10,6 +10,6 @@ export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onCha
10
10
  const handleChange = (v) => {
11
11
  onChange({ target: { checked: v } });
12
12
  };
13
- return (_jsx(Checkbox, { disabled: disabled, value: checked, onClick: handleChange, ref: resolvedRef, dataId: dataId, stopPropagation: true }));
13
+ return (_jsx(Checkbox, { disabled: disabled, value: checked, onClick: handleChange, ref: resolvedRef, dataTestId: dataTestId, stopPropagation: true }));
14
14
  });
15
15
  IndeterminateCheckbox.displayName = 'IndeterminateCheckbox';
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactElement } from 'react';
2
3
  import { Row as RowType } from 'react-table';
3
4
  type Props = IBaseProps & {
@@ -7,5 +8,5 @@ type Props = IBaseProps & {
7
8
  selectedFlatRows: RowType[];
8
9
  uniqueKey: string;
9
10
  };
10
- export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick, dataId }: Props): ReactElement;
11
+ export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick, dataTestId }: Props): ReactElement;
11
12
  export {};
@@ -13,14 +13,14 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { useMemo } from 'react';
14
14
  import classNames from 'classnames';
15
15
  import { CHECKBOX_DEFAULT_WIDTH, CHECKBOX_HEADER_ID } from './utils';
16
- export function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick, dataId = '' }) {
16
+ export function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick, dataTestId = '' }) {
17
17
  const isRowSelected = useMemo(() => selectedFlatRows.find((r) => r.id === row.id), [selectedFlatRows]);
18
18
  const _a = row.getRowProps(), { key: keyRow } = _a, rowProps = __rest(_a, ["key"]);
19
- return (_jsx("tr", Object.assign({}, rowProps, { "data-id": dataId ? `${dataId}-row-${row.index}` : '', className: classNames({ selected: Boolean(isRowSelected) }), onClick: () => handleRowClick === null || handleRowClick === void 0 ? void 0 : handleRowClick(row.original), children: row.cells.map(({ getCellProps, column, render }, i, arr) => {
19
+ return (_jsx("tr", Object.assign({}, rowProps, { "data-test-id": dataTestId ? `${dataTestId}-row-${row.index}` : '', className: classNames({ selected: Boolean(isRowSelected) }), onClick: () => handleRowClick === null || handleRowClick === void 0 ? void 0 : handleRowClick(row.original), children: row.cells.map(({ getCellProps, column, render }, i, arr) => {
20
20
  var _a, _b;
21
21
  const isSelection = column.id === CHECKBOX_HEADER_ID;
22
22
  const _c = getCellProps(), { key: keycell } = _c, cellProps = __rest(_c, ["key"]);
23
- return (_jsx("td", Object.assign({}, cellProps, { "data-id": dataId ? `${dataId}-row-${row.index}-cell-${(_a = column.id) !== null && _a !== void 0 ? _a : i}` : '', style: {
23
+ return (_jsx("td", Object.assign({}, cellProps, { "data-test-id": dataTestId ? `${dataTestId}-row-${row.index}-cell-${(_a = column.id) !== null && _a !== void 0 ? _a : i}` : '', style: {
24
24
  left: !isSelection && withSelect && (column === null || column === void 0 ? void 0 : column.fixed) === 'left' ? CHECKBOX_DEFAULT_WIDTH : 0
25
25
  }, className: classNames({
26
26
  fixed_column_left: (column === null || column === void 0 ? void 0 : column.fixed) === 'left',
@@ -1,3 +1,3 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { TTableProps } from './types';
3
- export declare function Table({ columns, data, onChange, fixedHeader, withSelect, handleRowClick, className, language, containerRefHandler, submitButtons, dataId }: TTableProps): ReactElement;
3
+ export declare function Table({ columns, data, onChange, fixedHeader, withSelect, handleRowClick, className, language, containerRefHandler, submitButtons, dataTestId }: TTableProps): ReactElement;
@@ -11,7 +11,7 @@ import { TABLE_LOCALIZATION } from './localization';
11
11
  import { setTranslationValue } from '../../utils/helpers';
12
12
  import IconCheckmark from '../SVGIcons/IconCheckmark';
13
13
  import IconDismiss from '../SVGIcons/IconDismiss';
14
- export function Table({ columns, data, onChange, fixedHeader, withSelect = false, handleRowClick, className, language = 'en', containerRefHandler, submitButtons, dataId = '' }) {
14
+ export function Table({ columns, data, onChange, fixedHeader, withSelect = false, handleRowClick, className, language = 'en', containerRefHandler, submitButtons, dataTestId = '' }) {
15
15
  const tableRef = useRef(null);
16
16
  const [tableWidth, setTableWidth] = useState(400);
17
17
  const uniqueKey = useId();
@@ -42,7 +42,7 @@ export function Table({ columns, data, onChange, fixedHeader, withSelect = false
42
42
  const { getTableProps, getTableBodyProps, selectedFlatRows, headerGroups, rows, prepareRow, toggleAllRowsSelected, state } = useTable({
43
43
  columns: sortedColumns,
44
44
  data
45
- }, useSortBy, useRowSelect, (hooks) => setSelectedRows(hooks, withSelect, dataId));
45
+ }, useSortBy, useRowSelect, (hooks) => setSelectedRows(hooks, withSelect, dataTestId));
46
46
  const handleResize = useCallback(() => {
47
47
  var _a;
48
48
  if (tableRef.current) {
@@ -65,10 +65,10 @@ export function Table({ columns, data, onChange, fixedHeader, withSelect = false
65
65
  const onClearSelectedRows = useCallback(() => {
66
66
  toggleAllRowsSelected(false);
67
67
  }, []);
68
- return (_jsxs("div", { ref: containerRefHandler, "data-id": dataId, children: [withSelect && selectedFlatRows.length > 0 && (_jsxs("div", { className: "table-wrapper__selected-rows", children: [_jsx(Button, { buttonText: setTranslationValue(TABLE_LOCALIZATION[language].n_selected || '', selectedFlatRows.length), onClick: onClearSelectedRows, type: "tertiary", size: "medium", iconProps: { alignment: 'left', Component: IconDismiss }, dataId: dataId ? `${dataId}-clear-selected` : '' }), submitButtons === null || submitButtons === void 0 ? void 0 : submitButtons.map(({ buttonText, isLoading, onClick, iconProps }, i) => (_jsx(Button, { iconProps: iconProps || { alignment: 'left', Component: IconCheckmark }, onClick: (event) => {
68
+ return (_jsxs("div", { ref: containerRefHandler, "data-test-id": dataTestId, children: [withSelect && selectedFlatRows.length > 0 && (_jsxs("div", { className: "table-wrapper__selected-rows", children: [_jsx(Button, { buttonText: setTranslationValue(TABLE_LOCALIZATION[language].n_selected || '', selectedFlatRows.length), onClick: onClearSelectedRows, type: "tertiary", size: "medium", iconProps: { alignment: 'left', Component: IconDismiss }, dataTestId: dataTestId ? `${dataTestId}-clear-selected` : '' }), submitButtons === null || submitButtons === void 0 ? void 0 : submitButtons.map(({ buttonText, isLoading, onClick, iconProps }, i) => (_jsx(Button, { iconProps: iconProps || { alignment: 'left', Component: IconCheckmark }, onClick: (event) => {
69
69
  onClick(event, state, onClearSelectedRows);
70
- }, buttonText: buttonText || 'Submit', type: "secondary", size: "medium", className: "mr-8", isLoading: isLoading, dataId: dataId ? `${dataId}-submit-${i}` : '' })))] })), _jsx("div", { onScroll: dispatchScrollEvent, className: classNames('table-wrapper scrollbar scrollbar--horizontal scrollbar--vertical', className, { 'table-row-clickable': !!handleRowClick }), style: { maxHeight: fixedHeader === null || fixedHeader === void 0 ? void 0 : fixedHeader.y }, children: _jsxs("table", Object.assign({}, getTableProps(), { ref: tableRef, children: [_jsx("thead", { children: headerGroups.map((headerGroup, i) => (_jsx(Header, { withSelect: withSelect, fixedHeader: Boolean(fixedHeader), headerGroup: headerGroup, tableWidth: tableWidth, uniqueKey: uniqueKey, dataId: dataId }, `table_head_${uniqueKey}_${i}`))) }), _jsx("tbody", Object.assign({}, getTableBodyProps(), { children: rows.map((row) => {
70
+ }, buttonText: buttonText || 'Submit', type: "secondary", size: "medium", className: "mr-8", isLoading: isLoading, dataTestId: dataTestId ? `${dataTestId}-submit-${i}` : '' })))] })), _jsx("div", { onScroll: dispatchScrollEvent, className: classNames('table-wrapper scrollbar scrollbar--horizontal scrollbar--vertical', className, { 'table-row-clickable': !!handleRowClick }), style: { maxHeight: fixedHeader === null || fixedHeader === void 0 ? void 0 : fixedHeader.y }, children: _jsxs("table", Object.assign({}, getTableProps(), { ref: tableRef, children: [_jsx("thead", { children: headerGroups.map((headerGroup, i) => (_jsx(Header, { withSelect: withSelect, fixedHeader: Boolean(fixedHeader), headerGroup: headerGroup, tableWidth: tableWidth, uniqueKey: uniqueKey, dataTestId: dataTestId }, `table_head_${uniqueKey}_${i}`))) }), _jsx("tbody", Object.assign({}, getTableBodyProps(), { children: rows.map((row) => {
71
71
  prepareRow(row);
72
- return (_jsx(Row, { handleRowClick: handleRowClick, withSelect: withSelect, selectedFlatRows: selectedFlatRows, row: row, uniqueKey: uniqueKey, dataId: dataId }, `table_row_${uniqueKey}_${row.id}`));
72
+ return (_jsx(Row, { handleRowClick: handleRowClick, withSelect: withSelect, selectedFlatRows: selectedFlatRows, row: row, uniqueKey: uniqueKey, dataTestId: dataTestId }, `table_row_${uniqueKey}_${row.id}`));
73
73
  }) }))] })) })] }));
74
74
  }
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { Column, TableState } from 'react-table';
2
3
  import { TButtonPropTypes } from '../Button/types';
3
4
  type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Enumerate<N, [...Acc, Acc['length']]>;
@@ -1,5 +1,5 @@
1
1
  import { Hooks } from 'react-table';
2
2
  export declare const CHECKBOX_HEADER_ID = "selection";
3
3
  export declare const CHECKBOX_DEFAULT_WIDTH = 48;
4
- export declare function setSelectedRows(hooks: Hooks, withSelect: boolean, dataId?: string): void;
4
+ export declare function setSelectedRows(hooks: Hooks, withSelect: boolean, dataTestId?: string): void;
5
5
  export declare function calcColumnWidth(percent: number, tableWidth: number): number;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { IndeterminateCheckbox } from './IndeterminateCheckbox';
3
3
  export const CHECKBOX_HEADER_ID = 'selection';
4
4
  export const CHECKBOX_DEFAULT_WIDTH = 48;
5
- export function setSelectedRows(hooks, withSelect, dataId = '') {
5
+ export function setSelectedRows(hooks, withSelect, dataTestId = '') {
6
6
  if (withSelect) {
7
7
  hooks.visibleColumns.push((columns) => [
8
8
  {
@@ -15,7 +15,7 @@ export function setSelectedRows(hooks, withSelect, dataId = '') {
15
15
  checked: allSelected,
16
16
  indeterminate: !allSelected && someSelected,
17
17
  disabled: allEnabledRows.length === 0
18
- }), { dataId: dataId ? `${dataId}-select-all` : '', onChange: (e) => {
18
+ }), { dataTestId: dataTestId ? `${dataTestId}-select-all` : '', onChange: (e) => {
19
19
  const checked = e.target.checked;
20
20
  allEnabledRows.forEach((row) => {
21
21
  toggleRowSelected(row.id, checked);
@@ -26,7 +26,7 @@ export function setSelectedRows(hooks, withSelect, dataId = '') {
26
26
  const disabled = 'enableSelection' in row.original ? !row.original.enableSelection : false;
27
27
  return (_jsx(IndeterminateCheckbox, Object.assign({}, row.getToggleRowSelectedProps({
28
28
  disabled
29
- }), { dataId: dataId ? `${dataId}-row-${row.index}-select` : '' })));
29
+ }), { dataTestId: dataTestId ? `${dataTestId}-row-${row.index}-select` : '' })));
30
30
  }
31
31
  },
32
32
  ...columns
@@ -1,8 +1,9 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import type { Table } from '@tanstack/react-table';
2
3
  interface PaginationProps<T> extends IBaseProps {
3
4
  table: Table<T>;
4
5
  totalCount: number;
5
6
  buttonText?: string;
6
7
  }
7
- export declare function AdvancedPagination<TData>({ table, totalCount, buttonText, dataId }: PaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
8
+ export declare function AdvancedPagination<TData>({ table, totalCount, buttonText, dataTestId }: PaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -11,7 +11,7 @@ import IconChevronRight from '../SVGIcons/IconChevronRight';
11
11
  import IconChevronDoubleLeft from '../SVGIcons/IconChevronDoubleLeft';
12
12
  import IconChevronDoubleRight from '../SVGIcons/IconChevronDoubleRight';
13
13
  import IconMore from '../SVGIcons/IconMore';
14
- export function AdvancedPagination({ table, totalCount, buttonText, dataId = '' }) {
14
+ export function AdvancedPagination({ table, totalCount, buttonText, dataTestId = '' }) {
15
15
  const [navigatePage, setNavigatePage] = useState('1');
16
16
  const pageIndex = table.getState().pagination.pageIndex;
17
17
  const pageSize = table.getState().pagination.pageSize;
@@ -56,7 +56,7 @@ export function AdvancedPagination({ table, totalCount, buttonText, dataId = ''
56
56
  setNavigatePage('1');
57
57
  }
58
58
  }, [table.getPageCount(), table.getState().pagination]);
59
- return (_jsxs("div", { className: "advanced-table__pagination", "data-id": dataId, children: [_jsx(Select, { setSelectedItem: (value) => onRowCountChange(value), selectedItem: `${pageSize}`, className: 'no-border', options: OPTIONS, dataId: dataId ? `${dataId}-page-size` : '' }), _jsxs("div", { className: 'advanced-table__pagination__right', children: [_jsxs(Text, { type: 'tertiary', children: [pageIndex * pageSize + 1, " - ", (pageIndex + 1) * pageSize, " / ", totalCount] }), _jsxs("div", { className: "flexbox align-items--center", children: [_jsx(Input, { currentValue: navigatePage, size: "small", onChange: (e) => onNavigateToPage(e.target.value), className: "advanced-table__pagination__right__input mr-8", dataId: dataId ? `${dataId}-page-input` : '' }), _jsx(Button, { onClick: onGoToPage, type: "secondary", size: "medium", buttonText: buttonText !== null && buttonText !== void 0 ? buttonText : 'Go to page', dataId: dataId ? `${dataId}-goto` : '' })] }), _jsxs("ul", { className: "pagination", "data-id": dataId ? `${dataId}-pagination` : '', children: [_jsx("li", { className: `previous ${!table.getCanPreviousPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'prev', role: 'button', onClick: () => table.firstPage(), "data-id": dataId ? `${dataId}-first` : '', children: _jsx(IconChevronDoubleLeft, { size: 'small' }) }) }), _jsx("li", { className: `previous ${!table.getCanPreviousPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'prev', role: 'button', onClick: () => table.previousPage(), "data-id": dataId ? `${dataId}-prev` : '', children: _jsx(IconChevronLeft, { size: 'small' }) }) }), getVisiblePageNumbers().map((pageNumber, index) => pageNumber === '---' ? (_jsx("li", { className: 'pagination__more', children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageIndex - 3), "data-id": dataId ? `${dataId}-ellipsis-prev` : '', children: _jsx(IconMore, { size: 'small' }) }) }, `ellipsis-${index}`)) : pageNumber === '+++' ? (_jsx("li", { className: 'pagination__more', children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageIndex + 3), "data-id": dataId ? `${dataId}-ellipsis-next` : '', children: _jsx(IconMore, { size: 'small' }) }) }, `ellipsis-${index}`)) : (_jsx("li", { className: classnames({
59
+ return (_jsxs("div", { className: "advanced-table__pagination", "data-test-id": dataTestId, children: [_jsx(Select, { setSelectedItem: (value) => onRowCountChange(value), selectedItem: `${pageSize}`, className: 'no-border', options: OPTIONS, dataTestId: dataTestId ? `${dataTestId}-page-size` : '' }), _jsxs("div", { className: 'advanced-table__pagination__right', children: [_jsxs(Text, { type: 'tertiary', children: [pageIndex * pageSize + 1, " - ", (pageIndex + 1) * pageSize, " / ", totalCount] }), _jsxs("div", { className: "flexbox align-items--center", children: [_jsx(Input, { currentValue: navigatePage, size: "small", onChange: (e) => onNavigateToPage(e.target.value), className: "advanced-table__pagination__right__input mr-8", dataTestId: dataTestId ? `${dataTestId}-page-input` : '' }), _jsx(Button, { onClick: onGoToPage, type: "secondary", size: "medium", buttonText: buttonText !== null && buttonText !== void 0 ? buttonText : 'Go to page', dataTestId: dataTestId ? `${dataTestId}-goto` : '' })] }), _jsxs("ul", { className: "pagination", "data-test-id": dataTestId ? `${dataTestId}-pagination` : '', children: [_jsx("li", { className: `previous ${!table.getCanPreviousPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'prev', role: 'button', onClick: () => table.firstPage(), "data-test-id": dataTestId ? `${dataTestId}-first` : '', children: _jsx(IconChevronDoubleLeft, { size: 'small' }) }) }), _jsx("li", { className: `previous ${!table.getCanPreviousPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'prev', role: 'button', onClick: () => table.previousPage(), "data-test-id": dataTestId ? `${dataTestId}-prev` : '', children: _jsx(IconChevronLeft, { size: 'small' }) }) }), getVisiblePageNumbers().map((pageNumber, index) => pageNumber === '---' ? (_jsx("li", { className: 'pagination__more', children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageIndex - 3), "data-test-id": dataTestId ? `${dataTestId}-ellipsis-prev` : '', children: _jsx(IconMore, { size: 'small' }) }) }, `ellipsis-${index}`)) : pageNumber === '+++' ? (_jsx("li", { className: 'pagination__more', children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageIndex + 3), "data-test-id": dataTestId ? `${dataTestId}-ellipsis-next` : '', children: _jsx(IconMore, { size: 'small' }) }) }, `ellipsis-${index}`)) : (_jsx("li", { className: classnames({
60
60
  ['active']: pageNumber === pageIndex + 1
61
- }), children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageNumber - 1), "data-id": dataId ? `${dataId}-page-${pageNumber}` : '', children: pageNumber }) }, pageNumber))), _jsx("li", { className: `next ${!table.getCanNextPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'next', role: 'button', onClick: () => table.nextPage(), "data-id": dataId ? `${dataId}-next` : '', children: _jsx(IconChevronRight, { size: 'small' }) }) }), _jsx("li", { className: `next ${!table.getCanNextPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'next', role: 'button', onClick: () => table.lastPage(), "data-id": dataId ? `${dataId}-last` : '', children: _jsx(IconChevronDoubleRight, { size: 'small' }) }) })] })] })] }));
61
+ }), children: _jsx("a", { role: 'button', onClick: () => table.setPageIndex(+pageNumber - 1), "data-test-id": dataTestId ? `${dataTestId}-page-${pageNumber}` : '', children: pageNumber }) }, pageNumber))), _jsx("li", { className: `next ${!table.getCanNextPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'next', role: 'button', onClick: () => table.nextPage(), "data-test-id": dataTestId ? `${dataTestId}-next` : '', children: _jsx(IconChevronRight, { size: 'small' }) }) }), _jsx("li", { className: `next ${!table.getCanNextPage() ? 'disabled' : ''}`, children: _jsx("a", { rel: 'next', role: 'button', onClick: () => table.lastPage(), "data-test-id": dataTestId ? `${dataTestId}-last` : '', children: _jsx(IconChevronDoubleRight, { size: 'small' }) }) })] })] })] }));
62
62
  }
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import type { CSSProperties } from 'react';
2
3
  import type { Header } from '@tanstack/react-table';
3
4
  interface DraggableColumnHeaderProps<TData> extends IBaseProps {
@@ -5,5 +6,5 @@ interface DraggableColumnHeaderProps<TData> extends IBaseProps {
5
6
  isPinned?: boolean;
6
7
  pinnedStyles: CSSProperties;
7
8
  }
8
- export declare function ColumnHeader<TData>({ header, pinnedStyles, dataId }: DraggableColumnHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ColumnHeader<TData>({ header, pinnedStyles, dataTestId }: DraggableColumnHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
9
10
  export {};
@@ -6,7 +6,7 @@ import IconArrowSort from '../SVGIcons/IconArrowSort';
6
6
  import IconArrowUp from '../SVGIcons/IconArrowUp';
7
7
  import { Text } from '../Text';
8
8
  import classnames from 'classnames';
9
- export function ColumnHeader({ header, pinnedStyles, dataId = '' }) {
9
+ export function ColumnHeader({ header, pinnedStyles, dataTestId = '' }) {
10
10
  const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({
11
11
  id: header.id
12
12
  });
@@ -23,10 +23,10 @@ export function ColumnHeader({ header, pinnedStyles, dataId = '' }) {
23
23
  position: 'relative',
24
24
  zIndex: isDragging ? 1 : 0
25
25
  };
26
- return (_jsxs("th", Object.assign({ ref: setNodeRef, "data-id": dataId ? `${dataId}-header-${header.column.id}` : '', style: Object.assign(Object.assign({}, style), pinnedStyles), className: classnames('select-none', {
26
+ return (_jsxs("th", Object.assign({ ref: setNodeRef, "data-test-id": dataTestId ? `${dataTestId}-header-${header.column.id}` : '', style: Object.assign(Object.assign({}, style), pinnedStyles), className: classnames('select-none', {
27
27
  ['with-checkbox']: header.column.id === 'select',
28
28
  ['actions-header']: header.column.id === 'actions',
29
29
  ['cursor-pointer']: header.column.getCanSort()
30
- }) }, attributes, { children: [_jsxs("div", { onClick: header.column.getToggleSortingHandler(), "data-id": dataId ? `${dataId}-sort-${header.column.id}` : '', className: "flexbox align-items--center", children: [_jsx("div", Object.assign({}, listeners, { children: _jsx(Text, { className: "text-left", weight: 'bold', children: flexRender(header.column.columnDef.header, header.getContext()) }) })), _jsx("span", { className: "ml-4", children: header.column.getCanSort() &&
30
+ }) }, attributes, { children: [_jsxs("div", { onClick: header.column.getToggleSortingHandler(), "data-test-id": dataTestId ? `${dataTestId}-sort-${header.column.id}` : '', className: "flexbox align-items--center", children: [_jsx("div", Object.assign({}, listeners, { children: _jsx(Text, { className: "text-left", weight: 'bold', children: flexRender(header.column.columnDef.header, header.getContext()) }) })), _jsx("span", { className: "ml-4", children: header.column.getCanSort() &&
31
31
  (header.column.getIsSorted() === 'asc' ? (_jsx(IconArrowUp, { size: "xsmall" })) : header.column.getIsSorted() === 'desc' ? (_jsx(IconArrowDown, { size: "xsmall" })) : (_jsx(IconArrowSort, { size: "xsmall" }))) })] }), _jsx("div", { onMouseDown: header.getResizeHandler(), onTouchStart: header.getResizeHandler(), className: "resize-icon select-none touch-none" })] })));
32
32
  }
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import React from 'react';
2
3
  export declare const IndeterminateCheckbox: React.ForwardRefExoticComponent<IBaseProps & {
3
4
  indeterminate: boolean;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { forwardRef, useEffect, useRef } from 'react';
3
3
  import { Checkbox } from '../Checkbox';
4
4
  import classNames from 'classnames';
5
- export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled, dataId = '' }, ref) => {
5
+ export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onChange, disabled, dataTestId = '' }, ref) => {
6
6
  const defaultRef = useRef(null);
7
7
  const resolvedRef = ref !== null && ref !== void 0 ? ref : defaultRef;
8
8
  useEffect(() => {
@@ -11,6 +11,6 @@ export const IndeterminateCheckbox = forwardRef(({ indeterminate, checked, onCha
11
11
  const handleChange = (v) => {
12
12
  onChange({ target: { checked: v } });
13
13
  };
14
- return (_jsx("div", { className: 'actions-list', children: _jsx(Checkbox, { className: classNames('actions-list__checkbox', { 'active-checkbox': checked }), value: checked, disabled: disabled, onClick: handleChange, ref: resolvedRef, dataId: dataId }) }));
14
+ return (_jsx("div", { className: 'actions-list', children: _jsx(Checkbox, { className: classNames('actions-list__checkbox', { 'active-checkbox': checked }), value: checked, disabled: disabled, onClick: handleChange, ref: resolvedRef, dataTestId: dataTestId }) }));
15
15
  });
16
16
  IndeterminateCheckbox.displayName = 'IndeterminateCheckbox';
@@ -1,3 +1,3 @@
1
1
  import type { TTableProps } from './types';
2
2
  import 'react-loading-skeleton/dist/skeleton.css';
3
- export declare function Table<TData>({ data, dataId, columns, isLoading, hasError, isActionsVisible, totalCount, emptyTitle, emptySubTitle, emptyIllustration, withSelect, withBorder, defaultPageIndex, defaultPageSize, defaultHiddenColumns, collapsibleRows, renderExpandedContent, renderHeader, renderFooter, onSortChange, onRowClick, tableSettings, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): import("react/jsx-runtime").JSX.Element;
3
+ export declare function Table<TData>({ data, dataTestId, columns, isLoading, hasError, isActionsVisible, totalCount, emptyTitle, emptySubTitle, emptyIllustration, withSelect, withBorder, defaultPageIndex, defaultPageSize, defaultHiddenColumns, collapsibleRows, renderExpandedContent, renderHeader, renderFooter, onSortChange, onRowClick, tableSettings, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): import("react/jsx-runtime").JSX.Element;
@@ -19,19 +19,19 @@ var ColumnId;
19
19
  ColumnId["Actions"] = "actions";
20
20
  ColumnId["Expand"] = "expand";
21
21
  })(ColumnId || (ColumnId = {}));
22
- const ExpandColumn = ({ row, expandedRows, onToggle, dataId = '' }) => {
22
+ const ExpandColumn = ({ row, expandedRows, onToggle, dataTestId = '' }) => {
23
23
  var _a, _b, _c;
24
24
  const hasSubRows = ((_a = row.original) === null || _a === void 0 ? void 0 : _a.subRows) && ((_c = (_b = row.original) === null || _b === void 0 ? void 0 : _b.subRows) === null || _c === void 0 ? void 0 : _c.length) > 0;
25
25
  if (!hasSubRows)
26
26
  return null;
27
27
  return (_jsx(Button, { type: "tertiary", size: "medium", className: classnames('advanced-table__expand-button'), iconProps: {
28
28
  Component: expandedRows.has(row.id) ? IconChevronUp : IconChevronDown
29
- }, dataId: dataId ? `${dataId}-expand-${row.index}` : '', onClick: (e) => {
29
+ }, dataTestId: dataTestId ? `${dataTestId}-expand-${row.index}` : '', onClick: (e) => {
30
30
  e.stopPropagation();
31
31
  onToggle(row.id);
32
32
  } }));
33
33
  };
34
- export function Table({ data, dataId = '', columns, isLoading, hasError, isActionsVisible = false, totalCount = 0, emptyTitle, emptySubTitle, emptyIllustration, withSelect = false, withBorder = true, defaultPageIndex, defaultPageSize, defaultHiddenColumns, collapsibleRows = false, renderExpandedContent, renderHeader, renderFooter, onSortChange, onRowClick, tableSettings, onRowSelection, onColumnSizing, onPaginationChange }) {
34
+ export function Table({ data, dataTestId = '', columns, isLoading, hasError, isActionsVisible = false, totalCount = 0, emptyTitle, emptySubTitle, emptyIllustration, withSelect = false, withBorder = true, defaultPageIndex, defaultPageSize, defaultHiddenColumns, collapsibleRows = false, renderExpandedContent, renderHeader, renderFooter, onSortChange, onRowClick, tableSettings, onRowSelection, onColumnSizing, onPaginationChange }) {
35
35
  const [expandedRows, setExpandedRows] = useState(new Set());
36
36
  const handleToggleRow = useCallback((rowId) => {
37
37
  setExpandedRows((prev) => {
@@ -52,7 +52,7 @@ export function Table({ data, dataId = '', columns, isLoading, hasError, isActio
52
52
  size: 50,
53
53
  minSize: 50,
54
54
  maxSize: 50,
55
- cell: ({ row }) => (_jsx(ExpandColumn, { row: row, expandedRows: expandedRows, onToggle: handleToggleRow, dataId: dataId })),
55
+ cell: ({ row }) => (_jsx(ExpandColumn, { row: row, expandedRows: expandedRows, onToggle: handleToggleRow, dataTestId: dataTestId })),
56
56
  meta: {
57
57
  enableHiding: false,
58
58
  enableColumnDragging: false,
@@ -61,10 +61,10 @@ export function Table({ data, dataId = '', columns, isLoading, hasError, isActio
61
61
  headerVisible: false,
62
62
  enableSorting: false
63
63
  }
64
- }), [expandedRows, handleToggleRow, dataId]);
64
+ }), [expandedRows, handleToggleRow, dataTestId]);
65
65
  const { table, sensors, handleDragStart, handleDragEnd, handleDragCancel, activeHeader } = useTableControl({
66
66
  data,
67
- dataId,
67
+ dataTestId,
68
68
  tableSettings,
69
69
  columns: collapsibleRows ? [expandColumn, ...columns] : columns,
70
70
  withSelect,
@@ -101,26 +101,26 @@ export function Table({ data, dataId = '', columns, isLoading, hasError, isActio
101
101
  const skeletonRowSize = useMemo(() => {
102
102
  return Array.from({ length: table.getState().pagination.pageSize });
103
103
  }, [table.getState().pagination.pageSize]);
104
- return (_jsxs("div", { "data-id": dataId, className: classnames('advanced-table', {
104
+ return (_jsxs("div", { "data-test-id": dataTestId, className: classnames('advanced-table', {
105
105
  'with-border': withBorder
106
- }), children: [header, _jsx("div", { className: classnames('advanced-table__inner scrollbar scrollbar--horizontal scrollbar--vertical'), children: _jsxs(DndContext, { sensors: sensors, collisionDetection: closestCenter, onDragStart: handleDragStart, onDragEnd: handleDragEnd, onDragCancel: handleDragCancel, children: [_jsx("div", { children: _jsx("table", { style: tableStyle, children: !isLoading && (!(data === null || data === void 0 ? void 0 : data.length) || hasError) ? (_jsx(Empty, { mainMessage: emptyTitle, paragraphMessage: emptySubTitle, illustration: emptyIllustration, dataId: dataId ? `${dataId}-empty` : '' })) : (_jsxs(_Fragment, { children: [_jsx("thead", { className: classnames('advanced-table__thead'), children: table.getHeaderGroups().map((headerGroup) => (_jsx("tr", { children: _jsx(SortableContext, { items: headerGroup.headers.map((header) => header.id), strategy: horizontalListSortingStrategy, children: headerGroup.headers.map((header) => {
106
+ }), children: [header, _jsx("div", { className: classnames('advanced-table__inner scrollbar scrollbar--horizontal scrollbar--vertical'), children: _jsxs(DndContext, { sensors: sensors, collisionDetection: closestCenter, onDragStart: handleDragStart, onDragEnd: handleDragEnd, onDragCancel: handleDragCancel, children: [_jsx("div", { children: _jsx("table", { style: tableStyle, children: !isLoading && (!(data === null || data === void 0 ? void 0 : data.length) || hasError) ? (_jsx(Empty, { mainMessage: emptyTitle, paragraphMessage: emptySubTitle, illustration: emptyIllustration, dataTestId: dataTestId ? `${dataTestId}-empty` : '' })) : (_jsxs(_Fragment, { children: [_jsx("thead", { className: classnames('advanced-table__thead'), children: table.getHeaderGroups().map((headerGroup) => (_jsx("tr", { children: _jsx(SortableContext, { items: headerGroup.headers.map((header) => header.id), strategy: horizontalListSortingStrategy, children: headerGroup.headers.map((header) => {
107
107
  if (header.id === ColumnId.Actions && !isActionsVisible)
108
108
  return null;
109
- return (_jsx(ColumnHeader, { pinnedStyles: Object.assign({}, getCommonPinningStyles(header.column)), header: header, dataId: dataId }, header.id));
109
+ return (_jsx(ColumnHeader, { pinnedStyles: Object.assign({}, getCommonPinningStyles(header.column)), header: header, dataTestId: dataTestId }, header.id));
110
110
  }) }) }, headerGroup.id))) }), _jsx("tbody", { children: isLoading
111
- ? skeletonRowSize.map((_, i) => (_jsx("tr", { "data-id": dataId ? `${dataId}-loader-row-${i}` : '', children: table.getVisibleFlatColumns().map((column) => (_jsx("td", { className: classnames({
111
+ ? skeletonRowSize.map((_, i) => (_jsx("tr", { "data-test-id": dataTestId ? `${dataTestId}-loader-row-${i}` : '', children: table.getVisibleFlatColumns().map((column) => (_jsx("td", { className: classnames({
112
112
  'with-checkbox': column.id === ColumnId.Select,
113
113
  'pinned-cell': column.getIsPinned(),
114
114
  'action-column': column.id === ColumnId.Actions && !isActionsVisible
115
115
  }), style: Object.assign({}, getCommonPinningStyles(column)), children: _jsx(Skeleton, {}) }, column.id))) }, `skeleton-row-${i}`)))
116
- : table.getRowModel().rows.map((row) => (_jsxs(React.Fragment, { children: [_jsx("tr", { className: classnames({ selected: row.getIsSelected() }), "data-id": dataId ? `${dataId}-row-${row.index}` : '', children: row.getVisibleCells().map((cell) => (_jsx("td", { className: classnames({
116
+ : table.getRowModel().rows.map((row) => (_jsxs(React.Fragment, { children: [_jsx("tr", { className: classnames({ selected: row.getIsSelected() }), "data-test-id": dataTestId ? `${dataTestId}-row-${row.index}` : '', children: row.getVisibleCells().map((cell) => (_jsx("td", { className: classnames({
117
117
  'with-checkbox': cell.column.id === ColumnId.Select,
118
118
  'pinned-cell': cell.column.getIsPinned(),
119
119
  'action-column': cell.column.id === ColumnId.Actions && !isActionsVisible,
120
120
  'expand-column': cell.column.id === ColumnId.Expand
121
- }), id: cell.id, "data-id": dataId
122
- ? `${dataId}-row-${row.index}-cell-${cell.column.id}`
121
+ }), id: cell.id, "data-test-id": dataTestId
122
+ ? `${dataTestId}-row-${row.index}-cell-${cell.column.id}`
123
123
  : '', onClick: () => handleRowClick(cell.column, row), style: Object.assign({}, getCommonPinningStyles(cell.column)), children: cell.column.id === ColumnId.Actions && !isActionsVisible ? (_jsx("div", { className: classnames('actions-list__right'), children: flexRender(cell.column.columnDef.cell, cell.getContext()) })) : (flexRender(cell.column.columnDef.cell, cell.getContext())) }, cell.id))) }), collapsibleRows &&
124
124
  expandedRows.has(row.id) &&
125
- renderExpandedContent && (_jsx("tr", { className: classnames('advanced-table__expanded-row'), "data-id": dataId ? `${dataId}-row-${row.index}-expanded` : '', children: _jsx("td", { colSpan: row.getVisibleCells().length, children: renderExpandedContent(row) }) }))] }, row.id))) })] })) }) }), _jsx(DragOverlay, { dropAnimation: null, children: activeHeader && (_jsx("table", { style: { width: activeHeader.getSize() }, children: _jsx("thead", { children: _jsx("tr", { children: _jsx("th", { className: classnames('draggable-col'), style: { width: activeHeader.getSize() }, children: _jsx(Text, { weight: 'bold', children: flexRender(activeHeader.column.columnDef.header, activeHeader.getContext()) }) }) }) }) })) })] }) }), !!data.length && !hasError && footer] }));
125
+ renderExpandedContent && (_jsx("tr", { className: classnames('advanced-table__expanded-row'), "data-test-id": dataTestId ? `${dataTestId}-row-${row.index}-expanded` : '', children: _jsx("td", { colSpan: row.getVisibleCells().length, children: renderExpandedContent(row) }) }))] }, row.id))) })] })) }) }), _jsx(DragOverlay, { dropAnimation: null, children: activeHeader && (_jsx("table", { style: { width: activeHeader.getSize() }, children: _jsx("thead", { children: _jsx("tr", { children: _jsx("th", { className: classnames('draggable-col'), style: { width: activeHeader.getSize() }, children: _jsx(Text, { weight: 'bold', children: flexRender(activeHeader.column.columnDef.header, activeHeader.getContext()) }) }) }) }) })) })] }) }), !!data.length && !hasError && footer] }));
126
126
  }
@@ -1,6 +1,6 @@
1
1
  import type { DragEndEvent, DragStartEvent } from '@dnd-kit/core';
2
2
  import type { Column, TTableProps } from '../types';
3
- export declare function useTableControl<TData>({ withSelect, columns, data, dataId, tableSettings, totalCount, defaultPageSize, defaultPageIndex, defaultHiddenColumns, onSortChange, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): {
3
+ export declare function useTableControl<TData>({ withSelect, columns, data, dataTestId, tableSettings, totalCount, defaultPageSize, defaultPageIndex, defaultHiddenColumns, onSortChange, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): {
4
4
  table: import("@tanstack/react-table").Table<TData>;
5
5
  activeHeader: import("@tanstack/react-table").Header<TData, unknown> | null | undefined;
6
6
  sensors: import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
@@ -7,7 +7,7 @@ import { arrayMove } from '@dnd-kit/sortable';
7
7
  import { loadTableSettings } from '../loadTableSettings';
8
8
  import { useTableColumnSettings } from './useTableColumnSettings';
9
9
  import { STORAGE_TYPE, TABLE_NAME_PREFIX } from '../constants';
10
- export function useTableControl({ withSelect, columns, data, dataId = '', tableSettings, totalCount = 0, defaultPageSize = 10, defaultPageIndex = 0, defaultHiddenColumns = [], onSortChange, onRowSelection, onColumnSizing, onPaginationChange }) {
10
+ export function useTableControl({ withSelect, columns, data, dataTestId = '', tableSettings, totalCount = 0, defaultPageSize = 10, defaultPageIndex = 0, defaultHiddenColumns = [], onSortChange, onRowSelection, onColumnSizing, onPaginationChange }) {
11
11
  var _a, _b;
12
12
  const shouldPersistToStorage = (tableSettings === null || tableSettings === void 0 ? void 0 : tableSettings.persistColumnSettings) === STORAGE_TYPE.LOCAL;
13
13
  const shouldEmitExternal = (tableSettings === null || tableSettings === void 0 ? void 0 : tableSettings.persistColumnSettings) === STORAGE_TYPE.EXTERNAL;
@@ -40,12 +40,12 @@ export function useTableControl({ withSelect, columns, data, dataId = '', tableS
40
40
  enableHiding: false,
41
41
  enableColumnDragging: false,
42
42
  enablePinning: true,
43
- header: ({ table }) => (_jsx(IndeterminateCheckbox, { checked: table.getIsAllRowsSelected(), indeterminate: table.getIsSomeRowsSelected(), onChange: table.getToggleAllRowsSelectedHandler(), dataId: dataId ? `${dataId}-select-all` : '' })),
44
- cell: ({ row }) => (_jsx(IndeterminateCheckbox, { checked: row.getIsSelected(), disabled: !row.getCanSelect(), indeterminate: row.getIsSomeSelected(), onChange: row.getToggleSelectedHandler(), dataId: dataId ? `${dataId}-row-${row.index}-select` : '' }))
43
+ header: ({ table }) => (_jsx(IndeterminateCheckbox, { checked: table.getIsAllRowsSelected(), indeterminate: table.getIsSomeRowsSelected(), onChange: table.getToggleAllRowsSelectedHandler(), dataTestId: dataTestId ? `${dataTestId}-select-all` : '' })),
44
+ cell: ({ row }) => (_jsx(IndeterminateCheckbox, { checked: row.getIsSelected(), disabled: !row.getCanSelect(), indeterminate: row.getIsSomeSelected(), onChange: row.getToggleSelectedHandler(), dataTestId: dataTestId ? `${dataTestId}-row-${row.index}-select` : '' }))
45
45
  });
46
46
  }
47
47
  return columnsList;
48
- }, [columns, dataId]);
48
+ }, [columns, dataTestId]);
49
49
  const [columnOrder, setColumnOrder] = useState(((_b = savedSettings.columnOrder) === null || _b === void 0 ? void 0 : _b.length) && savedSettings.columnOrder.length === memoizedColumns.length
50
50
  ? savedSettings.columnOrder
51
51
  : memoizedColumns.map((column) => column.id));
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import type { ColumnDef, ColumnSizingState, PaginationState, RowSelectionState, Table, Row } from '@tanstack/react-table';
2
3
  import type { ReactNode } from 'react';
3
4
  export type TTable<TData> = Table<TData>;
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import classNames from 'classnames';
3
3
  import { noop } from '../../utils/helpers';
4
4
  export const Text = (props) => {
5
- const { children, className = '', type = 'primary', size = 'standard', weight = 'regular', lineHeight = 'medium', as: As = 'p', dataId = '', onClick = noop, id = '', title } = props;
6
- return (_jsx(As, { id: id, title: title, "data-id": dataId, onClick: onClick, className: classNames('body', size && `body-${size}`, type && `color-${type}`, weight, lineHeight && `lh-${lineHeight}`, className), children: children }));
5
+ const { children, className = '', type = 'primary', size = 'standard', weight = 'regular', lineHeight = 'medium', as: As = 'p', dataTestId = '', onClick = noop, id = '', title } = props;
6
+ return (_jsx(As, { id: id, title: title, "data-test-id": dataTestId, onClick: onClick, className: classNames('body', size && `body-${size}`, type && `color-${type}`, weight, lineHeight && `lh-${lineHeight}`, className), children: children }));
7
7
  };
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ElementType, MouseEvent, ReactNode } from 'react';
2
3
  type TTextTypes = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse' | 'selected' | 'brand' | 'danger' | 'warning' | 'success' | 'information' | 'discovery';
3
4
  export type TTextSize = 'xxsmall' | 'xsmall' | 'small' | 'standard' | 'medium' | 'large' | 'xlarge';