hrm_ui_lib 2.1.0-alpha.20 → 2.1.0-alpha.21

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 (879) hide show
  1. package/assets/styles/styles.css +1 -1
  2. package/components/Alert/Alert.js +6 -5
  3. package/components/Alert/types.d.ts +1 -0
  4. package/components/Avatar/Avatar.d.ts +1 -1
  5. package/components/Avatar/Avatar.js +1 -1
  6. package/components/Avatar/AvatarGroup.d.ts +1 -1
  7. package/components/Avatar/AvatarGroup.js +3 -2
  8. package/components/Avatar/types.d.ts +2 -3
  9. package/components/Badge/Badge.js +2 -1
  10. package/components/Badge/types.d.ts +1 -0
  11. package/components/BadgeV2/BadgeV2.js +1 -1
  12. package/components/BadgeV2/types.d.ts +1 -1
  13. package/components/Breadcrumb/Breadcrumb.js +2 -1
  14. package/components/Breadcrumb/types.d.ts +1 -0
  15. package/components/Button/Button.js +2 -1
  16. package/components/Button/types.d.ts +2 -3
  17. package/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  18. package/components/ButtonGroup/ButtonGroup.js +2 -1
  19. package/components/ButtonGroup/ButtonGroupItem.d.ts +1 -1
  20. package/components/ButtonGroup/ButtonGroupItem.js +3 -2
  21. package/components/ButtonGroup/types.d.ts +2 -2
  22. package/components/Card/CardComponent/Card.js +3 -2
  23. package/components/Card/CardComponent/CardBody.js +2 -1
  24. package/components/Card/CardComponent/CardHead.js +2 -1
  25. package/components/Card/types.d.ts +2 -2
  26. package/components/CardGroup/CardGroupComponent/CardBody.js +2 -1
  27. package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -1
  28. package/components/CardGroup/CardGroupComponent/CardHead.js +2 -1
  29. package/components/CardGroup/types.d.ts +2 -2
  30. package/components/Checkbox/Checkbox.js +6 -5
  31. package/components/Checkbox/types.d.ts +1 -0
  32. package/components/Chips/Chips.js +2 -1
  33. package/components/Chips/types.d.ts +1 -2
  34. package/components/Collapse/Collapse/Collapse.js +4 -3
  35. package/components/Collapse/Collapse/Title.d.ts +2 -2
  36. package/components/Collapse/Collapse/Title.js +2 -1
  37. package/components/Collapse/CollapseGroup/CollapseGroup.js +3 -1
  38. package/components/Collapse/CollapseItem/CollapseItem.js +3 -2
  39. package/components/Collapse/types.d.ts +4 -6
  40. package/components/Container/Container.js +2 -1
  41. package/components/Container/types.d.ts +2 -1
  42. package/components/Copy/Copy.d.ts +1 -1
  43. package/components/Copy/Copy.js +3 -2
  44. package/components/Copy/types.d.ts +2 -2
  45. package/components/Counter/Counter.js +2 -1
  46. package/components/Counter/types.d.ts +1 -0
  47. package/components/DarkModeSwitcher/DarkModeSwitcher.d.ts +3 -4
  48. package/components/DarkModeSwitcher/DarkModeSwitcher.js +5 -5
  49. package/components/DarkModeSwitcher/types.d.ts +1 -0
  50. package/components/DatePicker/CustomHeader/CustomHeader.js +6 -5
  51. package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +3 -2
  52. package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +6 -5
  53. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +3 -2
  54. package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +4 -3
  55. package/components/DatePicker/TimePicker/MobileModalContent.js +2 -1
  56. package/components/DatePicker/TimePicker/TimePickerDesktop.js +4 -3
  57. package/components/DatePicker/TimePicker/TimePickerMobile.js +4 -3
  58. package/components/DatePicker/types.d.ts +3 -3
  59. package/components/Divider/Divider.js +2 -1
  60. package/components/Divider/types.d.ts +2 -1
  61. package/components/Empty/Empty.js +4 -3
  62. package/components/Empty/types.d.ts +2 -1
  63. package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +7 -6
  64. package/components/FileUpload/DropzoneFileUpload/ErrorItem.d.ts +2 -1
  65. package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +1 -1
  66. package/components/FileUpload/DropzoneFileUpload/PreviewItem.d.ts +2 -1
  67. package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +7 -6
  68. package/components/FileUpload/FileUpload.js +6 -5
  69. package/components/FileUpload/UploadItems.js +5 -3
  70. package/components/FileUpload/types.d.ts +5 -2
  71. package/components/FormContainer/FormContainer.js +1 -1
  72. package/components/FormContainer/types.d.ts +2 -1
  73. package/components/FormField/FormField.js +3 -1
  74. package/components/FormField/types.d.ts +2 -2
  75. package/components/Heading/Heading.js +2 -1
  76. package/components/Heading/types.d.ts +2 -2
  77. package/components/Image/Image.js +1 -1
  78. package/components/Image/types.d.ts +2 -1
  79. package/components/Input/Input.js +8 -7
  80. package/components/Input/types.d.ts +2 -1
  81. package/components/LineChart/LineChart.d.ts +1 -1
  82. package/components/LineChart/LineChart.js +9 -8
  83. package/components/LineChart/types.d.ts +2 -1
  84. package/components/Link/Link.js +2 -2
  85. package/components/Link/types.d.ts +2 -2
  86. package/components/Menu/Menu.js +1 -1
  87. package/components/Menu/NestedMenu.js +2 -1
  88. package/components/Menu/types.d.ts +2 -2
  89. package/components/Modal/ModalConfirmation.d.ts +1 -1
  90. package/components/Modal/ModalConfirmation.js +4 -4
  91. package/components/Modal/ModalContent.d.ts +7 -4
  92. package/components/Modal/ModalContent.js +7 -5
  93. package/components/Modal/types.d.ts +5 -2
  94. package/components/More/More.js +3 -1
  95. package/components/More/types.d.ts +2 -1
  96. package/components/MultiSelectV2/MultiSelectV2.d.ts +3 -0
  97. package/components/MultiSelectV2/MultiSelectV2.js +11 -0
  98. package/components/MultiSelectV2/index.d.ts +1 -0
  99. package/components/MultiSelectV2/index.js +1 -0
  100. package/components/MultiSelectV2/types.d.ts +30 -0
  101. package/components/MultiSelectV2/types.js +0 -0
  102. package/components/Pagination/Pagination.js +2 -1
  103. package/components/Pagination/types.d.ts +2 -1
  104. package/components/Popover/PopoverDesktop.js +1 -1
  105. package/components/Popover/PopoverMobile.js +3 -2
  106. package/components/Popover/types.d.ts +1 -0
  107. package/components/Progress/Progress.js +4 -3
  108. package/components/Progress/types.d.ts +2 -1
  109. package/components/ProgressStep/ProgressStep.js +2 -1
  110. package/components/ProgressStep/Step.js +9 -8
  111. package/components/ProgressStep/types.d.ts +3 -2
  112. package/components/Radio/Radio.js +4 -3
  113. package/components/Radio/RadioGroup.js +3 -2
  114. package/components/Radio/types.d.ts +3 -3
  115. package/components/SVGIcons/IconAdd.d.ts +1 -1
  116. package/components/SVGIcons/IconAdd.js +1 -1
  117. package/components/SVGIcons/IconAddCircle.d.ts +1 -1
  118. package/components/SVGIcons/IconAddCircle.js +1 -1
  119. package/components/SVGIcons/IconAddCircleFilled.d.ts +1 -1
  120. package/components/SVGIcons/IconAddCircleFilled.js +1 -1
  121. package/components/SVGIcons/IconAddFilled.d.ts +1 -1
  122. package/components/SVGIcons/IconAddFilled.js +1 -1
  123. package/components/SVGIcons/IconAirplaneTakeOff.d.ts +1 -1
  124. package/components/SVGIcons/IconAirplaneTakeOff.js +1 -1
  125. package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +1 -1
  126. package/components/SVGIcons/IconAirplaneTakeOffFilled.js +1 -1
  127. package/components/SVGIcons/IconAlert.d.ts +1 -1
  128. package/components/SVGIcons/IconAlert.js +1 -1
  129. package/components/SVGIcons/IconAlertBadge.d.ts +1 -1
  130. package/components/SVGIcons/IconAlertBadge.js +1 -1
  131. package/components/SVGIcons/IconAlertBadgeFilled.d.ts +1 -1
  132. package/components/SVGIcons/IconAlertBadgeFilled.js +1 -1
  133. package/components/SVGIcons/IconAlertFilled.d.ts +1 -1
  134. package/components/SVGIcons/IconAlertFilled.js +1 -1
  135. package/components/SVGIcons/IconAm.d.ts +1 -1
  136. package/components/SVGIcons/IconAm.js +1 -1
  137. package/components/SVGIcons/IconAmd.d.ts +1 -1
  138. package/components/SVGIcons/IconAmd.js +1 -1
  139. package/components/SVGIcons/IconAmdFilled.d.ts +1 -1
  140. package/components/SVGIcons/IconAmdFilled.js +1 -1
  141. package/components/SVGIcons/IconApple.d.ts +1 -1
  142. package/components/SVGIcons/IconApple.js +1 -1
  143. package/components/SVGIcons/IconArrowDown.d.ts +1 -1
  144. package/components/SVGIcons/IconArrowDown.js +1 -1
  145. package/components/SVGIcons/IconArrowDownFilled.d.ts +1 -1
  146. package/components/SVGIcons/IconArrowDownFilled.js +1 -1
  147. package/components/SVGIcons/IconArrowDownLeft.d.ts +1 -1
  148. package/components/SVGIcons/IconArrowDownLeft.js +1 -1
  149. package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +1 -1
  150. package/components/SVGIcons/IconArrowDownLeftFilled.js +1 -1
  151. package/components/SVGIcons/IconArrowDownload.d.ts +1 -1
  152. package/components/SVGIcons/IconArrowDownload.js +1 -1
  153. package/components/SVGIcons/IconArrowDownloadFilled.d.ts +1 -1
  154. package/components/SVGIcons/IconArrowDownloadFilled.js +1 -1
  155. package/components/SVGIcons/IconArrowEnter.d.ts +1 -1
  156. package/components/SVGIcons/IconArrowEnter.js +1 -1
  157. package/components/SVGIcons/IconArrowEnterFilled.d.ts +1 -1
  158. package/components/SVGIcons/IconArrowEnterFilled.js +1 -1
  159. package/components/SVGIcons/IconArrowExit.d.ts +1 -1
  160. package/components/SVGIcons/IconArrowExit.js +1 -1
  161. package/components/SVGIcons/IconArrowExitFilled.d.ts +1 -1
  162. package/components/SVGIcons/IconArrowExitFilled.js +1 -1
  163. package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +1 -1
  164. package/components/SVGIcons/IconArrowExportLeftToRight.js +1 -1
  165. package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +1 -1
  166. package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +1 -1
  167. package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +1 -1
  168. package/components/SVGIcons/IconArrowExportRightToLeft.js +1 -1
  169. package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +1 -1
  170. package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +1 -1
  171. package/components/SVGIcons/IconArrowExportUp.d.ts +1 -1
  172. package/components/SVGIcons/IconArrowExportUp.js +1 -1
  173. package/components/SVGIcons/IconArrowExportUpFilled.d.ts +1 -1
  174. package/components/SVGIcons/IconArrowExportUpFilled.js +1 -1
  175. package/components/SVGIcons/IconArrowImport.d.ts +1 -1
  176. package/components/SVGIcons/IconArrowImport.js +1 -1
  177. package/components/SVGIcons/IconArrowImportFilled.d.ts +1 -1
  178. package/components/SVGIcons/IconArrowImportFilled.js +1 -1
  179. package/components/SVGIcons/IconArrowLeft.d.ts +1 -1
  180. package/components/SVGIcons/IconArrowLeft.js +1 -1
  181. package/components/SVGIcons/IconArrowLeftFilled.d.ts +1 -1
  182. package/components/SVGIcons/IconArrowLeftFilled.js +1 -1
  183. package/components/SVGIcons/IconArrowRepeatAll.d.ts +1 -1
  184. package/components/SVGIcons/IconArrowRepeatAll.js +1 -1
  185. package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +1 -1
  186. package/components/SVGIcons/IconArrowRepeatAllFilled.js +1 -1
  187. package/components/SVGIcons/IconArrowReset.d.ts +1 -1
  188. package/components/SVGIcons/IconArrowReset.js +1 -1
  189. package/components/SVGIcons/IconArrowResetFilled.d.ts +1 -1
  190. package/components/SVGIcons/IconArrowResetFilled.js +1 -1
  191. package/components/SVGIcons/IconArrowRight.d.ts +1 -1
  192. package/components/SVGIcons/IconArrowRight.js +1 -1
  193. package/components/SVGIcons/IconArrowRightFilled.d.ts +1 -1
  194. package/components/SVGIcons/IconArrowRightFilled.js +1 -1
  195. package/components/SVGIcons/IconArrowSort.d.ts +1 -1
  196. package/components/SVGIcons/IconArrowSort.js +1 -1
  197. package/components/SVGIcons/IconArrowSortFilled.d.ts +1 -1
  198. package/components/SVGIcons/IconArrowSortFilled.js +1 -1
  199. package/components/SVGIcons/IconArrowSync.d.ts +1 -1
  200. package/components/SVGIcons/IconArrowSync.js +1 -1
  201. package/components/SVGIcons/IconArrowSyncFilled.d.ts +1 -1
  202. package/components/SVGIcons/IconArrowSyncFilled.js +1 -1
  203. package/components/SVGIcons/IconArrowUp.d.ts +1 -1
  204. package/components/SVGIcons/IconArrowUp.js +1 -1
  205. package/components/SVGIcons/IconArrowUpFilled.d.ts +1 -1
  206. package/components/SVGIcons/IconArrowUpFilled.js +1 -1
  207. package/components/SVGIcons/IconArrowUpLeft.d.ts +1 -1
  208. package/components/SVGIcons/IconArrowUpLeft.js +1 -1
  209. package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +1 -1
  210. package/components/SVGIcons/IconArrowUpLeftFilled.js +1 -1
  211. package/components/SVGIcons/IconArrowUpRight.d.ts +1 -1
  212. package/components/SVGIcons/IconArrowUpRight.js +1 -1
  213. package/components/SVGIcons/IconArrowUpRightFilled.d.ts +1 -1
  214. package/components/SVGIcons/IconArrowUpRightFilled.js +1 -1
  215. package/components/SVGIcons/IconAttach.d.ts +1 -1
  216. package/components/SVGIcons/IconAttach.js +1 -1
  217. package/components/SVGIcons/IconAttachFilled.d.ts +1 -1
  218. package/components/SVGIcons/IconAttachFilled.js +1 -1
  219. package/components/SVGIcons/IconBeach.d.ts +1 -1
  220. package/components/SVGIcons/IconBeach.js +1 -1
  221. package/components/SVGIcons/IconBeachFilled.d.ts +1 -1
  222. package/components/SVGIcons/IconBeachFilled.js +1 -1
  223. package/components/SVGIcons/IconBedDouble.d.ts +4 -0
  224. package/components/SVGIcons/IconBedDouble.js +5 -0
  225. package/components/SVGIcons/IconBook.d.ts +1 -1
  226. package/components/SVGIcons/IconBook.js +1 -1
  227. package/components/SVGIcons/IconBookFilled.d.ts +1 -1
  228. package/components/SVGIcons/IconBookFilled.js +1 -1
  229. package/components/SVGIcons/IconBookmark.d.ts +1 -1
  230. package/components/SVGIcons/IconBookmark.js +1 -1
  231. package/components/SVGIcons/IconBookmarkFilled.d.ts +1 -1
  232. package/components/SVGIcons/IconBookmarkFilled.js +1 -1
  233. package/components/SVGIcons/IconBriefcase.d.ts +1 -1
  234. package/components/SVGIcons/IconBriefcase.js +1 -1
  235. package/components/SVGIcons/IconBriefcaseFilled.d.ts +1 -1
  236. package/components/SVGIcons/IconBriefcaseFilled.js +1 -1
  237. package/components/SVGIcons/IconBudgetTransfer.d.ts +1 -1
  238. package/components/SVGIcons/IconBudgetTransfer.js +1 -1
  239. package/components/SVGIcons/IconBuilding.d.ts +1 -1
  240. package/components/SVGIcons/IconBuilding.js +1 -1
  241. package/components/SVGIcons/IconBuildingBank.d.ts +1 -1
  242. package/components/SVGIcons/IconBuildingBank.js +1 -1
  243. package/components/SVGIcons/IconBuildingBankFilled.d.ts +1 -1
  244. package/components/SVGIcons/IconBuildingBankFilled.js +1 -1
  245. package/components/SVGIcons/IconBuildingFilled.d.ts +1 -1
  246. package/components/SVGIcons/IconBuildingFilled.js +1 -1
  247. package/components/SVGIcons/IconBulletListAdd.d.ts +1 -1
  248. package/components/SVGIcons/IconBulletListAdd.js +1 -1
  249. package/components/SVGIcons/IconBulletListAddFilled.d.ts +1 -1
  250. package/components/SVGIcons/IconBulletListAddFilled.js +1 -1
  251. package/components/SVGIcons/IconCalculator.d.ts +1 -1
  252. package/components/SVGIcons/IconCalculator.js +1 -1
  253. package/components/SVGIcons/IconCalculatorFilled.d.ts +1 -1
  254. package/components/SVGIcons/IconCalculatorFilled.js +1 -1
  255. package/components/SVGIcons/IconCalendarClock.d.ts +1 -1
  256. package/components/SVGIcons/IconCalendarClock.js +1 -1
  257. package/components/SVGIcons/IconCalendarClockFilled.d.ts +1 -1
  258. package/components/SVGIcons/IconCalendarClockFilled.js +1 -1
  259. package/components/SVGIcons/IconCalendarDay.d.ts +1 -1
  260. package/components/SVGIcons/IconCalendarDay.js +1 -1
  261. package/components/SVGIcons/IconCalendarDayFilled.d.ts +1 -1
  262. package/components/SVGIcons/IconCalendarDayFilled.js +1 -1
  263. package/components/SVGIcons/IconCalendarDays.d.ts +4 -0
  264. package/components/SVGIcons/IconCalendarDays.js +11 -0
  265. package/components/SVGIcons/IconCalendarEmpty.d.ts +1 -1
  266. package/components/SVGIcons/IconCalendarEmpty.js +1 -1
  267. package/components/SVGIcons/IconCalendarLeft.d.ts +1 -1
  268. package/components/SVGIcons/IconCalendarLeft.js +1 -1
  269. package/components/SVGIcons/IconCalendarLeftFilled.d.ts +1 -1
  270. package/components/SVGIcons/IconCalendarLeftFilled.js +1 -1
  271. package/components/SVGIcons/IconCalendarRight.d.ts +1 -1
  272. package/components/SVGIcons/IconCalendarRight.js +1 -1
  273. package/components/SVGIcons/IconCalendarRightFilled.d.ts +1 -1
  274. package/components/SVGIcons/IconCalendarRightFilled.js +1 -1
  275. package/components/SVGIcons/IconCall.d.ts +1 -1
  276. package/components/SVGIcons/IconCall.js +1 -1
  277. package/components/SVGIcons/IconCallFilled.d.ts +1 -1
  278. package/components/SVGIcons/IconCallFilled.js +1 -1
  279. package/components/SVGIcons/IconCar.d.ts +4 -0
  280. package/components/SVGIcons/IconCar.js +5 -0
  281. package/components/SVGIcons/IconCard.d.ts +1 -1
  282. package/components/SVGIcons/IconCard.js +1 -1
  283. package/components/SVGIcons/IconCardFilled.d.ts +1 -1
  284. package/components/SVGIcons/IconCardFilled.js +1 -1
  285. package/components/SVGIcons/IconCaretDown.d.ts +1 -1
  286. package/components/SVGIcons/IconCaretDown.js +1 -1
  287. package/components/SVGIcons/IconCaretDownFilled.d.ts +1 -1
  288. package/components/SVGIcons/IconCaretDownFilled.js +1 -1
  289. package/components/SVGIcons/IconCaretDownRight.d.ts +1 -1
  290. package/components/SVGIcons/IconCaretDownRight.js +1 -1
  291. package/components/SVGIcons/IconCaretDownRightFilled.d.ts +1 -1
  292. package/components/SVGIcons/IconCaretDownRightFilled.js +1 -1
  293. package/components/SVGIcons/IconCaretLeft.d.ts +1 -1
  294. package/components/SVGIcons/IconCaretLeft.js +1 -1
  295. package/components/SVGIcons/IconCaretLeftFilled.d.ts +1 -1
  296. package/components/SVGIcons/IconCaretLeftFilled.js +1 -1
  297. package/components/SVGIcons/IconCaretRight.d.ts +1 -1
  298. package/components/SVGIcons/IconCaretRight.js +1 -1
  299. package/components/SVGIcons/IconCaretRightFilled.d.ts +1 -1
  300. package/components/SVGIcons/IconCaretRightFilled.js +1 -1
  301. package/components/SVGIcons/IconCaretUp.d.ts +1 -1
  302. package/components/SVGIcons/IconCaretUp.js +1 -1
  303. package/components/SVGIcons/IconCaretUpFilled.d.ts +1 -1
  304. package/components/SVGIcons/IconCaretUpFilled.js +1 -1
  305. package/components/SVGIcons/IconChartPerson.d.ts +1 -1
  306. package/components/SVGIcons/IconChartPerson.js +1 -1
  307. package/components/SVGIcons/IconChartPersonFilled.d.ts +1 -1
  308. package/components/SVGIcons/IconChartPersonFilled.js +1 -1
  309. package/components/SVGIcons/IconChat.d.ts +1 -1
  310. package/components/SVGIcons/IconChat.js +1 -1
  311. package/components/SVGIcons/IconChatFilled.d.ts +1 -1
  312. package/components/SVGIcons/IconChatFilled.js +1 -1
  313. package/components/SVGIcons/IconChatMultiple.d.ts +1 -1
  314. package/components/SVGIcons/IconChatMultiple.js +1 -1
  315. package/components/SVGIcons/IconChatMultipleFilled.d.ts +1 -1
  316. package/components/SVGIcons/IconChatMultipleFilled.js +1 -1
  317. package/components/SVGIcons/IconCheckboxArrowRight.d.ts +1 -1
  318. package/components/SVGIcons/IconCheckboxArrowRight.js +1 -1
  319. package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +1 -1
  320. package/components/SVGIcons/IconCheckboxArrowRightFilled.js +1 -1
  321. package/components/SVGIcons/IconCheckmark.d.ts +1 -1
  322. package/components/SVGIcons/IconCheckmark.js +1 -1
  323. package/components/SVGIcons/IconCheckmarkCircle.d.ts +1 -1
  324. package/components/SVGIcons/IconCheckmarkCircle.js +1 -1
  325. package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +1 -1
  326. package/components/SVGIcons/IconCheckmarkCircleFilled.js +1 -1
  327. package/components/SVGIcons/IconCheckmarkFilled.d.ts +1 -1
  328. package/components/SVGIcons/IconCheckmarkFilled.js +1 -1
  329. package/components/SVGIcons/IconChevronDoubleLeft.d.ts +1 -1
  330. package/components/SVGIcons/IconChevronDoubleLeft.js +1 -1
  331. package/components/SVGIcons/IconChevronDoubleRight.d.ts +1 -1
  332. package/components/SVGIcons/IconChevronDoubleRight.js +1 -1
  333. package/components/SVGIcons/IconChevronDown.d.ts +1 -1
  334. package/components/SVGIcons/IconChevronDown.js +1 -1
  335. package/components/SVGIcons/IconChevronDownFilled.d.ts +1 -1
  336. package/components/SVGIcons/IconChevronDownFilled.js +1 -1
  337. package/components/SVGIcons/IconChevronLeft.d.ts +1 -1
  338. package/components/SVGIcons/IconChevronLeft.js +1 -1
  339. package/components/SVGIcons/IconChevronLeftFilled.d.ts +1 -1
  340. package/components/SVGIcons/IconChevronLeftFilled.js +1 -1
  341. package/components/SVGIcons/IconChevronRight.d.ts +1 -1
  342. package/components/SVGIcons/IconChevronRight.js +1 -1
  343. package/components/SVGIcons/IconChevronRightFilled.d.ts +1 -1
  344. package/components/SVGIcons/IconChevronRightFilled.js +1 -1
  345. package/components/SVGIcons/IconChevronUp.d.ts +1 -1
  346. package/components/SVGIcons/IconChevronUp.js +1 -1
  347. package/components/SVGIcons/IconChevronUpDown.d.ts +1 -1
  348. package/components/SVGIcons/IconChevronUpDown.js +1 -1
  349. package/components/SVGIcons/IconChevronUpDownFilled.d.ts +1 -1
  350. package/components/SVGIcons/IconChevronUpDownFilled.js +1 -1
  351. package/components/SVGIcons/IconChevronUpFilled.d.ts +1 -1
  352. package/components/SVGIcons/IconChevronUpFilled.js +1 -1
  353. package/components/SVGIcons/IconClipboardDay.d.ts +1 -1
  354. package/components/SVGIcons/IconClipboardDay.js +1 -1
  355. package/components/SVGIcons/IconClock.d.ts +1 -1
  356. package/components/SVGIcons/IconClock.js +1 -1
  357. package/components/SVGIcons/IconClockDismiss.d.ts +1 -1
  358. package/components/SVGIcons/IconClockDismiss.js +1 -1
  359. package/components/SVGIcons/IconClockDismissFilled.d.ts +1 -1
  360. package/components/SVGIcons/IconClockDismissFilled.js +1 -1
  361. package/components/SVGIcons/IconClockFilled.d.ts +1 -1
  362. package/components/SVGIcons/IconClockFilled.js +1 -1
  363. package/components/SVGIcons/IconCode.d.ts +4 -0
  364. package/components/SVGIcons/IconCode.js +4 -0
  365. package/components/SVGIcons/IconCoins.d.ts +4 -0
  366. package/components/SVGIcons/IconCoins.js +5 -0
  367. package/components/SVGIcons/IconComment.d.ts +1 -1
  368. package/components/SVGIcons/IconComment.js +1 -1
  369. package/components/SVGIcons/IconCommentFilled.d.ts +1 -1
  370. package/components/SVGIcons/IconCommentFilled.js +1 -1
  371. package/components/SVGIcons/IconContractCard.d.ts +1 -1
  372. package/components/SVGIcons/IconContractCard.js +1 -1
  373. package/components/SVGIcons/IconContractCardFilled.d.ts +1 -1
  374. package/components/SVGIcons/IconContractCardFilled.js +1 -1
  375. package/components/SVGIcons/IconCopy.d.ts +1 -1
  376. package/components/SVGIcons/IconCopy.js +1 -1
  377. package/components/SVGIcons/IconCopyFilled.d.ts +1 -1
  378. package/components/SVGIcons/IconCopyFilled.js +1 -1
  379. package/components/SVGIcons/IconCubeTree.d.ts +1 -1
  380. package/components/SVGIcons/IconCubeTree.js +1 -1
  381. package/components/SVGIcons/IconCubeTreeFilled.d.ts +1 -1
  382. package/components/SVGIcons/IconCubeTreeFilled.js +1 -1
  383. package/components/SVGIcons/IconDatabase.d.ts +1 -1
  384. package/components/SVGIcons/IconDatabase.js +1 -1
  385. package/components/SVGIcons/IconDatabaseFilled.d.ts +1 -1
  386. package/components/SVGIcons/IconDatabaseFilled.js +1 -1
  387. package/components/SVGIcons/IconDelete.d.ts +1 -1
  388. package/components/SVGIcons/IconDelete.js +1 -1
  389. package/components/SVGIcons/IconDeleteFilled.d.ts +1 -1
  390. package/components/SVGIcons/IconDeleteFilled.js +1 -1
  391. package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +1 -1
  392. package/components/SVGIcons/IconDeviceMeetingRoom.js +1 -1
  393. package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +1 -1
  394. package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +1 -1
  395. package/components/SVGIcons/IconDismiss.d.ts +1 -1
  396. package/components/SVGIcons/IconDismiss.js +1 -1
  397. package/components/SVGIcons/IconDismissCircle.d.ts +1 -1
  398. package/components/SVGIcons/IconDismissCircle.js +1 -1
  399. package/components/SVGIcons/IconDismissCircleFilled.d.ts +1 -1
  400. package/components/SVGIcons/IconDismissCircleFilled.js +1 -1
  401. package/components/SVGIcons/IconDismissFilled.d.ts +1 -1
  402. package/components/SVGIcons/IconDismissFilled.js +1 -1
  403. package/components/SVGIcons/IconDocument.d.ts +1 -1
  404. package/components/SVGIcons/IconDocument.js +1 -1
  405. package/components/SVGIcons/IconDocumentBulletList.d.ts +1 -1
  406. package/components/SVGIcons/IconDocumentBulletList.js +1 -1
  407. package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +1 -1
  408. package/components/SVGIcons/IconDocumentBulletListFilled.js +1 -1
  409. package/components/SVGIcons/IconDocumentEdit.d.ts +1 -1
  410. package/components/SVGIcons/IconDocumentEdit.js +1 -1
  411. package/components/SVGIcons/IconDocumentEditFilled.d.ts +1 -1
  412. package/components/SVGIcons/IconDocumentEditFilled.js +1 -1
  413. package/components/SVGIcons/IconDocumentFilled.d.ts +1 -1
  414. package/components/SVGIcons/IconDocumentFilled.js +1 -1
  415. package/components/SVGIcons/IconDocumentPerson.d.ts +1 -1
  416. package/components/SVGIcons/IconDocumentPerson.js +1 -1
  417. package/components/SVGIcons/IconDownload.d.ts +4 -0
  418. package/components/SVGIcons/IconDownload.js +4 -0
  419. package/components/SVGIcons/IconEdit.d.ts +1 -1
  420. package/components/SVGIcons/IconEdit.js +1 -1
  421. package/components/SVGIcons/IconEditFilled.d.ts +1 -1
  422. package/components/SVGIcons/IconEditFilled.js +1 -1
  423. package/components/SVGIcons/IconErrorCircle.d.ts +1 -1
  424. package/components/SVGIcons/IconErrorCircle.js +1 -1
  425. package/components/SVGIcons/IconErrorCircleFilled.d.ts +1 -1
  426. package/components/SVGIcons/IconErrorCircleFilled.js +1 -1
  427. package/components/SVGIcons/IconEur.d.ts +1 -1
  428. package/components/SVGIcons/IconEur.js +1 -1
  429. package/components/SVGIcons/IconEurFilled.d.ts +1 -1
  430. package/components/SVGIcons/IconEurFilled.js +1 -1
  431. package/components/SVGIcons/IconExpandUpLeft.d.ts +1 -1
  432. package/components/SVGIcons/IconExpandUpLeft.js +1 -1
  433. package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +1 -1
  434. package/components/SVGIcons/IconExpandUpLeftFilled.js +1 -1
  435. package/components/SVGIcons/IconExpandUpRight.d.ts +1 -1
  436. package/components/SVGIcons/IconExpandUpRight.js +1 -1
  437. package/components/SVGIcons/IconExpandUpRightFilled.d.ts +1 -1
  438. package/components/SVGIcons/IconExpandUpRightFilled.js +1 -1
  439. package/components/SVGIcons/IconEyeOff.d.ts +1 -1
  440. package/components/SVGIcons/IconEyeOff.js +1 -1
  441. package/components/SVGIcons/IconEyeOffFilled.d.ts +1 -1
  442. package/components/SVGIcons/IconEyeOffFilled.js +1 -1
  443. package/components/SVGIcons/IconEyeOn.d.ts +1 -1
  444. package/components/SVGIcons/IconEyeOn.js +1 -1
  445. package/components/SVGIcons/IconEyeOnFilled.d.ts +1 -1
  446. package/components/SVGIcons/IconEyeOnFilled.js +1 -1
  447. package/components/SVGIcons/IconFacebook.d.ts +1 -1
  448. package/components/SVGIcons/IconFacebook.js +1 -1
  449. package/components/SVGIcons/IconFastAcceleration.d.ts +1 -1
  450. package/components/SVGIcons/IconFastAcceleration.js +1 -1
  451. package/components/SVGIcons/IconFastAccelerationFilled.d.ts +1 -1
  452. package/components/SVGIcons/IconFastAccelerationFilled.js +1 -1
  453. package/components/SVGIcons/IconFeed.d.ts +1 -1
  454. package/components/SVGIcons/IconFeed.js +1 -1
  455. package/components/SVGIcons/IconFeedFilled.d.ts +1 -1
  456. package/components/SVGIcons/IconFeedFilled.js +1 -1
  457. package/components/SVGIcons/IconFilter.d.ts +1 -1
  458. package/components/SVGIcons/IconFilter.js +1 -1
  459. package/components/SVGIcons/IconFilterFilled.d.ts +1 -1
  460. package/components/SVGIcons/IconFilterFilled.js +1 -1
  461. package/components/SVGIcons/IconFlag.d.ts +1 -1
  462. package/components/SVGIcons/IconFlag.js +1 -1
  463. package/components/SVGIcons/IconFlagFilled.d.ts +1 -1
  464. package/components/SVGIcons/IconFlagFilled.js +1 -1
  465. package/components/SVGIcons/IconFolderLink.d.ts +1 -1
  466. package/components/SVGIcons/IconFolderLink.js +1 -1
  467. package/components/SVGIcons/IconFolderLinkFilled.d.ts +1 -1
  468. package/components/SVGIcons/IconFolderLinkFilled.js +1 -1
  469. package/components/SVGIcons/IconFood.d.ts +1 -1
  470. package/components/SVGIcons/IconFood.js +1 -1
  471. package/components/SVGIcons/IconFoodFilled.d.ts +1 -1
  472. package/components/SVGIcons/IconFoodFilled.js +1 -1
  473. package/components/SVGIcons/IconGb.d.ts +1 -1
  474. package/components/SVGIcons/IconGb.js +1 -1
  475. package/components/SVGIcons/IconGlobe.d.ts +1 -1
  476. package/components/SVGIcons/IconGlobe.js +1 -1
  477. package/components/SVGIcons/IconGlobeFilled.d.ts +1 -1
  478. package/components/SVGIcons/IconGlobeFilled.js +1 -1
  479. package/components/SVGIcons/IconGoogle.d.ts +1 -1
  480. package/components/SVGIcons/IconGoogle.js +1 -1
  481. package/components/SVGIcons/IconHandOpenHeart.d.ts +1 -1
  482. package/components/SVGIcons/IconHandOpenHeart.js +1 -1
  483. package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +1 -1
  484. package/components/SVGIcons/IconHandOpenHeartFilled.js +1 -1
  485. package/components/SVGIcons/IconHeart.d.ts +1 -1
  486. package/components/SVGIcons/IconHeart.js +1 -1
  487. package/components/SVGIcons/IconHeartFilled.d.ts +1 -1
  488. package/components/SVGIcons/IconHeartFilled.js +1 -1
  489. package/components/SVGIcons/IconHistory.d.ts +1 -1
  490. package/components/SVGIcons/IconHistory.js +1 -1
  491. package/components/SVGIcons/IconHistoryFilled.d.ts +1 -1
  492. package/components/SVGIcons/IconHistoryFilled.js +1 -1
  493. package/components/SVGIcons/IconHome.d.ts +1 -1
  494. package/components/SVGIcons/IconHome.js +1 -1
  495. package/components/SVGIcons/IconHomeFilled.d.ts +1 -1
  496. package/components/SVGIcons/IconHomeFilled.js +1 -1
  497. package/components/SVGIcons/IconImage.d.ts +1 -1
  498. package/components/SVGIcons/IconImage.js +1 -1
  499. package/components/SVGIcons/IconImageFilled.d.ts +1 -1
  500. package/components/SVGIcons/IconImageFilled.js +1 -1
  501. package/components/SVGIcons/IconInfo.d.ts +1 -1
  502. package/components/SVGIcons/IconInfo.js +1 -1
  503. package/components/SVGIcons/IconInfoFilled.d.ts +1 -1
  504. package/components/SVGIcons/IconInfoFilled.js +1 -1
  505. package/components/SVGIcons/IconInstagram.d.ts +1 -1
  506. package/components/SVGIcons/IconInstagram.js +1 -1
  507. package/components/SVGIcons/IconKeyReset.d.ts +1 -1
  508. package/components/SVGIcons/IconKeyReset.js +1 -1
  509. package/components/SVGIcons/IconKeyResetFilled.d.ts +1 -1
  510. package/components/SVGIcons/IconKeyResetFilled.js +1 -1
  511. package/components/SVGIcons/IconLayers.d.ts +4 -0
  512. package/components/SVGIcons/IconLayers.js +4 -0
  513. package/components/SVGIcons/IconLayoutGrid.d.ts +4 -0
  514. package/components/SVGIcons/IconLayoutGrid.js +5 -0
  515. package/components/SVGIcons/IconLayoutList.d.ts +4 -0
  516. package/components/SVGIcons/IconLayoutList.js +3 -0
  517. package/components/SVGIcons/IconLibrary.d.ts +1 -1
  518. package/components/SVGIcons/IconLibrary.js +1 -1
  519. package/components/SVGIcons/IconLibraryFilled.d.ts +1 -1
  520. package/components/SVGIcons/IconLibraryFilled.js +1 -1
  521. package/components/SVGIcons/IconLink.d.ts +1 -1
  522. package/components/SVGIcons/IconLink.js +1 -1
  523. package/components/SVGIcons/IconLinkFilled.d.ts +1 -1
  524. package/components/SVGIcons/IconLinkFilled.js +1 -1
  525. package/components/SVGIcons/IconLinkedin.d.ts +1 -1
  526. package/components/SVGIcons/IconLinkedin.js +1 -1
  527. package/components/SVGIcons/IconList.d.ts +1 -1
  528. package/components/SVGIcons/IconList.js +1 -1
  529. package/components/SVGIcons/IconListFilled.d.ts +1 -1
  530. package/components/SVGIcons/IconListFilled.js +1 -1
  531. package/components/SVGIcons/IconLocation.d.ts +1 -1
  532. package/components/SVGIcons/IconLocation.js +1 -1
  533. package/components/SVGIcons/IconLocationFilled.d.ts +1 -1
  534. package/components/SVGIcons/IconLocationFilled.js +1 -1
  535. package/components/SVGIcons/IconLockClosed.d.ts +1 -1
  536. package/components/SVGIcons/IconLockClosed.js +1 -1
  537. package/components/SVGIcons/IconLockClosedFilled.d.ts +1 -1
  538. package/components/SVGIcons/IconLockClosedFilled.js +1 -1
  539. package/components/SVGIcons/IconLockOpen.d.ts +1 -1
  540. package/components/SVGIcons/IconLockOpen.js +1 -1
  541. package/components/SVGIcons/IconLockOpenFilled.d.ts +1 -1
  542. package/components/SVGIcons/IconLockOpenFilled.js +1 -1
  543. package/components/SVGIcons/IconMail.d.ts +1 -1
  544. package/components/SVGIcons/IconMail.js +1 -1
  545. package/components/SVGIcons/IconMailAdd.d.ts +1 -1
  546. package/components/SVGIcons/IconMailAdd.js +1 -1
  547. package/components/SVGIcons/IconMailAddFilled.d.ts +1 -1
  548. package/components/SVGIcons/IconMailAddFilled.js +1 -1
  549. package/components/SVGIcons/IconMailArrowForward.d.ts +1 -1
  550. package/components/SVGIcons/IconMailArrowForward.js +1 -1
  551. package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +1 -1
  552. package/components/SVGIcons/IconMailArrowForwardFilled.js +1 -1
  553. package/components/SVGIcons/IconMailFilled.d.ts +1 -1
  554. package/components/SVGIcons/IconMailFilled.js +1 -1
  555. package/components/SVGIcons/IconMailLink.d.ts +1 -1
  556. package/components/SVGIcons/IconMailLink.js +1 -1
  557. package/components/SVGIcons/IconMailLinkFilled.d.ts +1 -1
  558. package/components/SVGIcons/IconMailLinkFilled.js +1 -1
  559. package/components/SVGIcons/IconMedium.d.ts +1 -1
  560. package/components/SVGIcons/IconMedium.js +1 -1
  561. package/components/SVGIcons/IconMoon.d.ts +1 -1
  562. package/components/SVGIcons/IconMoon.js +1 -1
  563. package/components/SVGIcons/IconMore.d.ts +1 -1
  564. package/components/SVGIcons/IconMore.js +1 -1
  565. package/components/SVGIcons/IconMoreFilled.d.ts +1 -1
  566. package/components/SVGIcons/IconMoreFilled.js +1 -1
  567. package/components/SVGIcons/IconMoreVertical.d.ts +1 -1
  568. package/components/SVGIcons/IconMoreVertical.js +1 -1
  569. package/components/SVGIcons/IconMoreVerticalFilled.d.ts +1 -1
  570. package/components/SVGIcons/IconMoreVerticalFilled.js +1 -1
  571. package/components/SVGIcons/IconNavigation.d.ts +1 -1
  572. package/components/SVGIcons/IconNavigation.js +1 -1
  573. package/components/SVGIcons/IconNavigationFilled.d.ts +1 -1
  574. package/components/SVGIcons/IconNavigationFilled.js +1 -1
  575. package/components/SVGIcons/IconNotebook.d.ts +1 -1
  576. package/components/SVGIcons/IconNotebook.js +1 -1
  577. package/components/SVGIcons/IconNotebookAdd.d.ts +1 -1
  578. package/components/SVGIcons/IconNotebookAdd.js +1 -1
  579. package/components/SVGIcons/IconNotebookAddFilled.d.ts +1 -1
  580. package/components/SVGIcons/IconNotebookAddFilled.js +1 -1
  581. package/components/SVGIcons/IconNotebookFilled.d.ts +1 -1
  582. package/components/SVGIcons/IconNotebookFilled.js +1 -1
  583. package/components/SVGIcons/IconOnlyEmployee.d.ts +1 -1
  584. package/components/SVGIcons/IconOnlyEmployee.js +1 -1
  585. package/components/SVGIcons/IconOpen.d.ts +1 -1
  586. package/components/SVGIcons/IconOpen.js +1 -1
  587. package/components/SVGIcons/IconOpenFilled.d.ts +1 -1
  588. package/components/SVGIcons/IconOpenFilled.js +1 -1
  589. package/components/SVGIcons/IconPatient.d.ts +1 -1
  590. package/components/SVGIcons/IconPatient.js +1 -1
  591. package/components/SVGIcons/IconPatientFilled.d.ts +1 -1
  592. package/components/SVGIcons/IconPatientFilled.js +1 -1
  593. package/components/SVGIcons/IconPeople.d.ts +1 -1
  594. package/components/SVGIcons/IconPeople.js +1 -1
  595. package/components/SVGIcons/IconPeopleAdd.d.ts +1 -1
  596. package/components/SVGIcons/IconPeopleAdd.js +1 -1
  597. package/components/SVGIcons/IconPeopleAddFilled.d.ts +1 -1
  598. package/components/SVGIcons/IconPeopleAddFilled.js +1 -1
  599. package/components/SVGIcons/IconPeopleFilled.d.ts +1 -1
  600. package/components/SVGIcons/IconPeopleFilled.js +1 -1
  601. package/components/SVGIcons/IconPeopleList.d.ts +1 -1
  602. package/components/SVGIcons/IconPeopleList.js +1 -1
  603. package/components/SVGIcons/IconPeopleListFilled.d.ts +1 -1
  604. package/components/SVGIcons/IconPeopleListFilled.js +1 -1
  605. package/components/SVGIcons/IconPeopleTeam.d.ts +1 -1
  606. package/components/SVGIcons/IconPeopleTeam.js +1 -1
  607. package/components/SVGIcons/IconPeopleTeamFilled.d.ts +1 -1
  608. package/components/SVGIcons/IconPeopleTeamFilled.js +1 -1
  609. package/components/SVGIcons/IconPercent.d.ts +1 -1
  610. package/components/SVGIcons/IconPercent.js +1 -1
  611. package/components/SVGIcons/IconPerson.d.ts +1 -1
  612. package/components/SVGIcons/IconPerson.js +1 -1
  613. package/components/SVGIcons/IconPersonAccount.d.ts +1 -1
  614. package/components/SVGIcons/IconPersonAccount.js +1 -1
  615. package/components/SVGIcons/IconPersonAccountFilled.d.ts +1 -1
  616. package/components/SVGIcons/IconPersonAccountFilled.js +1 -1
  617. package/components/SVGIcons/IconPersonAdd.d.ts +1 -1
  618. package/components/SVGIcons/IconPersonAdd.js +1 -1
  619. package/components/SVGIcons/IconPersonAddFilled.d.ts +1 -1
  620. package/components/SVGIcons/IconPersonAddFilled.js +1 -1
  621. package/components/SVGIcons/IconPersonArrowLeft.d.ts +1 -1
  622. package/components/SVGIcons/IconPersonArrowLeft.js +1 -1
  623. package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +1 -1
  624. package/components/SVGIcons/IconPersonArrowLeftFilled.js +1 -1
  625. package/components/SVGIcons/IconPersonArrowRight.d.ts +1 -1
  626. package/components/SVGIcons/IconPersonArrowRight.js +1 -1
  627. package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +1 -1
  628. package/components/SVGIcons/IconPersonArrowRightFilled.js +1 -1
  629. package/components/SVGIcons/IconPersonBoard.d.ts +1 -1
  630. package/components/SVGIcons/IconPersonBoard.js +1 -1
  631. package/components/SVGIcons/IconPersonFilled.d.ts +1 -1
  632. package/components/SVGIcons/IconPersonFilled.js +1 -1
  633. package/components/SVGIcons/IconPersonMinus.d.ts +1 -1
  634. package/components/SVGIcons/IconPersonMinus.js +1 -1
  635. package/components/SVGIcons/IconPersonStar.d.ts +1 -1
  636. package/components/SVGIcons/IconPersonStar.js +1 -1
  637. package/components/SVGIcons/IconPersonStarFilled.d.ts +1 -1
  638. package/components/SVGIcons/IconPersonStarFilled.js +1 -1
  639. package/components/SVGIcons/IconPersonSubtract.d.ts +1 -1
  640. package/components/SVGIcons/IconPersonSubtract.js +1 -1
  641. package/components/SVGIcons/IconPersonSubtractFilled.d.ts +1 -1
  642. package/components/SVGIcons/IconPersonSubtractFilled.js +1 -1
  643. package/components/SVGIcons/IconPhone.d.ts +1 -1
  644. package/components/SVGIcons/IconPhone.js +1 -1
  645. package/components/SVGIcons/IconPhoneFilled.d.ts +1 -1
  646. package/components/SVGIcons/IconPhoneFilled.js +1 -1
  647. package/components/SVGIcons/IconPlane.d.ts +4 -0
  648. package/components/SVGIcons/IconPlane.js +1 -0
  649. package/components/SVGIcons/IconPlugConnected.d.ts +1 -1
  650. package/components/SVGIcons/IconPlugConnected.js +1 -1
  651. package/components/SVGIcons/IconPos.d.ts +1 -1
  652. package/components/SVGIcons/IconPos.js +1 -1
  653. package/components/SVGIcons/IconPosFilled.d.ts +1 -1
  654. package/components/SVGIcons/IconPosFilled.js +1 -1
  655. package/components/SVGIcons/IconProhibited.d.ts +1 -1
  656. package/components/SVGIcons/IconProhibited.js +1 -1
  657. package/components/SVGIcons/IconProhibitedFilled.d.ts +1 -1
  658. package/components/SVGIcons/IconProhibitedFilled.js +1 -1
  659. package/components/SVGIcons/IconProjectProduct.d.ts +1 -1
  660. package/components/SVGIcons/IconProjectProduct.js +1 -1
  661. package/components/SVGIcons/IconQuestion.d.ts +1 -1
  662. package/components/SVGIcons/IconQuestion.js +1 -1
  663. package/components/SVGIcons/IconQuestionFilled.d.ts +1 -1
  664. package/components/SVGIcons/IconQuestionFilled.js +1 -1
  665. package/components/SVGIcons/IconRedo.d.ts +1 -1
  666. package/components/SVGIcons/IconRedo.js +1 -1
  667. package/components/SVGIcons/IconRedoFilled.d.ts +1 -1
  668. package/components/SVGIcons/IconRedoFilled.js +1 -1
  669. package/components/SVGIcons/IconRibbon.d.ts +1 -1
  670. package/components/SVGIcons/IconRibbon.js +1 -1
  671. package/components/SVGIcons/IconRu.d.ts +1 -1
  672. package/components/SVGIcons/IconRu.js +1 -1
  673. package/components/SVGIcons/IconRub.d.ts +1 -1
  674. package/components/SVGIcons/IconRub.js +1 -1
  675. package/components/SVGIcons/IconRubFilled.d.ts +1 -1
  676. package/components/SVGIcons/IconRubFilled.js +1 -1
  677. package/components/SVGIcons/IconSave.d.ts +1 -1
  678. package/components/SVGIcons/IconSave.js +1 -1
  679. package/components/SVGIcons/IconSaveFilled.d.ts +1 -1
  680. package/components/SVGIcons/IconSaveFilled.js +1 -1
  681. package/components/SVGIcons/IconSavings.d.ts +1 -1
  682. package/components/SVGIcons/IconSavings.js +1 -1
  683. package/components/SVGIcons/IconSavingsFilled.d.ts +1 -1
  684. package/components/SVGIcons/IconSavingsFilled.js +1 -1
  685. package/components/SVGIcons/IconSearch.d.ts +1 -1
  686. package/components/SVGIcons/IconSearch.js +1 -1
  687. package/components/SVGIcons/IconSearchFilled.d.ts +1 -1
  688. package/components/SVGIcons/IconSearchFilled.js +1 -1
  689. package/components/SVGIcons/IconSelectAllOff.d.ts +1 -1
  690. package/components/SVGIcons/IconSelectAllOff.js +1 -1
  691. package/components/SVGIcons/IconSelectAllOffFilled.d.ts +1 -1
  692. package/components/SVGIcons/IconSelectAllOffFilled.js +1 -1
  693. package/components/SVGIcons/IconSelectAllOn.d.ts +1 -1
  694. package/components/SVGIcons/IconSelectAllOn.js +1 -1
  695. package/components/SVGIcons/IconSelectAllOnFilled.d.ts +1 -1
  696. package/components/SVGIcons/IconSelectAllOnFilled.js +1 -1
  697. package/components/SVGIcons/IconSend.d.ts +1 -1
  698. package/components/SVGIcons/IconSend.js +1 -1
  699. package/components/SVGIcons/IconSendFilled.d.ts +1 -1
  700. package/components/SVGIcons/IconSendFilled.js +1 -1
  701. package/components/SVGIcons/IconSettings.d.ts +1 -1
  702. package/components/SVGIcons/IconSettings.js +1 -1
  703. package/components/SVGIcons/IconSettingsFilled.d.ts +1 -1
  704. package/components/SVGIcons/IconSettingsFilled.js +1 -1
  705. package/components/SVGIcons/IconShare.d.ts +1 -1
  706. package/components/SVGIcons/IconShare.js +1 -1
  707. package/components/SVGIcons/IconShareAndroid.d.ts +1 -1
  708. package/components/SVGIcons/IconShareAndroid.js +1 -1
  709. package/components/SVGIcons/IconShareAndroidFilled.d.ts +1 -1
  710. package/components/SVGIcons/IconShareAndroidFilled.js +1 -1
  711. package/components/SVGIcons/IconShareFilled.d.ts +1 -1
  712. package/components/SVGIcons/IconShareFilled.js +1 -1
  713. package/components/SVGIcons/IconSignOut.d.ts +1 -1
  714. package/components/SVGIcons/IconSignOut.js +1 -1
  715. package/components/SVGIcons/IconSignOutFilled.d.ts +1 -1
  716. package/components/SVGIcons/IconSignOutFilled.js +1 -1
  717. package/components/SVGIcons/IconSpinner.d.ts +1 -1
  718. package/components/SVGIcons/IconSpinner.js +1 -1
  719. package/components/SVGIcons/IconSpinnerFilled.d.ts +1 -1
  720. package/components/SVGIcons/IconSpinnerFilled.js +1 -1
  721. package/components/SVGIcons/IconStatus.d.ts +1 -1
  722. package/components/SVGIcons/IconStatus.js +1 -1
  723. package/components/SVGIcons/IconStatusFilled.d.ts +1 -1
  724. package/components/SVGIcons/IconStatusFilled.js +1 -1
  725. package/components/SVGIcons/IconSubtract.d.ts +1 -1
  726. package/components/SVGIcons/IconSubtract.js +1 -1
  727. package/components/SVGIcons/IconSubtractCircle.d.ts +1 -1
  728. package/components/SVGIcons/IconSubtractCircle.js +1 -1
  729. package/components/SVGIcons/IconSubtractCircleFilled.d.ts +1 -1
  730. package/components/SVGIcons/IconSubtractCircleFilled.js +1 -1
  731. package/components/SVGIcons/IconSubtractFilled.d.ts +1 -1
  732. package/components/SVGIcons/IconSubtractFilled.js +1 -1
  733. package/components/SVGIcons/IconSun.d.ts +1 -1
  734. package/components/SVGIcons/IconSun.js +10 -10
  735. package/components/SVGIcons/IconTableCellEdit.d.ts +1 -1
  736. package/components/SVGIcons/IconTableCellEdit.js +1 -1
  737. package/components/SVGIcons/IconTableCellEditFilled.d.ts +1 -1
  738. package/components/SVGIcons/IconTableCellEditFilled.js +1 -1
  739. package/components/SVGIcons/IconTelegram.d.ts +1 -1
  740. package/components/SVGIcons/IconTelegram.js +1 -1
  741. package/components/SVGIcons/IconTimer.d.ts +1 -1
  742. package/components/SVGIcons/IconTimer.js +1 -1
  743. package/components/SVGIcons/IconTimerFilled.d.ts +1 -1
  744. package/components/SVGIcons/IconTimerFilled.js +1 -1
  745. package/components/SVGIcons/IconTrophy.d.ts +1 -1
  746. package/components/SVGIcons/IconTrophy.js +1 -1
  747. package/components/SVGIcons/IconTrophyFilled.d.ts +1 -1
  748. package/components/SVGIcons/IconTrophyFilled.js +1 -1
  749. package/components/SVGIcons/IconTwitter.d.ts +1 -1
  750. package/components/SVGIcons/IconTwitter.js +1 -1
  751. package/components/SVGIcons/IconUndo.d.ts +1 -1
  752. package/components/SVGIcons/IconUndo.js +1 -1
  753. package/components/SVGIcons/IconUndoFilled.d.ts +1 -1
  754. package/components/SVGIcons/IconUndoFilled.js +1 -1
  755. package/components/SVGIcons/IconUnitsEmployee.d.ts +1 -1
  756. package/components/SVGIcons/IconUnitsEmployee.js +1 -1
  757. package/components/SVGIcons/IconUpload.d.ts +1 -1
  758. package/components/SVGIcons/IconUpload.js +1 -1
  759. package/components/SVGIcons/IconUpload2.d.ts +4 -0
  760. package/components/SVGIcons/IconUpload2.js +4 -0
  761. package/components/SVGIcons/IconUs.d.ts +1 -1
  762. package/components/SVGIcons/IconUs.js +1 -1
  763. package/components/SVGIcons/IconUsd.d.ts +1 -1
  764. package/components/SVGIcons/IconUsd.js +1 -1
  765. package/components/SVGIcons/IconUsdFilled.d.ts +1 -1
  766. package/components/SVGIcons/IconUsdFilled.js +1 -1
  767. package/components/SVGIcons/IconUserMinus.d.ts +1 -1
  768. package/components/SVGIcons/IconUserMinus.js +1 -1
  769. package/components/SVGIcons/IconUsers.d.ts +4 -0
  770. package/components/SVGIcons/IconUsers.js +4 -0
  771. package/components/SVGIcons/IconVacation.d.ts +1 -1
  772. package/components/SVGIcons/IconVacation.js +1 -1
  773. package/components/SVGIcons/IconVideo.d.ts +1 -1
  774. package/components/SVGIcons/IconVideo.js +1 -1
  775. package/components/SVGIcons/IconVideoFilled.d.ts +1 -1
  776. package/components/SVGIcons/IconVideoFilled.js +1 -1
  777. package/components/SVGIcons/IconWallet.d.ts +1 -1
  778. package/components/SVGIcons/IconWallet.js +1 -1
  779. package/components/SVGIcons/IconWalletFilled.d.ts +1 -1
  780. package/components/SVGIcons/IconWalletFilled.js +1 -1
  781. package/components/SVGIcons/IconWarning.d.ts +1 -1
  782. package/components/SVGIcons/IconWarning.js +1 -1
  783. package/components/SVGIcons/IconWarningFilled.d.ts +1 -1
  784. package/components/SVGIcons/IconWarningFilled.js +1 -1
  785. package/components/SVGIcons/IconYoutube.d.ts +1 -1
  786. package/components/SVGIcons/IconYoutube.js +1 -1
  787. package/components/Select/ButtonSelect/ButtonSelect.js +3 -1
  788. package/components/Select/FilterSelect/FilterDropdown.js +3 -1
  789. package/components/Select/FilterSelect/FilterGroupDropdown.js +2 -1
  790. package/components/Select/FilterSelect/FilterSelect.js +4 -4
  791. package/components/Select/MultiSelect/DesktopWrapper.d.ts +1 -0
  792. package/components/Select/MultiSelect/DesktopWrapper.js +1 -1
  793. package/components/Select/MultiSelect/MobileWrapper.d.ts +1 -0
  794. package/components/Select/MultiSelect/MobileWrapper.js +2 -1
  795. package/components/Select/MultiSelect/MultiBase/MultiBase.js +5 -3
  796. package/components/Select/MultiSelect/MultiSelect.js +3 -2
  797. package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +7 -4
  798. package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +7 -5
  799. package/components/Select/MultiSelect/OptionsWrapper.d.ts +1 -0
  800. package/components/Select/NestedSelect/NestedSelect.js +4 -3
  801. package/components/Select/ProfileDropdown/index.js +10 -10
  802. package/components/Select/Select/Select.js +1 -1
  803. package/components/Select/Select/SelectDesktop/index.js +2 -1
  804. package/components/Select/Select/SelectMobile/MobileTopContent.d.ts +2 -1
  805. package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -2
  806. package/components/Select/Select/SelectMobile/index.js +5 -3
  807. package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.d.ts +1 -1
  808. package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +2 -1
  809. package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +3 -3
  810. package/components/Select/SharedComponents/ContentTop.d.ts +2 -1
  811. package/components/Select/SharedComponents/ContentTop.js +3 -3
  812. package/components/Select/SharedComponents/Footer.js +6 -5
  813. package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -3
  814. package/components/Select/SharedComponents/Loading.js +2 -1
  815. package/components/Select/helper.d.ts +1 -0
  816. package/components/Select/helper.js +1 -0
  817. package/components/Select/types.d.ts +7 -6
  818. package/components/SideSheet/Footer/Footer.d.ts +2 -1
  819. package/components/SideSheet/Footer/Footer.js +5 -4
  820. package/components/SideSheet/SideSheet.js +8 -7
  821. package/components/SideSheet/types.d.ts +2 -1
  822. package/components/Skeleton/Skeleton.js +5 -4
  823. package/components/Skeleton/types.d.ts +2 -2
  824. package/components/Snackbar/Snackbar.js +3 -2
  825. package/components/Snackbar/types.d.ts +1 -0
  826. package/components/Status/Status.js +4 -3
  827. package/components/Status/types.d.ts +1 -2
  828. package/components/Stepper/Stepper.js +2 -1
  829. package/components/Stepper/types.d.ts +3 -2
  830. package/components/Switcher/Switcher.js +3 -2
  831. package/components/Switcher/types.d.ts +1 -0
  832. package/components/Tab/Tab.js +2 -1
  833. package/components/Tab/TabItem.js +3 -2
  834. package/components/Tab/types.d.ts +3 -4
  835. package/components/Table/Header.d.ts +3 -2
  836. package/components/Table/Header.js +4 -2
  837. package/components/Table/IndeterminateCheckbox.d.ts +3 -4
  838. package/components/Table/IndeterminateCheckbox.js +1 -1
  839. package/components/Table/Row.d.ts +3 -2
  840. package/components/Table/Row.js +3 -1
  841. package/components/Table/Table.d.ts +1 -1
  842. package/components/Table/Table.js +6 -5
  843. package/components/Table/types.d.ts +2 -1
  844. package/components/Table/utils.d.ts +1 -1
  845. package/components/Table/utils.js +3 -1
  846. package/components/TableV2/AdvancedPagination.d.ts +3 -2
  847. package/components/TableV2/AdvancedPagination.js +12 -12
  848. package/components/TableV2/ColumnHeader.d.ts +3 -2
  849. package/components/TableV2/ColumnHeader.js +6 -5
  850. package/components/TableV2/ColumnSettings.js +4 -2
  851. package/components/TableV2/IndeterminateCheckbox.d.ts +3 -4
  852. package/components/TableV2/IndeterminateCheckbox.js +2 -2
  853. package/components/TableV2/Table.d.ts +1 -1
  854. package/components/TableV2/Table.js +8 -7
  855. package/components/TableV2/hooks/useTableControl.d.ts +1 -1
  856. package/components/TableV2/hooks/useTableControl.js +1 -1
  857. package/components/TableV2/types.d.ts +3 -2
  858. package/components/Text/Text.js +2 -1
  859. package/components/Text/types.d.ts +2 -2
  860. package/components/Textarea/Textarea.js +4 -3
  861. package/components/Textarea/types.d.ts +1 -0
  862. package/components/Tooltip/Tooltip.js +2 -2
  863. package/components/Tooltip/types.d.ts +1 -0
  864. package/components/UnderConstruction/UnderConstruction.js +6 -5
  865. package/components/UnderConstruction/types.d.ts +2 -1
  866. package/context/types.d.ts +1 -0
  867. package/helperComponents/ErrorMessage/ErrorMessage.d.ts +1 -1
  868. package/helperComponents/ErrorMessage/ErrorMessage.js +3 -3
  869. package/helperComponents/ErrorMessage/types.d.ts +1 -1
  870. package/helperComponents/Label/types.d.ts +1 -1
  871. package/helperComponents/Loader/Loader.js +2 -1
  872. package/helperComponents/OptionItem/OptionItem.js +2 -2
  873. package/helperComponents/OptionItem/types.d.ts +1 -1
  874. package/package.json +1 -1
  875. package/type/base.d.ts +14 -0
  876. package/type/base.js +0 -0
  877. package/type/index.d.ts +1 -0
  878. package/type/svg-icons.d.ts +1 -1
  879. package/utils/helpers.d.ts +1 -1
