@aivenio/aquarium 2.1.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (550) hide show
  1. package/dist/atoms.cjs +3 -4
  2. package/dist/atoms.mjs +3 -4
  3. package/dist/charts.cjs +3 -2
  4. package/dist/charts.mjs +3 -2
  5. package/dist/src/atoms/Alert/Alert.d.ts +8 -8
  6. package/dist/src/atoms/Alert/Alert.js +1 -1
  7. package/dist/src/atoms/Banner/Banner.d.ts +7 -7
  8. package/dist/src/atoms/Card/Card.d.ts +10 -10
  9. package/dist/src/atoms/Card/Card.js +1 -1
  10. package/dist/src/atoms/Checkbox/Checkbox.d.ts +6 -6
  11. package/dist/src/atoms/Chip/Chip.d.ts +3 -3
  12. package/dist/src/atoms/DataList/DataList.d.ts +5 -5
  13. package/dist/src/atoms/DataList/DataList.js +2 -2
  14. package/dist/src/atoms/Dialog/Dialog.d.ts +7 -9
  15. package/dist/src/atoms/Dialog/Dialog.js +1 -1
  16. package/dist/src/atoms/DropdownMenu/DropdownMenu.d.ts +13 -12
  17. package/dist/src/atoms/DropdownMenu/DropdownMenu.js +1 -1
  18. package/dist/src/atoms/InputGroup/InputGroup.d.ts +2 -2
  19. package/dist/src/atoms/InputGroup/InputGroup.js +1 -1
  20. package/dist/src/atoms/LineClamp/LineClamp.d.ts +4 -4
  21. package/dist/src/atoms/Link/Link.d.ts +1 -1
  22. package/dist/src/atoms/Modal/Modal.d.ts +31 -32
  23. package/dist/src/atoms/Modal/Modal.js +2 -2
  24. package/dist/src/atoms/Navigation/Navigation.d.ts +4 -4
  25. package/dist/src/atoms/PageHeader/PageHeader.d.ts +2 -2
  26. package/dist/src/atoms/Popover/Popover.d.ts +2 -2
  27. package/dist/src/atoms/PopoverDialog/PopoverDialog.d.ts +2 -2
  28. package/dist/src/atoms/ProgressBar/ProgressBar.d.ts +5 -5
  29. package/dist/src/atoms/ProgressBar/ProgressBar.js +1 -1
  30. package/dist/src/atoms/RadioButton/RadioButton.d.ts +4 -4
  31. package/dist/src/atoms/Section/Section.d.ts +2 -2
  32. package/dist/src/atoms/Select/Select.d.ts +16 -16
  33. package/dist/src/atoms/Select/Select.js +4 -2
  34. package/dist/src/atoms/Stepper/Stepper.d.ts +7 -7
  35. package/dist/src/atoms/Switch/Switch.d.ts +5 -5
  36. package/dist/src/atoms/Table/Table.d.ts +10 -10
  37. package/dist/src/atoms/Table/Table.js +2 -2
  38. package/dist/src/atoms/Timeline/Timeline.d.ts +2 -2
  39. package/dist/src/atoms/Toast/Toast.d.ts +4 -4
  40. package/dist/src/atoms/Typography/Typography.d.ts +2 -2
  41. package/dist/src/atoms/Typography/Typography.js +1 -1
  42. package/dist/src/atoms/utils/index.d.ts +49 -148
  43. package/dist/src/atoms/utils/index.js +2 -2
  44. package/dist/src/charts/AreaChart/AreaChart.d.ts +3 -3
  45. package/dist/src/charts/AreaChart/AreaChart.js +1 -1
  46. package/dist/src/charts/Axis/Axis.d.ts +3 -3
  47. package/dist/src/charts/Axis/Axis.js +4 -2
  48. package/dist/src/charts/BarChart/BarChart.d.ts +3 -3
  49. package/dist/src/charts/BarChart/BarChart.js +2 -1
  50. package/dist/src/charts/Container/Container.d.ts +1 -1
  51. package/dist/src/charts/Grid/Grid.d.ts +1 -1
  52. package/dist/src/charts/Legend/Legend.d.ts +1 -1
  53. package/dist/src/charts/LineChart/LineChart.d.ts +3 -3
  54. package/dist/src/charts/LineChart/LineChart.js +1 -1
  55. package/dist/src/charts/PieChart/ChartValue.d.ts +1 -1
  56. package/dist/src/charts/PieChart/DoughnutChart.d.ts +3 -3
  57. package/dist/src/charts/PieChart/DoughnutChart.js +1 -1
  58. package/dist/src/charts/PieChart/PieChart.d.ts +4 -4
  59. package/dist/src/charts/PieChart/PieChart.js +1 -1
  60. package/dist/src/charts/PieChart/TooltipContentWrapper.d.ts +4 -4
  61. package/dist/src/charts/PieChart/TooltipContentWrapper.js +1 -1
  62. package/dist/src/charts/PieChart/renderPieChildren.js +2 -1
  63. package/dist/src/charts/Reference/Reference.d.ts +3 -3
  64. package/dist/src/charts/Tooltip/Tooltip.d.ts +2 -2
  65. package/dist/src/charts/lib/utils.d.ts +5 -5
  66. package/dist/src/charts/lib/utils.js +5 -2
  67. package/dist/src/icons/add.d.ts +5 -5
  68. package/dist/src/icons/addToFolder.d.ts +5 -5
  69. package/dist/src/icons/airplane.d.ts +5 -5
  70. package/dist/src/icons/aivenEnterprise.d.ts +5 -5
  71. package/dist/src/icons/alignCenter.d.ts +5 -5
  72. package/dist/src/icons/alignJustify.d.ts +5 -5
  73. package/dist/src/icons/alignLeft.d.ts +5 -5
  74. package/dist/src/icons/alignRight.d.ts +5 -5
  75. package/dist/src/icons/alignmentBottom.d.ts +5 -5
  76. package/dist/src/icons/alignmentHorizontalCenter.d.ts +5 -5
  77. package/dist/src/icons/alignmentLeft.d.ts +5 -5
  78. package/dist/src/icons/alignmentRight.d.ts +5 -5
  79. package/dist/src/icons/alignmentTop.d.ts +5 -5
  80. package/dist/src/icons/alignmentVerticalCenter.d.ts +5 -5
  81. package/dist/src/icons/amexCard.d.ts +5 -5
  82. package/dist/src/icons/annotation.d.ts +5 -5
  83. package/dist/src/icons/announcement.d.ts +5 -5
  84. package/dist/src/icons/appUsers.d.ts +5 -5
  85. package/dist/src/icons/applications.d.ts +5 -5
  86. package/dist/src/icons/archive.d.ts +5 -5
  87. package/dist/src/icons/arrowCircleDown.d.ts +5 -5
  88. package/dist/src/icons/arrowCircleLeft.d.ts +5 -5
  89. package/dist/src/icons/arrowCircleRight.d.ts +5 -5
  90. package/dist/src/icons/arrowCircleUp.d.ts +5 -5
  91. package/dist/src/icons/arrowLeft.d.ts +5 -5
  92. package/dist/src/icons/arrowRight.d.ts +5 -5
  93. package/dist/src/icons/attachment.d.ts +5 -5
  94. package/dist/src/icons/automaticUpdates.d.ts +5 -5
  95. package/dist/src/icons/award.d.ts +5 -5
  96. package/dist/src/icons/badge.d.ts +5 -5
  97. package/dist/src/icons/ban.d.ts +5 -5
  98. package/dist/src/icons/banCircle.d.ts +5 -5
  99. package/dist/src/icons/bankAccount.d.ts +5 -5
  100. package/dist/src/icons/blockedPerson.d.ts +5 -5
  101. package/dist/src/icons/book.d.ts +5 -5
  102. package/dist/src/icons/bookmark.d.ts +5 -5
  103. package/dist/src/icons/box.d.ts +5 -5
  104. package/dist/src/icons/briefcase.d.ts +5 -5
  105. package/dist/src/icons/calendar.d.ts +5 -5
  106. package/dist/src/icons/capslock.d.ts +5 -5
  107. package/dist/src/icons/caretDown.d.ts +5 -5
  108. package/dist/src/icons/caretLeft.d.ts +5 -5
  109. package/dist/src/icons/caretRight.d.ts +5 -5
  110. package/dist/src/icons/caretUp.d.ts +5 -5
  111. package/dist/src/icons/certificate.d.ts +5 -5
  112. package/dist/src/icons/chart.d.ts +5 -5
  113. package/dist/src/icons/chat.d.ts +5 -5
  114. package/dist/src/icons/chevronBackward.d.ts +5 -5
  115. package/dist/src/icons/chevronDown.d.ts +5 -5
  116. package/dist/src/icons/chevronDownDouble.d.ts +5 -5
  117. package/dist/src/icons/chevronForward.d.ts +5 -5
  118. package/dist/src/icons/chevronLeft.d.ts +5 -5
  119. package/dist/src/icons/chevronRight.d.ts +5 -5
  120. package/dist/src/icons/chevronRightDouble.d.ts +5 -5
  121. package/dist/src/icons/chevronUp.d.ts +5 -5
  122. package/dist/src/icons/chevronUpDouble.d.ts +5 -5
  123. package/dist/src/icons/circle.d.ts +5 -5
  124. package/dist/src/icons/clipboard.d.ts +5 -5
  125. package/dist/src/icons/clipboardCheck.d.ts +5 -5
  126. package/dist/src/icons/cloud.d.ts +5 -5
  127. package/dist/src/icons/cloudDownload.d.ts +5 -5
  128. package/dist/src/icons/cloudUpload.d.ts +5 -5
  129. package/dist/src/icons/co2Emissions.d.ts +5 -5
  130. package/dist/src/icons/code.d.ts +5 -5
  131. package/dist/src/icons/codeBlock.d.ts +5 -5
  132. package/dist/src/icons/codeFile.d.ts +5 -5
  133. package/dist/src/icons/cog.d.ts +5 -5
  134. package/dist/src/icons/coinsHand.d.ts +5 -5
  135. package/dist/src/icons/comment.d.ts +5 -5
  136. package/dist/src/icons/confirm.d.ts +5 -5
  137. package/dist/src/icons/console.d.ts +5 -5
  138. package/dist/src/icons/container.d.ts +5 -5
  139. package/dist/src/icons/cpuChip.d.ts +5 -5
  140. package/dist/src/icons/creditCard.d.ts +5 -5
  141. package/dist/src/icons/cross.d.ts +5 -5
  142. package/dist/src/icons/currencyDollar.d.ts +5 -5
  143. package/dist/src/icons/dashboard.d.ts +5 -5
  144. package/dist/src/icons/dataLineage.d.ts +5 -5
  145. package/dist/src/icons/database.d.ts +5 -5
  146. package/dist/src/icons/database02.d.ts +5 -5
  147. package/dist/src/icons/dataflow01.d.ts +5 -5
  148. package/dist/src/icons/dataflow02.d.ts +5 -5
  149. package/dist/src/icons/dataflow03.d.ts +5 -5
  150. package/dist/src/icons/dbBackup.d.ts +5 -5
  151. package/dist/src/icons/delete.d.ts +5 -5
  152. package/dist/src/icons/deliveryLocation.d.ts +5 -5
  153. package/dist/src/icons/disasterRecovery.d.ts +5 -5
  154. package/dist/src/icons/document.d.ts +5 -5
  155. package/dist/src/icons/dot.d.ts +5 -5
  156. package/dist/src/icons/doubleCaretHorizontal.d.ts +5 -5
  157. package/dist/src/icons/doubleCaretVertical.d.ts +5 -5
  158. package/dist/src/icons/doubleChevronDown.d.ts +5 -5
  159. package/dist/src/icons/doubleChevronLeft.d.ts +5 -5
  160. package/dist/src/icons/doubleChevronRight.d.ts +5 -5
  161. package/dist/src/icons/doubleChevronUp.d.ts +5 -5
  162. package/dist/src/icons/doughnutChart.d.ts +5 -5
  163. package/dist/src/icons/download.d.ts +5 -5
  164. package/dist/src/icons/dragHandleHorizontal.d.ts +5 -5
  165. package/dist/src/icons/dragHandleVertical.d.ts +5 -5
  166. package/dist/src/icons/duplicate.d.ts +5 -5
  167. package/dist/src/icons/edit.d.ts +5 -5
  168. package/dist/src/icons/endorsed.d.ts +5 -5
  169. package/dist/src/icons/envelope.d.ts +5 -5
  170. package/dist/src/icons/error.d.ts +5 -5
  171. package/dist/src/icons/expandAll.d.ts +5 -5
  172. package/dist/src/icons/export.d.ts +5 -5
  173. package/dist/src/icons/eyeOff.d.ts +5 -5
  174. package/dist/src/icons/eyeOpen.d.ts +5 -5
  175. package/dist/src/icons/faceHappy.d.ts +5 -5
  176. package/dist/src/icons/faceSad.d.ts +5 -5
  177. package/dist/src/icons/filter.d.ts +5 -5
  178. package/dist/src/icons/flag.d.ts +5 -5
  179. package/dist/src/icons/floppyDisk.d.ts +5 -5
  180. package/dist/src/icons/folderClose.d.ts +5 -5
  181. package/dist/src/icons/folderNew.d.ts +5 -5
  182. package/dist/src/icons/follower.d.ts +5 -5
  183. package/dist/src/icons/following.d.ts +5 -5
  184. package/dist/src/icons/gift.d.ts +5 -5
  185. package/dist/src/icons/gitBranch.d.ts +5 -5
  186. package/dist/src/icons/gitCommit.d.ts +5 -5
  187. package/dist/src/icons/gitDiff.d.ts +5 -5
  188. package/dist/src/icons/gitMerge.d.ts +5 -5
  189. package/dist/src/icons/gitNewBranch.d.ts +5 -5
  190. package/dist/src/icons/gitPull.d.ts +5 -5
  191. package/dist/src/icons/githubLogo.d.ts +5 -5
  192. package/dist/src/icons/globe.d.ts +5 -5
  193. package/dist/src/icons/globeNetwork.d.ts +5 -5
  194. package/dist/src/icons/googleLogo.d.ts +5 -5
  195. package/dist/src/icons/governance.d.ts +5 -5
  196. package/dist/src/icons/grid.d.ts +5 -5
  197. package/dist/src/icons/groupedBarChart.d.ts +5 -5
  198. package/dist/src/icons/heart.d.ts +5 -5
  199. package/dist/src/icons/help.d.ts +5 -5
  200. package/dist/src/icons/history.d.ts +5 -5
  201. package/dist/src/icons/home.d.ts +5 -5
  202. package/dist/src/icons/idNumber.d.ts +5 -5
  203. package/dist/src/icons/import.d.ts +5 -5
  204. package/dist/src/icons/inbox.d.ts +5 -5
  205. package/dist/src/icons/indexes.d.ts +5 -5
  206. package/dist/src/icons/infoSign.d.ts +5 -5
  207. package/dist/src/icons/integrations.d.ts +5 -5
  208. package/dist/src/icons/issue.d.ts +5 -5
  209. package/dist/src/icons/jobsAndData.d.ts +5 -5
  210. package/dist/src/icons/kafkaTopic.d.ts +5 -5
  211. package/dist/src/icons/key.d.ts +5 -5
  212. package/dist/src/icons/layer.d.ts +5 -5
  213. package/dist/src/icons/layers.d.ts +5 -5
  214. package/dist/src/icons/learning.d.ts +5 -5
  215. package/dist/src/icons/lifeBuoy.d.ts +5 -5
  216. package/dist/src/icons/lifesaver.d.ts +5 -5
  217. package/dist/src/icons/lightbulb.d.ts +5 -5
  218. package/dist/src/icons/link.d.ts +5 -5
  219. package/dist/src/icons/linkExternal.d.ts +5 -5
  220. package/dist/src/icons/list.d.ts +5 -5
  221. package/dist/src/icons/listColumns.d.ts +5 -5
  222. package/dist/src/icons/listDetailView.d.ts +5 -5
  223. package/dist/src/icons/loading.d.ts +5 -5
  224. package/dist/src/icons/lock.d.ts +5 -5
  225. package/dist/src/icons/logIn.d.ts +5 -5
  226. package/dist/src/icons/logOut.d.ts +5 -5
  227. package/dist/src/icons/managedUsers.d.ts +5 -5
  228. package/dist/src/icons/manual.d.ts +5 -5
  229. package/dist/src/icons/map.d.ts +5 -5
  230. package/dist/src/icons/mapMarker.d.ts +5 -5
  231. package/dist/src/icons/mastercardCard.d.ts +5 -5
  232. package/dist/src/icons/maximize.d.ts +5 -5
  233. package/dist/src/icons/memory.d.ts +5 -5
  234. package/dist/src/icons/menu.d.ts +5 -5
  235. package/dist/src/icons/minimize.d.ts +5 -5
  236. package/dist/src/icons/minus.d.ts +5 -5
  237. package/dist/src/icons/more.d.ts +5 -5
  238. package/dist/src/icons/move.d.ts +5 -5
  239. package/dist/src/icons/moveProject.d.ts +5 -5
  240. package/dist/src/icons/namespaces.d.ts +5 -5
  241. package/dist/src/icons/networkPrivateLink.d.ts +5 -5
  242. package/dist/src/icons/newPerson.d.ts +5 -5
  243. package/dist/src/icons/nodes.d.ts +5 -5
  244. package/dist/src/icons/notifications.d.ts +5 -5
  245. package/dist/src/icons/notificationsUpdated.d.ts +5 -5
  246. package/dist/src/icons/office.d.ts +5 -5
  247. package/dist/src/icons/orgAdmin.d.ts +5 -5
  248. package/dist/src/icons/orgUnit.d.ts +5 -5
  249. package/dist/src/icons/outdated.d.ts +5 -5
  250. package/dist/src/icons/package.d.ts +5 -5
  251. package/dist/src/icons/packageCheck.d.ts +5 -5
  252. package/dist/src/icons/packageSearch.d.ts +5 -5
  253. package/dist/src/icons/paperclip.d.ts +5 -5
  254. package/dist/src/icons/pause.d.ts +5 -5
  255. package/dist/src/icons/people.d.ts +5 -5
  256. package/dist/src/icons/performance.d.ts +5 -5
  257. package/dist/src/icons/person.d.ts +5 -5
  258. package/dist/src/icons/phone.d.ts +5 -5
  259. package/dist/src/icons/pieChart.d.ts +5 -5
  260. package/dist/src/icons/pin.d.ts +5 -5
  261. package/dist/src/icons/play.d.ts +5 -5
  262. package/dist/src/icons/plus.d.ts +5 -5
  263. package/dist/src/icons/plusCircle.d.ts +5 -5
  264. package/dist/src/icons/pools.d.ts +5 -5
  265. package/dist/src/icons/power.d.ts +5 -5
  266. package/dist/src/icons/proPlans.d.ts +5 -5
  267. package/dist/src/icons/projects.d.ts +5 -5
  268. package/dist/src/icons/properties.d.ts +5 -5
  269. package/dist/src/icons/property.d.ts +5 -5
  270. package/dist/src/icons/pulse.d.ts +5 -5
  271. package/dist/src/icons/puzzlePiece.d.ts +5 -5
  272. package/dist/src/icons/queries.d.ts +5 -5
  273. package/dist/src/icons/queriesEditor.d.ts +5 -5
  274. package/dist/src/icons/queriesStatistics.d.ts +5 -5
  275. package/dist/src/icons/questionMark.d.ts +5 -5
  276. package/dist/src/icons/recoverySwap.d.ts +5 -5
  277. package/dist/src/icons/refresh.d.ts +5 -5
  278. package/dist/src/icons/remove.d.ts +5 -5
  279. package/dist/src/icons/repeat.d.ts +5 -5
  280. package/dist/src/icons/replicationFlow.d.ts +5 -5
  281. package/dist/src/icons/reset.d.ts +5 -5
  282. package/dist/src/icons/roadmap.d.ts +5 -5
  283. package/dist/src/icons/save.d.ts +5 -5
  284. package/dist/src/icons/saved.d.ts +5 -5
  285. package/dist/src/icons/scatterPlot.d.ts +5 -5
  286. package/dist/src/icons/search.d.ts +5 -5
  287. package/dist/src/icons/send.d.ts +5 -5
  288. package/dist/src/icons/serverHdd.d.ts +5 -5
  289. package/dist/src/icons/settings.d.ts +5 -5
  290. package/dist/src/icons/share.d.ts +5 -5
  291. package/dist/src/icons/shield.d.ts +5 -5
  292. package/dist/src/icons/slash.d.ts +5 -5
  293. package/dist/src/icons/smallCross.d.ts +5 -5
  294. package/dist/src/icons/smallMinus.d.ts +5 -5
  295. package/dist/src/icons/smallPlus.d.ts +5 -5
  296. package/dist/src/icons/smallTick.d.ts +5 -5
  297. package/dist/src/icons/speedometer.d.ts +5 -5
  298. package/dist/src/icons/stop.d.ts +5 -5
  299. package/dist/src/icons/stopwatch.d.ts +5 -5
  300. package/dist/src/icons/superadmin.d.ts +5 -5
  301. package/dist/src/icons/swapHorizontal.d.ts +5 -5
  302. package/dist/src/icons/swapVertical.d.ts +5 -5
  303. package/dist/src/icons/table.d.ts +5 -5
  304. package/dist/src/icons/tag.d.ts +5 -5
  305. package/dist/src/icons/terraform.d.ts +5 -5
  306. package/dist/src/icons/thumbsDown.d.ts +5 -5
  307. package/dist/src/icons/thumbsUp.d.ts +5 -5
  308. package/dist/src/icons/tick.d.ts +5 -5
  309. package/dist/src/icons/tickCircle.d.ts +5 -5
  310. package/dist/src/icons/ticket.d.ts +5 -5
  311. package/dist/src/icons/tiered.d.ts +5 -5
  312. package/dist/src/icons/time.d.ts +5 -5
  313. package/dist/src/icons/timelineAreaChart.d.ts +5 -5
  314. package/dist/src/icons/timelineBarChart.d.ts +5 -5
  315. package/dist/src/icons/timelineLineChart.d.ts +5 -5
  316. package/dist/src/icons/tools.d.ts +5 -5
  317. package/dist/src/icons/trash.d.ts +5 -5
  318. package/dist/src/icons/unlock.d.ts +5 -5
  319. package/dist/src/icons/unpin.d.ts +5 -5
  320. package/dist/src/icons/updated.d.ts +5 -5
  321. package/dist/src/icons/upload.d.ts +5 -5
  322. package/dist/src/icons/user.d.ts +5 -5
  323. package/dist/src/icons/visaCard.d.ts +5 -5
  324. package/dist/src/icons/warningSign.d.ts +5 -5
  325. package/dist/src/molecules/Accordion/Accordion.d.ts +7 -7
  326. package/dist/src/molecules/Accordion/Accordion.js +6 -6
  327. package/dist/src/molecules/Alert/Alert.d.ts +4 -4
  328. package/dist/src/molecules/Alert/Alert.js +1 -1
  329. package/dist/src/molecules/Avatar/Avatar.d.ts +2 -2
  330. package/dist/src/molecules/Badge/Badge.d.ts +4 -4
  331. package/dist/src/molecules/Badge/Badge.js +1 -1
  332. package/dist/src/molecules/Banner/Banner.d.ts +6 -6
  333. package/dist/src/molecules/Banner/Banner.js +1 -1
  334. package/dist/src/molecules/Box/Box.d.ts +6 -6
  335. package/dist/src/molecules/Box/Box.js +1 -1
  336. package/dist/src/molecules/Breadcrumbs/Breadcrumbs.d.ts +4 -4
  337. package/dist/src/molecules/Breadcrumbs/Breadcrumbs.js +1 -1
  338. package/dist/src/molecules/Button/Button.d.ts +76 -76
  339. package/dist/src/molecules/Button/Button.js +2 -2
  340. package/dist/src/molecules/Card/Card.d.ts +6 -6
  341. package/dist/src/molecules/Card/Card.js +5 -5
  342. package/dist/src/molecules/Card/CardInputWrapper.d.ts +1 -1
  343. package/dist/src/molecules/Card/Compact.d.ts +6 -6
  344. package/dist/src/molecules/Card/Compact.js +6 -6
  345. package/dist/src/molecules/Card/Group.d.ts +2 -2
  346. package/dist/src/molecules/Card/Group.js +2 -2
  347. package/dist/src/molecules/Card/types.d.ts +9 -9
  348. package/dist/src/molecules/Carousel/Carousel.d.ts +1 -1
  349. package/dist/src/molecules/Carousel/Carousel.js +2 -1
  350. package/dist/src/molecules/Checkbox/Checkbox.d.ts +2 -2
  351. package/dist/src/molecules/CheckboxGroup/CheckboxGroup.d.ts +3 -3
  352. package/dist/src/molecules/CheckboxGroup/CheckboxGroup.js +1 -1
  353. package/dist/src/molecules/Chip/Chip.d.ts +9 -9
  354. package/dist/src/molecules/Chip/Chip.js +2 -2
  355. package/dist/src/molecules/ChoiceChip/ChoiceChip.d.ts +1 -1
  356. package/dist/src/molecules/ChoiceChip/ChoiceChip.js +1 -1
  357. package/dist/src/molecules/Combobox/Combobox.d.ts +4 -4
  358. package/dist/src/molecules/Combobox/Combobox.js +2 -2
  359. package/dist/src/molecules/Container/Container.d.ts +2 -2
  360. package/dist/src/molecules/Container/Container.js +1 -1
  361. package/dist/src/molecules/Context/Context.d.ts +2 -2
  362. package/dist/src/molecules/ControlLabel/ControlLabel.d.ts +3 -3
  363. package/dist/src/molecules/ControlLabel/ControlLabel.js +1 -1
  364. package/dist/src/molecules/DataList/DataList.d.ts +7 -6
  365. package/dist/src/molecules/DataList/DataList.js +3 -3
  366. package/dist/src/molecules/DataList/DataListComponents.d.ts +3 -3
  367. package/dist/src/molecules/DataList/DataListComponents.js +2 -1
  368. package/dist/src/molecules/DataList/DataListContext.d.ts +2 -3
  369. package/dist/src/molecules/DataList/DataListContext.js +2 -1
  370. package/dist/src/molecules/DataList/DataListGroup.d.ts +2 -4
  371. package/dist/src/molecules/DataList/DataListGroup.js +6 -4
  372. package/dist/src/molecules/DataList/DataListSkeleton.d.ts +1 -1
  373. package/dist/src/molecules/DataList/DataListToolbar.d.ts +6 -6
  374. package/dist/src/molecules/DataList/DataListToolbar.js +2 -2
  375. package/dist/src/molecules/DataTable/DataTable.d.ts +4 -4
  376. package/dist/src/molecules/DataTable/DataTable.js +2 -1
  377. package/dist/src/molecules/DateField/DateField.d.ts +2 -2
  378. package/dist/src/molecules/DatePicker/Button.d.ts +1 -1
  379. package/dist/src/molecules/DatePicker/Button.js +2 -3
  380. package/dist/src/molecules/DatePicker/Calendar.d.ts +1 -1
  381. package/dist/src/molecules/DatePicker/DatePicker.d.ts +2 -2
  382. package/dist/src/molecules/DatePicker/DatePicker.js +3 -2
  383. package/dist/src/molecules/DatePicker/DateRangePicker.d.ts +2 -2
  384. package/dist/src/molecules/DatePicker/DateRangePicker.js +3 -2
  385. package/dist/src/molecules/DatePicker/Popover.d.ts +1 -1
  386. package/dist/src/molecules/DatePicker/RangeCalendar.d.ts +1 -1
  387. package/dist/src/molecules/Dialog/Dialog.d.ts +2 -2
  388. package/dist/src/molecules/Dialog/Dialog.js +1 -1
  389. package/dist/src/molecules/Divider/Divider.d.ts +3 -3
  390. package/dist/src/molecules/Divider/Divider.js +1 -1
  391. package/dist/src/molecules/Drawer/Drawer.d.ts +4 -4
  392. package/dist/src/molecules/Drawer/Drawer.js +6 -6
  393. package/dist/src/molecules/Dropdown/Dropdown.d.ts +3 -3
  394. package/dist/src/molecules/Dropdown/Dropdown.js +4 -2
  395. package/dist/src/molecules/DropdownMenu/DropdownMenu.d.ts +14 -14
  396. package/dist/src/molecules/DropdownMenu/DropdownMenu.js +3 -1
  397. package/dist/src/molecules/DropdownMenu/utils.d.ts +2 -3
  398. package/dist/src/molecules/DropdownMenu/utils.js +2 -2
  399. package/dist/src/molecules/Element/Element.d.ts +6 -6
  400. package/dist/src/molecules/Element/Element.js +2 -2
  401. package/dist/src/molecules/EmptyState/EmptyState.d.ts +5 -5
  402. package/dist/src/molecules/EmptyState/EmptyState.js +2 -2
  403. package/dist/src/molecules/Flexbox/Flexbox.d.ts +2 -2
  404. package/dist/src/molecules/Flexbox/FlexboxItem.d.ts +2 -2
  405. package/dist/src/molecules/Grid/Grid.d.ts +4 -6
  406. package/dist/src/molecules/Grid/Grid.js +1 -1
  407. package/dist/src/molecules/Grid/GridItem.d.ts +2 -2
  408. package/dist/src/molecules/Icon/Icon.d.ts +2 -2
  409. package/dist/src/molecules/Icon/Icon.js +1 -1
  410. package/dist/src/molecules/Input/Input.d.ts +5 -5
  411. package/dist/src/molecules/Input/Input.js +8 -5
  412. package/dist/src/molecules/LineClamp/LineClamp.d.ts +2 -2
  413. package/dist/src/molecules/List/List.d.ts +6 -6
  414. package/dist/src/molecules/List/List.js +1 -1
  415. package/dist/src/molecules/List/useStaticInfiniteList.d.ts +2 -2
  416. package/dist/src/molecules/List/useStaticInfiniteList.js +1 -1
  417. package/dist/src/molecules/ListItem/ListItem.d.ts +1 -2
  418. package/dist/src/molecules/Modal/Modal.d.ts +2 -2
  419. package/dist/src/molecules/Modal/Modal.js +5 -5
  420. package/dist/src/molecules/Modal/ModalTitle.d.ts +1 -1
  421. package/dist/src/molecules/MultiInput/InputChip.d.ts +1 -1
  422. package/dist/src/molecules/MultiInput/InputChip.js +1 -1
  423. package/dist/src/molecules/MultiInput/MultiInput.d.ts +4 -4
  424. package/dist/src/molecules/MultiInput/MultiInput.js +12 -8
  425. package/dist/src/molecules/MultiSelect/MultiSelect.d.ts +7 -7
  426. package/dist/src/molecules/MultiSelect/MultiSelect.js +1 -1
  427. package/dist/src/molecules/NativeSelect/NativeSelect.d.ts +5 -5
  428. package/dist/src/molecules/NativeSelect/NativeSelect.js +1 -1
  429. package/dist/src/molecules/Navigation/Navigation.d.ts +2 -3
  430. package/dist/src/molecules/PageHeader/PageHeader.d.ts +7 -7
  431. package/dist/src/molecules/PageHeader/PageHeader.js +4 -3
  432. package/dist/src/molecules/Pagination/Pagination.d.ts +3 -3
  433. package/dist/src/molecules/Pagination/Pagination.js +1 -1
  434. package/dist/src/molecules/Pagination/usePagination.d.ts +2 -2
  435. package/dist/src/molecules/Pagination/usePagination.js +8 -5
  436. package/dist/src/molecules/Popover/Popover.d.ts +6 -6
  437. package/dist/src/molecules/Popover/Popover.js +1 -1
  438. package/dist/src/molecules/Popover/PopoverContext.d.ts +2 -3
  439. package/dist/src/molecules/Popover/PopoverContext.js +1 -1
  440. package/dist/src/molecules/Popover/PopoverOverlay.d.ts +15 -15
  441. package/dist/src/molecules/Popover/PopoverOverlay.js +1 -1
  442. package/dist/src/molecules/PopoverDialog/PopoverDialog.d.ts +2 -2
  443. package/dist/src/molecules/PopoverDialog/PopoverDialog.js +1 -1
  444. package/dist/src/molecules/Portal/Portal.d.ts +1 -1
  445. package/dist/src/molecules/ProgressBar/ProgressBar.d.ts +3 -3
  446. package/dist/src/molecules/ProgressBar/ProgressBar.js +1 -1
  447. package/dist/src/molecules/RadioButton/RadioButton.d.ts +2 -2
  448. package/dist/src/molecules/RadioButtonGroup/RadioButtonGroup.d.ts +5 -5
  449. package/dist/src/molecules/RadioButtonGroup/RadioButtonGroup.js +2 -1
  450. package/dist/src/molecules/Section/Section.d.ts +9 -9
  451. package/dist/src/molecules/Section/Section.js +6 -6
  452. package/dist/src/molecules/SegmentedControl/SegmentedControl.d.ts +6 -6
  453. package/dist/src/molecules/Select/Select.d.ts +11 -11
  454. package/dist/src/molecules/Select/Select.js +2 -1
  455. package/dist/src/molecules/Skeleton/Skeleton.d.ts +2 -2
  456. package/dist/src/molecules/Skeleton/Skeleton.js +1 -1
  457. package/dist/src/molecules/Spacing/Spacing.d.ts +1 -1
  458. package/dist/src/molecules/Stepper/Stepper.d.ts +2 -2
  459. package/dist/src/molecules/Stepper/Stepper.js +1 -1
  460. package/dist/src/molecules/Switch/Switch.d.ts +2 -2
  461. package/dist/src/molecules/SwitchGroup/SwitchGroup.d.ts +2 -2
  462. package/dist/src/molecules/SwitchGroup/SwitchGroup.js +1 -1
  463. package/dist/src/molecules/Table/Table.d.ts +1 -1
  464. package/dist/src/molecules/Tabs/Tabs.d.ts +15 -63
  465. package/dist/src/molecules/Tabs/Tabs.js +3 -2
  466. package/dist/src/molecules/TagLabel/TagLabel.d.ts +1 -1
  467. package/dist/src/molecules/TagLabel/TagLabel.js +1 -1
  468. package/dist/src/molecules/Tailwindify/Tailwindify.d.ts +4 -4
  469. package/dist/src/molecules/Tailwindify/Tailwindify.js +1 -1
  470. package/dist/src/molecules/Template/Template.d.ts +2 -2
  471. package/dist/src/molecules/Template/Template.js +1 -1
  472. package/dist/src/molecules/Textarea/Textarea.d.ts +4 -4
  473. package/dist/src/molecules/Textarea/Textarea.js +4 -2
  474. package/dist/src/molecules/TimeField/TimeField.d.ts +2 -2
  475. package/dist/src/molecules/TimePicker/TimePicker.d.ts +2 -2
  476. package/dist/src/molecules/TimePicker/TimePicker.js +1 -1
  477. package/dist/src/molecules/Timeline/Timeline.d.ts +3 -3
  478. package/dist/src/molecules/Timeline/Timeline.js +1 -1
  479. package/dist/src/molecules/Toast/Toast.d.ts +1 -1
  480. package/dist/src/molecules/Toast/Toast.js +3 -4
  481. package/dist/src/molecules/Toast/types.d.ts +8 -8
  482. package/dist/src/molecules/Tooltip/Tooltip.d.ts +2 -2
  483. package/dist/src/molecules/Tooltip/Tooltip.js +1 -1
  484. package/dist/src/molecules/Tooltip/useTooltipTriggerState.d.ts +1 -1
  485. package/dist/src/molecules/Tooltip/useTooltipTriggerState.js +2 -1
  486. package/dist/src/molecules/Transition/Transition.d.ts +3 -3
  487. package/dist/src/molecules/Transition/Transition.js +1 -1
  488. package/dist/src/molecules/Typography/Typography.d.ts +8 -12
  489. package/dist/src/molecules/Typography/Typography.js +1 -1
  490. package/dist/src/molecules/index.d.ts +0 -1
  491. package/dist/src/test/config.d.ts +1 -1
  492. package/dist/src/test/config.js +1 -1
  493. package/dist/src/utils/Blueprint.d.ts +1 -1
  494. package/dist/src/utils/ContrastRatio.d.ts +1 -1
  495. package/dist/src/utils/ContrastRatio.js +1 -1
  496. package/dist/src/utils/actions.d.ts +3 -3
  497. package/dist/src/utils/actions.js +1 -1
  498. package/dist/src/utils/breakpoints.d.ts +5 -8
  499. package/dist/src/utils/breakpoints.js +1 -1
  500. package/dist/src/utils/createComponent.d.ts +3 -3
  501. package/dist/src/utils/createComponent.js +1 -1
  502. package/dist/src/utils/form/CharCounter/CharCounter.d.ts +1 -1
  503. package/dist/src/utils/form/FormControl/FormControl.d.ts +1 -1
  504. package/dist/src/utils/form/HelperText/HelperText.d.ts +1 -1
  505. package/dist/src/utils/form/HelperText/HelperText.js +1 -1
  506. package/dist/src/utils/form/InputAdornment/InputAdornment.d.ts +2 -2
  507. package/dist/src/utils/form/Label/Label.d.ts +4 -4
  508. package/dist/src/utils/form/Label/Label.js +1 -1
  509. package/dist/src/utils/link.d.ts +1 -1
  510. package/dist/src/utils/link.js +2 -2
  511. package/dist/src/utils/mocks/mockRecharts.js +1 -1
  512. package/dist/src/utils/mocks/mockResizeObservable.js +1 -1
  513. package/dist/src/utils/object.d.ts +1 -1
  514. package/dist/src/utils/object.js +1 -1
  515. package/dist/src/utils/positioner.d.ts +3 -3
  516. package/dist/src/utils/positioner.js +5 -2
  517. package/dist/src/utils/stickyStyles.d.ts +3 -3
  518. package/dist/src/utils/stickyStyles.js +2 -2
  519. package/dist/src/utils/table/types.d.ts +42 -42
  520. package/dist/src/utils/table/types.js +2 -1
  521. package/dist/src/utils/table/useScrollTarget.d.ts +2 -2
  522. package/dist/src/utils/table/useScrollTarget.js +1 -1
  523. package/dist/src/utils/table/useTableSelect.d.ts +3 -5
  524. package/dist/src/utils/table/useTableSelect.js +1 -1
  525. package/dist/src/utils/table/useTableSort.d.ts +3 -3
  526. package/dist/src/utils/table/useTableSort.js +2 -2
  527. package/dist/src/utils/table/utils.js +1 -1
  528. package/dist/src/utils/tailwind.d.ts +1 -2
  529. package/dist/src/utils/tailwind.js +2 -6
  530. package/dist/src/utils/useInView.d.ts +3 -3
  531. package/dist/src/utils/useInView.js +2 -4
  532. package/dist/src/utils/useMeasure.d.ts +1 -1
  533. package/dist/src/utils/useMeasure.js +4 -2
  534. package/dist/src/utils/useStyle.d.ts +3 -4
  535. package/dist/src/utils/useStyle.js +1 -1
  536. package/dist/src/utils/useWindowSize.d.ts +1 -1
  537. package/dist/src/utils/useWindowSize.js +1 -1
  538. package/dist/system.cjs +111 -109
  539. package/dist/system.mjs +74 -71
  540. package/dist/tsconfig.module.tsbuildinfo +1 -1
  541. package/dist/types/ActionType.d.ts +6 -6
  542. package/dist/types/ContextualMenu.d.ts +4 -4
  543. package/dist/types/ContextualMenu.js +1 -1
  544. package/dist/types/DimensionProps.d.ts +2 -2
  545. package/dist/types/IconProps.d.ts +4 -4
  546. package/dist/types/designTokens.d.ts +25 -35
  547. package/dist/types/tailwind.d.ts +21 -29
  548. package/dist/types/tailwindGenerated.d.ts +1 -1
  549. package/dist/types/utils.d.ts +10 -10
  550. package/package.json +16 -18
