@pantheon-systems/pds-toolkit-react 2.0.0-alpha.2 → 2.0.0-alpha.20

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 (434) hide show
  1. package/README.md +3 -3
  2. package/dist/components/Avatar/Avatar.d.ts +6 -2
  3. package/dist/components/ComparisonList/ComparisonList.d.ts +10 -1
  4. package/dist/components/Drawer/Drawer.d.ts +58 -0
  5. package/dist/components/Dropdown/Dropdown.d.ts +140 -0
  6. package/dist/components/Dropdown/DropdownSelectedIcon.d.ts +7 -0
  7. package/dist/components/FileDiff/FileDiff.d.ts +2 -2
  8. package/dist/components/IdentityBlock/IdentityBlock.d.ts +37 -0
  9. package/dist/components/Modal/Modal.d.ts +1 -1
  10. package/dist/components/Popover/Popover.d.ts +5 -1
  11. package/dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +1 -1
  12. package/dist/components/{RefreshChecker/RefreshChecker.d.ts → StatusChecker/StatusChecker.d.ts} +5 -19
  13. package/dist/components/StatusIndicator/StatusIndicator.d.ts +2 -2
  14. package/dist/components/Table/Table.d.ts +10 -19
  15. package/dist/components/Tabs/Tabs.d.ts +6 -1
  16. package/dist/components/Tag/Tag.d.ts +7 -2
  17. package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +14 -8
  18. package/dist/components/Tooltip/Tooltip.d.ts +5 -1
  19. package/dist/components/badges/Badge/Badge.d.ts +28 -0
  20. package/dist/components/buttons/CloseButton/CloseButton.d.ts +6 -6
  21. package/dist/components/buttons/IconButton/IconButton.d.ts +4 -0
  22. package/dist/components/buttons/MenuButton/MenuButton.d.ts +2 -7
  23. package/dist/components/cards/Card/Card.d.ts +1 -1
  24. package/dist/components/cards/NewSiteCard/NewSiteCard.d.ts +1 -1
  25. package/dist/components/cards/PricingCard/PricingCard.d.ts +6 -1
  26. package/dist/components/charts/BarChart/BarChart.d.ts +21 -0
  27. package/dist/components/charts/LineChart/LineChart.d.ts +22 -0
  28. package/dist/components/charts/shared/ChartAccessibleTable.d.ts +17 -0
  29. package/dist/components/charts/shared/ChartLegend.d.ts +25 -0
  30. package/dist/components/charts/shared/ChartSkeleton.d.ts +7 -0
  31. package/dist/components/charts/shared/chart-colors.d.ts +30 -0
  32. package/dist/components/charts/shared/chart-styles.d.ts +16 -0
  33. package/dist/components/charts/shared/formatters.d.ts +12 -0
  34. package/dist/components/charts/shared/types.d.ts +128 -0
  35. package/dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +1 -1
  36. package/dist/components/footer/SiteFooter/SiteFooter.d.ts +5 -1
  37. package/dist/components/icons/Icon/Icon.d.ts +11 -731
  38. package/dist/components/icons/Icon/IconSearch.d.ts +1 -0
  39. package/dist/components/icons/Icon/custom-icons.d.ts +46 -0
  40. package/dist/components/icons/Icon/generated-icon-data.d.ts +1450 -0
  41. package/dist/components/icons/Icon/icon-registry.d.ts +34 -0
  42. package/dist/components/icons/PaymentIcon/PaymentIcon.d.ts +7 -3
  43. package/dist/components/icons/PlatformIcon/PlatformIcon.d.ts +6 -6
  44. package/dist/components/inputs/Checkbox/Checkbox.d.ts +2 -2
  45. package/dist/components/inputs/Combobox/Combobox.d.ts +16 -6
  46. package/dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +32 -5
  47. package/dist/components/inputs/Datepicker/Datepicker.d.ts +15 -1
  48. package/dist/components/inputs/FileUpload/FileUpload.d.ts +5 -0
  49. package/dist/components/inputs/Select/Select.d.ts +10 -1
  50. package/dist/components/inputs/Select/select-sample-data.d.ts +1 -0
  51. package/dist/components/inputs/Switch/Switch.d.ts +0 -16
  52. package/dist/components/inputs/TagsInput/TagsInput.d.ts +100 -0
  53. package/dist/components/inputs/TextInput/TextInput.d.ts +4 -0
  54. package/dist/components/inputs/Textarea/Textarea.d.ts +4 -0
  55. package/dist/components/inputs/input-utilities.d.ts +4 -3
  56. package/dist/components/{CTALink → links/CTALink}/CTALink.d.ts +1 -1
  57. package/dist/components/{LinkNewWindow → links/LinkNewWindow}/LinkNewWindow.d.ts +1 -1
  58. package/dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +1 -0
  59. package/dist/components/navigation/Navbar/Navbar.d.ts +1 -1
  60. package/dist/components/navigation/SideNavGlobal/SideNavGlobal.d.ts +5 -15
  61. package/dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +5 -1
  62. package/dist/components/navigation/{NavMenu/NavMenu.d.ts → SiteMenu/SiteMenu.d.ts} +5 -8
  63. package/dist/components/navigation/SiteMenu/SiteMenuDropdown.d.ts +23 -0
  64. package/dist/components/navigation/TabMenu/TabMenu.d.ts +6 -1
  65. package/dist/components/navigation/UserMenu/UserMenu.d.ts +1 -5
  66. package/dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +8 -12
  67. package/dist/components/notifications/Banner/Banner.d.ts +32 -12
  68. package/dist/components/notifications/NotificationsPopover/NotificationsPopover.d.ts +2 -7
  69. package/dist/components/notifications/SectionMessage/SectionMessage.d.ts +6 -2
  70. package/dist/components/notifications/Toaster/Toast.d.ts +13 -2
  71. package/dist/components/notifications/Toaster/Toaster.d.ts +16 -7
  72. package/dist/components/notifications/Toaster/useToast.d.ts +2 -0
  73. package/dist/components/{Pagination → pagination/Pagination}/Pagination.d.ts +7 -2
  74. package/dist/components/pagination/PaginationCompact/PaginationCompact.d.ts +49 -0
  75. package/dist/components/pagination/PaginationMini/PaginationMini.d.ts +55 -0
  76. package/dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +6 -3
  77. package/dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +1 -2
  78. package/dist/components/panels/Panel/Panel.d.ts +1 -18
  79. package/dist/components/panels/PanelList/PanelList.d.ts +1 -1
  80. package/dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +3 -4
  81. package/dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +2 -3
  82. package/dist/css/component-css/pds-avatar-tile-list.css +1 -1
  83. package/dist/css/component-css/pds-avatar.css +1 -1
  84. package/dist/css/component-css/pds-badge.css +1 -0
  85. package/dist/css/component-css/pds-banner.css +1 -1
  86. package/dist/css/component-css/pds-bar-chart.css +1 -0
  87. package/dist/css/component-css/pds-branch-diff.css +1 -1
  88. package/dist/css/component-css/pds-breadcrumb.css +1 -1
  89. package/dist/css/component-css/pds-button-link.css +1 -1
  90. package/dist/css/component-css/pds-button-nav.css +1 -1
  91. package/dist/css/component-css/pds-button.css +9 -3
  92. package/dist/css/component-css/pds-callout.css +1 -1
  93. package/dist/css/component-css/pds-card-select-group.css +1 -1
  94. package/dist/css/component-css/pds-card.css +1 -1
  95. package/dist/css/component-css/pds-chart-legend.css +1 -0
  96. package/dist/css/component-css/pds-chart-wrapper.css +1 -0
  97. package/dist/css/component-css/pds-checkbox.css +1 -1
  98. package/dist/css/component-css/pds-close-button.css +1 -1
  99. package/dist/css/component-css/pds-combobox-multiselect.css +4 -2
  100. package/dist/css/component-css/pds-combobox.css +1 -1
  101. package/dist/css/component-css/pds-compact-empty-state.css +1 -1
  102. package/dist/css/component-css/pds-comparison-list.css +1 -1
  103. package/dist/css/component-css/pds-cta-link.css +1 -1
  104. package/dist/css/component-css/pds-dashboard-search.css +1 -1
  105. package/dist/css/component-css/pds-datepicker.css +1 -1
  106. package/dist/css/component-css/pds-drawer.css +1 -0
  107. package/dist/css/component-css/pds-dropdown-menu.css +2 -2
  108. package/dist/css/component-css/pds-dropdown.css +2 -0
  109. package/dist/css/component-css/pds-empty-state-card.css +1 -1
  110. package/dist/css/component-css/pds-expansion-panel.css +1 -1
  111. package/dist/css/component-css/pds-file-diff.css +1 -1
  112. package/dist/css/component-css/pds-file-upload.css +2 -2
  113. package/dist/css/component-css/pds-flow-steps.css +1 -1
  114. package/dist/css/component-css/pds-footer-links.css +1 -1
  115. package/dist/css/component-css/pds-horizontal-empty-state.css +1 -1
  116. package/dist/css/component-css/pds-icon-button.css +4 -4
  117. package/dist/css/component-css/pds-icon-story-only.css +1 -1
  118. package/dist/css/component-css/pds-icon.css +1 -0
  119. package/dist/css/component-css/pds-identity-block.css +1 -0
  120. package/dist/css/component-css/pds-index.css +96 -57
  121. package/dist/css/component-css/pds-inline-message.css +1 -1
  122. package/dist/css/component-css/pds-input-group.css +1 -1
  123. package/dist/css/component-css/pds-input-utilities.css +1 -1
  124. package/dist/css/component-css/pds-line-chart.css +1 -0
  125. package/dist/css/component-css/pds-link-new-window.css +1 -1
  126. package/dist/css/component-css/pds-menu-button.css +4 -1
  127. package/dist/css/component-css/pds-modal.css +1 -1
  128. package/dist/css/component-css/pds-nav-menu.css +2 -2
  129. package/dist/css/component-css/pds-navbar.css +4 -1
  130. package/dist/css/component-css/pds-new-site-card.css +1 -1
  131. package/dist/css/component-css/pds-notification-hub-icon.css +1 -1
  132. package/dist/css/component-css/pds-notifications-popover.css +13 -1
  133. package/dist/css/component-css/pds-pagination-compact.css +1 -0
  134. package/dist/css/component-css/pds-pagination-mini.css +3 -0
  135. package/dist/css/component-css/pds-pagination.css +1 -1
  136. package/dist/css/component-css/pds-panel-list.css +1 -1
  137. package/dist/css/component-css/pds-panel.css +1 -1
  138. package/dist/css/component-css/pds-pantheon-logo.css +1 -1
  139. package/dist/css/component-css/pds-payment-card.css +1 -1
  140. package/dist/css/component-css/pds-payment-icon.css +1 -1
  141. package/dist/css/component-css/pds-platform-icon.css +1 -1
  142. package/dist/css/component-css/pds-popover.css +1 -1
  143. package/dist/css/component-css/pds-pricing-card.css +1 -1
  144. package/dist/css/component-css/pds-progress-bar.css +1 -1
  145. package/dist/css/component-css/pds-progress-ring.css +1 -1
  146. package/dist/css/component-css/pds-pull-quote.css +1 -1
  147. package/dist/css/component-css/pds-radio-group.css +1 -1
  148. package/dist/css/component-css/pds-section-message.css +1 -1
  149. package/dist/css/component-css/pds-segmented-button.css +1 -1
  150. package/dist/css/component-css/pds-select.css +1 -1
  151. package/dist/css/component-css/pds-side-nav-compact.css +1 -1
  152. package/dist/css/component-css/pds-side-nav-global.css +6 -4
  153. package/dist/css/component-css/pds-side-nav.css +1 -1
  154. package/dist/css/component-css/pds-site-card.css +1 -1
  155. package/dist/css/component-css/pds-site-footer.css +1 -1
  156. package/dist/css/component-css/pds-skiplink.css +1 -1
  157. package/dist/css/component-css/pds-spinner.css +1 -1
  158. package/dist/css/component-css/pds-sso-button.css +1 -1
  159. package/dist/css/component-css/pds-status-badge.css +1 -1
  160. package/dist/css/component-css/pds-status-checker.css +1 -0
  161. package/dist/css/component-css/pds-status-indicator.css +1 -1
  162. package/dist/css/component-css/pds-stepper.css +1 -1
  163. package/dist/css/component-css/pds-switch.css +4 -11
  164. package/dist/css/component-css/pds-tab-menu.css +2 -2
  165. package/dist/css/component-css/pds-table-of-contents.css +1 -1
  166. package/dist/css/component-css/pds-table.css +1 -1
  167. package/dist/css/component-css/pds-tabs.css +1 -1
  168. package/dist/css/component-css/pds-tag.css +1 -1
  169. package/dist/css/component-css/pds-tags-input.css +1 -0
  170. package/dist/css/component-css/pds-text-input.css +1 -1
  171. package/dist/css/component-css/pds-textarea.css +1 -1
  172. package/dist/css/component-css/pds-theme-switcher.css +1 -1
  173. package/dist/css/component-css/pds-toaster.css +1 -1
  174. package/dist/css/component-css/pds-tooltip.css +1 -1
  175. package/dist/css/component-css/pds-user-menu.css +29 -1
  176. package/dist/css/component-css/pds-utility-button.css +1 -1
  177. package/dist/css/component-css/pds-vertical-empty-state.css +1 -1
  178. package/dist/css/component-css/pds-vertical-stepper.css +1 -1
  179. package/dist/css/component-css/pds-workspace-selector.css +16 -1
  180. package/dist/css/design-tokens/fonts.css +1 -1
  181. package/dist/css/design-tokens/variables.dark.css +232 -49
  182. package/dist/css/design-tokens/variables.global.css +8 -11
  183. package/dist/css/design-tokens/variables.light.css +207 -46
  184. package/dist/css/design-tokens/variables.typography.css +9 -6
  185. package/dist/css/layout-css/pds-app-layout.css +2 -0
  186. package/dist/css/layout-css/pds-docs-layout.css +1 -0
  187. package/dist/css/layout-css/pds-index.css +2 -0
  188. package/dist/css/layout-css/pds-sidebar-layout.css +5 -0
  189. package/dist/css/layout-css/pds-stepper-layout.css +1 -0
  190. package/dist/css/layout-css/pds-three-item-layout.css +1 -0
  191. package/dist/css/layout-css/pds-two-item-layout.css +1 -0
  192. package/dist/css/pds-components.css +96 -57
  193. package/dist/css/pds-core.css +2 -2
  194. package/dist/css/pds-layouts.css +2 -9
  195. package/dist/index.css +1 -1
  196. package/dist/index.d.ts +88 -6
  197. package/dist/index.js +11161 -1809
  198. package/dist/index.js.map +1 -1
  199. package/dist/index.source.d.ts +21 -16
  200. package/dist/layouts/AppLayout/AppLayout.d.ts +47 -6
  201. package/dist/layouts/DocsLayout/DocsLayout.d.ts +9 -7
  202. package/dist/layouts/SidebarLayout/SidebarLayout.d.ts +12 -3
  203. package/dist/libs/components/NavAccordion/NavAccordion.d.ts +27 -0
  204. package/dist/libs/types/custom-types.d.ts +10 -2
  205. package/dist/libs/types/navigation-types.d.ts +1 -1
  206. package/dist/svg/angleDown.svg +3 -0
  207. package/dist/svg/angleLeft.svg +3 -0
  208. package/dist/svg/angleRight.svg +3 -0
  209. package/dist/svg/angleUp.svg +3 -0
  210. package/dist/svg/anglesLeft.svg +3 -0
  211. package/dist/svg/anglesRight.svg +3 -0
  212. package/dist/svg/arrowDownToLine.svg +3 -0
  213. package/dist/svg/arrowLeft.svg +3 -0
  214. package/dist/svg/arrowRight.svg +3 -0
  215. package/dist/svg/arrowsRetweet.svg +3 -0
  216. package/dist/svg/asterisk.svg +3 -0
  217. package/dist/svg/banBug.svg +3 -0
  218. package/dist/svg/bars.svg +3 -0
  219. package/dist/svg/barsFilter.svg +3 -0
  220. package/dist/svg/bell.svg +3 -0
  221. package/dist/svg/billboard.svg +3 -0
  222. package/dist/svg/bitbucket.svg +3 -0
  223. package/dist/svg/bluesky.svg +3 -0
  224. package/dist/svg/bolt.svg +3 -0
  225. package/dist/svg/boltPantheon.svg +3 -0
  226. package/dist/svg/boltSolid.svg +3 -0
  227. package/dist/svg/book.svg +3 -0
  228. package/dist/svg/books.svg +3 -0
  229. package/dist/svg/bracketRight.svg +3 -0
  230. package/dist/svg/bracketsSquare.svg +3 -0
  231. package/dist/svg/brainCircuit.svg +3 -0
  232. package/dist/svg/broomWide.svg +3 -0
  233. package/dist/svg/building.svg +3 -0
  234. package/dist/svg/buildings.svg +3 -0
  235. package/dist/svg/bullhorn.svg +3 -0
  236. package/dist/svg/calendarDays.svg +3 -0
  237. package/dist/svg/caretDown.svg +3 -0
  238. package/dist/svg/caretLeft.svg +3 -0
  239. package/dist/svg/caretRight.svg +3 -0
  240. package/dist/svg/caretUp.svg +3 -0
  241. package/dist/svg/ccAmex.svg +3 -0
  242. package/dist/svg/ccApplePay.svg +3 -0
  243. package/dist/svg/ccDiscover.svg +3 -0
  244. package/dist/svg/ccGeneric.svg +3 -0
  245. package/dist/svg/ccMC.svg +3 -0
  246. package/dist/svg/ccPaypal.svg +3 -0
  247. package/dist/svg/ccVisa.svg +3 -0
  248. package/dist/svg/chartLine.svg +3 -0
  249. package/dist/svg/chartNetwork.svg +3 -0
  250. package/dist/svg/chartSimple.svg +3 -0
  251. package/dist/svg/check.svg +3 -0
  252. package/dist/svg/circle.svg +3 -0
  253. package/dist/svg/circleCheck.svg +3 -0
  254. package/dist/svg/circleExclamation.svg +3 -0
  255. package/dist/svg/circleInfo.svg +3 -0
  256. package/dist/svg/circleMinus.svg +3 -0
  257. package/dist/svg/circleNotch.svg +3 -0
  258. package/dist/svg/circlePlus.svg +3 -0
  259. package/dist/svg/circleQuestion.svg +3 -0
  260. package/dist/svg/circleUser.svg +3 -0
  261. package/dist/svg/circleXmark.svg +3 -0
  262. package/dist/svg/cloud.svg +3 -0
  263. package/dist/svg/cloudArrowDown.svg +3 -0
  264. package/dist/svg/cloudArrowUp.svg +3 -0
  265. package/dist/svg/cloudPlus.svg +3 -0
  266. package/dist/svg/code.svg +3 -0
  267. package/dist/svg/codeBranch.svg +3 -0
  268. package/dist/svg/codeMerge.svg +3 -0
  269. package/dist/svg/command.svg +3 -0
  270. package/dist/svg/comment.svg +3 -0
  271. package/dist/svg/copy.svg +3 -0
  272. package/dist/svg/desktop.svg +3 -0
  273. package/dist/svg/diamondExclamation.svg +3 -0
  274. package/dist/svg/diamonds4.svg +3 -0
  275. package/dist/svg/discourse.svg +3 -0
  276. package/dist/svg/display.svg +3 -0
  277. package/dist/svg/dollarSign.svg +3 -0
  278. package/dist/svg/download.svg +3 -0
  279. package/dist/svg/drupal.svg +3 -0
  280. package/dist/svg/ellipsis.svg +3 -0
  281. package/dist/svg/ellipsisVertical.svg +3 -0
  282. package/dist/svg/emptySet.svg +3 -0
  283. package/dist/svg/envelope.svg +3 -0
  284. package/dist/svg/envelopeOpen.svg +3 -0
  285. package/dist/svg/exclamation.svg +3 -0
  286. package/dist/svg/expand.svg +3 -0
  287. package/dist/svg/expandFromCenter.svg +3 -0
  288. package/dist/svg/externalLink.svg +3 -0
  289. package/dist/svg/eye.svg +3 -0
  290. package/dist/svg/eyeSlash.svg +3 -0
  291. package/dist/svg/facebook.svg +3 -0
  292. package/dist/svg/file.svg +3 -0
  293. package/dist/svg/fileCSV.svg +3 -0
  294. package/dist/svg/fileCheck.svg +3 -0
  295. package/dist/svg/fileContract.svg +3 -0
  296. package/dist/svg/fileDiff.svg +3 -0
  297. package/dist/svg/fileExport.svg +3 -0
  298. package/dist/svg/fileImport.svg +3 -0
  299. package/dist/svg/fileLines.svg +3 -0
  300. package/dist/svg/filePDF.svg +3 -0
  301. package/dist/svg/fileZip.svg +3 -0
  302. package/dist/svg/folder.svg +3 -0
  303. package/dist/svg/folderTree.svg +3 -0
  304. package/dist/svg/gear.svg +3 -0
  305. package/dist/svg/gem.svg +3 -0
  306. package/dist/svg/github.svg +3 -0
  307. package/dist/svg/gitlab.svg +3 -0
  308. package/dist/svg/globe.svg +3 -0
  309. package/dist/svg/graduationCap.svg +3 -0
  310. package/dist/svg/grid.svg +3 -0
  311. package/dist/svg/gripDots.svg +3 -0
  312. package/dist/svg/gripDotsVertical.svg +3 -0
  313. package/dist/svg/heart.svg +3 -0
  314. package/dist/svg/heartSolid.svg +3 -0
  315. package/dist/svg/house.svg +3 -0
  316. package/dist/svg/idCard.svg +3 -0
  317. package/dist/svg/image.svg +3 -0
  318. package/dist/svg/inputText.svg +3 -0
  319. package/dist/svg/instagram.svg +3 -0
  320. package/dist/svg/keySkeleton.svg +3 -0
  321. package/dist/svg/landmark.svg +3 -0
  322. package/dist/svg/laptop.svg +3 -0
  323. package/dist/svg/laptopCode.svg +3 -0
  324. package/dist/svg/leaf.svg +3 -0
  325. package/dist/svg/lifeRing.svg +3 -0
  326. package/dist/svg/linkSimple.svg +3 -0
  327. package/dist/svg/linkSimpleSlash.svg +3 -0
  328. package/dist/svg/linkedin.svg +3 -0
  329. package/dist/svg/listCheck.svg +3 -0
  330. package/dist/svg/locationCrosshairs.svg +3 -0
  331. package/dist/svg/lock.svg +3 -0
  332. package/dist/svg/lockOpen.svg +3 -0
  333. package/dist/svg/magnifyingGlass.svg +3 -0
  334. package/dist/svg/medal.svg +3 -0
  335. package/dist/svg/memo.svg +3 -0
  336. package/dist/svg/messages.svg +3 -0
  337. package/dist/svg/minus.svg +3 -0
  338. package/dist/svg/moon.svg +3 -0
  339. package/dist/svg/nextJs.svg +3 -0
  340. package/dist/svg/paperPlane.svg +3 -0
  341. package/dist/svg/paperclip.svg +3 -0
  342. package/dist/svg/pause.svg +3 -0
  343. package/dist/svg/pen.svg +3 -0
  344. package/dist/svg/penField.svg +3 -0
  345. package/dist/svg/phone.svg +3 -0
  346. package/dist/svg/play.svg +3 -0
  347. package/dist/svg/plus.svg +3 -0
  348. package/dist/svg/question.svg +3 -0
  349. package/dist/svg/quotesLeft.svg +3 -0
  350. package/dist/svg/quotesRight.svg +3 -0
  351. package/dist/svg/rectangleList.svg +3 -0
  352. package/dist/svg/reply.svg +3 -0
  353. package/dist/svg/robot.svg +3 -0
  354. package/dist/svg/rocketLaunch.svg +3 -0
  355. package/dist/svg/rotate.svg +3 -0
  356. package/dist/svg/rotateClock.svg +3 -0
  357. package/dist/svg/rotateLeft.svg +3 -0
  358. package/dist/svg/rotateRight.svg +3 -0
  359. package/dist/svg/rss.svg +3 -0
  360. package/dist/svg/save.svg +3 -0
  361. package/dist/svg/server.svg +3 -0
  362. package/dist/svg/shareNodes.svg +3 -0
  363. package/dist/svg/shield.svg +3 -0
  364. package/dist/svg/shieldQuartered.svg +3 -0
  365. package/dist/svg/shovel.svg +3 -0
  366. package/dist/svg/sidebar.svg +3 -0
  367. package/dist/svg/siren.svg +3 -0
  368. package/dist/svg/sirenOn.svg +3 -0
  369. package/dist/svg/sitemap.svg +3 -0
  370. package/dist/svg/slack.svg +3 -0
  371. package/dist/svg/slashForward.svg +3 -0
  372. package/dist/svg/slidersSimple.svg +3 -0
  373. package/dist/svg/snowflake.svg +3 -0
  374. package/dist/svg/sparkles.svg +3 -0
  375. package/dist/svg/squareCheck.svg +3 -0
  376. package/dist/svg/squareCode.svg +3 -0
  377. package/dist/svg/squareMinus.svg +3 -0
  378. package/dist/svg/squarePen.svg +3 -0
  379. package/dist/svg/squareQuestion.svg +3 -0
  380. package/dist/svg/squareTerminal.svg +3 -0
  381. package/dist/svg/star.svg +3 -0
  382. package/dist/svg/starSolid.svg +3 -0
  383. package/dist/svg/sun.svg +3 -0
  384. package/dist/svg/sunBright.svg +3 -0
  385. package/dist/svg/table.svg +3 -0
  386. package/dist/svg/tableRows.svg +3 -0
  387. package/dist/svg/terminal.svg +3 -0
  388. package/dist/svg/text.svg +3 -0
  389. package/dist/svg/threads.svg +3 -0
  390. package/dist/svg/thumbsDown.svg +3 -0
  391. package/dist/svg/thumbsUp.svg +3 -0
  392. package/dist/svg/trash.svg +3 -0
  393. package/dist/svg/triangleExclamation.svg +3 -0
  394. package/dist/svg/twitter.svg +3 -0
  395. package/dist/svg/upload.svg +3 -0
  396. package/dist/svg/user.svg +3 -0
  397. package/dist/svg/userAstronaut.svg +3 -0
  398. package/dist/svg/userGear.svg +3 -0
  399. package/dist/svg/userPlus.svg +3 -0
  400. package/dist/svg/users.svg +3 -0
  401. package/dist/svg/video.svg +3 -0
  402. package/dist/svg/wavePulse.svg +3 -0
  403. package/dist/svg/windowRestore.svg +3 -0
  404. package/dist/svg/wordpress.svg +3 -0
  405. package/dist/svg/wreathLaurel.svg +3 -0
  406. package/dist/svg/wrench.svg +3 -0
  407. package/dist/svg/xTwitter.svg +3 -0
  408. package/dist/svg/xmark.svg +3 -0
  409. package/dist/svg/xmarkLarge.svg +3 -0
  410. package/dist/svg/youtube.svg +3 -0
  411. package/dist/{layouts → utilities}/FlexContainer/FlexContainer.d.ts +1 -1
  412. package/dist/utilities/GlobalWrapper/GlobalWrapper.d.ts +21 -0
  413. package/dist/utilities/hooks/useDropdown/index.d.ts +1 -0
  414. package/dist/utilities/hooks/useDropdown/useDropdown.d.ts +121 -0
  415. package/package.json +67 -44
  416. package/tailwind/README.md +220 -0
  417. package/tailwind/TESTING.md +457 -0
  418. package/tailwind/v3/preset.cjs +258 -0
  419. package/tailwind/v4/theme.css +230 -0
  420. package/dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +0 -27
  421. package/dist/components/navigation/DashboardNav/DashboardNav.d.ts +0 -35
  422. package/dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +0 -24
  423. package/dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +0 -24
  424. package/dist/css/component-css/pds-dashboard-nav.css +0 -5
  425. package/dist/css/component-css/pds-indicator-badge.css +0 -25
  426. package/dist/css/component-css/pds-refresh-checker.css +0 -1
  427. package/dist/layouts/DashboardGlobal/DashboardGlobal.d.ts +0 -57
  428. package/dist/layouts/DashboardInner/DashboardInner.d.ts +0 -30
  429. package/dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +0 -19
  430. package/dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +0 -6
  431. /package/dist/components/{Picture → media/Picture}/Picture.d.ts +0 -0
  432. /package/dist/components/{VideoEmbed → media/VideoEmbed}/VideoEmbed.d.ts +0 -0
  433. /package/dist/components/{Pagination → pagination/Pagination}/usePagination.d.ts +0 -0
  434. /package/dist/{layouts → utilities}/Container/Container.d.ts +0 -0
