@aivenio/aquarium 1.18.0-rc1 → 1.18.0-rc3

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 (688) hide show
  1. package/dist/_variables.scss +1 -1
  2. package/dist/_variables_timescale.scss +1 -1
  3. package/dist/atoms.cjs +5 -4
  4. package/dist/atoms.mjs +5 -4
  5. package/dist/charts.cjs +2180 -0
  6. package/dist/charts.mjs +2073 -0
  7. package/dist/src/atoms/Checkbox/Checkbox.d.ts +1 -1
  8. package/dist/src/atoms/LineClamp/LineClamp.d.ts +1 -1
  9. package/dist/src/atoms/Popover/Popover.d.ts +2 -2
  10. package/dist/src/atoms/RadioButton/RadioButton.d.ts +1 -1
  11. package/dist/src/atoms/Select/Select.d.ts +1 -1
  12. package/dist/src/atoms/Switch/Switch.d.ts +1 -1
  13. package/dist/src/charts/Axis/Axis.d.ts +24 -0
  14. package/dist/src/charts/Axis/Axis.js +40 -0
  15. package/dist/src/charts/BarChart/BarChart.d.ts +12 -0
  16. package/dist/src/charts/BarChart/BarChart.js +39 -0
  17. package/dist/src/charts/Container/Container.d.ts +3 -0
  18. package/dist/src/charts/Container/Container.js +4 -0
  19. package/dist/src/charts/Grid/Grid.d.ts +3 -0
  20. package/dist/src/charts/Grid/Grid.js +4 -0
  21. package/dist/src/charts/Tooltip/Tooltip.d.ts +4 -0
  22. package/dist/src/charts/Tooltip/Tooltip.js +9 -0
  23. package/dist/src/charts/index.d.ts +7 -0
  24. package/dist/src/charts/index.js +8 -0
  25. package/dist/src/charts/lib/timeIntervals.d.ts +1 -0
  26. package/dist/src/charts/lib/timeIntervals.js +3 -0
  27. package/dist/src/charts/lib/utils.d.ts +6 -0
  28. package/dist/src/charts/lib/utils.js +33 -0
  29. package/dist/src/icons/capslock.js +11 -0
  30. package/dist/src/icons/index.d.ts +5 -3
  31. package/dist/src/icons/index.js +6 -4
  32. package/dist/src/icons/loading.js +4 -4
  33. package/dist/src/icons/pause.js +4 -4
  34. package/dist/src/icons/play.js +4 -4
  35. package/dist/src/icons/repeat.js +4 -4
  36. package/dist/src/icons/stop.js +4 -4
  37. package/dist/src/molecules/Box/Box.d.ts +28 -28
  38. package/dist/src/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  39. package/dist/src/molecules/Button/Button.d.ts +8 -8
  40. package/dist/src/molecules/Button/Button.js +2 -1
  41. package/dist/src/molecules/DataList/DataList.d.ts +1 -0
  42. package/dist/src/molecules/DataTable/DataTable.d.ts +1 -0
  43. package/dist/src/molecules/Icon/Icon.d.ts +2 -2
  44. package/dist/src/molecules/MultiInput/InputChip.d.ts +1 -1
  45. package/dist/src/molecules/Navigation/Navigation.d.ts +3 -3
  46. package/dist/src/molecules/Notification/Notification.d.ts +6 -0
  47. package/dist/src/molecules/Notification/Notification.js +88 -0
  48. package/dist/src/molecules/Notification/Notification.spec.d.ts +1 -0
  49. package/dist/src/molecules/Notification/Notification.spec.js +44 -0
  50. package/dist/src/molecules/Notification/types.d.ts +37 -0
  51. package/dist/src/molecules/Notification/types.js +6 -0
  52. package/dist/src/molecules/Popover/PopoverOverlay.d.ts +1 -1
  53. package/dist/src/molecules/Spacing/Spacing.d.ts +1 -1
  54. package/dist/src/molecules/Spacing/Spacing.js +1 -1
  55. package/dist/src/molecules/index.d.ts +1 -0
  56. package/dist/src/molecules/index.js +2 -1
  57. package/dist/src/utils/setupTests.js +16 -1
  58. package/dist/styles.css +37 -2
  59. package/dist/styles_timescaledb.css +37 -2
  60. package/dist/system.cjs +328 -208
  61. package/dist/system.mjs +315 -199
  62. package/dist/tsconfig.module.tsbuildinfo +1 -1
  63. package/dist/types/tailwindGenerated.d.ts +1 -1
  64. package/package.json +17 -12
  65. package/dist/aquarium-theme-aiven.css +0 -178
  66. package/dist/aquarium-theme-timescale.css +0 -178
  67. package/dist/src/icons/addColumnLeft.js +0 -11
  68. package/dist/src/icons/addColumnRight.d.ts +0 -9
  69. package/dist/src/icons/addColumnRight.js +0 -11
  70. package/dist/src/icons/addRowBottom.d.ts +0 -9
  71. package/dist/src/icons/addRowBottom.js +0 -11
  72. package/dist/src/icons/addRowTop.d.ts +0 -9
  73. package/dist/src/icons/addRowTop.js +0 -11
  74. package/dist/src/icons/addToArtifact.d.ts +0 -9
  75. package/dist/src/icons/addToArtifact.js +0 -11
  76. package/dist/src/icons/application.d.ts +0 -9
  77. package/dist/src/icons/application.js +0 -11
  78. package/dist/src/icons/arrowBottomLeft.d.ts +0 -9
  79. package/dist/src/icons/arrowBottomLeft.js +0 -11
  80. package/dist/src/icons/arrowBottomRight.d.ts +0 -9
  81. package/dist/src/icons/arrowBottomRight.js +0 -11
  82. package/dist/src/icons/arrowCircleRight1.d.ts +0 -9
  83. package/dist/src/icons/arrowCircleRight1.js +0 -11
  84. package/dist/src/icons/arrowDown.d.ts +0 -9
  85. package/dist/src/icons/arrowDown.js +0 -11
  86. package/dist/src/icons/arrowTopLeft.d.ts +0 -9
  87. package/dist/src/icons/arrowTopLeft.js +0 -11
  88. package/dist/src/icons/arrowTopRight.d.ts +0 -9
  89. package/dist/src/icons/arrowTopRight.js +0 -11
  90. package/dist/src/icons/arrowUp.d.ts +0 -9
  91. package/dist/src/icons/arrowUp.js +0 -11
  92. package/dist/src/icons/arrowsHorizontal.d.ts +0 -9
  93. package/dist/src/icons/arrowsHorizontal.js +0 -11
  94. package/dist/src/icons/arrowsVertical.d.ts +0 -9
  95. package/dist/src/icons/arrowsVertical.js +0 -11
  96. package/dist/src/icons/asterisk.d.ts +0 -9
  97. package/dist/src/icons/asterisk.js +0 -11
  98. package/dist/src/icons/barcode.d.ts +0 -9
  99. package/dist/src/icons/barcode.js +0 -11
  100. package/dist/src/icons/bold.d.ts +0 -9
  101. package/dist/src/icons/bold.js +0 -11
  102. package/dist/src/icons/bringData.d.ts +0 -9
  103. package/dist/src/icons/bringData.js +0 -11
  104. package/dist/src/icons/build.d.ts +0 -9
  105. package/dist/src/icons/build.js +0 -11
  106. package/dist/src/icons/calculator.d.ts +0 -9
  107. package/dist/src/icons/calculator.js +0 -11
  108. package/dist/src/icons/camera.d.ts +0 -9
  109. package/dist/src/icons/camera.js +0 -11
  110. package/dist/src/icons/cellTower.d.ts +0 -9
  111. package/dist/src/icons/cellTower.js +0 -11
  112. package/dist/src/icons/changes.d.ts +0 -9
  113. package/dist/src/icons/changes.js +0 -11
  114. package/dist/src/icons/circleArrowDown.d.ts +0 -9
  115. package/dist/src/icons/circleArrowDown.js +0 -11
  116. package/dist/src/icons/circleArrowLeft.d.ts +0 -9
  117. package/dist/src/icons/circleArrowLeft.js +0 -11
  118. package/dist/src/icons/circleArrowRight.d.ts +0 -9
  119. package/dist/src/icons/circleArrowRight.js +0 -11
  120. package/dist/src/icons/circleArrowUp.d.ts +0 -9
  121. package/dist/src/icons/circleArrowUp.js +0 -11
  122. package/dist/src/icons/citation.d.ts +0 -9
  123. package/dist/src/icons/citation.js +0 -11
  124. package/dist/src/icons/clean.d.ts +0 -9
  125. package/dist/src/icons/clean.js +0 -11
  126. package/dist/src/icons/collapseAll.d.ts +0 -9
  127. package/dist/src/icons/collapseAll.js +0 -11
  128. package/dist/src/icons/columnLayout.d.ts +0 -9
  129. package/dist/src/icons/columnLayout.js +0 -11
  130. package/dist/src/icons/comparison.d.ts +0 -9
  131. package/dist/src/icons/comparison.js +0 -11
  132. package/dist/src/icons/compass.d.ts +0 -9
  133. package/dist/src/icons/compass.js +0 -11
  134. package/dist/src/icons/compressed.d.ts +0 -9
  135. package/dist/src/icons/compressed.js +0 -11
  136. package/dist/src/icons/contrast.d.ts +0 -9
  137. package/dist/src/icons/contrast.js +0 -11
  138. package/dist/src/icons/control.d.ts +0 -9
  139. package/dist/src/icons/control.js +0 -11
  140. package/dist/src/icons/crown.d.ts +0 -9
  141. package/dist/src/icons/crown.js +0 -11
  142. package/dist/src/icons/cube.d.ts +0 -9
  143. package/dist/src/icons/cube.js +0 -11
  144. package/dist/src/icons/cubeAdd.d.ts +0 -9
  145. package/dist/src/icons/cubeAdd.js +0 -11
  146. package/dist/src/icons/cubeRemove.d.ts +0 -9
  147. package/dist/src/icons/cubeRemove.js +0 -11
  148. package/dist/src/icons/curvedRangeChart.d.ts +0 -9
  149. package/dist/src/icons/curvedRangeChart.js +0 -11
  150. package/dist/src/icons/cut.d.ts +0 -9
  151. package/dist/src/icons/cut.js +0 -11
  152. package/dist/src/icons/delta.d.ts +0 -9
  153. package/dist/src/icons/delta.js +0 -11
  154. package/dist/src/icons/deriveColumn.d.ts +0 -9
  155. package/dist/src/icons/deriveColumn.js +0 -11
  156. package/dist/src/icons/desktop.d.ts +0 -9
  157. package/dist/src/icons/desktop.js +0 -11
  158. package/dist/src/icons/diagnosis.d.ts +0 -9
  159. package/dist/src/icons/diagnosis.js +0 -11
  160. package/dist/src/icons/diagramTree.d.ts +0 -9
  161. package/dist/src/icons/diagramTree.js +0 -11
  162. package/dist/src/icons/directionLeft.d.ts +0 -9
  163. package/dist/src/icons/directionLeft.js +0 -11
  164. package/dist/src/icons/directionRight.d.ts +0 -9
  165. package/dist/src/icons/directionRight.js +0 -11
  166. package/dist/src/icons/disable.d.ts +0 -9
  167. package/dist/src/icons/disable.js +0 -11
  168. package/dist/src/icons/documentOpen.d.ts +0 -9
  169. package/dist/src/icons/documentOpen.js +0 -11
  170. package/dist/src/icons/documentShare.d.ts +0 -9
  171. package/dist/src/icons/documentShare.js +0 -11
  172. package/dist/src/icons/dollar.d.ts +0 -9
  173. package/dist/src/icons/dollar.js +0 -11
  174. package/dist/src/icons/draw.d.ts +0 -9
  175. package/dist/src/icons/draw.js +0 -11
  176. package/dist/src/icons/driveTime.d.ts +0 -9
  177. package/dist/src/icons/driveTime.js +0 -11
  178. package/dist/src/icons/eject.d.ts +0 -9
  179. package/dist/src/icons/eject.js +0 -11
  180. package/dist/src/icons/equals.d.ts +0 -9
  181. package/dist/src/icons/equals.js +0 -11
  182. package/dist/src/icons/eraser.d.ts +0 -9
  183. package/dist/src/icons/eraser.js +0 -11
  184. package/dist/src/icons/euro.d.ts +0 -9
  185. package/dist/src/icons/euro.js +0 -11
  186. package/dist/src/icons/exchange.d.ts +0 -9
  187. package/dist/src/icons/exchange.js +0 -11
  188. package/dist/src/icons/excludeRow.d.ts +0 -9
  189. package/dist/src/icons/excludeRow.js +0 -11
  190. package/dist/src/icons/eyeOn.d.ts +0 -9
  191. package/dist/src/icons/eyeOn.js +0 -11
  192. package/dist/src/icons/fastBackward.d.ts +0 -9
  193. package/dist/src/icons/fastBackward.js +0 -11
  194. package/dist/src/icons/fastForward.d.ts +0 -9
  195. package/dist/src/icons/fastForward.js +0 -11
  196. package/dist/src/icons/feed.d.ts +0 -9
  197. package/dist/src/icons/feed.js +0 -11
  198. package/dist/src/icons/feedSubscribed.d.ts +0 -9
  199. package/dist/src/icons/feedSubscribed.js +0 -11
  200. package/dist/src/icons/film.d.ts +0 -9
  201. package/dist/src/icons/film.js +0 -11
  202. package/dist/src/icons/filterKeep.d.ts +0 -9
  203. package/dist/src/icons/filterKeep.js +0 -11
  204. package/dist/src/icons/filterList.d.ts +0 -9
  205. package/dist/src/icons/filterList.js +0 -11
  206. package/dist/src/icons/filterOpen.d.ts +0 -9
  207. package/dist/src/icons/filterOpen.js +0 -11
  208. package/dist/src/icons/filterRemove.d.ts +0 -9
  209. package/dist/src/icons/filterRemove.js +0 -11
  210. package/dist/src/icons/flame.d.ts +0 -9
  211. package/dist/src/icons/flame.js +0 -11
  212. package/dist/src/icons/flash.d.ts +0 -9
  213. package/dist/src/icons/flash.js +0 -11
  214. package/dist/src/icons/flowBranch.d.ts +0 -9
  215. package/dist/src/icons/flowBranch.js +0 -11
  216. package/dist/src/icons/flowEnd.d.ts +0 -9
  217. package/dist/src/icons/flowEnd.js +0 -11
  218. package/dist/src/icons/flowLinear.d.ts +0 -9
  219. package/dist/src/icons/flowLinear.js +0 -11
  220. package/dist/src/icons/flowReview.d.ts +0 -9
  221. package/dist/src/icons/flowReview.js +0 -11
  222. package/dist/src/icons/flowReviewBranch.d.ts +0 -9
  223. package/dist/src/icons/flowReviewBranch.js +0 -11
  224. package/dist/src/icons/flows.d.ts +0 -9
  225. package/dist/src/icons/flows.js +0 -11
  226. package/dist/src/icons/folderOpen.d.ts +0 -9
  227. package/dist/src/icons/folderOpen.js +0 -11
  228. package/dist/src/icons/folderShared.d.ts +0 -9
  229. package/dist/src/icons/folderShared.js +0 -11
  230. package/dist/src/icons/folderSharedOpen.d.ts +0 -9
  231. package/dist/src/icons/folderSharedOpen.js +0 -11
  232. package/dist/src/icons/font.d.ts +0 -9
  233. package/dist/src/icons/font.js +0 -11
  234. package/dist/src/icons/fork.d.ts +0 -9
  235. package/dist/src/icons/fork.js +0 -11
  236. package/dist/src/icons/form.d.ts +0 -9
  237. package/dist/src/icons/form.js +0 -11
  238. package/dist/src/icons/fullCircle.d.ts +0 -9
  239. package/dist/src/icons/fullCircle.js +0 -11
  240. package/dist/src/icons/fullStackedChart.d.ts +0 -9
  241. package/dist/src/icons/fullStackedChart.js +0 -11
  242. package/dist/src/icons/fullscreen.d.ts +0 -9
  243. package/dist/src/icons/fullscreen.js +0 -11
  244. package/dist/src/icons/function.d.ts +0 -9
  245. package/dist/src/icons/function.js +0 -11
  246. package/dist/src/icons/ganttChart.d.ts +0 -9
  247. package/dist/src/icons/ganttChart.js +0 -11
  248. package/dist/src/icons/geolocation.d.ts +0 -9
  249. package/dist/src/icons/geolocation.js +0 -11
  250. package/dist/src/icons/geosearch.d.ts +0 -9
  251. package/dist/src/icons/geosearch.js +0 -11
  252. package/dist/src/icons/gitPush.d.ts +0 -9
  253. package/dist/src/icons/gitPush.js +0 -11
  254. package/dist/src/icons/gitRepo.d.ts +0 -9
  255. package/dist/src/icons/gitRepo.js +0 -11
  256. package/dist/src/icons/glass.d.ts +0 -9
  257. package/dist/src/icons/glass.js +0 -11
  258. package/dist/src/icons/graph.d.ts +0 -9
  259. package/dist/src/icons/graph.js +0 -11
  260. package/dist/src/icons/graphRemove.d.ts +0 -9
  261. package/dist/src/icons/graphRemove.js +0 -11
  262. package/dist/src/icons/greaterThan.d.ts +0 -9
  263. package/dist/src/icons/greaterThan.js +0 -11
  264. package/dist/src/icons/greaterThanOrEqualTo.d.ts +0 -9
  265. package/dist/src/icons/greaterThanOrEqualTo.js +0 -11
  266. package/dist/src/icons/grid.d.ts +0 -9
  267. package/dist/src/icons/grid.js +0 -11
  268. package/dist/src/icons/gridView.d.ts +0 -9
  269. package/dist/src/icons/gridView.js +0 -11
  270. package/dist/src/icons/groupObjects.d.ts +0 -9
  271. package/dist/src/icons/groupObjects.js +0 -11
  272. package/dist/src/icons/hand.d.ts +0 -9
  273. package/dist/src/icons/hand.js +0 -11
  274. package/dist/src/icons/handDown.d.ts +0 -9
  275. package/dist/src/icons/handDown.js +0 -11
  276. package/dist/src/icons/handLeft.d.ts +0 -9
  277. package/dist/src/icons/handLeft.js +0 -11
  278. package/dist/src/icons/handRight.d.ts +0 -9
  279. package/dist/src/icons/handRight.js +0 -11
  280. package/dist/src/icons/handUp.d.ts +0 -9
  281. package/dist/src/icons/handUp.js +0 -11
  282. package/dist/src/icons/header.d.ts +0 -9
  283. package/dist/src/icons/header.js +0 -11
  284. package/dist/src/icons/headerOne.d.ts +0 -9
  285. package/dist/src/icons/headerOne.js +0 -11
  286. package/dist/src/icons/headerTwo.d.ts +0 -9
  287. package/dist/src/icons/headerTwo.js +0 -11
  288. package/dist/src/icons/headset.d.ts +0 -9
  289. package/dist/src/icons/headset.js +0 -11
  290. package/dist/src/icons/heartBroken.d.ts +0 -9
  291. package/dist/src/icons/heartBroken.js +0 -11
  292. package/dist/src/icons/heatGrid.d.ts +0 -9
  293. package/dist/src/icons/heatGrid.js +0 -11
  294. package/dist/src/icons/heatmap.d.ts +0 -9
  295. package/dist/src/icons/heatmap.js +0 -11
  296. package/dist/src/icons/helperManagement.d.ts +0 -9
  297. package/dist/src/icons/helperManagement.js +0 -11
  298. package/dist/src/icons/highlight.d.ts +0 -9
  299. package/dist/src/icons/highlight.js +0 -11
  300. package/dist/src/icons/horizontalBarChart.d.ts +0 -9
  301. package/dist/src/icons/horizontalBarChart.js +0 -11
  302. package/dist/src/icons/horizontalBarChartAsc.d.ts +0 -9
  303. package/dist/src/icons/horizontalBarChartAsc.js +0 -11
  304. package/dist/src/icons/horizontalBarChartDesc.d.ts +0 -9
  305. package/dist/src/icons/horizontalBarChartDesc.js +0 -11
  306. package/dist/src/icons/horizontalDistribution.d.ts +0 -9
  307. package/dist/src/icons/horizontalDistribution.js +0 -11
  308. package/dist/src/icons/imageRotateLeft.d.ts +0 -9
  309. package/dist/src/icons/imageRotateLeft.js +0 -11
  310. package/dist/src/icons/imageRotateRight.d.ts +0 -9
  311. package/dist/src/icons/imageRotateRight.js +0 -11
  312. package/dist/src/icons/inboxFiltered.d.ts +0 -9
  313. package/dist/src/icons/inboxFiltered.js +0 -11
  314. package/dist/src/icons/inboxGeo.d.ts +0 -9
  315. package/dist/src/icons/inboxGeo.js +0 -11
  316. package/dist/src/icons/inboxSearch.d.ts +0 -9
  317. package/dist/src/icons/inboxSearch.js +0 -11
  318. package/dist/src/icons/inboxUpdate.d.ts +0 -9
  319. package/dist/src/icons/inboxUpdate.js +0 -11
  320. package/dist/src/icons/inheritance.d.ts +0 -9
  321. package/dist/src/icons/inheritance.js +0 -11
  322. package/dist/src/icons/innerJoin.d.ts +0 -9
  323. package/dist/src/icons/innerJoin.js +0 -11
  324. package/dist/src/icons/insert.d.ts +0 -9
  325. package/dist/src/icons/insert.js +0 -11
  326. package/dist/src/icons/intersection.d.ts +0 -9
  327. package/dist/src/icons/intersection.js +0 -11
  328. package/dist/src/icons/ipAddress.d.ts +0 -9
  329. package/dist/src/icons/ipAddress.js +0 -11
  330. package/dist/src/icons/issueClosed.d.ts +0 -9
  331. package/dist/src/icons/issueClosed.js +0 -11
  332. package/dist/src/icons/issueNew.d.ts +0 -9
  333. package/dist/src/icons/issueNew.js +0 -11
  334. package/dist/src/icons/italic.d.ts +0 -9
  335. package/dist/src/icons/italic.js +0 -11
  336. package/dist/src/icons/joinTable.d.ts +0 -9
  337. package/dist/src/icons/joinTable.js +0 -11
  338. package/dist/src/icons/key1.d.ts +0 -9
  339. package/dist/src/icons/key1.js +0 -11
  340. package/dist/src/icons/keyBackspace.d.ts +0 -9
  341. package/dist/src/icons/keyBackspace.js +0 -11
  342. package/dist/src/icons/keyCommand.d.ts +0 -9
  343. package/dist/src/icons/keyCommand.js +0 -11
  344. package/dist/src/icons/keyControl.d.ts +0 -9
  345. package/dist/src/icons/keyControl.js +0 -11
  346. package/dist/src/icons/keyDelete.d.ts +0 -9
  347. package/dist/src/icons/keyDelete.js +0 -11
  348. package/dist/src/icons/keyEnter.d.ts +0 -9
  349. package/dist/src/icons/keyEnter.js +0 -11
  350. package/dist/src/icons/keyEscape.d.ts +0 -9
  351. package/dist/src/icons/keyEscape.js +0 -11
  352. package/dist/src/icons/keyOption.d.ts +0 -9
  353. package/dist/src/icons/keyOption.js +0 -11
  354. package/dist/src/icons/keyShift.d.ts +0 -9
  355. package/dist/src/icons/keyShift.js +0 -11
  356. package/dist/src/icons/keyTab.d.ts +0 -9
  357. package/dist/src/icons/keyTab.js +0 -11
  358. package/dist/src/icons/knownVehicle.d.ts +0 -9
  359. package/dist/src/icons/knownVehicle.js +0 -11
  360. package/dist/src/icons/labTest.d.ts +0 -9
  361. package/dist/src/icons/labTest.js +0 -11
  362. package/dist/src/icons/label.d.ts +0 -9
  363. package/dist/src/icons/label.js +0 -11
  364. package/dist/src/icons/layout.d.ts +0 -9
  365. package/dist/src/icons/layout.js +0 -11
  366. package/dist/src/icons/layoutAuto.d.ts +0 -9
  367. package/dist/src/icons/layoutAuto.js +0 -11
  368. package/dist/src/icons/layoutBalloon.d.ts +0 -9
  369. package/dist/src/icons/layoutBalloon.js +0 -11
  370. package/dist/src/icons/layoutCircle.d.ts +0 -9
  371. package/dist/src/icons/layoutCircle.js +0 -11
  372. package/dist/src/icons/layoutGrid.d.ts +0 -9
  373. package/dist/src/icons/layoutGrid.js +0 -11
  374. package/dist/src/icons/layoutGroupBy.d.ts +0 -9
  375. package/dist/src/icons/layoutGroupBy.js +0 -11
  376. package/dist/src/icons/layoutHierarchy.d.ts +0 -9
  377. package/dist/src/icons/layoutHierarchy.js +0 -11
  378. package/dist/src/icons/layoutLinear.d.ts +0 -9
  379. package/dist/src/icons/layoutLinear.js +0 -11
  380. package/dist/src/icons/layoutSkewGrid.d.ts +0 -9
  381. package/dist/src/icons/layoutSkewGrid.js +0 -11
  382. package/dist/src/icons/layoutSortedClusters.d.ts +0 -9
  383. package/dist/src/icons/layoutSortedClusters.js +0 -11
  384. package/dist/src/icons/leftJoin.d.ts +0 -9
  385. package/dist/src/icons/leftJoin.js +0 -11
  386. package/dist/src/icons/lessThan.d.ts +0 -9
  387. package/dist/src/icons/lessThan.js +0 -11
  388. package/dist/src/icons/lessThanOrEqualTo.d.ts +0 -9
  389. package/dist/src/icons/lessThanOrEqualTo.js +0 -11
  390. package/dist/src/icons/loading1.d.ts +0 -9
  391. package/dist/src/icons/loading1.js +0 -11
  392. package/dist/src/icons/locate.d.ts +0 -9
  393. package/dist/src/icons/locate.js +0 -11
  394. package/dist/src/icons/manuallyEnteredData.d.ts +0 -9
  395. package/dist/src/icons/manuallyEnteredData.js +0 -11
  396. package/dist/src/icons/mapCreate.d.ts +0 -9
  397. package/dist/src/icons/mapCreate.js +0 -11
  398. package/dist/src/icons/media.d.ts +0 -9
  399. package/dist/src/icons/media.js +0 -11
  400. package/dist/src/icons/menuClosed.d.ts +0 -9
  401. package/dist/src/icons/menuClosed.js +0 -11
  402. package/dist/src/icons/menuOpen.d.ts +0 -9
  403. package/dist/src/icons/menuOpen.js +0 -11
  404. package/dist/src/icons/mergeColumns.d.ts +0 -9
  405. package/dist/src/icons/mergeColumns.js +0 -11
  406. package/dist/src/icons/mergeLinks.d.ts +0 -9
  407. package/dist/src/icons/mergeLinks.js +0 -11
  408. package/dist/src/icons/mobilePhone.d.ts +0 -9
  409. package/dist/src/icons/mobilePhone.js +0 -11
  410. package/dist/src/icons/mobileVideo.d.ts +0 -9
  411. package/dist/src/icons/mobileVideo.js +0 -11
  412. package/dist/src/icons/moon.d.ts +0 -9
  413. package/dist/src/icons/moon.js +0 -11
  414. package/dist/src/icons/mountain.d.ts +0 -9
  415. package/dist/src/icons/mountain.js +0 -11
  416. package/dist/src/icons/mugshot.d.ts +0 -9
  417. package/dist/src/icons/mugshot.js +0 -11
  418. package/dist/src/icons/multiSelect.d.ts +0 -9
  419. package/dist/src/icons/multiSelect.js +0 -11
  420. package/dist/src/icons/music.d.ts +0 -9
  421. package/dist/src/icons/music.js +0 -11
  422. package/dist/src/icons/newDrawing.d.ts +0 -9
  423. package/dist/src/icons/newDrawing.js +0 -11
  424. package/dist/src/icons/newGridItem.d.ts +0 -9
  425. package/dist/src/icons/newGridItem.js +0 -11
  426. package/dist/src/icons/newLayer.d.ts +0 -9
  427. package/dist/src/icons/newLayer.js +0 -11
  428. package/dist/src/icons/newLayers.d.ts +0 -9
  429. package/dist/src/icons/newLayers.js +0 -11
  430. package/dist/src/icons/newLink.d.ts +0 -9
  431. package/dist/src/icons/newLink.js +0 -11
  432. package/dist/src/icons/newObject.d.ts +0 -9
  433. package/dist/src/icons/newObject.js +0 -11
  434. package/dist/src/icons/newPrescription.d.ts +0 -9
  435. package/dist/src/icons/newPrescription.js +0 -11
  436. package/dist/src/icons/newTextBox.d.ts +0 -9
  437. package/dist/src/icons/newTextBox.js +0 -11
  438. package/dist/src/icons/ninja.d.ts +0 -9
  439. package/dist/src/icons/ninja.js +0 -11
  440. package/dist/src/icons/notEqualTo.d.ts +0 -9
  441. package/dist/src/icons/notEqualTo.js +0 -11
  442. package/dist/src/icons/numberedList.d.ts +0 -9
  443. package/dist/src/icons/numberedList.js +0 -11
  444. package/dist/src/icons/numerical.d.ts +0 -9
  445. package/dist/src/icons/numerical.js +0 -11
  446. package/dist/src/icons/offline.d.ts +0 -9
  447. package/dist/src/icons/offline.js +0 -11
  448. package/dist/src/icons/oilField.d.ts +0 -9
  449. package/dist/src/icons/oilField.js +0 -11
  450. package/dist/src/icons/oneColumn.d.ts +0 -9
  451. package/dist/src/icons/oneColumn.js +0 -11
  452. package/dist/src/icons/pageLayout.d.ts +0 -9
  453. package/dist/src/icons/pageLayout.js +0 -11
  454. package/dist/src/icons/panelStats.d.ts +0 -9
  455. package/dist/src/icons/panelStats.js +0 -11
  456. package/dist/src/icons/panelTable.d.ts +0 -9
  457. package/dist/src/icons/panelTable.js +0 -11
  458. package/dist/src/icons/paragraph.d.ts +0 -9
  459. package/dist/src/icons/paragraph.js +0 -11
  460. package/dist/src/icons/path.d.ts +0 -9
  461. package/dist/src/icons/path.js +0 -11
  462. package/dist/src/icons/pathSearch.d.ts +0 -9
  463. package/dist/src/icons/pathSearch.js +0 -11
  464. package/dist/src/icons/percentage.d.ts +0 -9
  465. package/dist/src/icons/percentage.js +0 -11
  466. package/dist/src/icons/pivot.d.ts +0 -9
  467. package/dist/src/icons/pivot.js +0 -11
  468. package/dist/src/icons/pivotTable.d.ts +0 -9
  469. package/dist/src/icons/pivotTable.js +0 -11
  470. package/dist/src/icons/polygonFilter.d.ts +0 -9
  471. package/dist/src/icons/polygonFilter.js +0 -11
  472. package/dist/src/icons/predictiveAnalysis.d.ts +0 -9
  473. package/dist/src/icons/predictiveAnalysis.js +0 -11
  474. package/dist/src/icons/prescription.d.ts +0 -9
  475. package/dist/src/icons/prescription.js +0 -11
  476. package/dist/src/icons/presentation.d.ts +0 -9
  477. package/dist/src/icons/presentation.js +0 -11
  478. package/dist/src/icons/print.d.ts +0 -9
  479. package/dist/src/icons/print.js +0 -11
  480. package/dist/src/icons/publishFunction.d.ts +0 -9
  481. package/dist/src/icons/publishFunction.js +0 -11
  482. package/dist/src/icons/random.d.ts +0 -9
  483. package/dist/src/icons/random.js +0 -11
  484. package/dist/src/icons/record.d.ts +0 -9
  485. package/dist/src/icons/record.js +0 -11
  486. package/dist/src/icons/redo.d.ts +0 -9
  487. package/dist/src/icons/redo.js +0 -11
  488. package/dist/src/icons/regressionChart.d.ts +0 -9
  489. package/dist/src/icons/regressionChart.js +0 -11
  490. package/dist/src/icons/removeColumn.d.ts +0 -9
  491. package/dist/src/icons/removeColumn.js +0 -11
  492. package/dist/src/icons/removeColumnLeft.d.ts +0 -9
  493. package/dist/src/icons/removeColumnLeft.js +0 -11
  494. package/dist/src/icons/removeColumnRight.d.ts +0 -9
  495. package/dist/src/icons/removeColumnRight.js +0 -11
  496. package/dist/src/icons/removeRowBottom.d.ts +0 -9
  497. package/dist/src/icons/removeRowBottom.js +0 -11
  498. package/dist/src/icons/removeRowTop.d.ts +0 -9
  499. package/dist/src/icons/removeRowTop.js +0 -11
  500. package/dist/src/icons/resolve.d.ts +0 -9
  501. package/dist/src/icons/resolve.js +0 -11
  502. package/dist/src/icons/rig.d.ts +0 -9
  503. package/dist/src/icons/rig.js +0 -11
  504. package/dist/src/icons/rightJoin.d.ts +0 -9
  505. package/dist/src/icons/rightJoin.js +0 -11
  506. package/dist/src/icons/ring.d.ts +0 -9
  507. package/dist/src/icons/ring.js +0 -11
  508. package/dist/src/icons/rotateDocument.d.ts +0 -9
  509. package/dist/src/icons/rotateDocument.js +0 -11
  510. package/dist/src/icons/rotatePage.d.ts +0 -9
  511. package/dist/src/icons/rotatePage.js +0 -11
  512. package/dist/src/icons/satellite.d.ts +0 -9
  513. package/dist/src/icons/satellite.js +0 -11
  514. package/dist/src/icons/searchAround.d.ts +0 -9
  515. package/dist/src/icons/searchAround.js +0 -11
  516. package/dist/src/icons/searchTemplate.d.ts +0 -9
  517. package/dist/src/icons/searchTemplate.js +0 -11
  518. package/dist/src/icons/searchText.d.ts +0 -9
  519. package/dist/src/icons/searchText.js +0 -11
  520. package/dist/src/icons/segmentedControl.d.ts +0 -9
  521. package/dist/src/icons/segmentedControl.js +0 -11
  522. package/dist/src/icons/select.d.ts +0 -9
  523. package/dist/src/icons/select.js +0 -11
  524. package/dist/src/icons/selection.d.ts +0 -9
  525. package/dist/src/icons/selection.js +0 -11
  526. package/dist/src/icons/sendTo.d.ts +0 -9
  527. package/dist/src/icons/sendTo.js +0 -11
  528. package/dist/src/icons/sendToGraph.d.ts +0 -9
  529. package/dist/src/icons/sendToGraph.js +0 -11
  530. package/dist/src/icons/sendToMap.d.ts +0 -9
  531. package/dist/src/icons/sendToMap.js +0 -11
  532. package/dist/src/icons/seriesAdd.d.ts +0 -9
  533. package/dist/src/icons/seriesAdd.js +0 -11
  534. package/dist/src/icons/seriesConfiguration.d.ts +0 -9
  535. package/dist/src/icons/seriesConfiguration.js +0 -11
  536. package/dist/src/icons/seriesDerived.d.ts +0 -9
  537. package/dist/src/icons/seriesDerived.js +0 -11
  538. package/dist/src/icons/seriesFiltered.d.ts +0 -9
  539. package/dist/src/icons/seriesFiltered.js +0 -11
  540. package/dist/src/icons/seriesSearch.d.ts +0 -9
  541. package/dist/src/icons/seriesSearch.js +0 -11
  542. package/dist/src/icons/shop.d.ts +0 -9
  543. package/dist/src/icons/shop.js +0 -11
  544. package/dist/src/icons/shoppingCart.d.ts +0 -9
  545. package/dist/src/icons/shoppingCart.js +0 -11
  546. package/dist/src/icons/signalSearch.d.ts +0 -9
  547. package/dist/src/icons/signalSearch.js +0 -11
  548. package/dist/src/icons/simCard.d.ts +0 -9
  549. package/dist/src/icons/simCard.js +0 -11
  550. package/dist/src/icons/snowflake.d.ts +0 -9
  551. package/dist/src/icons/snowflake.js +0 -11
  552. package/dist/src/icons/socialMedia.d.ts +0 -9
  553. package/dist/src/icons/socialMedia.js +0 -11
  554. package/dist/src/icons/sort.d.ts +0 -9
  555. package/dist/src/icons/sort.js +0 -11
  556. package/dist/src/icons/sortAlphabetical.d.ts +0 -9
  557. package/dist/src/icons/sortAlphabetical.js +0 -11
  558. package/dist/src/icons/sortAlphabeticalDesc.d.ts +0 -9
  559. package/dist/src/icons/sortAlphabeticalDesc.js +0 -11
  560. package/dist/src/icons/sortAsc.d.ts +0 -9
  561. package/dist/src/icons/sortAsc.js +0 -11
  562. package/dist/src/icons/sortDesc.d.ts +0 -9
  563. package/dist/src/icons/sortDesc.js +0 -11
  564. package/dist/src/icons/sortNumerical.d.ts +0 -9
  565. package/dist/src/icons/sortNumerical.js +0 -11
  566. package/dist/src/icons/sortNumericalDesc.d.ts +0 -9
  567. package/dist/src/icons/sortNumericalDesc.js +0 -11
  568. package/dist/src/icons/splitColumns.d.ts +0 -9
  569. package/dist/src/icons/splitColumns.js +0 -11
  570. package/dist/src/icons/square.d.ts +0 -9
  571. package/dist/src/icons/square.js +0 -11
  572. package/dist/src/icons/stackedChart.d.ts +0 -9
  573. package/dist/src/icons/stackedChart.js +0 -11
  574. package/dist/src/icons/star.d.ts +0 -9
  575. package/dist/src/icons/star.js +0 -11
  576. package/dist/src/icons/starEmpty.d.ts +0 -9
  577. package/dist/src/icons/starEmpty.js +0 -11
  578. package/dist/src/icons/stepBackward.d.ts +0 -9
  579. package/dist/src/icons/stepBackward.js +0 -11
  580. package/dist/src/icons/stepChart.d.ts +0 -9
  581. package/dist/src/icons/stepChart.js +0 -11
  582. package/dist/src/icons/stepForward.d.ts +0 -9
  583. package/dist/src/icons/stepForward.js +0 -11
  584. package/dist/src/icons/strikethrough.d.ts +0 -9
  585. package/dist/src/icons/strikethrough.js +0 -11
  586. package/dist/src/icons/style.d.ts +0 -9
  587. package/dist/src/icons/style.js +0 -11
  588. package/dist/src/icons/symbolCircle.d.ts +0 -9
  589. package/dist/src/icons/symbolCircle.js +0 -11
  590. package/dist/src/icons/symbolCross.d.ts +0 -9
  591. package/dist/src/icons/symbolCross.js +0 -11
  592. package/dist/src/icons/symbolDiamond.d.ts +0 -9
  593. package/dist/src/icons/symbolDiamond.js +0 -11
  594. package/dist/src/icons/symbolSquare.d.ts +0 -9
  595. package/dist/src/icons/symbolSquare.js +0 -11
  596. package/dist/src/icons/symbolTriangleDown.d.ts +0 -9
  597. package/dist/src/icons/symbolTriangleDown.js +0 -11
  598. package/dist/src/icons/symbolTriangleUp.d.ts +0 -9
  599. package/dist/src/icons/symbolTriangleUp.js +0 -11
  600. package/dist/src/icons/takeAction.d.ts +0 -9
  601. package/dist/src/icons/takeAction.js +0 -11
  602. package/dist/src/icons/taxi.d.ts +0 -9
  603. package/dist/src/icons/taxi.js +0 -11
  604. package/dist/src/icons/textHighlight.d.ts +0 -9
  605. package/dist/src/icons/textHighlight.js +0 -11
  606. package/dist/src/icons/th.d.ts +0 -9
  607. package/dist/src/icons/th.js +0 -11
  608. package/dist/src/icons/thDerived.d.ts +0 -9
  609. package/dist/src/icons/thDerived.js +0 -11
  610. package/dist/src/icons/thDisconnect.d.ts +0 -9
  611. package/dist/src/icons/thDisconnect.js +0 -11
  612. package/dist/src/icons/thFiltered.d.ts +0 -9
  613. package/dist/src/icons/thFiltered.js +0 -11
  614. package/dist/src/icons/thList.d.ts +0 -9
  615. package/dist/src/icons/thList.js +0 -11
  616. package/dist/src/icons/timelineEvents.d.ts +0 -9
  617. package/dist/src/icons/timelineEvents.js +0 -11
  618. package/dist/src/icons/tint.d.ts +0 -9
  619. package/dist/src/icons/tint.js +0 -11
  620. package/dist/src/icons/torch.d.ts +0 -9
  621. package/dist/src/icons/torch.js +0 -11
  622. package/dist/src/icons/tractor.d.ts +0 -9
  623. package/dist/src/icons/tractor.js +0 -11
  624. package/dist/src/icons/train.d.ts +0 -9
  625. package/dist/src/icons/train.js +0 -11
  626. package/dist/src/icons/translate.d.ts +0 -9
  627. package/dist/src/icons/translate.js +0 -11
  628. package/dist/src/icons/tree.d.ts +0 -9
  629. package/dist/src/icons/tree.js +0 -11
  630. package/dist/src/icons/trendingDown.d.ts +0 -9
  631. package/dist/src/icons/trendingDown.js +0 -11
  632. package/dist/src/icons/trendingUp.d.ts +0 -9
  633. package/dist/src/icons/trendingUp.js +0 -11
  634. package/dist/src/icons/truck.d.ts +0 -9
  635. package/dist/src/icons/truck.js +0 -11
  636. package/dist/src/icons/twoColumns.d.ts +0 -9
  637. package/dist/src/icons/twoColumns.js +0 -11
  638. package/dist/src/icons/unarchive.d.ts +0 -9
  639. package/dist/src/icons/unarchive.js +0 -11
  640. package/dist/src/icons/underline.d.ts +0 -9
  641. package/dist/src/icons/underline.js +0 -11
  642. package/dist/src/icons/undo.d.ts +0 -9
  643. package/dist/src/icons/undo.js +0 -11
  644. package/dist/src/icons/ungroupObjects.d.ts +0 -9
  645. package/dist/src/icons/ungroupObjects.js +0 -11
  646. package/dist/src/icons/unknownVehicle.d.ts +0 -9
  647. package/dist/src/icons/unknownVehicle.js +0 -11
  648. package/dist/src/icons/unresolve.d.ts +0 -9
  649. package/dist/src/icons/unresolve.js +0 -11
  650. package/dist/src/icons/variable.d.ts +0 -9
  651. package/dist/src/icons/variable.js +0 -11
  652. package/dist/src/icons/verticalBarChartAsc.d.ts +0 -9
  653. package/dist/src/icons/verticalBarChartAsc.js +0 -11
  654. package/dist/src/icons/verticalBarChartDesc.d.ts +0 -9
  655. package/dist/src/icons/verticalBarChartDesc.js +0 -11
  656. package/dist/src/icons/verticalDistribution.d.ts +0 -9
  657. package/dist/src/icons/verticalDistribution.js +0 -11
  658. package/dist/src/icons/video.d.ts +0 -9
  659. package/dist/src/icons/video.js +0 -11
  660. package/dist/src/icons/volumeDown.d.ts +0 -9
  661. package/dist/src/icons/volumeDown.js +0 -11
  662. package/dist/src/icons/volumeOff.d.ts +0 -9
  663. package/dist/src/icons/volumeOff.js +0 -11
  664. package/dist/src/icons/volumeUp.d.ts +0 -9
  665. package/dist/src/icons/volumeUp.js +0 -11
  666. package/dist/src/icons/walk.d.ts +0 -9
  667. package/dist/src/icons/walk.js +0 -11
  668. package/dist/src/icons/waterfallChart.d.ts +0 -9
  669. package/dist/src/icons/waterfallChart.js +0 -11
  670. package/dist/src/icons/widget.d.ts +0 -9
  671. package/dist/src/icons/widget.js +0 -11
  672. package/dist/src/icons/widgetButton.d.ts +0 -9
  673. package/dist/src/icons/widgetButton.js +0 -11
  674. package/dist/src/icons/widgetFooter.d.ts +0 -9
  675. package/dist/src/icons/widgetFooter.js +0 -11
  676. package/dist/src/icons/widgetHeader.d.ts +0 -9
  677. package/dist/src/icons/widgetHeader.js +0 -11
  678. package/dist/src/icons/wrench.d.ts +0 -9
  679. package/dist/src/icons/wrench.js +0 -11
  680. package/dist/src/icons/zoomIn.d.ts +0 -9
  681. package/dist/src/icons/zoomIn.js +0 -11
  682. package/dist/src/icons/zoomOut.d.ts +0 -9
  683. package/dist/src/icons/zoomOut.js +0 -11
  684. package/dist/src/icons/zoomToFit.d.ts +0 -9
  685. package/dist/src/icons/zoomToFit.js +0 -11
  686. package/dist/src/js/themeMap.d.ts +0 -268
  687. package/dist/src/js/themeMap.js +0 -624
  688. /package/dist/src/icons/{addColumnLeft.d.ts → capslock.d.ts} +0 -0