@@ -1,20 +1,20 @@
1
- import { type TooltipProps } from '../src/molecules';
2
- import { type IconProps } from './IconProps';
3
- export declare type BaseActionType = {
1
+ import type { IconProps } from './IconProps';
2
+ import type { TooltipProps } from '../src/molecules';
3
+ export type BaseActionType = {
4
4
  icon?: IconProps['icon'];
5
5
  iconPlacement?: 'left' | 'right';
6
6
  disabled?: boolean;
7
7
  tooltip?: string;
8
8
  tooltipPlacement?: TooltipProps['placement'];
9
9
  };
10
- export declare type ActionType = BaseActionType & {
10
+ export type ActionType = BaseActionType & {
11
11
  onClick: () => void;
12
12
  text: string;
13
13
  };
14
- export declare type AsyncActionType = ActionType & {
14
+ export type AsyncActionType = ActionType & {
15
15
  loading?: boolean;
16
16
  };
17
- export declare type LinkActionType = BaseActionType & {
17
+ export type LinkActionType = BaseActionType & {
18
18
  onClick?: () => void;
19
19
  href: string;
20
20
  text: string;
@@ -1,8 +1,8 @@
1
- import { type Key } from 'react';
2
- import { type DropdownMenuItemsComponent } from '../src/molecules/DropdownMenu/DropdownMenu';
3
- import { type PopoverPlacement } from '../src/molecules/Popover/Popover';
1
+ import type { Key } from 'react';
2
+ import type { DropdownMenuItemsComponent } from '../src/molecules/DropdownMenu/DropdownMenu';
3
+ import type { PopoverPlacement } from '../src/molecules/Popover/Popover';
4
4
  export declare const defaultContextualMenuPlacement: PopoverPlacement;
5
- export declare type CommonContextualMenuProps = {
5
+ export type CommonContextualMenuProps = {
6
6
  /**
7
7
  * Menu items definition. Can either be static collection of items or callback function
8
8
  * that returns the items.
@@ -1,2 +1,2 @@
1
1
  export const defaultContextualMenuPlacement = 'bottom-right';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udGV4dHVhbE1lbnUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90eXBlcy9Db250ZXh0dWFsTWVudS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLQSxNQUFNLENBQUMsTUFBTSw4QkFBOEIsR0FBcUIsY0FBYyxDQUFDIn0=
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udGV4dHVhbE1lbnUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90eXBlcy9Db250ZXh0dWFsTWVudS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLENBQUMsTUFBTSw4QkFBOEIsR0FBcUIsY0FBYyxDQUFDIn0=
@@ -1,3 +1,3 @@
1
- declare type RelativeSize = `${number}%`;
2
- export declare type LimitedCssDimension = RelativeSize | number | 'auto';
1
+ type RelativeSize = `${number}%`;
2
+ export type LimitedCssDimension = RelativeSize | number | 'auto';
3
3
  export {};
@@ -1,4 +1,4 @@
1
- import { type IconProps as IconifyProps } from '@iconify/react';
2
- import { type IconifyIcon } from '@iconify/types';
3
- export declare type Icon = IconifyIcon;
4
- export declare type IconProps = Omit<IconifyProps, 'color'>;
1
+ import type { IconProps as IconifyProps } from '@iconify/react';
2
+ import type { IconifyIcon } from '@iconify/types';
3
+ export type Icon = IconifyIcon;
4
+ export type IconProps = Omit<IconifyProps, 'color'>;
@@ -1,12 +1,12 @@
1
1
  import type tokens from '../src/tokens/tokens.json';
2
- declare type FlattenKeys<T extends Record<string, unknown>, Prefix extends string = '', Key = keyof T> = Key extends string ? T[Key] extends Record<string, unknown> ? FlattenKeys<T[Key], Key> : Prefix extends '' ? Key : `${Prefix}-${Key}` : never;
3
- export declare type ColorName = FlattenKeys<typeof tokens.colors>;
4
- export declare type TextColorName = ColorName | FlattenKeys<typeof tokens.textColor>;
5
- export declare type BackgroundColorName = ColorName | FlattenKeys<typeof tokens.backgroundColor>;
6
- export declare type BorderColorName = ColorName | FlattenKeys<typeof tokens.borderColor>;
7
- export declare type TypographyFontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
8
- export declare type TypographyTextTransform = 'capitalize' | 'inherit' | 'initial' | 'lowercase' | 'none' | 'uppercase';
9
- export declare type TypographyCSSStyles = {
2
+ type FlattenKeys<T extends Record<string, unknown>, Prefix extends string = '', Key = keyof T> = Key extends string ? T[Key] extends Record<string, unknown> ? FlattenKeys<T[Key], Key> : Prefix extends '' ? Key : `${Prefix}-${Key}` : never;
3
+ export type ColorName = FlattenKeys<typeof tokens.colors>;
4
+ export type TextColorName = ColorName | FlattenKeys<typeof tokens.textColor>;
5
+ export type BackgroundColorName = ColorName | FlattenKeys<typeof tokens.backgroundColor>;
6
+ export type BorderColorName = ColorName | FlattenKeys<typeof tokens.borderColor>;
7
+ export type TypographyFontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
8
+ export type TypographyTextTransform = 'capitalize' | 'inherit' | 'initial' | 'lowercase' | 'none' | 'uppercase';
9
+ export type TypographyCSSStyles = {
10
10
  fontFamily: string;
11
11
  fontWeight: TypographyFontWeight;
12
12
  fontSize: string;
@@ -15,7 +15,7 @@ export declare type TypographyCSSStyles = {
15
15
  letterSpacing: number;
16
16
  textTransform: TypographyTextTransform;
17
17
  };
18
- export declare type TypographyName = 'large-heading' | 'heading' | 'subheading' | 'large-strong' | 'large' | 'default-strong' | 'default' | 'small-strong' | 'small' | 'caption' | 'code' | 'code-strong' | 'code-small' | 'code-small-strong' | 'caption-small' | 'caption-default' | 'overline-small' | 'overline-default' | 'button-small' | 'button-medium' | 'button-large' | 'body-small' | 'body-small-medium' | 'body-default' | 'body-default-medium' | 'body-large' | 'body-large-medium' | 'heading-large' | 'heading-xl' | 'heading-2xl' | 'heading-3xl' | 'heading-4xl' | 'heading-5xl';
18
+ export type TypographyName = 'large-heading' | 'heading' | 'subheading' | 'large-strong' | 'large' | 'default-strong' | 'default' | 'small-strong' | 'small' | 'caption' | 'code' | 'code-strong' | 'code-small' | 'code-small-strong' | 'caption-small' | 'caption-default' | 'overline-small' | 'overline-default' | 'button-small' | 'button-medium' | 'button-large' | 'body-small' | 'body-small-medium' | 'body-default' | 'body-default-medium' | 'body-large' | 'body-large-medium' | 'heading-large' | 'heading-xl' | 'heading-2xl' | 'heading-3xl' | 'heading-4xl' | 'heading-5xl';
19
19
  export interface TypographySize {
20
20
  name: TypographyName;
21
21
  className: string;
@@ -25,38 +25,28 @@ export interface TypographySize {
25
25
  export interface Typography {
26
26
  sizes: TypographySize[];
27
27
  }
28
- export declare type HexColorString = string;
29
- export declare type Colors = {
30
- [name in ColorName]: HexColorString;
31
- };
32
- export declare type SpacingLevel = FlattenKeys<typeof tokens.spacing>;
33
- export declare type Spacing = {
34
- [level in SpacingLevel]: {
35
- px: number;
36
- rem: number;
37
- };
38
- };
39
- export declare type ElevationLevel = FlattenKeys<typeof tokens.elevations>;
40
- export declare type Elevations = {
41
- [level in ElevationLevel]: string;
42
- };
28
+ export type HexColorString = string;
29
+ export type Colors = Record<ColorName, HexColorString>;
30
+ export type SpacingLevel = FlattenKeys<typeof tokens.spacing>;
31
+ export type Spacing = Record<SpacingLevel, {
32
+ px: number;
33
+ rem: number;
34
+ }>;
35
+ export type ElevationLevel = FlattenKeys<typeof tokens.elevations>;
36
+ export type Elevations = Record<ElevationLevel, string>;
43
37
  export interface Theme {
44
38
  typography: Typography;
45
39
  colors: Colors;
46
40
  spacing: Spacing;
47
41
  elevations: Elevations;
48
42
  }
49
- export declare type ThemeName = 'aiven';
43
+ export type ThemeName = 'aiven';
50
44
  export interface Tokens {
51
- themes: {
52
- [key in ThemeName]: Theme;
53
- };
54
- }
55
- export interface Icons {
56
- [name: string]: {
57
- figmaId: string;
58
- paths: string[];
59
- svg: string;
60
- };
45
+ themes: Record<ThemeName, Theme>;
61
46
  }
47
+ export type Icons = Record<string, {
48
+ figmaId: string;
49
+ paths: string[];
50
+ svg: string;
51
+ }>;
62
52
  export {};
@@ -1,27 +1,21 @@
1
- import { type ClassNames } from './tailwindGenerated';
1
+ import type { ClassNames } from './tailwindGenerated';
2
2
  import type partialThemeJson from '../tailwind.theme.json';
3
- export declare type AnyObject = {
4
- [key: string]: any;
5
- };
6
- export declare type Breakpoint = keyof (typeof partialThemeJson)['screens'];
7
- export declare type BreakpointsObject = {
8
- readonly [key in Breakpoint]: string;
9
- };
10
- export declare type Breakpointable<T> = T | {
11
- [key in Breakpoint]?: T;
12
- };
13
- export declare type ObjectBreakpointable<T extends AnyObject> = {
3
+ export type AnyObject = Record<string, any>;
4
+ export type Breakpoint = keyof (typeof partialThemeJson)['screens'];
5
+ export type BreakpointsObject = Readonly<Record<Breakpoint, string>>;
6
+ export type Breakpointable<T> = Partial<Record<Breakpoint, T>> | T;
7
+ export type ObjectBreakpointable<T extends AnyObject> = {
14
8
  [K in keyof T]: Breakpointable<T[K]>;
15
9
  };
16
- export declare type TailwindClass = ClassNames;
17
- declare type Whitespace = ' ' | '\n';
18
- declare type RecursionReducingWhitespace = ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | '\n';
19
- declare type Err<Message extends string> = `Error: ${Message}`;
20
- declare type TrimEnd<T extends string> = T extends `${infer Rest}${RecursionReducingWhitespace}` ? TrimEnd<Rest> : T;
21
- declare type TrimStart<T extends string> = T extends `${RecursionReducingWhitespace}${infer Rest}` ? TrimStart<Rest> : T;
22
- declare type Trim<T extends string> = TrimEnd<TrimStart<T>>;
23
- declare type SplitToTailwindClasses<T extends string> = SplitToTailwindClassesInner<Trim<T>>;
24
- declare type SplitToTailwindClassesInner<T extends string> = T extends `${TailwindClass}${Whitespace}${infer Tail}` ? T extends `${infer Head}${Whitespace}${Tail}` ? Head extends TailwindClass ? [
10
+ export type TailwindClass = ClassNames;
11
+ type Whitespace = ' ' | '\n';
12
+ type RecursionReducingWhitespace = ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | '\n';
13
+ type Err<Message extends string> = `Error: ${Message}`;
14
+ type TrimEnd<T extends string> = T extends `${infer Rest}${RecursionReducingWhitespace}` ? TrimEnd<Rest> : T;
15
+ type TrimStart<T extends string> = T extends `${RecursionReducingWhitespace}${infer Rest}` ? TrimStart<Rest> : T;
16
+ type Trim<T extends string> = TrimEnd<TrimStart<T>>;
17
+ type SplitToTailwindClasses<T extends string> = SplitToTailwindClassesInner<Trim<T>>;
18
+ type SplitToTailwindClassesInner<T extends string> = T extends `${TailwindClass}${Whitespace}${infer Tail}` ? T extends `${infer Head}${Whitespace}${Tail}` ? Head extends TailwindClass ? [
25
19
  Head,
26
20
  ...SplitToTailwindClassesInner<Trim<Tail>>
27
21
  ] : [
@@ -29,14 +23,12 @@ declare type SplitToTailwindClassesInner<T extends string> = T extends `${Tailwi
29
23
  ] : [never] : T extends `${infer Tail}` ? Tail extends TailwindClass ? [Tail] : [
30
24
  Err<`'${Tail}' is not a valid Tailwind class`>
31
25
  ] : [never];
32
- declare type GetFirstError<T extends unknown[]> = T extends [infer Head, ...infer Tail] ? Head extends `Error: ${infer Message}` ? Head : GetFirstError<Tail> : never;
33
- export declare type ValidTailwindClassesString<T extends string> = string extends T ? Err<'Unexpected generic string'> : SplitToTailwindClasses<T> extends TailwindClass[] ? T : GetFirstError<SplitToTailwindClasses<T>>;
34
- declare type ClassNamesObject = {
35
- [key: string]: boolean;
36
- };
37
- export declare type TailwindClassNamesObject<T extends ClassNamesObject> = {
26
+ type GetFirstError<T extends unknown[]> = T extends [infer Head, ...infer Tail] ? Head extends `Error: ${infer Message}` ? Head : GetFirstError<Tail> : never;
27
+ export type ValidTailwindClassesString<T extends string> = string extends T ? Err<'Unexpected generic string'> : SplitToTailwindClasses<T> extends TailwindClass[] ? T : GetFirstError<SplitToTailwindClasses<T>>;
28
+ type ClassNamesObject = Record<string, boolean>;
29
+ export type TailwindClassNamesObject<T extends ClassNamesObject> = {
38
30
  [K in string & keyof T]: K extends ValidTailwindClassesString<K> ? T[K] : ValidTailwindClassesString<K>;
39
31
  };
40
- export declare type TailwindClassNamesArray<UnvalidatedItems extends unknown[], Validated extends unknown[] = []> = UnvalidatedItems extends [] ? Validated : UnvalidatedItems extends [infer Head, ...infer Rest] ? Head extends string ? Head extends ValidTailwindClassesString<Head> ? TailwindClassNamesArray<Rest, [...Validated, Head]> : ValidTailwindClassesString<Head> : never : never;
41
- export declare type TailwindClassParameterValue<S> = S extends string ? ValidTailwindClassesString<S> : S extends any[] ? TailwindClassNamesArray<S> : S extends ClassNamesObject ? TailwindClassNamesObject<S> : never;
32
+ export type TailwindClassNamesArray<UnvalidatedItems extends unknown[], Validated extends unknown[] = []> = UnvalidatedItems extends [] ? Validated : UnvalidatedItems extends [infer Head, ...infer Rest] ? Head extends string ? Head extends ValidTailwindClassesString<Head> ? TailwindClassNamesArray<Rest, [...Validated, Head]> : ValidTailwindClassesString<Head> : never : never;
33
+ export type TailwindClassParameterValue<S> = S extends string ? ValidTailwindClassesString<S> : S extends any[] ? TailwindClassNamesArray<S> : S extends ClassNamesObject ? TailwindClassNamesObject<S> : never;
42
34
  export {};
@@ -1 +1 @@
1
- export declare type ClassNames = "-left-1\/2" | "-m-2" | "-mt-4" | "-mx-4" | "-translate-x-1\/2" | "-translate-y-1\/2" | "-z-10" | "Aquarium-Alert\.Banner" | "Aquarium-Button\.Primary" | "Aquarium-Button\.Secondary" | "Aquarium-Card" | "Aquarium-Checkbox" | "Aquarium-Collapsible-Section" | "Aquarium-DropdownMenu\.Item" | "Aquarium-Dropdown\.Item" | "Aquarium-Switch" | "Aquarium-Toast" | "Aquarium-Tooltip" | "\!container" | "\!hidden" | "\!inline" | "\!table" | "\[\&\:\:-webkit-search-cancel-button\]\:appearance-none" | "\[\&\>\*\:not\(\:first-child\)\]\:-ml-3" | "\[\&\>\*\]\:bg-primary-active" | "\[\&\>\*\]\:border-b-transparent" | "\[\&\>\*\]\:hover\:bg-muted" | "\[\&\>button\]\:p-0" | "\[\&\>button\]\:text-danger-muted" | "\[\&\>button\]\:text-muted" | "\[\&\>div\:first-child\]\:px-3" | "\[\&\>div\:first-child\]\:px-5" | "\[\&\>path\]\:stroke-\[3px\]" | "\[\&\>path\]\:stroke-transparent" | "\[\&_td\]\:px-0" | "\[\[data-placement\]\>\&\]\:px-5" | "\[\[data-placement\]\>\&\]\:py-6" | "absolute" | "active\:bg-body" | "active\:bg-primary-active" | "active\:bg-primary-intense" | "active\:bg-transparent" | "active\:ring-0" | "active\:ring-primary-default" | "active\:text-default" | "active\:text-muted" | "active\:text-primary-active" | "active\:text-primary-intense" | "align-middle" | "animate-pulse" | "appearance-none" | "aquarium-theme-dark" | "aspect-square" | "auto-cols-fr" | "before\:content-\[\'_\'\]" | "bg-black" | "bg-body" | "bg-body-intense" | "bg-cover" | "bg-current" | "bg-danger-default" | "bg-danger-intense" | "bg-danger-muted" | "bg-default" | "bg-error-0" | "bg-error-10" | "bg-error-100" | "bg-error-20" | "bg-error-30" | "bg-error-40" | "bg-error-5" | "bg-error-50" | "bg-error-60" | "bg-error-70" | "bg-error-80" | "bg-error-90" | "bg-gradient-to-l" | "bg-gradient-to-r" | "bg-grey-0" | "bg-grey-10" | "bg-grey-100" | "bg-grey-20" | "bg-grey-30" | "bg-grey-40" | "bg-grey-5" | "bg-grey-50" | "bg-grey-60" | "bg-grey-70" | "bg-grey-80" | "bg-grey-90" | "bg-icon-button-hover" | "bg-info-0" | "bg-info-10" | "bg-info-100" | "bg-info-20" | "bg-info-30" | "bg-info-40" | "bg-info-5" | "bg-info-50" | "bg-info-60" | "bg-info-70" | "bg-info-80" | "bg-info-90" | "bg-info-default" | "bg-info-intense" | "bg-info-muted" | "bg-intense" | "bg-muted" | "bg-popover-content" | "bg-primary-0" | "bg-primary-10" | "bg-primary-100" | "bg-primary-20" | "bg-primary-30" | "bg-primary-40" | "bg-primary-5" | "bg-primary-50" | "bg-primary-60" | "bg-primary-70" | "bg-primary-80" | "bg-primary-90" | "bg-primary-active" | "bg-primary-default" | "bg-primary-hover" | "bg-primary-intense" | "bg-primary-muted" | "bg-secondary-0" | "bg-secondary-10" | "bg-secondary-100" | "bg-secondary-20" | "bg-secondary-30" | "bg-secondary-40" | "bg-secondary-5" | "bg-secondary-50" | "bg-secondary-60" | "bg-secondary-70" | "bg-secondary-80" | "bg-secondary-90" | "bg-status-announcement" | "bg-status-danger" | "bg-status-info" | "bg-status-success" | "bg-status-warning" | "bg-success-0" | "bg-success-10" | "bg-success-100" | "bg-success-20" | "bg-success-30" | "bg-success-40" | "bg-success-5" | "bg-success-50" | "bg-success-60" | "bg-success-70" | "bg-success-80" | "bg-success-90" | "bg-success-default" | "bg-success-intense" | "bg-success-muted" | "bg-transparent" | "bg-warning-0" | "bg-warning-10" | "bg-warning-100" | "bg-warning-20" | "bg-warning-30" | "bg-warning-40" | "bg-warning-5" | "bg-warning-50" | "bg-warning-60" | "bg-warning-70" | "bg-warning-80" | "bg-warning-90" | "bg-warning-default" | "bg-warning-intense" | "bg-warning-muted" | "bg-white" | "block" | "blur" | "border" | "border-0" | "border-2" | "border-\[2px\]" | "border-b" | "border-b-1" | "border-b-2" | "border-b-transparent" | "border-black" | "border-current" | "border-danger-default" | "border-danger-intense" | "border-danger-muted" | "border-dashed" | "border-default" | "border-error-0" | "border-error-10" | "border-error-100" | "border-error-20" | "border-error-30" | "border-error-40" | "border-error-5" | "border-error-50" | "border-error-60" | "border-error-70" | "border-error-80" | "border-error-90" | "border-grey-0" | "border-grey-10" | "border-grey-100" | "border-grey-20" | "border-grey-30" | "border-grey-40" | "border-grey-5" | "border-grey-50" | "border-grey-60" | "border-grey-70" | "border-grey-80" | "border-grey-90" | "border-info-0" | "border-info-10" | "border-info-100" | "border-info-20" | "border-info-30" | "border-info-40" | "border-info-5" | "border-info-50" | "border-info-60" | "border-info-70" | "border-info-80" | "border-info-90" | "border-info-default" | "border-info-intense" | "border-info-muted" | "border-intense" | "border-muted" | "border-none" | "border-primary-0" | "border-primary-10" | "border-primary-100" | "border-primary-20" | "border-primary-30" | "border-primary-40" | "border-primary-5" | "border-primary-50" | "border-primary-60" | "border-primary-70" | "border-primary-80" | "border-primary-90" | "border-primary-default" | "border-primary-intense" | "border-primary-muted" | "border-r-1" | "border-secondary-0" | "border-secondary-10" | "border-secondary-100" | "border-secondary-20" | "border-secondary-30" | "border-secondary-40" | "border-secondary-5" | "border-secondary-50" | "border-secondary-60" | "border-secondary-70" | "border-secondary-80" | "border-secondary-90" | "border-separate" | "border-solid" | "border-spacing-0" | "border-success-0" | "border-success-10" | "border-success-100" | "border-success-20" | "border-success-30" | "border-success-40" | "border-success-5" | "border-success-50" | "border-success-60" | "border-success-70" | "border-success-80" | "border-success-90" | "border-success-default" | "border-success-intense" | "border-success-muted" | "border-t-2" | "border-transparent" | "border-warning-0" | "border-warning-10" | "border-warning-100" | "border-warning-20" | "border-warning-30" | "border-warning-40" | "border-warning-5" | "border-warning-50" | "border-warning-60" | "border-warning-70" | "border-warning-80" | "border-warning-90" | "border-warning-default" | "border-warning-intense" | "border-warning-muted" | "border-white" | "bottom-0" | "break-all" | "break-words" | "capitalize" | "caret-transparent" | "checked\:bg-primary-default" | "checked\:bg-primary-muted" | "checked\:border-primary-default" | "checked\:border-transparent" | "checked\:opacity-50" | "checked\:shadow-bodyInset" | "children\:border-default" | "children\:inline-block" | "children\:last\:border-b-0" | "children\:opacity-70" | "col-span-full" | "col-start-1" | "col-start-2" | "col-start-3" | "collapse" | "container" | "contents" | "cursor-default" | "cursor-not-allowed" | "cursor-pointer" | "delay-150" | "delay-300" | "disabled\:bg-body" | "disabled\:bg-default" | "disabled\:bg-muted" | "disabled\:bg-primary-muted" | "disabled\:bg-transparent" | "disabled\:border-default" | "disabled\:cursor-not-allowed" | "disabled\:ring-primary-muted" | "disabled\:text-inactive" | "disabled\:text-primary-inactive" | "divide-grey-20" | "divide-x" | "duration-200" | "duration-300" | "ease-in-out" | "file\:bg-transparent" | "file\:border-0" | "file\:mr-4" | "file\:p-0" | "file\:text-primary-intense" | "file\:typography-small-strong" | "fill-error-10" | "fill-primary-10" | "fill-success-10" | "fill-warning-20" | "fill-white" | "filter" | "first\:mt-0" | "fixed" | "flex" | "flex-1" | "flex-col" | "flex-grow" | "flex-nowrap" | "flex-row" | "flex-row-reverse" | "flex-wrap" | "focus-visible\:bg-muted" | "focus-visible\:border-info-default" | "focus-visible\:outline-0" | "focus-visible\:outline-none" | "focus-visible\:relative" | "focus-visible\:ring-1" | "focus-visible\:ring-2" | "focus-visible\:ring-info-default" | "focus-visible\:ring-inset" | "focus-visible\:ring-offset-0" | "focus-visible\:ring-primary-default" | "focus-visible\:ring-primary-intense" | "focus-visible\:text-intense" | "focus-visible\:text-primary-active" | "focus-visible\:text-primary-intense" | "focus-visible\:z-50" | "focus\:bg-danger-default" | "focus\:bg-intense" | "focus\:border-info-default" | "focus\:border-transparent" | "focus\:outline-none" | "focus\:ring-0" | "focus\:text-primary-intense" | "focusable" | "font-normal" | "font-semibold" | "from-white" | "gap-0" | "gap-1" | "gap-2" | "gap-3" | "gap-4" | "gap-5" | "gap-7" | "gap-8" | "gap-x-2" | "gap-x-3" | "gap-x-4" | "gap-x-5" | "gap-x-6" | "gap-y-2" | "grayscale" | "grid" | "grid-cols-1" | "grid-cols-2" | "grid-cols-3" | "grid-cols-\[16px_1fr\]" | "grid-cols-\[1fr_auto\]" | "grid-cols-\[200px_1fr_200px\]" | "grid-cols-\[auto_1fr\]" | "grid-cols-\[auto_1fr_auto\]" | "grid-flow-col" | "group" | "group-hover\:bg-default" | "group-hover\:bg-muted" | "group-hover\:bg-primary-default" | "group-hover\:opacity-100" | "group-hover\:visible" | "group-invalid\:bg-danger-default" | "group-invalid\:group-hover\:bg-danger-default" | "group-invalid\:group-pressed\:bg-danger-intense" | "group-placement-bottom\:rotate-180" | "group-placement-left\:-rotate-90" | "group-placement-right\:rotate-90" | "group-pressed\:bg-intense" | "group-pressed\:bg-primary-intense" | "grow" | "grow-0" | "h-1" | "h-1px" | "h-2" | "h-3" | "h-4" | "h-5" | "h-6" | "h-8" | "h-\[120px\]" | "h-\[174px\]" | "h-\[1px\]" | "h-\[20px\]" | "h-\[225px\]" | "h-\[25px\]" | "h-\[2px\]" | "h-\[32px\]" | "h-\[3px\]" | "h-\[50px\]" | "h-\[56px\]" | "h-\[6px\]" | "h-\[72px\]" | "h-\[8px\]" | "h-\[9px\]" | "h-auto" | "h-dvh" | "h-full" | "hidden" | "hover\:bg-danger-muted" | "hover\:bg-default" | "hover\:bg-icon-button-hover" | "hover\:bg-intense" | "hover\:bg-muted" | "hover\:bg-primary-hover" | "hover\:bg-primary-intense" | "hover\:border-intense" | "hover\:checked\:bg-primary-intense" | "hover\:cursor-pointer" | "hover\:ring-primary-default" | "hover\:text-intense" | "hover\:text-primary-active" | "hover\:text-primary-default" | "hover\:text-primary-intense" | "hover\:underline" | "icon-stroke-2" | "inactive" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "inset-0" | "inset-y-0" | "invalid\:bg-danger-default" | "invalid\:selected\:bg-danger-default" | "invisible" | "italic" | "items-center" | "items-stretch" | "justify-between" | "justify-center" | "justify-end" | "justify-self-center" | "justify-start" | "last\:border-r-0" | "leading-\[0px\]" | "leading-\[18px\]" | "leading-none" | "leading-tight" | "left-0" | "left-1\/2" | "left-2" | "line-clamp-1" | "line-clamp-2" | "line-clamp-3" | "line-clamp-4" | "line-clamp-5" | "line-clamp-6" | "line-through" | "m-3" | "m-4" | "m-\[1px\]" | "max-h-\[inherit\]" | "max-h-full" | "max-w-\[300px\]" | "max-w-\[320px\]" | "max-w-\[600px\]" | "max-w-\[70px\]" | "max-w-\[940px\]" | "max-w-screen-lg" | "max-w-screen-md" | "max-w-screen-sm" | "max-w-screen-xl" | "max-w-screen-xs" | "mb-2" | "mb-3" | "mb-5" | "mb-6" | "mb-\[-20px\]" | "mb-\[-2px\]" | "mb-\[7px\]" | "min-h-\[120px\]" | "min-h-\[50px\]" | "min-h-full" | "min-w-0" | "min-w-\[150px\]" | "min-w-\[200px\]" | "min-w-\[210px\]" | "min-w-\[280px\]" | "min-w-full" | "ml-2" | "ml-3" | "mr-4" | "mt-1" | "mt-2" | "mt-4" | "mt-5" | "mt-auto" | "mx-0" | "mx-1" | "mx-2" | "mx-3" | "mx-7" | "my-1" | "my-4" | "no-arrow" | "no-arrows" | "no-underline" | "object-cover" | "opacity-0" | "opacity-100" | "opacity-40" | "opacity-50" | "opacity-70" | "origin-\[0\%_45\%\]" | "outline" | "outline-0" | "outline-2" | "outline-none" | "outline-offset-2" | "outline-primary-default" | "outside-month\:text-inactive" | "overflow-auto" | "overflow-hidden" | "overflow-x-auto" | "overflow-x-hidden" | "overflow-x-scroll" | "overflow-y-auto" | "p-1" | "p-2" | "p-3" | "p-4" | "p-5" | "p-6" | "p-\[2px\]" | "p-\[3px\]" | "p-\[56px\]" | "pb-3" | "pb-5" | "pb-6" | "peer" | "peer-checked\/switch\:left-1" | "peer-checked\/switch\:text-primary-muted" | "peer-checked\/switch\:translate-x-5" | "peer-checked\:\[\&\>path\]\:stroke-primary-70" | "peer-checked\:\[\&\>path\]\:stroke-white" | "peer-checked\:border-primary-default" | "peer-checked\:border-transparent" | "peer-checked\:peer-disabled\:bg-muted" | "peer-checked\:text-primary-default" | "peer-checked\:text-white" | "peer-focus\:border-info-default" | "peer-hover\:border-intense" | "peer\/switch" | "pl-4" | "pl-7" | "placeholder\:text-inactive" | "pointer-events-none" | "pr-4" | "pr-7" | "pr-\[64px\]" | "pressed\:bg-intense" | "pt-3" | "px-0" | "px-1" | "px-2" | "px-3" | "px-4" | "px-5" | "px-6" | "px-7" | "px-\[14px\]" | "px-\[1px\]" | "px-\[20px\]" | "px-\[4px\]" | "px-\[60px\]" | "px-l2" | "py-0" | "py-1" | "py-2" | "py-3" | "py-4" | "py-5" | "py-6" | "py-7" | "py-\[10px\]" | "py-\[14px\]" | "py-\[6px\]" | "recharts-cartesian-axis-tick-value" | "recharts-label" | "recharts-legend-item" | "recharts-legend-item-text" | "recharts-rectangle" | "recharts-sector" | "recharts-tooltip-item" | "recharts-tooltip-item-name" | "recharts-tooltip-item-separator" | "recharts-tooltip-item-value" | "recharts-tooltip-label" | "recharts-tooltip-wrapper" | "recharts-yAxis" | "relative" | "resize" | "resize-none" | "right-0" | "right-4" | "right-\[28px\]" | "ring" | "ring-0" | "ring-1" | "ring-inset" | "ring-offset-0" | "ring-primary-default" | "rotate-45" | "rounded" | "rounded-\[2px\]" | "rounded-full" | "rounded-none" | "rounded-sm" | "row-start-1" | "row-start-2" | "scale-\[0\.55\]" | "scroll-smooth" | "scrollbar-hide" | "selected\:bg-primary-default" | "selection-end\:rounded-e" | "selection-start\:rounded-s" | "self-center" | "self-start" | "shadow-16dp" | "shadow-4dp" | "shrink" | "snap-mandatory" | "snap-start" | "snap-x" | "static" | "sticky" | "stroke-1" | "stroke-black" | "stroke-error-100" | "stroke-primary-muted" | "stroke-success-default" | "stroke-warning-100" | "table" | "table-auto" | "table-fixed" | "text-\[8px\]" | "text-\[9px\]" | "text-black" | "text-center" | "text-current" | "text-danger-default" | "text-danger-inactive" | "text-danger-intense" | "text-danger-muted" | "text-default" | "text-ellipsis" | "text-error-0" | "text-error-10" | "text-error-100" | "text-error-20" | "text-error-30" | "text-error-40" | "text-error-5" | "text-error-50" | "text-error-60" | "text-error-70" | "text-error-80" | "text-error-90" | "text-grey-0" | "text-grey-10" | "text-grey-100" | "text-grey-20" | "text-grey-30" | "text-grey-40" | "text-grey-5" | "text-grey-50" | "text-grey-60" | "text-grey-70" | "text-grey-80" | "text-grey-90" | "text-inactive" | "text-info-0" | "text-info-10" | "text-info-100" | "text-info-20" | "text-info-30" | "text-info-40" | "text-info-5" | "text-info-50" | "text-info-60" | "text-info-70" | "text-info-80" | "text-info-90" | "text-info-default" | "text-info-inactive" | "text-info-intense" | "text-info-muted" | "text-intense" | "text-left" | "text-muted" | "text-opposite-default" | "text-primary-0" | "text-primary-10" | "text-primary-100" | "text-primary-20" | "text-primary-30" | "text-primary-40" | "text-primary-5" | "text-primary-50" | "text-primary-60" | "text-primary-70" | "text-primary-80" | "text-primary-90" | "text-primary-active" | "text-primary-default" | "text-primary-inactive" | "text-primary-intense" | "text-primary-muted" | "text-right" | "text-secondary-0" | "text-secondary-10" | "text-secondary-100" | "text-secondary-20" | "text-secondary-30" | "text-secondary-40" | "text-secondary-5" | "text-secondary-50" | "text-secondary-60" | "text-secondary-70" | "text-secondary-80" | "text-secondary-90" | "text-success-0" | "text-success-10" | "text-success-100" | "text-success-20" | "text-success-30" | "text-success-40" | "text-success-5" | "text-success-50" | "text-success-60" | "text-success-70" | "text-success-80" | "text-success-90" | "text-success-default" | "text-success-inactive" | "text-success-intense" | "text-success-muted" | "text-transparent" | "text-warning-0" | "text-warning-10" | "text-warning-100" | "text-warning-20" | "text-warning-30" | "text-warning-40" | "text-warning-5" | "text-warning-50" | "text-warning-60" | "text-warning-70" | "text-warning-80" | "text-warning-90" | "text-warning-default" | "text-warning-inactive" | "text-warning-intense" | "text-warning-muted" | "text-white" | "text-xs" | "top-0" | "top-1\/2" | "top-\[14px\]" | "top-\[18px\]" | "top-\[24px\]" | "top-\[3px\]" | "top-\[47px\]" | "transform" | "transition" | "transition-all" | "transition-colors" | "transition-opacity" | "typography-body-default" | "typography-body-default-medium" | "typography-body-large" | "typography-body-large-medium" | "typography-body-small" | "typography-body-small-medium" | "typography-button-large" | "typography-button-medium" | "typography-button-small" | "typography-caption" | "typography-caption-default" | "typography-caption-small" | "typography-code" | "typography-code-small" | "typography-code-small-strong" | "typography-code-strong" | "typography-default" | "typography-default-strong" | "typography-heading" | "typography-heading-2xl" | "typography-heading-3xl" | "typography-heading-4xl" | "typography-heading-5xl" | "typography-heading-large" | "typography-heading-xl" | "typography-large" | "typography-large-heading" | "typography-large-strong" | "typography-overline-default" | "typography-overline-small" | "typography-small" | "typography-small-strong" | "typography-subheading" | "underline" | "uppercase" | "via-white" | "visible" | "visited\:text-primary-intense" | "w-1" | "w-1px" | "w-2" | "w-3" | "w-4" | "w-5" | "w-6" | "w-8" | "w-\[1080px\]" | "w-\[280px\]" | "w-\[32px\]" | "w-\[34px\]" | "w-\[360px\]" | "w-\[560px\]" | "w-\[56px\]" | "w-\[6px\]" | "w-\[8px\]" | "w-\[9px\]" | "w-auto" | "w-dvw" | "w-full" | "whitespace-nowrap" | "whitespace-pre" | "z-0" | "z-10" | "z-20" | "z-40" | "z-modal";
1
+ export type ClassNames = "-left-1\/2" | "-m-2" | "-mt-4" | "-mx-4" | "-translate-x-1\/2" | "-translate-y-1\/2" | "-z-10" | "Aquarium-Alert\.Banner" | "Aquarium-Button\.Primary" | "Aquarium-Button\.Secondary" | "Aquarium-Card" | "Aquarium-Checkbox" | "Aquarium-Collapsible-Section" | "Aquarium-DropdownMenu\.Item" | "Aquarium-Dropdown\.Item" | "Aquarium-Switch" | "Aquarium-Toast" | "Aquarium-Tooltip" | "\!container" | "\!hidden" | "\!inline" | "\!table" | "\[\&\:\:-webkit-search-cancel-button\]\:appearance-none" | "\[\&\>\*\:not\(\:first-child\)\]\:-ml-3" | "\[\&\>\*\]\:bg-primary-active" | "\[\&\>\*\]\:border-b-transparent" | "\[\&\>\*\]\:hover\:bg-muted" | "\[\&\>button\]\:p-0" | "\[\&\>button\]\:text-danger-muted" | "\[\&\>button\]\:text-muted" | "\[\&\>div\:first-child\]\:px-3" | "\[\&\>div\:first-child\]\:px-5" | "\[\&\>path\]\:stroke-\[3px\]" | "\[\&\>path\]\:stroke-transparent" | "\[\&_td\]\:px-0" | "\[\[data-placement\]\>\&\]\:px-5" | "\[\[data-placement\]\>\&\]\:py-6" | "absolute" | "active\:bg-body" | "active\:bg-primary-active" | "active\:bg-primary-intense" | "active\:bg-transparent" | "active\:ring-0" | "active\:ring-primary-default" | "active\:text-default" | "active\:text-muted" | "active\:text-primary-active" | "active\:text-primary-intense" | "align-middle" | "animate-pulse" | "appearance-none" | "aquarium-theme-dark" | "aspect-square" | "auto-cols-fr" | "before\:content-\[\'_\'\]" | "bg-black" | "bg-body" | "bg-body-intense" | "bg-cover" | "bg-current" | "bg-danger-default" | "bg-danger-intense" | "bg-danger-muted" | "bg-default" | "bg-error-0" | "bg-error-10" | "bg-error-100" | "bg-error-20" | "bg-error-30" | "bg-error-40" | "bg-error-5" | "bg-error-50" | "bg-error-60" | "bg-error-70" | "bg-error-80" | "bg-error-90" | "bg-gradient-to-l" | "bg-gradient-to-r" | "bg-grey-0" | "bg-grey-10" | "bg-grey-100" | "bg-grey-20" | "bg-grey-30" | "bg-grey-40" | "bg-grey-5" | "bg-grey-50" | "bg-grey-60" | "bg-grey-70" | "bg-grey-80" | "bg-grey-90" | "bg-icon-button-hover" | "bg-info-0" | "bg-info-10" | "bg-info-100" | "bg-info-20" | "bg-info-30" | "bg-info-40" | "bg-info-5" | "bg-info-50" | "bg-info-60" | "bg-info-70" | "bg-info-80" | "bg-info-90" | "bg-info-default" | "bg-info-intense" | "bg-info-muted" | "bg-intense" | "bg-muted" | "bg-popover-content" | "bg-primary-0" | "bg-primary-10" | "bg-primary-100" | "bg-primary-20" | "bg-primary-30" | "bg-primary-40" | "bg-primary-5" | "bg-primary-50" | "bg-primary-60" | "bg-primary-70" | "bg-primary-80" | "bg-primary-90" | "bg-primary-active" | "bg-primary-default" | "bg-primary-hover" | "bg-primary-intense" | "bg-primary-muted" | "bg-secondary-0" | "bg-secondary-10" | "bg-secondary-100" | "bg-secondary-20" | "bg-secondary-30" | "bg-secondary-40" | "bg-secondary-5" | "bg-secondary-50" | "bg-secondary-60" | "bg-secondary-70" | "bg-secondary-80" | "bg-secondary-90" | "bg-status-announcement" | "bg-status-danger" | "bg-status-info" | "bg-status-success" | "bg-status-warning" | "bg-success-0" | "bg-success-10" | "bg-success-100" | "bg-success-20" | "bg-success-30" | "bg-success-40" | "bg-success-5" | "bg-success-50" | "bg-success-60" | "bg-success-70" | "bg-success-80" | "bg-success-90" | "bg-success-default" | "bg-success-intense" | "bg-success-muted" | "bg-transparent" | "bg-warning-0" | "bg-warning-10" | "bg-warning-100" | "bg-warning-20" | "bg-warning-30" | "bg-warning-40" | "bg-warning-5" | "bg-warning-50" | "bg-warning-60" | "bg-warning-70" | "bg-warning-80" | "bg-warning-90" | "bg-warning-default" | "bg-warning-intense" | "bg-warning-muted" | "bg-white" | "block" | "blur" | "border" | "border-0" | "border-2" | "border-\[2px\]" | "border-b" | "border-b-1" | "border-b-2" | "border-b-transparent" | "border-black" | "border-current" | "border-danger-default" | "border-danger-intense" | "border-danger-muted" | "border-dashed" | "border-default" | "border-error-0" | "border-error-10" | "border-error-100" | "border-error-20" | "border-error-30" | "border-error-40" | "border-error-5" | "border-error-50" | "border-error-60" | "border-error-70" | "border-error-80" | "border-error-90" | "border-grey-0" | "border-grey-10" | "border-grey-100" | "border-grey-20" | "border-grey-30" | "border-grey-40" | "border-grey-5" | "border-grey-50" | "border-grey-60" | "border-grey-70" | "border-grey-80" | "border-grey-90" | "border-info-0" | "border-info-10" | "border-info-100" | "border-info-20" | "border-info-30" | "border-info-40" | "border-info-5" | "border-info-50" | "border-info-60" | "border-info-70" | "border-info-80" | "border-info-90" | "border-info-default" | "border-info-intense" | "border-info-muted" | "border-intense" | "border-muted" | "border-none" | "border-primary-0" | "border-primary-10" | "border-primary-100" | "border-primary-20" | "border-primary-30" | "border-primary-40" | "border-primary-5" | "border-primary-50" | "border-primary-60" | "border-primary-70" | "border-primary-80" | "border-primary-90" | "border-primary-default" | "border-primary-intense" | "border-primary-muted" | "border-r-1" | "border-secondary-0" | "border-secondary-10" | "border-secondary-100" | "border-secondary-20" | "border-secondary-30" | "border-secondary-40" | "border-secondary-5" | "border-secondary-50" | "border-secondary-60" | "border-secondary-70" | "border-secondary-80" | "border-secondary-90" | "border-separate" | "border-solid" | "border-spacing-0" | "border-success-0" | "border-success-10" | "border-success-100" | "border-success-20" | "border-success-30" | "border-success-40" | "border-success-5" | "border-success-50" | "border-success-60" | "border-success-70" | "border-success-80" | "border-success-90" | "border-success-default" | "border-success-intense" | "border-success-muted" | "border-t-2" | "border-transparent" | "border-warning-0" | "border-warning-10" | "border-warning-100" | "border-warning-20" | "border-warning-30" | "border-warning-40" | "border-warning-5" | "border-warning-50" | "border-warning-60" | "border-warning-70" | "border-warning-80" | "border-warning-90" | "border-warning-default" | "border-warning-intense" | "border-warning-muted" | "border-white" | "bottom-0" | "break-all" | "break-words" | "capitalize" | "caret-transparent" | "checked\:bg-primary-default" | "checked\:bg-primary-muted" | "checked\:border-primary-default" | "checked\:border-transparent" | "checked\:opacity-50" | "checked\:shadow-bodyInset" | "children\:border-default" | "children\:inline-block" | "children\:last\:border-b-0" | "children\:opacity-70" | "col-span-full" | "col-start-1" | "col-start-2" | "col-start-3" | "collapse" | "container" | "contents" | "cursor-default" | "cursor-not-allowed" | "cursor-pointer" | "delay-150" | "delay-300" | "disabled\:bg-body" | "disabled\:bg-default" | "disabled\:bg-muted" | "disabled\:bg-primary-muted" | "disabled\:bg-transparent" | "disabled\:border-default" | "disabled\:cursor-not-allowed" | "disabled\:ring-primary-muted" | "disabled\:text-inactive" | "disabled\:text-primary-inactive" | "divide-grey-20" | "divide-x" | "duration-200" | "duration-300" | "ease-in-out" | "file\:bg-transparent" | "file\:border-0" | "file\:mr-4" | "file\:p-0" | "file\:text-primary-intense" | "file\:typography-small-strong" | "fill-error-10" | "fill-primary-10" | "fill-success-10" | "fill-warning-20" | "fill-white" | "filter" | "first\:mt-0" | "fixed" | "flex" | "flex-1" | "flex-col" | "flex-grow" | "flex-nowrap" | "flex-row" | "flex-row-reverse" | "flex-wrap" | "focus-visible\:bg-muted" | "focus-visible\:border-info-default" | "focus-visible\:outline-0" | "focus-visible\:outline-none" | "focus-visible\:relative" | "focus-visible\:ring-1" | "focus-visible\:ring-2" | "focus-visible\:ring-info-default" | "focus-visible\:ring-inset" | "focus-visible\:ring-offset-0" | "focus-visible\:ring-primary-default" | "focus-visible\:ring-primary-intense" | "focus-visible\:text-intense" | "focus-visible\:text-primary-active" | "focus-visible\:text-primary-intense" | "focus-visible\:z-50" | "focus\:bg-danger-default" | "focus\:bg-intense" | "focus\:border-info-default" | "focus\:border-transparent" | "focus\:outline-none" | "focus\:ring-0" | "focus\:text-primary-intense" | "focusable" | "font-normal" | "font-semibold" | "from-white" | "gap-0" | "gap-1" | "gap-2" | "gap-3" | "gap-4" | "gap-5" | "gap-7" | "gap-8" | "gap-x-2" | "gap-x-3" | "gap-x-4" | "gap-x-5" | "gap-x-6" | "gap-y-2" | "grayscale" | "grid" | "grid-cols-1" | "grid-cols-2" | "grid-cols-3" | "grid-cols-\[16px_1fr\]" | "grid-cols-\[1fr_auto\]" | "grid-cols-\[200px_1fr_200px\]" | "grid-cols-\[auto_1fr\]" | "grid-cols-\[auto_1fr_auto\]" | "grid-flow-col" | "group" | "group-hover\:bg-default" | "group-hover\:bg-muted" | "group-hover\:bg-primary-default" | "group-hover\:opacity-100" | "group-hover\:visible" | "group-invalid\:bg-danger-default" | "group-invalid\:group-hover\:bg-danger-default" | "group-invalid\:group-pressed\:bg-danger-intense" | "group-placement-bottom\:rotate-180" | "group-placement-left\:-rotate-90" | "group-placement-right\:rotate-90" | "group-pressed\:bg-intense" | "group-pressed\:bg-primary-intense" | "grow" | "grow-0" | "h-1" | "h-1px" | "h-2" | "h-3" | "h-4" | "h-5" | "h-6" | "h-8" | "h-\[120px\]" | "h-\[174px\]" | "h-\[1px\]" | "h-\[20px\]" | "h-\[225px\]" | "h-\[25px\]" | "h-\[2px\]" | "h-\[32px\]" | "h-\[3px\]" | "h-\[50px\]" | "h-\[56px\]" | "h-\[6px\]" | "h-\[72px\]" | "h-\[8px\]" | "h-\[9px\]" | "h-auto" | "h-dvh" | "h-full" | "hidden" | "hover\:bg-danger-muted" | "hover\:bg-default" | "hover\:bg-icon-button-hover" | "hover\:bg-intense" | "hover\:bg-muted" | "hover\:bg-primary-hover" | "hover\:bg-primary-intense" | "hover\:border-intense" | "hover\:checked\:bg-primary-intense" | "hover\:cursor-pointer" | "hover\:ring-primary-default" | "hover\:text-intense" | "hover\:text-primary-active" | "hover\:text-primary-default" | "hover\:text-primary-intense" | "hover\:underline" | "icon-stroke-2" | "inactive" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "inset-0" | "inset-y-0" | "invalid\:bg-danger-default" | "invalid\:selected\:bg-danger-default" | "invisible" | "italic" | "items-center" | "items-stretch" | "justify-between" | "justify-center" | "justify-end" | "justify-self-center" | "justify-start" | "last\:border-r-0" | "leading-\[0px\]" | "leading-\[18px\]" | "leading-none" | "leading-tight" | "left-0" | "left-1\/2" | "left-2" | "line-clamp-1" | "line-clamp-2" | "line-clamp-3" | "line-clamp-4" | "line-clamp-5" | "line-clamp-6" | "line-through" | "m-3" | "m-4" | "m-\[1px\]" | "max-h-\[inherit\]" | "max-h-full" | "max-w-\[300px\]" | "max-w-\[320px\]" | "max-w-\[600px\]" | "max-w-\[70px\]" | "max-w-\[940px\]" | "max-w-screen-lg" | "max-w-screen-md" | "max-w-screen-sm" | "max-w-screen-xl" | "max-w-screen-xs" | "mb-2" | "mb-3" | "mb-5" | "mb-6" | "mb-\[-20px\]" | "mb-\[-2px\]" | "mb-\[7px\]" | "min-h-\[120px\]" | "min-h-\[50px\]" | "min-h-full" | "min-w-0" | "min-w-\[150px\]" | "min-w-\[200px\]" | "min-w-\[210px\]" | "min-w-\[280px\]" | "min-w-full" | "ml-2" | "ml-3" | "mr-4" | "mt-1" | "mt-2" | "mt-4" | "mt-5" | "mt-auto" | "mx-0" | "mx-1" | "mx-2" | "mx-3" | "mx-7" | "my-1" | "my-4" | "no-arrow" | "no-arrows" | "no-underline" | "object-cover" | "opacity-0" | "opacity-100" | "opacity-40" | "opacity-50" | "opacity-70" | "origin-\[0\%_45\%\]" | "outline" | "outline-0" | "outline-2" | "outline-none" | "outline-offset-2" | "outline-primary-default" | "outside-month\:text-inactive" | "overflow-auto" | "overflow-hidden" | "overflow-x-auto" | "overflow-x-hidden" | "overflow-x-scroll" | "overflow-y-auto" | "p-1" | "p-2" | "p-3" | "p-4" | "p-5" | "p-6" | "p-\[2px\]" | "p-\[3px\]" | "p-\[56px\]" | "pb-3" | "pb-5" | "pb-6" | "peer" | "peer-checked\/switch\:left-1" | "peer-checked\/switch\:text-primary-muted" | "peer-checked\/switch\:translate-x-5" | "peer-checked\:\[\&\>path\]\:stroke-primary-70" | "peer-checked\:\[\&\>path\]\:stroke-white" | "peer-checked\:border-primary-default" | "peer-checked\:border-transparent" | "peer-checked\:peer-disabled\:bg-muted" | "peer-checked\:text-primary-default" | "peer-checked\:text-white" | "peer-focus\:border-info-default" | "peer-hover\:border-intense" | "peer\/switch" | "pl-4" | "pl-7" | "placeholder\:text-inactive" | "pointer-events-none" | "pr-4" | "pr-7" | "pr-\[64px\]" | "pressed\:bg-intense" | "pt-3" | "px-0" | "px-1" | "px-2" | "px-3" | "px-4" | "px-5" | "px-6" | "px-7" | "px-\[14px\]" | "px-\[1px\]" | "px-\[20px\]" | "px-\[4px\]" | "px-\[60px\]" | "px-l2" | "py-0" | "py-1" | "py-2" | "py-3" | "py-4" | "py-5" | "py-6" | "py-7" | "py-\[10px\]" | "py-\[14px\]" | "py-\[6px\]" | "recharts-cartesian-axis-tick-value" | "recharts-label" | "recharts-legend-item" | "recharts-legend-item-text" | "recharts-rectangle" | "recharts-sector" | "recharts-tooltip-item" | "recharts-tooltip-item-name" | "recharts-tooltip-item-separator" | "recharts-tooltip-item-value" | "recharts-tooltip-label" | "recharts-tooltip-wrapper" | "recharts-yAxis" | "relative" | "resize" | "resize-none" | "right-0" | "right-4" | "right-\[28px\]" | "ring" | "ring-0" | "ring-1" | "ring-inset" | "ring-offset-0" | "ring-primary-default" | "rotate-45" | "rounded" | "rounded-\[2px\]" | "rounded-full" | "rounded-none" | "rounded-sm" | "row-start-1" | "row-start-2" | "scale-\[0\.55\]" | "scroll-smooth" | "scrollbar-hide" | "selected\:bg-primary-default" | "selection-end\:rounded-e" | "selection-start\:rounded-s" | "self-center" | "self-start" | "shadow-16dp" | "shadow-4dp" | "shrink" | "snap-mandatory" | "snap-start" | "snap-x" | "static" | "sticky" | "stroke-1" | "stroke-black" | "stroke-error-100" | "stroke-primary-muted" | "stroke-success-default" | "stroke-warning-100" | "table" | "table-auto" | "table-fixed" | "text-\[8px\]" | "text-\[9px\]" | "text-black" | "text-center" | "text-current" | "text-danger-default" | "text-danger-inactive" | "text-danger-intense" | "text-danger-muted" | "text-default" | "text-ellipsis" | "text-error-0" | "text-error-10" | "text-error-100" | "text-error-20" | "text-error-30" | "text-error-40" | "text-error-5" | "text-error-50" | "text-error-60" | "text-error-70" | "text-error-80" | "text-error-90" | "text-grey-0" | "text-grey-10" | "text-grey-100" | "text-grey-20" | "text-grey-30" | "text-grey-40" | "text-grey-5" | "text-grey-50" | "text-grey-60" | "text-grey-70" | "text-grey-80" | "text-grey-90" | "text-inactive" | "text-info-0" | "text-info-10" | "text-info-100" | "text-info-20" | "text-info-30" | "text-info-40" | "text-info-5" | "text-info-50" | "text-info-60" | "text-info-70" | "text-info-80" | "text-info-90" | "text-info-default" | "text-info-inactive" | "text-info-intense" | "text-info-muted" | "text-intense" | "text-left" | "text-muted" | "text-opposite-default" | "text-primary-0" | "text-primary-10" | "text-primary-100" | "text-primary-20" | "text-primary-30" | "text-primary-40" | "text-primary-5" | "text-primary-50" | "text-primary-60" | "text-primary-70" | "text-primary-80" | "text-primary-90" | "text-primary-active" | "text-primary-default" | "text-primary-inactive" | "text-primary-intense" | "text-primary-muted" | "text-right" | "text-secondary-0" | "text-secondary-10" | "text-secondary-100" | "text-secondary-20" | "text-secondary-30" | "text-secondary-40" | "text-secondary-5" | "text-secondary-50" | "text-secondary-60" | "text-secondary-70" | "text-secondary-80" | "text-secondary-90" | "text-success-0" | "text-success-10" | "text-success-100" | "text-success-20" | "text-success-30" | "text-success-40" | "text-success-5" | "text-success-50" | "text-success-60" | "text-success-70" | "text-success-80" | "text-success-90" | "text-success-default" | "text-success-inactive" | "text-success-intense" | "text-success-muted" | "text-transparent" | "text-warning-0" | "text-warning-10" | "text-warning-100" | "text-warning-20" | "text-warning-30" | "text-warning-40" | "text-warning-5" | "text-warning-50" | "text-warning-60" | "text-warning-70" | "text-warning-80" | "text-warning-90" | "text-warning-default" | "text-warning-inactive" | "text-warning-intense" | "text-warning-muted" | "text-white" | "text-xs" | "top-0" | "top-1\/2" | "top-\[14px\]" | "top-\[18px\]" | "top-\[24px\]" | "top-\[3px\]" | "top-\[47px\]" | "transform" | "transition" | "transition-all" | "transition-colors" | "transition-opacity" | "typography-body-default" | "typography-body-default-medium" | "typography-body-large" | "typography-body-large-medium" | "typography-body-small" | "typography-body-small-medium" | "typography-button-large" | "typography-button-medium" | "typography-button-small" | "typography-caption" | "typography-caption-default" | "typography-caption-small" | "typography-code" | "typography-code-small" | "typography-code-small-strong" | "typography-code-strong" | "typography-default" | "typography-default-strong" | "typography-heading" | "typography-heading-2xl" | "typography-heading-3xl" | "typography-heading-4xl" | "typography-heading-5xl" | "typography-heading-large" | "typography-heading-xl" | "typography-large" | "typography-large-heading" | "typography-large-strong" | "typography-overline-default" | "typography-overline-small" | "typography-small" | "typography-small-strong" | "typography-subheading" | "underline" | "uppercase" | "via-white" | "visible" | "visited\:text-primary-intense" | "w-1" | "w-1px" | "w-2" | "w-3" | "w-4" | "w-5" | "w-6" | "w-8" | "w-\[1080px\]" | "w-\[280px\]" | "w-\[32px\]" | "w-\[34px\]" | "w-\[360px\]" | "w-\[560px\]" | "w-\[56px\]" | "w-\[6px\]" | "w-\[8px\]" | "w-\[9px\]" | "w-auto" | "w-dvw" | "w-full" | "whitespace-nowrap" | "whitespace-pre" | "z-0" | "z-10" | "z-20" | "z-40" | "z-modal";
@@ -1,18 +1,18 @@
1
1
  import { type ElementType, type ReactElement, type ReactNode } from 'react';
2
- export declare const isComponentType: <T>(c: ReactNode, type: ElementType<T>) => c is ReactElement<T, string | import("react").JSXElementConstructor<any>>;
3
- export declare type Either<A, B> = (A & Partial<Record<keyof B, never>>) | (B & Partial<Record<keyof A, never>>);
4
- export declare type AllOrNone<T> = T | {
5
- [K in keyof T]?: never;
2
+ export declare const isComponentType: <T>(c: ReactNode, type: ElementType<T>) => c is ReactElement<T>;
3
+ export type Either<A, B> = (A & Partial<Record<keyof B, never>>) | (B & Partial<Record<keyof A, never>>);
4
+ export type AllOrNone<T> = T | {
5
+ [_K in keyof T]?: never;
6
6
  };
7
- export declare type AcceptEmpty = boolean | null | undefined;
8
- export declare type EmptyOrOneOrMore<T> = AcceptEmpty | Array<AcceptEmpty | React.ReactElement<T>> | React.ReactElement<T>;
9
- export declare type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = {
7
+ export type AcceptEmpty = boolean | null | undefined;
8
+ export type EmptyOrOneOrMore<T> = AcceptEmpty | Array<AcceptEmpty | React.ReactElement<T>> | React.ReactElement<T>;
9
+ export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = {
10
10
  [K in Keys]-?: Partial<Pick<T, Exclude<Keys, K>>> & Required<Pick<T, K>>;
11
11
  }[Keys] & Pick<T, Exclude<keyof T, Keys>>;
12
- export declare type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
13
- export declare type RequiredBy<T, K extends keyof T> = T & {
12
+ export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
13
+ export type RequiredBy<T, K extends keyof T> = T & {
14
14
  [P in K]-?: T[P];
15
15
  };
16
- export declare type Simplify<T> = {
16
+ export type Simplify<T> = {
17
17
  [K in keyof T]: T[K];
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aivenio/aquarium",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "Aiven Aquarium design system",
5
5
  "main": "dist/system.cjs",
6
6
  "module": "dist/system.mjs",
@@ -59,7 +59,7 @@
59
59
  "test": "npm run build:generated && jest",
60
60
  "test:watch": "jest --watch",
61
61
  "test:coverage": "jest --coverage",
62
- "test:all": "npm run eslint && npm run test",
62
+ "test:all": "npm run eslint && npm run test && npm run knip",
63
63
  "test:update": "jest --updateSnapshot",
64
64
  "eslint": "npm run eslint:prebuild && npm run eslint:check:src",
65
65
  "eslint:prebuild": "npm run build:generated",
@@ -81,20 +81,22 @@
81
81
  "build:tailwind:json": "node tools/resolveTailwindConfig.mjs > tailwind.theme.json",
82
82
  "build:copy-files": "echo 'Copying files that are not included by TS' && cp src/tokens/* dist/ && cp tailwind.theme.json dist/",
83
83
  "clean": "rm -rf .cache dist/",
84
- "verify-declaration-file-exists": "[ -e \"./dist/src/system.d.ts\" ] && echo \"Declaration file was generated\" || (echo \"Error: declaration file wasn't generated\"; false)"
84
+ "verify-declaration-file-exists": "[ -e \"./dist/src/system.d.ts\" ] && echo \"Declaration file was generated\" || (echo \"Error: declaration file wasn't generated\"; false)",
85
+ "knip": "knip --tags=-knipignore"
85
86
  },
86
87
  "author": "",
87
88
  "license": "Apache-2.0",
88
89
  "devDependencies": {
89
90
  "@actions/core": "^1.10.0",
90
91
  "@aitodotai/json-stringify-pretty-compact": "^1.3.0",
91
- "@aivenio/eslint-config-aiven": "^4.0.2",
92
+ "@aivenio/eslint-config-aiven": "^7.4.0",
92
93
  "@babel/core": "^7.22.5",
93
94
  "@babel/preset-env": "^7.20.2",
94
95
  "@babel/preset-react": "^7.18.6",
95
96
  "@babel/preset-typescript": "^7.18.6",
96
97
  "@faker-js/faker": "^8.3.1",
97
98
  "@iconify/tools": "^2.0.14",
99
+ "@mdx-js/mdx": "^3.0.1",
98
100
  "@storybook/addon-a11y": "^7.2.0",
99
101
  "@storybook/addon-essentials": "^7.2.0",
100
102
  "@storybook/addon-links": "^7.2.0",
@@ -116,30 +118,27 @@
116
118
  "@types/common-tags": "^1.8.0",
117
119
  "@types/jest": "^29.2.2",
118
120
  "@types/jest-axe": "^3.5.5",
119
- "@types/lodash": "^4.14.168",
121
+ "@types/lodash": "^4.17.10",
122
+ "@types/node": "^22.7.5",
120
123
  "@types/react": "^18.2.25",
121
124
  "@types/react-dom": "^18.2.10",
122
- "@types/tailwindcss": "^3.1.0",
123
- "@typescript-eslint/eslint-plugin": "^5.59.11",
124
- "@typescript-eslint/parser": "^5.59.11",
125
125
  "@zerollup/ts-transform-paths": "^1.7.18",
126
126
  "arg": "^5.0.0",
127
- "autoprefixer": "^10.3.2",
128
127
  "common-tags": "^1.8.0",
129
128
  "css-loader": "^5.1.3",
130
129
  "css-minimizer-webpack-plugin": "^1.2.0",
131
130
  "cssnano": "^4.1.10",
132
- "csstype": "^3.1.2",
133
131
  "esbuild": "^0.15.8",
134
- "eslint": "^8.42.0",
135
- "eslint-import-resolver-typescript": "^3.5.5",
136
- "eslint-plugin-jsx-a11y": "^6.7.1",
137
- "eslint-plugin-react": "^7.32.2",
138
- "eslint-plugin-storybook": "^0.6.13",
132
+ "eslint": "^8.56.0",
133
+ "eslint-import-resolver-typescript": "^3.6.3",
134
+ "eslint-plugin-jsx-a11y": "^6.10.2",
135
+ "eslint-plugin-react": "^7.37.2",
136
+ "eslint-plugin-storybook": "^0.11.0",
139
137
  "jest": "^29.3.1",
140
138
  "jest-axe": "^8.0.0",
141
139
  "jest-environment-jsdom": "^29.5.0",
142
140
  "jest-fail-on-console": "^3.1.2",
141
+ "knip": "^5.33.3",
143
142
  "lodash": "^4.17.21",
144
143
  "log-watcher-webpack-plugin": "^1.0.4",
145
144
  "mini-css-extract-plugin": "^1.3.9",
@@ -151,10 +150,9 @@
151
150
  "postcss-preset-env": "^6.7.0",
152
151
  "postcss-reporter": "^7.0.5",
153
152
  "postcss-ts-classnames": "^0.3.0",
154
- "prettier": "^2.8.3",
153
+ "prettier": "^3.3.3",
155
154
  "react": "^18.2.0",
156
155
  "react-dom": "^18.2.0",
157
- "react-test-renderer": "^18.2.0",
158
156
  "storybook": "^7.2.0",
159
157
  "style-dictionary": "^3.9.2",
160
158
  "style-dictionary-utils": "^2.4.1",
@@ -165,7 +163,7 @@
165
163
  "ts-loader": "^8.3.0",
166
164
  "ts-node": "^10.9.1",
167
165
  "tsc-alias": "^1.7.0",
168
- "typescript": "^4.8.4",
166
+ "typescript": "^5.6.2",
169
167
  "webpack": "^5.73.0",
170
168
  "webpack-cli": "^4.10.0",
171
169
  "yaml": "^2.1.1"