package/README.md CHANGED
@@ -8,11 +8,11 @@ This toolkit provides assets for use within a React project and a Storybook inst
8
8
 
9
9
  ## Toolkit philosophy and scope
10
10
 
11
- The intent of this toolkit is to provide a React-based implementation of the Pantheon Design System (PDS) with a focus on semantics, accessibility, visual design, and user-interface design.
11
+ The toolkit provides a React implementation of the Pantheon Design System (PDS) focused on semantics, accessibility, visual design, and user-interface design.
12
12
 
13
- This toolkit should not contain processes or mechanisms used for data manipulation, business logic, or similar. Therefore, processes such as form handling, routing, and language translation should be handled within the application that is consuming the toolkit.
13
+ The toolkit does not include data manipulation, business logic, form handling, routing, or language translation. These concerns are handled by the consuming application.
14
14
 
15
- Each component will contain a documentation page within Storybook that provides usage notes, implementation instructions, and expected data structure for that particular component.
15
+ Each component has a documentation page within Storybook that provides usage notes, implementation instructions, and expected data structure.
16
16
 
17
17
  ### Content within components
18
18
 
@@ -21,10 +21,14 @@ export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
21
21
  * A link element using the router of your choice. Leave empty for no link.
22
22
  */
23
23
  linkContent?: ReactNode;
