@pantheon-systems/pds-toolkit-react 2.0.0-alpha.3 → 2.0.0-alpha.31

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 (496) 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/Dropdown/Dropdown.d.ts +140 -0
  5. package/dist/components/Dropdown/DropdownSelectedIcon.d.ts +7 -0
  6. package/dist/components/FileDiff/FileDiff.d.ts +2 -2
  7. package/dist/components/IdentityBlock/IdentityBlock.d.ts +37 -0
  8. package/dist/components/Popover/Popover.d.ts +5 -1
  9. package/dist/components/SiteFooter/SiteFooter.d.ts +38 -0
  10. package/dist/components/{navigation/DashboardSearch/DashboardSearch.d.ts → SiteSearch/SiteSearch.d.ts} +6 -11
  11. package/dist/components/SortableList/SortableList.d.ts +8 -0
  12. package/dist/components/SortableList/SortableListHeader.d.ts +7 -0
  13. package/dist/components/SortableList/SortableRow.d.ts +16 -0
  14. package/dist/components/SortableList/sortable-utils.d.ts +19 -0
  15. package/dist/components/SortableList/types.d.ts +142 -0
  16. package/dist/components/SortableList/useSortableTree.d.ts +18 -0
  17. package/dist/components/{RefreshChecker/RefreshChecker.d.ts → StatusChecker/StatusChecker.d.ts} +5 -19
  18. package/dist/components/StatusIndicator/StatusIndicator.d.ts +2 -2
  19. package/dist/components/Table/Table.d.ts +141 -17
  20. package/dist/components/TableOfContents/TableOfContents.d.ts +1 -5
  21. package/dist/components/Tabs/Tabs.d.ts +6 -1
  22. package/dist/components/Tag/Tag.d.ts +13 -2
  23. package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +14 -8
  24. package/dist/components/Tooltip/Tooltip.d.ts +7 -3
  25. package/dist/components/UtilityBar/UtilityBar.d.ts +27 -0
  26. package/dist/components/badges/Badge/Badge.d.ts +28 -0
  27. package/dist/components/buttons/CloseButton/CloseButton.d.ts +2 -2
  28. package/dist/components/buttons/IconButton/IconButton.d.ts +12 -0
  29. package/dist/components/buttons/MenuButton/MenuButton.d.ts +2 -7
  30. package/dist/components/cards/ActionCard/ActionCard.d.ts +64 -0
  31. package/dist/components/cards/Card/Card.d.ts +9 -2
  32. package/dist/components/cards/{CardSelectGroup/CardSelectGroup.d.ts → CardSelect/CardSelect.d.ts} +13 -8
  33. package/dist/components/charts/BarChart/BarChart.d.ts +21 -0
  34. package/dist/components/charts/LineChart/LineChart.d.ts +22 -0
  35. package/dist/components/charts/PieChart/PieChart.d.ts +59 -0
  36. package/dist/components/charts/ProportionBar/ProportionBar.d.ts +57 -0
  37. package/dist/components/charts/shared/ChartAccessibleTable.d.ts +17 -0
  38. package/dist/components/charts/shared/ChartLegend.d.ts +25 -0
  39. package/dist/components/charts/shared/ChartSkeleton.d.ts +11 -0
  40. package/dist/components/charts/shared/chart-colors.d.ts +30 -0
  41. package/dist/components/charts/shared/chart-styles.d.ts +16 -0
  42. package/dist/components/charts/shared/formatters.d.ts +12 -0
  43. package/dist/components/charts/shared/types.d.ts +128 -0
  44. package/dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +1 -1
  45. package/dist/components/icons/Icon/Icon.d.ts +11 -731
  46. package/dist/components/icons/Icon/IconSearch.d.ts +1 -0
  47. package/dist/components/icons/Icon/custom-icons.d.ts +46 -0
  48. package/dist/components/icons/Icon/generated-icon-data.d.ts +1499 -0
  49. package/dist/components/icons/Icon/icon-registry.d.ts +34 -0
  50. package/dist/components/icons/PaymentIcon/PaymentIcon.d.ts +7 -3
  51. package/dist/components/icons/PlatformIcon/PlatformIcon.d.ts +6 -6
  52. package/dist/components/inputs/Checkbox/Checkbox.d.ts +3 -3
  53. package/dist/components/inputs/Combobox/Combobox.d.ts +17 -7
  54. package/dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +33 -6
  55. package/dist/components/inputs/Datepicker/Datepicker.d.ts +16 -2
  56. package/dist/components/inputs/FileUpload/FileUpload.d.ts +6 -1
  57. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -1
  58. package/dist/components/inputs/Select/Select.d.ts +11 -2
  59. package/dist/components/inputs/Select/select-sample-data.d.ts +1 -0
  60. package/dist/components/inputs/Switch/Switch.d.ts +1 -17
  61. package/dist/components/inputs/TagsInput/TagsInput.d.ts +105 -0
  62. package/dist/components/inputs/TextInput/TextInput.d.ts +5 -1
  63. package/dist/components/inputs/Textarea/Textarea.d.ts +5 -1
  64. package/dist/components/inputs/input-utilities.d.ts +5 -4
  65. package/dist/components/{CTALink → links/CTALink}/CTALink.d.ts +1 -1
  66. package/dist/components/{LinkNewWindow → links/LinkNewWindow}/LinkNewWindow.d.ts +1 -1
  67. package/dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +1 -0
  68. package/dist/components/navigation/Navbar/Navbar.d.ts +1 -1
  69. package/dist/components/navigation/SideNavGlobal/SideNavGlobal.d.ts +5 -15
  70. package/dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +5 -1
  71. package/dist/components/navigation/{NavMenu/NavMenu.d.ts → SiteMenu/SiteMenu.d.ts} +5 -8
  72. package/dist/components/navigation/SiteMenu/SiteMenuDropdown.d.ts +23 -0
  73. package/dist/components/navigation/TabMenu/TabMenu.d.ts +6 -1
  74. package/dist/components/navigation/UserMenu/UserMenu.d.ts +1 -5
  75. package/dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +8 -12
  76. package/dist/components/notifications/Banner/Banner.d.ts +32 -12
  77. package/dist/components/notifications/NotificationsPopover/NotificationsPopover.d.ts +2 -7
  78. package/dist/components/notifications/SectionMessage/SectionMessage.d.ts +6 -2
  79. package/dist/components/notifications/Toaster/Toast.d.ts +13 -2
  80. package/dist/components/notifications/Toaster/Toaster.d.ts +16 -7
  81. package/dist/components/notifications/Toaster/useToast.d.ts +2 -0
  82. package/dist/components/overlays/Drawer/Drawer.d.ts +58 -0
  83. package/dist/components/overlays/FullScreenOverlay/FullScreenOverlay.d.ts +45 -0
  84. package/dist/components/{Modal → overlays/Modal}/Modal.d.ts +1 -1
  85. package/dist/components/{Pagination → pagination/Pagination}/Pagination.d.ts +7 -2
  86. package/dist/components/pagination/PaginationCompact/PaginationCompact.d.ts +49 -0
  87. package/dist/components/pagination/PaginationMini/PaginationMini.d.ts +55 -0
  88. package/dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +6 -3
  89. package/dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +1 -2
  90. package/dist/components/panels/Panel/Panel.d.ts +1 -18
  91. package/dist/components/panels/PanelList/PanelList.d.ts +1 -1
  92. package/dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +3 -4
  93. package/dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +2 -3
  94. package/dist/components/{FlowSteps/FlowSteps.d.ts → steppers/StepList/StepList.d.ts} +7 -7
  95. package/dist/css/component-css/pds-action-card.css +1 -0
  96. package/dist/css/component-css/pds-avatar.css +1 -1
  97. package/dist/css/component-css/pds-badge.css +1 -0
  98. package/dist/css/component-css/pds-banner.css +1 -1
  99. package/dist/css/component-css/pds-bar-chart.css +1 -0
  100. package/dist/css/component-css/pds-branch-diff.css +1 -1
  101. package/dist/css/component-css/pds-breadcrumb.css +1 -1
  102. package/dist/css/component-css/pds-button-link.css +1 -1
  103. package/dist/css/component-css/pds-button-nav.css +1 -1
  104. package/dist/css/component-css/pds-button.css +9 -3
  105. package/dist/css/component-css/pds-callout.css +1 -1
  106. package/dist/css/component-css/pds-card-select.css +1 -0
  107. package/dist/css/component-css/pds-card.css +1 -1
  108. package/dist/css/component-css/pds-chart-legend.css +1 -0
  109. package/dist/css/component-css/pds-chart-wrapper.css +1 -0
  110. package/dist/css/component-css/pds-checkbox.css +1 -1
  111. package/dist/css/component-css/pds-close-button.css +1 -1
  112. package/dist/css/component-css/pds-combobox-multiselect.css +4 -2
  113. package/dist/css/component-css/pds-combobox.css +1 -1
  114. package/dist/css/component-css/pds-compact-empty-state.css +1 -1
  115. package/dist/css/component-css/pds-comparison-list.css +1 -1
  116. package/dist/css/component-css/pds-cta-link.css +1 -1
  117. package/dist/css/component-css/pds-datepicker.css +1 -1
  118. package/dist/css/component-css/pds-drawer.css +1 -0
  119. package/dist/css/component-css/pds-dropdown-menu.css +2 -2
  120. package/dist/css/component-css/pds-dropdown.css +2 -0
  121. package/dist/css/component-css/pds-expansion-panel.css +1 -1
  122. package/dist/css/component-css/pds-file-diff.css +1 -1
  123. package/dist/css/component-css/pds-file-upload.css +2 -2
  124. package/dist/css/component-css/pds-full-screen-overlay.css +1 -0
  125. package/dist/css/component-css/pds-horizontal-empty-state.css +1 -1
  126. package/dist/css/component-css/pds-icon-button.css +4 -4
  127. package/dist/css/component-css/pds-icon-story-only.css +1 -1
  128. package/dist/css/component-css/pds-icon.css +1 -0
  129. package/dist/css/component-css/pds-identity-block.css +1 -0
  130. package/dist/css/component-css/pds-index.css +103 -57
  131. package/dist/css/component-css/pds-inline-message.css +1 -1
  132. package/dist/css/component-css/pds-input-group.css +1 -1
  133. package/dist/css/component-css/pds-input-utilities.css +1 -1
  134. package/dist/css/component-css/pds-line-chart.css +1 -0
  135. package/dist/css/component-css/pds-link-new-window.css +1 -1
  136. package/dist/css/component-css/pds-menu-button.css +4 -1
  137. package/dist/css/component-css/pds-modal.css +1 -1
  138. package/dist/css/component-css/pds-nav-menu.css +2 -2
  139. package/dist/css/component-css/pds-navbar.css +4 -1
  140. package/dist/css/component-css/pds-notification-hub-icon.css +1 -1
  141. package/dist/css/component-css/pds-notifications-popover.css +13 -1
  142. package/dist/css/component-css/pds-pagination-compact.css +1 -0
  143. package/dist/css/component-css/pds-pagination-mini.css +3 -0
  144. package/dist/css/component-css/pds-pagination.css +1 -1
  145. package/dist/css/component-css/pds-panel-list.css +1 -1
  146. package/dist/css/component-css/pds-panel.css +1 -1
  147. package/dist/css/component-css/pds-pantheon-logo.css +1 -1
  148. package/dist/css/component-css/pds-payment-icon.css +1 -1
  149. package/dist/css/component-css/pds-pie-chart.css +1 -0
  150. package/dist/css/component-css/pds-platform-icon.css +1 -1
  151. package/dist/css/component-css/pds-popover.css +1 -1
  152. package/dist/css/component-css/pds-progress-bar.css +1 -1
  153. package/dist/css/component-css/pds-progress-ring.css +1 -1
  154. package/dist/css/component-css/pds-proportion-bar.css +1 -0
  155. package/dist/css/component-css/pds-radio-group.css +1 -1
  156. package/dist/css/component-css/pds-section-message.css +1 -1
  157. package/dist/css/component-css/pds-segmented-button.css +1 -1
  158. package/dist/css/component-css/pds-select.css +1 -1
  159. package/dist/css/component-css/pds-side-nav-compact.css +1 -1
  160. package/dist/css/component-css/pds-side-nav-global.css +6 -4
  161. package/dist/css/component-css/pds-side-nav.css +1 -1
  162. package/dist/css/component-css/pds-site-footer.css +1 -1
  163. package/dist/css/component-css/pds-site-search.css +1 -0
  164. package/dist/css/component-css/pds-skiplink.css +1 -1
  165. package/dist/css/component-css/pds-sortable-list.css +8 -0
  166. package/dist/css/component-css/pds-spinner.css +1 -1
  167. package/dist/css/component-css/pds-sso-button.css +1 -1
  168. package/dist/css/component-css/pds-status-badge.css +1 -1
  169. package/dist/css/component-css/pds-status-checker.css +1 -0
  170. package/dist/css/component-css/pds-status-indicator.css +1 -1
  171. package/dist/css/component-css/pds-step-list.css +1 -0
  172. package/dist/css/component-css/pds-stepper.css +1 -1
  173. package/dist/css/component-css/pds-switch.css +4 -11
  174. package/dist/css/component-css/pds-tab-menu.css +2 -2
  175. package/dist/css/component-css/pds-table-of-contents.css +1 -1
  176. package/dist/css/component-css/pds-table.css +1 -1
  177. package/dist/css/component-css/pds-tabs.css +1 -1
  178. package/dist/css/component-css/pds-tag.css +1 -1
  179. package/dist/css/component-css/pds-tags-input.css +1 -0
  180. package/dist/css/component-css/pds-text-input.css +1 -1
  181. package/dist/css/component-css/pds-textarea.css +1 -1
  182. package/dist/css/component-css/pds-theme-switcher.css +1 -1
  183. package/dist/css/component-css/pds-toaster.css +1 -1
  184. package/dist/css/component-css/pds-tooltip.css +1 -1
  185. package/dist/css/component-css/pds-user-menu.css +29 -1
  186. package/dist/css/component-css/pds-utility-bar.css +1 -0
  187. package/dist/css/component-css/pds-utility-button.css +1 -1
  188. package/dist/css/component-css/pds-vertical-empty-state.css +1 -1
  189. package/dist/css/component-css/pds-vertical-stepper.css +1 -1
  190. package/dist/css/component-css/pds-workspace-selector.css +16 -1
  191. package/dist/css/design-tokens/fonts.css +1 -1
  192. package/dist/css/design-tokens/variables.dark.css +301 -96
  193. package/dist/css/design-tokens/variables.global.css +9 -12
  194. package/dist/css/design-tokens/variables.light.css +276 -93
  195. package/dist/css/design-tokens/variables.typography.css +9 -6
  196. package/dist/css/layout-css/pds-app-layout.css +3 -0
  197. package/dist/css/layout-css/pds-docs-layout.css +1 -0
  198. package/dist/css/layout-css/pds-index.css +3 -0
  199. package/dist/css/layout-css/pds-sidebar-layout.css +5 -0
  200. package/dist/css/layout-css/pds-stepper-layout.css +1 -0
  201. package/dist/css/layout-css/pds-three-item-layout.css +1 -0
  202. package/dist/css/layout-css/pds-two-item-layout.css +1 -0
  203. package/dist/css/pds-components.css +103 -57
  204. package/dist/css/pds-core.css +3 -2
  205. package/dist/css/pds-layouts.css +3 -9
  206. package/dist/index.css +1 -1
  207. package/dist/index.d.ts +94 -6
  208. package/dist/index.js +12732 -1983
  209. package/dist/index.js.map +1 -1
  210. package/dist/index.source.d.ts +36 -39
  211. package/dist/layouts/AppLayout/AppLayout.d.ts +47 -6
  212. package/dist/layouts/DocsLayout/DocsLayout.d.ts +9 -7
  213. package/dist/layouts/SidebarLayout/SidebarLayout.d.ts +12 -3
  214. package/dist/libs/components/NavAccordion/NavAccordion.d.ts +27 -0
  215. package/dist/libs/components/utils.d.ts +0 -1
  216. package/dist/libs/types/custom-types.d.ts +10 -4
  217. package/dist/libs/types/navigation-types.d.ts +9 -1
  218. package/dist/svg/angleDown.svg +3 -0
  219. package/dist/svg/angleLeft.svg +3 -0
  220. package/dist/svg/angleRight.svg +3 -0
  221. package/dist/svg/angleUp.svg +3 -0
  222. package/dist/svg/anglesLeft.svg +3 -0
  223. package/dist/svg/anglesRight.svg +3 -0
  224. package/dist/svg/arrowDownLeftAndArrowUpRightToCenter.svg +3 -0
  225. package/dist/svg/arrowDownToLine.svg +3 -0
  226. package/dist/svg/arrowLeft.svg +3 -0
  227. package/dist/svg/arrowRight.svg +3 -0
  228. package/dist/svg/arrowsRetweet.svg +3 -0
  229. package/dist/svg/arrowsUpDownLeftRight.svg +3 -0
  230. package/dist/svg/asterisk.svg +3 -0
  231. package/dist/svg/banBug.svg +3 -0
  232. package/dist/svg/bars.svg +3 -0
  233. package/dist/svg/barsFilter.svg +3 -0
  234. package/dist/svg/barsStaggered.svg +3 -0
  235. package/dist/svg/bell.svg +3 -0
  236. package/dist/svg/billboard.svg +3 -0
  237. package/dist/svg/bitbucket.svg +3 -0
  238. package/dist/svg/bluesky.svg +3 -0
  239. package/dist/svg/bolt.svg +3 -0
  240. package/dist/svg/boltPantheon.svg +3 -0
  241. package/dist/svg/boltSolid.svg +3 -0
  242. package/dist/svg/book.svg +3 -0
  243. package/dist/svg/books.svg +3 -0
  244. package/dist/svg/bracketRight.svg +3 -0
  245. package/dist/svg/bracketsSquare.svg +3 -0
  246. package/dist/svg/brainCircuit.svg +3 -0
  247. package/dist/svg/broomWide.svg +3 -0
  248. package/dist/svg/building.svg +3 -0
  249. package/dist/svg/buildings.svg +3 -0
  250. package/dist/svg/bullhorn.svg +3 -0
  251. package/dist/svg/calendarDays.svg +3 -0
  252. package/dist/svg/caretDown.svg +3 -0
  253. package/dist/svg/caretLeft.svg +3 -0
  254. package/dist/svg/caretRight.svg +3 -0
  255. package/dist/svg/caretUp.svg +3 -0
  256. package/dist/svg/ccAmex.svg +3 -0
  257. package/dist/svg/ccApplePay.svg +3 -0
  258. package/dist/svg/ccDiscover.svg +3 -0
  259. package/dist/svg/ccGeneric.svg +3 -0
  260. package/dist/svg/ccMC.svg +3 -0
  261. package/dist/svg/ccPaypal.svg +3 -0
  262. package/dist/svg/ccVisa.svg +3 -0
  263. package/dist/svg/chartLine.svg +3 -0
  264. package/dist/svg/chartNetwork.svg +3 -0
  265. package/dist/svg/chartSimple.svg +3 -0
  266. package/dist/svg/check.svg +3 -0
  267. package/dist/svg/circle.svg +3 -0
  268. package/dist/svg/circleCheck.svg +3 -0
  269. package/dist/svg/circleExclamation.svg +3 -0
  270. package/dist/svg/circleExclamationSolid.svg +3 -0
  271. package/dist/svg/circleInfo.svg +3 -0
  272. package/dist/svg/circleInfoSolid.svg +3 -0
  273. package/dist/svg/circleMinus.svg +3 -0
  274. package/dist/svg/circleNotch.svg +3 -0
  275. package/dist/svg/circlePlus.svg +3 -0
  276. package/dist/svg/circleQuestion.svg +3 -0
  277. package/dist/svg/circleQuestionSolid.svg +3 -0
  278. package/dist/svg/circleUser.svg +3 -0
  279. package/dist/svg/circleXmark.svg +3 -0
  280. package/dist/svg/cloud.svg +3 -0
  281. package/dist/svg/cloudArrowDown.svg +3 -0
  282. package/dist/svg/cloudArrowUp.svg +3 -0
  283. package/dist/svg/cloudPlus.svg +3 -0
  284. package/dist/svg/code.svg +3 -0
  285. package/dist/svg/codeBranch.svg +3 -0
  286. package/dist/svg/codeMerge.svg +3 -0
  287. package/dist/svg/command.svg +3 -0
  288. package/dist/svg/comment.svg +3 -0
  289. package/dist/svg/compress.svg +3 -0
  290. package/dist/svg/copy.svg +3 -0
  291. package/dist/svg/desktop.svg +3 -0
  292. package/dist/svg/diamondExclamation.svg +3 -0
  293. package/dist/svg/diamonds4.svg +3 -0
  294. package/dist/svg/discourse.svg +3 -0
  295. package/dist/svg/display.svg +3 -0
  296. package/dist/svg/dollarSign.svg +3 -0
  297. package/dist/svg/download.svg +3 -0
  298. package/dist/svg/drupal.svg +3 -0
  299. package/dist/svg/ellipsis.svg +3 -0
  300. package/dist/svg/ellipsisVertical.svg +3 -0
  301. package/dist/svg/emptySet.svg +3 -0
  302. package/dist/svg/envelope.svg +3 -0
  303. package/dist/svg/envelopeOpen.svg +3 -0
  304. package/dist/svg/exclamation.svg +3 -0
  305. package/dist/svg/expand.svg +3 -0
  306. package/dist/svg/expandFromCenter.svg +3 -0
  307. package/dist/svg/externalLink.svg +3 -0
  308. package/dist/svg/eye.svg +3 -0
  309. package/dist/svg/eyeSlash.svg +3 -0
  310. package/dist/svg/facebook.svg +3 -0
  311. package/dist/svg/file.svg +3 -0
  312. package/dist/svg/fileCSV.svg +3 -0
  313. package/dist/svg/fileCheck.svg +3 -0
  314. package/dist/svg/fileContract.svg +3 -0
  315. package/dist/svg/fileDiff.svg +3 -0
  316. package/dist/svg/fileExport.svg +3 -0
  317. package/dist/svg/fileImport.svg +3 -0
  318. package/dist/svg/fileLines.svg +3 -0
  319. package/dist/svg/filePDF.svg +3 -0
  320. package/dist/svg/fileZip.svg +3 -0
  321. package/dist/svg/folder.svg +3 -0
  322. package/dist/svg/folderTree.svg +3 -0
  323. package/dist/svg/gear.svg +3 -0
  324. package/dist/svg/gem.svg +3 -0
  325. package/dist/svg/github.svg +3 -0
  326. package/dist/svg/gitlab.svg +3 -0
  327. package/dist/svg/globe.svg +3 -0
  328. package/dist/svg/graduationCap.svg +3 -0
  329. package/dist/svg/grid.svg +3 -0
  330. package/dist/svg/gripDots.svg +3 -0
  331. package/dist/svg/gripDotsVertical.svg +3 -0
  332. package/dist/svg/heart.svg +3 -0
  333. package/dist/svg/heartSolid.svg +3 -0
  334. package/dist/svg/house.svg +3 -0
  335. package/dist/svg/idCard.svg +3 -0
  336. package/dist/svg/image.svg +3 -0
  337. package/dist/svg/inputText.svg +3 -0
  338. package/dist/svg/instagram.svg +3 -0
  339. package/dist/svg/keySkeleton.svg +3 -0
  340. package/dist/svg/landmark.svg +3 -0
  341. package/dist/svg/laptop.svg +3 -0
  342. package/dist/svg/laptopCode.svg +3 -0
  343. package/dist/svg/leaf.svg +3 -0
  344. package/dist/svg/lifeRing.svg +3 -0
  345. package/dist/svg/linkSimple.svg +3 -0
  346. package/dist/svg/linkSimpleSlash.svg +3 -0
  347. package/dist/svg/linkedin.svg +3 -0
  348. package/dist/svg/listCheck.svg +3 -0
  349. package/dist/svg/locationCrosshairs.svg +3 -0
  350. package/dist/svg/lock.svg +3 -0
  351. package/dist/svg/lockOpen.svg +3 -0
  352. package/dist/svg/magnifyingGlass.svg +3 -0
  353. package/dist/svg/medal.svg +3 -0
  354. package/dist/svg/memo.svg +3 -0
  355. package/dist/svg/messages.svg +3 -0
  356. package/dist/svg/minus.svg +3 -0
  357. package/dist/svg/moon.svg +3 -0
  358. package/dist/svg/nextJs.svg +3 -0
  359. package/dist/svg/paperPlane.svg +3 -0
  360. package/dist/svg/paperclip.svg +3 -0
  361. package/dist/svg/pause.svg +3 -0
  362. package/dist/svg/pen.svg +3 -0
  363. package/dist/svg/penField.svg +3 -0
  364. package/dist/svg/phone.svg +3 -0
  365. package/dist/svg/play.svg +3 -0
  366. package/dist/svg/plus.svg +3 -0
  367. package/dist/svg/question.svg +3 -0
  368. package/dist/svg/quotesLeft.svg +3 -0
  369. package/dist/svg/quotesRight.svg +3 -0
  370. package/dist/svg/rectangleList.svg +3 -0
  371. package/dist/svg/reply.svg +3 -0
  372. package/dist/svg/robot.svg +3 -0
  373. package/dist/svg/rocketLaunch.svg +3 -0
  374. package/dist/svg/rotate.svg +3 -0
  375. package/dist/svg/rotateClock.svg +3 -0
  376. package/dist/svg/rotateLeft.svg +3 -0
  377. package/dist/svg/rotateRight.svg +3 -0
  378. package/dist/svg/rss.svg +3 -0
  379. package/dist/svg/save.svg +3 -0
  380. package/dist/svg/server.svg +3 -0
  381. package/dist/svg/shareNodes.svg +3 -0
  382. package/dist/svg/shield.svg +3 -0
  383. package/dist/svg/shieldQuartered.svg +3 -0
  384. package/dist/svg/shovel.svg +3 -0
  385. package/dist/svg/sidebar.svg +3 -0
  386. package/dist/svg/siren.svg +3 -0
  387. package/dist/svg/sirenOn.svg +3 -0
  388. package/dist/svg/sitemap.svg +3 -0
  389. package/dist/svg/slack.svg +3 -0
  390. package/dist/svg/slashForward.svg +3 -0
  391. package/dist/svg/slidersSimple.svg +3 -0
  392. package/dist/svg/snowflake.svg +3 -0
  393. package/dist/svg/sparkles.svg +3 -0
  394. package/dist/svg/squareCheck.svg +3 -0
  395. package/dist/svg/squareCode.svg +3 -0
  396. package/dist/svg/squareMinus.svg +3 -0
  397. package/dist/svg/squarePen.svg +3 -0
  398. package/dist/svg/squareQuestion.svg +3 -0
  399. package/dist/svg/squareTerminal.svg +3 -0
  400. package/dist/svg/star.svg +3 -0
  401. package/dist/svg/starSolid.svg +3 -0
  402. package/dist/svg/sun.svg +3 -0
  403. package/dist/svg/sunBright.svg +3 -0
  404. package/dist/svg/table.svg +3 -0
  405. package/dist/svg/tableRows.svg +3 -0
  406. package/dist/svg/terminal.svg +3 -0
  407. package/dist/svg/text.svg +3 -0
  408. package/dist/svg/threads.svg +3 -0
  409. package/dist/svg/thumbsDown.svg +3 -0
  410. package/dist/svg/thumbsUp.svg +3 -0
  411. package/dist/svg/trash.svg +3 -0
  412. package/dist/svg/triangleExclamation.svg +3 -0
  413. package/dist/svg/twitter.svg +3 -0
  414. package/dist/svg/upload.svg +3 -0
  415. package/dist/svg/user.svg +3 -0
  416. package/dist/svg/userAstronaut.svg +3 -0
  417. package/dist/svg/userGear.svg +3 -0
  418. package/dist/svg/userPlus.svg +3 -0
  419. package/dist/svg/users.svg +3 -0
  420. package/dist/svg/video.svg +3 -0
  421. package/dist/svg/wavePulse.svg +3 -0
  422. package/dist/svg/windowRestore.svg +3 -0
  423. package/dist/svg/wordpress.svg +3 -0
  424. package/dist/svg/wreathLaurel.svg +3 -0
  425. package/dist/svg/wrench.svg +3 -0
  426. package/dist/svg/xTwitter.svg +3 -0
  427. package/dist/svg/xmark.svg +3 -0
  428. package/dist/svg/xmarkLarge.svg +3 -0
  429. package/dist/svg/youtube.svg +3 -0
  430. package/dist/{layouts → utilities}/FlexContainer/FlexContainer.d.ts +1 -1
  431. package/dist/utilities/GlobalWrapper/GlobalWrapper.d.ts +21 -0
  432. package/dist/utilities/hooks/useDropdown/index.d.ts +1 -0
  433. package/dist/utilities/hooks/useDropdown/useDropdown.d.ts +121 -0
  434. package/package.json +70 -44
  435. package/tailwind/README.md +220 -0
  436. package/tailwind/TESTING.md +457 -0
  437. package/tailwind/v3/preset.cjs +258 -0
  438. package/tailwind/v4/theme.css +230 -0
  439. package/dist/components/CTASlice/CTASlice.d.ts +0 -43
  440. package/dist/components/DashboardStat/DashboardStat.d.ts +0 -28
  441. package/dist/components/PullQuote/PullQuote.d.ts +0 -34
  442. package/dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +0 -62
  443. package/dist/components/SocialLinks/SocialLinks.d.ts +0 -23
  444. package/dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +0 -27
  445. package/dist/components/cards/CardHeading/CardHeading.d.ts +0 -31
  446. package/dist/components/cards/EmptyStateCard/EmptyStateCard.d.ts +0 -36
  447. package/dist/components/cards/LinksCard/LinksCard.d.ts +0 -29
  448. package/dist/components/cards/LinksCard/links-card-sample-data.d.ts +0 -2
  449. package/dist/components/cards/NewSiteCard/NewSiteCard.d.ts +0 -61
  450. package/dist/components/cards/PaymentCard/PaymentCard.d.ts +0 -47
  451. package/dist/components/cards/PricingCard/PricingCard.d.ts +0 -90
  452. package/dist/components/cards/SiteCard/SiteCard.d.ts +0 -50
  453. package/dist/components/footer/FooterHeading/FooterHeading.d.ts +0 -22
  454. package/dist/components/footer/FooterLinks/FooterLinks.d.ts +0 -26
  455. package/dist/components/footer/SiteFooter/SiteFooter.d.ts +0 -30
  456. package/dist/components/footer/SiteFooter/footer-content.d.ts +0 -1
  457. package/dist/components/navigation/DashboardNav/DashboardNav.d.ts +0 -35
  458. package/dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +0 -24
  459. package/dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +0 -24
  460. package/dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +0 -28
  461. package/dist/components/tiles/Tile/Tile.d.ts +0 -42
  462. package/dist/components/tiles/TileGrid/TileGrid.d.ts +0 -29
  463. package/dist/css/component-css/pds-avatar-tile-list.css +0 -1
  464. package/dist/css/component-css/pds-card-heading.css +0 -1
  465. package/dist/css/component-css/pds-card-select-group.css +0 -1
  466. package/dist/css/component-css/pds-cta-slice.css +0 -1
  467. package/dist/css/component-css/pds-dashboard-nav.css +0 -5
  468. package/dist/css/component-css/pds-dashboard-search.css +0 -1
  469. package/dist/css/component-css/pds-dashboard-stat.css +0 -1
  470. package/dist/css/component-css/pds-empty-state-card.css +0 -1
  471. package/dist/css/component-css/pds-flow-steps.css +0 -1
  472. package/dist/css/component-css/pds-footer-heading.css +0 -1
  473. package/dist/css/component-css/pds-footer-links.css +0 -1
  474. package/dist/css/component-css/pds-indicator-badge.css +0 -25
  475. package/dist/css/component-css/pds-links-card.css +0 -1
  476. package/dist/css/component-css/pds-new-site-card.css +0 -1
  477. package/dist/css/component-css/pds-payment-card.css +0 -1
  478. package/dist/css/component-css/pds-pricing-card-local.css +0 -1
  479. package/dist/css/component-css/pds-pricing-card.css +0 -1
  480. package/dist/css/component-css/pds-pull-quote.css +0 -1
  481. package/dist/css/component-css/pds-refresh-checker.css +0 -1
  482. package/dist/css/component-css/pds-site-card.css +0 -1
  483. package/dist/css/component-css/pds-site-dashboard-heading.css +0 -1
  484. package/dist/css/component-css/pds-social-links.css +0 -1
  485. package/dist/css/component-css/pds-tile.css +0 -1
  486. package/dist/css/component-css/pds-tiles-common.css +0 -1
  487. package/dist/layouts/DashboardGlobal/DashboardGlobal.d.ts +0 -57
  488. package/dist/layouts/DashboardInner/DashboardInner.d.ts +0 -30
  489. package/dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +0 -19
  490. package/dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +0 -6
  491. /package/dist/components/{Skiplink → links/Skiplink}/Skiplink.d.ts +0 -0
  492. /package/dist/components/{Picture → media/Picture}/Picture.d.ts +0 -0
  493. /package/dist/components/{VideoEmbed → media/VideoEmbed}/VideoEmbed.d.ts +0 -0
  494. /package/dist/components/{Pagination → pagination/Pagination}/usePagination.d.ts +0 -0
  495. /package/dist/components/{FlowSteps → steppers/StepList}/example-steps.d.ts +0 -0
  496. /package/dist/{layouts → utilities}/Container/Container.d.ts +0 -0
