@bcgov/design-system-react-components 0.7.0-pr664 → 0.7.0-pr667
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 +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +33 -26
package/dist/cjs/index.cjs
CHANGED
|
@@ -29287,7 +29287,7 @@ function Header({ children, logoLinkElement, logoImage = jsxRuntime.jsx(SvgBcLog
|
|
|
29287
29287
|
}) })), title && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: "bcds-header--line" }), getTitle()] })), children] }) }));
|
|
29288
29288
|
}
|
|
29289
29289
|
|
|
29290
|
-
var css_248z$j = ".bcds-Inline-Alert {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: var(--layout-margin-small);\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n}\n\n/* Alert content */\n.bcds-Inline-Alert--container {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n\n.bcds-Inline-Alert--container > .title {\n font: var(--typography-bold-body);\n color: var(--typography-color-primary);\n}\n\n.bcds-Inline-Alert--container > .description {\n font: var(--typography-regular-body);\n color: var(--typography-color-primary);\n}\n\n/* Left icon */\n.bcds-Inline-Alert--icon {\n display: inline-flex;\n align-self: flex-start;\n padding-top: var(--layout-padding-xsmall);\n}\n\n.bcds-Inline-Alert--icon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Closeable */\n.bcds-Inline-Alert.closeable {\n /*\n Because the close icon button is removed from the document flow, we\n manually adjust the padding to push the `--container` element off the right\n edge of the InlineAlert.\n */\n padding: var(--layout-padding-medium) 52px var(--layout-padding-medium)\n var(--layout-padding-large);\n}\n\n.bcds-Inline-Alert--closeIcon {\n align-self: first baseline;\n color: var(--icons-color-primary);\n position: relative;\n}\n\n.bcds-Inline-Alert--closeIcon > button {\n position: absolute;\n /*\n Centers the button vertically.\n Button height (32px) minus line-height of text (27px) divided by 2.\n */\n top: -2.5px;\n}\n\n.bcds-Inline-Alert--closeIcon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Info variant */\n.bcds-Inline-Alert.info {\n background-color: var(--support-surface-color-info);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-info);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.info > .bcds-Inline-Alert--icon {\n color: var(--icons-color-info);\n}\n\n/* Success variant */\n.bcds-Inline-Alert.success {\n background-color: var(--
|
|
29290
|
+
var css_248z$j = ".bcds-Inline-Alert {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: var(--layout-margin-small);\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n}\n\n/* Alert content */\n.bcds-Inline-Alert--container {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n\n.bcds-Inline-Alert--container > .title {\n font: var(--typography-bold-body);\n color: var(--typography-color-primary);\n}\n\n.bcds-Inline-Alert--container > .description {\n font: var(--typography-regular-body);\n color: var(--typography-color-primary);\n}\n\n/* Left icon */\n.bcds-Inline-Alert--icon {\n display: inline-flex;\n align-self: flex-start;\n padding-top: var(--layout-padding-xsmall);\n}\n\n.bcds-Inline-Alert--icon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Closeable */\n.bcds-Inline-Alert.closeable {\n /*\n Because the close icon button is removed from the document flow, we\n manually adjust the padding to push the `--container` element off the right\n edge of the InlineAlert.\n */\n padding: var(--layout-padding-medium) 52px var(--layout-padding-medium)\n var(--layout-padding-large);\n}\n\n.bcds-Inline-Alert--closeIcon {\n align-self: first baseline;\n color: var(--icons-color-primary);\n position: relative;\n}\n\n.bcds-Inline-Alert--closeIcon > button {\n position: absolute;\n /*\n Centers the button vertically.\n Button height (32px) minus line-height of text (27px) divided by 2.\n */\n top: -2.5px;\n}\n\n.bcds-Inline-Alert--closeIcon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Info variant */\n.bcds-Inline-Alert.info {\n background-color: var(--support-surface-color-info);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-info);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.info > .bcds-Inline-Alert--icon {\n color: var(--icons-color-info);\n}\n\n/* Success variant */\n.bcds-Inline-Alert.success {\n background-color: var(--support-surface-color-success);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-success);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.success > .bcds-Inline-Alert--icon {\n color: var(--icons-color-success);\n}\n\n/* Warning variant */\n.bcds-Inline-Alert.warning {\n background-color: var(--support-surface-color-warning);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-warning);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.warning > .bcds-Inline-Alert--icon {\n color: var(--icons-color-warning);\n}\n\n/* Danger variant */\n.bcds-Inline-Alert.danger {\n background-color: var(--support-surface-color-danger);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-danger);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.danger > .bcds-Inline-Alert--icon {\n color: var(--icons-color-danger);\n}\n\n/* Button group */\n.bcds-Inline-Alert--container > .bcds-ButtonGroup {\n padding-top: var(--layout-padding-small);\n}\n";
|
|
29291
29291
|
styleInject(css_248z$j);
|
|
29292
29292
|
|
|
29293
29293
|
function getIcon(variant) {
|
package/dist/esm/index.js
CHANGED
|
@@ -29285,7 +29285,7 @@ function Header({ children, logoLinkElement, logoImage = jsx(SvgBcLogo, { id: "b
|
|
|
29285
29285
|
}) })), title && (jsxs(Fragment$1, { children: [jsx("div", { className: "bcds-header--line" }), getTitle()] })), children] }) }));
|
|
29286
29286
|
}
|
|
29287
29287
|
|
|
29288
|
-
var css_248z$j = ".bcds-Inline-Alert {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: var(--layout-margin-small);\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n}\n\n/* Alert content */\n.bcds-Inline-Alert--container {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n\n.bcds-Inline-Alert--container > .title {\n font: var(--typography-bold-body);\n color: var(--typography-color-primary);\n}\n\n.bcds-Inline-Alert--container > .description {\n font: var(--typography-regular-body);\n color: var(--typography-color-primary);\n}\n\n/* Left icon */\n.bcds-Inline-Alert--icon {\n display: inline-flex;\n align-self: flex-start;\n padding-top: var(--layout-padding-xsmall);\n}\n\n.bcds-Inline-Alert--icon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Closeable */\n.bcds-Inline-Alert.closeable {\n /*\n Because the close icon button is removed from the document flow, we\n manually adjust the padding to push the `--container` element off the right\n edge of the InlineAlert.\n */\n padding: var(--layout-padding-medium) 52px var(--layout-padding-medium)\n var(--layout-padding-large);\n}\n\n.bcds-Inline-Alert--closeIcon {\n align-self: first baseline;\n color: var(--icons-color-primary);\n position: relative;\n}\n\n.bcds-Inline-Alert--closeIcon > button {\n position: absolute;\n /*\n Centers the button vertically.\n Button height (32px) minus line-height of text (27px) divided by 2.\n */\n top: -2.5px;\n}\n\n.bcds-Inline-Alert--closeIcon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Info variant */\n.bcds-Inline-Alert.info {\n background-color: var(--support-surface-color-info);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-info);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.info > .bcds-Inline-Alert--icon {\n color: var(--icons-color-info);\n}\n\n/* Success variant */\n.bcds-Inline-Alert.success {\n background-color: var(--
|
|
29288
|
+
var css_248z$j = ".bcds-Inline-Alert {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: var(--layout-margin-small);\n padding: var(--layout-padding-medium) var(--layout-padding-large);\n}\n\n/* Alert content */\n.bcds-Inline-Alert--container {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n\n.bcds-Inline-Alert--container > .title {\n font: var(--typography-bold-body);\n color: var(--typography-color-primary);\n}\n\n.bcds-Inline-Alert--container > .description {\n font: var(--typography-regular-body);\n color: var(--typography-color-primary);\n}\n\n/* Left icon */\n.bcds-Inline-Alert--icon {\n display: inline-flex;\n align-self: flex-start;\n padding-top: var(--layout-padding-xsmall);\n}\n\n.bcds-Inline-Alert--icon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Closeable */\n.bcds-Inline-Alert.closeable {\n /*\n Because the close icon button is removed from the document flow, we\n manually adjust the padding to push the `--container` element off the right\n edge of the InlineAlert.\n */\n padding: var(--layout-padding-medium) 52px var(--layout-padding-medium)\n var(--layout-padding-large);\n}\n\n.bcds-Inline-Alert--closeIcon {\n align-self: first baseline;\n color: var(--icons-color-primary);\n position: relative;\n}\n\n.bcds-Inline-Alert--closeIcon > button {\n position: absolute;\n /*\n Centers the button vertically.\n Button height (32px) minus line-height of text (27px) divided by 2.\n */\n top: -2.5px;\n}\n\n.bcds-Inline-Alert--closeIcon > svg {\n min-width: var(--icons-size-medium);\n height: var(--icons-size-medium);\n}\n\n/* Info variant */\n.bcds-Inline-Alert.info {\n background-color: var(--support-surface-color-info);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-info);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.info > .bcds-Inline-Alert--icon {\n color: var(--icons-color-info);\n}\n\n/* Success variant */\n.bcds-Inline-Alert.success {\n background-color: var(--support-surface-color-success);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-success);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.success > .bcds-Inline-Alert--icon {\n color: var(--icons-color-success);\n}\n\n/* Warning variant */\n.bcds-Inline-Alert.warning {\n background-color: var(--support-surface-color-warning);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-warning);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.warning > .bcds-Inline-Alert--icon {\n color: var(--icons-color-warning);\n}\n\n/* Danger variant */\n.bcds-Inline-Alert.danger {\n background-color: var(--support-surface-color-danger);\n border: var(--layout-border-width-small) solid\n var(--support-border-color-danger);\n border-radius: var(--layout-border-radius-medium);\n}\n\n.bcds-Inline-Alert.danger > .bcds-Inline-Alert--icon {\n color: var(--icons-color-danger);\n}\n\n/* Button group */\n.bcds-Inline-Alert--container > .bcds-ButtonGroup {\n padding-top: var(--layout-padding-small);\n}\n";
|
|
29289
29289
|
styleInject(css_248z$j);
|
|
29290
29290
|
|
|
29291
29291
|
function getIcon(variant) {
|
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-pr667",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/bcgov/design-system.git",
|
|
@@ -54,48 +54,55 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/js": "10.0.1",
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
57
|
+
"@figma/code-connect": "1.4.3",
|
|
58
|
+
"@react-stately/data": "3.16.0",
|
|
59
|
+
"@rollup/plugin-commonjs": "29.0.2",
|
|
59
60
|
"@rollup/plugin-json": "6.1.0",
|
|
60
61
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
61
62
|
"@rollup/plugin-typescript": "12.3.0",
|
|
62
|
-
"@storybook/addon-a11y": "10.3.
|
|
63
|
-
"@storybook/addon-docs": "10.3.
|
|
64
|
-
"@storybook/addon-links": "10.3.
|
|
65
|
-
"@storybook/addon-vitest": "10.3.
|
|
66
|
-
"@storybook/react-vite": "10.3.
|
|
63
|
+
"@storybook/addon-a11y": "10.3.5",
|
|
64
|
+
"@storybook/addon-docs": "10.3.5",
|
|
65
|
+
"@storybook/addon-links": "10.3.5",
|
|
66
|
+
"@storybook/addon-vitest": "10.3.5",
|
|
67
|
+
"@storybook/react-vite": "10.3.5",
|
|
67
68
|
"@testing-library/jest-dom": "6.9.1",
|
|
68
|
-
"@testing-library/react": "16.3.
|
|
69
|
-
"@types/
|
|
69
|
+
"@testing-library/react": "16.3.2",
|
|
70
|
+
"@types/node": "^25.6.0",
|
|
71
|
+
"@types/react": "19.2.14",
|
|
70
72
|
"@types/react-dom": "19.2.3",
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
72
|
-
"@typescript-eslint/parser": "8.
|
|
73
|
-
"@vitejs/plugin-react": "
|
|
74
|
-
"@vitest/browser-playwright": "4.
|
|
75
|
-
"@vitest/coverage-v8": "4.
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "8.59.0",
|
|
74
|
+
"@typescript-eslint/parser": "8.59.0",
|
|
75
|
+
"@vitejs/plugin-react": "6.0.1",
|
|
76
|
+
"@vitest/browser-playwright": "4.1.4",
|
|
77
|
+
"@vitest/coverage-v8": "4.1.4",
|
|
76
78
|
"axe-playwright": "2.2.2",
|
|
77
79
|
"eslint": "10.2.1",
|
|
78
80
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
79
81
|
"eslint-plugin-react-refresh": "0.5.2",
|
|
80
|
-
"eslint-plugin-storybook": "10.3.
|
|
81
|
-
"globals": "
|
|
82
|
-
"jsdom": "
|
|
83
|
-
"playwright": "1.
|
|
84
|
-
"prettier": "3.8.
|
|
85
|
-
"rollup": "4.60.
|
|
82
|
+
"eslint-plugin-storybook": "10.3.5",
|
|
83
|
+
"globals": "17.5.0",
|
|
84
|
+
"jsdom": "29.0.2",
|
|
85
|
+
"playwright": "1.59.1",
|
|
86
|
+
"prettier": "3.8.3",
|
|
87
|
+
"rollup": "4.60.2",
|
|
86
88
|
"rollup-plugin-dts": "6.4.1",
|
|
87
89
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
88
90
|
"rollup-plugin-postcss": "4.0.2",
|
|
89
|
-
"storybook": "10.3.
|
|
91
|
+
"storybook": "10.3.5",
|
|
90
92
|
"tslib": "2.8.1",
|
|
91
|
-
"typescript": "
|
|
92
|
-
"typescript-eslint": "8.
|
|
93
|
-
"vite": "
|
|
94
|
-
"vitest": "4.
|
|
93
|
+
"typescript": "6.0.3",
|
|
94
|
+
"typescript-eslint": "8.59.0",
|
|
95
|
+
"vite": "8.0.9",
|
|
96
|
+
"vitest": "4.1.4"
|
|
95
97
|
},
|
|
96
98
|
"optionalDependencies": {
|
|
97
99
|
"@rollup/rollup-linux-x64-gnu": "*"
|
|
98
100
|
},
|
|
101
|
+
"overrides": {
|
|
102
|
+
"eslint-plugin-react-hooks": {
|
|
103
|
+
"zod-validation-error": "^4.0.0"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
99
106
|
"author": "Tyler Krys <Tyler.Krys@gov.bc.ca>",
|
|
100
107
|
"license": "Apache-2.0",
|
|
101
108
|
"bugs": {
|