@nexub/react 6.8.0 → 6.9.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.8.0",
2
+ "version": "6.9.0",
3
3
  "standard": "WCAG 2.2 Level AA",
4
4
  "method": {
5
5
  "automated": "axe-core rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa and wcag22aa, run on every Storybook story in light and dark, and on open popups (menus, listboxes, dialogs), on every pull request; a new violation fails the build.",
@@ -1522,15 +1522,6 @@
1522
1522
  "keyboard": [],
1523
1523
  "screenReader": []
1524
1524
  },
1525
- {
1526
- "slug": "step-indicator",
1527
- "name": "StepIndicator",
1528
- "package": "@nexub/patterns",
1529
- "automated": "pass",
1530
- "exceptions": [],
1531
- "keyboard": [],
1532
- "screenReader": []
1533
- },
1534
1525
  {
1535
1526
  "slug": "testimonial-grid",
1536
1527
  "name": "TestimonialGrid",
@@ -20,6 +20,8 @@ export interface AutocompleteProps {
20
20
  /**
21
21
  * `'popover'` (default): a field whose list opens below it while typing.
22
22
  * `'inline'`: the list always shows under the input (the 5.x default).
23
+ * @deprecated `mode` is removed in 7.0 with the inline layout; the popover stays.
24
+ * For an always-open list, use the Combobox parts.
23
25
  */
24
26
  mode?: 'inline' | 'popover';
25
27
  /** Adds a "Create “text”" option when the text matches no option exactly. */
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  export interface StepperStep {
3
- id: string;
3
+ /** Stable key. @default the label */
4
+ id?: string;
4
5
  label: string;
5
6
  description?: string;
6
7
  }
@@ -65,7 +65,7 @@ const Stepper = React.forwardRef(function Stepper2({ steps, current, completed:
65
65
  }
66
66
  ) : /* @__PURE__ */ jsx("span", { className: "p-1", children: body })
67
67
  },
68
- step.id
68
+ step.id ?? step.label
69
69
  );
70
70
  }) }) });
71
71
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/react",
3
- "version": "6.8.0",
3
+ "version": "6.9.0",
4
4
  "description": "React component library for Nexub Design System — 90+ accessible, themeable UI components built on Radix UI primitives.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -81,14 +81,14 @@
81
81
  "date-fns": "^4.4.0",
82
82
  "react-day-picker": "^10.0.2",
83
83
  "tailwind-merge": "^3.7.0",
84
- "@nexub/core": "6.8.0",
85
- "@nexub/icons": "6.8.0"
84
+ "@nexub/core": "6.9.0",
85
+ "@nexub/icons": "6.9.0"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "react": ">=19 <20",
89
89
  "react-dom": ">=19 <20",
90
90
  "@tanstack/react-virtual": "^3.14.22",
91
- "@nexub/tokens": "^6.8.0"
91
+ "@nexub/tokens": "^6.9.0"
92
92
  },
93
93
  "peerDependenciesMeta": {
94
94
  "@tanstack/react-virtual": {
@@ -120,8 +120,8 @@
120
120
  "vaul": "1.1.2",
121
121
  "vite": "^8.3.5",
122
122
  "vitest": "^5.0.5",
123
- "@nexub/themes": "6.8.0",
124
- "@nexub/tokens": "6.8.0"
123
+ "@nexub/themes": "6.9.0",
124
+ "@nexub/tokens": "6.9.0"
125
125
  },
126
126
  "scripts": {
127
127
  "build": "rm -rf dist && tsup && tsc -p tsconfig.build.json && rm -f dist/vendor/*.d.ts && node scripts/check-dts.mjs && tailwindcss -i src/styles.css -o dist/styles.css --minify && cp -R ../themes/src/fonts dist/fonts",