@@ -1,27 +1,151 @@
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'> {
3
+ export type SortOrder = 'asc' | 'desc';
4
+ export interface TableColumn {
5
+ /** Content to display in the header cell. */
6
+ header: ReactNode;
7
+ /** Stable identifier used for rendering cell content from rowData. */
8
+ id: string;
9
+ /** When true, renders a sort button next to the header label. */
10
+ sortable?: boolean;
7
11
  /**
8
- * Additional class names
12
+ * Key to use for sorting instead of `id`. Use when the cell renders a
13
+ * ReactNode but a separate plain-text field in rowData should drive the sort.
9
14
  */
15
+ sortKey?: string;
16
+ }
17
+ export interface TableProps extends ComponentPropsWithoutRef<'table'> {
18
+ /** Additional class names */
10
19
  className?: string;
20
+ /** Column definitions. Each column requires a stable `id`. */
21
+ columns: TableColumn[];
22
+ /**
23
+ * Current page number (1-based). Providing this alongside `onPageChange`
24
+ * enables controlled pagination mode.
25
+ */
26
+ currentPage?: number;
27
+ /**
28
+ * Column id to sort by on initial render. Only applies in uncontrolled sort mode.
29
+ * Like `defaultValue` in HTML inputs, this is mount-only — changing it after mount
30
+ * has no effect. Use `sortKey` + `onSort` for controlled sort.
31
+ */
32
+ defaultSortKey?: string;
33
+ /**
34
+ * Initial sort direction when `defaultSortKey` is set. Defaults to `'asc'`.
35
+ * Only applies in uncontrolled sort mode.
36
+ */
37
+ defaultSortOrder?: SortOrder;
38
+ /**
39
+ * Custom empty state rendered when `rowData` is empty and `isLoading` is false.
40
+ * When provided, takes precedence over `emptyStateHeading` and `emptyStateMessage`.
41
+ */
42
+ emptyState?: ReactNode;
43
+ /**
44
+ * Heading text for the default empty state. Defaults to `"No results found."`
45
+ * Override for translation or context-specific messaging.
46
+ */
47
+ emptyStateHeading?: string;
48
+ /**
49
+ * Optional message displayed below the heading in the default empty state.
50
+ */
51
+ emptyStateMessage?: string;
52
+ /**
53
+ * Returns the accessible label for each option in the rows-per-page selector.
54
+ * Defaults to `(size) => \`Show ${size} rows per page\``.
55
+ * Override for translation.
56
+ */
57
+ getPageSizeLabel?: (size: number) => string;
58
+ /**
59
+ * Derives a stable string ID from a row object for selection tracking.
60
+ * Defaults to the row's array index. Provide this when using pagination
61
+ * to preserve selection across page changes.
62
+ */
63
+ getRowId?: (row: Record<string, ReactNode>) => string;
64
+ /**
65
+ * Returns the visually hidden accessible label for each row's checkbox.
66
+ * Receives the row object and its 1-based display index.
67
+ * Defaults to `(_row, index) => \`Select row ${index}\``.
68
+ * Override to include a meaningful identifier (e.g. the site name) for
69
+ * screen reader users who navigate through checkboxes.
70
+ */
71
+ getSelectRowLabel?: (row: Record<string, ReactNode>, index: number) => string;
72
+ /**
73
+ * Returns the accessible label for a column's sort button.
74
+ * Defaults to `(columnHeader) => \`Sort by ${columnHeader}\``.
75
+ * Override for translation.
76
+ */
77
+ getSortLabel?: (columnHeader: string) => string;
78
+ /**
79
+ * When true, renders skeleton rows instead of data. Use while data is loading.
80
+ */
81
+ isLoading?: boolean;
82
+ /**
83
+ * Number of items per page. Required to enable pagination.
84
+ * In uncontrolled pagination mode the Table slices `rowData` internally.
85
+ * In controlled mode the consumer passes the current page slice as `rowData`.
86
+ */
87
+ itemsPerPage?: number;
88
+ /**
89
+ * Number of skeleton rows to render when `isLoading` is true. Defaults to 5.
90
+ */
91
+ loadingRowCount?: number;
92
+ /**
93
+ * Callback fired when the user navigates to a new page. Receives the new
94
+ * 1-based page number. Providing this prop enables controlled pagination mode.
95
+ */
96
+ onPageChange?: (page: number) => void;
97
+ /**
98
+ * Callback fired when the user changes the rows-per-page value.
99
+ * When provided alongside `pageSizeOptions`, enables controlled page size mode.
100
+ * In uncontrolled mode the Table manages page size internally.
101
+ */
102
+ onPageSizeChange?: (size: number) => void;
103
+ /**
104
+ * Callback fired when row selection changes. Providing this prop enables
105
+ * the checkbox column. Receives the full array of currently selected row IDs.
106
+ * Note: in uncontrolled selection mode, IDs of rows removed from `rowData`
107
+ * (e.g. after filtering) remain in the internal selection set. Clear selection
108
+ * explicitly when filtering if stale IDs are a concern.
109
+ */
110
+ onRowSelectionChange?: (ids: string[]) => void;
111
+ /**
112
+ * Callback fired when a sortable header is clicked. Providing this prop
113
+ * enables controlled sort mode — the component will not sort `rowData`
114
+ * internally and expects the parent to pass pre-sorted data.
115
+ */
116
+ onSort?: (key: string, order: SortOrder) => void;
117
+ /**
118
+ * Available page size options rendered in the rows-per-page selector.
119
+ * When provided, the selector is shown to the left of the pagination controls.
120
+ */
121
+ pageSizeOptions?: number[];
122
+ /**
123
+ * Row data as an array of records keyed by column id.
124
+ * In controlled pagination mode, pass only the current page's rows.
125
+ */
126
+ rowData: Array<Record<string, ReactNode>>;
127
+ /**
128
+ * Visually hidden accessible label for the select-all header checkbox.
129
+ * Defaults to `'Select all rows'`. Override for translation.
130
+ */
131
+ selectAllLabel?: string;
132
+ /**
133
+ * Controlled selected row IDs. When provided alongside `onRowSelectionChange`,
134
+ * enables controlled selection mode.
135
+ */
136
+ selectedRows?: string[];
137
+ /**
138
+ * Controlled sort column id. Only used when `onSort` is provided.
139
+ */
140
+ sortKey?: string;
11
141
  /**
12
- * Table headers
142
+ * Controlled sort direction. Only used when `onSort` is provided.
13
143
  */
14
- headers?: Array<{
15
- sortable?: boolean;
16
- title: string;
17
- }>;
144
+ sortOrder?: SortOrder;
18
145
  /**
19
- * Table row data - array of rows, where each row is an array of cell values
146
+ * Total number of items across all pages. Required in controlled pagination
147
+ * mode so the Pagination component can compute the page count.
20
148
  */
21
- rowData?: Array<Array<string | ReactNode>>;
149
+ totalItemCount?: number;
22
150
  }
