osocna-react-tailwind 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ const ey = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACcUAAAaDCAYAAAAlpNQ+AA
53
53
  )
54
54
  ) }),
55
55
  /* @__PURE__ */ Or("div", { className: "flex flex-col items-center mb-2", children: [
56
- /* @__PURE__ */ yA("p", { className: "text-center text-textPrimary", style: { whiteSpace: "nowrap", fontSize: "clamp(12px, 2vw, 24px)" }, children: t?.name.toLocaleUpperCase() || "" }),
56
+ /* @__PURE__ */ yA("p", { className: "text-center text-textPrimary", style: { whiteSpace: "nowrap", fontSize: "clamp(12px, 2vw, 24px)" }, children: t?.name?.toLocaleUpperCase() || "" }),
57
57
  /* @__PURE__ */ yA("p", { className: "text-center text-textSecondary font-bold", style: { whiteSpace: "nowrap", fontSize: "clamp(12px, 2vw, 24px)" }, children: t?.credential.number || "" }),
58
58
  /* @__PURE__ */ yA("div", { className: "flex justify-center", children: t.originId === 8 ? t.credential.plan.toUpperCase() === "INTEGRAL" ? /* @__PURE__ */ yA("p", { style: { color: "white", backgroundColor: "red", borderRadius: "15px", marginLeft: "auto", marginRight: "auto", textAlign: "center", width: "100px", fontSize: "10px", padding: "2px", marginTop: "4px" }, children: "INTEGRAL" }) : t.credential.plan.toUpperCase() === "GLOBAL" ? /* @__PURE__ */ yA("p", { style: { color: "white", backgroundColor: "red", borderRadius: "15px", marginLeft: "auto", marginRight: "auto", textAlign: "center", width: "100px", fontSize: "10px", padding: "2px", marginTop: "4px" }, children: "GLOBAL" }) : /* @__PURE__ */ yA("p", { style: { color: "white", backgroundColor: "red", borderRadius: "15px", marginLeft: "auto", marginRight: "auto", textAlign: "center", width: "100px", fontSize: "10px", padding: "2px", marginTop: "4px" }, children: "TOTAL" }) : null })
59
59
  ] }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osocna-react-tailwind",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "A React component library built with Tailwind CSS v4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",