@reltio/design 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (565) hide show
  1. package/charts/Chart/Chart.d.ts +4 -0
  2. package/charts/Chart/Chart.js +59 -0
  3. package/charts/Chart/Chart.module.css.d.ts +2 -0
  4. package/charts/Chart/Chart.module.css.js +8 -0
  5. package/charts/Chart/Chart.module.css.json +1 -0
  6. package/charts/Chart/Chart.types.d.ts +24 -0
  7. package/charts/Chart/Chart.types.js +1 -0
  8. package/charts/Chart/index.d.ts +2 -0
  9. package/charts/Chart/index.js +1 -0
  10. package/charts/Chart/theme.d.ts +67 -0
  11. package/charts/Chart/theme.js +85 -0
  12. package/charts/LineChart/LineChart.d.ts +2 -0
  13. package/charts/LineChart/LineChart.js +76 -0
  14. package/charts/LineChart/LineChart.module.css.d.ts +2 -0
  15. package/charts/LineChart/LineChart.module.css.js +25 -0
  16. package/charts/LineChart/LineChart.module.css.json +1 -0
  17. package/charts/LineChart/LineChart.types.d.ts +38 -0
  18. package/charts/LineChart/LineChart.types.js +1 -0
  19. package/charts/LineChart/index.d.ts +2 -0
  20. package/charts/LineChart/index.js +1 -0
  21. package/charts/index.d.ts +1 -0
  22. package/charts/index.js +1 -0
  23. package/components/AssistantLoader/AssistantLoader.d.ts +1 -2
  24. package/components/AssistantLoader/AssistantLoader.js +7 -4
  25. package/components/AssistantLoader/AssistantLoader.module.css.js +30 -62
  26. package/components/AssistantLoader/AssistantLoader.module.css.json +1 -1
  27. package/components/AssistantLoader/AssistantLoader.types.d.ts +5 -13
  28. package/components/Button/Button.d.ts +1 -1
  29. package/components/Button/Button.js +3 -44
  30. package/components/Button/Button.module.css.js +54 -103
  31. package/components/Button/Button.module.css.json +1 -1
  32. package/components/Button/Button.types.d.ts +7 -31
  33. package/components/Chat/Chat.js +1 -3
  34. package/components/Chat/Chat.module.css.js +18 -31
  35. package/components/Chat/Chat.module.css.json +1 -1
  36. package/components/Chat/Chat.types.d.ts +3 -11
  37. package/components/Chat/components/AssistantMessage/AssistantMessage.d.ts +1 -2
  38. package/components/Chat/components/AssistantMessage/AssistantMessage.module.css.js +4 -16
  39. package/components/Chat/components/AssistantMessage/AssistantMessage.module.css.json +1 -1
  40. package/components/Chat/components/AssistantMessage/AssistantMessage.types.d.ts +3 -10
  41. package/components/Chat/components/UserMessage/UserMessage.module.css.js +9 -4
  42. package/components/Chat/components/UserMessage/UserMessage.module.css.json +1 -1
  43. package/components/Chat/components/UserMessage/UserMessage.types.d.ts +3 -11
  44. package/components/Details/Details.d.ts +1 -1
  45. package/components/Details/Details.js +2 -7
  46. package/components/Details/Details.module.css.js +57 -44
  47. package/components/Details/Details.module.css.json +1 -1
  48. package/components/Details/Details.types.d.ts +4 -51
  49. package/components/ErrorMessage/ErrorMessage.js +1 -1
  50. package/components/ErrorMessage/ErrorMessage.module.css.js +12 -24
  51. package/components/ErrorMessage/ErrorMessage.module.css.json +1 -1
  52. package/components/ErrorMessage/ErrorMessage.types.d.ts +3 -6
  53. package/components/Markdown/Markdown.d.ts +1 -1
  54. package/components/Markdown/Markdown.js +2 -2
  55. package/components/Markdown/Markdown.module.css.js +87 -109
  56. package/components/Markdown/Markdown.module.css.json +1 -1
  57. package/components/Markdown/Markdown.types.d.ts +1 -51
  58. package/components/Skeleton/Skeleton.d.ts +1 -1
  59. package/components/Skeleton/Skeleton.js +3 -2
  60. package/components/Skeleton/Skeleton.module.css.js +13 -15
  61. package/components/Skeleton/Skeleton.module.css.json +1 -1
  62. package/components/Skeleton/Skeleton.types.d.ts +5 -23
  63. package/components/TextArea/TextArea.d.ts +3 -22
  64. package/components/TextArea/TextArea.js +3 -6
  65. package/components/TextArea/TextArea.module.css.js +65 -79
  66. package/components/TextArea/TextArea.module.css.json +1 -1
  67. package/components/TextArea/TextArea.types.d.ts +2 -21
  68. package/components/TreeList/TreeList.module.css.js +7 -12
  69. package/components/TreeList/TreeList.module.css.json +1 -1
  70. package/components/TreeList/components/TreeLevelLines/TreeLevelLines.module.css.js +12 -15
  71. package/components/TreeList/components/TreeLevelLines/TreeLevelLines.module.css.json +1 -1
  72. package/components/TreeList/components/TreeNode/TreeNode.module.css.js +19 -21
  73. package/components/TreeList/components/TreeNode/TreeNode.module.css.json +1 -1
  74. package/icons/AccessTime.d.ts +2 -0
  75. package/icons/AccessTime.js +6 -0
  76. package/icons/Accessibility.d.ts +2 -0
  77. package/icons/Accessibility.js +6 -0
  78. package/icons/AccountCircle.d.ts +1 -1
  79. package/icons/AccountCircle.js +2 -2
  80. package/icons/AcessConversations.d.ts +2 -0
  81. package/icons/AcessConversations.js +6 -0
  82. package/icons/ActionsMenu.d.ts +2 -0
  83. package/icons/ActionsMenu.js +6 -0
  84. package/icons/ActivateUser.d.ts +2 -0
  85. package/icons/ActivateUser.js +6 -0
  86. package/icons/Add.d.ts +1 -1
  87. package/icons/Add.js +2 -2
  88. package/icons/AddChild.d.ts +2 -0
  89. package/icons/AddChild.js +6 -0
  90. package/icons/AddCircle.d.ts +2 -0
  91. package/icons/AddCircle.js +6 -0
  92. package/icons/AddParent.d.ts +2 -0
  93. package/icons/AddParent.js +6 -0
  94. package/icons/AddSibling.d.ts +2 -0
  95. package/icons/AddSibling.js +6 -0
  96. package/icons/AdvancedProperties.d.ts +2 -0
  97. package/icons/AdvancedProperties.js +6 -0
  98. package/icons/AdvancedPropertiesClear.d.ts +2 -0
  99. package/icons/AdvancedPropertiesClear.js +6 -0
  100. package/icons/Analitycal.d.ts +2 -0
  101. package/icons/Analitycal.js +6 -0
  102. package/icons/ApiMonitor.d.ts +2 -0
  103. package/icons/ApiMonitor.js +6 -0
  104. package/icons/ApiPerformance.d.ts +2 -0
  105. package/icons/ApiPerformance.js +6 -0
  106. package/icons/ApiPerformanceStat.d.ts +2 -0
  107. package/icons/ApiPerformanceStat.js +6 -0
  108. package/icons/Applications.d.ts +2 -0
  109. package/icons/Applications.js +6 -0
  110. package/icons/ArrowBack.d.ts +1 -1
  111. package/icons/ArrowBack.js +2 -2
  112. package/icons/ArrowDownward.d.ts +2 -0
  113. package/icons/ArrowDownward.js +6 -0
  114. package/icons/ArrowDropDown.d.ts +1 -1
  115. package/icons/ArrowDropDown.js +2 -2
  116. package/icons/ArrowDropUp.d.ts +1 -1
  117. package/icons/ArrowDropUp.js +2 -2
  118. package/icons/ArrowForward.d.ts +1 -1
  119. package/icons/ArrowForward.js +2 -2
  120. package/icons/ArrowLeft.d.ts +1 -1
  121. package/icons/ArrowLeft.js +2 -2
  122. package/icons/ArrowRight.d.ts +1 -1
  123. package/icons/ArrowRight.js +2 -2
  124. package/icons/ArrowUpward.d.ts +2 -0
  125. package/icons/ArrowUpward.js +6 -0
  126. package/icons/Attachment.d.ts +1 -1
  127. package/icons/Attachment.js +2 -2
  128. package/icons/Attribute.d.ts +2 -0
  129. package/icons/Attribute.js +6 -0
  130. package/icons/Back.d.ts +2 -0
  131. package/icons/Back.js +6 -0
  132. package/icons/Calendar.d.ts +2 -0
  133. package/icons/Calendar.js +6 -0
  134. package/icons/CalendarRange.d.ts +2 -0
  135. package/icons/CalendarRange.js +6 -0
  136. package/icons/CalendarToday.d.ts +2 -0
  137. package/icons/CalendarToday.js +6 -0
  138. package/icons/Cancel.d.ts +2 -0
  139. package/icons/Cancel.js +6 -0
  140. package/icons/Chat.d.ts +1 -1
  141. package/icons/Chat.js +2 -2
  142. package/icons/Check.d.ts +1 -1
  143. package/icons/Check.js +2 -2
  144. package/icons/CheckCircle.d.ts +1 -1
  145. package/icons/CheckCircle.js +2 -2
  146. package/icons/Checkbox.d.ts +2 -0
  147. package/icons/Checkbox.js +6 -0
  148. package/icons/CheckboxFilled.d.ts +2 -0
  149. package/icons/CheckboxFilled.js +6 -0
  150. package/icons/CheckboxIndeterminate.d.ts +2 -0
  151. package/icons/CheckboxIndeterminate.js +6 -0
  152. package/icons/CheckboxIndeterminateFilled.d.ts +2 -0
  153. package/icons/CheckboxIndeterminateFilled.js +6 -0
  154. package/icons/CheckboxOutlined.d.ts +2 -0
  155. package/icons/CheckboxOutlined.js +6 -0
  156. package/icons/ChevronLeft.d.ts +1 -1
  157. package/icons/ChevronLeft.js +2 -2
  158. package/icons/ChevronRight.d.ts +1 -1
  159. package/icons/ChevronRight.js +2 -2
  160. package/icons/Cleansing.d.ts +2 -0
  161. package/icons/Cleansing.js +6 -0
  162. package/icons/Close.d.ts +1 -1
  163. package/icons/Close.js +2 -2
  164. package/icons/Colapse.d.ts +2 -0
  165. package/icons/Colapse.js +6 -0
  166. package/icons/CollapseDrawer.d.ts +2 -0
  167. package/icons/CollapseDrawer.js +6 -0
  168. package/icons/Comment.d.ts +1 -1
  169. package/icons/Comment.js +2 -2
  170. package/icons/Comments.d.ts +2 -0
  171. package/icons/Comments.js +6 -0
  172. package/icons/ComplexAttribute.d.ts +2 -0
  173. package/icons/ComplexAttribute.js +6 -0
  174. package/icons/Consolidated.d.ts +2 -0
  175. package/icons/Consolidated.js +6 -0
  176. package/icons/ContentCopy.d.ts +1 -1
  177. package/icons/ContentCopy.js +2 -2
  178. package/icons/ContentPaste.d.ts +1 -1
  179. package/icons/ContentPaste.js +2 -2
  180. package/icons/ControlAttriibute.d.ts +2 -0
  181. package/icons/ControlAttriibute.js +6 -0
  182. package/icons/Copy.d.ts +2 -0
  183. package/icons/Copy.js +6 -0
  184. package/icons/CriticalError.d.ts +2 -0
  185. package/icons/CriticalError.js +6 -0
  186. package/icons/DashboardChart.d.ts +2 -0
  187. package/icons/DashboardChart.js +6 -0
  188. package/icons/DashboardGlobal.d.ts +2 -0
  189. package/icons/DashboardGlobal.js +6 -0
  190. package/icons/DataPrep.d.ts +2 -0
  191. package/icons/DataPrep.js +6 -0
  192. package/icons/DataUpload.d.ts +2 -0
  193. package/icons/DataUpload.js +6 -0
  194. package/icons/DcrComment.d.ts +2 -0
  195. package/icons/DcrComment.js +6 -0
  196. package/icons/DeactivateUser.d.ts +2 -0
  197. package/icons/DeactivateUser.js +6 -0
  198. package/icons/Delete.d.ts +1 -1
  199. package/icons/Delete.js +2 -2
  200. package/icons/DerivedAttribute.d.ts +2 -0
  201. package/icons/DerivedAttribute.js +6 -0
  202. package/icons/Description.d.ts +1 -1
  203. package/icons/Description.js +2 -2
  204. package/icons/DesignServices.d.ts +2 -0
  205. package/icons/DesignServices.js +6 -0
  206. package/icons/Dev.d.ts +2 -0
  207. package/icons/Dev.js +6 -0
  208. package/icons/Done.d.ts +2 -0
  209. package/icons/Done.js +6 -0
  210. package/icons/Down.d.ts +2 -0
  211. package/icons/Down.js +6 -0
  212. package/icons/Download.d.ts +1 -1
  213. package/icons/Download.js +2 -2
  214. package/icons/Draft.d.ts +2 -0
  215. package/icons/Draft.js +6 -0
  216. package/icons/Drag.d.ts +2 -0
  217. package/icons/Drag.js +6 -0
  218. package/icons/DragHoriz.d.ts +2 -0
  219. package/icons/DragHoriz.js +6 -0
  220. package/icons/DuplicateGroup.d.ts +2 -0
  221. package/icons/DuplicateGroup.js +6 -0
  222. package/icons/DuplicateJob.d.ts +2 -0
  223. package/icons/DuplicateJob.js +6 -0
  224. package/icons/DuplicateRole.d.ts +2 -0
  225. package/icons/DuplicateRole.js +6 -0
  226. package/icons/Duration.d.ts +2 -0
  227. package/icons/Duration.js +6 -0
  228. package/icons/Edit.d.ts +1 -1
  229. package/icons/Edit.js +2 -2
  230. package/icons/EditSchedule.d.ts +2 -0
  231. package/icons/EditSchedule.js +6 -0
  232. package/icons/Email.d.ts +1 -1
  233. package/icons/Email.js +2 -2
  234. package/icons/EndDate.d.ts +2 -0
  235. package/icons/EndDate.js +6 -0
  236. package/icons/EndDateFlag.d.ts +2 -0
  237. package/icons/EndDateFlag.js +6 -0
  238. package/icons/Error.d.ts +2 -0
  239. package/icons/Error.js +6 -0
  240. package/icons/ErrorCircle.d.ts +1 -1
  241. package/icons/ErrorCircle.js +2 -2
  242. package/icons/Event.d.ts +2 -0
  243. package/icons/Event.js +6 -0
  244. package/icons/Expand.d.ts +2 -0
  245. package/icons/Expand.js +6 -0
  246. package/icons/ExpandLess.d.ts +1 -1
  247. package/icons/ExpandLess.js +2 -2
  248. package/icons/ExpandMore.d.ts +1 -1
  249. package/icons/ExpandMore.js +2 -2
  250. package/icons/Explore.d.ts +2 -0
  251. package/icons/Explore.js +6 -0
  252. package/icons/Favorite.d.ts +2 -0
  253. package/icons/Favorite.js +6 -0
  254. package/icons/File.d.ts +2 -0
  255. package/icons/File.js +6 -0
  256. package/icons/FilterAdd.d.ts +2 -0
  257. package/icons/FilterAdd.js +6 -0
  258. package/icons/FilterClear.d.ts +2 -0
  259. package/icons/FilterClear.js +6 -0
  260. package/icons/FilterList.d.ts +1 -1
  261. package/icons/FilterList.js +2 -2
  262. package/icons/FilterSelect.d.ts +2 -0
  263. package/icons/FilterSelect.js +6 -0
  264. package/icons/FindMatch.d.ts +2 -0
  265. package/icons/FindMatch.js +6 -0
  266. package/icons/Flag.d.ts +2 -0
  267. package/icons/Flag.js +6 -0
  268. package/icons/Folder.d.ts +1 -1
  269. package/icons/Folder.js +2 -2
  270. package/icons/FolderOpen.d.ts +2 -0
  271. package/icons/FolderOpen.js +6 -0
  272. package/icons/FolderSelected.d.ts +2 -0
  273. package/icons/FolderSelected.js +6 -0
  274. package/icons/ForamteListNumbered.d.ts +2 -0
  275. package/icons/ForamteListNumbered.js +6 -0
  276. package/icons/FormatBold.d.ts +2 -0
  277. package/icons/FormatBold.js +6 -0
  278. package/icons/FormatItalics.d.ts +2 -0
  279. package/icons/FormatItalics.js +6 -0
  280. package/icons/FormatUnderline.d.ts +2 -0
  281. package/icons/FormatUnderline.js +6 -0
  282. package/icons/FormateListPoints.d.ts +2 -0
  283. package/icons/FormateListPoints.js +6 -0
  284. package/icons/Fullscreen.d.ts +2 -0
  285. package/icons/Fullscreen.js +6 -0
  286. package/icons/FullscreenExit.d.ts +2 -0
  287. package/icons/FullscreenExit.js +6 -0
  288. package/icons/Group.d.ts +2 -0
  289. package/icons/Group.js +6 -0
  290. package/icons/Help.d.ts +1 -1
  291. package/icons/Help.js +2 -2
  292. package/icons/History.d.ts +2 -0
  293. package/icons/History.js +6 -0
  294. package/icons/Hyperink.d.ts +2 -0
  295. package/icons/Hyperink.js +6 -0
  296. package/icons/Icon.module.css.js +27 -40
  297. package/icons/Icon.module.css.json +1 -1
  298. package/icons/Icon.types.d.ts +3 -9
  299. package/icons/Indicator.d.ts +2 -0
  300. package/icons/Indicator.js +6 -0
  301. package/icons/Info.d.ts +1 -1
  302. package/icons/Info.js +2 -2
  303. package/icons/Inheritance.d.ts +2 -0
  304. package/icons/Inheritance.js +6 -0
  305. package/icons/KeyId.d.ts +2 -0
  306. package/icons/KeyId.js +6 -0
  307. package/icons/KeyboardArrowDown.d.ts +1 -1
  308. package/icons/KeyboardArrowDown.js +2 -2
  309. package/icons/KeyboardArrowLeft.d.ts +2 -0
  310. package/icons/KeyboardArrowLeft.js +6 -0
  311. package/icons/KeyboardArrowRight.d.ts +2 -0
  312. package/icons/KeyboardArrowRight.js +6 -0
  313. package/icons/KeyboardArrowUp.d.ts +1 -1
  314. package/icons/KeyboardArrowUp.js +2 -2
  315. package/icons/Lightbulb.d.ts +2 -0
  316. package/icons/Lightbulb.js +6 -0
  317. package/icons/Link.d.ts +2 -0
  318. package/icons/Link.js +6 -0
  319. package/icons/LocationOn.d.ts +2 -0
  320. package/icons/LocationOn.js +6 -0
  321. package/icons/Lock.d.ts +2 -0
  322. package/icons/Lock.js +6 -0
  323. package/icons/LockOpen.d.ts +2 -0
  324. package/icons/LockOpen.js +6 -0
  325. package/icons/Login.d.ts +2 -0
  326. package/icons/Login.js +6 -0
  327. package/icons/Logout.d.ts +1 -1
  328. package/icons/Logout.js +2 -2
  329. package/icons/LookupType.d.ts +2 -0
  330. package/icons/LookupType.js +6 -0
  331. package/icons/LostMerge.d.ts +2 -0
  332. package/icons/LostMerge.js +6 -0
  333. package/icons/ManageAgent.d.ts +2 -0
  334. package/icons/ManageAgent.js +6 -0
  335. package/icons/MatchRule.d.ts +2 -0
  336. package/icons/MatchRule.js +6 -0
  337. package/icons/Menu.d.ts +1 -1
  338. package/icons/Menu.js +2 -2
  339. package/icons/Merge.d.ts +2 -0
  340. package/icons/Merge.js +6 -0
  341. package/icons/Mic.d.ts +2 -0
  342. package/icons/Mic.js +6 -0
  343. package/icons/MlModel.d.ts +2 -0
  344. package/icons/MlModel.js +6 -0
  345. package/icons/MoreHoriz.d.ts +2 -0
  346. package/icons/MoreHoriz.js +6 -0
  347. package/icons/MoreVert.d.ts +2 -0
  348. package/icons/MoreVert.js +6 -0
  349. package/icons/Move.d.ts +2 -0
  350. package/icons/Move.js +6 -0
  351. package/icons/NestedAttribute.d.ts +2 -0
  352. package/icons/NestedAttribute.js +6 -0
  353. package/icons/NetworkNode.d.ts +2 -0
  354. package/icons/NetworkNode.js +6 -0
  355. package/icons/Next.d.ts +2 -0
  356. package/icons/Next.js +6 -0
  357. package/icons/NotAMatch.d.ts +2 -0
  358. package/icons/NotAMatch.js +6 -0
  359. package/icons/NotMatched.d.ts +2 -0
  360. package/icons/NotMatched.js +6 -0
  361. package/icons/NotMatchesSet.d.ts +2 -0
  362. package/icons/NotMatchesSet.js +6 -0
  363. package/icons/NotificationManagement.d.ts +2 -0
  364. package/icons/NotificationManagement.js +6 -0
  365. package/icons/Notifications.d.ts +1 -1
  366. package/icons/Notifications.js +2 -2
  367. package/icons/NotificationsActive.d.ts +2 -0
  368. package/icons/NotificationsActive.js +6 -0
  369. package/icons/OpenDrawer.d.ts +2 -0
  370. package/icons/OpenDrawer.js +6 -0
  371. package/icons/OvMarker.d.ts +2 -0
  372. package/icons/OvMarker.js +6 -0
  373. package/icons/PasswordExpired.d.ts +2 -0
  374. package/icons/PasswordExpired.js +6 -0
  375. package/icons/Pause.d.ts +2 -0
  376. package/icons/Pause.js +6 -0
  377. package/icons/People.d.ts +1 -1
  378. package/icons/People.js +2 -2
  379. package/icons/PermIdentity.d.ts +2 -0
  380. package/icons/PermIdentity.js +6 -0
  381. package/icons/Person.d.ts +1 -1
  382. package/icons/Person.js +2 -2
  383. package/icons/Pin.d.ts +2 -0
  384. package/icons/Pin.js +6 -0
  385. package/icons/Play.d.ts +2 -0
  386. package/icons/Play.js +6 -0
  387. package/icons/Poll.d.ts +2 -0
  388. package/icons/Poll.js +6 -0
  389. package/icons/PotentialMatches.d.ts +2 -0
  390. package/icons/PotentialMatches.js +6 -0
  391. package/icons/Profile.d.ts +2 -0
  392. package/icons/Profile.js +6 -0
  393. package/icons/Profiles.d.ts +2 -0
  394. package/icons/Profiles.js +6 -0
  395. package/icons/QueryBuilder.d.ts +2 -0
  396. package/icons/QueryBuilder.js +6 -0
  397. package/icons/RadioChecked.d.ts +2 -0
  398. package/icons/RadioChecked.js +6 -0
  399. package/icons/RadioUnchecked.d.ts +2 -0
  400. package/icons/RadioUnchecked.js +6 -0
  401. package/icons/Recommend.d.ts +2 -0
  402. package/icons/Recommend.js +6 -0
  403. package/icons/Recommended.d.ts +2 -0
  404. package/icons/Recommended.js +6 -0
  405. package/icons/ReferenceProfile.d.ts +2 -0
  406. package/icons/ReferenceProfile.js +6 -0
  407. package/icons/Refresh.d.ts +1 -1
  408. package/icons/Refresh.js +2 -2
  409. package/icons/RefreshDate.d.ts +2 -0
  410. package/icons/RefreshDate.js +6 -0
  411. package/icons/RelationsView.d.ts +2 -0
  412. package/icons/RelationsView.js +6 -0
  413. package/icons/Remove.d.ts +1 -1
  414. package/icons/Remove.js +2 -2
  415. package/icons/RemoveCircle.d.ts +2 -0
  416. package/icons/RemoveCircle.js +6 -0
  417. package/icons/Replay.d.ts +2 -0
  418. package/icons/Replay.js +6 -0
  419. package/icons/Required.d.ts +2 -0
  420. package/icons/Required.js +6 -0
  421. package/icons/RequiredOff.d.ts +2 -0
  422. package/icons/RequiredOff.js +6 -0
  423. package/icons/Reset.d.ts +2 -0
  424. package/icons/Reset.js +6 -0
  425. package/icons/ResetPassword.d.ts +2 -0
  426. package/icons/ResetPassword.js +6 -0
  427. package/icons/ResizeFacetSize.d.ts +2 -0
  428. package/icons/ResizeFacetSize.js +6 -0
  429. package/icons/Resume.d.ts +2 -0
  430. package/icons/Resume.js +6 -0
  431. package/icons/Review.d.ts +2 -0
  432. package/icons/Review.js +6 -0
  433. package/icons/Roles.d.ts +2 -0
  434. package/icons/Roles.js +6 -0
  435. package/icons/Save.d.ts +1 -1
  436. package/icons/Save.js +2 -2
  437. package/icons/Scope.d.ts +2 -0
  438. package/icons/Scope.js +6 -0
  439. package/icons/Search.d.ts +1 -1
  440. package/icons/Search.js +2 -2
  441. package/icons/SearchConnections.d.ts +2 -0
  442. package/icons/SearchConnections.js +6 -0
  443. package/icons/SearchGlobal.d.ts +2 -0
  444. package/icons/SearchGlobal.js +6 -0
  445. package/icons/Segments.d.ts +2 -0
  446. package/icons/Segments.js +6 -0
  447. package/icons/SelectedNode.d.ts +2 -0
  448. package/icons/SelectedNode.js +6 -0
  449. package/icons/Send.d.ts +2 -0
  450. package/icons/Send.js +6 -0
  451. package/icons/Settings.d.ts +1 -1
  452. package/icons/Settings.js +2 -2
  453. package/icons/Share.d.ts +1 -1
  454. package/icons/Share.js +2 -2
  455. package/icons/ShoppingCart.d.ts +2 -0
  456. package/icons/ShoppingCart.js +6 -0
  457. package/icons/ShowGraph.d.ts +2 -0
  458. package/icons/ShowGraph.js +6 -0
  459. package/icons/ShowPanel.d.ts +2 -0
  460. package/icons/ShowPanel.js +6 -0
  461. package/icons/ShowhideColumns.d.ts +2 -0
  462. package/icons/ShowhideColumns.js +6 -0
  463. package/icons/SideNav.d.ts +2 -0
  464. package/icons/SideNav.js +6 -0
  465. package/icons/SimpleAttribute.d.ts +2 -0
  466. package/icons/SimpleAttribute.js +6 -0
  467. package/icons/Sort.d.ts +1 -1
  468. package/icons/Sort.js +2 -2
  469. package/icons/Sorting.d.ts +2 -0
  470. package/icons/Sorting.js +6 -0
  471. package/icons/Split.d.ts +2 -0
  472. package/icons/Split.js +6 -0
  473. package/icons/Star.d.ts +2 -0
  474. package/icons/Star.js +6 -0
  475. package/icons/StarSelected.d.ts +2 -0
  476. package/icons/StarSelected.js +6 -0
  477. package/icons/StartDate.d.ts +2 -0
  478. package/icons/StartDate.js +6 -0
  479. package/icons/StopJob.d.ts +2 -0
  480. package/icons/StopJob.js +6 -0
  481. package/icons/Style.d.ts +2 -0
  482. package/icons/Style.js +6 -0
  483. package/icons/Suggest.d.ts +2 -0
  484. package/icons/Suggest.js +6 -0
  485. package/icons/Survivorship.d.ts +2 -0
  486. package/icons/Survivorship.js +6 -0
  487. package/icons/Sync.d.ts +2 -0
  488. package/icons/Sync.js +6 -0
  489. package/icons/TaskList.d.ts +2 -0
  490. package/icons/TaskList.js +6 -0
  491. package/icons/ThumbDown.d.ts +2 -0
  492. package/icons/ThumbDown.js +6 -0
  493. package/icons/ThumbUp.d.ts +2 -0
  494. package/icons/ThumbUp.js +6 -0
  495. package/icons/Today.d.ts +2 -0
  496. package/icons/Today.js +6 -0
  497. package/icons/Training.d.ts +2 -0
  498. package/icons/Training.js +6 -0
  499. package/icons/TrainingBulb.d.ts +2 -0
  500. package/icons/TrainingBulb.js +6 -0
  501. package/icons/TrainingBulbReady.d.ts +2 -0
  502. package/icons/TrainingBulbReady.js +6 -0
  503. package/icons/TrainingContinue.d.ts +2 -0
  504. package/icons/TrainingContinue.js +6 -0
  505. package/icons/TrainingReady.d.ts +2 -0
  506. package/icons/TrainingReady.js +6 -0
  507. package/icons/Transform.d.ts +2 -0
  508. package/icons/Transform.js +6 -0
  509. package/icons/Tune.d.ts +2 -0
  510. package/icons/Tune.js +6 -0
  511. package/icons/Unmerge.d.ts +2 -0
  512. package/icons/Unmerge.js +6 -0
  513. package/icons/Unpublish.d.ts +2 -0
  514. package/icons/Unpublish.js +6 -0
  515. package/icons/Unshare.d.ts +2 -0
  516. package/icons/Unshare.js +6 -0
  517. package/icons/Up.d.ts +2 -0
  518. package/icons/Up.js +6 -0
  519. package/icons/Upload.d.ts +1 -1
  520. package/icons/Upload.js +2 -2
  521. package/icons/UsageApp.d.ts +2 -0
  522. package/icons/UsageApp.js +6 -0
  523. package/icons/Users.d.ts +2 -0
  524. package/icons/Users.js +6 -0
  525. package/icons/VerticalAlign.d.ts +2 -0
  526. package/icons/VerticalAlign.js +6 -0
  527. package/icons/ViewCards.d.ts +2 -0
  528. package/icons/ViewCards.js +6 -0
  529. package/icons/ViewChart.d.ts +2 -0
  530. package/icons/ViewChart.js +6 -0
  531. package/icons/ViewColumn.d.ts +2 -0
  532. package/icons/ViewColumn.js +6 -0
  533. package/icons/ViewHierarchy.d.ts +2 -0
  534. package/icons/ViewHierarchy.js +6 -0
  535. package/icons/ViewList.d.ts +2 -0
  536. package/icons/ViewList.js +6 -0
  537. package/icons/ViewMap.d.ts +2 -0
  538. package/icons/ViewMap.js +6 -0
  539. package/icons/ViewTable.d.ts +2 -0
  540. package/icons/ViewTable.js +6 -0
  541. package/icons/Visibility.d.ts +1 -1
  542. package/icons/Visibility.js +2 -2
  543. package/icons/VisibilityOff.d.ts +1 -1
  544. package/icons/VisibilityOff.js +2 -2
  545. package/icons/Warning.d.ts +1 -1
  546. package/icons/Warning.js +2 -2
  547. package/icons/Working.d.ts +2 -0
  548. package/icons/Working.js +6 -0
  549. package/icons/index.d.ts +189 -2
  550. package/icons/index.js +377 -3
  551. package/package.json +4 -10
  552. package/packages/design/charts.d.ts +1 -0
  553. package/packages/design/charts.js +1 -0
  554. package/packages/design/icons.d.ts +1 -0
  555. package/packages/design/icons.js +1 -0
  556. package/packages/design/utils.d.ts +1 -0
  557. package/packages/design/utils.js +1 -0
  558. package/utils/classNames.d.ts +5 -3
  559. package/utils/classNames.js +6 -6
  560. package/utils/index.d.ts +2 -0
  561. package/utils/index.js +2 -0
  562. package/utils/types.d.ts +11 -0
  563. package/utils/types.js +1 -0
  564. /package/packages/design/{index.d.ts → components.d.ts} +0 -0
  565. /package/packages/design/{index.js → components.js} +0 -0