@@ -1,5 +1,6 @@
1
- import{jsx as e,jsxs as i}from"react/jsx-runtime";import{TYPE_MAPPING as s,ICONS_MAPPING as N}from"./consts.js";import h from"classnames";import{Text as n}from"../Text/Text.js";import{Button as a}from"../Button/Button.js";import u from"../SVGIcons/IconDismissFilled.js";import{IconDynamicComponent as f}from"../../helperComponents/IconDynamicComponent/IconDynamicComponent.js";const C=t=>{const{buttonProps:o,type:l="information",position:r="inline",text:m,subtext:c,closeIcon:p,onClose:d,className:y=""}=t;/* @__PURE__ */return e("div",{className:h("alert",`alert--${l} alert--${r}`,y),children:/* @__PURE__ */i("div",{className:"alert__content",children:[
2
- /* @__PURE__ */e(f,{Component:N[l],size:"small",type:s[l]}),
3
- /* @__PURE__ */i("div",{className:"alert__text pl-8",children:[
4
- /* @__PURE__ */i("div",{children:[
5
- /* @__PURE__ */e(n,{type:"primary",size:"standard",weight:"regular",lineHeight:"large",children:m}),c?/* @__PURE__ */e(n,{className:"mt-4",type:"secondary",size:"small",weight:"regular",lineHeight:"large",children:c}):null]}),o?/* @__PURE__ */i("div",{className:"alert__actions",children:[o.confirm&&/* @__PURE__ */e(a,{size:"medium",type:"secondary",...o.confirm}),o.cancel&&/* @__PURE__ */e(a,{size:"medium",type:"tertiary",className:"ml-12",...o.cancel})]}):null]}),p?/* @__PURE__ */e(u,{type:s[l],size:"xsmall",className:"ml-12 pointer",onClick:d}):null]})})};export{C as Alert};
1
+ import{jsx as t,jsxs as l}from"react/jsx-runtime";import{TYPE_MAPPING as r,ICONS_MAPPING as y}from"./consts.js";import N from"classnames";import{Text as n}from"../Text/Text.js";import{Button as o}from"../Button/Button.js";import f from"../SVGIcons/IconDismissFilled.js";import{IconDynamicComponent as h}from"../../helperComponents/IconDynamicComponent/IconDynamicComponent.js";const v=e=>{const{buttonProps:s,type:a="information",position:i="inline",text:m,subtext:c,closeIcon:d,onClose:p,className:I="",dataTestId:u=""}=e;/* @__PURE__ */
2
+ return t("div",{className:N("alert",`alert--${a} alert--${i}`,I),"data-test-id":u,children:/* @__PURE__ */l("div",{className:"alert__content",children:[
3
+ /* @__PURE__ */t(h,{Component:y[a],size:"small",type:r[a],dataTestId:u?`${u}-icon`:""}),
4
+ /* @__PURE__ */l("div",{className:"alert__text pl-8",children:[
5
+ /* @__PURE__ */l("div",{children:[
6
+ /* @__PURE__ */t(n,{type:"primary",size:"standard",weight:"regular",lineHeight:"large",dataTestId:u?`${u}-text`:"",children:m}),c?/* @__PURE__ */t(n,{className:"mt-4",type:"secondary",size:"small",weight:"regular",lineHeight:"large",dataTestId:u?`${u}-subtext`:"",children:c}):null]}),s?/* @__PURE__ */l("div",{className:"alert__actions",children:[s.confirm&&/* @__PURE__ */t(o,{size:"medium",type:"secondary",dataTestId:u?`${u}-confirm`:"",...s.confirm}),s.cancel&&/* @__PURE__ */t(o,{size:"medium",type:"tertiary",className:"ml-12",dataTestId:u?`${u}-cancel`:"",...s.cancel})]}):null]}),d?/* @__PURE__ */t(f,{type:r[a],size:"xsmall",className:"ml-12 pointer",onClick:p,dataTestId:u?`${u}-close`:""}):null]})})};export{v as Alert};
@@ -1,3 +1,4 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  import { TButtonPropTypes } from '../Button/types';
2
3
  export type TAlertTypes = 'success' | 'error' | 'warning' | 'information' | 'discovery';
