mainstack-design-system 0.7.10 → 0.7.11

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.
@@ -43583,7 +43583,7 @@ const Ed = {
43583
43583
  letterSpacing: "-0.4px"
43584
43584
  }
43585
43585
  }, d1e = ({ size: e, name: n, ...i }) => {
43586
- const a = () => `${n.split(" ")[0][0]}${n.split(" ")[1] ? n.split(" ")[1][0] : ""}`;
43586
+ const a = () => n ? `${n.split(" ")[0][0]}${n.split(" ")[1] ? n.split(" ")[1][0] : ""}` : "User";
43587
43587
  return /* @__PURE__ */ h(Mp, { bg: re.monochromeBlack, size: go[e].size, ...i, children: /* @__PURE__ */ h(
43588
43588
  an,
43589
43589
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",