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

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 (476) 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/SiteDashboardHeading/SiteDashboardHeading.d.ts +1 -1
  10. package/dist/components/SiteFooter/SiteFooter.d.ts +38 -0
  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/Card/Card.d.ts +1 -1
  31. package/dist/components/cards/NewSiteCard/NewSiteCard.d.ts +1 -1
  32. package/dist/components/cards/PricingCard/PricingCard.d.ts +6 -1
  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/shared/ChartAccessibleTable.d.ts +17 -0
  36. package/dist/components/charts/shared/ChartLegend.d.ts +25 -0
  37. package/dist/components/charts/shared/ChartSkeleton.d.ts +7 -0
  38. package/dist/components/charts/shared/chart-colors.d.ts +30 -0
  39. package/dist/components/charts/shared/chart-styles.d.ts +16 -0
  40. package/dist/components/charts/shared/formatters.d.ts +12 -0
  41. package/dist/components/charts/shared/types.d.ts +128 -0
  42. package/dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +1 -1
  43. package/dist/components/icons/Icon/Icon.d.ts +11 -731
  44. package/dist/components/icons/Icon/IconSearch.d.ts +1 -0
  45. package/dist/components/icons/Icon/custom-icons.d.ts +46 -0
  46. package/dist/components/icons/Icon/generated-icon-data.d.ts +1499 -0
  47. package/dist/components/icons/Icon/icon-registry.d.ts +34 -0
  48. package/dist/components/icons/PaymentIcon/PaymentIcon.d.ts +7 -3
  49. package/dist/components/icons/PlatformIcon/PlatformIcon.d.ts +6 -6
  50. package/dist/components/inputs/Checkbox/Checkbox.d.ts +3 -3
  51. package/dist/components/inputs/Combobox/Combobox.d.ts +17 -7
  52. package/dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +33 -6
  53. package/dist/components/inputs/Datepicker/Datepicker.d.ts +16 -2
  54. package/dist/components/inputs/FileUpload/FileUpload.d.ts +6 -1
  55. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -1
  56. package/dist/components/inputs/Select/Select.d.ts +11 -2
  57. package/dist/components/inputs/Select/select-sample-data.d.ts +1 -0
  58. package/dist/components/inputs/Switch/Switch.d.ts +1 -17
  59. package/dist/components/inputs/TagsInput/TagsInput.d.ts +105 -0
  60. package/dist/components/inputs/TextInput/TextInput.d.ts +5 -1
  61. package/dist/components/inputs/Textarea/Textarea.d.ts +5 -1
  62. package/dist/components/inputs/input-utilities.d.ts +5 -4
  63. package/dist/components/{CTALink → links/CTALink}/CTALink.d.ts +1 -1
  64. package/dist/components/{LinkNewWindow → links/LinkNewWindow}/LinkNewWindow.d.ts +1 -1
  65. package/dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +1 -0
  66. package/dist/components/navigation/Navbar/Navbar.d.ts +1 -1
  67. package/dist/components/navigation/SideNavGlobal/SideNavGlobal.d.ts +5 -15
  68. package/dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +5 -1
  69. package/dist/components/navigation/{NavMenu/NavMenu.d.ts → SiteMenu/SiteMenu.d.ts} +5 -8
  70. package/dist/components/navigation/SiteMenu/SiteMenuDropdown.d.ts +23 -0
  71. package/dist/components/navigation/TabMenu/TabMenu.d.ts +6 -1
  72. package/dist/components/navigation/UserMenu/UserMenu.d.ts +1 -5
  73. package/dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +8 -12
  74. package/dist/components/notifications/Banner/Banner.d.ts +32 -12
  75. package/dist/components/notifications/NotificationsPopover/NotificationsPopover.d.ts +2 -7
  76. package/dist/components/notifications/SectionMessage/SectionMessage.d.ts +6 -2
  77. package/dist/components/notifications/Toaster/Toast.d.ts +13 -2
  78. package/dist/components/notifications/Toaster/Toaster.d.ts +16 -7
  79. package/dist/components/notifications/Toaster/useToast.d.ts +2 -0
  80. package/dist/components/overlays/Drawer/Drawer.d.ts +58 -0
  81. package/dist/components/overlays/FullScreenOverlay/FullScreenOverlay.d.ts +45 -0
  82. package/dist/components/{Modal → overlays/Modal}/Modal.d.ts +1 -1
  83. package/dist/components/{Pagination → pagination/Pagination}/Pagination.d.ts +7 -2
  84. package/dist/components/pagination/PaginationCompact/PaginationCompact.d.ts +49 -0
  85. package/dist/components/pagination/PaginationMini/PaginationMini.d.ts +55 -0
  86. package/dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +6 -3
  87. package/dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +1 -2
  88. package/dist/components/panels/Panel/Panel.d.ts +1 -18
  89. package/dist/components/panels/PanelList/PanelList.d.ts +1 -1
  90. package/dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +3 -4
  91. package/dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +2 -3
  92. package/dist/components/{FlowSteps/FlowSteps.d.ts → steppers/StepList/StepList.d.ts} +7 -7
  93. package/dist/css/component-css/pds-avatar.css +1 -1
  94. package/dist/css/component-css/pds-badge.css +1 -0
  95. package/dist/css/component-css/pds-banner.css +1 -1
  96. package/dist/css/component-css/pds-bar-chart.css +1 -0
  97. package/dist/css/component-css/pds-branch-diff.css +1 -1
  98. package/dist/css/component-css/pds-breadcrumb.css +1 -1
  99. package/dist/css/component-css/pds-button-link.css +1 -1
  100. package/dist/css/component-css/pds-button-nav.css +1 -1
  101. package/dist/css/component-css/pds-button.css +9 -3
  102. package/dist/css/component-css/pds-callout.css +1 -1
  103. package/dist/css/component-css/pds-card-select-group.css +1 -1
  104. package/dist/css/component-css/pds-card.css +1 -1
  105. package/dist/css/component-css/pds-chart-legend.css +1 -0
  106. package/dist/css/component-css/pds-chart-wrapper.css +1 -0
  107. package/dist/css/component-css/pds-checkbox.css +1 -1
  108. package/dist/css/component-css/pds-close-button.css +1 -1
  109. package/dist/css/component-css/pds-combobox-multiselect.css +4 -2
  110. package/dist/css/component-css/pds-combobox.css +1 -1
  111. package/dist/css/component-css/pds-compact-empty-state.css +1 -1
  112. package/dist/css/component-css/pds-comparison-list.css +1 -1
  113. package/dist/css/component-css/pds-cta-link.css +1 -1
  114. package/dist/css/component-css/pds-dashboard-search.css +1 -1
  115. package/dist/css/component-css/pds-datepicker.css +1 -1
  116. package/dist/css/component-css/pds-drawer.css +1 -0
  117. package/dist/css/component-css/pds-dropdown-menu.css +2 -2
  118. package/dist/css/component-css/pds-dropdown.css +2 -0
  119. package/dist/css/component-css/pds-empty-state-card.css +1 -1
  120. package/dist/css/component-css/pds-expansion-panel.css +1 -1
  121. package/dist/css/component-css/pds-file-diff.css +1 -1
  122. package/dist/css/component-css/pds-file-upload.css +2 -2
  123. package/dist/css/component-css/pds-full-screen-overlay.css +1 -0
  124. package/dist/css/component-css/pds-horizontal-empty-state.css +1 -1
  125. package/dist/css/component-css/pds-icon-button.css +4 -4
  126. package/dist/css/component-css/pds-icon-story-only.css +1 -1
  127. package/dist/css/component-css/pds-icon.css +1 -0
  128. package/dist/css/component-css/pds-identity-block.css +1 -0
  129. package/dist/css/component-css/pds-index.css +103 -57
  130. package/dist/css/component-css/pds-inline-message.css +1 -1
  131. package/dist/css/component-css/pds-input-group.css +1 -1
  132. package/dist/css/component-css/pds-input-utilities.css +1 -1
  133. package/dist/css/component-css/pds-line-chart.css +1 -0
  134. package/dist/css/component-css/pds-link-new-window.css +1 -1
  135. package/dist/css/component-css/pds-menu-button.css +4 -1
  136. package/dist/css/component-css/pds-modal.css +1 -1
  137. package/dist/css/component-css/pds-nav-menu.css +2 -2
  138. package/dist/css/component-css/pds-navbar.css +4 -1
  139. package/dist/css/component-css/pds-new-site-card.css +1 -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-card.css +1 -1
  149. package/dist/css/component-css/pds-payment-icon.css +1 -1
  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-pricing-card.css +1 -1
  153. package/dist/css/component-css/pds-progress-bar.css +1 -1
  154. package/dist/css/component-css/pds-progress-ring.css +1 -1
  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-card.css +1 -1
  163. package/dist/css/component-css/pds-site-footer.css +1 -1
  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 +91 -6
  208. package/dist/index.js +12277 -1964
  209. package/dist/index.js.map +1 -1
  210. package/dist/index.source.d.ts +31 -29
  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 -2
  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/SocialLinks/SocialLinks.d.ts +0 -23
  443. package/dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +0 -27
  444. package/dist/components/footer/FooterHeading/FooterHeading.d.ts +0 -22
  445. package/dist/components/footer/FooterLinks/FooterLinks.d.ts +0 -26
  446. package/dist/components/footer/SiteFooter/SiteFooter.d.ts +0 -30
  447. package/dist/components/footer/SiteFooter/footer-content.d.ts +0 -1
  448. package/dist/components/navigation/DashboardNav/DashboardNav.d.ts +0 -35
  449. package/dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +0 -24
  450. package/dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +0 -24
  451. package/dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +0 -28
  452. package/dist/components/tiles/Tile/Tile.d.ts +0 -42
  453. package/dist/components/tiles/TileGrid/TileGrid.d.ts +0 -29
  454. package/dist/css/component-css/pds-avatar-tile-list.css +0 -1
  455. package/dist/css/component-css/pds-cta-slice.css +0 -1
  456. package/dist/css/component-css/pds-dashboard-nav.css +0 -5
  457. package/dist/css/component-css/pds-dashboard-stat.css +0 -1
  458. package/dist/css/component-css/pds-flow-steps.css +0 -1
  459. package/dist/css/component-css/pds-footer-heading.css +0 -1
  460. package/dist/css/component-css/pds-footer-links.css +0 -1
  461. package/dist/css/component-css/pds-indicator-badge.css +0 -25
  462. package/dist/css/component-css/pds-pull-quote.css +0 -1
  463. package/dist/css/component-css/pds-refresh-checker.css +0 -1
  464. package/dist/css/component-css/pds-social-links.css +0 -1
  465. package/dist/css/component-css/pds-tile.css +0 -1
  466. package/dist/css/component-css/pds-tiles-common.css +0 -1
  467. package/dist/layouts/DashboardGlobal/DashboardGlobal.d.ts +0 -57
  468. package/dist/layouts/DashboardInner/DashboardInner.d.ts +0 -30
  469. package/dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +0 -19
  470. package/dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +0 -6
  471. /package/dist/components/{Skiplink → links/Skiplink}/Skiplink.d.ts +0 -0
  472. /package/dist/components/{Picture → media/Picture}/Picture.d.ts +0 -0
  473. /package/dist/components/{VideoEmbed → media/VideoEmbed}/VideoEmbed.d.ts +0 -0
  474. /package/dist/components/{Pagination → pagination/Pagination}/usePagination.d.ts +0 -0
  475. /package/dist/components/{FlowSteps → steppers/StepList}/example-steps.d.ts +0 -0
  476. /package/dist/{layouts → utilities}/Container/Container.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from 'react';
