@postenbring/hedwig-react
Advanced tools
Comparing version 0.0.0-box-pEjLq4Vx-20231118022658 to 0.0.0-box-pEjLq4Vx-20231118025054
@@ -143,10 +143,15 @@ "use strict"; | ||
(_a, ref) => { | ||
var _b = _a, { className, variant = "success", icon } = _b, rest = __objRest(_b, ["className", "variant", "icon"]); | ||
var _b = _a, { children, className, variant = "success", icon } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon"]); | ||
icon; | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)( | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)( | ||
Box, | ||
__spreadValues({ | ||
__spreadProps(__spreadValues({ | ||
className: (0, import_clsx2.clsx)((0, import_typed_classname2.t)(`hds--message`), (0, import_typed_classname2.t)(`hds-box--message-${variant}`), className), | ||
ref | ||
}, rest) | ||
}, rest), { | ||
children: [ | ||
variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: (0, import_clsx2.clsx)((0, import_typed_classname2.t)("hds-box--message-neutral__icon")), children: icon }), | ||
children | ||
] | ||
}) | ||
); | ||
@@ -153,0 +158,0 @@ } |
@@ -358,10 +358,15 @@ "use strict"; | ||
(_a, ref) => { | ||
var _b = _a, { className, variant = "success", icon } = _b, rest = __objRest(_b, ["className", "variant", "icon"]); | ||
var _b = _a, { children, className, variant = "success", icon } = _b, rest = __objRest(_b, ["children", "className", "variant", "icon"]); | ||
icon; | ||
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)( | ||
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)( | ||
Box, | ||
__spreadValues({ | ||
__spreadProps(__spreadValues({ | ||
className: (0, import_clsx7.clsx)((0, import_typed_classname7.t)(`hds--message`), (0, import_typed_classname7.t)(`hds-box--message-${variant}`), className), | ||
ref | ||
}, rest) | ||
}, rest), { | ||
children: [ | ||
variant === "neutral" && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: (0, import_clsx7.clsx)((0, import_typed_classname7.t)("hds-box--message-neutral__icon")), children: icon }), | ||
children | ||
] | ||
}) | ||
); | ||
@@ -368,0 +373,0 @@ } |
{ | ||
"name": "@postenbring/hedwig-react", | ||
"version": "0.0.0-box-pEjLq4Vx-20231118022658", | ||
"version": "0.0.0-box-pEjLq4Vx-20231118025054", | ||
"main": "./dist/index.js", | ||
@@ -29,4 +29,4 @@ "module": "./dist/index.mjs", | ||
"dependencies": { | ||
"@postenbring/hedwig-css": "0.0.0-box-pEjLq4Vx-20231118022658", | ||
"@postenbring/hedwig-tokens": "0.0.0-box-pEjLq4Vx-20231118022658", | ||
"@postenbring/hedwig-css": "0.0.0-box-pEjLq4Vx-20231118025054", | ||
"@postenbring/hedwig-tokens": "0.0.0-box-pEjLq4Vx-20231118025054", | ||
"clsx": "^2.0.0" | ||
@@ -33,0 +33,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
92588
2439
+ Added@postenbring/hedwig-css@0.0.0-box-pEjLq4Vx-20231118025054(transitive)
+ Added@postenbring/hedwig-tokens@0.0.0-box-pEjLq4Vx-20231118025054(transitive)
- Removed@postenbring/hedwig-css@0.0.0-box-pEjLq4Vx-20231118022658(transitive)
- Removed@postenbring/hedwig-tokens@0.0.0-box-pEjLq4Vx-20231118022658(transitive)
Updated@postenbring/hedwig-css@0.0.0-box-pEjLq4Vx-20231118025054
Updated@postenbring/hedwig-tokens@0.0.0-box-pEjLq4Vx-20231118025054