@pantheon-systems/pds-toolkit-react 2.0.0-beta.13 → 2.0.0-beta.15

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 (209) hide show
  1. package/codemods/v1-to-v2/css-token-renames.js +4 -4
  2. package/codemods/v1-to-v2/transforms/__testfixtures__/prop-value-standardization/basic.output.tsx +1 -1
  3. package/codemods/v1-to-v2/transforms/__testfixtures__/removed-prop-values/basic.output.tsx +7 -2
  4. package/codemods/v1-to-v2/transforms/component-renames.js +2 -1
  5. package/codemods/v1-to-v2/transforms/icon-name-updates.js +1 -0
  6. package/codemods/v1-to-v2/transforms/prop-renames.js +1 -0
  7. package/codemods/v1-to-v2/transforms/prop-value-standardization.js +2 -1
  8. package/codemods/v1-to-v2/transforms/removed-prop-values.js +2 -1
  9. package/dist/components/Callout/Callout.d.ts +1 -1
  10. package/dist/components/Dropdown/Dropdown.d.ts +2 -2
  11. package/dist/components/Popover/Popover.d.ts +1 -1
  12. package/dist/components/RowActionsMenu/RowActionsMenu.d.ts +1 -1
  13. package/dist/components/SiteFooter/SiteFooter.d.ts +1 -1
  14. package/dist/components/SiteSearch/SiteSearch.d.ts +1 -1
  15. package/dist/components/StatPanel/StatPanel.d.ts +12 -3
  16. package/dist/components/StatusIndicator/StatusIndicator.d.ts +1 -1
  17. package/dist/components/Table/Table.d.ts +1 -1
  18. package/dist/components/TableOfContents/TableOfContents.d.ts +1 -1
  19. package/dist/components/Tabs/Tabs.d.ts +1 -1
  20. package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +1 -1
  21. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  22. package/dist/components/UtilityBar/UtilityBar.d.ts +1 -1
  23. package/dist/components/badges/Badge/Badge.d.ts +7 -2
  24. package/dist/components/badges/StatusBadge/StatusBadge.d.ts +1 -1
  25. package/dist/components/buttons/Button/Button.d.ts +4 -4
  26. package/dist/components/buttons/ButtonLink/ButtonLink.d.ts +2 -2
  27. package/dist/components/buttons/ClipboardButton/ClipboardButton.d.ts +1 -1
  28. package/dist/components/buttons/IconButton/IconButton.d.ts +2 -2
  29. package/dist/components/buttons/MenuButton/MenuButton.d.ts +4 -4
  30. package/dist/components/buttons/MenuButton/menu-button-sample-data.d.ts +1 -1
  31. package/dist/components/buttons/SSOButton/SSOButton.d.ts +1 -1
  32. package/dist/components/buttons/SegmentedButton/SegmentedButton.d.ts +1 -1
  33. package/dist/components/buttons/SplitButton/SplitButton.d.ts +2 -2
  34. package/dist/components/buttons/UtilityButton/UtilityButton.d.ts +1 -1
  35. package/dist/components/cards/ActionCard/ActionCard.d.ts +2 -2
  36. package/dist/components/cards/Card/Card.d.ts +1 -1
  37. package/dist/components/cards/CardSelect/CardSelect.d.ts +1 -1
  38. package/dist/components/empty-states/CompactEmptyState/CompactEmptyState.d.ts +2 -2
  39. package/dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +2 -2
  40. package/dist/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +2 -2
  41. package/dist/components/icons/Icon/Icon.d.ts +1 -1
  42. package/dist/components/icons/Icon/generated-icon-data.d.ts +9 -2
  43. package/dist/components/identity/AgentAvatar/AgentAvatar.d.ts +44 -0
  44. package/dist/components/identity/Avatar/Avatar.d.ts +9 -1
  45. package/dist/components/identity/AvatarLabel/AvatarLabel.d.ts +32 -5
  46. package/dist/components/identity/IdentityBlock/IdentityBlock.d.ts +18 -4
  47. package/dist/components/inputs/Checkbox/Checkbox.d.ts +1 -1
  48. package/dist/components/inputs/CheckboxFieldset/CheckboxFieldset.d.ts +1 -1
  49. package/dist/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  50. package/dist/components/inputs/Combobox/Combobox.d.ts +1 -1
  51. package/dist/components/inputs/Datepicker/Datepicker.d.ts +1 -1
  52. package/dist/components/inputs/FileUpload/FileUpload.d.ts +1 -1
  53. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -1
  54. package/dist/components/inputs/Select/Select.d.ts +2 -2
  55. package/dist/components/inputs/TagsInput/TagsInput.d.ts +1 -1
  56. package/dist/components/inputs/TextInput/TextInput.d.ts +1 -1
  57. package/dist/components/inputs/Textarea/Textarea.d.ts +1 -1
  58. package/dist/components/inputs/Timepicker/Timepicker.d.ts +1 -1
  59. package/dist/components/inputs/WorkspacePicker/WorkspacePicker.d.ts +1 -1
  60. package/dist/components/loading-indicators/Skeleton/Skeleton.d.ts +1 -1
  61. package/dist/components/loading-indicators/ThinkingState/ThinkingState.d.ts +49 -0
  62. package/dist/components/media/Illustration/generated-illustration-data.d.ts +1 -1
  63. package/dist/components/navigation/BASwitcher/BASwitcher.d.ts +104 -0
  64. package/dist/components/navigation/BookmarksMenu/BookmarksMenu.d.ts +1 -1
  65. package/dist/components/navigation/ButtonNav/ButtonNav.d.ts +1 -1
  66. package/dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +1 -1
  67. package/dist/components/navigation/Navbar/Navbar.d.ts +2 -2
  68. package/dist/components/navigation/SideNav/SideNav.d.ts +1 -1
  69. package/dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +2 -2
  70. package/dist/components/navigation/SiteMenu/SiteMenu.d.ts +1 -1
  71. package/dist/components/navigation/SiteMenu/SiteMenuDropdown.d.ts +1 -1
  72. package/dist/components/navigation/TabMenu/TabMenu.d.ts +2 -2
  73. package/dist/components/navigation/TabMenu/TabMenuDropdown.d.ts +1 -1
  74. package/dist/components/navigation/TreeNav/TreeNav.d.ts +1 -1
  75. package/dist/components/navigation/UserMenu/UserMenu.d.ts +2 -2
  76. package/dist/components/navigation/navigation-utilities.d.ts +2 -2
  77. package/dist/components/notifications/Banner/Banner.d.ts +2 -2
  78. package/dist/components/notifications/InlineMessage/InlineMessage.d.ts +1 -1
  79. package/dist/components/notifications/SectionMessage/SectionMessage.d.ts +3 -3
  80. package/dist/components/overlays/FullScreenOverlay/FullScreenOverlay.d.ts +1 -1
  81. package/dist/components/pagination/Pagination/Pagination.d.ts +1 -1
  82. package/dist/components/pagination/PaginationChapter/PaginationChapter.d.ts +1 -1
  83. package/dist/components/pagination/PaginationCompact/PaginationCompact.d.ts +1 -1
  84. package/dist/components/panels/BASelectorPanel/BASelectorPanel.d.ts +39 -0
  85. package/dist/components/panels/BookmarksPanel/BookmarksPanel.d.ts +1 -1
  86. package/dist/components/panels/FeaturePanel/FeaturePanel.d.ts +3 -3
  87. package/dist/components/panels/Panel/Panel.d.ts +1 -1
  88. package/dist/components/panels/PanelList/PanelRow.d.ts +1 -1
  89. package/dist/components/panels/WidgetPanel/WidgetPanel.d.ts +1 -1
  90. package/dist/components/panels/WorkspaceSelectorPanel/WorkspaceSelectorPanel.d.ts +1 -1
  91. package/dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +1 -1
  92. package/dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +1 -1
  93. package/dist/components/steppers/VerticalStepper/VerticalStep.d.ts +1 -1
  94. package/dist/css/component-css/pds-agent-avatar.css +1 -0
  95. package/dist/css/component-css/pds-avatar-label.css +1 -1
  96. package/dist/css/component-css/pds-avatar.css +1 -1
  97. package/dist/css/component-css/pds-ba-selector-panel.css +1 -0
  98. package/dist/css/component-css/pds-ba-switcher.css +1 -0
  99. package/dist/css/component-css/pds-badge.css +1 -1
  100. package/dist/css/component-css/pds-banner.css +1 -1
  101. package/dist/css/component-css/pds-bookmarks-menu.css +1 -1
  102. package/dist/css/component-css/pds-bookmarks-panel.css +1 -1
  103. package/dist/css/component-css/pds-bottom-sheet.css +1 -1
  104. package/dist/css/component-css/pds-branch-diff.css +1 -1
  105. package/dist/css/component-css/pds-bulk-action-bar.css +1 -1
  106. package/dist/css/component-css/pds-button-link.css +1 -1
  107. package/dist/css/component-css/pds-button.css +5 -5
  108. package/dist/css/component-css/pds-callout.css +1 -1
  109. package/dist/css/component-css/pds-card-select.css +1 -2
  110. package/dist/css/component-css/pds-checkbox.css +1 -1
  111. package/dist/css/component-css/pds-combobox-multiselect.css +1 -3
  112. package/dist/css/component-css/pds-compact-empty-state.css +1 -1
  113. package/dist/css/component-css/pds-datepicker.css +1 -1
  114. package/dist/css/component-css/pds-drawer.css +1 -1
  115. package/dist/css/component-css/pds-dropdown-menu.css +1 -2
  116. package/dist/css/component-css/pds-dropdown.css +1 -3
  117. package/dist/css/component-css/pds-expansion-panel.css +1 -2
  118. package/dist/css/component-css/pds-feature-panel.css +1 -15
  119. package/dist/css/component-css/pds-file-diff.css +1 -1
  120. package/dist/css/component-css/pds-filter-button.css +1 -1
  121. package/dist/css/component-css/pds-icon-button.css +2 -4
  122. package/dist/css/component-css/pds-identity-block.css +1 -1
  123. package/dist/css/component-css/pds-index.css +19 -138
  124. package/dist/css/component-css/pds-inline-message.css +1 -1
  125. package/dist/css/component-css/pds-input-utilities.css +1 -1
  126. package/dist/css/component-css/pds-menu-button.css +1 -11
  127. package/dist/css/component-css/pds-modal.css +1 -1
  128. package/dist/css/component-css/pds-nav-menu.css +1 -1
  129. package/dist/css/component-css/pds-navbar.css +1 -4
  130. package/dist/css/component-css/pds-pagination-chapter.css +1 -3
  131. package/dist/css/component-css/pds-panel-list.css +1 -1
  132. package/dist/css/component-css/pds-panel.css +1 -2
  133. package/dist/css/component-css/pds-pantheon-logo.css +1 -1
  134. package/dist/css/component-css/pds-pie-chart.css +1 -1
  135. package/dist/css/component-css/pds-popover.css +1 -1
  136. package/dist/css/component-css/pds-proportion-bar.css +1 -1
  137. package/dist/css/component-css/pds-radio-group.css +1 -1
  138. package/dist/css/component-css/pds-row-actions-menu.css +1 -2
  139. package/dist/css/component-css/pds-section-message.css +5 -1
  140. package/dist/css/component-css/pds-segmented-button.css +1 -2
  141. package/dist/css/component-css/pds-select-button.css +1 -1
  142. package/dist/css/component-css/pds-side-nav-global.css +1 -1
  143. package/dist/css/component-css/pds-side-nav.css +1 -3
  144. package/dist/css/component-css/pds-site-footer.css +1 -1
  145. package/dist/css/component-css/pds-site-search.css +1 -1
  146. package/dist/css/component-css/pds-sortable-list.css +1 -8
  147. package/dist/css/component-css/pds-spinner.css +1 -1
  148. package/dist/css/component-css/pds-split-button.css +1 -1
  149. package/dist/css/component-css/pds-sso-button.css +1 -1
  150. package/dist/css/component-css/pds-stat-panel.css +1 -1
  151. package/dist/css/component-css/pds-status-badge.css +1 -1
  152. package/dist/css/component-css/pds-status-checker.css +1 -1
  153. package/dist/css/component-css/pds-status-scrim.css +1 -1
  154. package/dist/css/component-css/pds-stepper.css +2 -4
  155. package/dist/css/component-css/pds-switch.css +2 -12
  156. package/dist/css/component-css/pds-tab-menu.css +1 -2
  157. package/dist/css/component-css/pds-table-of-contents.css +1 -1
  158. package/dist/css/component-css/pds-table.css +1 -7
  159. package/dist/css/component-css/pds-tabs.css +1 -1
  160. package/dist/css/component-css/pds-tag.css +1 -1
  161. package/dist/css/component-css/pds-tags-input.css +2 -1
  162. package/dist/css/component-css/pds-tally.css +1 -1
  163. package/dist/css/component-css/pds-thinking-state.css +1 -0
  164. package/dist/css/component-css/pds-toaster.css +1 -1
  165. package/dist/css/component-css/pds-tooltip.css +1 -1
  166. package/dist/css/component-css/pds-user-menu-story-only.css +1 -1
  167. package/dist/css/component-css/pds-user-menu.css +1 -32
  168. package/dist/css/component-css/pds-utility-button.css +1 -3
  169. package/dist/css/component-css/pds-vertical-empty-state.css +1 -1
  170. package/dist/css/component-css/pds-vertical-stepper.css +1 -1
  171. package/dist/css/component-css/pds-workspace-picker.css +1 -1
  172. package/dist/css/component-css/pds-workspace-selector-panel.css +1 -1
  173. package/dist/css/component-css/pds-workspace-selector.css +1 -23
  174. package/dist/css/layout-css/pds-app-layout.css +1 -3
  175. package/dist/css/layout-css/pds-docs-layout.css +1 -1
  176. package/dist/css/layout-css/pds-index.css +1 -3
  177. package/dist/css/layout-css/pds-sidebar-layout.css +1 -13
  178. package/dist/css/layout-css/pds-stat-panel-group.css +1 -1
  179. package/dist/css/layout-css/pds-stepper-layout.css +1 -1
  180. package/dist/css/pds-components.css +19 -138
  181. package/dist/css/pds-core.css +2 -2
  182. package/dist/css/pds-layouts.css +1 -3
  183. package/dist/index.css +1 -1
  184. package/dist/index.d.ts +4 -0
  185. package/dist/index.js +1888 -1435
  186. package/dist/index.js.map +1 -1
  187. package/dist/index.source.d.ts +4 -0
  188. package/dist/layouts/AppLayout/AppLayout.d.ts +1 -1
  189. package/dist/layouts/DocsLayout/DocsLayout.d.ts +9 -1
  190. package/dist/layouts/SidebarLayout/SidebarLayout.d.ts +1 -1
  191. package/dist/layouts/StepperLayout/StepperLayout.d.ts +4 -2
  192. package/dist/layouts/ThreeItemLayout/ThreeItemLayout.d.ts +1 -1
  193. package/dist/layouts/TwoItemLayout/TwoItemLayout.d.ts +1 -1
  194. package/dist/libs/components/SelectorPanel/SelectorPanel.d.ts +52 -0
  195. package/dist/libs/components/SiteOptionDisplay/SiteOptionDisplay.d.ts +1 -1
  196. package/dist/libs/components/StatusDot/StatusDot.d.ts +1 -1
  197. package/dist/libs/components/WorkspaceListItem/WorkspaceListItem.d.ts +2 -2
  198. package/dist/libs/components/utility-components.d.ts +1 -1
  199. package/dist/libs/components/utils.d.ts +1 -0
  200. package/dist/libs/types/custom-types.d.ts +2 -1
  201. package/dist/libs/types/layout-types.d.ts +1 -1
  202. package/dist/svg/arrowRightArrowLeft.svg +3 -0
  203. package/dist/utilities/Container/Container.d.ts +1 -1
  204. package/dist/utilities/FlexContainer/FlexContainer.d.ts +1 -1
  205. package/dist/utilities/GlobalWrapper/GlobalWrapper.d.ts +1 -1
  206. package/dist/utilities/auto-grid/AutoGrid.d.ts +1 -1
  207. package/dist/utilities/grid/Grid.d.ts +1 -1
  208. package/dist/utilities/hooks/useDropdown/useDropdown.d.ts +7 -1
  209. package/package.json +15 -14
