@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
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Icon Registry - Source of truth for PDS icon mappings.
3
+ *
4
+ * Maps PDS camelCase icon names to their source:
5
+ * - FA icons: reference a Font Awesome package + export name
6
+ * - Custom icons: hand-authored SVG data in custom-icons.tsx
7
+ *
8
+ * To add an FA icon:
9
+ * 1. Add entry here with source: 'fa', style, and faImportName
10
+ * 2. Run: npm run generate:icon-data
11
+ * 3. Commit both this file and generated-icon-data.ts
12
+ *
13
+ * To add a custom icon:
14
+ * 1. Add SVG data to custom-icons.tsx
15
+ * 2. Add entry here with source: 'custom'
16
+ * 3. Run: npm run generate:icon-data
17
+ * 4. Commit all three files
18
+ */
19
+ export type FAStyle = 'regular' | 'solid' | 'brands';
20
+ export type IconCategory = 'actions' | 'arrows' | 'brands' | 'communication' | 'custom' | 'data' | 'development' | 'documents' | 'financial' | 'media' | 'navigation' | 'objects' | 'security' | 'status' | 'users';
21
+ export interface FAIconEntry {
22
+ aliases?: string[];
23
+ categories: IconCategory[];
24
+ faImportName: string;
25
+ source: 'fa';
26
+ style: FAStyle;
27
+ }
28
+ export interface CustomIconEntry {
29
+ aliases?: string[];
30
+ categories: IconCategory[];
31
+ source: 'custom';
32
+ }
33
+ export type IconRegistryEntry = CustomIconEntry | FAIconEntry;
34
+ export declare const iconRegistry: Record<string, IconRegistryEntry>;
@@ -1,6 +1,7 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
2
  import './payment-icon.css';
3
- type PaymentType = 'visa' | 'mastercard' | 'amex' | 'discover' | 'generic';
3
+ export type PaymentSize = 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl';
4
+ export type PaymentType = 'visa' | 'mastercard' | 'amex' | 'discover' | 'generic';
4
5
  /**
5
6
  * Prop types for PaymentIcon
6
7
  */
@@ -13,9 +14,12 @@ export interface PaymentIconProps extends ComponentPropsWithoutRef<'div'> {
13
14
  * The type of payment icon to display.
14
15
  */
15
16
  paymentType: PaymentType;
17
+ /**
18
+ * Which size of icon to render
19
+ */
20
+ size?: PaymentSize;
16
21
  }
17
22
  /**
18
23
  * PaymentIcon UI component
19
24
  */