1
+ import { ComponentPropsWithoutRef } from 'react';
2
2
  import { SideNavGlobalItemProps } from './SideNavGlobalItem';
3
3
  import './side-nav-global.css';
4
4
  /**
@@ -13,11 +13,6 @@ export interface SideNavGlobalProps extends ComponentPropsWithoutRef<'div'> {
13
13
  * Additional class names
14
14
  */
15
15
  className?: string;
16
- /**
17
- * Should the Pantheon logo be displayed above the menu items?
18
- * It will not be displayed in the mobile view regardless of this value.
19
- */
20
- hasLogo?: boolean;
21
16
  /**
22
17
  * Is the sidebar collapsed?
23
18
  */
@@ -29,22 +24,17 @@ export interface SideNavGlobalProps extends ComponentPropsWithoutRef<'div'> {
29
24
  submenu: string;
30
25
  toggle: string;
31
26
  };
32
- /**
33
- * Where should the logo link to? A fully-formed link element.
34
- * Only necessary if `hasLogo` is true.
35
- * If the logo should not be a link, leave blank.
36
- */
37
- logoLinkContent?: ReactNode;
38
27
  /**
39
28
  * Menu items to render.
40
29
  */
41
30
  menuItems?: SideNavGlobalItemProps[];
42
31
  /**
43
- * Text to display in the mobile menu trigger button when no active link is found.
32
+ * Callback to expand the sidebar. When provided and the sidebar is collapsed,
33
+ * tapping a nav item with children will expand the sidebar instead of showing a flyout.
44
34
  */