@@ -26,9 +26,9 @@
26
26
  */
27
27
 
28
28
  import fs from 'fs';
29
- import path from 'path';
30
- import { createRequire } from 'module';
31
29
  import { globSync } from 'glob';
30
+ import { createRequire } from 'module';
31
+ import path from 'path';
32
32
 
33
33
  // JSON imports via createRequire — works in both CJS and ESM contexts
34
34
  const require = createRequire(import.meta.url);
@@ -136,7 +136,7 @@ function applyRenames(content) {
136
136
  }
137
137
 
138
138
  // Wildcard patterns
139
- for (const { regex, replacement, from } of PATTERNS) {
139
+ for (const { from, regex, replacement } of PATTERNS) {
140
140
  regex.lastIndex = 0;
141
141
  const next = result.replace(regex, replacement);
142
142
  if (next !== result) {
@@ -164,7 +164,7 @@ if (allFiles.length === 0) {
164
164
 
165
165
  for (const filePath of allFiles) {
166
166
  const content = fs.readFileSync(filePath, 'utf8');
167
- const { result, changed, appliedRenames } = applyRenames(content);
167
+ const { appliedRenames, changed, result } = applyRenames(content);
168
168
 
169
169
  totalFiles++;
170
170
  if (!changed) continue;
@@ -34,4 +34,4 @@ const K = () => <Spinner size={mySize} />;
34
34
  const L = () => <div size='sm' />;
35
35
 
36
36
  // Tooltip uses a different prop name: triggerIconSize
37
- const M = () => <Tooltip triggerIconSize="s" />;
37
+ const M = () => <Tooltip triggerIconSize="xs" />;
@@ -15,7 +15,7 @@ import {
15
15
  const A = () => <Button variant="secondary">Click</Button>;
16
16
  const B = () => <Button variant="subtle">Click</Button>;
17
17
  const C = () => (
18
- <MenuButton variant="subtle" id='menu' label='Menu' menuItems={[]} />
18
+ <MenuButton variant='navbar' id='menu' label='Menu' menuItems={[]} />
19
19
  );
20
20
  const D = () => (
21
21
  <IconButton variant="critical" iconName='x' label='Close' />
@@ -32,7 +32,12 @@ const I = () => (
32
32
  <Panel />
33
33
  );
34
34
  const J = () => (
35
- <Switch />
35
+ <Switch
36
+ showStatusLabel
37
+ statusLabelPlacement='end'
38
+ onLabel='On'
39
+ offLabel='Off'
40
+ />
36
41
  );
37
42
 
38
43
  // Conditional removal — remove only deprecated gradient values, leave valid values alone
@@ -31,6 +31,7 @@
31
31
  */
32
32
 
33
33
  const path = require('path');
34
+
34
35
  const mappings = require(path.join(__dirname, '../mappings.json'));
35
36
 
36
37
  // Build lookup for root package imports: { 'OldName': 'NewName' }
@@ -116,7 +117,7 @@ module.exports = function transform(file, api, options) {
116
117
  }
117
118
 
118
119
  // 1b. Deep path imports
119
- for (const { from, to, oldName, newName } of pathChanges) {
120
+ for (const { from, newName, oldName, to } of pathChanges) {
120
121
  if (!source.includes(from)) continue;
121
122
 
122
123
  nodePath.node.source = j.stringLiteral(source.replace(from, to));
@@ -28,6 +28,7 @@
28
28
  */
29
29
 
30
30
  const path = require('path');
31
+
31
32
  const mappings = require(path.join(__dirname, '../mappings.json'));
32
33
 
33
34
  // Build a flat map of oldIconName → newIconName from all iconName typeChanges
@@ -30,6 +30,7 @@
30
30
  */
31
31
 
32
32
  const path = require('path');
33
+
33
34
  const mappings = require(path.join(__dirname, '../mappings.json'));
34
35
 
35
36
  // Build lookup: { 'ComponentName.oldPropName': 'newPropName' }
@@ -27,6 +27,7 @@
27
27
  */
28
28
 
29
29
  const path = require('path');
30
+
30
31
  const mappings = require(path.join(__dirname, '../mappings.json'));
31
32
 
32
33
  // Build lookup: { 'ComponentName.propName': { oldValue: newValue } }
@@ -35,7 +36,7 @@ function buildMigrationLookup() {
35
36
  const lookup = {};
36
37
 
37
38
  for (const entry of mappings.props.typeChanges) {
38
- const { component, prop, migration } = entry;
39
+ const { component, migration, prop } = entry;
39
40
  if (!migration || typeof migration !== 'object' || Array.isArray(migration))
40
41
  continue;
41
42
 
@@ -39,6 +39,7 @@
39
39
  */
40
40
 
41
41
  const path = require('path');
42
+
42
43
  const mappings = require(path.join(__dirname, '../mappings.json'));
43
44
 
44
45
  // Entries that are too complex to automate
@@ -81,7 +82,7 @@ function buildLookups() {
81
82
  return { valueRewrites, propRemovals };
82
83
  }
83
84
 
84
- const { valueRewrites: ALL_VALUE_REWRITES, propRemovals: ALL_PROP_REMOVALS } =
85
+ const { propRemovals: ALL_PROP_REMOVALS, valueRewrites: ALL_VALUE_REWRITES } =
85
86
  buildLookups();
86
87
 
87
88
  module.exports = function transform(file, api, options) {
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { HeadingLevelCommon, StatusType } from '../../libs/types/custom-types';
2
+ import { HeadingLevelCommon, StatusType } from '../../libs/types/custom-types.js';
3
3
  import './callout.css';
4
4
  type CalloutType = StatusType | 'code' | 'earlyAccess';
5
5
  type TypeLabels = Record<CalloutType, string>;
@@ -1,6 +1,6 @@
1
1
  import React, { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { UseDropdownOptions } from '../../utilities/hooks/useDropdown';
3
- import { MenuButtonProps } from '../buttons/MenuButton/MenuButton';
2
+ import { UseDropdownOptions } from '../../utilities/hooks/useDropdown/index.js';
3
+ import { MenuButtonProps } from '../buttons/MenuButton/MenuButton.js';
4
4
  import './dropdown.css';
5
5
  export interface DropdownProps extends UseDropdownOptions {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { FuiPlacement, IconSize } from '../../libs/types/custom-types';
2
+ import { FuiPlacement, IconSize } from '../../libs/types/custom-types.js';
3
3
  import './popover.css';
4
4
  export interface PopoverProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'> {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { MenuButton } from '../buttons/MenuButton/MenuButton';
2
+ import { MenuButton } from '../buttons/MenuButton/MenuButton.js';
3
3
  import './row-actions-menu.css';
4
4
  /**
5
5
  * Prop types for RowActionsMenu
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactElement, ReactNode } from 'react';
2
- import { ContainerWidth } from '../../libs/types/custom-types';
2
+ import { ContainerWidth } from '../../libs/types/custom-types.js';
3
3
  import './site-footer.css';
4
4
  type LegalLinkKey = 'privacy' | 'dataSubjectRequest' | 'cookiePolicy' | 'termsOfUse' | 'acceptableUse' | 'accessibilityStatement';
5
5
  export interface SiteFooterProps extends ComponentPropsWithoutRef<'footer'> {
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { SiteOption } from '../../libs/components/SiteOptionDisplay/SiteOptionDisplay';
2
+ import { SiteOption } from '../../libs/components/SiteOptionDisplay/SiteOptionDisplay.js';
3
3
  import './site-search.css';
4
4
  type LabelStrings = {
5
5
  clearButton?: string;
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { StatusType } from '../../libs/types/custom-types';
3
- import { PDSIcon } from '../icons/Icon/Icon';
2
+ import { StatusType } from '../../libs/types/custom-types.js';
3
+ import { PDSIcon } from '../icons/Icon/Icon.js';
4
4
  import './stat-panel.css';
5
5
  /**
6
6
  * Color options for the icon, from the toolkit's standard status vocabulary
@@ -8,6 +8,10 @@ import './stat-panel.css';
8
8
  * the default foreground color.
9
9
  */
10
10
  export type StatPanelIconColor = StatusType | 'neutral';
11
+ /**
12
+ * Background options for the panel.
13
+ */
14
+ export type StatPanelBackground = 'default' | 'secondary' | 'transparent';
11
15
  /**
12
16
  * Prop types for StatPanel
13
17
  */
@@ -26,6 +30,11 @@ export interface StatPanelProps extends ComponentPropsWithoutRef<'div'> {
26
30
  * Accessible name for the action, also shown as its tooltip.
27
31
  */
28
32
  actionLabel?: string;
33
+ /**
34
+ * Background of the panel. `transparent` lets the panel sit directly on its
35
+ * container.
36
+ */
37
+ background?: StatPanelBackground;
29
38
  /**
30
39
  * Additional class names
31
40
  */
@@ -67,4 +76,4 @@ export interface StatPanelProps extends ComponentPropsWithoutRef<'div'> {
67
76
  /**
68
77
  * StatPanel UI component
69
78
  */
70
- export declare const StatPanel: ({ actionCallback, actionIcon, actionLabel, className, description, icon, iconColor, isActive, isLoading, stat, title, ...props }: StatPanelProps) => import("react/jsx-runtime").JSX.Element;
79
+ export declare const StatPanel: ({ actionCallback, actionIcon, actionLabel, background, className, description, icon, iconColor, isActive, isLoading, stat, title, ...props }: StatPanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { StatusType } from '../../libs/types/custom-types';
2
+ import { StatusType } from '../../libs/types/custom-types.js';
3
3
  import './status-indicator.css';
4
4
  export interface StatusIndicatorProps extends ComponentPropsWithoutRef<'div'> {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { PaginationCompactProps } from '../pagination/PaginationCompact/PaginationCompact';
2
+ import { PaginationCompactProps } from '../pagination/PaginationCompact/PaginationCompact.js';
3
3
  import './table.css';
4
4
  export type SortOrder = 'asc' | 'desc';
5
5
  export type DetailPanelContext = {
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { HeadingLevelCommon } from '../../libs/types/custom-types';
2
+ import { HeadingLevelCommon } from '../../libs/types/custom-types.js';
3
3
  import './table-of-contents.css';
4
4
  export interface TableOfContentsProps extends ComponentPropsWithoutRef<'nav'> {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { PDSIcon } from '../icons/Icon/Icon';
2
+ import { PDSIcon } from '../icons/Icon/Icon.js';
3
3
  import './tabs.css';
4
4
  interface Tabs {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { SegmentedButtonSize } from '../buttons/SegmentedButton/SegmentedButton';
2
+ import { SegmentedButtonSize } from '../buttons/SegmentedButton/SegmentedButton.js';
3
3
  import './theme-switcher.css';
4
4
  type Theme = 'light' | 'dark' | 'system';
5
5
  type ThemeSwitcherVariant = 'dropdown' | 'toggle';
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import { Placement } from '@floating-ui/react';
3
- import { FuiOffset, IconSize } from '../../libs/types/custom-types';
3
+ import { FuiOffset, IconSize } from '../../libs/types/custom-types.js';
4
4
  import './tooltip.css';
5
5
  interface TooltipProps extends ComponentPropsWithoutRef<'div'> {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { PaddingScale } from '../../libs/types/layout-types';
2
+ import { PaddingScale } from '../../libs/types/layout-types.js';
3
3
  import './utility-bar.css';
4
4
  type UtilityBarBackground = 'default' | 'default-secondary' | 'transparent';
5
5
  export interface UtilityBarProps extends ComponentPropsWithoutRef<'div'> {
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { PDSIcon } from '../../icons/Icon/Icon';
2
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
3
3
  import './badge.css';
4
4
  export type BadgeColor = 'ai-active' | 'brand' | 'brand-muted' | 'critical' | 'critical-muted' | 'discovery' | 'discovery-muted' | 'gold' | 'gold-muted' | 'indigo' | 'indigo-muted' | 'info' | 'info-muted' | 'ink' | 'ink-muted' | 'lime' | 'lime-muted' | 'orange' | 'orange-muted' | 'rose' | 'rose-muted' | 'silver' | 'silver-muted' | 'sky' | 'sky-muted' | 'slate' | 'slate-muted' | 'stone' | 'stone-muted' | 'success' | 'success-muted' | 'warning' | 'warning-muted';
5
5
  export type BadgeSize = 'xs' | 's' | 'm';
@@ -20,6 +20,11 @@ export interface BadgeProps extends ComponentPropsWithoutRef<'span'> {
20
20
  * colored to match the badge's foreground color.
21
21
  */
22
22
  iconName?: PDSIcon;
23
+ /**
24
+ * Let a long label wrap onto multiple lines within its container instead
25
+ * of staying on one line and overflowing.
26
+ */
27
+ isWrappable?: boolean;
23
28
  /**
24
29
  * Badge text or content.
25
30
  */
@@ -32,4 +37,4 @@ export interface BadgeProps extends ComponentPropsWithoutRef<'span'> {
32
37
  /**
33
38
  * Badge UI component
34
39
  */
35
- export declare const Badge: ({ className, color, iconName, label, size, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const Badge: ({ className, color, iconName, isWrappable, label, size, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { StatusType } from '../../../libs/types/custom-types';
2
+ import { StatusType } from '../../../libs/types/custom-types.js';
3
3
  import './status-badge.css';
4
4
  /**
5
5
  * StatusBadge component props
@@ -1,8 +1,8 @@
1
1
  import React, { ComponentPropsWithoutRef, MouseEvent, ReactNode } from 'react';
2
- import { StatusDotType } from '../../../libs/components/StatusDot/StatusDot';
3
- import { ButtonDisplayType, ButtonSize, ButtonType, ButtonVariant } from '../../../libs/types/custom-types';
4
- import { TallyProps } from '../../badges/Tally/Tally';
5
- import { PDSIcon } from '../../icons/Icon/Icon';
2
+ import { StatusDotType } from '../../../libs/components/StatusDot/StatusDot.js';
3
+ import { ButtonDisplayType, ButtonSize, ButtonType, ButtonVariant } from '../../../libs/types/custom-types.js';
4
+ import { TallyProps } from '../../badges/Tally/Tally.js';
5
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
6
6
  import './button.css';
7
7
  interface ButtonProps extends ComponentPropsWithoutRef<'button'> {
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { ButtonDisplayType, ButtonSize, ButtonVariant } from '../../../libs/types/custom-types';
3
- import { PDSIcon } from '../../icons/Icon/Icon';
2
+ import { ButtonDisplayType, ButtonSize, ButtonVariant } from '../../../libs/types/custom-types.js';
3
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
4
4
  import '../Button/button.css';
5
5
  import './button-link.css';
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { IconButtonSize } from '../../buttons/IconButton/IconButton';
2
+ import { IconButtonSize } from '../IconButton/IconButton.js';
3
3
  /**
4
4
  * Prop types for ClipboardButton
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import React, { ComponentPropsWithoutRef, MouseEvent } from 'react';
2
- import { ButtonType } from '../../../libs/types/custom-types';
3
- import { PDSIcon } from '../../icons/Icon/Icon';
2
+ import { ButtonType } from '../../../libs/types/custom-types.js';
3
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
4
4
  import './icon-button.css';
5
5
  export type IconButtonSize = 'xs' | 's' | 'm';
6
6
  interface IconButtonProps extends ComponentPropsWithoutRef<'button'> {
@@ -1,9 +1,9 @@
1
1
  import { ComponentPropsWithRef, ReactNode, RefObject } from 'react';
2
2
  import { type Placement } from '@floating-ui/react';
3
- import { StatusDotType } from '../../../libs/components/StatusDot/StatusDot';
4
- import { ButtonVariant, HeadingItemType, LinkItemType, MenuItemType, NodeItemType, SeparatorItemType } from '../../../libs/types/custom-types';
5
- import { TallyProps } from '../../badges/Tally/Tally';
6
- import { PDSIcon } from '../../icons/Icon/Icon';
3
+ import { StatusDotType } from '../../../libs/components/StatusDot/StatusDot.js';
4
+ import { ButtonVariant, HeadingItemType, LinkItemType, MenuItemType, NodeItemType, SeparatorItemType } from '../../../libs/types/custom-types.js';
5
+ import { TallyProps } from '../../badges/Tally/Tally.js';
6
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
7
7
  import '@components/Dropdown/dropdown.css';
8
8
  import './menu-button.css';
9
9
  type MenuButtonSize = 'xs' | 's' | 'm';
@@ -1,4 +1,4 @@
1
- import { HeadingItemType, LinkItemType, MenuItemType, SeparatorItemType } from '../../../libs/types/custom-types';
1
+ import { HeadingItemType, LinkItemType, MenuItemType, SeparatorItemType } from '../../../libs/types/custom-types.js';
2
2
  export declare const dialogMsgBase = "Activated menu item => ";
3
3
  export declare const simpleMenuItems: (MenuItemType | LinkItemType)[];
4
4
  export declare const iconMenuItems: MenuItemType[];
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, MouseEvent } from 'react';
2
- import { ButtonType } from '../../../libs/types/custom-types';
2
+ import { ButtonType } from '../../../libs/types/custom-types.js';
3
3
  import './sso-button.css';
4
4
  type SSOButtonSize = 'm' | 'l';
5
5
  type PlatformType = 'google' | 'microsoft';
@@ -1,4 +1,4 @@
1
- import { PDSIcon } from '../../icons/Icon/Icon';
1
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
2
2
  import './segmented-button.css';
3
3
  export type SegmentedButtonSize = 's' | 'm' | 'l';
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
2
  import type { Placement } from '@floating-ui/react';
3
- import { ButtonVariant, LinkItemType, MenuItemType } from '../../../libs/types/custom-types';
4
- import { PDSIcon } from '../../icons/Icon/Icon';
3
+ import { ButtonVariant, LinkItemType, MenuItemType } from '../../../libs/types/custom-types.js';
4
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
5
5
  import './split-button.css';
6
6
  type SplitButtonSize = 's' | 'm';
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { PDSIcon } from '../../icons/Icon/Icon';
2
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
3
3
  import './utility-button.css';
4
4
  /**
5
5
  * Prop types for UtilityButton
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactElement, ReactNode } from 'react';
2
- import { CardBackground, CardPaddingScale } from '../../../libs/types/layout-types';
3
- import { CardImageVariant } from '../../cards/Card/Card';
2
+ import { CardBackground, CardPaddingScale } from '../../../libs/types/layout-types.js';
3
+ import { CardImageVariant } from '../Card/Card.js';
4
4
  import './action-card.css';
5
5
  export interface ActionCardPrimaryAction {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { CardBackground, CardPaddingScale, ImageDisplayVariant } from '../../../libs/types/layout-types';
2
+ import { CardBackground, CardPaddingScale, ImageDisplayVariant } from '../../../libs/types/layout-types.js';
3
3
  import './card.css';
4
4
  export type CardImageVariant = ImageDisplayVariant;
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { CardBackground, CardPaddingScale } from '../../../libs/types/layout-types';
2
+ import { CardBackground, CardPaddingScale } from '../../../libs/types/layout-types.js';
3
3
  import './card-select.css';
4
4
  export interface CardOption {
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { HeadingLevelCommon } from '../../../libs/types/custom-types';
3
- import { PDSIcon } from '../../icons/Icon/Icon';
2
+ import { HeadingLevelCommon } from '../../../libs/types/custom-types.js';
3
+ import { PDSIcon } from '../../icons/Icon/Icon.js';
4
4
  import './compact-empty-state.css';
5
5
  /**
6
6
  * Prop types for CompactEmptyState
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { HeadingLevel } from '../../../libs/types/custom-types';
3
- import { VideoEmbedProps } from '../../media/VideoEmbed/VideoEmbed';
2
+ import { HeadingLevel } from '../../../libs/types/custom-types.js';
3
+ import { VideoEmbedProps } from '../../media/VideoEmbed/VideoEmbed.js';
4
4
  import './horizontal-empty-state.css';
5
5
  /**
6
6
  * Prop types for HorizontalEmptyState
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { HeadingLevel } from '../../../libs/types/custom-types';
3
- import { PDSIllustration } from '../../media/Illustration/Illustration';
2
+ import { HeadingLevel } from '../../../libs/types/custom-types.js';
3
+ import { PDSIllustration } from '../../media/Illustration/Illustration.js';
4
4
  import './vertical-empty-state.css';
5
5
  /**
6
6
  * Prop types for VerticalEmptyState
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- import { Display, IconSize } from '../../../libs/types/custom-types';
2
+ import { Display, IconSize } from '../../../libs/types/custom-types.js';
3
3
  import { iconList, type PDSIconName } from './generated-icon-data';
4
4
  import './icon.css';
5
5
  /**
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generated by: npm run generate:icon-data
5
5
  * Source: icon-registry.ts + Font Awesome packages + custom-icons.tsx
6
- * Generated: 2026-10-16T18:16:43.822Z
6
+ * Generated: 2026-10-30T00:48:37.600Z
7
7
  */
8
8
  import { customIcons } from './custom-icons';
9
9
  export { customIcons };
@@ -92,6 +92,13 @@ export declare const iconData: {
92
92
  readonly svgPathData: "M505 273c9.4-9.4 9.4-24.6 0-33.9L337 71c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l127 127-406.1 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l406.1 0-127 127c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L505 273z";
93
93
  readonly width: 512;
94
94
  };
95
+ readonly arrowRightArrowLeft: {
96
+ readonly aliases: readonly ["swap", "switch", "exchange", "transfer"];
97
+ readonly categories: readonly ["actions", "arrows"];
98
+ readonly height: 512;
99
+ readonly svgPathData: "M367 41l63 63-406.1 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l406.1 0-63 63c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L505 145c9.4-9.4 9.4-24.6 0-33.9L401 7c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9zM145 297c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L7 367c-9.4 9.4-9.4 24.6 0 33.9L111 505c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-63-63 406.1 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-406.1 0 63-63z";
100
+ readonly width: 512;
101
+ };
95
102
  readonly arrowsRetweet: {
96
103
  readonly aliases: readonly ["retweet", "swap", "exchange"];
97
104
  readonly categories: readonly ["actions", "arrows"];
@@ -1682,7 +1689,7 @@ export declare const iconData: {
1682
1689
  readonly width: 374;
1683
1690
  };
1684
1691
  };
1685
- export declare const iconList: readonly ["angleDown", "angleLeft", "angleRight", "anglesDown", "anglesLeft", "anglesRight", "anglesUp", "angleUp", "arrowDownToLine", "arrowDownWideShort", "arrowLeft", "arrowRight", "arrowsRetweet", "arrowUpShortWide", "asterisk", "banBug", "bars", "barsFilter", "barsStaggered", "bell", "billboard", "bitbucket", "bluesky", "bolt", "boltPantheon", "boltSolid", "book", "bookmark", "bookmarkSolid", "books", "box", "bracketRight", "bracketsSquare", "brainCircuit", "broomWide", "building", "buildings", "bullhorn", "calendarDays", "caretDown", "caretLeft", "caretRight", "caretUp", "ccAmex", "ccApplePay", "ccDiscover", "ccGeneric", "ccMC", "ccPaypal", "ccVisa", "chartLine", "chartNetwork", "chartSimple", "check", "circle", "circleCheck", "circleExclamation", "circleExclamationSolid", "circleHalfStroke", "circleInfo", "circleInfoSolid", "circleMinus", "circleNotch", "circlePlus", "circleQuestion", "circleQuestionSolid", "circleUser", "circleXmark", "claude", "clock", "cloud", "cloudArrowDown", "cloudArrowUp", "cloudPlus", "code", "codeBranch", "codeMerge", "collapseToCenter", "command", "comment", "compress", "copy", "desktop", "diagramVenn", "diamondExclamation", "diamonds4", "discourse", "display", "dollarSign", "download", "drupal", "ellipsis", "ellipsisVertical", "emptySet", "envelope", "envelopeOpen", "exclamation", "expand", "expandFromCenter", "externalLink", "eye", "eyeSlash", "facebook", "file", "fileCheck", "fileContract", "fileCSV", "fileDiff", "fileExport", "fileImport", "fileLines", "filePDF", "files", "fileZip", "floppyDisk", "folder", "folders", "folderTree", "gear", "gem", "github", "gitlab", "globe", "graduationCap", "grid", "grid2", "gripDots", "gripDotsVertical", "handWave", "heart", "heartSolid", "house", "idCard", "image", "inputText", "instagram", "keySkeleton", "landmark", "laptop", "laptopCode", "leaf", "lifeRing", "link", "linkedin", "list", "listCheck", "locationCrosshairs", "lock", "lockOpen", "magnifyingGlass", "medal", "memo", "messages", "minus", "moon", "move", "nextJs", "octagonExclamation", "openai", "paperclip", "paperPlane", "pause", "pen", "penField", "penPaintbrush", "phone", "play", "plus", "question", "quotesLeft", "quotesRight", "rectangleList", "rectanglesMixed", "reply", "robot", "rocketLaunch", "rotate", "rotateClock", "rotateLeft", "rotateRight", "rss", "save", "server", "shareNodes", "shield", "shieldQuartered", "shovel", "sidebar", "siren", "sirenOn", "sitemap", "slack", "slashForward", "slider", "slidersSimple", "snowflake", "sparkles", "sparklesSolid", "squareCheck", "squareCode", "squareDashed", "squareMinus", "squarePen", "squareQuestion", "squareTerminal", "star", "starSolid", "sun", "sunBright", "table", "tableColumns", "tableRows", "terminal", "text", "threads", "thumbsDown", "thumbsUp", "trash", "triangleExclamation", "twitter", "unlink", "upload", "user", "userAstronaut", "userGear", "userPlus", "users", "userSolid", "video", "wavePulse", "windowRestore", "wordpress", "wreathLaurel", "wrench", "xmark", "xmarkLarge", "xTwitter", "youtube", "zappy"];
1692
+ export declare const iconList: readonly ["angleDown", "angleLeft", "angleRight", "anglesDown", "anglesLeft", "anglesRight", "anglesUp", "angleUp", "arrowDownToLine", "arrowDownWideShort", "arrowLeft", "arrowRight", "arrowRightArrowLeft", "arrowsRetweet", "arrowUpShortWide", "asterisk", "banBug", "bars", "barsFilter", "barsStaggered", "bell", "billboard", "bitbucket", "bluesky", "bolt", "boltPantheon", "boltSolid", "book", "bookmark", "bookmarkSolid", "books", "box", "bracketRight", "bracketsSquare", "brainCircuit", "broomWide", "building", "buildings", "bullhorn", "calendarDays", "caretDown", "caretLeft", "caretRight", "caretUp", "ccAmex", "ccApplePay", "ccDiscover", "ccGeneric", "ccMC", "ccPaypal", "ccVisa", "chartLine", "chartNetwork", "chartSimple", "check", "circle", "circleCheck", "circleExclamation", "circleExclamationSolid", "circleHalfStroke", "circleInfo", "circleInfoSolid", "circleMinus", "circleNotch", "circlePlus", "circleQuestion", "circleQuestionSolid", "circleUser", "circleXmark", "claude", "clock", "cloud", "cloudArrowDown", "cloudArrowUp", "cloudPlus", "code", "codeBranch", "codeMerge", "collapseToCenter", "command", "comment", "compress", "copy", "desktop", "diagramVenn", "diamondExclamation", "diamonds4", "discourse", "display", "dollarSign", "download", "drupal", "ellipsis", "ellipsisVertical", "emptySet", "envelope", "envelopeOpen", "exclamation", "expand", "expandFromCenter", "externalLink", "eye", "eyeSlash", "facebook", "file", "fileCheck", "fileContract", "fileCSV", "fileDiff", "fileExport", "fileImport", "fileLines", "filePDF", "files", "fileZip", "floppyDisk", "folder", "folders", "folderTree", "gear", "gem", "github", "gitlab", "globe", "graduationCap", "grid", "grid2", "gripDots", "gripDotsVertical", "handWave", "heart", "heartSolid", "house", "idCard", "image", "inputText", "instagram", "keySkeleton", "landmark", "laptop", "laptopCode", "leaf", "lifeRing", "link", "linkedin", "list", "listCheck", "locationCrosshairs", "lock", "lockOpen", "magnifyingGlass", "medal", "memo", "messages", "minus", "moon", "move", "nextJs", "octagonExclamation", "openai", "paperclip", "paperPlane", "pause", "pen", "penField", "penPaintbrush", "phone", "play", "plus", "question", "quotesLeft", "quotesRight", "rectangleList", "rectanglesMixed", "reply", "robot", "rocketLaunch", "rotate", "rotateClock", "rotateLeft", "rotateRight", "rss", "save", "server", "shareNodes", "shield", "shieldQuartered", "shovel", "sidebar", "siren", "sirenOn", "sitemap", "slack", "slashForward", "slider", "slidersSimple", "snowflake", "sparkles", "sparklesSolid", "squareCheck", "squareCode", "squareDashed", "squareMinus", "squarePen", "squareQuestion", "squareTerminal", "star", "starSolid", "sun", "sunBright", "table", "tableColumns", "tableRows", "terminal", "text", "threads", "thumbsDown", "thumbsUp", "trash", "triangleExclamation", "twitter", "unlink", "upload", "user", "userAstronaut", "userGear", "userPlus", "users", "userSolid", "video", "wavePulse", "windowRestore", "wordpress", "wreathLaurel", "wrench", "xmark", "xmarkLarge", "xTwitter", "youtube", "zappy"];
1686
1693
  export type PDSIconName = (typeof iconList)[number];
1687
1694
  export declare const categoryList: readonly ["actions", "arrows", "brands", "communication", "custom", "data", "development", "documents", "financial", "media", "navigation", "objects", "security", "status", "users"];
1688
1695
  export type IconCategory = (typeof categoryList)[number];
@@ -0,0 +1,44 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import { AgenticIcon } from '../../../libs/types/custom-types.js';
3
+ import './agent-avatar.css';
4
+ export interface AgentAvatarProps extends ComponentPropsWithoutRef<'div'> {
5
+ /**
6
+ * Accessible name when the avatar is a link. Falls back to `label`.
7
+ */
8
+ ariaLabel?: string;
9
+ /**
10
+ * Additional class names
11
+ */
12
+ className?: string;
13
+ /**
14
+ * Show the AI gradient ring around the avatar.
15
+ */
16
+ hasHalo?: boolean;
17
+ /**
18
+ * Icon inside the avatar. `zappy` for Pantheon agents, `sparklesSolid` for
19
+ * other (third-party) agents.
20
+ */
21
+ iconName?: AgenticIcon;
22
+ /**
23
+ * Screen reader text that says this is an agent. Pass it translated.
24
+ */
25
+ label: string;
26
+ /**
27
+ * A link element using the router of your choice. Leave empty for no link.
28
+ */
29
+ linkContent?: ReactNode;
30
+ /**
31
+ * Avatar shape.
32
+ */
33
+ shape?: 'circle' | 'square';
34
+ /**
35
+ * Avatar size. `xs` = 16px, `s` = 20px (default), `m` = 24px, `l` = 32px,
36
+ * `xl` = 40px.
37
+ */
38
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl';
39
+ }
40
+ /**
41
+ * AgentAvatar UI component. Identifies an AI agent as the actor in activity
42
+ * logs, threads, and lists.
43
+ */
44
+ export declare const AgentAvatar: ({ ariaLabel, className, hasHalo, iconName, label, linkContent, shape, size, ...props }: AgentAvatarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import './avatar.css';
3
+ export type AvatarFallbackIcon = 'user' | 'business-account';
3
4
  export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
4
5
  /**
5
6
  * Aria label for the avatar when used as a link. This is required if using a link.
@@ -10,6 +11,13 @@ export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
10
11
  */
11
12
  className?: string;
12
13
  /**
14
+ * Icon displayed over the fallback gradient when an image is not provided.
15
+ * Takes precedence over `hasUserFallback`.
16
+ * @default null
17
+ */
18
+ fallbackIcon?: AvatarFallbackIcon | null;
19
+ /**
20
+ * @deprecated Use `fallbackIcon="user"` instead.
13
21
  * If true, a user icon will be displayed with the fallback gradient when an image is not provided.
14
22
  */
15
23
  hasUserFallback?: boolean;
@@ -38,4 +46,4 @@ export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
38
46
  /**
39
47
  * Avatar UI component
40
48
  */
41
- export declare const Avatar: ({ ariaLabel, className, hasUserFallback, imageSrc, linkContent, shape, size, uniqueId, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
49
+ export declare const Avatar: ({ ariaLabel, className, fallbackIcon, hasUserFallback, imageSrc, linkContent, shape, size, uniqueId, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;