@axa-fr/design-system-look-and-feel-react 0.2.0-beta.319 → 0.2.0-beta.320
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/Alert/Alert.js +2 -1
- package/package.json +2 -2
package/dist/Alert/Alert.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { useMemo, } from "react";
|
3
3
|
import wbIncandescentOutlined from "@material-symbols/svg-400/outlined/wb_incandescent.svg";
|
4
|
+
import infoIcon from "@material-symbols/svg-400/outlined/info.svg";
|
4
5
|
import errorIcon from "@material-symbols/svg-400/outlined/emergency_home.svg";
|
5
6
|
import errorOutline from "@material-symbols/svg-400/outlined/error.svg";
|
6
7
|
import checkCircleOutline from "@material-symbols/svg-400/outlined/check_circle.svg";
|
@@ -16,7 +17,7 @@ export const alertTypes = {
|
|
16
17
|
const getIconFromType = (type) => ({
|
17
18
|
[alertTypes.validation]: checkCircleOutline,
|
18
19
|
[alertTypes.error]: errorIcon,
|
19
|
-
[alertTypes.neutral]:
|
20
|
+
[alertTypes.neutral]: infoIcon,
|
20
21
|
[alertTypes.warning]: errorOutline,
|
21
22
|
[alertTypes.information]: wbIncandescentOutlined,
|
22
23
|
})[type] || wbIncandescentOutlined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@axa-fr/design-system-look-and-feel-react",
|
3
|
-
"version": "0.2.0-beta.
|
3
|
+
"version": "0.2.0-beta.320",
|
4
4
|
"description": "",
|
5
5
|
"exports": {
|
6
6
|
".": {
|
@@ -41,7 +41,7 @@
|
|
41
41
|
},
|
42
42
|
"homepage": "https://github.com/AxaFrance/design-system#readme",
|
43
43
|
"peerDependencies": {
|
44
|
-
"@axa-fr/design-system-look-and-feel-css": "0.2.0-beta.
|
44
|
+
"@axa-fr/design-system-look-and-feel-css": "0.2.0-beta.320",
|
45
45
|
"@material-symbols/svg-400": ">= 0.19.0",
|
46
46
|
"react": ">= 18"
|
47
47
|
},
|