45
- mobileMenuSelectTextFallback?: string;
35
+ onExpandSidebar?: () => void;
46
36
  }
47
37
  /**
48
38
  * SideNavGlobal UI component
49
39
  */
50
- export declare const SideNavGlobal: ({ ariaLabel, className, hasLogo, isSidebarCollapsed, labels, logoLinkContent, menuItems, mobileMenuSelectTextFallback, ...props }: SideNavGlobalProps) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const SideNavGlobal: ({ ariaLabel, className, isSidebarCollapsed, labels, menuItems, onExpandSidebar, ...props }: SideNavGlobalProps) => import("react/jsx-runtime").JSX.Element;
@@ -17,8 +17,12 @@ export interface SideNavGlobalItemProps extends NavigationItem {
17
17
  submenu: string;
18
18
  toggle: string;
19
19
  };
20
+ /**
21
+ * Callback to expand the sidebar on touch devices when collapsed.
22
+ */
23
+ onExpandSidebar?: () => void;
20
24
  }
21
25
  /**
22
26
  * SideNavGlobalItem UI component
23
27
  */
24
- export declare const SideNavGlobalItem: ({ icon, isActive, isSidebarCollapsed, labels, linkContent, links, }: SideNavGlobalItemProps) => import("react/jsx-runtime").JSX.Element;
28
+ export declare const SideNavGlobalItem: ({ icon, isActive, isSidebarCollapsed, labels, linkContent, links, onExpandSidebar, }: SideNavGlobalItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,11 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
2
  import { NavMenuItem } from '../../../libs/types/navigation-types';
3
+ import '@components/Dropdown/dropdown.css';
3
4
  import './nav-menu.css';
4
5
  /**
5
- * Prop types for NavMenu
6
+ * Prop types for SiteMenu
6
7
  */
7
- interface NavMenuProps extends ComponentPropsWithoutRef<'nav'> {
8
+ interface SiteMenuProps extends ComponentPropsWithoutRef<'nav'> {
8
9
  /**
9
10
  * Aria label for `nav` element.
10
11
  */
@@ -21,13 +22,9 @@ interface NavMenuProps extends ComponentPropsWithoutRef<'nav'> {
21
22
  * Menu Items.
22
23
  */
23
24
  menuItems?: NavMenuItem[];
24
- /**
25
- * Mobile menu will be enabled when viewport is at or below this number in pixels.
26
- */
27
- mobileMenuMaxWidth?: number;
28
25
  }
29
26
  /**
30
- * NavMenu UI component
27
+ * SiteMenu UI component
31
28
  */
32
- export declare const NavMenu: ({ ariaLabel, className, colorType, menuItems, mobileMenuMaxWidth, ...props }: NavMenuProps) => import("react/jsx-runtime").JSX.Element;
29
+ export declare const SiteMenu: ({ ariaLabel, className, colorType, menuItems, ...props }: SiteMenuProps) => import("react/jsx-runtime").JSX.Element;
33
30
  export {};
@@ -0,0 +1,23 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { NavMenuItem } from '../../../libs/types/navigation-types';
3
+ /**
4
+ * Prop types for SiteMenuDropdown
5
+ */
6
+ interface SiteMenuDropdownProps extends ComponentPropsWithoutRef<'button'> {
7
+ /**
8
+ * Menu items. If omitted or empty, renders as a plain top-level link.
9
+ */
10
+ items?: NavMenuItem[];
11
+ /**
12
+ * Menu label shown on the trigger button.
13
+ */
14
+ label?: string;
15
+ }
16
+ /**
17
+ * SiteMenuDropdown — a sub-menu for SiteMenu items that have child links.
18
+ * Desktop: Floating UI dropdown (opens on hover or click).
19
+ * Mobile: NavAccordion inline expansion.
20
+ * Both are always in the DOM; CSS driven by [data-pds-mobile] shows the right one.
21
+ */
22
+ export declare const SiteMenuDropdown: ({ items, label }: SiteMenuDropdownProps) => import("react/jsx-runtime").JSX.Element;
23
+ export {};
@@ -19,6 +19,7 @@ export interface TabMenuItemProps extends NavigationItem {
19
19
  */
20
20
  promoteActiveChildLink?: boolean;
21
21
  }
22
+ export type TabMenuSize = 's' | 'm';
22
23
  /**
23
24
  * Prop types for TabMenu.
24
25
  */
@@ -35,9 +36,13 @@ export interface TabMenuProps extends ComponentPropsWithoutRef<'nav'> {
35
36
  * Menu items to render.
36
37
  */
37
38
  menuItems?: TabMenuItemProps[];
39
+ /**
40
+ * Size of the tab menu items.
41
+ */
42
+ size?: TabMenuSize;
38
43
  }
39
44
  /**
40
45
  * TabMenu UI component.
41
46
  */
42
- export declare const TabMenu: ({ ariaLabel, className, menuItems, ...props }: TabMenuProps) => import("react/jsx-runtime").JSX.Element;
47
+ export declare const TabMenu: ({ ariaLabel, className, menuItems, size, ...props }: TabMenuProps) => import("react/jsx-runtime").JSX.Element;
43
48
  export {};
@@ -58,12 +58,8 @@ export interface UserMenuProps extends ComponentPropsWithoutRef<'span'> {
58
58
  * User display name.
59
59
  */
60
60
  userName?: string;
61
- /**
62
- * If true, the workspace selector will be styled and rendered to work with the mobile version of the navbar menu. Defaults to true.
63
- */
64
- withinNavbar?: boolean;
65
61
  }
66
62
  /**
67
63
  * UserMenu UI component
68
64
  */
69
- export declare const UserMenu: ({ ariaLabel, className, menuItems, userEmail, userImageSrc, userName, withinNavbar, ...props }: UserMenuProps) => import("react/jsx-runtime").JSX.Element;
65
+ export declare const UserMenu: ({ ariaLabel, className, menuItems, userEmail, userImageSrc, userName, ...props }: UserMenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import { ComponentPropsWithoutRef, ReactElement, ReactNode } from 'react';
2
+ import { BadgeColor } from '../../badges/Badge/Badge';
3
+ import '@components/Dropdown/dropdown.css';
2
4
  import './workspace-selector.css';
3
- declare const tierLabels: {
4
- silver: string;
5
- gold: string;
6
- platinum: string;
7
- diamond: string;
8
- };
9
- export type PlanTiers = keyof typeof tierLabels;
5
+ declare const tierConfig: Record<string, {
6
+ color: BadgeColor;
7
+ label: string;
8
+ }>;
9
+ export type PlanTiers = keyof typeof tierConfig;
10
10
  export type WorkspaceSelectorItem = {
11
11
  /**
12
12
  * Name of the workspace.
@@ -87,10 +87,6 @@ export interface WorkspaceSelectorProps extends ComponentPropsWithoutRef<'span'>
87
87
  * Text to display when no results are found.
88
88
  */
89
89
  noResultsText?: string;
90
- /**
91
- * Is this component located in the top nav? Only applies when using the Navbar component from this toolkit. Defaults to true per design.
92
- */
93
- withinNavbar?: boolean;
94
90
  /**
95
91
  * List of all workspaces for a user.
96
92
  */
@@ -99,5 +95,5 @@ export interface WorkspaceSelectorProps extends ComponentPropsWithoutRef<'span'>
99
95
  /**
100
96
  * WorkspaceSelector UI component
101
97
  */
102
- export declare const WorkspaceSelector: ({ ariaLabel, className, createWorkspaceLink, filterLabel, filterPlaceholder, menuHeading, minFilterItems, noResultsText, withinNavbar, workspaceList, ...props }: WorkspaceSelectorProps) => import("react/jsx-runtime").JSX.Element;
98
+ export declare const WorkspaceSelector: ({ ariaLabel, className, createWorkspaceLink, filterLabel, filterPlaceholder, menuHeading, minFilterItems, noResultsText, workspaceList, ...props }: WorkspaceSelectorProps) => import("react/jsx-runtime").JSX.Element;
103
99
  export {};
@@ -1,14 +1,34 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { StatusType } from '../../../libs/types/custom-types';
2
+ import { DataContext, StatusType } from '../../../libs/types/custom-types';
3
+ import { PDSIcon } from '../../icons/Icon/Icon';
3
4
  import './banner.css';
4
- type BannerType = Exclude<StatusType, 'success' | 'discovery'>;
5
- type Banner = {
5
+ type BannerVariant = Exclude<StatusType, 'success'> | 'neutral';
6
+ export interface BannerItemType {
7
+ /**
8
+ * Icon to display. Required for neutral type, ignored for other types.
9
+ */
10
+ iconName?: PDSIcon;
11
+ /**
12
+ * Unique identifier for the banner.
13
+ */
6
14
  id: string;
15
+ /**
16
+ * Whether the banner can be dismissed by the user.
17
+ */
7
18
  isDismissible?: boolean;
19
+ /**
20
+ * The message content of the banner.
21
+ */
8
22
  message: string | ReactNode;
23
+ /**
24
+ * Callback function called when the banner is dismissed.
25
+ */
9
26
  onDismiss?: () => void;
10
- type?: BannerType;
11
- };
27
+ /**
28
+ * The type of banner, which determines icon and color.
29
+ */
30
+ type?: BannerVariant;
31
+ }
12
32
  /**
13
33
  * Prop types for Banner
14
34
  */
@@ -16,11 +36,15 @@ export interface BannerProps extends ComponentPropsWithoutRef<'div'> {
16
36
  /**
17
37
  * Array of banner objects
18
38
  */
19
- banners: Banner[];
39
+ banners: BannerItemType[];
20
40
  /**
21
41
  * Additional class names
22
42
  */
23
43
  className?: string;
44
+ /**
45
+ * Data context for sizing. Marketing context increases all sizes by one step.
46
+ */
47
+ dataContext?: DataContext;
24
48
  /**
25
49
  * Label for the dismiss button
26
50
  */
@@ -36,14 +60,10 @@ export interface BannerProps extends ComponentPropsWithoutRef<'div'> {
36
60
  /**
37
61
  * Type labels
38
62
  */
39
- typeLabels?: {
40
- critical: string;
41
- info: string;
42
- warning: string;
43
- };
63
+ typeLabels?: Record<BannerVariant, string>;
44
64
  }
45
65
  /**
46
66
  * Banner UI component
47
67
  */
48
- export declare const Banner: ({ banners, className, dismissLabel, labelNext, labelPrevious, typeLabels, ...props }: BannerProps) => import("react/jsx-runtime").JSX.Element;
68
+ export declare const Banner: ({ banners, className, dataContext, dismissLabel, labelNext, labelPrevious, typeLabels, ...props }: BannerProps) => import("react/jsx-runtime").JSX.Element;
49
69
  export {};
@@ -101,18 +101,13 @@ export interface NotificationsPopoverProps extends ComponentPropsWithoutRef<'spa
101
101
  unreadLabel?: string;
102
102
  /**
103
103
  * Text for the "View All" button
104
- * @default 'View all'
104
+ * @default 'View all notifications'
105
105
  */
106
106
  viewAllText?: string;
107
- /**
108
- * If true, the component will be styled and rendered to work with the mobile version of the navbar menu
109
- * @default true
110
- */
111
- withinNavbar?: boolean;
112
107
  }
113
108
  /**
114
109
  * NotificationsPopover UI component
115
110
  *
116
111
  * Bell icon trigger that opens a popover showing recent notifications.
117
112
  */
118
- export declare const NotificationsPopover: ({ ariaLabel, autoCloseOnClick, className, emptyText, loadingText, maxVisibleItems, menuHeading, notifications, onNotificationClick, onViewAllClick, showLoading, unreadCount, unreadLabel, viewAllText, withinNavbar, ...props }: NotificationsPopoverProps) => import("react/jsx-runtime").JSX.Element;
113
+ export declare const NotificationsPopover: ({ ariaLabel, autoCloseOnClick, className, emptyText, loadingText, maxVisibleItems, menuHeading, notifications, onNotificationClick, onViewAllClick, showLoading, unreadCount, unreadLabel, viewAllText, ...props }: NotificationsPopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, MouseEvent, ReactNode } from 'react';
2
- import { StatusType } from '../../../libs/types/custom-types';
2
+ import { DataContext, StatusType } from '../../../libs/types/custom-types';
3
3
  import { Button } from '../../buttons/Button/Button';
4
4
  import './section-message.css';
5
5
  export type SectionMessageType = StatusType;
@@ -14,6 +14,10 @@ export interface SectionMessageProps extends ComponentPropsWithoutRef<'div'> {
14
14
  * Can include any Button props except for size and variant.
15
15
  */
16
16
  ctaButton?: ComponentPropsWithoutRef<typeof Button>;
17
+ /**
18
+ * Data context for sizing. Marketing context increases all sizes by one step.
19
+ */
20
+ dataContext?: DataContext;
17
21
  /**
18
22
  * Label for dismiss button. Provide a translation string if needed.
19
23
  */
@@ -50,5 +54,5 @@ export interface SectionMessageProps extends ComponentPropsWithoutRef<'div'> {
50
54
  /**
51
55
  * SectionMessage UI component
52
56
  */
53
- export declare const SectionMessage: ({ className, ctaButton, dismissLabel, id, isDismissible, message, onDismiss, title, type, typeLabels, ...props }: SectionMessageProps) => import("react/jsx-runtime").JSX.Element;
57
+ export declare const SectionMessage: ({ className, ctaButton, dataContext, dismissLabel, id, isDismissible, message, onDismiss, title, type, typeLabels, ...props }: SectionMessageProps) => import("react/jsx-runtime").JSX.Element;
54
58
  export {};
@@ -2,7 +2,7 @@ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import './toaster.css';
3
3
  declare const iconTypes: {
4
4
  readonly info: "circleInfo";
5
- readonly success: "check";
5
+ readonly success: "circleCheck";
6
6
  readonly warning: "triangleExclamation";
7
7
  readonly critical: "diamondExclamation";
8
8
  };
@@ -18,6 +18,12 @@ declare const defaultTypeLabels: {
18
18
  * Prop types for Toast
19
19
  */
20
20
  interface ToastProps extends ComponentPropsWithoutRef<'div'> {
21
+ /**
22
+ * Duration in milliseconds before the toast auto-dismisses. When set, shows
23
+ * a progress bar and pause button. Populated automatically by useToast —
24
+ * consumers do not need to set this.
25
+ */
26
+ autoCloseDuration?: number;
21
27
  /**
22
28
  * Toast message content.
23
29
  */
@@ -30,6 +36,11 @@ interface ToastProps extends ComponentPropsWithoutRef<'div'> {
30
36
  * ID of individual toast.
31
37
  */
32
38
  id?: string;
39
+ /**
40
+ * React-Toastify toast ID, used to control the pause/resume timer.
41
+ * Populated automatically by useToast — consumers do not need to set this.
42
+ */
43
+ toastId?: string | number;
33
44
  /**
34
45
  * Type of toast to show.
35
46
  */
@@ -42,5 +53,5 @@ interface ToastProps extends ComponentPropsWithoutRef<'div'> {
42
53
  /**
43
54
  * Toast UI component
44
55
  */
45
- export declare const Toast: ({ children, className, id, type, typeLabels, }: ToastProps) => import("react/jsx-runtime").JSX.Element;
56
+ export declare const Toast: ({ autoCloseDuration, children, className, id, toastId, type, typeLabels, }: ToastProps) => import("react/jsx-runtime").JSX.Element;
46
57
  export {};
@@ -1,18 +1,27 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
2
  import 'react-toastify/dist/ReactToastify.css';
3
3
  import './toaster.css';
4
+ export declare const MIN_AUTO_CLOSE_DURATION = 30000;
5
+ type PauseResumeLabels = {
6
+ pause: string;
7
+ resume: string;
8
+ };
9
+ export interface ToasterContextValue {
10
+ labelStrings: PauseResumeLabels;
11
+ }
12
+ export declare const ToasterContext: React.Context<ToasterContextValue>;
4
13
  /**
5
- * Prop types for Toast
14
+ * Prop types for Toaster
6
15
  */
7
16
  interface ToasterProps extends ComponentPropsWithoutRef<'div'> {
8
- /**
9
- * Duration in milliseconds before the toast will auto-close.
10
- */
11
- autoCloseDuration?: number;
12
17
  /**
13
18
  * Additional class names
14
19
  */
15
20
  className?: string;
21
+ /**
22
+ * Label strings for the pause and resume buttons. Provide translation strings if needed.
23
+ */
24
+ labelStrings?: PauseResumeLabels;
16
25
  /**
17
26
  * Maximum number of toasts that can be displayed at once.
18
27
  */
@@ -25,5 +34,5 @@ interface ToasterProps extends ComponentPropsWithoutRef<'div'> {
25
34
  /**
26
35
  * Toaster UI component
27
36
  */
28
- export declare const Toaster: ({ autoCloseDuration, className, limit, position, }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
37
+ export declare const Toaster: ({ className, labelStrings, limit, position, }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
29
38
  export {};
@@ -1,5 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { cssTransition, toast as toastApi, ToastOptions } from 'react-toastify';
3
+ import { MIN_AUTO_CLOSE_DURATION } from './Toaster';
4
+ export { MIN_AUTO_CLOSE_DURATION };
3
5
  export declare enum ToastType {
4
6
  Critical = "critical",
5
7
  Info = "info",
@@ -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,45 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import { PDSIcon } from '../../icons/Icon/Icon';
3
+ import './full-screen-overlay.css';
4
+ export interface FullScreenOverlayProps extends ComponentPropsWithoutRef<'div'> {
5
+ /**
6
+ * Accessible label for the overlay.
7
+ */
8
+ ariaLabel: string;
9
+ /**
10
+ * Background color of the overlay surface.
11
+ * - 'default': white / dark-mode dark (default)
12
+ * - 'default-secondary': slightly off-white / dark-mode slightly lighter dark
13
+ */
14
+ background?: 'default' | 'default-secondary';
15
+ /**
16
+ * Content rendered inside the overlay.
17
+ */
18
+ children: ReactNode;
19
+ /**
20
+ * Additional class names.
21
+ */
22
+ className?: string;
23
+ /**
24
+ * Accessible label for the close button.
25
+ */
26
+ closeButtonLabel?: string;
27
+ /**
28
+ * Icon to use for the close button. Defaults to 'compress'.
29
+ */
30
+ closeIconName?: PDSIcon;
31
+ /**
32
+ * Whether to show the built-in close button. Set to false when providing
33
+ * your own close control (e.g. in a UtilityBar).
34
+ */
35
+ hasCloseButton?: boolean;
36
+ /**
37
+ * Whether the overlay is currently open.
38
+ */
39
+ isOpen: boolean;
40
+ /**
41
+ * Callback when the overlay should close.
42
+ */
43
+ onClose: () => void;
44
+ }
45
+ export declare const FullScreenOverlay: ({ ariaLabel, background, children, className, closeButtonLabel, closeIconName, hasCloseButton, isOpen, onClose, ...props }: FullScreenOverlayProps) => any;
@@ -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
  */
@@ -1,6 +1,7 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { HeadingLevelCommon } from '../../libs/types/custom-types';
2
+ import { HeadingLevelCommon } from '../../../libs/types/custom-types';
3
3
  import './pagination.css';
4
+ export type PaginationSize = 's' | 'm';
4
5
  /**
5
6
  * Prop types for Pagination
6
7
  */
@@ -43,6 +44,10 @@ export interface PaginationProps extends ComponentPropsWithoutRef<'nav'> {
43
44
  * For example: `onPageChange={(page) => setCurrentPage(page)}`
44
45
  */
45
46
  onPageChange?: (page: number) => void;
47
+ /**
48
+ * Size of the pagination items.
49
+ */
50
+ size?: PaginationSize;
46
51
  /**
47
52
  * Total number of items to paginate.
48
53
  */
@@ -51,4 +56,4 @@ export interface PaginationProps extends ComponentPropsWithoutRef<'nav'> {
51
56
  /**
52
57
  * Pagination UI component
53
58
  */
54
- export declare const Pagination: ({ bufferCount, className, currentPage, headingLevel, headingText, itemsPerPage, labelStrings, onPageChange, totalItemCount, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
59
+ export declare const Pagination: ({ bufferCount, className, currentPage, headingLevel, headingText, itemsPerPage, labelStrings, onPageChange, size, totalItemCount, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,49 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { HeadingLevelCommon } from '../../../libs/types/custom-types';
3
+ import './pagination-compact.css';
4
+ /**
5
+ * Prop types for PaginationCompact
6
+ */
7
+ export interface PaginationCompactProps extends ComponentPropsWithoutRef<'nav'> {
8
+ /**
9
+ * Additional class names.
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Current page number.
14
+ */
15
+ currentPage: number;
16
+ /**
17
+ * Heading level. Defaults to `h2`.
18
+ */
19
+ headingLevel?: HeadingLevelCommon;
20
+ /**
21
+ * Heading text for the pagination component. Will only be accessible to screen readers.
22
+ */
23
+ headingText?: string;
24
+ /**
25
+ * Number of items per page.
26
+ */
27
+ itemsPerPage?: number;
28
+ /**
29
+ * Translatable label strings.
30
+ */
31
+ labelStrings?: {
32
+ next: string;
33
+ of: string;
34
+ pageSelect: string;
35
+ previous: string;
36
+ };
37
+ /**
38
+ * Callback to handle page change.
39
+ */
40
+ onPageChange?: (page: number) => void;
41
+ /**
42
+ * Total number of items to paginate.
43
+ */
44
+ totalItemCount: number;
45
+ }
46
+ /**
47
+ * PaginationCompact UI component — page selector dropdown with previous/next controls.
48
+ */
49
+ export declare const PaginationCompact: ({ className, currentPage, headingLevel, headingText, itemsPerPage, labelStrings, onPageChange, totalItemCount, ...props }: PaginationCompactProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,55 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { HeadingLevelCommon } from '../../../libs/types/custom-types';
3
+ import './pagination-mini.css';
4
+ /**
5
+ * Prop types for PaginationMini
6
+ */
7
+ export interface PaginationMiniProps extends ComponentPropsWithoutRef<'nav'> {
8
+ /**
9
+ * Additional class names.
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Current page number.
14
+ */
15
+ currentPage: number;
16
+ /**
17
+ * Heading level. Defaults to `h2`.
18
+ */
19
+ headingLevel?: HeadingLevelCommon;
20
+ /**
21
+ * Heading text for the pagination component. Will only be accessible to screen readers.
22
+ */
23
+ headingText?: string;
24
+ /**
25
+ * Number of items per page.
26
+ */
27
+ itemsPerPage?: number;
28
+ /**
29
+ * Translatable label strings.
30
+ */
31
+ labelStrings?: {
32
+ next: string;
33
+ previous: string;
34
+ };
35
+ /**
36
+ * Title of the next page. Displayed as the clickable label on the next button.
37
+ */
38
+ nextPage?: string;
39
+ /**
40
+ * Callback to handle page change.
41
+ */
42
+ onPageChange?: (page: number) => void;
43
+ /**
44
+ * Title of the previous page. Displayed as the clickable label on the previous button.
45
+ */
46
+ previousPage?: string;
47
+ /**
48
+ * Total number of items to paginate.
49
+ */
50
+ totalItemCount: number;
51
+ }
52
+ /**
53
+ * PaginationMini UI component — previous/next navigation with page labels.
54
+ */
55
+ export declare const PaginationMini: ({ className, currentPage, headingLevel, headingText, itemsPerPage, labelStrings, nextPage, onPageChange, previousPage, totalItemCount, ...props }: PaginationMiniProps) => import("react/jsx-runtime").JSX.Element;