@pantheon-systems/pds-toolkit-react 1.16.0 → 1.17.0

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.
@@ -4,6 +4,10 @@ export type NavigationItem = {
4
4
  * A boolean indicating whether the item is the active item.
5
5
  */
6
6
  isActive?: boolean | null;
7
+ /**
8
+ * Renders a visual separator instead of a navigation item. When true, all other fields are ignored.
9
+ */
10
+ isSeparator?: boolean;
7
11
  /**
8
12
  * Link content — a fully-formed link element using the router of your choice. If a string is provided instead, the item will be rendered as a link that navigates to the first child item.
9
13
  */
@@ -18,6 +22,10 @@ export type FlattenedNavigationItem = {
18
22
  * A boolean indicating whether the item is the active item.
19
23
  */
20
24
  isActive?: boolean | null;
25
+ /**
26
+ * Renders a visual separator instead of a navigation item.
27
+ */
28
+ isSeparator?: boolean;
21
29
  /**
22
30
  * Nesting level of the item.
23
31
  */
@@ -16,6 +16,7 @@ export declare const blogMenuItems: {
16
16
  linkContent: import("react/jsx-runtime").JSX.Element;
17
17
  }[];
18
18
  export declare const dashboardNavSampleMenuItems: SideNavGlobalItemProps[];
19
+ export declare const dashboardNavSampleSecondaryMenuItems: SideNavGlobalItemProps[];
19
20
  export declare const dashboardNavSampleMenuItemsRR: SideNavGlobalItemProps[];
20
21
  export declare const documentationMenuItems: ({
21
22
  label: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
3
  "technology": "React",
4
- "version": "1.16.0",
4
+ "version": "1.17.0",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -85,60 +85,60 @@
85
85
  },
86
86
  "devDependencies": {
87
87
  "@arethetypeswrong/cli": "^0.15.3",
88
- "@axe-core/playwright": "^4.11.0",
89
- "@babel/preset-env": "^7.21.5",
88
+ "@axe-core/playwright": "^4.11.3",
89
+ "@babel/preset-env": "^7.29.5",
90
90
  "@babel/preset-react": "^7.18.6",
91
91
  "@babel/preset-typescript": "^7.28.5",
92
92
  "@csstools/postcss-design-tokens": "^2.0.4",
93
93
  "@csstools/postcss-global-data": "^1.0.3",
94
- "@playwright/test": "^1.36.2",
95
- "@storybook/addon-a11y": "^10.3.0",
96
- "@storybook/addon-docs": "^10.3.0",
97
- "@storybook/addon-links": "^10.3.0",
98
- "@storybook/addon-mcp": "^0.5.0",
99
- "@storybook/addon-webpack5-compiler-swc": "^4.0.2",
100
- "@storybook/react-vite": "^10.3.0",
101
- "@storybook/react-webpack5": "^10.3.0",
102
- "@types/prismjs": "^1.26.5",
103
- "@types/react": "^19.2.2",
104
- "@typescript-eslint/eslint-plugin": "^8.47.0",
105
- "@typescript-eslint/parser": "^8.47.0",
94
+ "@playwright/test": "^1.60.0",
95
+ "@storybook/addon-a11y": "^10.4.0",
96
+ "@storybook/addon-docs": "^10.4.0",
97
+ "@storybook/addon-links": "^10.4.0",
98
+ "@storybook/addon-mcp": "^0.6.0",
99
+ "@storybook/addon-webpack5-compiler-swc": "^4.0.3",
100
+ "@storybook/react-vite": "^10.4.0",
101
+ "@storybook/react-webpack5": "^10.4.0",
102
+ "@types/prismjs": "^1.26.6",
103
+ "@types/react": "^19.2.14",
104
+ "@typescript-eslint/eslint-plugin": "^8.59.3",
105
+ "@typescript-eslint/parser": "^8.59.3",
106
106
  "@vitejs/plugin-react": "^4.3.0",
107
107
  "@vueless/storybook-dark-mode": "^9.0.9",
108
108
  "axe-html-reporter": "^2.2.3",
109
109
  "concurrently": "^8.0.1",
110
110
  "cssnano": "^6.0.1",
111
- "eslint": "^9.26.0",
111
+ "eslint": "^9.39.4",
112
112
  "eslint-config-prettier": "^9.1.0",
113
113
  "eslint-import-resolver-typescript": "^4.4.4",
114
114
  "eslint-plugin-import": "^2.32.0",
115
- "eslint-plugin-prettier": "^5.1.3",
115
+ "eslint-plugin-prettier": "^5.5.5",
116
116
  "eslint-plugin-react": "^7.32.2",
117
117
  "eslint-plugin-simple-import-sort": "^12.1.1",
118
118
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
119
- "eslint-plugin-storybook": "^10.3.0",
119
+ "eslint-plugin-storybook": "^10.4.0",
120
120
  "eslint-plugin-typescript-sort-keys": "^3.3.0",
121
121
  "fast-glob": "^3.3.2",
122
122
  "husky": "^8.0.3",
123
123
  "lint-staged": "^13.2.3",
124
124
  "pino-pretty": "^13.1.3",
125
125
  "plop": "^3.1.2",
126
- "postcss": "^8.4.38",
126
+ "postcss": "^8.5.14",
127
127
  "postcss-cli": "^10.1.0",
128
128
  "postcss-custom-media": "^9.1.3",
129
129
  "postcss-import": "^15.1.0",
130
130
  "postcss-insert": "^1.0.0",
131
- "postcss-loader": "^8.1.1",
131
+ "postcss-loader": "^8.2.1",
132
132
  "postcss-nested": "^6.0.1",
133
- "prettier": "3.2.5",
134
- "prettier-plugin-css-order": "^2.1.2",
133
+ "prettier": "^3.8.3",
134
+ "prettier-plugin-css-order": "^2.2.0",
135
135
  "react": "^18.2.0",
136
136
  "react-dom": "^18.2.0",
137
137
  "react-router-dom": "^6.13.0",
138
- "storybook": "^10.3.0",
139
- "tsc-alias": "^1.8.16",
138
+ "storybook": "^10.4.0",
139
+ "tsc-alias": "^1.8.17",
140
140
  "typescript": "^5.4.5",
141
- "vite": "^7.2.2",
141
+ "vite": "^7.3.3",
142
142
  "vite-plugin-lib-inject-css": "^2.1.1",
143
143
  "vite-tsconfig-paths": "^4.3.2"
144
144
  },
@@ -152,9 +152,9 @@
152
152
  "@pantheon-systems/pds-design-tokens": "^1.0.0",
153
153
  "@reactuses/core": "^5.0.15",
154
154
  "date-fns": "^4.1.0",
155
- "downshift": "^9.0.8",
156
- "express": "^4.22.1",
157
- "express-rate-limit": "^8.2.1",
155
+ "downshift": "^9.3.2",
156
+ "express": "^4.22.2",
157
+ "express-rate-limit": "^8.5.2",
158
158
  "focus-trap-react": "^10.2.1",
159
159
  "hash-sum": "^2.0.0",
160
160
  "pino": "^10.3.1",
@@ -165,8 +165,14 @@
165
165
  "react-day-picker": "^9.11.1",
166
166
  "react-device-detect": "^2.2.3",
167
167
  "react-hotkeys-hook": "^4.5.1",
168
- "recharts": "^3.8.1",
169
- "react-toastify": "^10.0.6"
168
+ "react-toastify": "^10.0.6",
169
+ "recharts": "^3.8.1"
170
+ },
171
+ "overrides": {
172
+ "@babel/plugin-transform-modules-systemjs": "^7.29.4",
173
+ "fast-uri": "^3.1.2",
174
+ "hono": "^4.12.18",
175
+ "ip-address": "^10.1.1"
170
176
  },
171
177
  "lint-staged": {
172
178
  "*": "prettier --write --ignore-unknown",