@@ -0,0 +1,4 @@
1
+ import * as echartsCore from "echarts/core";
2
+ import type { ChartProps } from "./Chart.types";
3
+ export { echartsCore as echarts };
4
+ export declare const Chart: ({ option, renderer, height, loading, className, style, ...rest }: ChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,59 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { GridComponent, LegendComponent, TooltipComponent, } from "echarts/components";
3
+ import * as echartsCore from "echarts/core";
4
+ import { CanvasRenderer, SVGRenderer } from "echarts/renderers";
5
+ import { useEffect, useRef } from "react";
6
+ import { classNames } from "../../utils/classNames";
7
+ import styles from "./Chart.module.css";
8
+ import { buildTheme } from "./theme";
9
+ export { echartsCore as echarts };
10
+ echartsCore.use([
11
+ CanvasRenderer,
12
+ SVGRenderer,
13
+ TooltipComponent,
14
+ GridComponent,
15
+ LegendComponent,
16
+ ]);
17
+ const DEFAULT_HEIGHT = 300;
18
+ export const Chart = ({ option, renderer = "canvas", height = DEFAULT_HEIGHT, loading = false, className, style, ...rest }) => {
19
+ const containerRef = useRef(null);
20
+ const chartRef = useRef(null);
21
+ const rendererRef = useRef(renderer);
22
+ useEffect(() => {
23
+ const container = containerRef.current;
24
+ if (!container)
25
+ return;
26
+ const theme = buildTheme(container);
27
+ const chart = echartsCore.init(container, theme, {
28
+ renderer: rendererRef.current,
29
+ });
30
+ chartRef.current = chart;
31
+ const resizeObserver = new ResizeObserver(() => {
32
+ chart.resize();
33
+ });
34
+ resizeObserver.observe(container);
35
+ return () => {
36
+ resizeObserver.disconnect();
37
+ chart.dispose();
38
+ chartRef.current = null;
39
+ };
40
+ }, []);
41
+ useEffect(() => {
42
+ chartRef.current?.setOption(option);
43
+ }, [option]);
44
+ useEffect(() => {
45
+ if (!chartRef.current)
46
+ return;
47
+ if (loading) {
48
+ const maskColor = getComputedStyle(containerRef.current)
49
+ .getPropertyValue("--reltio-color-bg-white")
50
+ .trim();
51
+ chartRef.current.showLoading({ maskColor });
52
+ }
53
+ else {
54
+ chartRef.current.hideLoading();
55
+ }
56
+ }, [loading]);
57
+ const containerHeight = typeof height === "number" ? `${height}px` : height;
58
+ return (_jsx("div", { ref: containerRef, className: classNames(styles.root, className), style: { ...style, height: containerHeight }, ...rest }));
59
+ };
@@ -0,0 +1,2 @@
1
+ import json from './Chart.module.css.json';
2
+ export default json;
@@ -0,0 +1,8 @@
1
+ import styleInject from 'style-inject';
2
+ import json from './Chart.module.css.json';
3
+ styleInject(`
4
+ .Chart_root__L29wd {
5
+ width: 100%;
6
+ }
7
+ `);
8
+ export default json;
@@ -0,0 +1 @@
1
+ { "root": "Chart_root__L29wd" }
@@ -0,0 +1,24 @@
1
+ import type { EChartsOption } from "echarts";
2
+ import type { HtmlProps } from "../../utils/types";
3
+ export type ChartProps = HtmlProps<"div", {
4
+ /**
5
+ * ECharts option object defining the chart content.
6
+ * Passed directly to chart.setOption().
7
+ */
8
+ option: EChartsOption;
9
+ /**
10
+ * Rendering engine. Read once at mount — changes after mount are ignored.
11
+ * @default "canvas"
12
+ */
13
+ renderer?: "canvas" | "svg";
14
+ /**
15
+ * Height of the chart container. Number values are treated as pixels.
16
+ * @default 300
17
+ */
18
+ height?: number | string;
19
+ /**
20
+ * When true, shows the ECharts built-in loading indicator.
21
+ * @default false
22
+ */
23
+ loading?: boolean;
24
+ }>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Chart, echarts } from "./Chart";
2
+ export type { ChartProps } from "./Chart.types";
@@ -0,0 +1 @@
1
+ export { Chart, echarts } from "./Chart";
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Builds an ECharts theme object by reading --reltio-color-* CSS custom
3
+ * properties from the given DOM element. CSS custom properties inherit
4
+ * through the DOM tree, so the resolved values reflect the nearest
5
+ * ancestor's data-theme attribute (light or dark).
6
+ */
7
+ export declare function buildTheme(element: HTMLElement): {
8
+ color: string[];
9
+ backgroundColor: string;
10
+ title: {
11
+ textStyle: {
12
+ color: string;
13
+ };
14
+ };
15
+ legend: {
16
+ textStyle: {
17
+ color: string;
18
+ };
19
+ };
20
+ tooltip: {
21
+ backgroundColor: string;
22
+ borderColor: string;
23
+ textStyle: {
24
+ color: string;
25
+ };
26
+ };
27
+ categoryAxis: {
28
+ axisLine: {
29
+ lineStyle: {
30
+ color: string;
31
+ };
32
+ };
33
+ axisTick: {
34
+ lineStyle: {
35
+ color: string;
36
+ };
37
+ };
38
+ axisLabel: {
39
+ color: string;
40
+ };
41
+ splitLine: {
42
+ lineStyle: {
43
+ color: string;
44
+ };
45
+ };
46
+ };
47
+ valueAxis: {
48
+ axisLine: {
49
+ lineStyle: {
50
+ color: string;
51
+ };
52
+ };
53
+ axisTick: {
54
+ lineStyle: {
55
+ color: string;
56
+ };
57
+ };
58
+ axisLabel: {
59
+ color: string;
60
+ };
61
+ splitLine: {
62
+ lineStyle: {
63
+ color: string;
64
+ };
65
+ };
66
+ };
67
+ };
@@ -0,0 +1,85 @@
1
+ const TOKEN_NAMES = [
2
+ "primary",
3
+ "success",
4
+ "warning",
5
+ "orange",
6
+ "pink",
7
+ "purple",
8
+ "aqua-font",
9
+ "lime",
10
+ "error",
11
+ ];
12
+ function getToken(styles, name) {
13
+ return styles.getPropertyValue(`--reltio-color-${name}`).trim();
14
+ }
15
+ /**
16
+ * Builds an ECharts theme object by reading --reltio-color-* CSS custom
17
+ * properties from the given DOM element. CSS custom properties inherit
18
+ * through the DOM tree, so the resolved values reflect the nearest
19
+ * ancestor's data-theme attribute (light or dark).
20
+ */
21
+ export function buildTheme(element) {
22
+ const styles = getComputedStyle(element);
23
+ const colorPalette = TOKEN_NAMES.map((name) => getToken(styles, name));
24
+ return {
25
+ color: colorPalette,
26
+ backgroundColor: "transparent",
27
+ title: {
28
+ textStyle: {
29
+ color: getToken(styles, "text"),
30
+ },
31
+ },
32
+ legend: {
33
+ textStyle: {
34
+ color: getToken(styles, "text-secondary"),
35
+ },
36
+ },
37
+ tooltip: {
38
+ backgroundColor: getToken(styles, "bg-tooltip"),
39
+ borderColor: getToken(styles, "border-2"),
40
+ textStyle: {
41
+ color: getToken(styles, "text-forced-white"),
42
+ },
43
+ },
44
+ categoryAxis: {
45
+ axisLine: {
46
+ lineStyle: {
47
+ color: getToken(styles, "border-2"),
48
+ },
49
+ },
50
+ axisTick: {
51
+ lineStyle: {
52
+ color: getToken(styles, "border-2"),
53
+ },
54
+ },
55
+ axisLabel: {
56
+ color: getToken(styles, "text-secondary"),
57
+ },
58
+ splitLine: {
59
+ lineStyle: {
60
+ color: getToken(styles, "border-1"),
61
+ },
62
+ },
63
+ },
64
+ valueAxis: {
65
+ axisLine: {
66
+ lineStyle: {
67
+ color: getToken(styles, "border-2"),
68
+ },
69
+ },
70
+ axisTick: {
71
+ lineStyle: {
72
+ color: getToken(styles, "border-2"),
73
+ },
74
+ },
75
+ axisLabel: {
76
+ color: getToken(styles, "text-secondary"),
77
+ },
78
+ splitLine: {
79
+ lineStyle: {
80
+ color: getToken(styles, "border-1"),
81
+ },
82
+ },
83
+ },
84
+ };
85
+ }
@@ -0,0 +1,2 @@
1
+ import type { LineChartProps } from "./LineChart.types";
2
+ export declare const LineChart: ({ data, xKey, series, height, units, loading, error, className, ...rest }: LineChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,76 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { LineChart as EChartsLine } from "echarts/charts";
3
+ import { Chart, echarts } from "../../charts/Chart";
4
+ import { classNames } from "../../utils/classNames";
5
+ import styles from "./LineChart.module.css";
6
+ echarts.use([EChartsLine]);
7
+ const DEFAULT_HEIGHT = 300;
8
+ const EMPTY_GRID_OPTION = {
9
+ xAxis: { type: "category" },
10
+ yAxis: {
11
+ type: "value",
12
+ min: 0,
13
+ max: 1000,
14
+ splitLine: { show: true },
15
+ },
16
+ series: [],
17
+ grid: {
18
+ left: "3%",
19
+ right: "4%",
20
+ bottom: "3%",
21
+ containLabel: true,
22
+ },
23
+ };
24
+ function formatWithUnits(value, units) {
25
+ if (!units)
26
+ return `${value}`;
27
+ return `${value} ${units}`;
28
+ }
29
+ function buildLineOption(data, xKey, series, units) {
30
+ const xLabels = typeof xKey === "function"
31
+ ? data.map(xKey)
32
+ : data.map((d) => d[xKey]);
33
+ return {
34
+ xAxis: {
35
+ type: "category",
36
+ data: xLabels,
37
+ },
38
+ yAxis: {
39
+ type: "value",
40
+ ...(units && {
41
+ axisLabel: {
42
+ formatter: (value) => formatWithUnits(value, units),
43
+ },
44
+ }),
45
+ },
46
+ series: series.map((s) => ({
47
+ type: "line",
48
+ name: s.name ?? s.key,
49
+ data: data.map((d) => d[s.key]),
50
+ })),
51
+ tooltip: {
52
+ trigger: "axis",
53
+ ...(units && {
54
+ valueFormatter: (value) => formatWithUnits(value, units),
55
+ }),
56
+ },
57
+ legend: {
58
+ show: series.length > 1,
59
+ bottom: 0,
60
+ },
61
+ grid: {
62
+ left: "3%",
63
+ right: "4%",
64
+ bottom: series.length > 1 ? "10%" : "3%",
65
+ containLabel: true,
66
+ },
67
+ };
68
+ }
69
+ export const LineChart = ({ data, xKey, series, height = DEFAULT_HEIGHT, units, loading = false, error, className, ...rest }) => {
70
+ const hasData = Array.isArray(data) && data.length > 0;
71
+ const option = hasData && !error
72
+ ? buildLineOption(data, xKey, series, units)
73
+ : EMPTY_GRID_OPTION;
74
+ const overlay = error ? (_jsx("div", { className: classNames(styles.overlay, styles.errorOverlay), children: error })) : !hasData && !loading ? (_jsx("div", { className: styles.overlay, children: "No data" })) : null;
75
+ return (_jsxs("div", { className: classNames(styles.root, className), ...rest, children: [overlay, _jsx(Chart, { option: option, height: height, loading: loading })] }));
76
+ };
@@ -0,0 +1,2 @@
1
+ import json from './LineChart.module.css.json';
2
+ export default json;
@@ -0,0 +1,25 @@
1
+ import styleInject from 'style-inject';
2
+ import json from './LineChart.module.css.json';
3
+ styleInject(`
4
+ .LineChart_root__L29wd {
5
+ position: relative;
6
+ width: 100%;
7
+ }
8
+
9
+ .LineChart_overlay__L29wd {
10
+ position: absolute;
11
+ inset: 0;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ color: var(--reltio-color-text-secondary);
16
+ font-size: 14px;
17
+ z-index: 1;
18
+ pointer-events: none;
19
+ }
20
+
21
+ .LineChart_errorOverlay__L29wd {
22
+ color: var(--reltio-color-error-font);
23
+ }
24
+ `);
25
+ export default json;
@@ -0,0 +1 @@
1
+ { "root": "LineChart_root__L29wd", "overlay": "LineChart_overlay__L29wd", "errorOverlay": "LineChart_errorOverlay__L29wd" }
@@ -0,0 +1,38 @@
1
+ import type { HtmlProps } from "../../utils/types";
2
+ export type LineChartSeries = {
3
+ /** Data object key to plot as Y values */
4
+ key: string;
5
+ /** Legend label. Defaults to `key` if not provided. */
6
+ name?: string;
7
+ };
8
+ export type LineChartProps = HtmlProps<"div", {
9
+ /** Array of data objects. Each object represents one data point. */
10
+ data?: Record<string, unknown>[];
11
+ /**
12
+ * Determines X-axis labels.
13
+ * - **string**: property name for direct value lookup
14
+ * - **function**: custom extraction and formatting in one step
15
+ */
16
+ xKey: string | ((item: Record<string, unknown>) => string);
17
+ /** Data series to plot. Each entry renders one line. */
18
+ series: LineChartSeries[];
19
+ /**
20
+ * Height of the chart container. Number values are treated as pixels.
21
+ * @default 300
22
+ */
23
+ height?: number | string;
24
+ /**
25
+ * Shows the ECharts built-in loading overlay.
26
+ * - When `data` is empty: loading overlay on empty grid
27
+ * - When `data` is present: loading overlay on rendered chart
28
+ * @default false
29
+ */
30
+ loading?: boolean;
31
+ /**
32
+ * Unit suffix appended to Y-axis labels and tooltip values.
33
+ * Examples: "ms", "%", " records"
34
+ */
35
+ units?: string;
36
+ /** Error message. When set, replaces the chart with centered error text. */
37
+ error?: string;
38
+ }>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export { LineChart } from "./LineChart";
2
+ export type { LineChartProps, LineChartSeries } from "./LineChart.types";
@@ -0,0 +1 @@
1
+ export { LineChart } from "./LineChart";
@@ -0,0 +1 @@
1
+ export * from "./LineChart";
@@ -0,0 +1 @@
1
+ export * from "./LineChart";
@@ -1,7 +1,6 @@
1
1
  import type { AssistantLoaderProps } from "./AssistantLoader.types";
2
2
  /**
3
3
  * Displays a standardized loading indicator for assistant responses using a GIF animation.
4
- * Size is controlled via the `--reltio-assistant-loader-size` CSS variable (default: 32px).
5
4
  * Includes accessibility attributes (aria-busy, aria-label, role="status").
6
5
  */
7
- export declare const AssistantLoader: ({ className, ...rest }: AssistantLoaderProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const AssistantLoader: ({ className, size, style, ...rest }: AssistantLoaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +1,18 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { classNames } from "../../utils/classNames";
3
3
  import styles from "./AssistantLoader.module.css";
4
- const LOADING_GIF_SRC = "/icons/loading.gif";
4
+ const LOADING_GIF_SRC = "https://reltio.design/icons/loading.gif";
5
5
  const DEFAULT_LABEL = "thinking";
6
6
  /**
7
7
  * Displays a standardized loading indicator for assistant responses using a GIF animation.
8
- * Size is controlled via the `--reltio-assistant-loader-size` CSS variable (default: 32px).
9
8
  * Includes accessibility attributes (aria-busy, aria-label, role="status").
10
9
  */
11
- export const AssistantLoader = ({ className, ...rest }) => {
10
+ export const AssistantLoader = ({ className, size, style, ...rest }) => {
11
+ const rootStyle = {
12
+ ...style,
13
+ "--size": size ?? "32px",
14
+ };
12
15
  return (
13
16
  // biome-ignore lint/a11y/useSemanticElements: status role is correct for loading placeholder; output is for calculation results
14
- _jsxs("div", { className: classNames(styles.root, className), "aria-busy": "true", "aria-label": DEFAULT_LABEL, role: "status", ...rest, children: [_jsx("img", { src: LOADING_GIF_SRC, alt: "", className: styles.indicator, "aria-hidden": "true" }), _jsx("div", { className: classNames(styles.dotFlashing), "aria-hidden": "true" })] }));
17
+ _jsxs("div", { className: classNames(styles.root, className), "aria-busy": "true", "aria-label": DEFAULT_LABEL, role: "status", style: rootStyle, ...rest, children: [_jsx("img", { src: LOADING_GIF_SRC, alt: "", className: classNames(styles.indicator), "aria-hidden": "true" }), _jsx("div", { className: classNames(styles.dotFlashing), "aria-hidden": "true" })] }));
15
18
  };
@@ -1,33 +1,7 @@
1
1
  import styleInject from 'style-inject';
2
2
  import json from './AssistantLoader.module.css.json';
3
3
  styleInject(`
4
- /* CSS Custom Properties - All defined on .root with --reltio-assistant-loader- prefix */
5
- ._root_lj6wo_1 {
6
- --reltio-assistant-loader-size: 32px;
7
-
8
- /* Dot dimensions scale with size */
9
- --reltio-assistant-loader-dot-size: calc(
10
- var(--reltio-assistant-loader-size, 32px) *
11
- 0.25
12
- );
13
- --reltio-assistant-loader-dot-radius: calc(
14
- var(--reltio-assistant-loader-size, 32px) *
15
- 0.15625
16
- );
17
- --reltio-assistant-loader-dot-color: #8d8dc8;
18
- --reltio-assistant-loader-dot-color-dimmed: rgba(152, 128, 255, 0.2);
19
- --reltio-assistant-loader-dot-gap: calc(
20
- var(--reltio-assistant-loader-size, 32px) *
21
- 0.375
22
- );
23
- --reltio-assistant-loader-dot-margin-left: calc(
24
- var(--reltio-assistant-loader-size, 32px) *
25
- 0.625
26
- );
27
- --reltio-assistant-loader-dot-duration: 1s;
28
- --reltio-assistant-loader-dot-delay-middle: 0.5s;
29
- --reltio-assistant-loader-dot-delay-last: 1s;
30
-
4
+ .AssistantLoader_root__L29wd {
31
5
  position: relative;
32
6
  display: inline-flex;
33
7
  align-items: center;
@@ -35,65 +9,59 @@ styleInject(`
35
9
  box-sizing: border-box;
36
10
  }
37
11
 
38
- /* GIF container - uses CSS variable for size with fallback */
39
- ._indicator_lj6wo_36 {
40
- width: var(--reltio-assistant-loader-size, 32px);
41
- height: var(--reltio-assistant-loader-size, 32px);
12
+ .AssistantLoader_indicator__L29wd {
13
+ width: var(--size);
14
+ height: var(--size);
42
15
  display: block;
43
16
  object-fit: contain;
44
17
  }
45
18
 
46
- /* Dot flashing indicator - uses CSS variables from .root */
47
- ._dotFlashing_lj6wo_44 {
19
+ .AssistantLoader_dotFlashing__L29wd {
48
20
  position: absolute;
49
- left: calc(
50
- var(--reltio-assistant-loader-size, 32px) +
51
- var(--reltio-assistant-loader-dot-margin-left, 20px)
52
- );
21
+ left: calc(var(--size) * 1.625);
53
22
  bottom: 20%;
54
23
  transform: translateY(50%);
55
- width: var(--reltio-assistant-loader-dot-size, 8px);
56
- height: var(--reltio-assistant-loader-dot-size, 8px);
57
- border-radius: var(--reltio-assistant-loader-dot-radius, 5px);
58
- background-color: var(--reltio-assistant-loader-dot-color, #8d8dc8);
59
- animation: _dotFlashing_lj6wo_44 var(--reltio-assistant-loader-dot-duration, 1s)
60
- infinite linear alternate;
61
- animation-delay: var(--reltio-assistant-loader-dot-delay-middle, 0.5s);
24
+ width: calc(var(--size) * 0.25);
25
+ height: calc(var(--size) * 0.25);
26
+ border-radius: calc(var(--size) * 0.15625);
27
+ background-color: var(--reltio-color-primary-soft);
28
+ animation: AssistantLoader_dotFlashing__L29wd 1s infinite linear alternate;
29
+ animation-delay: 0.5s;
62
30
  }
63
31
 
64
- ._dotFlashing_lj6wo_44::before,
65
- ._dotFlashing_lj6wo_44::after {
32
+ .AssistantLoader_dotFlashing__L29wd::before,
33
+ .AssistantLoader_dotFlashing__L29wd::after {
66
34
  content: "";
67
35
  position: absolute;
68
36
  top: 0;
69
37
  display: block;
70
- width: var(--reltio-assistant-loader-dot-size, 8px);
71
- height: var(--reltio-assistant-loader-dot-size, 8px);
72
- border-radius: var(--reltio-assistant-loader-dot-radius, 5px);
73
- background-color: var(--reltio-assistant-loader-dot-color, #8d8dc8);
74
- animation: _dotFlashing_lj6wo_44 var(--reltio-assistant-loader-dot-duration, 1s)
75
- infinite alternate;
38
+ width: calc(var(--size) * 0.25);
39
+ height: calc(var(--size) * 0.25);
40
+ border-radius: calc(var(--size) * 0.15625);
41
+ background-color: var(--reltio-color-primary-soft);
42
+ animation: AssistantLoader_dotFlashing__L29wd 1s infinite alternate;
76
43
  }
77
44
 
78
- ._dotFlashing_lj6wo_44::before {
79
- left: calc(-1 * var(--reltio-assistant-loader-dot-gap, 12px));
45
+ .AssistantLoader_dotFlashing__L29wd::before {
46
+ left: calc(var(--size) * -0.375);
80
47
  animation-delay: 0s;
81
48
  }
82
49
 
83
- ._dotFlashing_lj6wo_44::after {
84
- left: var(--reltio-assistant-loader-dot-gap, 12px);
85
- animation-delay: var(--reltio-assistant-loader-dot-delay-last, 1s);
50
+ .AssistantLoader_dotFlashing__L29wd::after {
51
+ left: calc(var(--size) * 0.375);
52
+ animation-delay: 1s;
86
53
  }
87
54
 
88
- @keyframes _dotFlashing_lj6wo_44 {
55
+ @keyframes AssistantLoader_dotFlashing__L29wd {
89
56
  0% {
90
- background-color: var(--reltio-assistant-loader-dot-color, #8d8dc8);
57
+ background-color: var(--reltio-color-primary-soft);
91
58
  }
92
59
  50%,
93
60
  100% {
94
- background-color: var(
95
- --reltio-assistant-loader-dot-color-dimmed,
96
- rgba(152, 128, 255, 0.2)
61
+ background-color: color-mix(
62
+ in srgb,
63
+ var(--reltio-color-primary-soft) 20%,
64
+ transparent
97
65
  );
98
66
  }
99
67
  }
@@ -1 +1 @@
1
- { "root": "_root_lj6wo_1", "indicator": "_indicator_lj6wo_36", "dotFlashing": "_dotFlashing_lj6wo_44" }
1
+ { "root": "AssistantLoader_root__L29wd", "indicator": "AssistantLoader_indicator__L29wd", "dotFlashing": "AssistantLoader_dotFlashing__L29wd" }
@@ -1,16 +1,8 @@
1
- import type React from "react";
1
+ import type { HtmlProps } from "../../utils/types";
2
2
  /**
3
3
  * Props for the AssistantLoader component
4
4
  */
5
- export type AssistantLoaderProps = {
6
- /**
7
- * Additional CSS class names
8
- */
9
- className?: string;
10
- /**
11
- * Inline styles (e.g. for CSS variable overrides)
12
- */
13
- style?: React.CSSProperties & {
14
- "--reltio-assistant-loader-size"?: string;
15
- };
16
- } & Omit<React.ComponentPropsWithoutRef<"div">, "children" | "className" | "style">;
5
+ export type AssistantLoaderProps = HtmlProps<"div", {
6
+ /** Overall size of the loader (e.g. "32px", "2rem", "100%"). Defaults to 32px. */
7
+ size?: string;
8
+ }>;
@@ -6,4 +6,4 @@ import type { ButtonProps } from "./Button.types";
6
6
  * (filled, outlined, text), color options (primary, secondary, inherited),
7
7
  * sizes, states, and can render as either a button or anchor element.
8
8
  */
9
- export declare const Button: ({ variant, color, size, disabled, fullWidth, children, className, onClick, href, type, "aria-label": ariaLabel, ...rest }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const Button: ({ variant, color, size, disabled, fullWidth, children, className, href, type, ...rest }: ButtonProps) => import("react/jsx-runtime").JSX.Element;