24
+ /**
25
+ * Avatar shape.
26
+ */
27
+ shape?: 'circle' | 'square';
24
28
  /**
25
29
  * Avatar size.
26
30
  */
27
- size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
31
+ size?: 'xs' | 's' | 'm' | 'l';
28
32
  /**
29
33
  * Unique ID associated with the avatar. Can be workspace ID, user ID, email, etc.
30
34
  */
@@ -33,4 +37,4 @@ export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
33
37
  /**
34
38
  * Avatar UI component
35
39
  */
36
- export declare const Avatar: ({ ariaLabel, className, hasUserFallback, imageSrc, linkContent, size, uniqueId, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const Avatar: ({ ariaLabel, className, hasUserFallback, imageSrc, linkContent, shape, size, uniqueId, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
@@ -9,6 +9,7 @@ export interface ListItems {
9
9
  text: string;
10
10
  type: 'included' | 'notIncluded' | 'addon';
11
11
  }
12
+ export type ComparisonListSize = 's' | 'm';
12
13
  export interface ComparisonListProps extends ComponentPropsWithoutRef<'div'> {
13
14
  /**
14
15
  * Additional class names
@@ -30,6 +31,14 @@ export interface ComparisonListProps extends ComponentPropsWithoutRef<'div'> {
30
31
  * Render the icon labels for screen readers.
31
32
  */
32
33
  renderTypeLabels?: boolean;
34
+ /**
35
+ * Whether to show the border on list items.
36
+ */
37
+ showBorder?: boolean;
38
+ /**
39
+ * Size variant.
40
+ */
41
+ size?: ComparisonListSize;
33
42
  /**
34
43
  * Icon labels
35
44
  */
@@ -38,5 +47,5 @@ export interface ComparisonListProps extends ComponentPropsWithoutRef<'div'> {
38
47
  /**
39
48
  * ComparisonList UI component
40
49
  */
41
- export declare const ComparisonList: ({ className, listItems, listLabel, moreLink, renderTypeLabels, typeLabels, ...props }: ComparisonListProps) => import("react/jsx-runtime").JSX.Element;
50
+ export declare const ComparisonList: ({ className, listItems, listLabel, moreLink, renderTypeLabels, showBorder, size, typeLabels, ...props }: ComparisonListProps) => import("react/jsx-runtime").JSX.Element;
42
51
  export {};
@@ -0,0 +1,58 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import './drawer.css';
3
+ export type DrawerPlacement = 'left' | 'right';
4
+ export type DrawerSize = 's' | 'm' | 'l';
5
+ export interface DrawerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
6
+ /**
7
+ * Aria label that describes the drawer. Will default to the title if not provided.
8
+ */
9
+ ariaLabel?: string;
10
+ /**
11
+ * Main content for the drawer.
12
+ */
13
+ children?: ReactNode;
14
+ /**
15
+ * Additional class names
16
+ */
17
+ className?: string;
18
+ /**
19
+ * Text for close button aria-label attribute.
20
+ */
21
+ closeButtonLabel?: string;
22
+ /**
23
+ * If true, clicking outside the drawer will not close it.
24
+ */
25
+ disableOutsideClick?: boolean;
26
+ /**
27
+ * Indicates if the built-in close button will be shown.
28
+ */
29
+ hasCloseButton?: boolean;
30
+ /**
31
+ * Is the drawer open?
32
+ */
33
+ isOpen?: boolean;
34
+ /**
35
+ * Which edge of the screen the drawer slides in from.
36
+ */
37
+ placement?: DrawerPlacement;
38
+ /**
39
+ * Function to set the drawer open state.
40
+ */
41
+ setIsOpen?: (isOpen: boolean) => void;
42
+ /**
43
+ * Preset width of the drawer. Overridden by the `width` prop if provided.
44
+ */
45
+ size?: DrawerSize;
46
+ /**
47
+ * Title for the drawer. Accepts a string or ReactNode (e.g., a logo). Leave empty for no title.
48
+ */
49
+ title?: ReactNode;
50
+ /**
51
+ * Custom width for the drawer. Accepts any valid CSS value (e.g. '50vw', '800px', '40rem'). Overrides the `size` prop.
52
+ */
53
+ width?: string;
54
+ }
55
+ /**
56
+ * Drawer UI component
57
+ */
58
+ export declare const Drawer: ({ ariaLabel, children, className, closeButtonLabel, disableOutsideClick, hasCloseButton, isOpen: isOpenProp, placement, setIsOpen: setIsOpenProp, size, title, width, ...props }: DrawerProps) => any;
@@ -0,0 +1,140 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import { UseDropdownOptions } from '../../utilities/hooks/useDropdown';
3
+ import './dropdown.css';
4
+ export interface DropdownProps extends UseDropdownOptions {
5
+ /**
6
+ * Dropdown sub-components (Trigger, Panel, etc.).
7
+ */
8
+ children?: ReactNode;
9
+ /**
10
+ * Additional class names for the root wrapper.
11
+ */
12
+ className?: string;
13
+ /**
14
+ * Use inline-block display instead of block.
15
+ * Useful when the dropdown trigger should size to its content
16
+ * (e.g., UserMenu, MenuButton) rather than fill the parent width.
17
+ */
18
+ inline?: boolean;
19
+ }
20
+ /**
21
+ * Root Dropdown component. Provides dropdown context to sub-components.
22
+ */
23
+ export declare const Dropdown: {
24
+ ({ children, className, inline, ...options }: DropdownProps): import("react/jsx-runtime").JSX.Element;
25
+ Trigger: ({ children, className, showTriggerIcon, ...props }: DropdownTriggerProps) => import("react/jsx-runtime").JSX.Element;
26
+ Panel: ({ children, className, ...props }: DropdownPanelProps) => import("react/jsx-runtime").JSX.Element;
27
+ Item: ({ children, className, description, disabled, icon, index, isActive, isCritical, onClick, trailingIcon, ...props }: DropdownItemProps) => import("react/jsx-runtime").JSX.Element;
28
+ Heading: ({ children, className, ...props }: DropdownHeadingProps) => import("react/jsx-runtime").JSX.Element;
29
+ Separator: ({ className, ...props }: DropdownSeparatorProps) => import("react/jsx-runtime").JSX.Element;
30
+ Filter: ({ className, filterIcon, label, noResultsText, onFilterChange, placeholder, showNoResults, ...props }: DropdownFilterProps) => import("react/jsx-runtime").JSX.Element;
31
+ };
32
+ export interface DropdownTriggerProps extends ComponentPropsWithoutRef<'button'> {
33
+ /**
34
+ * Trigger content (label text, icon, etc.).
35
+ */
36
+ children?: ReactNode;
37
+ /**
38
+ * Additional class names.
39
+ */
40
+ className?: string;
41
+ /**
42
+ * Show a directional icon on the trigger that indicates the dropdown can be expanded.
43
+ */
44
+ showTriggerIcon?: boolean;
45
+ }
46
+ export interface DropdownPanelProps extends ComponentPropsWithoutRef<'ul'> {
47
+ /**
48
+ * Panel content (Items, Headings, Separators, Filter, etc.).
49
+ */
50
+ children?: ReactNode;
51
+ /**
52
+ * Additional class names.
53
+ */
54
+ className?: string;
55
+ }
56
+ export interface DropdownItemProps extends ComponentPropsWithoutRef<'li'> {
57
+ /**
58
+ * Item content — label text, or a link element for navigation items.
59
+ */
60
+ children?: ReactNode;
61
+ /**
62
+ * Additional class names.
63
+ */
64
+ className?: string;
65
+ /**
66
+ * Secondary text displayed below the label.
67
+ */
68
+ description?: ReactNode;
69
+ /**
70
+ * Disabled state.
71
+ */
72
+ disabled?: boolean;
73
+ /**
74
+ * Leading content — PDSIcon name, or custom ReactNode (Avatar, etc.).
75
+ */
76
+ icon?: ReactNode;
77
+ /**
78
+ * Index of this item in the list (required for keyboard navigation).
79
+ */
80
+ index: number;
81
+ /**
82
+ * Selected or current state.
83
+ */
84
+ isActive?: boolean;
85
+ /**
86
+ * Destructive action styling.
87
+ */
88
+ isCritical?: boolean;
89
+ /**
90
+ * Trailing content — check icon, lock icon, or custom ReactNode.
91
+ */
92
+ trailingIcon?: ReactNode;
93
+ }
94
+ export interface DropdownHeadingProps extends ComponentPropsWithoutRef<'li'> {
95
+ /**
96
+ * Heading text.
97
+ */
98
+ children?: ReactNode;
99
+ /**
100
+ * Additional class names.
101
+ */
102
+ className?: string;
103
+ }
104
+ export interface DropdownSeparatorProps extends ComponentPropsWithoutRef<'li'> {
105
+ /**
106
+ * Additional class names.
107
+ */
108
+ className?: string;
109
+ }
110
+ export type DropdownFilterIcon = 'filter' | 'none' | 'search';
111
+ export interface DropdownFilterProps extends ComponentPropsWithoutRef<'li'> {
112
+ /**
113
+ * Additional class names.
114
+ */
115
+ className?: string;
116
+ /**
117
+ * Icon to display inside the filter input.
118
+ */
119
+ filterIcon?: DropdownFilterIcon;
120
+ /**
121
+ * Label for the filter input (screen readers).
122
+ */
123
+ label?: string;
124
+ /**
125
+ * Text shown when no items match the filter.
126
+ */
127
+ noResultsText?: string;
128
+ /**
129
+ * Callback when the filter value changes.
130
+ */
131
+ onFilterChange?: (value: string) => void;
132
+ /**
133
+ * Placeholder text for the filter input.
134
+ */
135
+ placeholder?: string;
136
+ /**
137
+ * Whether to show the "no results" message.
138
+ */
139
+ showNoResults?: boolean;
140
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Selected-state check mark icon for dropdown items.
3
+ * Used alongside the pds-dropdown__selected-icon CSS class.
4
+ */
5
+ export declare const DropdownSelectedIcon: ({ className, }: {
6
+ className?: string;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -23,7 +23,7 @@ export interface FileDiffProps extends ComponentPropsWithoutRef<'div'> {
23
23
  /**
24
24
  * Object with strings for tooltips and screen reader labels.
25
25
  */
26
- labelStrings?: {
26
+ translationStrings?: {
27
27
  additions?: string;
28
28
  deletions?: string;
29
29
  linesChanged?: string;
@@ -32,4 +32,4 @@ export interface FileDiffProps extends ComponentPropsWithoutRef<'div'> {
32
32
  /**
33
33
  * FileDiff UI component
34
34
  */
35
- export declare const FileDiff: ({ additions, className, componentWidth, deletions, labelStrings, ...props }: FileDiffProps) => import("react/jsx-runtime").JSX.Element;
35
+ export declare const FileDiff: ({ additions, className, componentWidth, deletions, translationStrings, ...props }: FileDiffProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,37 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { AvatarProps } from '../Avatar/Avatar';
3
+ import './identity-block.css';
4
+ /**
5
+ * Prop types for IdentityBlock
6
+ */
7
+ export interface IdentityBlockProps extends ComponentPropsWithoutRef<'div'> {
8
+ /**
9
+ * Props to pass to the Avatar component.
10
+ */
11
+ avatarProps?: AvatarProps;
12
+ /**
13
+ * Additional class names
14
+ */
15
+ className?: string;
16
+ /**
17
+ * When true, only the avatar is shown (text is hidden).
18
+ */
19
+ isSidebarCollapsed?: boolean;
20
+ /**
21
+ * When true, displays a smaller avatar with only the primary text.
22
+ * Secondary text is not rendered even if provided.
23
+ */
24
+ isSingleLine?: boolean;
25
+ /**
26
+ * First line of text (e.g., organization name).
27
+ */
28
+ primaryText?: string;
29
+ /**
30
+ * Second line of text (e.g., user name).
31
+ */
32
+ secondaryText?: string;
33
+ }
34
+ /**
35
+ * IdentityBlock UI component
36
+ */
37
+ export declare const IdentityBlock: ({ avatarProps, className, isSidebarCollapsed, isSingleLine, primaryText, secondaryText, ...props }: IdentityBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -42,7 +42,7 @@ export interface ModalProps extends ComponentPropsWithoutRef<'div'> {
42
42
  /**
43
43
  * The width of the modal.
44
44
  */
45
- size?: 'sm' | 'md' | 'lg' | 'xl';
45
+ size?: 's' | 'm' | 'l' | 'xl';
46
46
  /**
47
47
  * Text for modal title
48
48
  */
@@ -58,8 +58,12 @@ export interface PopoverProps extends Omit<ComponentPropsWithoutRef<'div'>, 'con
58
58
  * The icon to use as the trigger.
59
59
  */
60
60
  triggerIcon?: 'circleInfo' | 'circleQuestion';
61
+ /**
62
+ * Size of the trigger icon. Uses PDS Icon sizing.
63
+ */
64
+ triggerIconSize?: 's' | 'm' | 'l';
61
65
  }
62
66
  /**
63
67
  * Popover UI component
64
68
  */
65
- export declare const Popover: ({ className, classNameContainer, closeButtonLabel, content, customTrigger, hasCloseButton, offsetValue, onClose, placement, popoverIsOpen, setPopoverIsOpen, title, triggerAccessibleText, triggerIcon, ...props }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
69
+ export declare const Popover: ({ className, classNameContainer, closeButtonLabel, content, customTrigger, hasCloseButton, offsetValue, onClose, placement, popoverIsOpen, setPopoverIsOpen, title, triggerAccessibleText, triggerIcon, triggerIconSize, ...props }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -36,7 +36,7 @@ export interface SiteDashboardHeadingProps extends ComponentPropsWithoutRef<'div
36
36
  /**
37
37
  * Site plan level.
38
38
  */
39
- sitePlanLevel?: SitePlanLevel;
39
+ sitePlanLevel?: SitePlanLevel | (string & {});
40
40
  /**
41
41
  * Site type.
42
42
  */
@@ -1,17 +1,7 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import './refresh-checker.css';
3
- /**
4
- * Enum for RefreshChecker states
5
- */
6
- export declare enum RefreshCheckerState {
7
- CHECKED = "checked",
8
- DEFAULT = "default",
9
- WORKING = "working"
10
- }
11
- /**
12
- * Prop types for RefreshChecker
13
- */
14
- interface RefreshCheckerProps extends ComponentPropsWithoutRef<'div'> {
2
+ import './status-checker.css';
3
+ export type StatusCheckerState = 'checked' | 'default' | 'working';
4
+ export interface StatusCheckerProps extends ComponentPropsWithoutRef<'div'> {
15
5
  /**
16
6
  * Alignment of the component. Default is left.
17
7
  */
@@ -45,10 +35,6 @@ interface RefreshCheckerProps extends ComponentPropsWithoutRef<'div'> {
45
35
  /**
46
36
  * State of the component
47
37
  */
48
- state?: `${RefreshCheckerState}`;
38
+ state?: StatusCheckerState;
49
39
  }
50
- /**
51
- * RefreshChecker UI component
52
- */
53
- export declare const RefreshChecker: ({ alignment, className, componentWidth, labelStrings, lastChecked, onCheck, state, ...props }: RefreshCheckerProps) => import("react/jsx-runtime").JSX.Element;
54
- export {};
40
+ export declare const StatusChecker: ({ alignment, className, componentWidth, labelStrings, lastChecked, onCheck, state, ...props }: StatusCheckerProps) => import("react/jsx-runtime").JSX.Element;
@@ -13,11 +13,11 @@ export interface StatusIndicatorProps extends ComponentPropsWithoutRef<'div'> {
13
13
  /**
14
14
  * Sets the size
15
15
  */
16
- size?: 'sm' | 'md';
16
+ size?: 'xs' | 's';
17
17
  /**
18
18
  * Sets status type
19
19
  */
20
- type: Exclude<StatusType, 'discovery'> | 'neutral' | 'new' | 'working';
20
+ type: StatusType | 'disabled' | 'neutral' | 'working';
21
21
  }
22
22
  /**
23
23
  * StatusIndicator UI component
@@ -1,27 +1,18 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import './table.css';
3
- /**
4
- * Prop types for Table
5
- */
6
- interface TableProps extends ComponentPropsWithoutRef<'table'> {
7
- /**
8
- * Additional class names
9
- */
3
+ export interface TableProps extends ComponentPropsWithoutRef<'table'> {
4
+ /** Additional class names */
10
5
  className?: string;
11
- /**
12
- * Table headers
13
- */
6
+ /** Column index (0-based) to sort by on initial render. */
7
+ defaultSortKey?: number;
8
+ /** Initial sort direction when defaultSortKey is set. Defaults to 'asc'. */
9
+ defaultSortOrder?: 'asc' | 'desc';
10
+ /** Table headers */
14
11
  headers?: Array<{
15
12
  sortable?: boolean;
16
- title: string;
13
+ title: ReactNode;
17
14
  }>;
18
- /**
19
- * Table row data - array of rows, where each row is an array of cell values
20
- */
15
+ /** Table row data - array of rows, where each row is an array of cell values */
21
16
  rowData?: Array<Array<string | ReactNode>>;
22
17
  }
23
- /**
24
- * Table UI component
25
- */
26
- export declare const Table: ({ className, headers, rowData, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
27
- export {};
18
+ export declare const Table: ({ className, defaultSortKey, defaultSortOrder, headers, rowData, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
@@ -30,6 +30,7 @@ interface Tabs {
30
30
  type: 'neutral' | 'critical' | 'warning' | 'info' | 'success';
31
31
  };
32
32
  }
33
+ export type TabsSize = 's' | 'm';
33
34
  interface TabsProps extends ComponentPropsWithoutRef<'div'> {
34
35
  /**
35
36
  * Sets tabset aria label
@@ -51,6 +52,10 @@ interface TabsProps extends ComponentPropsWithoutRef<'div'> {
51
52
  * Sets currently selected tab using a zero-based index
52
53
  */
53
54
  selectedTab?: number;
55
+ /**
56
+ * Size of the tabs.
57
+ */
58
+ size?: TabsSize;
54
59
  /**
55
60
  * Array of objects for tab data
56
61
  */
@@ -59,5 +64,5 @@ interface TabsProps extends ComponentPropsWithoutRef<'div'> {
59
64
  /**
60
65
  * Tabs UI component
61
66
  */
62
- export declare const Tabs: ({ ariaLabel, className, defaultSelected, onActiveTabChange, selectedTab, tabs, ...props }: TabsProps) => import("react/jsx-runtime").JSX.Element;
67
+ export declare const Tabs: ({ ariaLabel, className, defaultSelected, onActiveTabChange, selectedTab, size, tabs, ...props }: TabsProps) => import("react/jsx-runtime").JSX.Element;
63
68
  export {};
@@ -1,7 +1,8 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import './tag.css';
3
- export declare const tagColors: string[];
3
+ export declare const tagColors: readonly ["apollo", "iris", "hypnos", "gaia", "aether", "success", "warning", "critical", "info", "discovery", "amber", "orange", "lime", "teal", "sky", "indigo", "rose", "slate", "sand", "mint", "silver", "stone"];
4
4
  type TagColor = (typeof tagColors)[number];
5
+ export type TagSize = 'xs' | 's' | 'm';
5
6
  interface TagProps extends ComponentPropsWithoutRef<'div'> {
6
7
  /**
7
8
  * Additional class names
@@ -23,6 +24,10 @@ interface TagProps extends ComponentPropsWithoutRef<'div'> {
23
24
  * Label for the remove button. Tag text will be appended to this label.
24
25
  */
25
26
  removeLabel?: string;
27
+ /**
28
+ * Size of the tag.
29
+ */
30
+ size?: TagSize;
26
31
  /**
27
32
  * Tag color. Will use random color if not selected.
28
33
  */
@@ -35,5 +40,5 @@ interface TagProps extends ComponentPropsWithoutRef<'div'> {
35
40
  /**
36
41
  * Tag UI component
37
42
  */
38
- export declare const Tag: ({ className, isRemovable, linkContent, onRemove, removeLabel, tagColor, tagLabel, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
43
+ export declare const Tag: ({ className, isRemovable, linkContent, onRemove, removeLabel, size, tagColor, tagLabel, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
39
44
  export {};
@@ -1,5 +1,6 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
2
  import './theme-switcher.css';
3
+ type Theme = 'light' | 'dark' | 'system';
3
4
  /**
4
5
  * Prop types for ThemeSwitcher
5
6
  */
@@ -9,24 +10,29 @@ export interface ThemeSwitcherProps extends Omit<ComponentPropsWithoutRef<'div'>
9
10
  */
10
11
  className?: string;
11
12
  /**
12
- * Callback triggered when the theme changes
13
+ * ID for the menu button. Must be unique if multiple ThemeSwitchers are rendered.
13
14
  */
14
- onChange?: (theme: 'light' | 'dark' | 'system') => void;
15
- /**
16
- * The current theme
17
- */
18
- theme?: 'light' | 'dark' | 'system';
15
+ id?: string;
19
16
  /**
20
17
  * Translation strings for theme options
21
18
  */
22
- translations?: {
19
+ labelStrings?: {
23
20
  dark: string;
24
21
  light: string;
25
22
  system: string;
26
23
  tooltip?: string;
27
24
  };
25
+ /**
26
+ * Callback triggered when the theme changes
27
+ */
28
+ onChange?: (theme: Theme) => void;
29
+ /**
30
+ * The current theme
31
+ */
32
+ theme?: Theme;
28
33
  }
29
34
  /**
30
35
  * ThemeSwitcher UI component
31
36
  */
32
- export declare const ThemeSwitcher: ({ className, onChange, theme, translations, ...props }: ThemeSwitcherProps) => import("react/jsx-runtime").JSX.Element;
37
+ export declare const ThemeSwitcher: ({ className, id, labelStrings, onChange, theme, ...props }: ThemeSwitcherProps) => import("react/jsx-runtime").JSX.Element;
38
+ export {};
@@ -15,6 +15,10 @@ interface TooltipProps extends ComponentPropsWithoutRef<'div'> {
15
15
  * String or HTML content to use as the trigger instead of an icon. Leave null to use the icon.
16
16
  */
17
17
  customTrigger?: ReactNode;
18
+ /**
19
+ * When true, the tooltip will not show on focus — only on hover.
20
+ */
21
+ disableFocusTrigger?: boolean;
18
22
  /**
19
23
  * The spacing between the trigger and the tooltip in pixels. Use the default value (in most cases) when using an icon trigger.
20
24
  */
@@ -47,5 +51,5 @@ interface TooltipProps extends ComponentPropsWithoutRef<'div'> {
47
51
  /**
48
52
  * Tooltip UI component
49
53
  */
50
- export declare const Tooltip: ({ className, content, customTrigger, offsetValue, preferredPlacement, triggerAccessibleText, triggerIcon, triggerIconColor, triggerIconSize, zIndex, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
54
+ export declare const Tooltip: ({ className, content, customTrigger, disableFocusTrigger, offsetValue, preferredPlacement, triggerAccessibleText, triggerIcon, triggerIconColor, triggerIconSize, zIndex, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
51
55
  export {};
@@ -0,0 +1,28 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import './badge.css';
3
+ export type BadgeColor = 'aether' | 'aether-secondary' | 'amber' | 'amber-secondary' | 'apollo' | 'apollo-secondary' | 'critical' | 'critical-secondary' | 'discovery' | 'discovery-secondary' | 'gaia' | 'gaia-secondary' | 'hypnos' | 'hypnos-secondary' | 'indigo' | 'indigo-secondary' | 'info' | 'info-secondary' | 'iris' | 'iris-secondary' | 'lime' | 'lime-secondary' | 'mint' | 'mint-secondary' | 'orange' | 'orange-secondary' | 'rose' | 'rose-secondary' | 'sand' | 'sand-secondary' | 'silver' | 'silver-secondary' | 'sky' | 'sky-secondary' | 'slate' | 'slate-secondary' | 'stone' | 'stone-secondary' | 'success' | 'success-secondary' | 'teal' | 'teal-secondary' | 'warning' | 'warning-secondary' | 'feature';
4
+ /**
5
+ * Badge component props
6
+ */
7
+ export interface BadgeProps extends ComponentPropsWithoutRef<'span'> {
8
+ /**
9
+ * Additional class names
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Badge color
14
+ */
15
+ color: BadgeColor;
16
+ /**
17
+ * Badge text or content.
18
+ */
19
+ label: ReactNode;
20
+ /**
21
+ * Badge size
22
+ */
23
+ size?: 'xs' | 's' | 'm';
24
+ }
25
+ /**
26
+ * Badge UI component
27
+ */
28
+ export declare const Badge: ({ className, color, label, size, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
2
  import './close-button.css';
3
3
  /**
4
4
  * Prop types for CloseButton
@@ -13,15 +13,15 @@ export interface CloseButtonProps extends ComponentPropsWithoutRef<'button'> {
13
13
  */
14
14
  className?: string;
15
15
  /**
16
- * Size of the icon.
16
+ * Click event callback function.
17
17
  */
18
- iconSize?: 'm' | 'l' | 'xl';
18
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
19
19
  /**
20
- * Click event callback function.
20
+ * Size of the icon.
21
21
  */
22
- onClick?: () => void;
22
+ size?: 'm' | 'l' | 'xl';
23
23
  }
24
24
  /**
25
25
  * CloseButton UI component
26
26
  */
27
- export declare const CloseButton: ({ ariaLabel, className, iconSize, onClick, ...props }: CloseButtonProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const CloseButton: ({ ariaLabel, className, onClick, size, ...props }: CloseButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -20,6 +20,10 @@ interface IconButtonProps extends ComponentPropsWithoutRef<'button'> {
20
20
  * Is the button disabled?
21
21
  */
22
22
  disabled?: boolean;
23
+ /**
24
+ * Show a visible border around the button.
25
+ */
26
+ hasBorder?: boolean;
23
27
  /**
24
28
  * Show tooltip on hover. If false, the title attribute will be used.
25
29
  */