20
- export declare const PaymentIcon: ({ className, paymentType, ...props }: PaymentIconProps) => import("react/jsx-runtime").JSX.Element;
21
- export {};
25
+ export declare const PaymentIcon: ({ className, paymentType, size, ...props }: PaymentIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,16 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
2
  import './platform-icon.css';
3
- type PlatformType = 'drupal' | 'drupal7' | 'front-end-sites' | 'gatsby' | 'gatsby-wp' | 'google' | 'import-custom' | 'microsoft' | 'next' | 'next-drupal' | 'next-wp' | 'splunk' | 'sumo-logic' | 'wordpress';
4
- interface PlatformIconProps extends ComponentPropsWithoutRef<'div'> {
3
+ export type PlatformSize = 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl';
4
+ export type PlatformType = 'drupal' | 'drupal7' | 'front-end-sites' | 'gatsby' | 'gatsby-wp' | 'google' | 'import-custom' | 'microsoft' | 'next' | 'next-drupal' | 'next-wp' | 'splunk' | 'sumo-logic' | 'wordpress';
5
+ export interface PlatformIconProps extends ComponentPropsWithoutRef<'div'> {
5
6
  className?: string;
7
+ platformType: PlatformType;
6
8
  /**
7
9
  * Which size of icon to render
8
10
  */
9
- iconSize?: 'm' | 'l' | 'xl' | '2xl';
10
- platformType: PlatformType;
11
+ size?: PlatformSize;
11
12
  }
12
13
  /**
13
14
  * PlatformIcon UI component
14
15
  */
15
- export declare const PlatformIcon: ({ className, iconSize, platformType, ...props }: PlatformIconProps) => import("react/jsx-runtime").JSX.Element;
16
- export {};
16
+ export declare const PlatformIcon: ({ className, platformType, size, ...props }: PlatformIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -34,7 +34,7 @@ export interface CheckboxProps extends ComponentPropsWithoutRef<'div'> {
34
34
  */
35
35
  inputProps?: ComponentPropsWithoutRef<'input'>;
36
36
  /**
37
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
37
+ * Width of the input field in pixels. When omitted, the input fills its container.
38
38
  */
39
39
  inputWidth?: number;
40
40
  /**
@@ -74,9 +74,9 @@ export interface CheckboxProps extends ComponentPropsWithoutRef<'div'> {
74
74
  */
75
75
  showLabel?: boolean;
76
76
  /**
77
- * Size of the label and checkbox. Defaults to 'M'.
77
+ * Size of the checkbox and label.
78
78
  */
79
- size?: 'S' | 'M';
79
+ size?: 's' | 'm';
80
80
  /**
81
81
  * Validation message for the input field based on the validation status.
82
82
  */
@@ -1,6 +1,7 @@
1
- import React, { ChangeEvent, ComponentPropsWithoutRef, FocusEvent, ReactNode } from 'react';
1
+ import React, { ChangeEvent, ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import { ValidationStatus } from '../../../libs/types/input-types';
3
3
  import './combobox.css';
4
+ export type ComboboxSize = 's' | 'm' | 'l';
4
5
  type LabelStrings = {
5
6
  clearButton?: string;
6
7
  inputInstructions?: string;
@@ -14,10 +15,15 @@ export type ComboboxOption = {
14
15
  searchIndex?: string[];
15
16
  value: string;
16
17
  };
18
+ export type ComboboxOptionGroup = {
19
+ groupLabel: string;
20
+ options: ComboboxOption[];
21
+ };
22
+ export type ComboboxOptionsType = (ComboboxOption | ComboboxOptionGroup)[];
17
23
  /**
18
24
  * Prop types for Combobox
19
25
  */
20
- export interface ComboboxProps extends ComponentPropsWithoutRef<'div'> {
26
+ export interface ComboboxProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onFocus' | 'onBlur'> {
21
27
  /**
22
28
  * Additional class names
23
29
  */
@@ -51,7 +57,7 @@ export interface ComboboxProps extends ComponentPropsWithoutRef<'div'> {
51
57
  */
52
58
  id: string;
53
59
  /**
54
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
60
+ * Width of the input field in pixels. When omitted, the input fills its container.
55
61
  */
56
62
  inputWidth?: number;
57
63
  /**
@@ -79,9 +85,9 @@ export interface ComboboxProps extends ComponentPropsWithoutRef<'div'> {
79
85
  */
80
86
  noResultsText?: string;
81
87
  /**
82
- * onBlur event handler.
88
+ * onBlur event handler to provide the current value of the input.
83
89
  */
84
- onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
90
+ onBlur?: (currentValue: string) => void;
85
91
  /**
86
92
  * onChange event handler.
87
93
  */
@@ -91,9 +97,9 @@ export interface ComboboxProps extends ComponentPropsWithoutRef<'div'> {
91
97
  */
92
98
  onClear?: () => void;
93
99
  /**
94
- * onFocus event handler.
100
+ * onFocus event handler to provide the current value of the input.
95
101
  */
96
- onFocus?: (e: FocusEvent<HTMLInputElement>) => void;
102
+ onFocus?: (currentValue: string) => void;
97
103
  /**
98
104
  * Callback when an option is selected. Returns the selected option object.
99
105
  */
@@ -119,6 +125,10 @@ export interface ComboboxProps extends ComponentPropsWithoutRef<'div'> {
119
125
  * When true, clicking or focusing the input will show all available options before typing.
120
126
  */
121
127
  showUnfilteredOptions?: boolean;
128
+ /**
129
+ * Size of the combobox field.
130
+ */
131
+ size?: ComboboxSize;
122
132
  /**
123
133
  * Optional tooltip text to display additional information.
124
134
  */
@@ -1,19 +1,39 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import './combobox-multiselect.css';
3
+ export type ComboboxMultiselectSize = 's' | 'm' | 'l';
3
4
  type LabelStrings = {
5
+ aiBadgeLabel?: string;
6
+ aiPanelButton?: string;
7
+ aiPanelClose?: string;
8
+ aiPanelRefresh?: string;
4
9
  inputInstructions?: string;
5
10
  triggerButton?: string;
6
11
  };
7
- interface OptionProps {
12
+ /**
13
+ * Public option interface - what users provide to the component
14
+ */
15
+ export interface OptionProps {
16
+ badge?: 'ai';
8
17
  id: string;
9
- isAlreadySelected?: boolean;
10
18
  label: string;
11
19
  }
20
+ interface AiSuggestionsPanel {
21
+ content?: ReactNode;
22
+ disableRefresh?: boolean;
23
+ isFetching?: boolean;
24
+ items?: OptionProps[];
25
+ onClose?: () => void;
26
+ onRefresh?: () => void;
27
+ }
12
28
  type DivProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'>;
13
29
  /**
14
30
  * Prop types for ComboboxMultiselect
15
31
  */
16
32
  export interface ComboboxMultiselectProps extends DivProps {
33
+ /**
34
+ * AI suggestions panel configuration. When provided, shows a sparkle button that opens a floating suggestions panel.
35
+ */
36
+ aiSuggestions?: AiSuggestionsPanel;
17
37
  /**
18
38
  * Additional class names
19
39
  */
@@ -31,7 +51,7 @@ export interface ComboboxMultiselectProps extends DivProps {
31
51
  */
32
52
  initialSelectedItems?: OptionProps[];
33
53
  /**
34
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
54
+ * Width of the input field in pixels. When omitted, the input fills its container.
35
55
  */
36
56
  inputWidth?: number;
37
57
  /**
@@ -70,14 +90,21 @@ export interface ComboboxMultiselectProps extends DivProps {
70
90
  * Is this field required?
71
91
  */
72
92
  required?: boolean;
93
+ /**
94
+ * Display all selected tags in a wrapping row instead of stacking with only the top one visible
95
+ */
96
+ showAllTags?: boolean;
73
97
  /**
74
98
  * Should the label be visible? If false, it will render for screen readers only.
75
99
  */
76
100
  showLabel?: boolean;
101
+ /**
102
+ * Size of the combobox multiselect field.
103
+ */
104
+ size?: ComboboxMultiselectSize;
77
105
  }
78
- export declare const getFilteredOptions: (options: OptionProps[], selectedItems: OptionProps[], inputValue: string) => OptionProps[];
79
106
  /**
80
107
  * ComboboxMultiselect UI component
81
108
  */
82
- export declare const ComboboxMultiselect: ({ className, disabled, id, initialSelectedItems, inputWidth, isLoading, label, labelStrings, loadingText, noResultsText, onChange, options, placeholder, required, showLabel, ...props }: ComboboxMultiselectProps) => import("react/jsx-runtime").JSX.Element;
109
+ export declare const ComboboxMultiselect: ({ aiSuggestions, className, disabled, id, initialSelectedItems, inputWidth, isLoading, label, labelStrings, loadingText, noResultsText, onChange, options, placeholder, required, showAllTags, showLabel, size, ...props }: ComboboxMultiselectProps) => import("react/jsx-runtime").JSX.Element;
83
110
  export {};
@@ -5,6 +5,7 @@ import 'react-day-picker/dist/style.css';
5
5
  import './datepicker.css';
6
6
  type PresetType = 'today' | 'current-week' | 'current-month' | 'last-week' | 'last-month';
7
7
  export interface CustomPresetConfig {
8
+ active?: boolean;
8
9
  custom?: () => DateRange;
9
10
  days?: number;
10
11
  label: string;
@@ -43,7 +44,7 @@ export interface DatepickerProps extends DatepickerHTMLProps {
43
44
  */
44
45
  id: string;
45
46
  /**
46
- * Max-width of the input field. Accepts a number in pixels.
47
+ * Width of the input field in pixels. When omitted, the input fills its container.
47
48
  * Numbers below 160 will display at 160px.
48
49
  * Leave blank for width: 100%.
49
50
  */
@@ -56,10 +57,23 @@ export interface DatepickerProps extends DatepickerHTMLProps {
56
57
  * Locale from date-fns for internationalization.
57
58
  */
58
59
  locale?: Locale;
60
+ /**
61
+ * Maximum selectable date.
62
+ */
63
+ maxDate?: Date;
64
+ /**
65
+ * Minimum selectable date.
66
+ */
67
+ minDate?: Date;
59
68
  /**
60
69
  * onChange handler
61
70
  */
62
71
  onChange?: (value: DateRange | Date | undefined) => void;
72
+ /**
73
+ * Callback fired once on mount when an active preset is applied.
74
+ * Only fires if no initial value is provided and a preset has active: true.
75
+ */
76
+ onInitialize?: (value: DateRange | Date | undefined) => void;
63
77
  /**
64
78
  * Placeholder text for the trigger button.
65
79
  */
@@ -92,5 +106,5 @@ export interface DatepickerProps extends DatepickerHTMLProps {
92
106
  /**
93
107
  * Datepicker UI component.
94
108
  */
95
- export declare const Datepicker: ({ className, disabled, hasDateRange, id, inputWidth, label, locale, onChange, placeholder, presets, required, showLabel, tooltipText, translationStrings, value, ...props }: DatepickerProps) => import("react/jsx-runtime").JSX.Element;
109
+ export declare const Datepicker: ({ className, disabled, hasDateRange, id, inputWidth, label, locale, maxDate, minDate, onChange, onInitialize, placeholder, presets, required, showLabel, tooltipText, translationStrings, value, ...props }: DatepickerProps) => import("react/jsx-runtime").JSX.Element;
96
110
  export {};
@@ -1,6 +1,7 @@
1
1
  import React, { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import { ValidationStatus } from '../../../libs/types/input-types';
3
3
  import './file-upload.css';
4
+ export type FileUploadSize = 's' | 'm';
4
5
  type LabelStrings = {
5
6
  chooseFile: string;
6
7
  clearButton: string;
@@ -38,7 +39,7 @@ export interface FileUploadProps extends ComponentPropsWithoutRef<'div'> {
38
39
  */
39
40
  inputProps?: ComponentPropsWithoutRef<'input'>;
40
41
  /**
41
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
42
+ * Width of the input field in pixels. When omitted, the input fills its container.
42
43
  */
43
44
  inputWidth?: number;
44
45
  /**
@@ -73,6 +74,10 @@ export interface FileUploadProps extends ComponentPropsWithoutRef<'div'> {
73
74
  * Should the label be visible? If false, it will render for screen readers only.
74
75
  */
75
76
  showLabel?: boolean;
77
+ /**
78
+ * Size of the input field.
79
+ */
80
+ size?: FileUploadSize;
76
81
  /**
77
82
  * Optional tooltip text to display additional information.
78
83
  */
@@ -44,7 +44,7 @@ export interface RadioGroupProps extends ComponentPropsWithoutRef<'div'> {
44
44
  */
45
45
  id: string;
46
46
  /**
47
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
47
+ * Width of the input field in pixels. When omitted, the input fills its container.
48
48
  */
49
49
  inputWidth?: number;
50
50
  /**
@@ -3,6 +3,7 @@ import { ValidationStatus } from '../../../libs/types/input-types';
3
3
  import { PDSIcon } from '../../icons/Icon/Icon';
4
4
  import './select.css';
5
5
  export type SelectIconType = PDSIcon | 'google' | 'microsoft';
6
+ export type SelectSize = 's' | 'm' | 'l';
6
7
  type LabelStrings = {
7
8
  selectOptionText: string;
8
9
  triggerButton: string;
@@ -44,6 +45,10 @@ interface SelectOptionGroupProps {
44
45
  * Prop types for Select
45
46
  */
46
47
  export interface SelectProps {
48
+ /**
49
+ * Automatically resize the select to fit the longest option label. Defaults to false (width: 100%).
50
+ */
51
+ autoWidth?: boolean;
47
52
  /**
48
53
  * Additional class names
49
54
  */
@@ -65,7 +70,7 @@ export interface SelectProps {
65
70
  */
66
71
  id: string;
67
72
  /**
68
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
73
+ * Width of the input field in pixels. When omitted, the input fills its container.
69
74
  */
70
75
  inputWidth?: number;
71
76
  /**
@@ -104,6 +109,10 @@ export interface SelectProps {
104
109
  * Should the label be visible? If false, it will render for screen readers only.
105
110
  */
106
111
  showLabel?: boolean;
112
+ /**
113
+ * Size of the select field.
114
+ */
115
+ size?: SelectSize;
107
116
  /**
108
117
  * Optional tooltip text to display additional information.
109
118
  */
@@ -128,5 +137,5 @@ export declare const SelectOptionGroup: ({ children, label, }: SelectOptionGroup
128
137
  /**
129
138
  * Select UI component
130
139
  */
131
- export declare const Select: ({ className, defaultValue, disabled, icon, id, inputWidth, label, labelStrings, message, onBlur, onFocus, onOptionSelect, options, required, showLabel, tooltipText, validationMessage, validationStatus, value, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
140
+ export declare const Select: ({ autoWidth, className, defaultValue, disabled, icon, id, inputWidth, label, labelStrings, message, onBlur, onFocus, onOptionSelect, options, required, showLabel, size, tooltipText, validationMessage, validationStatus, value, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
132
141
  export {};
@@ -4,4 +4,5 @@ export declare const userRoleOptions: SelectOptionType[];
4
4
  export declare const validationExampleOptions: SelectOptionType[];
5
5
  export declare const sampleSelectOptionsWithGroups: SelectOptionsType;
6
6
  export declare const ssoProviderOptions: SelectOptionType[];
7
+ export declare const autoWidthOptions: SelectOptionType[];
7
8
  export declare const sampleSelectOptions: SelectOptionType[];
@@ -29,7 +29,7 @@ export interface SwitchProps extends ComponentPropsWithoutRef<'div'> {
29
29
  */
30
30
  inputProps?: ComponentPropsWithoutRef<'input'>;
31
31
  /**
32
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
32
+ * Width of the input field in pixels. When omitted, the input fills its container.
33
33
  */
34
34
  inputWidth?: number;
35
35
  /**
@@ -40,18 +40,10 @@ export interface SwitchProps extends ComponentPropsWithoutRef<'div'> {
40
40
  * Message or description used to help clarify the usage of the input.
41
41
  */
42
42
  message?: string | ReactNode;
43
- /**
44
- * Status text for when switch is off.
45
- */
46
- offLabel?: string;
47
43
  /**
48
44
  * onChange event handler. Controlled inputs should use this to manage the input value. Uncontrolled inputs will manage their own state, but may still use this to access the event object.
49
45
  */
50
46
  onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
51
- /**
52
- * Status text for when switch is on.
53
- */
54
- onLabel?: string;
55
47
  /**
56
48
  * Is this field required?
57
49
  */
@@ -60,14 +52,6 @@ export interface SwitchProps extends ComponentPropsWithoutRef<'div'> {
60
52
  * Should the label be visible? If false, it will render for screen readers only.
61
53
  */
62
54
  showLabel?: boolean;
63
- /**
64
- * Show toggle status label next to switch. If false, icons will render and the text will still be available to screen readers.
65
- */
66
- showStatusLabel?: boolean;
67
- /**
68
- * Determines the placement of the toggle status label. Default set to `right`.
69
- */
70
- statusLabelPlacement?: 'right' | 'left';
71
55
  /**
72
56
  * Determines switch placement, default set to `right`.
73
57
  */
@@ -0,0 +1,105 @@
1
+ import React, { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import { ValidationStatus } from '../../../libs/types/input-types';
3
+ import './tags-input.css';
4
+ type LabelStrings = {
5
+ inputInstructions: string;
6
+ tagAriaLabel: string;
7
+ tagAriaLabelSimple: string;
8
+ tagRemove: string;
9
+ tagsListLabel: string;
10
+ };
11
+ /**
12
+ * Tag type
13
+ */
14
+ export type TagType = {
15
+ id: string;
16
+ value: string;
17
+ };
18
+ export type TagsInputSize = 's' | 'm' | 'l';
19
+ type DivProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'>;
20
+ /**
21
+ * Prop types for TagsInput
22
+ */
23
+ export interface TagsInputProps extends DivProps {
24
+ /**
25
+ * Optional placeholder text to display when the input field is empty and there are existing tags.
26
+ */
27
+ addMorePlaceholder?: string;
28
+ /**
29
+ * Additional class names
30
+ */
31
+ className?: string;
32
+ /**
33
+ * Is the field disabled?
34
+ */
35
+ disabled?: boolean;
36
+ /**
37
+ * Input ID.
38
+ */
39
+ id: string;
40
+ /**
41
+ * Minimum height in pixels for the tags input wrapper box (not including label or message). Defaults to 80px.
42
+ */
43
+ inputMinHeight?: number;
44
+ /**
45
+ * Width of the input field in pixels. When omitted, the input fills its container.
46
+ */
47
+ inputWidth?: number;
48
+ /**
49
+ * Should tags be sortable via drag-and-drop and keyboard shortcuts? Defaults to false.
50
+ */
51
+ isSortable?: boolean;
52
+ /**
53
+ * Input label.
54
+ */
55
+ label: string;
56
+ /**
57
+ * Input message. Used to provide supplemental text. Will be displayed below the input field.
58
+ */
59
+ message?: string | ReactNode;
60
+ /**
61
+ * onChange event handler. Called when tags change.
62
+ */
63
+ onChange: (tags: TagType[]) => void;
64
+ /**
65
+ * Optional placeholder text to display when the input field is empty and there are no tags yet.
66
+ */
67
+ placeholder?: string;
68
+ /**
69
+ * Is this field required?
70
+ */
71
+ required?: boolean;
72
+ /**
73
+ * Should the label be visible? If false, it will render for screen readers only.
74
+ */
75
+ showLabel?: boolean;
76
+ /**
77
+ * Size of the input.
78
+ */
79
+ size?: TagsInputSize;
80
+ /**
81
+ * Tags array. The component is controlled and requires managing state externally.
82
+ */
83
+ tags: TagType[];
84
+ /**
85
+ * Optional tooltip text to display additional information.
86
+ */
87
+ tooltipText?: string | null;
88
+ /**
89
+ * Translation strings for various labels or other visually-hidden text.
90
+ */
91
+ translationStrings?: LabelStrings;
92
+ /**
93
+ * Validation message for the input field based on the validation status.
94
+ */
95
+ validationMessage?: string;
96
+ /**
97
+ * Validation status of the input field.
98
+ */
99
+ validationStatus?: ValidationStatus;
100
+ }
101
+ /**
102
+ * TagsInput UI component
103
+ */
104
+ export declare const TagsInput: React.ForwardRefExoticComponent<TagsInputProps & React.RefAttributes<HTMLInputElement>>;
105
+ export {};
@@ -56,7 +56,7 @@ export interface TextInputProps extends ComponentPropsWithoutRef<'div'> {
56
56
  */
57
57
  inputProps?: ComponentPropsWithoutRef<'input'>;
58
58
  /**
59
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
59
+ * Width of the input field in pixels. When omitted, the input fills its container.
60
60
  */
61
61
  inputWidth?: number;
62
62
  /**
@@ -107,6 +107,10 @@ export interface TextInputProps extends ComponentPropsWithoutRef<'div'> {
107
107
  * Show Toggle visibility control for input. Valid for type `password` only.
108
108
  */
109
109
  showVisibilityToggle?: boolean;
110
+ /**
111
+ * Input size.
112
+ */
113
+ size?: 's' | 'm' | 'l';
110
114
  /**
111
115
  * Optional tooltip text to display additional information.
112
116
  */
@@ -31,7 +31,7 @@ export interface TextareaProps {
31
31
  */
32
32
  id: string;
33
33
  /**
34
- * Max-width of the input field. Accepts a number in pixels. Leave blank for width: 100%.
34
+ * Width of the input field in pixels. When omitted, the input fills its container.
35
35
  */
36
36
  inputWidth?: number;
37
37
  /**
@@ -79,6 +79,10 @@ export interface TextareaProps {
79
79
  * Should the label be visible? If false, it will render for screen readers only.
80
80
  */
81
81
  showLabel?: boolean;
82
+ /**
83
+ * Input size.
84
+ */
85
+ size?: 's' | 'm' | 'l';
82
86
  /**
83
87
  * Additional props for the `<textarea>` element.
84
88
  */
@@ -1,5 +1,6 @@
1
1
  import React, { ComponentPropsWithoutRef, MouseEventHandler, ReactNode } from 'react';
2
2
  import { SelectOptionGroupType, SelectOptionType } from './Select/Select';
3
+ import '@components/Dropdown/dropdown.css';
3
4
  import './input-utilities.css';
4
5
  export declare const inputCommonClasses: {
5
6
  base: string;
@@ -10,7 +11,7 @@ export declare const inputCommonClasses: {
10
11
  readonly: string;
11
12
  };
12
13
  export declare const getInputWidthStyle: (inputWidth: number) => {
13
- maxWidth: string;
14
+ width: string;
14
15
  };
15
16
  export declare const stripUrlProtocol: (value: string) => string;
16
17
  export declare const RequiredIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -63,9 +64,9 @@ export declare const InputMessage: ({ className, forInputGroup, hasValidationMes
63
64
  validationMessageHasDecorators?: boolean;
64
65
  validationStatus?: string;
65
66
  }) => import("react/jsx-runtime").JSX.Element;
66
- type DecoratorVariants = 'search' | 'error' | 'success' | 'filter';
67
- export declare const InputDecorator: ({ variant }: {
68
- variant: DecoratorVariants;
67
+ export type PrefixVariants = 'search' | 'error' | 'success' | 'filter';
68
+ export declare const InputPrefix: ({ variant }: {
69
+ variant: PrefixVariants;
69
70
  }) => import("react/jsx-runtime").JSX.Element;
70
71
  export declare const SearchShortcut: ({ inputId, shortcutLabel, }: {
71
72
  inputId: string;
@@ -12,7 +12,7 @@ export interface CTALinkProps extends ComponentPropsWithoutRef<'div'> {
12
12
  /**
13
13
  * Size of link
14
14
  */
15
- size?: 'sm' | 'md';
15
+ size?: 's' | 'm';
16
16
  }
17
17
  /**
18
18
  * CTA Link UI component
@@ -15,7 +15,7 @@ export interface LinkNewWindowProps extends ComponentPropsWithoutRef<'a'> {
15
15
  /**
16
16
  * Optional font size for the LinkNewWindow. If not provided, the font size will be inherited from the parent element.
17
17
  */
18
- fontSize?: 'sm' | 'md' | 'lg';
18
+ fontSize?: 's' | 'm' | 'l';
19
19
  /**
20
20
  * Is the link in the process of loading?
21
21
  */
@@ -1,5 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactElement } from 'react';
2
2
  import { NavigationItem } from '../../../libs/types/navigation-types';
3
+ import '@components/Dropdown/dropdown.css';
3
4
  import './dropdown-menu.css';
4
5
  /**
5
6
  * Prop types for DropdownMenu
@@ -27,7 +27,7 @@ export interface NavbarProps extends ComponentPropsWithoutRef<'header'> {
27
27
  */
28
28
  hideBorder?: boolean;
29
29
  /**
30
- * Hide the logo if it will be provided elsewhere in the layout. The logo will still be rendered in the mobile view.
30
+ * Hide the logo on desktop. The logo is always shown in the mobile bar.
31
31
  */
32
32
  hideLogo?: boolean;
33
33
  /**