@pantheon-systems/pds-toolkit-react 2.0.0-alpha.26 → 2.0.0-alpha.28

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
  */
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-alpha.26",
4
+ "version": "2.0.0-alpha.28",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -101,7 +101,7 @@
101
101
  "@babel/preset-typescript": "^7.28.5",
102
102
  "@csstools/postcss-design-tokens": "^2.0.4",
103
103
  "@csstools/postcss-global-data": "^1.0.3",
104
- "@playwright/test": "1.56.1",
104
+ "@playwright/test": "^1.60.0",
105
105
  "@storybook/addon-a11y": "^10.4.0",
106
106
  "@storybook/addon-docs": "^10.4.0",
107
107
  "@storybook/addon-links": "^10.4.0",
@@ -163,11 +163,11 @@
163
163
  "@dnd-kit/utilities": "^3.2.2",
164
164
  "@floating-ui/react": "^0.24.3",
165
165
  "@floating-ui/react-dom": "~1.3.0",
166
- "@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.41",
166
+ "@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.42",
167
167
  "@reactuses/core": "^5.0.15",
168
168
  "date-fns": "^4.1.0",
169
169
  "downshift": "^9.3.2",
170
- "express": "^4.22.2",
170
+ "express": "^5.0.0",
171
171
  "express-rate-limit": "^8.5.2",
172
172
  "focus-trap-react": "^10.2.1",
173
173
  "hash-sum": "^2.0.0",