@bcgov/design-system-react-components 0.7.0-pr679 → 0.7.0-pr680
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 +8 -8
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/package.json +23 -23
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ interface AccordionGroupProps extends DisclosureGroupProps {
|
|
|
15
15
|
declare function AccordionGroup({ title, titleElement, children, ...props }: AccordionGroupProps): react_jsx_runtime.JSX.Element;
|
|
16
16
|
|
|
17
17
|
interface AlertBannerProps extends React.PropsWithChildren {
|
|
18
|
+
size?: "small" | "medium";
|
|
19
|
+
layout?: "fixed" | "fluid";
|
|
18
20
|
variant?: "info" | "success" | "warning" | "danger" | "black";
|
|
19
21
|
isIconHidden?: boolean;
|
|
20
22
|
isCloseable?: boolean;
|
|
@@ -22,7 +24,7 @@ interface AlertBannerProps extends React.PropsWithChildren {
|
|
|
22
24
|
customIcon?: React.ReactNode;
|
|
23
25
|
onClose?: () => void;
|
|
24
26
|
}
|
|
25
|
-
declare function AlertBanner({ variant, isIconHidden, isCloseable, role, onClose, children, customIcon, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
|
|
27
|
+
declare function AlertBanner({ variant, size, layout, isIconHidden, isCloseable, role, onClose, children, customIcon, ...props }: AlertBannerProps): react_jsx_runtime.JSX.Element;
|
|
26
28
|
|
|
27
29
|
interface AlertDialogProps extends DialogProps$1 {
|
|
28
30
|
variant?: "info" | "confirmation" | "warning" | "error" | "destructive";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcgov/design-system-react-components",
|
|
3
|
-
"version": "0.7.0-
|
|
3
|
+
"version": "0.7.0-pr680",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/bcgov/design-system.git",
|
|
@@ -54,46 +54,46 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/js": "10.0.1",
|
|
57
|
-
"@figma/code-connect": "1.4.
|
|
57
|
+
"@figma/code-connect": "1.4.5",
|
|
58
58
|
"@react-stately/data": "3.16.0",
|
|
59
59
|
"@rollup/plugin-commonjs": "29.0.2",
|
|
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.4.0",
|
|
64
|
+
"@storybook/addon-docs": "10.4.0",
|
|
65
|
+
"@storybook/addon-links": "10.4.0",
|
|
66
|
+
"@storybook/addon-vitest": "10.4.0",
|
|
67
|
+
"@storybook/react-vite": "10.4.0",
|
|
68
68
|
"@testing-library/jest-dom": "6.9.1",
|
|
69
69
|
"@testing-library/react": "16.3.2",
|
|
70
|
-
"@types/node": "
|
|
71
|
-
"@types/react": "19.2.
|
|
70
|
+
"@types/node": "25.9.1",
|
|
71
|
+
"@types/react": "19.2.15",
|
|
72
72
|
"@types/react-dom": "19.2.3",
|
|
73
|
-
"@typescript-eslint/eslint-plugin": "8.59.
|
|
74
|
-
"@typescript-eslint/parser": "8.59.
|
|
75
|
-
"@vitejs/plugin-react": "6.0.
|
|
76
|
-
"@vitest/browser-playwright": "4.1.
|
|
77
|
-
"@vitest/coverage-v8": "4.1.
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "8.59.4",
|
|
74
|
+
"@typescript-eslint/parser": "8.59.4",
|
|
75
|
+
"@vitejs/plugin-react": "6.0.2",
|
|
76
|
+
"@vitest/browser-playwright": "4.1.7",
|
|
77
|
+
"@vitest/coverage-v8": "4.1.7",
|
|
78
78
|
"axe-playwright": "2.2.2",
|
|
79
|
-
"eslint": "10.
|
|
79
|
+
"eslint": "10.4.0",
|
|
80
80
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
81
81
|
"eslint-plugin-react-refresh": "0.5.2",
|
|
82
|
-
"eslint-plugin-storybook": "10.
|
|
82
|
+
"eslint-plugin-storybook": "10.4.0",
|
|
83
83
|
"globals": "17.5.0",
|
|
84
|
-
"jsdom": "29.
|
|
85
|
-
"playwright": "1.
|
|
84
|
+
"jsdom": "29.1.1",
|
|
85
|
+
"playwright": "1.60.0",
|
|
86
86
|
"prettier": "3.8.3",
|
|
87
|
-
"rollup": "4.60.
|
|
87
|
+
"rollup": "4.60.4",
|
|
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.4.0",
|
|
92
92
|
"tslib": "2.8.1",
|
|
93
93
|
"typescript": "6.0.3",
|
|
94
|
-
"typescript-eslint": "8.59.
|
|
95
|
-
"vite": "8.0.
|
|
96
|
-
"vitest": "4.1.
|
|
94
|
+
"typescript-eslint": "8.59.4",
|
|
95
|
+
"vite": "8.0.13",
|
|
96
|
+
"vitest": "4.1.7"
|
|
97
97
|
},
|
|
98
98
|
"optionalDependencies": {
|
|
99
99
|
"@rollup/rollup-linux-x64-gnu": "*"
|