@pantheon-systems/pds-toolkit-react 2.0.0-beta.6 → 2.0.0-beta.8

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 (29) hide show
  1. package/dist/components/Table/Table.d.ts +24 -7
  2. package/dist/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +45 -7
  3. package/dist/components/icons/Icon/generated-icon-data.d.ts +1 -1
  4. package/dist/components/media/Illustration/Illustration.d.ts +37 -0
  5. package/dist/components/media/Illustration/generated-illustration-data.d.ts +16 -0
  6. package/dist/components/media/Illustration/illustration-registry.d.ts +19 -0
  7. package/dist/css/component-css/pds-compact-empty-state.css +1 -1
  8. package/dist/css/component-css/pds-horizontal-empty-state.css +1 -1
  9. package/dist/css/component-css/pds-illustration.css +1 -0
  10. package/dist/css/component-css/pds-index.css +5 -5
  11. package/dist/css/component-css/pds-table.css +1 -1
  12. package/dist/css/component-css/pds-toaster.css +1 -1
  13. package/dist/css/component-css/pds-vertical-empty-state.css +1 -1
  14. package/dist/css/component-css/pds-workspace-picker.css +1 -1
  15. package/dist/css/component-css/pds-workspace-selector.css +1 -1
  16. package/dist/css/design-tokens/variables.dark.css +3 -0
  17. package/dist/css/design-tokens/variables.light.css +3 -0
  18. package/dist/css/layout-css/pds-app-layout.css +1 -1
  19. package/dist/css/layout-css/pds-index.css +1 -1
  20. package/dist/css/pds-components.css +5 -5
  21. package/dist/css/pds-core.css +1 -1
  22. package/dist/css/pds-layouts.css +1 -1
  23. package/dist/index.css +1 -1
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.js +2071 -1332
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.source.d.ts +1 -0
  28. package/dist/libs/components/WorkspaceListItem/WorkspaceListItem.d.ts +6 -5
  29. package/package.json +11 -3
@@ -57,6 +57,7 @@ export * from './components/links/LinkNewWindow/LinkNewWindow';
57
57
  export * from './components/links/Skiplink/Skiplink';
58
58
  export * from './components/loading-indicators/Skeleton/Skeleton';
59
59
  export * from './components/loading-indicators/Spinner/Spinner';
60
+ export * from './components/media/Illustration/Illustration';
60
61
  export * from './components/media/Picture/Picture';
61
62
  export * from './components/media/VideoEmbed/VideoEmbed';
62
63
  export * from './components/navigation/BookmarksMenu/BookmarksMenu';
@@ -31,10 +31,11 @@ export interface WorkspaceListItemProps extends ComponentPropsWithoutRef<'div'>
31
31
  workspace: WorkspaceSelectorItem;
32
32
  }
33
33
  /**
34
- * Shared avatar/name/status markup for a single workspace, used by both
35
- * `WorkspaceSelector` (dropdown menu item) and `WorkspaceSelectorPanel`
36
- * (embedded list item). Intentionally has no interactive wrapper, list
37
- * semantics, or ARIA role of its own -- each caller owns those, since the
38
- * two components' items differ (menuitem vs. plain list item).
34
+ * Shared avatar/name/status markup for a single workspace, used by
35
+ * `WorkspaceSelector` (dropdown menu item), `WorkspaceSelectorPanel`
36
+ * (embedded list item), and `WorkspacePicker` (selectable list item).
37
+ * Intentionally has no interactive wrapper, list semantics, or ARIA role of
38
+ * its own -- each caller owns those, since their items differ (menuitem vs.
39
+ * plain list item vs. selectable button).
39
40
  */
40
41
  export declare const WorkspaceListItem: ({ avatarSize, className, showActiveState, workspace, ...props }: WorkspaceListItemProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
3
  "technology": "React",
4
- "version": "2.0.0-beta.6",
4
+ "version": "2.0.0-beta.8",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -47,7 +47,7 @@
47
47
  ],
48
48
  "type": "module",
49
49
  "scripts": {
50
- "prebuild:lib": "node scripts/generate-icon-data.js && node scripts/filter-exports-by-tags.js --filter",
50
+ "prebuild:lib": "node scripts/generate-icon-data.js && node scripts/generate-illustration-data.js && node scripts/filter-exports-by-tags.js --filter",
51
51
  "build:lib": "vite build && npm run build:types",
52
52
  "build:types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
53
53
  "postbuild:lib": "npm run build:css && npm run build:css:components && npm run build:css:layouts && npm run build:css:packageExtraCss && npm run generate:svg-icons",
@@ -88,6 +88,8 @@
88
88
  "generate:component": "plop component",
89
89
  "generate:icon": "plop icon",
90
90
  "generate:icon-data": "node scripts/generate-icon-data.js",
91
+ "generate:illustration": "plop illustration",
92
+ "generate:illustration-data": "node scripts/generate-illustration-data.js",
91
93
  "generate:svg-icons": "node scripts/generate-svg-files.js",
92
94
  "generate:layout": "plop layout",
93
95
  "generate:foundation": "plop foundation",
@@ -113,9 +115,13 @@
113
115
  "devDependencies": {
114
116
  "@arethetypeswrong/cli": "^0.15.3",
115
117
  "@axe-core/playwright": "^4.11.3",
118
+ "@babel/generator": "^8.0.6",
119
+ "@babel/parser": "^7.29.9",
116
120
  "@babel/preset-env": "^7.29.5",
117
121
  "@babel/preset-react": "^7.18.6",
118
122
  "@babel/preset-typescript": "^7.28.5",
123
+ "@babel/traverse": "^8.0.6",
124
+ "@babel/types": "^8.0.6",
119
125
  "@csstools/postcss-design-tokens": "^2.0.4",
120
126
  "@csstools/postcss-global-data": "^1.0.3",
121
127
  "@fortawesome/free-brands-svg-icons": "7.2.0",
@@ -129,6 +135,8 @@
129
135
  "@storybook/addon-webpack5-compiler-swc": "^4.0.3",
130
136
  "@storybook/react-vite": "^10.4.0",
131
137
  "@storybook/react-webpack5": "^10.4.0",
138
+ "@svgr/core": "^8.1.0",
139
+ "@svgr/plugin-jsx": "^8.1.0",
132
140
  "@types/prismjs": "^1.26.6",
133
141
  "@types/react": "^19.2.14",
134
142
  "@typescript-eslint/eslint-plugin": "^8.59.3",
@@ -186,7 +194,7 @@
186
194
  "@floating-ui/react": "^0.24.3",
187
195
  "@floating-ui/react-dom": "~1.3.0",
188
196
  "@internationalized/date": "^3.12.2",
189
- "@pantheon-systems/pds-design-tokens": "^2.0.0-beta.0",
197
+ "@pantheon-systems/pds-design-tokens": "^2.0.0-beta.1",
190
198
  "@reactuses/core": "^5.0.15",
191
199
  "date-fns": "^4.1.0",
192
200
  "downshift": "^9.3.2",