3
4
  export type TAlertPosition = 'inline' | 'sticky';
@@ -1,3 +1,3 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { TAvatarProps } from './types';
3
- export declare const Avatar: ({ dataId, id, color, size, type, imagePath, initials, className, isEditable, allowedTypes, onError, fileAllowedSize, onAvatarChange, onAvatarClick }: TAvatarProps) => ReactElement;
3
+ export declare const Avatar: ({ dataTestId, id, color, size, type, imagePath, initials, className, isEditable, allowedTypes, onError, fileAllowedSize, onAvatarChange, onAvatarClick }: TAvatarProps) => ReactElement;
@@ -1,2 +1,2 @@
1
- import{jsxs as x,jsx as o}from"react/jsx-runtime";import{useState as N,useEffect as k}from"react";import s from"classnames";import{FileUpload as w}from"../FileUpload/FileUpload.js";import"../FileUpload/DropzoneFileUpload/DropzoneFileUpload.js";import{FileUploadMode as I}from"../FileUpload/types.js";const S=({dataId:a,id:e,color:l="default",size:i="medium",type:t,imagePath:r="",initials:d="",className:p="",isEditable:m=!1,allowedTypes:n=".png, .jpg, .jpeg, image/jpeg, image/png, image/jpg",onError:c,fileAllowedSize:g,onAvatarChange:v,onAvatarClick:j})=>{const[u,f]=N(r),F={backgroundImage:u?`url(${u})`:"none"};return k(()=>{f(r)},[r]),/* @__PURE__ */x("div",{id:e,"data-id":a,className:s(`avatar avatar--${l} avatar--${t} avatar--${i}`,p,{"avatar--edit":m}),children:[
1
+ import{jsxs as x,jsx as o}from"react/jsx-runtime";import{useState as N,useEffect as k}from"react";import s from"classnames";import{FileUpload as w}from"../FileUpload/FileUpload.js";import"../FileUpload/DropzoneFileUpload/DropzoneFileUpload.js";import{FileUploadMode as I}from"../FileUpload/types.js";const S=({dataTestId:a,id:e,color:l="default",size:i="medium",type:t,imagePath:r="",initials:d="",className:p="",isEditable:m=!1,allowedTypes:n=".png, .jpg, .jpeg, image/jpeg, image/png, image/jpg",onError:c,fileAllowedSize:g,onAvatarChange:v,onAvatarClick:j})=>{const[u,f]=N(r),F={backgroundImage:u?`url(${u})`:"none"};return k(()=>{f(r)},[r]),/* @__PURE__ */x("div",{id:e,"data-test-id":a,className:s(`avatar avatar--${l} avatar--${t} avatar--${i}`,p,{"avatar--edit":m}),children:[
2
2
  /* @__PURE__ */o("div",{className:s({"avatar--image":u}),onClick:j,style:F}),u?null:d,m&&/* @__PURE__ */o(w,{onError:c,fileAllowedSize:g,multiple:!1,withFilePreview:!1,getFiles:a=>{a&&a[0]&&(f(URL.createObjectURL(a[0])),null==v||v(a[0]))},allowedTypes:n,mode:I.edit})]})};export{S as Avatar};
@@ -1,3 +1,3 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { TAvatarGroupProps } from './types';
3
- export declare const AvatarGroup: ({ avatarGroup, onAddUser, size, maxCount, dataId }: TAvatarGroupProps) => ReactElement;
3
+ export declare const AvatarGroup: ({ avatarGroup, onAddUser, size, maxCount, dataTestId }: TAvatarGroupProps) => ReactElement;
@@ -1,4 +1,5 @@
1
- import{jsxs as n,jsx as t}from"react/jsx-runtime";import{Tooltip as s}from"../Tooltip/Tooltip.js";import{Avatar as p}from"./Avatar.js";import"react";import{Positions as c}from"../Tooltip/types.js";import"../../consts/index.js";import"../../context/types.js";import{useScreenSize as _}from"../../hooks/useScreenSize.js";import"react-hook-form";import u from"classnames";import N from"../SVGIcons/IconAdd.js";const T={small:2,medium:4,large:6},R=({avatarGroup:a=[],onAddUser:o,size:i="medium",maxCount:r=0,dataId:e})=>{const m=_(),l=r||T[m],d=a.slice(0,l),v=a.length-l>0?a.length-l:0;/* @__PURE__ */return n("div",{className:u(`avatar-group avatar-group--${i}`),children:[d.map((a,o)=>/* @__PURE__ */n("div",{className:"avatar-group__item",children:[a.tooltipContent?/* @__PURE__ */t(s,{text:a.tooltipContent,id:`${o}`,position:c.TOP_CENTER}):null,
2
- /* @__PURE__ */t(p,{dataId:e,id:`${o}`,size:i,initials:a.initials,imagePath:a.imagePath})]},o)),v?/* @__PURE__ */n("div",{className:"avatar-group__item",children:[
1
+ import{jsxs as n,jsx as t}from"react/jsx-runtime";import{Tooltip as s}from"../Tooltip/Tooltip.js";import{Avatar as p}from"./Avatar.js";import"react";import{Positions as c}from"../Tooltip/types.js";import"../../consts/index.js";import"../../context/types.js";import{useScreenSize as _}from"../../hooks/useScreenSize.js";import"react-hook-form";import u from"classnames";import N from"../SVGIcons/IconAdd.js";const T={small:2,medium:4,large:6},R=({avatarGroup:a=[],onAddUser:o,size:i="medium",maxCount:e=0,dataTestId:r})=>{const m=_(),l=e||T[m],d=a.slice(0,l),v=a.length-l>0?a.length-l:0;/* @__PURE__ */
2
+ return n("div",{className:u(`avatar-group avatar-group--${i}`),children:[d.map((a,o)=>/* @__PURE__ */n("div",{className:"avatar-group__item",children:[a.tooltipContent?/* @__PURE__ */t(s,{text:a.tooltipContent,id:`${o}`,position:c.TOP_CENTER}):null,
3
+ /* @__PURE__ */t(p,{dataTestId:r,id:`${o}`,size:i,initials:a.initials,imagePath:a.imagePath})]},o)),v?/* @__PURE__ */n("div",{className:"avatar-group__item",children:[
3
4
  /* @__PURE__ */t(s,{text:"Name Surname",id:"amountTooltip",position:c.TOP_CENTER}),
4
5
  /* @__PURE__ */t(p,{type:"count",size:i,id:"amountTooltip",initials:`+${v}`})]}):null,o?/* @__PURE__ */t("div",{className:u(`avatar avatar-group__add avatar--${i}`),onClick:o,children:/* @__PURE__ */t(N,{type:"disabled",size:i})}):null]})};export{R as AvatarGroup};
@@ -1,9 +1,9 @@
1
+ import { IBaseProps, IFormCompProps } from '../../type';
1
2
  import { ReactElement } from 'react';
2
3
  import { FILE_UPLOAD_ERRORS } from '../../consts';
3
4
  export interface TAvatarProps extends IFormCompProps {
4
5
  allowedTypes?: string;
5
6
  id?: string;
6
- dataId?: string;
7
7
  imagePath?: string;
8
8
  initials?: string | ReactElement;
9
9
  color?: 'default' | 'purple' | 'blue' | 'green' | 'red';
@@ -17,8 +17,7 @@ export interface TAvatarProps extends IFormCompProps {
17
17
  fileAllowedSize?: number;
18
18
  onAvatarClick?: () => void;
19
19
  }
20
- export interface TAvatarGroupProps {
21
- dataId?: string;
20
+ export interface TAvatarGroupProps extends IBaseProps {
22
21
  avatarGroup: TAvatarProps[];
23
22
  onAddUser?: () => void;
24
23
  maxCount?: 0 | 2 | 4 | 6;
@@ -1 +1,2 @@
1
- import{jsx as e,Fragment as t}from"react/jsx-runtime";import{Text as l}from"../Text/Text.js";import n from"classnames";const p=a=>{const{type:r="primary",size:s="large",text:m,className:i=""}=a;/* @__PURE__ */return e("div",{className:n(`badge badge--${r} badge--${s}`,i),children:m?/* @__PURE__ */e(l,{size:"xsmall",type:"secondary"==r?"primary":"inverse",className:"badge__inner",children:/* @__PURE__ */e(t,{children:m})}):null})};export{p as Badge};
1
+ import{jsx as a,Fragment as m}from"react/jsx-runtime";import{Text as l}from"../Text/Text.js";import n from"classnames";const g=e=>{const{type:s="primary",size:t="large",text:r,className:d="",dataTestId:i=""}=e;/* @__PURE__ */
2
+ return a("div",{className:n(`badge badge--${s} badge--${t}`,d),"data-test-id":i,children:r?/* @__PURE__ */a(l,{size:"xsmall",type:"secondary"==s?"primary":"inverse",className:"badge__inner",dataTestId:i?`${i}-text`:"",children:/* @__PURE__ */a(m,{children:r})}):null})};export{g as Badge};
@@ -1,3 +1,4 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  export interface TBadgeProps extends IFormCompProps {
2
3
  text?: number | string;
3
4
  type?: 'primary' | 'secondary' | 'tertiary';
@@ -1 +1 @@
1
- import{jsx as s,jsxs as f}from"react/jsx-runtime";import u from"react";import{Text as y}from"../Text/Text.js";import{BadgeSize as z}from"./types.js";import l from"classnames";const j=e=>{const{type:t="blue",style:a="filled",size:i=z.large,text:d,className:o="",iconProps:m,withDot:r,dot:n,disabled:p}=e,{size:g="small",type:b,alignment:c="left"}=m??{},v=l(`badge-v2 badge-v2--${t} badge-v2--${a} badge-v2--${i}`,{"badge-v2--disabled":p},o);return n?/* @__PURE__ */s("div",{className:l(v,"badge-v2--dot")}):/* @__PURE__ */f("div",{className:v,children:[r?/* @__PURE__ */s("div",{className:l(v,"badge-v2--dot badge-v2--with-dot")}):null,!r&&m&&"left"===c?/* @__PURE__ */s(m.Component,{size:g,type:b}):null,"string"==typeof d||"number"==typeof d?/* @__PURE__ */s(y,{size:"xsmall",className:"badge-v2__inner",children:d}):u.isValidElement(d)?d:null,!r&&m&&"right"===c?/* @__PURE__ */s(m.Component,{size:g,type:b}):null]})};export{j as BadgeV2};
1
+ import{jsx as s,jsxs as u}from"react/jsx-runtime";import y from"react";import{Text as x}from"../Text/Text.js";import{BadgeSize as z}from"./types.js";import l from"classnames";const C=e=>{const{type:t="blue",style:a="filled",size:d=z.large,text:i,className:o="",iconProps:n,withDot:r,dot:m,disabled:g,dataTestId:p=""}=e,{size:c="small",type:b,alignment:v="left"}=n??{},f=l(`badge-v2 badge-v2--${t} badge-v2--${a} badge-v2--${d}`,{"badge-v2--disabled":g},o);return m?/* @__PURE__ */s("div",{className:l(f,"badge-v2--dot"),"data-test-id":p}):/* @__PURE__ */u("div",{className:f,"data-test-id":p,children:[r?/* @__PURE__ */s("div",{className:l(f,"badge-v2--dot badge-v2--with-dot"),"data-test-id":p?`${p}-dot`:""}):null,!r&&n&&"left"===v?/* @__PURE__ */s(n.Component,{size:c,type:b,dataTestId:p?`${p}-left-icon`:""}):null,"string"==typeof i||"number"==typeof i?/* @__PURE__ */s(x,{size:"xsmall",className:"badge-v2__inner",dataTestId:p?`${p}-text`:"",children:i}):y.isValidElement(i)?i:null,!r&&n&&"right"===v?/* @__PURE__ */s(n.Component,{size:c,type:b,dataTestId:p?`${p}-right-icon`:""}):null]})};export{C as BadgeV2};
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { TSVGIconType } from '../../type';
2
+ import { TSVGIconType, IFormCompProps } from '../../type';
3
3
  export interface TBadgeV2Props extends IFormCompProps {
4
4
  text?: number | string | ReactNode;
5
5
  type?: 'gray' | 'blue' | 'orange' | 'red' | 'green' | 'yellow' | 'purple' | 'sky' | 'pink' | 'teal';
@@ -1 +1,2 @@
1
- import{jsx as a}from"react/jsx-runtime";const u=e=>{const{selectedValue:r,breadCrumbItems:s,className:c="",onSelect:l}=e;/* @__PURE__ */return a("div",{className:`breadcrumb ${c}`,children:s.map(e=>/* @__PURE__ */a("span",{className:"breadcrumb__item",children:/* @__PURE__ */a("span",{className:"breadcrumb__item__inner "+(r===e.value?"selected":""),onClick:()=>l(e.value),children:e.label})},e.value))})};export{u as Breadcrumb};
1
+ import{jsx as r}from"react/jsx-runtime";const b=e=>{const{selectedValue:a,breadCrumbItems:s,className:t="",onSelect:c,dataTestId:d=""}=e;/* @__PURE__ */
2
+ return r("div",{className:`breadcrumb ${t}`,"data-test-id":d,children:s.map((e,s)=>/* @__PURE__ */r("span",{className:"breadcrumb__item",children:/* @__PURE__ */r("span",{className:"breadcrumb__item__inner "+(a===e.value?"selected":""),"data-test-id":d?`${d}-crumb-${s}`:"",onClick:()=>c(e.value),children:e.label})},e.value))})};export{b as Breadcrumb};
@@ -1,3 +1,4 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  export type TBreadCrumbItem = {
2
3
  value: number | string;
3
4
  label: string | React.ReactElement;
@@ -1 +1,2 @@
1
- import{jsx as e,jsxs as x,Fragment as C}from"react/jsx-runtime";import E from"classnames";import{Loader as T}from"../../helperComponents/Loader/Loader.js";import{LITE_LOADER_TYPES as g,ICON_TYPE_MAPPING as h,ICON_SIZE_MAPPING as A}from"./consts.js";const $=n=>{const{buttonText:t,type:s="primary",size:o="large",className:a="",iconProps:r,buttonActionType:l="button",disabled:i,pressed:d,isLoading:m,formId:p,dataId:c="",onClick:u,refHandler:b=null,children:f,..._}=n,I=!t&&!f&&void 0!==r;/* @__PURE__ */return e("button",{ref:b,"data-id":c,disabled:i,type:l,className:E("btn",`btn--${s}`,`btn--${o}`,{pressed:d,"btn--icon":I,[`btn--icon-${(null==r?void 0:r.alignment)||"left"}`]:!m&&!I&&(null==r?void 0:r.Component)},a),onClick:e=>{d||i||m?e.preventDefault():null==u||u(e)},form:p,..._,children:m?/* @__PURE__ */e(T,{size:o,type:-1===g.indexOf(s)?"dark":"lite"}):/* @__PURE__ */x(C,{children:[null!=r&&r.Component?/* @__PURE__ */e(r.Component,{size:A[r.size||o],type:h[r.type||s],className:"btn__icon"}):null,t||f?/* @__PURE__ */e("span",{className:"btn__text",children:t||f}):null]})})};export{$ as Button};
1
+ import{jsx as e,jsxs as x,Fragment as T}from"react/jsx-runtime";import C from"classnames";import{Loader as E}from"../../helperComponents/Loader/Loader.js";import{LITE_LOADER_TYPES as g,ICON_TYPE_MAPPING as h,ICON_SIZE_MAPPING as A}from"./consts.js";const $=n=>{const{buttonText:t,type:s="primary",size:o="large",className:a="",iconProps:r,buttonActionType:l="button",disabled:i,pressed:d,isLoading:m,formId:p,dataTestId:c="",onClick:u,refHandler:b=null,children:f,..._}=n,I=!t&&!f&&void 0!==r;/* @__PURE__ */
2
+ return e("button",{ref:b,"data-test-id":c,disabled:i,type:l,className:C("btn",`btn--${s}`,`btn--${o}`,{pressed:d,"btn--icon":I,[`btn--icon-${(null==r?void 0:r.alignment)||"left"}`]:!m&&!I&&(null==r?void 0:r.Component)},a),onClick:e=>{d||i||m?e.preventDefault():null==u||u(e)},form:p,..._,children:m?/* @__PURE__ */e(E,{size:o,type:-1===g.indexOf(s)?"dark":"lite"}):/* @__PURE__ */x(T,{children:[null!=r&&r.Component?/* @__PURE__ */e(r.Component,{size:A[r.size||o],type:h[r.type||s],className:"btn__icon"}):null,t||f?/* @__PURE__ */e("span",{className:"btn__text",children:t||f}):null]})})};export{$ as Button};
@@ -1,6 +1,6 @@
1
1
  import { ButtonHTMLAttributes, LegacyRef, PropsWithChildren, ReactElement } from 'react';
2
- import { TSVGIconType } from '../../type';
3
- export interface TButtonPropTypes extends PropsWithChildren<Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'children'>> {
2
+ import { TSVGIconType, IBaseProps } from '../../type';
3
+ export interface TButtonPropTypes extends PropsWithChildren<Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'children'>>, IBaseProps {
4
4
  id?: string;
5
5
  disabled?: boolean;
6
6
  pressed?: boolean;
@@ -18,6 +18,5 @@ export interface TButtonPropTypes extends PropsWithChildren<Omit<ButtonHTMLAttri
18
18
  };
19
19
  onClick?: (event: TClickEventType) => void;
20
20
  formId?: string;
21
- dataId?: string;
22
21
  refHandler?: LegacyRef<HTMLButtonElement> | undefined;
23
22
  }
@@ -1,2 +1,2 @@
1
1
  import { IButtonGroup } from './types';
2
- export declare const ButtonGroup: ({ buttons, activeIndex, className, type, size, disabled, onTabChange }: IButtonGroup) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ButtonGroup: ({ buttons, activeIndex, className, type, size, disabled, onTabChange, dataTestId }: IButtonGroup) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,2 @@
1
- import{jsx as i}from"react/jsx-runtime";import{useState as v}from"react";import I from"classnames";import{ButtonGroupItem as G}from"./ButtonGroupItem.js";const N=({buttons:t,activeIndex:o=0,className:e,type:s,size:r,disabled:a,onTabChange:n})=>{const[m,u]=v(o);/* @__PURE__ */return i("div",{className:I("button-group",e),children:t.map(t=>/* @__PURE__ */i(G,{...t,type:s,size:r,isActive:m===t.id,disabled:a,onClick:()=>(t=>{a||m===t||(u(t),null==n||n(t))})(t.id)},`buttonGroup_${t.id}`))})};export{N as ButtonGroup};
1
+ import{jsx as e}from"react/jsx-runtime";import{useState as I}from"react";import $ from"classnames";import{ButtonGroupItem as d}from"./ButtonGroupItem.js";const j=({buttons:t,activeIndex:s=0,className:a,type:o,size:i,disabled:r,onTabChange:n,dataTestId:m=""})=>{const[u,p]=I(s);/* @__PURE__ */
2
+ return e("div",{className:$("button-group",a),"data-test-id":m,children:t.map((t,s)=>/* @__PURE__ */e(d,{...t,type:o,size:i,isActive:u===t.id,disabled:r,dataTestId:m?`${m}-item-${s}`:"",onClick:()=>(t=>{r||u===t||(p(t),null==n||n(t))})(t.id)},`buttonGroup_${t.id}`))})};export{j as ButtonGroup};
@@ -1,2 +1,2 @@
1
1
  import { IButtonGroupItem } from './types';
2
- export declare const ButtonGroupItem: ({ buttonText, size, type, isActive, disabled, onClick, className, icons }: IButtonGroupItem) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ButtonGroupItem: ({ buttonText, size, type, isActive, disabled, onClick, className, icons, dataTestId }: IButtonGroupItem) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,3 @@
1
- import{jsxs as N,jsx as u}from"react/jsx-runtime";import{useMemo as P}from"react";import{Text as h}from"../Text/Text.js";import i from"classnames";import{ICON_SIZE_MAPPING as l,TEXT_SIZE_MAPPING as x}from"./consts.js";const M=({buttonText:t,size:e="medium",type:o="primary",isActive:s,disabled:n,onClick:r,className:m,icons:a})=>{var p,c;const d=P(()=>n?"disabled":s?"primary":"tertiary",[n,s]);/* @__PURE__ */return N("div",{className:i("button-group-item",`button-group-item__${o}`,`button-group-item__${e}`,{active:s,disabled:n},m),onClick:t=>{t.preventDefault(),t.stopPropagation(),null==r||r()},children:[null!=(p=null==a?void 0:a.left)&&p.Component?/* @__PURE__ */u(a.left.Component,{size:l[e],type:d}):null,
2
- /* @__PURE__ */u(h,{size:x[e],type:d,children:t}),null!=(c=null==a?void 0:a.right)&&c.Component?/* @__PURE__ */u(a.right.Component,{size:l[e],type:d}):null]})};export{M as ButtonGroupItem};
1
+ import{jsxs as x,jsx as n}from"react/jsx-runtime";import{useMemo as N}from"react";import{Text as P}from"../Text/Text.js";import $ from"classnames";import{ICON_SIZE_MAPPING as _,TEXT_SIZE_MAPPING as C}from"./consts.js";const j=({buttonText:t,size:e="medium",type:o="primary",isActive:s,disabled:i,onClick:a,className:r,icons:l,dataTestId:m=""})=>{var p,d;const u=N(()=>i?"disabled":s?"primary":"tertiary",[i,s]);/* @__PURE__ */
2
+ return x("div",{className:$("button-group-item",`button-group-item__${o}`,`button-group-item__${e}`,{active:s,disabled:i},r),"data-test-id":m,onClick:t=>{t.preventDefault(),t.stopPropagation(),null==a||a()},children:[null!=(p=null==l?void 0:l.left)&&p.Component?/* @__PURE__ */n(l.left.Component,{dataTestId:m?`${m}-left-icon`:"",size:_[e],type:u}):null,
3
+ /* @__PURE__ */n(P,{dataTestId:m?`${m}-text`:"",size:C[e],type:u,children:t}),null!=(d=null==l?void 0:l.right)&&d.Component?/* @__PURE__ */n(l.right.Component,{dataTestId:m?`${m}-right-icon`:"",size:_[e],type:u}):null]})};export{j as ButtonGroupItem};
@@ -1,5 +1,5 @@
1
- import { ISVGIconProps } from '../../type';
2
- interface IButtonGroupBase {
1
+ import { ISVGIconProps, IBaseProps } from '../../type';
2
+ interface IButtonGroupBase extends IBaseProps {
3
3
  type?: 'primary';
4
4
  size?: 'small' | 'medium' | 'large';
5
5
  disabled?: boolean;
@@ -1,2 +1,3 @@
1
- import{jsxs as p,jsx as e}from"react/jsx-runtime";import r from"classnames";import{useCardContext as x}from"../CardContext.js";import{generateDataTestId as _}from"../../../utils/helpers.js";const v=({children:a})=>{const{isExpanded:t,className:d,title:s,dataId:i,id:n,noBorder:c}=x(),{alignment:l,color:o,text:m}=s??{alignment:"left",color:"blue"};/* @__PURE__ */return p("div",{className:r("card",{"card--expanded":t,[`card--title--alignment--${l}`]:s,"card--noBorder":c},d),id:`${n||""}`,"data-id":_("card-item",i),children:[s&&/* @__PURE__ */e("div",{className:r("card__title",{[`card__title--${o}`]:o}),children:m}),
2
- /* @__PURE__ */e("div",{className:"card__content",children:a})]})};export{v as Card};
1
+ import{jsxs as p,jsx as a}from"react/jsx-runtime";import r from"classnames";import{useCardContext as x}from"../CardContext.js";import{generateDataTestId as _}from"../../../utils/helpers.js";const v=({children:e})=>{const{isExpanded:t,className:d,title:s,dataTestId:i,id:n,noBorder:c}=x(),{alignment:l,color:o,text:m}=s??{alignment:"left",color:"blue"};/* @__PURE__ */
2
+ return p("div",{className:r("card",{"card--expanded":t,[`card--title--alignment--${l}`]:s,"card--noBorder":c},d),id:`${n||""}`,"data-test-id":_("card-item",i),children:[s&&/* @__PURE__ */a("div",{className:r("card__title",{[`card__title--${o}`]:o}),children:m}),
3
+ /* @__PURE__ */a("div",{className:"card__content",children:e})]})};export{v as Card};
@@ -1 +1,2 @@
1
- import{jsx as i,jsxs as o}from"react/jsx-runtime";import{motion as n}from"motion/react";import{useCardContext as a}from"../CardContext.js";import{Divider as d}from"../../Divider/Divider.js";import{AnimatePresenceWrapper as m}from"../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js";const f=({children:e})=>{const{isExpanded:r,noDivider:t}=a();/* @__PURE__ */return i(m,{initial:!1,children:r&&/* @__PURE__ */i(n.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{type:"spring",duration:.5,bounce:0},children:/* @__PURE__ */o("div",{className:"card__content--body",children:[!t&&/* @__PURE__ */i(d,{type:"primary",isHorizontal:!0,className:"card__divider"}),e]})})})};export{f as CardBody};
1
+ import{jsx as i,jsxs as o}from"react/jsx-runtime";import{motion as n}from"motion/react";import{useCardContext as a}from"../CardContext.js";import{Divider as d}from"../../Divider/Divider.js";import{AnimatePresenceWrapper as m}from"../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js";const f=({children:e})=>{const{isExpanded:r,noDivider:t}=a();/* @__PURE__ */
2
+ return i(m,{initial:!1,children:r&&/* @__PURE__ */i(n.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{type:"spring",duration:.5,bounce:0},children:/* @__PURE__ */o("div",{className:"card__content--body",children:[!t&&/* @__PURE__ */i(d,{type:"primary",isHorizontal:!0,className:"card__divider"}),e]})})})};export{f as CardBody};
@@ -1 +1,2 @@
1
- import{jsxs as s,jsx as a}from"react/jsx-runtime";import{useCallback as i}from"react";import{useCardContext as p}from"../CardContext.js";import d from"classnames";import{noop as l}from"../../../utils/helpers.js";import{Button as x}from"../../Button/Button.js";import h from"../../SVGIcons/IconChevronDown.js";import f from"../../SVGIcons/IconChevronRight.js";const I=({children:e})=>{const{toggleIsExpanded:o,onExpand:n,isExpandable:r,isExpanded:t}=p(),c=i(()=>{o&&o(e=>(n&&n(!e),!e))},[]);/* @__PURE__ */return s("div",{className:d("card__content--header",{"card__content--header--expandable":r}),onClick:r?c:l,children:[e,r&&/* @__PURE__ */a("div",{className:"card__content--header--expand",children:/* @__PURE__ */a(x,{iconProps:{Component:t?h:f},className:d({"card__content--header--expand--icon":t}),type:"tertiary",size:"medium"})})]})};export{I as CardHead};
1
+ import{jsxs as s,jsx as a}from"react/jsx-runtime";import{useCallback as i}from"react";import{useCardContext as p}from"../CardContext.js";import d from"classnames";import{noop as l}from"../../../utils/helpers.js";import{Button as x}from"../../Button/Button.js";import h from"../../SVGIcons/IconChevronDown.js";import f from"../../SVGIcons/IconChevronRight.js";const I=({children:e})=>{const{toggleIsExpanded:o,onExpand:n,isExpandable:r,isExpanded:t}=p(),c=i(()=>{o&&o(e=>(n&&n(!e),!e))},[]);/* @__PURE__ */
2
+ return s("div",{className:d("card__content--header",{"card__content--header--expandable":r}),onClick:r?c:l,children:[e,r&&/* @__PURE__ */a("div",{className:"card__content--header--expand",children:/* @__PURE__ */a(x,{iconProps:{Component:t?h:f},className:d({"card__content--header--expand--icon":t}),type:"tertiary",size:"medium"})})]})};export{I as CardHead};
@@ -1,10 +1,11 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactNode } from 'react';
2
3
  export type TCardTitle = {
3
4
  alignment?: 'top' | 'bottom' | 'left' | 'right';
4
5
  text: string;
5
6
  color: 'blue' | 'purple' | 'yellow' | 'pink' | 'green' | 'grey';
6
7
  };
7
- export type TCardProps = {
8
+ export type TCardProps = IBaseProps & {
8
9
  title?: TCardTitle;
9
10
  isExpandable?: boolean;
10
11
  isExpanded?: boolean;
@@ -15,5 +16,4 @@ export type TCardProps = {
15
16
  children: ReactNode;
16
17
  className?: string;
17
18
  id?: string;
18
- dataId?: string;
19
19
  };
@@ -1 +1,2 @@
1
- import{jsxs as m,jsx as p}from"react/jsx-runtime";import{useMemo as e,useId as u}from"react";const d=({children:r})=>{const s=e(()=>Array.isArray(r),[r]),a=u();/* @__PURE__ */return m("div",{className:"card--group__content--body",children:[s&&(null==r?void 0:r.map((r,s)=>/* @__PURE__ */p("div",{className:"card--group__child",children:r},`${a}_${s}`))),!s&&r]})};export{d as CardGroupBody};
1
+ import{jsxs as m,jsx as p}from"react/jsx-runtime";import{useMemo as e,useId as u}from"react";const d=({children:r})=>{const s=e(()=>Array.isArray(r),[r]),a=u();/* @__PURE__ */
2
+ return m("div",{className:"card--group__content--body",children:[s&&(null==r?void 0:r.map((r,s)=>/* @__PURE__ */p("div",{className:"card--group__child",children:r},`${a}_${s}`))),!s&&r]})};export{d as CardGroupBody};
@@ -1 +1,2 @@
1
- import{jsx as r}from"react/jsx-runtime";import m from"classnames";import{generateDataTestId as n}from"../../../utils/helpers.js";import{useCardGroupContext as s}from"../CardGroupContext.js";const u=({children:t})=>{const{className:a,title:e,dataId:o,id:i}=s(),{alignment:d}=e??{alignment:"left"};/* @__PURE__ */return r("div",{className:m("card--group",{[`card--group--title--alignment--${d}`]:e},a),id:`${i||""}`,"data-id":n("card--group-item",o),children:/* @__PURE__ */r("div",{className:"card--group__content",children:t})})};export{u as CardGroup};
1
+ import{jsx as r}from"react/jsx-runtime";import i from"classnames";import{generateDataTestId as m}from"../../../utils/helpers.js";import{useCardGroupContext as n}from"../CardGroupContext.js";const u=({children:t})=>{const{className:a,title:e,dataTestId:s,id:o}=n(),{alignment:d}=e??{alignment:"left"};/* @__PURE__ */
2
+ return r("div",{className:i("card--group",{[`card--group--title--alignment--${d}`]:e},a),id:`${o||""}`,"data-test-id":m("card--group-item",s),children:/* @__PURE__ */r("div",{className:"card--group__content",children:t})})};export{u as CardGroup};
@@ -1,2 +1,3 @@
1
- import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useCardGroupContext as a}from"../CardGroupContext.js";import c from"classnames";const i=({children:r})=>{const{title:e}=a();/* @__PURE__ */return t("div",{className:"card--group__content--header",children:[e&&/* @__PURE__ */o("div",{className:c("card--group__title",{[`card--group__title--${e.color}`]:e.color}),children:e.text}),
1
+ import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useCardGroupContext as a}from"../CardGroupContext.js";import c from"classnames";const i=({children:r})=>{const{title:e}=a();/* @__PURE__ */
2
+ return t("div",{className:"card--group__content--header",children:[e&&/* @__PURE__ */o("div",{className:c("card--group__title",{[`card--group__title--${e.color}`]:e.color}),children:e.text}),
2
3
  /* @__PURE__ */o("div",{className:"card--group__content--header--component",children:r})]})};export{i as CardGroupHead};
@@ -1,14 +1,14 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactNode } from 'react';
2
3
  export type TCardGroupTitle = {
3
4
  alignment?: 'top' | 'bottom' | 'left' | 'right';
4
5
  text: string;
5
6
  color: 'blue' | 'purple' | 'yellow' | 'pink' | 'green' | 'grey';
6
7
  };
7
- export type TCardGroupProps = {
8
+ export type TCardGroupProps = IBaseProps & {
8
9
  title?: TCardGroupTitle;
9
10
  children: ReactNode;
10
11
  className?: string;
11
12
  id?: string;
12
- dataId?: string;
13
13
  noDivider?: boolean;
14
14
  };
@@ -1,5 +1,6 @@
1
- import{jsx as e,jsxs as o,Fragment as d}from"react/jsx-runtime";import{forwardRef as V,useRef as $,useMemo as A}from"react";import F from"classnames";import{Popover as M}from"../Popover/Popover.js";import{Link as O}from"../Link/Link.js";import{Text as m}from"../Text/Text.js";import T from"../SVGIcons/IconInfo.js";import{ICONS_MAPPING as q}from"./consts.js";import{IconDynamicComponent as w}from"../../helperComponents/IconDynamicComponent/IconDynamicComponent.js";const B=V((l,a)=>{const{label:r,disabled:n,required:s=!1,link:i,name:c,setFieldValue:t,selectedValue:p,value:h,className:b="",iconProps:f={name:"checkmark"},dataId:k="",onClick:u,beforeLink:x,afterLink:y,helperText:N="",popoverAddons:I,isInvalid:C,stopPropagation:_=!1}=l,j=$(null),v=a&&Object.keys(a).length?a:j,g=!!h||p,P=e=>{_&&e.stopPropagation(),c&&t&&t(c,!g,{shouldValidate:!g}),u&&u(!g)},V=I?/* @__PURE__ */e(M,{id:`${I.id}`,...I,children:/* @__PURE__ */e("div",{id:`${I.id}`,children:/* @__PURE__ */e(T,{dataId:`${k}-icon`,type:"information",size:"xsmall",className:"ml-4 pointer",onClick:P})})}):null,L=A(()=>r?"string"!=typeof r?r:/* @__PURE__ */e(m,i?{type:n?"disabled":"primary",className:"controller__label",children:/* @__PURE__ */o(d,{children:[x&&/* @__PURE__ */e("span",{className:"mr-4",children:x}),
2
- /* @__PURE__ */e(O,{dataId:k,url:i,target:"_blank",children:r}),y&&/* @__PURE__ */e("span",{className:"ml-4",children:y}),s&&/* @__PURE__ */e("sup",{children:"*"})]})}:{type:n?"disabled":"primary",className:"controller__label",children:/* @__PURE__ */o(d,{children:[r,s&&/* @__PURE__ */e("sup",{children:"*"})]})}):null,[r,i]);/* @__PURE__ */return e(d,{children:/* @__PURE__ */o("label",{className:F("controller",{"controller--checkbox":!0,"controller--disabled":n,"controller--error":C,[b]:!!b}),onClick:e=>_&&e.stopPropagation(),children:[
3
- /* @__PURE__ */e("input",{"data-id":k,type:"checkbox",ref:v,tabIndex:0,onChange:P,checked:!!g,disabled:n}),
4
- /* @__PURE__ */e("span",{className:"controller__icon",children:/* @__PURE__ */e(w,{Component:q[f.name],size:"xxsmall",type:n?"disabled":"inverse",className:"controller__mark"})}),L?/* @__PURE__ */o("div",{className:"controller__right",children:[
5
- /* @__PURE__ */o("div",{className:"flexbox",children:[L,V]}),N?/* @__PURE__ */e(m,{size:"small",type:n?"disabled":"secondary",children:N}):null]}):null]})})});B.displayName="Checkbox";export{B as Checkbox};
1
+ import{jsx as e,jsxs as n,Fragment as d}from"react/jsx-runtime";import{forwardRef as j,useRef as z,useMemo as V}from"react";import A from"classnames";import{Popover as F}from"../Popover/Popover.js";import{Link as M}from"../Link/Link.js";import{Text as m}from"../Text/Text.js";import O from"../SVGIcons/IconInfo.js";import{ICONS_MAPPING as q}from"./consts.js";import{IconDynamicComponent as w}from"../../helperComponents/IconDynamicComponent/IconDynamicComponent.js";const B=j((l,a)=>{const{label:o,disabled:r,required:s=!1,link:i,name:t,setFieldValue:c,selectedValue:p,value:h,className:b="",iconProps:k={name:"checkmark"},dataTestId:f="",onClick:u,beforeLink:x,afterLink:y,helperText:N="",popoverAddons:I,isInvalid:j,stopPropagation:C=!1}=l,_=z(null),v=a&&Object.keys(a).length?a:_,g=!!h||p,P=e=>{C&&e.stopPropagation(),t&&c&&c(t,!g,{shouldValidate:!g}),u&&u(!g)},T=I?/* @__PURE__ */e(F,{id:`${I.id}`,...I,children:/* @__PURE__ */e("div",{id:`${I.id}`,children:/* @__PURE__ */e(O,{dataTestId:f?`${f}-icon`:"",type:"information",size:"xsmall",className:"ml-4 pointer",onClick:P})})}):null,L=V(()=>o?"string"!=typeof o?o:/* @__PURE__ */e(m,i?{type:r?"disabled":"primary",className:"controller__label",children:/* @__PURE__ */n(d,{children:[x&&/* @__PURE__ */e("span",{className:"mr-4",children:x}),
2
+ /* @__PURE__ */e(M,{dataTestId:f?`${f}-link`:"",url:i,target:"_blank",children:o}),y&&/* @__PURE__ */e("span",{className:"ml-4",children:y}),s&&/* @__PURE__ */e("sup",{children:"*"})]})}:{type:r?"disabled":"primary",className:"controller__label",children:/* @__PURE__ */n(d,{children:[o,s&&/* @__PURE__ */e("sup",{children:"*"})]})}):null,[o,i]);/* @__PURE__ */
3
+ return e(d,{children:/* @__PURE__ */n("label",{"data-test-id":f,className:A("controller",{"controller--checkbox":!0,"controller--disabled":r,"controller--error":j,[b]:!!b}),onClick:e=>C&&e.stopPropagation(),children:[
4
+ /* @__PURE__ */e("input",{"data-test-id":f?`${f}-input`:"",type:"checkbox",ref:v,tabIndex:0,onChange:P,checked:!!g,disabled:r}),
5
+ /* @__PURE__ */e("span",{className:"controller__icon",children:/* @__PURE__ */e(w,{Component:q[k.name],size:"xxsmall",type:r?"disabled":"inverse",className:"controller__mark"})}),L?/* @__PURE__ */n("div",{className:"controller__right",children:[
6
+ /* @__PURE__ */n("div",{className:"flexbox",children:[L,T]}),N?/* @__PURE__ */e(m,{size:"small",type:r?"disabled":"secondary",children:N}):null]}):null]})})});B.displayName="Checkbox";export{B as Checkbox};
@@ -1,3 +1,4 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  import { TPopoverProps } from '../Popover/types';
2
3
  export interface TCheckboxProps extends IFormCompProps {
3
4
  label?: string | React.ReactElement;
@@ -1 +1,2 @@
1
- import{jsxs as x,jsx as t,Fragment as $}from"react/jsx-runtime";import{Text as P}from"../Text/Text.js";import{ChipCustomType as n}from"./types.js";import h from"classnames";import T from"../SVGIcons/IconDismissCircleFilled.js";import{ICON_SIZE_MAPPING as f,TEXT_SIZE_MAPPING as b}from"./consts.js";const k=s=>{const{type:e="filled",color:i="primary",size:a="large",text:l,disabled:o,className:r="",leftIconProps:p,withAction:c,onClick:m,onRemove:d,dataId:I="",id:u=""}=s,C=o?"disabled":e==n.filled?n.inverse:i;/* @__PURE__ */return x("div",{className:h(`chips chips--${e} chips--${o?"disabled":i} chips--${a}`,r),id:u,onClick:s=>{s.preventDefault(),s.stopPropagation(),null==m||m(s)},children:[null!=p&&p.Component?/* @__PURE__ */t(p.Component,{dataId:`${I}-icon`,size:f[a],type:C,className:h({"mr-6":!!l}),...p}):null,l?/* @__PURE__ */t(P,{dataId:`${I}-text`,type:C,size:b[a],className:"chips__label",children:/* @__PURE__ */t($,{children:l})}):null,c&&/* @__PURE__ */t(T,{dataId:`${I}-icon`,size:f[a],type:C,className:"chips__delete ml-6",onClick:s=>{s.preventDefault(),s.stopPropagation(),null==d||d(s)}})]})};export{k as Chips};
1
+ import{jsxs as y,jsx as a,Fragment as x}from"react/jsx-runtime";import{Text as $}from"../Text/Text.js";import{ChipCustomType as n}from"./types.js";import h from"classnames";import P from"../SVGIcons/IconDismissCircleFilled.js";import{ICON_SIZE_MAPPING as f,TEXT_SIZE_MAPPING as b}from"./consts.js";const k=s=>{const{type:e="filled",color:t="primary",size:i="large",text:l,disabled:o,className:r="",leftIconProps:p,withAction:c,onClick:m,onRemove:d,dataTestId:I="",id:u=""}=s,C=o?"disabled":e==n.filled?n.inverse:t;/* @__PURE__ */
2
+ return y("div",{className:h(`chips chips--${e} chips--${o?"disabled":t} chips--${i}`,r),id:u,"data-test-id":I,onClick:s=>{s.preventDefault(),s.stopPropagation(),null==m||m(s)},children:[null!=p&&p.Component?/* @__PURE__ */a(p.Component,{dataTestId:`${I}-icon`,size:f[i],type:C,className:h({"mr-6":!!l}),...p}):null,l?/* @__PURE__ */a($,{dataTestId:`${I}-text`,type:C,size:b[i],className:"chips__label",children:/* @__PURE__ */a(x,{children:l})}):null,c&&/* @__PURE__ */a(P,{dataTestId:`${I}-icon`,size:f[i],type:C,className:"chips__delete ml-6",onClick:s=>{s.preventDefault(),s.stopPropagation(),null==d||d(s)}})]})};export{k as Chips};
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { ISVGIconProps } from '../../type';
2
+ import { ISVGIconProps, IFormCompProps } from '../../type';
3
3
  export type TChipsColors = 'primary' | 'disabled' | 'brand' | 'danger' | 'warning' | 'success' | 'information' | 'discovery';
4
4
  export interface TChipsProps extends IFormCompProps {
5
5
  text?: string | ReactNode;
@@ -12,7 +12,6 @@ export interface TChipsProps extends IFormCompProps {
12
12
  withAction?: boolean;
13
13
  onClick?: (e: TClickEventType) => void;
14
14
  onRemove?: (e: TClickEventType) => void;
15
- dataId?: string;
16
15
  id?: string;
17
16
  }
18
17
  export declare enum ChipCustomType {
@@ -1,4 +1,5 @@
1
- import{jsxs as l,jsx as e}from"react/jsx-runtime";import{useState as u,useCallback as v}from"react";import{motion as N}from"motion/react";import{Divider as _}from"../../Divider/Divider.js";import{AnimatePresenceWrapper as x}from"../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js";import C from"classnames";import{generateDataTestId as I}from"../../../utils/helpers.js";import{Title as O}from"./Title.js";const B=i=>{const{title:a,className:t,isOpen:s=!1,iconAlignment:r="left",hasIconBorder:o=!1,toggle:n,dataId:c,children:m,id:p}=i,[d,h]=u(s),f=v(()=>{h(e=>(n&&n(!e),!e))},[]);/* @__PURE__ */return l("div",{className:C("collapse collapse--v2",{"collapse--opened":d},t),id:`${p||""}`,"data-id":I("collapse-item",c),children:[
2
- /* @__PURE__ */e("div",{className:"collapse__header",onClick:f,children:/* @__PURE__ */e(O,{hasIconBorder:o,iconAlignment:r,isOpen:d,dataId:c,title:a})}),
3
- /* @__PURE__ */e(x,{initial:!1,children:d&&/* @__PURE__ */e(N.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{type:"spring",duration:.5,bounce:0},children:/* @__PURE__ */l("div",{className:"collapse__content",children:[
1
+ import{jsxs as s,jsx as e}from"react/jsx-runtime";import{useState as u,useCallback as v}from"react";import{motion as N}from"motion/react";import{Divider as _}from"../../Divider/Divider.js";import{AnimatePresenceWrapper as x}from"../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js";import C from"classnames";import{generateDataTestId as I}from"../../../utils/helpers.js";import{Title as O}from"./Title.js";const B=i=>{const{title:a,className:t,isOpen:r=!1,iconAlignment:o="left",hasIconBorder:l=!1,toggle:n,dataTestId:c,children:m,id:p}=i,[d,h]=u(r),f=v(()=>{h(e=>(n&&n(!e),!e))},[]);/* @__PURE__ */
2
+ return s("div",{className:C("collapse collapse--v2",{"collapse--opened":d},t),id:`${p||""}`,"data-test-id":I("collapse-item",c),children:[
3
+ /* @__PURE__ */e("div",{className:"collapse__header",onClick:f,children:/* @__PURE__ */e(O,{hasIconBorder:l,iconAlignment:o,isOpen:d,dataTestId:c,title:a})}),
4
+ /* @__PURE__ */e(x,{initial:!1,children:d&&/* @__PURE__ */e(N.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{type:"spring",duration:.5,bounce:0},children:/* @__PURE__ */s("div",{className:"collapse__content",children:[
4
5
  /* @__PURE__ */e(_,{type:"primary",isHorizontal:!0,className:"collapse__divider"}),m]})})})]})};export{B as Collapse};
@@ -1,10 +1,10 @@
1
1
  import { TCollapseItemTitleV2 } from '../types';
2
2
  interface ITitleProps {
3
- dataId: string;
3
+ dataTestId: string;
4
4
  isOpen: boolean;
5
5
  iconAlignment: 'left' | 'right';
6
6
  hasIconBorder: boolean;
7
7
  title: TCollapseItemTitleV2;
8
8
  }
9
- export declare const Title: ({ dataId, title, isOpen, iconAlignment, hasIconBorder }: ITitleProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const Title: ({ dataTestId, title, isOpen, iconAlignment, hasIconBorder }: ITitleProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -1 +1,2 @@
1
- import{jsx as e,jsxs as a,Fragment as p}from"react/jsx-runtime";import{useMemo as d}from"react";import{generateDataTestId as x}from"../../../utils/helpers.js";import{Text as b}from"../../Text/Text.js";import g from"classnames";import u from"../../SVGIcons/IconChevronDown.js";import v from"../../SVGIcons/IconChevronUp.js";const C=({dataId:t,title:o,isOpen:s,iconAlignment:r,hasIconBorder:i})=>{const{text:n="",weight:c="bolder",size:l="medium",color:m}=o,h=d(()=>"string"==typeof n?/* @__PURE__ */e(b,{size:l,type:m,weight:c,dataId:x("title",t),children:n}):n,[n,l,m,c,t]),f=d(()=>/* @__PURE__ */e("div",{className:g("collapse-icon",{"icon-border":i,"icon-open":s}),children:/* @__PURE__ */e(s?v:u,{size:"small"})}),[s,i]);/* @__PURE__ */return e("div",{className:"collapse__header__inner flexbox justify-content--between",children:/* @__PURE__ */a(p,"left"===r?{children:[f,h]}:{children:[h,f]})})};export{C as Title};
1
+ import{jsx as e,jsxs as a,Fragment as p}from"react/jsx-runtime";import{useMemo as d}from"react";import{generateDataTestId as x}from"../../../utils/helpers.js";import{Text as b}from"../../Text/Text.js";import g from"classnames";import u from"../../SVGIcons/IconChevronDown.js";import v from"../../SVGIcons/IconChevronUp.js";const C=({dataTestId:t,title:s,isOpen:o,iconAlignment:r,hasIconBorder:i})=>{const{text:n="",weight:c="bolder",size:l="medium",color:m}=s,h=d(()=>"string"==typeof n?/* @__PURE__ */e(b,{size:l,type:m,weight:c,dataTestId:x("title",t),children:n}):n,[n,l,m,c,t]),f=d(()=>/* @__PURE__ */e("div",{className:g("collapse-icon",{"icon-border":i,"icon-open":o}),children:/* @__PURE__ */e(o?v:u,{size:"small"})}),[o,i]);/* @__PURE__ */
2
+ return e("div",{className:"collapse__header__inner flexbox justify-content--between",children:/* @__PURE__ */a(p,"left"===r?{children:[f,h]}:{children:[h,f]})})};export{C as Title};
@@ -1 +1,3 @@
1
- import{jsx as a}from"react/jsx-runtime";import{forwardRef as S,useState as h}from"react";import{CollapseItem as G}from"../CollapseItem/CollapseItem.js";import I from"classnames";const P=S((e,s)=>{const{items:t,singleSelection:o,titleProps:l={},className:r}=e,{size:i,color:p}=l,[m,c]=h(t.filter(e=>e.isOpen).map(e=>e.value));/* @__PURE__ */return a("div",{className:I("collapse-group",r),ref:s,children:t.map(({id:e,title:s,value:t,content:l,dataId:r,iconProps:n})=>{const d=-1!==m.indexOf(t);/* @__PURE__ */return a(G,{className:"collapse-group__item",id:e,isOpen:d,dataId:r,title:{size:i,color:p,text:s},toggle:()=>d?(e=>{c(m.filter(a=>a!==e))})(t):(e=>{c(o?[e]:[...m,e])})(t),labelLeftIconProps:n,children:l},t)})})});P.displayName="CollapseGroup";export{P as CollapseGroup};
1
+ import{jsx as a}from"react/jsx-runtime";import{forwardRef as S,useState as h}from"react";import{CollapseItem as G}from"../CollapseItem/CollapseItem.js";import I from"classnames";const P=S((e,s)=>{const{items:t,singleSelection:o,titleProps:l={},className:r}=e,{size:i,color:p}=l,[m,c]=h(t.filter(e=>e.isOpen).map(e=>e.value));/* @__PURE__ */
2
+ return a("div",{className:I("collapse-group",r),ref:s,children:t.map(({id:e,title:s,value:t,content:l,dataTestId:r,iconProps:n})=>{const d=-1!==m.indexOf(t);/* @__PURE__ */
3
+ return a(G,{className:"collapse-group__item",id:e,isOpen:d,dataTestId:r,title:{size:i,color:p,text:s},toggle:()=>d?(e=>{c(m.filter(s=>s!==e))})(t):(e=>{c(o?[e]:[...m,e])})(t),labelLeftIconProps:n,children:l},t)})})});P.displayName="CollapseGroup";export{P as CollapseGroup};
@@ -1,5 +1,6 @@
1
- import{jsxs as i,jsx as e,Fragment as s}from"react/jsx-runtime";import{motion as N}from"motion/react";import{Text as u}from"../../Text/Text.js";import y from"../../SVGIcons/IconChevronRight.js";import{Divider as b}from"../../Divider/Divider.js";import{AnimatePresenceWrapper as C}from"../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js";import I from"classnames";import z from"../../SVGIcons/IconChevronDown.js";import{generateDataTestId as c}from"../../../utils/helpers.js";const R=a=>{const{title:{text:r,weight:t="bolder",size:l="medium",color:n},className:o,isOpen:m,toggle:d,dataId:p,children:h,reverse:_=!1,additionalInfo:f,labelLeftIconProps:x,id:g}=a,v="string"==typeof r?/* @__PURE__ */e(u,{size:l,type:n,weight:t,dataId:c("title",p),children:r}):r;/* @__PURE__ */return i("div",{className:I("collapse",{"collapse--opened":m},o),id:`${g||""}`,"data-id":c("collapse-item",p),children:[
2
- /* @__PURE__ */e("div",{className:"collapse__header flexbox justify-content--between",onClick:d,children:/* @__PURE__ */i(s,_?{children:[
1
+ import{jsxs as i,jsx as e,Fragment as n}from"react/jsx-runtime";import{motion as N}from"motion/react";import{Text as u}from"../../Text/Text.js";import y from"../../SVGIcons/IconChevronRight.js";import{Divider as b}from"../../Divider/Divider.js";import{AnimatePresenceWrapper as C}from"../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js";import I from"classnames";import z from"../../SVGIcons/IconChevronDown.js";import{generateDataTestId as c}from"../../../utils/helpers.js";const R=s=>{const{title:{text:a,weight:t="bolder",size:r="medium",color:l},className:o,isOpen:m,toggle:d,dataTestId:p,children:h,reverse:_=!1,additionalInfo:f,labelLeftIconProps:x,id:g}=s,v="string"==typeof a?/* @__PURE__ */e(u,{size:r,type:l,weight:t,dataTestId:c("title",p),children:a}):a;/* @__PURE__ */
2
+ return i("div",{className:I("collapse",{"collapse--opened":m},o),id:`${g||""}`,"data-test-id":c("collapse-item",p),children:[
3
+ /* @__PURE__ */e("div",{className:"collapse__header flexbox justify-content--between",onClick:d,children:/* @__PURE__ */i(n,_?{children:[
3
4
  /* @__PURE__ */i("div",{className:"collapse__header__inner flexbox align-items--center",children:[
4
5
  /* @__PURE__ */e(z,{className:"collapse__header__icon",size:"small"}),f]}),v]}:{children:[
5
6
  /* @__PURE__ */i("div",{className:"flexbox align-items--center",children:[null!=x&&x.Component?/* @__PURE__ */e(x.Component,{size:"small",type:"primary",className:"mr-16",...x}):null,v]}),
@@ -1,3 +1,4 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactElement, ReactNode } from 'react';
2
3
  export type TCollapseTitleColor = 'selected' | 'primary';
3
4
  export interface ICollapseTitleProps {
@@ -8,26 +9,24 @@ export interface ICollapseTitleProps {
8
9
  export interface TCollapseItemTitle extends ICollapseTitleProps {
9
10
  text: string | ReactNode;
10
11
  }
11
- export type TCollapseProps = {
12
+ export type TCollapseProps = IBaseProps & {
12
13
  isOpen: boolean;
13
14
  toggle: () => void;
14
15
  children: ReactNode;
15
16
  title: TCollapseItemTitle;
16
17
  reverse?: boolean;
17
18
  additionalInfo?: ReactNode;
18
- dataId?: string | undefined;
19
19
  labelLeftIconProps?: TSelectIconProps;
20
20
  id?: string | number;
21
21
  className?: string;
22
22
  };
23
23
  export type TCollapseValue = string | number;
24
- export type TCollapseItem = {
24
+ export type TCollapseItem = IBaseProps & {
25
25
  title: string;
26
26
  value: TCollapseValue;
27
27
  content?: ReactElement | null;
28
28
  iconProps?: TSelectIconProps;
29
29
  isOpen?: boolean;
30
- dataId?: string;
31
30
  id?: string | number;
32
31
  };
33
32
  export type TCollapseGroupProps = {
@@ -39,14 +38,13 @@ export type TCollapseGroupProps = {
39
38
  export interface TCollapseItemTitleV2 extends ICollapseTitleProps {
40
39
  text?: string | ReactNode;
41
40
  }
42
- export type TCollapseV2Props = {
41
+ export type TCollapseV2Props = IBaseProps & {
43
42
  isOpen?: boolean;
44
43
  toggle?: (isOpen: boolean) => void;
45
44
  children: ReactNode;
46
45
  title: TCollapseItemTitleV2;
47
46
  iconAlignment?: 'left' | 'right';
48
47
  hasIconBorder?: boolean;
49
- dataId?: string | undefined;
50
48
  id?: string | number;
51
49
  className?: string;
52
50
  };
@@ -1 +1,2 @@
1
- import{jsx as o}from"react/jsx-runtime";const e=e=>{const{children:r}=e;/* @__PURE__ */return o("div",{className:"container",children:r})};export{e as Container};
1
+ import{jsx as n}from"react/jsx-runtime";const o=t=>{const{children:a,dataTestId:e=""}=t;/* @__PURE__ */
2
+ return n("div",{className:"container","data-test-id":e,children:a})};export{o as Container};
@@ -1,4 +1,5 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import { ReactNode } from 'react';
2
- export interface TContainerProps {
3
+ export interface TContainerProps extends IBaseProps {
3
4
  children?: ReactNode;
4
5
  }
@@ -1,3 +1,3 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { TCopyProps } from './types';
3
- export declare const Copy: ({ textAfterCopy, className, text, dataId }: TCopyProps) => ReactElement;
3
+ export declare const Copy: ({ textAfterCopy, className, text, dataTestId }: TCopyProps) => ReactElement;
@@ -1,2 +1,3 @@
1
- import{jsxs as l,jsx as e}from"react/jsx-runtime";import{useState as m,useRef as a}from"react";import{Button as f}from"../Button/Button.js";import{Popover as u}from"../Popover/Popover.js";import y from"../SVGIcons/IconCopy.js";const P=({textAfterCopy:o,className:t="",text:r,dataId:s})=>{const[i,n]=m(!1),p=a(null);/* @__PURE__ */return l("div",{ref:p,className:"copy-icon",children:[
2
- /* @__PURE__ */e(f,{dataId:s,type:"tertiary",iconProps:{Component:y},size:"small",className:t,onClick:o=>{o.stopPropagation(),navigator.clipboard.writeText(r),n(!0),setTimeout(()=>n(!1),1e3)}}),i?/* @__PURE__ */e(u,{clicked:!0,elemRef:p.current,text:o||"Copied",position:"top-center"}):null]})};export{P as Copy};
1
+ import{jsxs as l,jsx as e}from"react/jsx-runtime";import{useState as m,useRef as a}from"react";import{Button as f}from"../Button/Button.js";import{Popover as u}from"../Popover/Popover.js";import y from"../SVGIcons/IconCopy.js";const P=({textAfterCopy:t,className:o="",text:s,dataTestId:r})=>{const[i,n]=m(!1),p=a(null);/* @__PURE__ */
2
+ return l("div",{ref:p,className:"copy-icon",children:[
3
+ /* @__PURE__ */e(f,{dataTestId:r,type:"tertiary",iconProps:{Component:y},size:"small",className:o,onClick:t=>{t.stopPropagation(),navigator.clipboard.writeText(s),n(!0),setTimeout(()=>n(!1),1e3)}}),i?/* @__PURE__ */e(u,{clicked:!0,elemRef:p.current,text:t||"Copied",position:"top-center"}):null]})};export{P as Copy};
@@ -1,6 +1,6 @@
1
- export type TCopyProps = {
1
+ import { IBaseProps } from '../../type';
2
+ export type TCopyProps = IBaseProps & {
2
3
  className?: string;
3
4
  textAfterCopy?: string;
4
5
  text: string;
5
- dataId?: string;
6
6
  };
@@ -1 +1,2 @@
1
- import{jsx as D}from"react/jsx-runtime";import{forwardRef as F}from"react";import{Input as k}from"../Input/Input.js";import p from"classnames";import{noop as f}from"../../utils/helpers.js";import z from"../SVGIcons/IconAdd.js";import E from"../SVGIcons/IconSubtract.js";const P=F((e,a)=>{const{max:r=99999999,min:o=0,handleChange:t,name:s,counter:n=0,setFieldValue:m,customError:i,label:l,required:c=!1,value:d,hasError:u=!1,...I}=e,v=void 0!==d?parseInt(d):n,C=void 0!==d,h=e=>{t&&t(+e>r?r:+e<o?o:e),m&&s&&m(s,e,{shouldValidate:u})},b=v<=o,j=void 0===v||v>=r;/* @__PURE__ */return D(k,{...I,className:"counter",error:C?"":i,label:l,required:c,leftIconProps:{dataId:`${I.dataId}-decrement`,size:"small",Component:E,className:p({action_active:!b}),type:b?"disabled":"primary",onClick:b?f:()=>h(v-1)},rightIconProps:{dataId:`${I.dataId}-increment`,Component:z,size:"small",className:p({action_active:!j}),onClick:j?f:()=>h(v+1),type:j?"disabled":"primary"},type:"number",name:s,value:v,onChange:e=>h(parseInt(e.target.value))})});P.displayName="Counter";export{P as Counter};
1
+ import{jsx as x}from"react/jsx-runtime";import{forwardRef as D}from"react";import{Input as F}from"../Input/Input.js";import p from"classnames";import{noop as f}from"../../utils/helpers.js";import k from"../SVGIcons/IconAdd.js";import z from"../SVGIcons/IconSubtract.js";const E=D((e,a)=>{const{max:r=99999999,min:t=0,handleChange:o,name:s,counter:n=0,setFieldValue:m,customError:i,label:l,required:c=!1,value:d,hasError:u=!1,...I}=e,v=void 0!==d?parseInt(d):n,C=void 0!==d,h=e=>{o&&o(+e>r?r:+e<t?t:e),m&&s&&m(s,e,{shouldValidate:u})},b=v<=t,j=void 0===v||v>=r;/* @__PURE__ */
2
+ return x(F,{...I,className:"counter",error:C?"":i,label:l,required:c,leftIconProps:{dataTestId:`${I.dataTestId}-decrement`,size:"small",Component:z,className:p({action_active:!b}),type:b?"disabled":"primary",onClick:b?f:()=>h(v-1)},rightIconProps:{dataTestId:`${I.dataTestId}-increment`,Component:k,size:"small",className:p({action_active:!j}),onClick:j?f:()=>h(v+1),type:j?"disabled":"primary"},type:"number",name:s,value:v,onChange:e=>h(parseInt(e.target.value))})});E.displayName="Counter";export{E as Counter};
@@ -1,3 +1,4 @@
1
+ import { IFormCompProps } from '../../type';
1
2
  export interface ICounterProps extends IFormCompProps {
2
3
  min?: number;
3
4
  max?: number;
@@ -1,11 +1,10 @@
1
+ import { IBaseProps } from '../../type';
1
2
  import React from 'react';
2
- type DarkModeSwitcherProps = {
3
+ export declare const DarkModeSwitcher: React.ForwardRefExoticComponent<IBaseProps & {
3
4
  checked: boolean;
4
5
  onChange: (checked: boolean) => void;
5
6
  disabled?: boolean;
6
7
  id?: string;
7
8
  name?: string;
8
9
  className?: string;
9
- };
10
- export declare const DarkModeSwitcher: React.ForwardRefExoticComponent<DarkModeSwitcherProps & React.RefAttributes<HTMLInputElement>>;
11
- export {};
10
+ } & React.RefAttributes<HTMLInputElement>>;
@@ -1,5 +1,5 @@
1
- import{jsx as e,jsxs as l}from"react/jsx-runtime";import{forwardRef as _}from"react";import i from"classnames";import d from"../SVGIcons/IconMoon.js";import p from"../SVGIcons/IconSun.js";const w=_(({checked:s,onChange:a,disabled:c=!1,id:t="dark-mode-switcher",name:m,className:r},h)=>/* @__PURE__ */e("label",{className:i("theme-switch",r,{"is-disabled":c}),htmlFor:t,children:/* @__PURE__ */l("span",{className:i("theme-switch__track",{"is-checked":s}),children:[
2
- /* @__PURE__ */e("span",{className:"theme-switch__icon theme-switch__icon--sun","aria-hidden":"true",children:/* @__PURE__ */e(p,{size:"xsmall"})}),
3
- /* @__PURE__ */e("input",{ref:h,id:t,name:m,type:"checkbox",checked:s,disabled:c,onChange:e=>{c||a(e.target.checked)},className:"theme-switch__input"}),
4
- /* @__PURE__ */e("span",{className:"theme-switch__thumb","aria-hidden":"true"}),
5
- /* @__PURE__ */e("span",{className:"theme-switch__icon theme-switch__icon--moon","aria-hidden":"true",children:/* @__PURE__ */e(d,{size:"xsmall"})})]})}));w.displayName="DarkModeSwitcher";export{w as DarkModeSwitcher};
1
+ import{jsx as i,jsxs as p}from"react/jsx-runtime";import{forwardRef as _}from"react";import n from"classnames";import u from"../SVGIcons/IconMoon.js";import w from"../SVGIcons/IconSun.js";const d=_(({checked:e,onChange:a,disabled:s=!1,id:t="dark-mode-switcher",name:c,className:d,dataTestId:m=""},o)=>/* @__PURE__ */i("label",{className:n("theme-switch",d,{"is-disabled":s}),htmlFor:t,"data-test-id":m,children:/* @__PURE__ */p("span",{className:n("theme-switch__track",{"is-checked":e}),children:[
2
+ /* @__PURE__ */i("span",{className:"theme-switch__icon theme-switch__icon--sun","aria-hidden":"true",children:/* @__PURE__ */i(w,{size:"xsmall",dataTestId:m?`${m}-sun-icon`:""})}),
3
+ /* @__PURE__ */i("input",{ref:o,id:t,name:c,type:"checkbox",checked:e,disabled:s,onChange:e=>{s||a(e.target.checked)},className:"theme-switch__input","data-test-id":m?`${m}-input`:""}),
4
+ /* @__PURE__ */i("span",{className:"theme-switch__thumb","aria-hidden":"true"}),
5
+ /* @__PURE__ */i("span",{className:"theme-switch__icon theme-switch__icon--moon","aria-hidden":"true",children:/* @__PURE__ */i(u,{size:"xsmall",dataTestId:m?`${m}-moon-icon`:""})})]})}));d.displayName="DarkModeSwitcher";export{d as DarkModeSwitcher};
@@ -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;