@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/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/package.json +11 -11
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
|
|
244
|
+
items?: MenuItemProps[];
|
|
245
245
|
}
|
|
246
|
-
interface MenuProps
|
|
246
|
+
interface MenuProps extends MenuProps$1<MenuItemProps> {
|
|
247
247
|
itemSize?: "small" | "medium";
|
|
248
|
-
items?:
|
|
248
|
+
items?: MenuItemProps[];
|
|
249
249
|
sections?: MenuSectionProps[];
|
|
250
250
|
placement?: PopoverProps["placement"];
|
|
251
251
|
}
|
|
252
|
-
declare function Menu
|
|
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-
|
|
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.
|
|
64
|
-
"@storybook/addon-docs": "10.
|
|
65
|
-
"@storybook/addon-links": "10.
|
|
66
|
-
"@storybook/addon-vitest": "10.
|
|
67
|
-
"@storybook/react-vite": "10.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
95
|
+
"vite": "8.1.4",
|
|
96
96
|
"vitest": "4.1.10"
|
|
97
97
|
},
|
|
98
98
|
"optionalDependencies": {
|