@vygruppen/spor-react 13.4.3 → 13.4.4
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/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +9 -0
- package/dist/index.cjs +8 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +8 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/alert/AlertIcon.tsx +7 -16
- package/src/error-summary/index.tsx +1 -11
package/dist/index.mjs
CHANGED
|
@@ -1075,41 +1075,33 @@ var AlertIcon = ({
|
|
|
1075
1075
|
var BaseAlertIcon = ({
|
|
1076
1076
|
variant
|
|
1077
1077
|
}) => {
|
|
1078
|
-
const css = {
|
|
1079
|
-
"& path:first-of-type": {
|
|
1080
|
-
fill: `icon.${variant}`
|
|
1081
|
-
},
|
|
1082
|
-
"& path:not(:first-of-type)": {
|
|
1083
|
-
fill: `surface.${variant}`
|
|
1084
|
-
}
|
|
1085
|
-
};
|
|
1086
1078
|
switch (variant) {
|
|
1087
1079
|
case "info": {
|
|
1088
|
-
return /* @__PURE__ */ jsx(InformationFill24Icon, {
|
|
1080
|
+
return /* @__PURE__ */ jsx(InformationFill24Icon, {});
|
|
1089
1081
|
}
|
|
1090
1082
|
case "success": {
|
|
1091
|
-
return /* @__PURE__ */ jsx(SuccessFill24Icon, {
|
|
1083
|
+
return /* @__PURE__ */ jsx(SuccessFill24Icon, {});
|
|
1092
1084
|
}
|
|
1093
1085
|
case "important": {
|
|
1094
1086
|
return /* @__PURE__ */ jsx(WarningFill24Icon, {});
|
|
1095
1087
|
}
|
|
1096
1088
|
case "alt": {
|
|
1097
|
-
return /* @__PURE__ */ jsx(AltTransportFill24Icon, {
|
|
1089
|
+
return /* @__PURE__ */ jsx(AltTransportFill24Icon, {});
|
|
1098
1090
|
}
|
|
1099
1091
|
case "error": {
|
|
1100
|
-
return /* @__PURE__ */ jsx(ErrorFill24Icon, {
|
|
1092
|
+
return /* @__PURE__ */ jsx(ErrorFill24Icon, {});
|
|
1101
1093
|
}
|
|
1102
1094
|
case "error-secondary": {
|
|
1103
|
-
return /* @__PURE__ */ jsx(ErrorOutline24Icon, {
|
|
1095
|
+
return /* @__PURE__ */ jsx(ErrorOutline24Icon, {});
|
|
1104
1096
|
}
|
|
1105
1097
|
case "neutral": {
|
|
1106
|
-
return /* @__PURE__ */ jsx(QuestionFill24Icon, {
|
|
1098
|
+
return /* @__PURE__ */ jsx(QuestionFill24Icon, {});
|
|
1107
1099
|
}
|
|
1108
1100
|
case "service": {
|
|
1109
1101
|
return /* @__PURE__ */ jsx(ServiceFill24Icon, {});
|
|
1110
1102
|
}
|
|
1111
1103
|
default: {
|
|
1112
|
-
return /* @__PURE__ */ jsx(InformationFill24Icon, {
|
|
1104
|
+
return /* @__PURE__ */ jsx(InformationFill24Icon, {});
|
|
1113
1105
|
}
|
|
1114
1106
|
}
|
|
1115
1107
|
};
|
|
@@ -3366,20 +3358,7 @@ var ErrorSummary = ({
|
|
|
3366
3358
|
tabIndex: -1,
|
|
3367
3359
|
children: [
|
|
3368
3360
|
heading && /* @__PURE__ */ jsxs(Flex, { css: styles.heading, children: [
|
|
3369
|
-
/* @__PURE__ */ jsx(
|
|
3370
|
-
ErrorFill24Icon,
|
|
3371
|
-
{
|
|
3372
|
-
css: {
|
|
3373
|
-
flexShrink: 0,
|
|
3374
|
-
"& path:first-of-type": {
|
|
3375
|
-
fill: `icon.critical`
|
|
3376
|
-
},
|
|
3377
|
-
"& path:not(:first-of-type)": {
|
|
3378
|
-
fill: `surface.critical`
|
|
3379
|
-
}
|
|
3380
|
-
}
|
|
3381
|
-
}
|
|
3382
|
-
),
|
|
3361
|
+
/* @__PURE__ */ jsx(ErrorFill24Icon, {}),
|
|
3383
3362
|
/* @__PURE__ */ jsx(Heading, { as: headingLevel, variant: "md", autoId: true, ref: headingRef, children: heading })
|
|
3384
3363
|
] }),
|
|
3385
3364
|
/* @__PURE__ */ jsx(List, { css: styles.list, gap: 2, children })
|