package/dist/system.mjs CHANGED
@@ -1269,11 +1269,11 @@ var require_loading = __commonJS({
1269
1269
  "src/icons/loading.js"(exports) {
1270
1270
  "use strict";
1271
1271
  var data = {
1272
- "body": '<g fill="none" stroke="currentColor" stroke-width="3"><circle cx="10" cy="10" r="8.5" transform="matrix(-1 0 0 1 21 1)"/><path d="M19.235 10.412a7.647 7.647 0 00-7.647-7.647"/></g>',
1272
+ "body": '<g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-width="3" transform="translate(1 1)"><circle cx="18" cy="18" r="18" stroke-opacity=".5"/><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" dur="1s" from="0 18 18" repeatCount="indefinite" to="360 18 18" type="rotate"/></path></g>',
1273
1273
  "left": 0,
1274
1274
  "top": 0,
1275
- "width": 22,
1276
- "height": 22
1275
+ "width": 40,
1276
+ "height": 40
1277
1277
  };
1278
1278
  exports.__esModule = true;
1279
1279
  exports.default = data;
@@ -1617,6 +1617,8 @@ __export(molecules_exports, {
1617
1617
  NativeSelect: () => NativeSelect,
1618
1618
  NativeSelectBase: () => NativeSelectBase,
1619
1619
  Navigation: () => Navigation2,
1620
+ NotificationConsumer: () => NotificationConsumer,
1621
+ NotificationProvider: () => NotificationProvider,
1620
1622
  OneLineBanner: () => OneLineBanner,
1621
1623
  Option: () => Option,
1622
1624
  PageHeader: () => PageHeader2,
@@ -1666,6 +1668,8 @@ __export(molecules_exports, {
1666
1668
  columnIsFieldColumn: () => columnIsFieldColumn,
1667
1669
  createTabsComponent: () => createTabsComponent,
1668
1670
  toSortDirection: () => toSortDirection,
1671
+ useNotification: () => useNotification,
1672
+ useNotificationContext: () => useNotificationContext,
1669
1673
  usePagination: () => usePagination,
1670
1674
  usePopoverContext: () => usePopoverContext,
1671
1675
  useScrollTarget: () => useScrollTarget,
@@ -3104,7 +3108,8 @@ var asButton = (Component, isDropdownButton) => {
3104
3108
  "py-3": !dense && isGhost,
3105
3109
  "py-2": dense && isGhost,
3106
3110
  "block w-full": fullWidth && !isIconOnlyButton,
3107
- "cursor-not-allowed": !!disabled || !!loading2
3111
+ "cursor-not-allowed": !!disabled || !!loading2,
3112
+ "icon-stroke-2": !isIconOnlyButton
3108
3113
  }
3109
3114
  )
3110
3115
  ),
@@ -7931,52 +7936,170 @@ Navigation2.Footer = Navigation.Footer;
7931
7936
  Navigation2.Header = Navigation.Header;
7932
7937
  Navigation2.Section = Navigation.Section;
7933
7938
 
7939
+ // src/molecules/Notification/Notification.tsx
7940
+ import React79, { createContext as createContext2, useContext as useContext3, useEffect as useEffect9, useReducer } from "react";
7941
+ import groupBy from "lodash/groupBy";
7942
+
7943
+ // src/molecules/Spacing/Spacing.tsx
7944
+ import React78 from "react";
7945
+ var Spacing = (_a) => {
7946
+ var _b = _a, { gap, row } = _b, rest = __objRest(_b, ["gap", "row"]);
7947
+ return /* @__PURE__ */ React78.createElement(Box, __spreadProps(__spreadValues({}, rest), {
7948
+ display: "flex",
7949
+ flexDirection: row ? "row" : "column",
7950
+ gap
7951
+ }));
7952
+ };
7953
+
7954
+ // src/molecules/Notification/Notification.tsx
7955
+ var NotificationContext = createContext2(null);
7956
+ var useNotificationContext = () => {
7957
+ const context2 = useContext3(NotificationContext);
7958
+ if (context2 === null) {
7959
+ throw new Error("NotificationContext was used outside of provider.");
7960
+ }
7961
+ return context2;
7962
+ };
7963
+ var useNotification = () => {
7964
+ const [_, dispatch] = useNotificationContext();
7965
+ return (notification) => {
7966
+ dispatch({ type: 0 /* Notify */, notification });
7967
+ };
7968
+ };
7969
+ var toNotification = (_a) => {
7970
+ var _b = _a, {
7971
+ id,
7972
+ variant,
7973
+ position,
7974
+ duration
7975
+ } = _b, notification = __objRest(_b, [
7976
+ "id",
7977
+ "variant",
7978
+ "position",
7979
+ "duration"
7980
+ ]);
7981
+ return __spreadProps(__spreadValues({}, notification), {
7982
+ id: id || crypto.randomUUID(),
7983
+ variant: variant || "default",
7984
+ position: position || "top",
7985
+ duration: duration || variant === "danger" ? Infinity : 6e3
7986
+ });
7987
+ };
7988
+ var reducer = (state, action) => {
7989
+ switch (action.type) {
7990
+ case 0 /* Notify */:
7991
+ return __spreadProps(__spreadValues({}, state), { notifications: [...state.notifications, toNotification(action.notification)] });
7992
+ case 1 /* Dismiss */:
7993
+ return __spreadProps(__spreadValues({}, state), {
7994
+ notifications: state.notifications.filter((notification) => notification.id !== action.notificationId)
7995
+ });
7996
+ default:
7997
+ throw new Error("Unsupported action type.");
7998
+ }
7999
+ };
8000
+ var NotificationProvider = ({ children }) => {
8001
+ const [state, dispatch] = useReducer(reducer, { notifications: [] });
8002
+ return /* @__PURE__ */ React79.createElement(NotificationContext.Provider, {
8003
+ value: [state, dispatch]
8004
+ }, children);
8005
+ };
8006
+ var isCentered = (position) => position === "top" || position === "bottom";
8007
+ var PADDING = 20;
8008
+ var Notification = ({ notification, onDismiss }) => {
8009
+ const { id, message, title, variant, duration } = notification;
8010
+ useEffect9(() => {
8011
+ let timer;
8012
+ if (duration !== Infinity) {
8013
+ timer = setTimeout(() => {
8014
+ onDismiss(id);
8015
+ }, duration);
8016
+ }
8017
+ return () => {
8018
+ if (timer) {
8019
+ clearTimeout(timer);
8020
+ }
8021
+ };
8022
+ }, [duration]);
8023
+ return /* @__PURE__ */ React79.createElement(Alert2, {
8024
+ title,
8025
+ type: variant === "danger" ? "error" : "information"
8026
+ }, message);
8027
+ };
8028
+ var NotificationConsumer = () => {
8029
+ const [state, dispatch] = useNotificationContext();
8030
+ const notificationsByPosition = groupBy(state.notifications, "position");
8031
+ const positions = Object.keys(notificationsByPosition);
8032
+ const onDismiss = (notificationId) => {
8033
+ dispatch({ type: 1 /* Dismiss */, notificationId });
8034
+ };
8035
+ return /* @__PURE__ */ React79.createElement("div", null, positions.map((position) => {
8036
+ var _a;
8037
+ return /* @__PURE__ */ React79.createElement(Spacing, {
8038
+ gap: "3",
8039
+ key: position,
8040
+ style: {
8041
+ position: "fixed",
8042
+ bottom: position.includes("bottom") ? PADDING : void 0,
8043
+ top: position.includes("top") ? PADDING : void 0,
8044
+ right: position.includes("right") ? PADDING : void 0,
8045
+ left: isCentered(position) ? "50%" : position.includes("left") ? PADDING : void 0,
8046
+ transform: isCentered(position) ? "translateX(-50%)" : void 0,
8047
+ zIndex: 9e3
8048
+ }
8049
+ }, (_a = notificationsByPosition[position]) == null ? void 0 : _a.map((notification) => /* @__PURE__ */ React79.createElement(Notification, {
8050
+ key: notification.id,
8051
+ notification,
8052
+ onDismiss
8053
+ })));
8054
+ }));
8055
+ };
8056
+
7934
8057
  // src/molecules/PageHeader/PageHeader.tsx
7935
- import React79 from "react";
8058
+ import React81 from "react";
7936
8059
  import castArray3 from "lodash/castArray";
7937
8060
  import omit14 from "lodash/omit";
7938
8061
 
7939
8062
  // src/atoms/PageHeader/PageHeader.tsx
7940
- import React78 from "react";
8063
+ import React80 from "react";
7941
8064
  var PageHeader = (_a) => {
7942
8065
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7943
- return /* @__PURE__ */ React78.createElement("div", __spreadValues({
8066
+ return /* @__PURE__ */ React80.createElement("div", __spreadValues({
7944
8067
  className: classNames(tw("flex flex-row gap-4 pb-6"), className)
7945
8068
  }, rest), children);
7946
8069
  };
7947
8070
  PageHeader.Container = (_a) => {
7948
8071
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7949
- return /* @__PURE__ */ React78.createElement("div", __spreadValues({
8072
+ return /* @__PURE__ */ React80.createElement("div", __spreadValues({
7950
8073
  className: classNames(tw("flex flex-col grow gap-0"), className)
7951
8074
  }, rest), children);
7952
8075
  };
7953
8076
  PageHeader.TitleContainer = (_a) => {
7954
8077
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7955
- return /* @__PURE__ */ React78.createElement("div", __spreadValues({
8078
+ return /* @__PURE__ */ React80.createElement("div", __spreadValues({
7956
8079
  className: classNames(tw("flex flex-col justify-center gap-2"), className)
7957
8080
  }, rest), children);
7958
8081
  };
7959
8082
  PageHeader.Title = (_a) => {
7960
8083
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
7961
- return /* @__PURE__ */ React78.createElement(Typography2.Heading, __spreadProps(__spreadValues({}, rest), {
8084
+ return /* @__PURE__ */ React80.createElement(Typography2.Heading, __spreadProps(__spreadValues({}, rest), {
7962
8085
  color: "grey-100"
7963
8086
  }), children);
7964
8087
  };
7965
8088
  PageHeader.Subtitle = (_a) => {
7966
8089
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
7967
- return /* @__PURE__ */ React78.createElement(Typography2.Small, __spreadProps(__spreadValues({}, rest), {
8090
+ return /* @__PURE__ */ React80.createElement(Typography2.Small, __spreadProps(__spreadValues({}, rest), {
7968
8091
  color: "grey-70"
7969
8092
  }), children);
7970
8093
  };
7971
8094
  PageHeader.Chips = (_a) => {
7972
8095
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7973
- return /* @__PURE__ */ React78.createElement("div", __spreadValues({
8096
+ return /* @__PURE__ */ React80.createElement("div", __spreadValues({
7974
8097
  className: classNames(tw("flex gap-3"), className)
7975
8098
  }, rest), children);
7976
8099
  };
7977
8100
  PageHeader.Actions = (_a) => {
7978
8101
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7979
- return /* @__PURE__ */ React78.createElement("div", __spreadValues({
8102
+ return /* @__PURE__ */ React80.createElement("div", __spreadValues({
7980
8103
  className: classNames(tw("flex flex-row gap-4 self-start"), className)
7981
8104
  }, rest), children);
7982
8105
  };
@@ -7992,34 +8115,34 @@ var PageHeader2 = ({
7992
8115
  chips = [],
7993
8116
  breadcrumbs
7994
8117
  }) => {
7995
- return /* @__PURE__ */ React79.createElement(PageHeader, null, /* @__PURE__ */ React79.createElement(PageHeader.Container, null, breadcrumbs && /* @__PURE__ */ React79.createElement(Box, {
8118
+ return /* @__PURE__ */ React81.createElement(PageHeader, null, /* @__PURE__ */ React81.createElement(PageHeader.Container, null, breadcrumbs && /* @__PURE__ */ React81.createElement(Box, {
7996
8119
  marginBottom: image ? "3" : void 0
7997
- }, /* @__PURE__ */ React79.createElement(Breadcrumbs, null, breadcrumbs)), /* @__PURE__ */ React79.createElement(Flexbox, {
8120
+ }, /* @__PURE__ */ React81.createElement(Breadcrumbs, null, breadcrumbs)), /* @__PURE__ */ React81.createElement(Flexbox, {
7998
8121
  gap: "5"
7999
- }, image && /* @__PURE__ */ React79.createElement("img", {
8122
+ }, image && /* @__PURE__ */ React81.createElement("img", {
8000
8123
  src: image,
8001
8124
  alt: imageAlt,
8002
8125
  className: tw("w-[56px] h-[56px]")
8003
- }), /* @__PURE__ */ React79.createElement(PageHeader.TitleContainer, null, /* @__PURE__ */ React79.createElement(PageHeader.Title, null, title), chips.length > 0 && /* @__PURE__ */ React79.createElement(PageHeader.Chips, null, chips.map((chip) => /* @__PURE__ */ React79.createElement(Chip2, {
8126
+ }), /* @__PURE__ */ React81.createElement(PageHeader.TitleContainer, null, /* @__PURE__ */ React81.createElement(PageHeader.Title, null, title), chips.length > 0 && /* @__PURE__ */ React81.createElement(PageHeader.Chips, null, chips.map((chip) => /* @__PURE__ */ React81.createElement(Chip2, {
8004
8127
  key: chip,
8005
8128
  dense: true,
8006
8129
  text: chip
8007
- }))), subtitle && /* @__PURE__ */ React79.createElement(PageHeader.Subtitle, null, subtitle)))), (secondaryActions || primaryAction) && /* @__PURE__ */ React79.createElement(PageHeader.Actions, null, secondaryActions && castArray3(secondaryActions).filter(Boolean).map((_a) => {
8130
+ }))), subtitle && /* @__PURE__ */ React81.createElement(PageHeader.Subtitle, null, subtitle)))), (secondaryActions || primaryAction) && /* @__PURE__ */ React81.createElement(PageHeader.Actions, null, secondaryActions && castArray3(secondaryActions).filter(Boolean).map((_a) => {
8008
8131
  var _b = _a, { text } = _b, action = __objRest(_b, ["text"]);
8009
- return /* @__PURE__ */ React79.createElement(Button.Secondary, __spreadValues({
8132
+ return /* @__PURE__ */ React81.createElement(Button.Secondary, __spreadValues({
8010
8133
  key: text
8011
8134
  }, action), text);
8012
- }), primaryAction && /* @__PURE__ */ React79.createElement(Button.Primary, __spreadValues({
8135
+ }), primaryAction && /* @__PURE__ */ React81.createElement(Button.Primary, __spreadValues({
8013
8136
  key: primaryAction.text
8014
8137
  }, omit14(primaryAction, "text")), primaryAction.text)));
8015
8138
  };
8016
8139
 
8017
8140
  // src/molecules/Pagination/Pagination.tsx
8018
- import React81 from "react";
8141
+ import React83 from "react";
8019
8142
  import clamp from "lodash/clamp";
8020
8143
 
8021
8144
  // src/molecules/Select/Select.tsx
8022
- import React80, { useRef as useRef12, useState as useState10 } from "react";
8145
+ import React82, { useRef as useRef12, useState as useState10 } from "react";
8023
8146
  import { useSelect } from "downshift";
8024
8147
  import defaults from "lodash/defaults";
8025
8148
  import isArray from "lodash/isArray";
@@ -8035,10 +8158,10 @@ var hasOptionGroups = (val) => {
8035
8158
  };
8036
8159
  var defaultRenderOption = (item, props, { selectedItem }, { getOptionKey, getValue, optionToString = getOptionLabelBuiltin }) => {
8037
8160
  var _a, _b;
8038
- return /* @__PURE__ */ React80.createElement(Select.Item, __spreadValues({
8161
+ return /* @__PURE__ */ React82.createElement(Select.Item, __spreadValues({
8039
8162
  key: (_b = (_a = getOptionKey == null ? void 0 : getOptionKey(item)) != null ? _a : getValue == null ? void 0 : getValue(item)) != null ? _b : optionToString(item),
8040
8163
  selected: item === selectedItem
8041
- }, props), hasIconProperty(item) && /* @__PURE__ */ React80.createElement(InlineIcon, {
8164
+ }, props), hasIconProperty(item) && /* @__PURE__ */ React82.createElement(InlineIcon, {
8042
8165
  icon: item.icon
8043
8166
  }), optionToString(item));
8044
8167
  };
@@ -8157,13 +8280,13 @@ var _SelectBase = (props) => {
8157
8280
  },
8158
8281
  withDefaults
8159
8282
  );
8160
- const renderGroup = (group) => /* @__PURE__ */ React80.createElement(React80.Fragment, {
8283
+ const renderGroup = (group) => /* @__PURE__ */ React82.createElement(React82.Fragment, {
8161
8284
  key: group.label
8162
- }, /* @__PURE__ */ React80.createElement(Select.Group, null, group.label), group.options.map((opt) => renderItem(opt, items.indexOf(opt))));
8163
- const input = /* @__PURE__ */ React80.createElement(Select.InputContainer, __spreadProps(__spreadValues({}, getToggleButtonProps({ disabled: disabled || readOnly, ref: targetRef })), {
8285
+ }, /* @__PURE__ */ React82.createElement(Select.Group, null, group.label), group.options.map((opt) => renderItem(opt, items.indexOf(opt))));
8286
+ const input = /* @__PURE__ */ React82.createElement(Select.InputContainer, __spreadProps(__spreadValues({}, getToggleButtonProps({ disabled: disabled || readOnly, ref: targetRef })), {
8164
8287
  variant: disabled ? "disabled" : !valid ? "error" : readOnly ? "readOnly" : hasFocus ? "focused" : "default",
8165
8288
  tabIndex: 0
8166
- }), /* @__PURE__ */ React80.createElement(Select.Input, __spreadProps(__spreadValues({
8289
+ }), /* @__PURE__ */ React82.createElement(Select.Input, __spreadProps(__spreadValues({
8167
8290
  id,
8168
8291
  name
8169
8292
  }, rest), {
@@ -8175,26 +8298,26 @@ var _SelectBase = (props) => {
8175
8298
  tabIndex: -1,
8176
8299
  onFocus: () => setFocus(true),
8177
8300
  onBlur: () => setFocus(false)
8178
- })), !readOnly && /* @__PURE__ */ React80.createElement(Select.Toggle, {
8301
+ })), !readOnly && /* @__PURE__ */ React82.createElement(Select.Toggle, {
8179
8302
  disabled,
8180
8303
  isOpen,
8181
8304
  tabIndex: -1
8182
8305
  }));
8183
8306
  const menuProps = getMenuProps({ ref: menuRef }, { suppressRefError: !isOpen });
8184
- return /* @__PURE__ */ React80.createElement("div", {
8307
+ return /* @__PURE__ */ React82.createElement("div", {
8185
8308
  className: tw("relative")
8186
- }, labelWrapper ? React80.cloneElement(labelWrapper, { children: input }) : input, isOpen && /* @__PURE__ */ React80.createElement(PopoverOverlay, {
8309
+ }, labelWrapper ? React82.cloneElement(labelWrapper, { children: input }) : input, isOpen && /* @__PURE__ */ React82.createElement(PopoverOverlay, {
8187
8310
  state,
8188
8311
  triggerRef: targetRef,
8189
8312
  placement: "bottom-left",
8190
8313
  shouldFlip: true,
8191
8314
  style: { width: (_b = targetRef.current) == null ? void 0 : _b.offsetWidth }
8192
- }, /* @__PURE__ */ React80.createElement(Select.Menu, __spreadValues({
8315
+ }, /* @__PURE__ */ React82.createElement(Select.Menu, __spreadValues({
8193
8316
  ref: menuRef,
8194
8317
  maxHeight
8195
- }, menuProps), options.length === 0 && /* @__PURE__ */ React80.createElement(Select.EmptyStateContainer, null, emptyState), options.length > 0 && !hasOptionGroups(options) && options.map(renderItem), options.length > 0 && hasOptionGroups(options) && options.map(renderGroup), actions.length > 0 && /* @__PURE__ */ React80.createElement(React80.Fragment, null, /* @__PURE__ */ React80.createElement(Select.Divider, {
8318
+ }, menuProps), options.length === 0 && /* @__PURE__ */ React82.createElement(Select.EmptyStateContainer, null, emptyState), options.length > 0 && !hasOptionGroups(options) && options.map(renderItem), options.length > 0 && hasOptionGroups(options) && options.map(renderGroup), actions.length > 0 && /* @__PURE__ */ React82.createElement(React82.Fragment, null, /* @__PURE__ */ React82.createElement(Select.Divider, {
8196
8319
  onMouseOver: () => setHighlightedIndex(-1)
8197
- }), actions.map((act, index) => /* @__PURE__ */ React80.createElement(Select.ActionItem, __spreadProps(__spreadValues({
8320
+ }), actions.map((act, index) => /* @__PURE__ */ React82.createElement(Select.ActionItem, __spreadProps(__spreadValues({
8198
8321
  key: `${index}`
8199
8322
  }, act), {
8200
8323
  onMouseOver: () => setHighlightedIndex(-1),
@@ -8204,10 +8327,10 @@ var _SelectBase = (props) => {
8204
8327
  }
8205
8328
  }), act.label))))));
8206
8329
  };
8207
- var SelectBase = (props) => /* @__PURE__ */ React80.createElement(_SelectBase, __spreadProps(__spreadValues({}, props), {
8330
+ var SelectBase = (props) => /* @__PURE__ */ React82.createElement(_SelectBase, __spreadProps(__spreadValues({}, props), {
8208
8331
  labelWrapper: void 0
8209
8332
  }));
8210
- var SelectBaseSkeleton = () => /* @__PURE__ */ React80.createElement(Skeleton, {
8333
+ var SelectBaseSkeleton = () => /* @__PURE__ */ React82.createElement(Skeleton, {
8211
8334
  height: 38
8212
8335
  });
8213
8336
  SelectBase.Skeleton = SelectBaseSkeleton;
@@ -8225,19 +8348,19 @@ var Select2 = (_a) => {
8225
8348
  const baseProps = omit15(props, Object.keys(labelProps));
8226
8349
  const legacyError = labelProps.error !== void 0 && labelProps.valid === false;
8227
8350
  const variant = !labelProps.valid || legacyError ? "error" : labelProps.disabled ? "disabled" : "default";
8228
- const label = /* @__PURE__ */ React80.createElement(Label, __spreadValues({
8351
+ const label = /* @__PURE__ */ React82.createElement(Label, __spreadValues({
8229
8352
  id: `${id.current}-label`,
8230
8353
  htmlFor: `${id.current}-input`,
8231
8354
  variant,
8232
8355
  messageId: errorMessageId
8233
8356
  }, labelProps));
8234
- return /* @__PURE__ */ React80.createElement(FormControl, null, /* @__PURE__ */ React80.createElement(_SelectBase, __spreadProps(__spreadValues(__spreadValues({}, baseProps), errorProps), {
8357
+ return /* @__PURE__ */ React82.createElement(FormControl, null, /* @__PURE__ */ React82.createElement(_SelectBase, __spreadProps(__spreadValues(__spreadValues({}, baseProps), errorProps), {
8235
8358
  id: `${id.current}-input`,
8236
8359
  options,
8237
8360
  disabled: props.disabled,
8238
8361
  valid: props.valid,
8239
8362
  labelWrapper: label
8240
- })), /* @__PURE__ */ React80.createElement(HelperText, {
8363
+ })), /* @__PURE__ */ React82.createElement(HelperText, {
8241
8364
  messageId: errorMessageId,
8242
8365
  error: !labelProps.valid,
8243
8366
  helperText: labelProps.helperText,
@@ -8246,7 +8369,7 @@ var Select2 = (_a) => {
8246
8369
  reserveSpaceForError: labelProps.reserveSpaceForError
8247
8370
  }));
8248
8371
  };
8249
- var SelectSkeleton = () => /* @__PURE__ */ React80.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React80.createElement(SelectBase.Skeleton, null));
8372
+ var SelectSkeleton = () => /* @__PURE__ */ React82.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React82.createElement(SelectBase.Skeleton, null));
8250
8373
  Select2.Skeleton = SelectSkeleton;
8251
8374
  Select2.Skeleton.displayName = "Select.Skeleton";
8252
8375
 
@@ -8265,23 +8388,23 @@ var Pagination = ({
8265
8388
  pageSizes,
8266
8389
  onPageSizeChange
8267
8390
  }) => {
8268
- const [value, setValue] = React81.useState(currentPage);
8269
- React81.useEffect(() => {
8391
+ const [value, setValue] = React83.useState(currentPage);
8392
+ React83.useEffect(() => {
8270
8393
  setValue(currentPage);
8271
8394
  }, [currentPage]);
8272
- return /* @__PURE__ */ React81.createElement(Box, {
8395
+ return /* @__PURE__ */ React83.createElement(Box, {
8273
8396
  className: tw("grid grid-cols-[200px_1fr_200px]"),
8274
8397
  backgroundColor: "grey-0",
8275
8398
  padding: "4"
8276
- }, pageSizes && onPageSizeChange && typeof pageSize === "number" ? /* @__PURE__ */ React81.createElement(Box, {
8399
+ }, pageSizes && onPageSizeChange && typeof pageSize === "number" ? /* @__PURE__ */ React83.createElement(Box, {
8277
8400
  display: "flex",
8278
8401
  alignItems: "center",
8279
8402
  gap: "4"
8280
- }, /* @__PURE__ */ React81.createElement(Typography2.Small, {
8403
+ }, /* @__PURE__ */ React83.createElement(Typography2.Small, {
8281
8404
  color: "grey-50"
8282
- }, "Items per page "), /* @__PURE__ */ React81.createElement("div", {
8405
+ }, "Items per page "), /* @__PURE__ */ React83.createElement("div", {
8283
8406
  className: tw("max-w-[70px]")
8284
- }, /* @__PURE__ */ React81.createElement(SelectBase, {
8407
+ }, /* @__PURE__ */ React83.createElement(SelectBase, {
8285
8408
  options: pageSizes.map((size) => size.toString()),
8286
8409
  value: pageSize.toString(),
8287
8410
  onChange: (size) => {
@@ -8292,26 +8415,26 @@ var Pagination = ({
8292
8415
  }
8293
8416
  }
8294
8417
  }
8295
- }))) : /* @__PURE__ */ React81.createElement("div", null), /* @__PURE__ */ React81.createElement(Box, {
8418
+ }))) : /* @__PURE__ */ React83.createElement("div", null), /* @__PURE__ */ React83.createElement(Box, {
8296
8419
  display: "flex",
8297
8420
  justifyContent: "center",
8298
8421
  alignItems: "center",
8299
8422
  className: tw("grow")
8300
- }, /* @__PURE__ */ React81.createElement(IconButton, {
8423
+ }, /* @__PURE__ */ React83.createElement(IconButton, {
8301
8424
  "aria-label": "First",
8302
8425
  onClick: () => onPageChange(1),
8303
8426
  icon: import_chevronBackward.default,
8304
8427
  disabled: !hasPreviousPage
8305
- }), /* @__PURE__ */ React81.createElement(IconButton, {
8428
+ }), /* @__PURE__ */ React83.createElement(IconButton, {
8306
8429
  "aria-label": "Previous",
8307
8430
  onClick: () => onPageChange(currentPage - 1),
8308
8431
  icon: import_chevronLeft3.default,
8309
8432
  disabled: !hasPreviousPage
8310
- }), /* @__PURE__ */ React81.createElement(Box, {
8433
+ }), /* @__PURE__ */ React83.createElement(Box, {
8311
8434
  paddingX: "4"
8312
- }, /* @__PURE__ */ React81.createElement(Typography2.Small, {
8435
+ }, /* @__PURE__ */ React83.createElement(Typography2.Small, {
8313
8436
  color: "grey-60"
8314
- }, "Page")), /* @__PURE__ */ React81.createElement(InputBase, {
8437
+ }, "Page")), /* @__PURE__ */ React83.createElement(InputBase, {
8315
8438
  className: classNames(tw("text-center max-w-[40px]"), "no-arrows"),
8316
8439
  type: "number",
8317
8440
  min: 1,
@@ -8328,45 +8451,45 @@ var Pagination = ({
8328
8451
  const newPage = !isNaN(numberValue) ? clamp(numberValue, 1, totalPages) : 1;
8329
8452
  onPageChange(newPage);
8330
8453
  }
8331
- }), /* @__PURE__ */ React81.createElement(Box, {
8454
+ }), /* @__PURE__ */ React83.createElement(Box, {
8332
8455
  paddingX: "4"
8333
- }, /* @__PURE__ */ React81.createElement(Typography2.Small, {
8456
+ }, /* @__PURE__ */ React83.createElement(Typography2.Small, {
8334
8457
  color: "grey-60"
8335
- }, "of ", totalPages)), /* @__PURE__ */ React81.createElement(IconButton, {
8458
+ }, "of ", totalPages)), /* @__PURE__ */ React83.createElement(IconButton, {
8336
8459
  "aria-label": "Next",
8337
8460
  onClick: () => onPageChange(currentPage + 1),
8338
8461
  icon: import_chevronRight3.default,
8339
8462
  disabled: !hasNextPage
8340
- }), /* @__PURE__ */ React81.createElement(IconButton, {
8463
+ }), /* @__PURE__ */ React83.createElement(IconButton, {
8341
8464
  "aria-label": "Last",
8342
8465
  onClick: () => onPageChange(totalPages),
8343
8466
  icon: import_chevronForward.default,
8344
8467
  disabled: !hasNextPage
8345
- })), /* @__PURE__ */ React81.createElement("div", null));
8468
+ })), /* @__PURE__ */ React83.createElement("div", null));
8346
8469
  };
8347
8470
 
8348
8471
  // src/molecules/PopoverDialog/PopoverDialog.tsx
8349
- import React83 from "react";
8472
+ import React85 from "react";
8350
8473
  import omit16 from "lodash/omit";
8351
8474
 
8352
8475
  // src/atoms/PopoverDialog/PopoverDialog.tsx
8353
- import React82 from "react";
8476
+ import React84 from "react";
8354
8477
  var Header2 = (_a) => {
8355
8478
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8356
- return /* @__PURE__ */ React82.createElement("div", __spreadProps(__spreadValues({}, rest), {
8479
+ return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8357
8480
  className: classNames(tw("p-5 gap-3 flex items-center"), className)
8358
8481
  }), children);
8359
8482
  };
8360
8483
  var Title = (_a) => {
8361
8484
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8362
- return /* @__PURE__ */ React82.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
8485
+ return /* @__PURE__ */ React84.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
8363
8486
  htmlTag: "h1",
8364
8487
  variant: "small-strong"
8365
8488
  }), children);
8366
8489
  };
8367
8490
  var Body = (_a) => {
8368
8491
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8369
- return /* @__PURE__ */ React82.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
8492
+ return /* @__PURE__ */ React84.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
8370
8493
  htmlTag: "div",
8371
8494
  variant: "caption",
8372
8495
  className: classNames(tw("px-5 overflow-y-auto"), className)
@@ -8374,13 +8497,13 @@ var Body = (_a) => {
8374
8497
  };
8375
8498
  var Footer2 = (_a) => {
8376
8499
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8377
- return /* @__PURE__ */ React82.createElement("div", __spreadProps(__spreadValues({}, rest), {
8500
+ return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8378
8501
  className: classNames(tw("p-5"), className)
8379
8502
  }), children);
8380
8503
  };
8381
8504
  var Actions2 = (_a) => {
8382
8505
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8383
- return /* @__PURE__ */ React82.createElement("div", __spreadProps(__spreadValues({}, rest), {
8506
+ return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8384
8507
  className: classNames(tw("flex gap-4"), className)
8385
8508
  }), children);
8386
8509
  };
@@ -8396,13 +8519,13 @@ var PopoverDialog = {
8396
8519
  var PopoverDialog2 = ({ placement, open, title, secondaryAction, primaryAction, children }) => {
8397
8520
  const wrapPromptWithBody = (child) => {
8398
8521
  if (isComponentType(child, PopoverDialog2.Prompt)) {
8399
- return /* @__PURE__ */ React83.createElement(Popover2.Panel, {
8522
+ return /* @__PURE__ */ React85.createElement(Popover2.Panel, {
8400
8523
  className: tw("max-w-[300px]")
8401
- }, /* @__PURE__ */ React83.createElement(PopoverDialog.Header, null, /* @__PURE__ */ React83.createElement(PopoverDialog.Title, null, title)), child, /* @__PURE__ */ React83.createElement(PopoverDialog.Footer, null, /* @__PURE__ */ React83.createElement(PopoverDialog.Actions, null, secondaryAction && /* @__PURE__ */ React83.createElement(Popover2.Button, __spreadValues({
8524
+ }, /* @__PURE__ */ React85.createElement(PopoverDialog.Header, null, /* @__PURE__ */ React85.createElement(PopoverDialog.Title, null, title)), child, /* @__PURE__ */ React85.createElement(PopoverDialog.Footer, null, /* @__PURE__ */ React85.createElement(PopoverDialog.Actions, null, secondaryAction && /* @__PURE__ */ React85.createElement(Popover2.Button, __spreadValues({
8402
8525
  kind: "secondary-ghost",
8403
8526
  key: secondaryAction.text,
8404
8527
  dense: true
8405
- }, omit16(secondaryAction, "text")), secondaryAction.text), /* @__PURE__ */ React83.createElement(Popover2.Button, __spreadValues({
8528
+ }, omit16(secondaryAction, "text")), secondaryAction.text), /* @__PURE__ */ React85.createElement(Popover2.Button, __spreadValues({
8406
8529
  kind: "ghost",
8407
8530
  key: primaryAction.text,
8408
8531
  dense: true
@@ -8410,15 +8533,15 @@ var PopoverDialog2 = ({ placement, open, title, secondaryAction, primaryAction,
8410
8533
  }
8411
8534
  return child;
8412
8535
  };
8413
- return /* @__PURE__ */ React83.createElement(Popover2, {
8536
+ return /* @__PURE__ */ React85.createElement(Popover2, {
8414
8537
  type: "dialog",
8415
8538
  isOpen: open,
8416
8539
  placement,
8417
8540
  containFocus: true
8418
- }, React83.Children.map(children, wrapPromptWithBody));
8541
+ }, React85.Children.map(children, wrapPromptWithBody));
8419
8542
  };
8420
8543
  PopoverDialog2.Trigger = Popover2.Trigger;
8421
- var Prompt = ({ children }) => /* @__PURE__ */ React83.createElement(PopoverDialog.Body, null, children);
8544
+ var Prompt = ({ children }) => /* @__PURE__ */ React85.createElement(PopoverDialog.Body, null, children);
8422
8545
  Prompt.displayName = "PopoverDialog.Prompt";
8423
8546
  PopoverDialog2.Prompt = Prompt;
8424
8547
 
@@ -8427,14 +8550,14 @@ import { createPortal } from "react-dom";
8427
8550
  var Portal = ({ children, to }) => createPortal(children, to);
8428
8551
 
8429
8552
  // src/molecules/ProgressBar/ProgressBar.tsx
8430
- import React85 from "react";
8553
+ import React87 from "react";
8431
8554
 
8432
8555
  // src/atoms/ProgressBar/ProgressBar.tsx
8433
- import React84 from "react";
8556
+ import React86 from "react";
8434
8557
  import clamp2 from "lodash/clamp";
8435
8558
  var ProgressBar = (_a) => {
8436
8559
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8437
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8560
+ return /* @__PURE__ */ React86.createElement("div", __spreadProps(__spreadValues({}, rest), {
8438
8561
  className: classNames(
8439
8562
  tw("relative flex items-center w-full bg-grey-0 h-2 rounded-full overflow-hidden"),
8440
8563
  className
@@ -8450,7 +8573,7 @@ var STATUS_COLORS = {
8450
8573
  ProgressBar.Indicator = (_a) => {
8451
8574
  var _b = _a, { min, max, value, "aria-label": ariaLabel, status, className } = _b, rest = __objRest(_b, ["min", "max", "value", "aria-label", "status", "className"]);
8452
8575
  const completedPercentage = clamp2((value - min) / (max - min) * 100, 0, 100);
8453
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8576
+ return /* @__PURE__ */ React86.createElement("div", __spreadProps(__spreadValues({}, rest), {
8454
8577
  className: classNames(
8455
8578
  tw("h-2 rounded-full transition-all ease-in-out delay-150"),
8456
8579
  STATUS_COLORS[status],
@@ -8466,11 +8589,11 @@ ProgressBar.Indicator = (_a) => {
8466
8589
  };
8467
8590
  ProgressBar.Labels = (_a) => {
8468
8591
  var _b = _a, { children, startLabel, endLabel, className } = _b, rest = __objRest(_b, ["children", "startLabel", "endLabel", "className"]);
8469
- return /* @__PURE__ */ React84.createElement("div", {
8592
+ return /* @__PURE__ */ React86.createElement("div", {
8470
8593
  className: classNames(tw("flex flex-row"), className)
8471
- }, /* @__PURE__ */ React84.createElement("span", __spreadProps(__spreadValues({}, rest), {
8594
+ }, /* @__PURE__ */ React86.createElement("span", __spreadProps(__spreadValues({}, rest), {
8472
8595
  className: tw("grow text-grey-70 typography-caption")
8473
- }), startLabel), /* @__PURE__ */ React84.createElement("span", __spreadProps(__spreadValues({}, rest), {
8596
+ }), startLabel), /* @__PURE__ */ React86.createElement("span", __spreadProps(__spreadValues({}, rest), {
8474
8597
  className: tw("grow text-grey-70 typography-caption text-right")
8475
8598
  }), endLabel));
8476
8599
  };
@@ -8488,7 +8611,7 @@ var ProgressBar2 = (props) => {
8488
8611
  if (min > max) {
8489
8612
  throw new Error("`min` value provided to `ProgressBar` is greater than `max` value.");
8490
8613
  }
8491
- const progress = /* @__PURE__ */ React85.createElement(ProgressBar, null, /* @__PURE__ */ React85.createElement(ProgressBar.Indicator, {
8614
+ const progress = /* @__PURE__ */ React87.createElement(ProgressBar, null, /* @__PURE__ */ React87.createElement(ProgressBar.Indicator, {
8492
8615
  status: value === max ? completedStatus : progresStatus,
8493
8616
  min,
8494
8617
  max,
@@ -8498,13 +8621,13 @@ var ProgressBar2 = (props) => {
8498
8621
  if (props.dense) {
8499
8622
  return progress;
8500
8623
  }
8501
- return /* @__PURE__ */ React85.createElement("div", null, progress, /* @__PURE__ */ React85.createElement(ProgressBar.Labels, {
8624
+ return /* @__PURE__ */ React87.createElement("div", null, progress, /* @__PURE__ */ React87.createElement(ProgressBar.Labels, {
8502
8625
  className: tw("py-2"),
8503
8626
  startLabel: props.startLabel,
8504
8627
  endLabel: props.endLabel
8505
8628
  }));
8506
8629
  };
8507
- var ProgressBarSkeleton = () => /* @__PURE__ */ React85.createElement(Skeleton, {
8630
+ var ProgressBarSkeleton = () => /* @__PURE__ */ React87.createElement(Skeleton, {
8508
8631
  height: 4,
8509
8632
  display: "block"
8510
8633
  });
@@ -8512,13 +8635,13 @@ ProgressBar2.Skeleton = ProgressBarSkeleton;
8512
8635
  ProgressBar2.Skeleton.displayName = "ProgressBar.Skeleton";
8513
8636
 
8514
8637
  // src/molecules/RadioButton/RadioButton.tsx
8515
- import React86 from "react";
8516
- var RadioButton2 = React86.forwardRef(
8638
+ import React88 from "react";
8639
+ var RadioButton2 = React88.forwardRef(
8517
8640
  (_a, ref) => {
8518
8641
  var _b = _a, { name, id, readOnly = false, disabled = false, caption, children, "aria-label": ariaLabel } = _b, props = __objRest(_b, ["name", "id", "readOnly", "disabled", "caption", "children", "aria-label"]);
8519
8642
  var _a2;
8520
8643
  const isChecked = (_a2 = props.checked) != null ? _a2 : props.defaultChecked;
8521
- return !readOnly || isChecked ? /* @__PURE__ */ React86.createElement(ControlLabel, {
8644
+ return !readOnly || isChecked ? /* @__PURE__ */ React88.createElement(ControlLabel, {
8522
8645
  htmlFor: id,
8523
8646
  label: children,
8524
8647
  "aria-label": ariaLabel,
@@ -8526,7 +8649,7 @@ var RadioButton2 = React86.forwardRef(
8526
8649
  readOnly,
8527
8650
  disabled,
8528
8651
  style: { gap: "0 8px" }
8529
- }, !readOnly && /* @__PURE__ */ React86.createElement(RadioButton, __spreadProps(__spreadValues({
8652
+ }, !readOnly && /* @__PURE__ */ React88.createElement(RadioButton, __spreadProps(__spreadValues({
8530
8653
  id,
8531
8654
  ref,
8532
8655
  name
@@ -8537,12 +8660,12 @@ var RadioButton2 = React86.forwardRef(
8537
8660
  }
8538
8661
  );
8539
8662
  RadioButton2.displayName = "RadioButton";
8540
- var RadioButtonSkeleton = () => /* @__PURE__ */ React86.createElement("div", {
8663
+ var RadioButtonSkeleton = () => /* @__PURE__ */ React88.createElement("div", {
8541
8664
  className: tw("flex gap-3")
8542
- }, /* @__PURE__ */ React86.createElement(Skeleton, {
8665
+ }, /* @__PURE__ */ React88.createElement(Skeleton, {
8543
8666
  height: 20,
8544
8667
  width: 20
8545
- }), /* @__PURE__ */ React86.createElement(Skeleton, {
8668
+ }), /* @__PURE__ */ React88.createElement(Skeleton, {
8546
8669
  height: 20,
8547
8670
  width: 150
8548
8671
  }));
@@ -8550,10 +8673,10 @@ RadioButton2.Skeleton = RadioButtonSkeleton;
8550
8673
  RadioButton2.Skeleton.displayName = "RadioButton.Skeleton";
8551
8674
 
8552
8675
  // src/molecules/RadioButtonGroup/RadioButtonGroup.tsx
8553
- import React87 from "react";
8676
+ import React89 from "react";
8554
8677
  import uniqueId8 from "lodash/uniqueId";
8555
8678
  var isRadioButton = (c) => {
8556
- return React87.isValidElement(c) && c.type === RadioButton2;
8679
+ return React89.isValidElement(c) && c.type === RadioButton2;
8557
8680
  };
8558
8681
  var RadioButtonGroup = (_a) => {
8559
8682
  var _b = _a, {
@@ -8576,7 +8699,7 @@ var RadioButtonGroup = (_a) => {
8576
8699
  "children"
8577
8700
  ]);
8578
8701
  var _a2;
8579
- const [value, setValue] = React87.useState((_a2 = _value != null ? _value : defaultValue) != null ? _a2 : "");
8702
+ const [value, setValue] = React89.useState((_a2 = _value != null ? _value : defaultValue) != null ? _a2 : "");
8580
8703
  const errorMessageId = uniqueId8();
8581
8704
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
8582
8705
  const labelControlProps = getLabelControlProps(props);
@@ -8587,14 +8710,14 @@ var RadioButtonGroup = (_a) => {
8587
8710
  setValue(e.target.value);
8588
8711
  onChange == null ? void 0 : onChange(e.target.value);
8589
8712
  };
8590
- const content = React87.Children.map(children, (c) => {
8713
+ const content = React89.Children.map(children, (c) => {
8591
8714
  var _a3, _b2, _c;
8592
8715
  if (!isRadioButton(c)) {
8593
8716
  return null;
8594
8717
  }
8595
8718
  const defaultChecked = defaultValue === void 0 ? void 0 : c.props.value === defaultValue;
8596
8719
  const checked = value === void 0 ? void 0 : c.props.value === value;
8597
- return React87.cloneElement(c, {
8720
+ return React89.cloneElement(c, {
8598
8721
  name,
8599
8722
  defaultChecked: (_a3 = c.props.defaultChecked) != null ? _a3 : defaultChecked,
8600
8723
  checked: (_b2 = c.props.checked) != null ? _b2 : checked,
@@ -8603,11 +8726,11 @@ var RadioButtonGroup = (_a) => {
8603
8726
  readOnly
8604
8727
  });
8605
8728
  });
8606
- return /* @__PURE__ */ React87.createElement(LabelControl, __spreadValues(__spreadValues({
8729
+ return /* @__PURE__ */ React89.createElement(LabelControl, __spreadValues(__spreadValues({
8607
8730
  fieldset: true
8608
- }, labelControlProps), errorProps), cols && /* @__PURE__ */ React87.createElement(InputGroup, {
8731
+ }, labelControlProps), errorProps), cols && /* @__PURE__ */ React89.createElement(InputGroup, {
8609
8732
  cols
8610
- }, content), !cols && /* @__PURE__ */ React87.createElement(Flexbox, {
8733
+ }, content), !cols && /* @__PURE__ */ React89.createElement(Flexbox, {
8611
8734
  direction,
8612
8735
  alignItems: "flex-start",
8613
8736
  colGap: "8",
@@ -8616,12 +8739,12 @@ var RadioButtonGroup = (_a) => {
8616
8739
  }, content));
8617
8740
  };
8618
8741
  var RadioButtonGroupSkeleton = ({ direction = "row", options = 2 }) => {
8619
- return /* @__PURE__ */ React87.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React87.createElement("div", {
8742
+ return /* @__PURE__ */ React89.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React89.createElement("div", {
8620
8743
  className: tw("flex flex-wrap", {
8621
8744
  "flex-row gap-8": direction === "row",
8622
8745
  "flex-col gap-2": direction === "column"
8623
8746
  })
8624
- }, Array.from({ length: options }).map((_, key) => /* @__PURE__ */ React87.createElement(RadioButton2.Skeleton, {
8747
+ }, Array.from({ length: options }).map((_, key) => /* @__PURE__ */ React89.createElement(RadioButton2.Skeleton, {
8625
8748
  key
8626
8749
  }))));
8627
8750
  };
@@ -8629,68 +8752,68 @@ RadioButtonGroup.Skeleton = RadioButtonGroupSkeleton;
8629
8752
  RadioButtonGroup.Skeleton.displayName = "RadioButtonGroup.Skeleton";
8630
8753
 
8631
8754
  // src/molecules/Section/Section.tsx
8632
- import React89 from "react";
8755
+ import React91 from "react";
8633
8756
  import castArray4 from "lodash/castArray";
8634
8757
 
8635
8758
  // src/atoms/Section/Section.tsx
8636
- import React88 from "react";
8759
+ import React90 from "react";
8637
8760
  var Section3 = (_a) => {
8638
8761
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
8639
- return /* @__PURE__ */ React88.createElement(Box, __spreadValues({
8762
+ return /* @__PURE__ */ React90.createElement(Box, __spreadValues({
8640
8763
  borderColor: "grey-5",
8641
8764
  borderWidth: "1px"
8642
8765
  }, rest), children);
8643
8766
  };
8644
8767
  Section3.Header = (_a) => {
8645
8768
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8646
- return /* @__PURE__ */ React88.createElement("div", __spreadProps(__spreadValues({}, rest), {
8769
+ return /* @__PURE__ */ React90.createElement("div", __spreadProps(__spreadValues({}, rest), {
8647
8770
  className: classNames(tw("px-6 py-5 flex gap-5 justify-between items-center"), className)
8648
8771
  }), children);
8649
8772
  };
8650
8773
  Section3.TitleContainer = (_a) => {
8651
8774
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8652
- return /* @__PURE__ */ React88.createElement("div", __spreadProps(__spreadValues({}, rest), {
8775
+ return /* @__PURE__ */ React90.createElement("div", __spreadProps(__spreadValues({}, rest), {
8653
8776
  className: classNames(tw("flex flex-col grow gap-2"), className)
8654
8777
  }), children);
8655
8778
  };
8656
8779
  Section3.Title = (_a) => {
8657
8780
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
8658
- return /* @__PURE__ */ React88.createElement(Typography2.Subheading, __spreadProps(__spreadValues({}, rest), {
8781
+ return /* @__PURE__ */ React90.createElement(Typography2.Subheading, __spreadProps(__spreadValues({}, rest), {
8659
8782
  color: "black"
8660
8783
  }), children);
8661
8784
  };
8662
8785
  Section3.Subtitle = (_a) => {
8663
8786
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
8664
- return /* @__PURE__ */ React88.createElement(Typography2.SmallText, __spreadProps(__spreadValues({}, rest), {
8787
+ return /* @__PURE__ */ React90.createElement(Typography2.SmallText, __spreadProps(__spreadValues({}, rest), {
8665
8788
  color: "grey-70"
8666
8789
  }), children);
8667
8790
  };
8668
8791
  Section3.Actions = (_a) => {
8669
8792
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8670
- return /* @__PURE__ */ React88.createElement("div", __spreadProps(__spreadValues({}, rest), {
8793
+ return /* @__PURE__ */ React90.createElement("div", __spreadProps(__spreadValues({}, rest), {
8671
8794
  className: classNames(tw("flex gap-4 justify-end"), className)
8672
8795
  }), children);
8673
8796
  };
8674
8797
  Section3.Body = (_a) => {
8675
8798
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
8676
- return /* @__PURE__ */ React88.createElement("div", __spreadProps(__spreadValues({}, rest), {
8799
+ return /* @__PURE__ */ React90.createElement("div", __spreadProps(__spreadValues({}, rest), {
8677
8800
  className: classNames(tw("p-6"), className)
8678
- }), /* @__PURE__ */ React88.createElement(Typography, {
8801
+ }), /* @__PURE__ */ React90.createElement(Typography, {
8679
8802
  htmlTag: "div",
8680
8803
  color: "grey-70"
8681
8804
  }, children));
8682
8805
  };
8683
8806
 
8684
8807
  // src/molecules/Section/Section.tsx
8685
- var Section4 = ({ title, subtitle, actions, children }) => /* @__PURE__ */ React89.createElement(Section3, null, title && /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(Section3.Header, null, /* @__PURE__ */ React89.createElement(Section3.TitleContainer, null, /* @__PURE__ */ React89.createElement(Section3.Title, null, title), subtitle && /* @__PURE__ */ React89.createElement(Section3.Subtitle, null, subtitle)), /* @__PURE__ */ React89.createElement(Section3.Actions, null, actions && castArray4(actions).filter(Boolean).map((_a) => {
8808
+ var Section4 = ({ title, subtitle, actions, children }) => /* @__PURE__ */ React91.createElement(Section3, null, title && /* @__PURE__ */ React91.createElement(React91.Fragment, null, /* @__PURE__ */ React91.createElement(Section3.Header, null, /* @__PURE__ */ React91.createElement(Section3.TitleContainer, null, /* @__PURE__ */ React91.createElement(Section3.Title, null, title), subtitle && /* @__PURE__ */ React91.createElement(Section3.Subtitle, null, subtitle)), /* @__PURE__ */ React91.createElement(Section3.Actions, null, actions && castArray4(actions).filter(Boolean).map((_a) => {
8686
8809
  var _b = _a, { text } = _b, action = __objRest(_b, ["text"]);
8687
- return /* @__PURE__ */ React89.createElement(Button.Secondary, __spreadValues({
8810
+ return /* @__PURE__ */ React91.createElement(Button.Secondary, __spreadValues({
8688
8811
  key: text
8689
8812
  }, action), text);
8690
- }))), /* @__PURE__ */ React89.createElement(Divider2, null)), /* @__PURE__ */ React89.createElement(Section3.Body, null, children));
8813
+ }))), /* @__PURE__ */ React91.createElement(Divider2, null)), /* @__PURE__ */ React91.createElement(Section3.Body, null, children));
8691
8814
 
8692
8815
  // src/molecules/SegmentedControl/SegmentedControl.tsx
8693
- import React90 from "react";
8816
+ import React92 from "react";
8694
8817
  var SegmentedControl = (_a) => {
8695
8818
  var _b = _a, {
8696
8819
  children,
@@ -8707,7 +8830,7 @@ var SegmentedControl = (_a) => {
8707
8830
  "selected",
8708
8831
  "className"
8709
8832
  ]);
8710
- return /* @__PURE__ */ React90.createElement("button", __spreadProps(__spreadValues({
8833
+ return /* @__PURE__ */ React92.createElement("button", __spreadProps(__spreadValues({
8711
8834
  type: "button"
8712
8835
  }, rest), {
8713
8836
  className: classNames(
@@ -8738,11 +8861,11 @@ var SegmentedControlGroup = (_a) => {
8738
8861
  "border border-grey-20 text-grey-50": variant === "outlined",
8739
8862
  "bg-grey-0": variant === "raised"
8740
8863
  });
8741
- return /* @__PURE__ */ React90.createElement("div", __spreadProps(__spreadValues({}, rest), {
8864
+ return /* @__PURE__ */ React92.createElement("div", __spreadProps(__spreadValues({}, rest), {
8742
8865
  className: classNames(classes2, className)
8743
- }), React90.Children.map(
8866
+ }), React92.Children.map(
8744
8867
  children,
8745
- (child) => React90.cloneElement(child, {
8868
+ (child) => React92.cloneElement(child, {
8746
8869
  dense,
8747
8870
  variant,
8748
8871
  onClick: () => onChange(child.props.value),
@@ -8779,26 +8902,15 @@ var getCommonClassNames = (dense, selected) => tw(
8779
8902
  }
8780
8903
  );
8781
8904
 
8782
- // src/molecules/Spacing/Spacing.tsx
8783
- import React91 from "react";
8784
- var Spacing = (_a) => {
8785
- var _b = _a, { gap, row } = _b, rest = __objRest(_b, ["gap", "row"]);
8786
- return /* @__PURE__ */ React91.createElement(Box, __spreadProps(__spreadValues({}, rest), {
8787
- display: "flex",
8788
- flexDirection: row ? "row" : "column",
8789
- gap
8790
- }));
8791
- };
8792
-
8793
8905
  // src/molecules/Stepper/Stepper.tsx
8794
- import React93 from "react";
8906
+ import React94 from "react";
8795
8907
 
8796
8908
  // src/atoms/Stepper/Stepper.tsx
8797
- import React92 from "react";
8909
+ import React93 from "react";
8798
8910
  var import_tick5 = __toESM(require_tick());
8799
8911
  var Stepper = (_a) => {
8800
8912
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8801
- return /* @__PURE__ */ React92.createElement("div", __spreadProps(__spreadValues({}, rest), {
8913
+ return /* @__PURE__ */ React93.createElement("div", __spreadProps(__spreadValues({}, rest), {
8802
8914
  className: classNames(className)
8803
8915
  }));
8804
8916
  };
@@ -8812,7 +8924,7 @@ var ConnectorContainer = (_a) => {
8812
8924
  "completed",
8813
8925
  "dense"
8814
8926
  ]);
8815
- return /* @__PURE__ */ React92.createElement("div", __spreadProps(__spreadValues({}, rest), {
8927
+ return /* @__PURE__ */ React93.createElement("div", __spreadProps(__spreadValues({}, rest), {
8816
8928
  className: classNames(
8817
8929
  tw("absolute w-full -left-1/2", {
8818
8930
  "top-[3px] px-[14px]": Boolean(dense),
@@ -8824,7 +8936,7 @@ var ConnectorContainer = (_a) => {
8824
8936
  };
8825
8937
  var Connector = (_a) => {
8826
8938
  var _b = _a, { children, className, completed, dense } = _b, rest = __objRest(_b, ["children", "className", "completed", "dense"]);
8827
- return /* @__PURE__ */ React92.createElement("div", __spreadProps(__spreadValues({}, rest), {
8939
+ return /* @__PURE__ */ React93.createElement("div", __spreadProps(__spreadValues({}, rest), {
8828
8940
  className: classNames(
8829
8941
  tw("w-full", {
8830
8942
  "bg-grey-20": !completed,
@@ -8838,7 +8950,7 @@ var Connector = (_a) => {
8838
8950
  };
8839
8951
  var Step = (_a) => {
8840
8952
  var _b = _a, { className, state } = _b, rest = __objRest(_b, ["className", "state"]);
8841
- return /* @__PURE__ */ React92.createElement("div", __spreadProps(__spreadValues({}, rest), {
8953
+ return /* @__PURE__ */ React93.createElement("div", __spreadProps(__spreadValues({}, rest), {
8842
8954
  className: classNames(
8843
8955
  tw("flex flex-col items-center text-grey-90 relative text-center", {
8844
8956
  "text-grey-20": state === "inactive"
@@ -8859,13 +8971,13 @@ var getDenseClassNames = (state) => tw("h-[8px] w-[8px]", {
8859
8971
  });
8860
8972
  var Indicator = (_a) => {
8861
8973
  var _b = _a, { children, className, state, dense } = _b, rest = __objRest(_b, ["children", "className", "state", "dense"]);
8862
- return /* @__PURE__ */ React92.createElement("div", __spreadProps(__spreadValues({}, rest), {
8974
+ return /* @__PURE__ */ React93.createElement("div", __spreadProps(__spreadValues({}, rest), {
8863
8975
  className: classNames(
8864
8976
  tw("rounded-full flex justify-center items-center mx-2 mb-3"),
8865
8977
  dense ? getDenseClassNames(state) : getClassNames(state),
8866
8978
  className
8867
8979
  )
8868
- }), state === "completed" ? /* @__PURE__ */ React92.createElement(InlineIcon, {
8980
+ }), state === "completed" ? /* @__PURE__ */ React93.createElement(InlineIcon, {
8869
8981
  icon: import_tick5.default
8870
8982
  }) : dense ? null : children);
8871
8983
  };
@@ -8876,25 +8988,25 @@ Stepper.ConnectorContainer = ConnectorContainer;
8876
8988
 
8877
8989
  // src/molecules/Stepper/Stepper.tsx
8878
8990
  var Stepper2 = ({ children, activeIndex, dense }) => {
8879
- const steps = React93.Children.count(children);
8880
- return /* @__PURE__ */ React93.createElement(Stepper, {
8991
+ const steps = React94.Children.count(children);
8992
+ return /* @__PURE__ */ React94.createElement(Stepper, {
8881
8993
  role: "list"
8882
- }, /* @__PURE__ */ React93.createElement(Template, {
8994
+ }, /* @__PURE__ */ React94.createElement(Template, {
8883
8995
  columns: steps
8884
- }, React93.Children.map(children, (child, index) => {
8996
+ }, React94.Children.map(children, (child, index) => {
8885
8997
  if (!isComponentType(child, Step2)) {
8886
8998
  return new Error("<Stepper> can only have <Stepper.Step> components as children");
8887
8999
  } else {
8888
9000
  const state = index > activeIndex ? "inactive" : index === activeIndex ? "active" : "completed";
8889
- return /* @__PURE__ */ React93.createElement(Stepper.Step, {
9001
+ return /* @__PURE__ */ React94.createElement(Stepper.Step, {
8890
9002
  state,
8891
9003
  "aria-current": state === "active" ? "step" : false,
8892
9004
  role: "listitem"
8893
- }, index > 0 && index <= steps && /* @__PURE__ */ React93.createElement(Stepper.ConnectorContainer, {
9005
+ }, index > 0 && index <= steps && /* @__PURE__ */ React94.createElement(Stepper.ConnectorContainer, {
8894
9006
  dense
8895
- }, /* @__PURE__ */ React93.createElement(Stepper.ConnectorContainer.Connector, {
9007
+ }, /* @__PURE__ */ React94.createElement(Stepper.ConnectorContainer.Connector, {
8896
9008
  completed: state === "completed" || state === "active"
8897
- })), /* @__PURE__ */ React93.createElement(Stepper.Step.Indicator, {
9009
+ })), /* @__PURE__ */ React94.createElement(Stepper.Step.Indicator, {
8898
9010
  state,
8899
9011
  dense
8900
9012
  }, index + 1), child.props.children);
@@ -8907,16 +9019,16 @@ Step2.displayName = "Stepper.Step";
8907
9019
  Stepper2.Step = Step2;
8908
9020
 
8909
9021
  // src/molecules/Switch/Switch.tsx
8910
- import React95 from "react";
9022
+ import React96 from "react";
8911
9023
 
8912
9024
  // src/atoms/Switch/Switch.tsx
8913
- import React94 from "react";
8914
- var Switch = React94.forwardRef(
9025
+ import React95 from "react";
9026
+ var Switch = React95.forwardRef(
8915
9027
  (_a, ref) => {
8916
9028
  var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
8917
- return /* @__PURE__ */ React94.createElement("span", {
9029
+ return /* @__PURE__ */ React95.createElement("span", {
8918
9030
  className: tw("relative inline-flex justify-center items-center self-center group")
8919
- }, /* @__PURE__ */ React94.createElement("input", __spreadProps(__spreadValues({
9031
+ }, /* @__PURE__ */ React95.createElement("input", __spreadProps(__spreadValues({
8920
9032
  id,
8921
9033
  ref,
8922
9034
  type: "checkbox",
@@ -8935,7 +9047,7 @@ var Switch = React94.forwardRef(
8935
9047
  ),
8936
9048
  readOnly,
8937
9049
  disabled
8938
- })), /* @__PURE__ */ React94.createElement("span", {
9050
+ })), /* @__PURE__ */ React95.createElement("span", {
8939
9051
  className: tw(
8940
9052
  "pointer-events-none rounded-full absolute inline-block transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
8941
9053
  "bg-white peer-disabled/switch:bg-grey-0 left-2 peer-checked/switch:left-1",
@@ -8948,12 +9060,12 @@ var Switch = React94.forwardRef(
8948
9060
  );
8949
9061
 
8950
9062
  // src/molecules/Switch/Switch.tsx
8951
- var Switch2 = React95.forwardRef(
9063
+ var Switch2 = React96.forwardRef(
8952
9064
  (_a, ref) => {
8953
9065
  var _b = _a, { id, name, caption, readOnly = false, disabled = false, children, "aria-label": ariaLabel } = _b, props = __objRest(_b, ["id", "name", "caption", "readOnly", "disabled", "children", "aria-label"]);
8954
9066
  var _a2;
8955
9067
  const isChecked = (_a2 = props.checked) != null ? _a2 : props.defaultChecked;
8956
- return !readOnly || isChecked ? /* @__PURE__ */ React95.createElement(ControlLabel, {
9068
+ return !readOnly || isChecked ? /* @__PURE__ */ React96.createElement(ControlLabel, {
8957
9069
  htmlFor: id,
8958
9070
  label: children,
8959
9071
  "aria-label": ariaLabel,
@@ -8961,7 +9073,7 @@ var Switch2 = React95.forwardRef(
8961
9073
  readOnly,
8962
9074
  disabled,
8963
9075
  style: { gap: "0 8px" }
8964
- }, !readOnly && /* @__PURE__ */ React95.createElement(Switch, __spreadProps(__spreadValues({
9076
+ }, !readOnly && /* @__PURE__ */ React96.createElement(Switch, __spreadProps(__spreadValues({
8965
9077
  id,
8966
9078
  ref,
8967
9079
  name
@@ -8972,12 +9084,12 @@ var Switch2 = React95.forwardRef(
8972
9084
  }
8973
9085
  );
8974
9086
  Switch2.displayName = "Switch";
8975
- var SwitchSkeleton = () => /* @__PURE__ */ React95.createElement("div", {
9087
+ var SwitchSkeleton = () => /* @__PURE__ */ React96.createElement("div", {
8976
9088
  className: tw("flex gap-3")
8977
- }, /* @__PURE__ */ React95.createElement(Skeleton, {
9089
+ }, /* @__PURE__ */ React96.createElement(Skeleton, {
8978
9090
  height: 20,
8979
9091
  width: 35
8980
- }), /* @__PURE__ */ React95.createElement(Skeleton, {
9092
+ }), /* @__PURE__ */ React96.createElement(Skeleton, {
8981
9093
  height: 20,
8982
9094
  width: 150
8983
9095
  }));
@@ -8985,7 +9097,7 @@ Switch2.Skeleton = SwitchSkeleton;
8985
9097
  Switch2.Skeleton.displayName = "Switch.Skeleton ";
8986
9098
 
8987
9099
  // src/molecules/SwitchGroup/SwitchGroup.tsx
8988
- import React96, { useState as useState11 } from "react";
9100
+ import React97, { useState as useState11 } from "react";
8989
9101
  import uniqueId9 from "lodash/uniqueId";
8990
9102
  var SwitchGroup = (_a) => {
8991
9103
  var _b = _a, {
@@ -9017,11 +9129,11 @@ var SwitchGroup = (_a) => {
9017
9129
  setSelectedItems(updated);
9018
9130
  onChange == null ? void 0 : onChange(updated);
9019
9131
  };
9020
- return /* @__PURE__ */ React96.createElement(LabelControl, __spreadValues(__spreadValues({
9132
+ return /* @__PURE__ */ React97.createElement(LabelControl, __spreadValues(__spreadValues({
9021
9133
  fieldset: true
9022
- }, labelControlProps), errorProps), /* @__PURE__ */ React96.createElement(InputGroup, {
9134
+ }, labelControlProps), errorProps), /* @__PURE__ */ React97.createElement(InputGroup, {
9023
9135
  cols
9024
- }, React96.Children.map(children, (c) => {
9136
+ }, React97.Children.map(children, (c) => {
9025
9137
  var _a3, _b2, _c, _d;
9026
9138
  if (!isComponentType(c, Switch2)) {
9027
9139
  return null;
@@ -9029,7 +9141,7 @@ var SwitchGroup = (_a) => {
9029
9141
  const str = (_a3 = c.props.value) == null ? void 0 : _a3.toString();
9030
9142
  const defaultChecked = defaultValue === void 0 ? void 0 : str !== void 0 && defaultValue.includes(str);
9031
9143
  const checked = value === void 0 ? void 0 : str !== void 0 && value.includes(str);
9032
- return React96.cloneElement(c, {
9144
+ return React97.cloneElement(c, {
9033
9145
  defaultChecked: (_b2 = c.props.defaultChecked) != null ? _b2 : defaultChecked,
9034
9146
  checked: (_c = c.props.checked) != null ? _c : checked,
9035
9147
  onChange: (_d = c.props.onChange) != null ? _d : handleChange,
@@ -9039,9 +9151,9 @@ var SwitchGroup = (_a) => {
9039
9151
  })));
9040
9152
  };
9041
9153
  var SwitchGroupSkeleton = ({ options = 2 }) => {
9042
- return /* @__PURE__ */ React96.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React96.createElement("div", {
9154
+ return /* @__PURE__ */ React97.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React97.createElement("div", {
9043
9155
  className: tw("flex flex-wrap flex-col gap-2")
9044
- }, Array.from({ length: options }).map((_, key) => /* @__PURE__ */ React96.createElement(Switch2.Skeleton, {
9156
+ }, Array.from({ length: options }).map((_, key) => /* @__PURE__ */ React97.createElement(Switch2.Skeleton, {
9045
9157
  key
9046
9158
  }))));
9047
9159
  };
@@ -9049,10 +9161,10 @@ SwitchGroup.Skeleton = SwitchGroupSkeleton;
9049
9161
  SwitchGroup.Skeleton.displayName = "SwitchGroup.Skeleton";
9050
9162
 
9051
9163
  // src/molecules/TagLabel/TagLabel.tsx
9052
- import React97 from "react";
9164
+ import React98 from "react";
9053
9165
  var TagLabel = (_a) => {
9054
9166
  var _b = _a, { title, dense = false } = _b, rest = __objRest(_b, ["title", "dense"]);
9055
- return /* @__PURE__ */ React97.createElement("span", __spreadProps(__spreadValues({}, rest), {
9167
+ return /* @__PURE__ */ React98.createElement("span", __spreadProps(__spreadValues({}, rest), {
9056
9168
  className: tw("rounded-full text-white bg-primary-70", {
9057
9169
  "py-2 px-4 typography-caption": !dense,
9058
9170
  "py-2 px-3 typography-caption-small": dense
@@ -9061,14 +9173,14 @@ var TagLabel = (_a) => {
9061
9173
  };
9062
9174
 
9063
9175
  // src/molecules/Textarea/Textarea.tsx
9064
- import React98, { useRef as useRef13, useState as useState12 } from "react";
9176
+ import React99, { useRef as useRef13, useState as useState12 } from "react";
9065
9177
  import omit17 from "lodash/omit";
9066
9178
  import toString2 from "lodash/toString";
9067
9179
  import uniqueId10 from "lodash/uniqueId";
9068
- var TextareaBase = React98.forwardRef(
9180
+ var TextareaBase = React99.forwardRef(
9069
9181
  (_a, ref) => {
9070
9182
  var _b = _a, { readOnly = false, valid = true } = _b, props = __objRest(_b, ["readOnly", "valid"]);
9071
- return /* @__PURE__ */ React98.createElement("textarea", __spreadProps(__spreadValues({
9183
+ return /* @__PURE__ */ React99.createElement("textarea", __spreadProps(__spreadValues({
9072
9184
  ref
9073
9185
  }, props), {
9074
9186
  readOnly,
@@ -9076,10 +9188,10 @@ var TextareaBase = React98.forwardRef(
9076
9188
  }));
9077
9189
  }
9078
9190
  );
9079
- TextareaBase.Skeleton = () => /* @__PURE__ */ React98.createElement(Skeleton, {
9191
+ TextareaBase.Skeleton = () => /* @__PURE__ */ React99.createElement(Skeleton, {
9080
9192
  height: 58
9081
9193
  });
9082
- var Textarea = React98.forwardRef((props, ref) => {
9194
+ var Textarea = React99.forwardRef((props, ref) => {
9083
9195
  var _a, _b, _c;
9084
9196
  const [value, setValue] = useState12((_b = (_a = props.value) != null ? _a : props.defaultValue) != null ? _b : "");
9085
9197
  const id = useRef13((_c = props.id) != null ? _c : `textarea-${uniqueId10()}`);
@@ -9087,12 +9199,12 @@ var Textarea = React98.forwardRef((props, ref) => {
9087
9199
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
9088
9200
  const _d = getLabelControlProps(props), { "data-testid": dataTestId } = _d, labelControlProps = __objRest(_d, ["data-testid"]);
9089
9201
  const baseProps = omit17(props, Object.keys(labelControlProps));
9090
- return /* @__PURE__ */ React98.createElement(LabelControl, __spreadValues({
9202
+ return /* @__PURE__ */ React99.createElement(LabelControl, __spreadValues({
9091
9203
  id: `${id.current}-label`,
9092
9204
  htmlFor: id.current,
9093
9205
  messageId: errorMessageId,
9094
9206
  length: value !== void 0 ? toString2(value).length : void 0
9095
- }, labelControlProps), /* @__PURE__ */ React98.createElement(TextareaBase, __spreadProps(__spreadValues(__spreadValues({
9207
+ }, labelControlProps), /* @__PURE__ */ React99.createElement(TextareaBase, __spreadProps(__spreadValues(__spreadValues({
9096
9208
  ref
9097
9209
  }, baseProps), errorProps), {
9098
9210
  id: id.current,
@@ -9109,48 +9221,48 @@ var Textarea = React98.forwardRef((props, ref) => {
9109
9221
  })));
9110
9222
  });
9111
9223
  Textarea.displayName = "Textarea";
9112
- var TextAreaSkeleton = () => /* @__PURE__ */ React98.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React98.createElement(TextareaBase.Skeleton, null));
9224
+ var TextAreaSkeleton = () => /* @__PURE__ */ React99.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React99.createElement(TextareaBase.Skeleton, null));
9113
9225
  Textarea.Skeleton = TextAreaSkeleton;
9114
9226
  Textarea.Skeleton.displayName = "Textarea.Skeleton";
9115
9227
 
9116
9228
  // src/molecules/Timeline/Timeline.tsx
9117
- import React100 from "react";
9229
+ import React101 from "react";
9118
9230
 
9119
9231
  // src/atoms/Timeline/Timeline.tsx
9120
- import React99 from "react";
9232
+ import React100 from "react";
9121
9233
  var Timeline = (_a) => {
9122
9234
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
9123
- return /* @__PURE__ */ React99.createElement("div", __spreadProps(__spreadValues({}, rest), {
9235
+ return /* @__PURE__ */ React100.createElement("div", __spreadProps(__spreadValues({}, rest), {
9124
9236
  className: classNames(tw("grid grid-cols-[16px_1fr] gap-x-4"), className)
9125
9237
  }));
9126
9238
  };
9127
9239
  var Content2 = (_a) => {
9128
9240
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
9129
- return /* @__PURE__ */ React99.createElement("div", __spreadProps(__spreadValues({}, rest), {
9241
+ return /* @__PURE__ */ React100.createElement("div", __spreadProps(__spreadValues({}, rest), {
9130
9242
  className: classNames(tw("pb-6"), className)
9131
9243
  }));
9132
9244
  };
9133
9245
  var Separator2 = (_a) => {
9134
9246
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
9135
- return /* @__PURE__ */ React99.createElement("div", __spreadProps(__spreadValues({}, rest), {
9247
+ return /* @__PURE__ */ React100.createElement("div", __spreadProps(__spreadValues({}, rest), {
9136
9248
  className: classNames(tw("flex items-center justify-center h-5 w-5"), className)
9137
9249
  }));
9138
9250
  };
9139
9251
  var LineContainer = (_a) => {
9140
9252
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
9141
- return /* @__PURE__ */ React99.createElement("div", __spreadProps(__spreadValues({}, rest), {
9253
+ return /* @__PURE__ */ React100.createElement("div", __spreadProps(__spreadValues({}, rest), {
9142
9254
  className: classNames(tw("flex justify-center py-1"), className)
9143
9255
  }));
9144
9256
  };
9145
9257
  var Line = (_a) => {
9146
9258
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
9147
- return /* @__PURE__ */ React99.createElement("div", __spreadProps(__spreadValues({}, rest), {
9259
+ return /* @__PURE__ */ React100.createElement("div", __spreadProps(__spreadValues({}, rest), {
9148
9260
  className: classNames(tw("w-1 bg-grey-5 h-full justify-self-center"), className)
9149
9261
  }));
9150
9262
  };
9151
9263
  var Dot = (_a) => {
9152
9264
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
9153
- return /* @__PURE__ */ React99.createElement("div", __spreadProps(__spreadValues({}, rest), {
9265
+ return /* @__PURE__ */ React100.createElement("div", __spreadProps(__spreadValues({}, rest), {
9154
9266
  className: classNames(tw("bg-grey-30 h-[6px] w-[6px] rounded"), className)
9155
9267
  }));
9156
9268
  };
@@ -9165,52 +9277,52 @@ var import_error4 = __toESM(require_error());
9165
9277
  var import_time = __toESM(require_time());
9166
9278
  var import_warningSign4 = __toESM(require_warningSign());
9167
9279
  var TimelineItem = () => null;
9168
- var Timeline2 = ({ children }) => /* @__PURE__ */ React100.createElement("div", null, React100.Children.map(children, (item) => {
9280
+ var Timeline2 = ({ children }) => /* @__PURE__ */ React101.createElement("div", null, React101.Children.map(children, (item) => {
9169
9281
  if (!isComponentType(item, TimelineItem)) {
9170
9282
  throw new Error("<Timeline> can only have <Timeline.Item> components as children");
9171
9283
  } else {
9172
9284
  const { props, key } = item;
9173
- return /* @__PURE__ */ React100.createElement(Timeline, {
9285
+ return /* @__PURE__ */ React101.createElement(Timeline, {
9174
9286
  key: key != null ? key : props.title
9175
- }, /* @__PURE__ */ React100.createElement(Timeline.Separator, null, props.variant === "error" ? /* @__PURE__ */ React100.createElement(Icon, {
9287
+ }, /* @__PURE__ */ React101.createElement(Timeline.Separator, null, props.variant === "error" ? /* @__PURE__ */ React101.createElement(Icon, {
9176
9288
  icon: import_error4.default,
9177
9289
  color: "error-30"
9178
- }) : props.variant === "warning" ? /* @__PURE__ */ React100.createElement(Icon, {
9290
+ }) : props.variant === "warning" ? /* @__PURE__ */ React101.createElement(Icon, {
9179
9291
  icon: import_warningSign4.default,
9180
9292
  color: "warning-30"
9181
- }) : props.variant === "info" ? /* @__PURE__ */ React100.createElement(Icon, {
9293
+ }) : props.variant === "info" ? /* @__PURE__ */ React101.createElement(Icon, {
9182
9294
  icon: import_time.default,
9183
9295
  color: "info-30"
9184
- }) : /* @__PURE__ */ React100.createElement(Timeline.Separator.Dot, null)), /* @__PURE__ */ React100.createElement(Typography2.Caption, {
9296
+ }) : /* @__PURE__ */ React101.createElement(Timeline.Separator.Dot, null)), /* @__PURE__ */ React101.createElement(Typography2.Caption, {
9185
9297
  color: "grey-50"
9186
- }, props.title), /* @__PURE__ */ React100.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React100.createElement(Timeline.LineContainer.Line, null)), /* @__PURE__ */ React100.createElement(Timeline.Content, null, /* @__PURE__ */ React100.createElement(Typography2.Small, null, props.children)));
9298
+ }, props.title), /* @__PURE__ */ React101.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React101.createElement(Timeline.LineContainer.Line, null)), /* @__PURE__ */ React101.createElement(Timeline.Content, null, /* @__PURE__ */ React101.createElement(Typography2.Small, null, props.children)));
9187
9299
  }
9188
9300
  }));
9189
- var TimelineItemSkeleton = () => /* @__PURE__ */ React100.createElement(Timeline, null, /* @__PURE__ */ React100.createElement(Timeline.Separator, null, /* @__PURE__ */ React100.createElement(Skeleton, {
9301
+ var TimelineItemSkeleton = () => /* @__PURE__ */ React101.createElement(Timeline, null, /* @__PURE__ */ React101.createElement(Timeline.Separator, null, /* @__PURE__ */ React101.createElement(Skeleton, {
9190
9302
  width: 6,
9191
9303
  height: 6,
9192
9304
  rounded: true
9193
- })), /* @__PURE__ */ React100.createElement(Skeleton, {
9305
+ })), /* @__PURE__ */ React101.createElement(Skeleton, {
9194
9306
  height: 12,
9195
9307
  width: 120
9196
- }), /* @__PURE__ */ React100.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React100.createElement(Skeleton, {
9308
+ }), /* @__PURE__ */ React101.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React101.createElement(Skeleton, {
9197
9309
  width: 2,
9198
9310
  height: "100%"
9199
- })), /* @__PURE__ */ React100.createElement(Timeline.Content, null, /* @__PURE__ */ React100.createElement(Box, {
9311
+ })), /* @__PURE__ */ React101.createElement(Timeline.Content, null, /* @__PURE__ */ React101.createElement(Box, {
9200
9312
  display: "flex",
9201
9313
  flexDirection: "column",
9202
9314
  gap: "3"
9203
- }, /* @__PURE__ */ React100.createElement(Skeleton, {
9315
+ }, /* @__PURE__ */ React101.createElement(Skeleton, {
9204
9316
  height: 32,
9205
9317
  width: "100%"
9206
- }), /* @__PURE__ */ React100.createElement(Skeleton, {
9318
+ }), /* @__PURE__ */ React101.createElement(Skeleton, {
9207
9319
  height: 32,
9208
9320
  width: "73%"
9209
- }), /* @__PURE__ */ React100.createElement(Skeleton, {
9321
+ }), /* @__PURE__ */ React101.createElement(Skeleton, {
9210
9322
  height: 32,
9211
9323
  width: "80%"
9212
9324
  }))));
9213
- var TimelineSkeleton = ({ items = 3 }) => /* @__PURE__ */ React100.createElement("div", null, Array.from({ length: items }).map((_, key) => /* @__PURE__ */ React100.createElement(TimelineItemSkeleton, {
9325
+ var TimelineSkeleton = ({ items = 3 }) => /* @__PURE__ */ React101.createElement("div", null, Array.from({ length: items }).map((_, key) => /* @__PURE__ */ React101.createElement(TimelineItemSkeleton, {
9214
9326
  key
9215
9327
  })));
9216
9328
  Timeline2.Item = TimelineItem;
@@ -9218,9 +9330,9 @@ Timeline2.Skeleton = TimelineSkeleton;
9218
9330
  Timeline2.Skeleton.displayName = "Timeline.Skeleton";
9219
9331
 
9220
9332
  // src/utils/table/useTableSelect.ts
9221
- import React101 from "react";
9333
+ import React102 from "react";
9222
9334
  var useTableSelect = (data, { key }) => {
9223
- const [selected, setSelected] = React101.useState([]);
9335
+ const [selected, setSelected] = React102.useState([]);
9224
9336
  const allSelected = selected.length === data.length;
9225
9337
  const isSelected = (dot) => selected.includes(dot[key]);
9226
9338
  const selectAll = () => setSelected(data.map((dot) => dot[key]));
@@ -9245,7 +9357,7 @@ var useTableSelect = (data, { key }) => {
9245
9357
  };
9246
9358
 
9247
9359
  // src/molecules/Pagination/usePagination.tsx
9248
- import { useEffect as useEffect9, useState as useState13 } from "react";
9360
+ import { useEffect as useEffect10, useState as useState13 } from "react";
9249
9361
  import clamp3 from "lodash/clamp";
9250
9362
  var initialState = {
9251
9363
  currentPage: 1,
@@ -9264,7 +9376,7 @@ var usePagination = (items, options) => {
9264
9376
  setPageSize(pageSize2);
9265
9377
  setCurrentPage(clamp3((options == null ? void 0 : options.initialPage) || initialState.currentPage, 1, newTotalPages));
9266
9378
  };
9267
- useEffect9(() => {
9379
+ useEffect10(() => {
9268
9380
  setCurrentPage(clamp3((options == null ? void 0 : options.initialPage) || initialState.currentPage, 1, totalPages));
9269
9381
  }, [items.length]);
9270
9382
  return [
@@ -9465,6 +9577,8 @@ export {
9465
9577
  NativeSelect,
9466
9578
  NativeSelectBase,
9467
9579
  Navigation2 as Navigation,
9580
+ NotificationConsumer,
9581
+ NotificationProvider,
9468
9582
  OneLineBanner,
9469
9583
  Option,
9470
9584
  PageHeader2 as PageHeader,
@@ -9533,6 +9647,8 @@ export {
9533
9647
  placementOrder,
9534
9648
  export_theme as theme,
9535
9649
  toSortDirection,
9650
+ useNotification,
9651
+ useNotificationContext,
9536
9652
  usePagination,
9537
9653
  usePopoverContext,
9538
9654
  useScrollTarget,