23
- /**
24
- * Table UI component
25
- */
26
- export declare const Table: ({ className, headers, rowData, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
27
- export {};
151
+ export declare const Table: ({ className, columns, currentPage, defaultSortKey, defaultSortOrder, emptyState, emptyStateHeading, emptyStateMessage, getPageSizeLabel, getRowId, getSelectRowLabel, getSortLabel, isLoading, itemsPerPage, loadingRowCount, onPageChange, onPageSizeChange, onRowSelectionChange, onSort, pageSizeOptions, rowData, selectAllLabel, selectedRows, sortKey, sortOrder, totalItemCount, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,7 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
2
  import { HeadingLevelCommon } from '../../libs/types/custom-types';
3
3
  import './table-of-contents.css';
4
- /**
5
- * Prop types for TableOfContents
6
- */
7
- interface TableOfContentsProps extends ComponentPropsWithoutRef<'nav'> {
4
+ export interface TableOfContentsProps extends ComponentPropsWithoutRef<'nav'> {
8
5
  /**
9
6
  * Whether to append the id to the URL when a link is clicked.
10
7
  */
@@ -42,4 +39,3 @@ interface TableOfContentsProps extends ComponentPropsWithoutRef<'nav'> {
42
39
  * TableOfContents UI component
43
40
  */
44
41
  export declare const TableOfContents: ({ appendIds, ariaLabel, className, headingLevel, headingText, ignoreClass, showHeading, sourceID, ...props }: TableOfContentsProps) => import("react/jsx-runtime").JSX.Element;
45
- export {};
@@ -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
  */
@@ -31,9 +36,15 @@ interface TagProps extends ComponentPropsWithoutRef<'div'> {
31
36
  * Tag text
32
37
  */
33
38
  tagLabel: string;
39
+ /**
40
+ * Maximum number of characters before truncation. Set to 0 to disable
41
+ * truncation entirely. Defaults to 20. Most use cases should keep the
42
+ * default, especially in multi-tag contexts.
43
+ */
44
+ truncationLength?: number;
34
45
  }
35
46
  /**
36
47
  * Tag UI component
37
48
  */
38
- export declare const Tag: ({ className, isRemovable, linkContent, onRemove, removeLabel, tagColor, tagLabel, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
49
+ export declare const Tag: ({ className, isRemovable, linkContent, onRemove, removeLabel, size, tagColor, tagLabel, truncationLength, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
39
50
  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
  */
@@ -30,7 +34,7 @@ interface TooltipProps extends ComponentPropsWithoutRef<'div'> {
30
34
  /**
31
35
  * Icon to trigger tooltip
32
36
  */
33
- triggerIcon?: 'circleInfo' | 'circleQuestion' | 'circleExclamation';
37
+ triggerIcon?: 'circleExclamation' | 'circleExclamationSolid' | 'circleInfo' | 'circleInfoSolid' | 'circleQuestion' | 'circleQuestionSolid';
34
38
  /**
35
39
  * Color of the trigger icon. Uses PDS default text color options.
36
40
  */
@@ -38,7 +42,7 @@ interface TooltipProps extends ComponentPropsWithoutRef<'div'> {
38
42
  /**
39
43
  * Size of the trigger icon. Uses PDS Icon sizing.
40
44
  */
41
- triggerIconSize?: 's' | 'm' | 'l';
45
+ triggerIconSize?: 'xs' | 's' | 'm' | 'l';
42
46
  /**
43
47
  * Z-index value for the tooltip container. In most cases, the default value should be retained.
44
48
  */
@@ -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,27 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import { GridGapOptions } from '../../libs/types/layout-types';
3
+ import './utility-bar.css';
4
+ type UtilityBarBackground = 'default' | 'default-secondary' | 'transparent';
5
+ type UtilityBarPadding = GridGapOptions | 'none';
6
+ export interface UtilityBarProps extends ComponentPropsWithoutRef<'div'> {
7
+ /**
8
+ * Background color of the utility bar.
9
+ */
10
+ backgroundColor?: UtilityBarBackground;
11
+ /**
12
+ * Child elements assigned to named slots.
13
+ * - `items-left` — left-side content (e.g. search input)
14
+ * - `items-right` — right-side controls (e.g. icon buttons)
15
+ */
16
+ children: ReactNode;
17
+ /**
18
+ * Additional class names.
19
+ */
20
+ className?: string;
21
+ /**
22
+ * Internal padding. Defaults to 'none'.
23
+ */
24
+ padding?: UtilityBarPadding;
25
+ }
26
+ export declare const UtilityBar: ({ backgroundColor, children, className, padding, ...props }: UtilityBarProps) => import("react/jsx-runtime").JSX.Element;
27
+ 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
@@ -15,7 +15,7 @@ export interface CloseButtonProps extends ComponentPropsWithoutRef<'button'> {
15
15
  /**
16
16
  * Click event callback function.
17
17
  */
18
- onClick?: () => void;
18
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
19
19
  /**
20
20
  * Size of the icon.
21
21
  */
@@ -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
  */
@@ -32,10 +36,18 @@ interface IconButtonProps extends ComponentPropsWithoutRef<'button'> {
32
36
  * Which icon to render.
33
37
  */
34
38
  iconName: PDSIcon;
39
+ /**
40
+ * Whether the button is in a pressed/active toggle state. Maps to aria-pressed.
41
+ */
42
+ isPressed?: boolean;
35
43
  /**
36
44
  * Click event handler callback.
37
45
  */
38
46
  onClick?: (e: MouseEvent<HTMLElement>) => void;
47
+ /**
48
+ * Icon to display when isPressed is true. When not set, iconName is used in both states.
49
+ */
50
+ pressedIconName?: PDSIcon;
39
51
  /**
40
52
  * Which size of button to render.
41
53
  */
@@ -1,6 +1,7 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { ButtonVariant, HeadingItemType, LinkItemType, MenuItemType, NodeItemType, SeparatorItemType } from '../../../libs/types/custom-types';
3
3
  import { PDSIcon } from '../../icons/Icon/Icon';
4
+ import '@components/Dropdown/dropdown.css';
4
5
  import './menu-button.css';
5
6
  type MenuButtonSize = 's' | 'm';
6
7
  /**
@@ -63,15 +64,9 @@ export interface MenuButtonProps extends ComponentPropsWithRef<'span'> {
63
64
  * Which variant of button to render — only valid for icon-end (default) display type.
64
65
  */
65
66
  variant?: Extract<ButtonVariant, 'primary' | 'secondary' | 'navbar'>;
66
- /**
67
- * Is this button located with the Navbar component?
68
- * This will adjust the styling and position of the dropdown.
69
- * Omit this prop for the Dashboard application. It only applies to the standard Navbar component with a bottom border.
70
- */
71
- withinNavbar?: boolean;
72
67
  }
73
68
  /**
74
69
  * MenuButton UI component
75
70
  */
76
- export declare const MenuButton: ({ className, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, onClick, size, testId, undefinedLabel, variant, withinNavbar, ...props }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
71
+ export declare const MenuButton: ({ className, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, onClick, size, testId, undefinedLabel, variant, ...props }: MenuButtonProps) => import("react/jsx-runtime").JSX.Element;
77
72
  export {};
@@ -0,0 +1,64 @@
1
+ import { ComponentPropsWithoutRef, ReactElement, ReactNode } from 'react';
2
+ import { GridGapOptions } from '../../../libs/types/layout-types';
3
+ import { CardBackground, CardImageVariant } from '../../cards/Card/Card';
4
+ import './action-card.css';
5
+ export interface ActionCardPrimaryAction {
6
+ /**
7
+ * Accessible label for the card-level action. Required — read by screen readers
8
+ * as the name of the interactive element that covers the card.
9
+ */
10
+ label: string;
11
+ /**
12
+ * For link-based actions: pass a native `<a>` or framework link element (e.g.
13
+ * React Router `<Link>`). The component clones the element and injects the
14
+ * required class and aria-label. Mutually exclusive with `onClick`.
15
+ */
16
+ linkContent?: ReactElement;
17
+ /**
18
+ * For button-based actions: callback fired when the card is activated.
19
+ * Mutually exclusive with `linkContent`.
20
+ */
21
+ onClick?: () => void;
22
+ }
23
+ /**
24
+ * Prop types for ActionCard
25
+ */
26
+ export interface ActionCardProps extends ComponentPropsWithoutRef<'div'> {
27
+ /**
28
+ * Background color of the card.
29
+ */
30
+ background?: CardBackground;
31
+ /**
32
+ * Card content. Supports `image`, `main`, and `footer` named slots.
33
+ * Any interactive elements placed inside children (secondary actions) are
34
+ * naturally positioned above the card-level primary action.
35
+ */
36
+ children?: ReactNode;
37
+ /**
38
+ * Additional class names
39
+ */
40
+ className?: string;
41
+ /**
42
+ * Controls how the image slot is presented.
43
+ * - `bleed` (default): image extends to card edges, top corners rounded only.
44
+ * - `inset`: image has padding on all sides, all corners rounded.
45
+ */
46
+ imageVariant?: CardImageVariant;
47
+ /**
48
+ * Relative padding for the `main` and `footer` slots.
49
+ */
50
+ padding?: GridGapOptions;
51
+ /**
52
+ * The card-level primary action. Provide either `linkContent` (for links) or
53
+ * `onClick` (for button actions), plus a required accessible `label`.
54
+ */
55
+ primaryAction: ActionCardPrimaryAction;
56
+ }
57
+ /**
58
+ * ActionCard UI component
59
+ *
60
+ * A fully-clickable card where the entire surface activates a primary action.
61
+ * Supports both link and button actions. Secondary interactive elements can be
62
+ * placed inside children and remain independently clickable above the card action.
63
+ */
64
+ export declare const ActionCard: ({ background, children, className, imageVariant, padding, primaryAction, ...props }: ActionCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,8 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import { GridGapOptions } from '../../../libs/types/layout-types';
3
3
  import './card.css';
4
- export type CardBackground = 'default' | 'mint-gradient' | 'sundown-gradient' | 'yellow-gradient' | 'transparent';
4
+ export type CardBackground = 'default' | 'transparent';
5
+ export type CardImageVariant = 'bleed' | 'inset';
5
6
  /**
6
7
  * Prop types for Card
7
8
  */
@@ -18,6 +19,12 @@ export interface CardProps extends ComponentPropsWithoutRef<'div'> {
18
19
  * Additional class names
19
20
  */
20
21
  className?: string;
22
+ /**
23
+ * Controls how the image fills the card top.
24
+ * - `bleed` (default): image extends to the card edges, top corners rounded only.
25
+ * - `inset`: image has padding on all sides, all corners rounded.
26
+ */
27
+ imageVariant?: CardImageVariant;
21
28
  /**
22
29
  * Relative padding for the `main` slot.
23
30
  */
@@ -26,4 +33,4 @@ export interface CardProps extends ComponentPropsWithoutRef<'div'> {
26
33
  /**
27
34
  * Card UI component
28
35
  */
29
- export declare const Card: ({ background, children, className, padding, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const Card: ({ background, children, className, imageVariant, padding, ...props }: CardProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import './card-select-group.css';
2
+ import './card-select.css';
3
3
  export interface CardOption {
4
4
  /**
5
- * Option description
5
+ * Composable content rendered inside the card below the label.
6
6
  */
7
- description?: string | ReactNode;
7
+ children?: ReactNode;
8
8
  /**
9
9
  * Unique ID for the option
10
10
  * @default ''
@@ -19,7 +19,8 @@ export interface CardOption {
19
19
  */
20
20
  value: string;
21
21
  }
22
- export interface CardSelectGroupProps extends Omit<ComponentPropsWithoutRef<'fieldset'>, 'onChange'> {
22
+ export type CardSelectSize = 'm' | 'l';
23
+ export interface CardSelectProps extends Omit<ComponentPropsWithoutRef<'fieldset'>, 'onChange'> {
23
24
  /**
24
25
  * Additional class names
25
26
  */
@@ -29,11 +30,11 @@ export interface CardSelectGroupProps extends Omit<ComponentPropsWithoutRef<'fie
29
30
  */
30
31
  defaultValue?: string;
31
32
  /**
32
- * Unique ID for the card select group
33
+ * Unique ID for the card select
33
34
  */
34
35
  id: string;
35
36
  /**
36
- * Label for the card select group
37
+ * Label for the card select group. Renders as the fieldset legend.
37
38
  */
38
39
  label: string;
39
40
  /**
@@ -53,8 +54,12 @@ export interface CardSelectGroupProps extends Omit<ComponentPropsWithoutRef<'fie
53
54
  * Array of card options
54
55
  */
55
56
  options?: CardOption[];
57
+ /**
58
+ * Size of the card label and indicator. Defaults to `'m'`.
59
+ */
60
+ size?: CardSelectSize;
56
61
  }
57
62
  /**
58
- * CardSelectGroup UI component
63
+ * CardSelect UI component
59
64
  */
60
- export declare const CardSelectGroup: ({ className, defaultValue, id, label, labelDisplay, layout, onChange, options, ...props }: CardSelectGroupProps) => import("react/jsx-runtime").JSX.Element;
65
+ export declare const CardSelect: ({ className, defaultValue, id, label, labelDisplay, layout, onChange, options, size, ...props }: CardSelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import type { BaseChartProps } from '../shared/types';
3
+ import '../shared/chart-wrapper.css';
4
+ import './bar-chart.css';
5
+ export type BarChartLayout = 'horizontal' | 'vertical';
6
+ export type BarChartVariant = 'grouped' | 'stacked';
7
+ export interface BarChartProps extends BaseChartProps, Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
8
+ /** Border radius on bars (default: 2) */
9
+ barRadius?: number;
10
+ /** Bar orientation — horizontal (default, bars go up) or vertical (bars go sideways) */
11
+ layout?: BarChartLayout;
12
+ /** Bar layout variant (default: 'stacked') */
13
+ variant?: BarChartVariant;
14
+ }
15
+ /**
16
+ * BarChart UI component
17
+ *
18
+ * Renders a responsive bar chart with support for stacked or grouped layouts,
19
+ * multiple series, tooltips, and an accessible data table.
20
+ */
21
+ export declare const BarChart: ({ barRadius, chartHeight, chartWidth, className, colorPalette, data, isLoading, isThumbnail, labelStrings, layout, legendVariant, onTimePeriodChange, selectedTimePeriod, series, showAccessibleTable, showAxisLines, showGrid, showLegend, showTooltip, timePeriodOptions, tooltipContent, variant, xAxisLabel, xAxisTickInterval, yAxisDomain, yAxisFormatter, yAxisLabel, yAxisTickInterval, ...props }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import type { AnnotationConfig, BaseChartProps, ReferenceLineConfig } from '../shared/types';
3
+ import '../shared/chart-wrapper.css';
4
+ import './line-chart.css';
5
+ export type LineStyle = 'smooth' | 'straight';
6
+ export interface LineChartProps extends BaseChartProps, Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
7
+ /** Annotation markers (e.g., "TODAY") */
8
+ annotations?: AnnotationConfig[];
9
+ /** Line curve style (default: 'smooth') */
10
+ lineStyle?: LineStyle;
11
+ /** Reference lines (e.g., contract limit) */
12
+ referenceLines?: ReferenceLineConfig[];
13
+ /** Show data points on lines (default: true) */
14
+ showDataPoints?: boolean;
15
+ }
16
+ /**
17
+ * LineChart UI component
18
+ *
19
+ * Renders a responsive line chart with support for multiple series,
20
+ * reference lines, annotations, tooltips, and an accessible data table.
21
+ */
22
+ export declare const LineChart: ({ annotations, chartHeight, chartWidth, className, colorPalette, data, isLoading, isThumbnail, labelStrings, legendVariant, lineStyle, onTimePeriodChange, referenceLines, selectedTimePeriod, series, showAccessibleTable, showAxisLines, showDataPoints, showGrid, showLegend, showTooltip, timePeriodOptions, tooltipContent, xAxisLabel, xAxisTickInterval, yAxisDomain, yAxisFormatter, yAxisLabel, yAxisTickInterval, ...props }: LineChartProps) => import("react/jsx-runtime").JSX.Element;