@bcgov/design-system-react-components 0.8.1-pr793 → 0.8.1-pr795

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.
package/dist/index.d.ts CHANGED
@@ -241,15 +241,15 @@ declare function MenuItem({ size, label, description, iconLeft, ...props }: Menu
241
241
  interface MenuSectionProps {
242
242
  id: Key;
243
243
  header?: string;
244
- items: MenuItemProps[];
244
+ items?: MenuItemProps[];
245
245
  }
246
- interface MenuProps<T extends MenuItemProps> extends MenuProps$1<T> {
246
+ interface MenuProps extends MenuProps$1<MenuItemProps> {
247
247
  itemSize?: "small" | "medium";
248
- items?: T[];
248
+ items?: MenuItemProps[];
249
249
  sections?: MenuSectionProps[];
250
250
  placement?: PopoverProps["placement"];
251
251
  }
252
- declare function Menu<T extends MenuItemProps>({ itemSize, children, items, sections, placement, ...props }: MenuProps<T>): react.JSX.Element;
252
+ declare function Menu({ itemSize, children, items, sections, placement, ...props }: MenuProps): react.JSX.Element;
253
253
 
254
254
  declare function Modal({ children, ...props }: ModalOverlayProps): react.JSX.Element;
255
255
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcgov/design-system-react-components",
3
- "version": "0.8.1-pr793",
3
+ "version": "0.8.1-pr795",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/bcgov/design-system.git",
@@ -60,14 +60,14 @@
60
60
  "@rollup/plugin-json": "6.1.0",
61
61
  "@rollup/plugin-node-resolve": "16.0.3",
62
62
  "@rollup/plugin-typescript": "12.3.0",
63
- "@storybook/addon-a11y": "10.4.6",
64
- "@storybook/addon-docs": "10.4.6",
65
- "@storybook/addon-links": "10.4.6",
66
- "@storybook/addon-vitest": "10.4.6",
67
- "@storybook/react-vite": "10.4.6",
63
+ "@storybook/addon-a11y": "10.5.0",
64
+ "@storybook/addon-docs": "10.5.0",
65
+ "@storybook/addon-links": "10.5.0",
66
+ "@storybook/addon-vitest": "10.5.0",
67
+ "@storybook/react-vite": "10.5.0",
68
68
  "@testing-library/jest-dom": "6.9.1",
69
69
  "@testing-library/react": "16.3.2",
70
- "@types/node": "25.9.4",
70
+ "@types/node": "25.9.5",
71
71
  "@types/react": "19.2.17",
72
72
  "@types/react-dom": "19.2.3",
73
73
  "@typescript-eslint/eslint-plugin": "8.62.1",
@@ -79,20 +79,20 @@
79
79
  "eslint": "10.6.0",
80
80
  "eslint-plugin-react-hooks": "7.1.1",
81
81
  "eslint-plugin-react-refresh": "0.5.3",
82
- "eslint-plugin-storybook": "10.4.6",
82
+ "eslint-plugin-storybook": "10.5.0",
83
83
  "globals": "17.7.0",
84
84
  "jsdom": "29.1.1",
85
85
  "playwright": "1.61.1",
86
- "prettier": "3.9.4",
86
+ "prettier": "3.9.5",
87
87
  "rollup": "4.62.2",
88
88
  "rollup-plugin-dts": "6.4.1",
89
89
  "rollup-plugin-peer-deps-external": "2.2.4",
90
90
  "rollup-plugin-postcss": "4.0.2",
91
- "storybook": "10.4.6",
91
+ "storybook": "10.5.0",
92
92
  "tslib": "2.8.1",
93
93
  "typescript": "6.0.3",
94
94
  "typescript-eslint": "8.62.1",
95
- "vite": "8.1.3",
95
+ "vite": "8.1.4",
96
96
  "vitest": "4.1.10"
97
97
  },
98
98
  "optionalDependencies": {