design-zystem 1.0.477 → 1.0.478

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/ui/index.js CHANGED
@@ -5609,7 +5609,16 @@ var TableClientCell = (_a) => {
5609
5609
  "onNameClick"
5610
5610
  ]);
5611
5611
  const label = onNameClick ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(TableCellNameButton, { onClick: onNameClick, children: name }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "truncate", children: name });
5612
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(TableCell, __spreadProps(__spreadValues({}, cell), { children: variant === "tag" ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(TableBadge, { fullWidth: true, backgroundColor: color, textColor, children: label }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("span", { className: "inline-flex max-w-full items-center gap-2 align-middle", children: [
5612
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(TableCell, __spreadProps(__spreadValues({}, cell), { children: variant === "tag" ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
5613
+ TableBadge,
5614
+ {
5615
+ fullWidth: true,
5616
+ maxChars: LONGEST_CLIENT_NAME_CHARS,
5617
+ backgroundColor: color,
5618
+ textColor,
5619
+ children: label
5620
+ }
5621
+ ) : /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("span", { className: "inline-flex max-w-full items-center gap-2 align-middle", children: [
5613
5622
  /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
5614
5623
  "span",
5615
5624
  {
@@ -5622,6 +5631,7 @@ var TableClientCell = (_a) => {
5622
5631
  label
5623
5632
  ] }) }));
5624
5633
  };
5634
+ var LONGEST_CLIENT_NAME_CHARS = 42;
5625
5635
 
5626
5636
  // src/ui/components/ui/table/TableStatusCell.tsx
5627
5637
  var import_jsx_runtime71 = require("react/jsx-runtime");
package/dist/ui/index.mjs CHANGED
@@ -5398,7 +5398,16 @@ var TableClientCell = (_a) => {
5398
5398
  "onNameClick"
5399
5399
  ]);
5400
5400
  const label = onNameClick ? /* @__PURE__ */ jsx70(TableCellNameButton, { onClick: onNameClick, children: name }) : /* @__PURE__ */ jsx70("span", { className: "truncate", children: name });
5401
- return /* @__PURE__ */ jsx70(TableCell, __spreadProps(__spreadValues({}, cell), { children: variant === "tag" ? /* @__PURE__ */ jsx70(TableBadge, { fullWidth: true, backgroundColor: color, textColor, children: label }) : /* @__PURE__ */ jsxs35("span", { className: "inline-flex max-w-full items-center gap-2 align-middle", children: [
5401
+ return /* @__PURE__ */ jsx70(TableCell, __spreadProps(__spreadValues({}, cell), { children: variant === "tag" ? /* @__PURE__ */ jsx70(
5402
+ TableBadge,
5403
+ {
5404
+ fullWidth: true,
5405
+ maxChars: LONGEST_CLIENT_NAME_CHARS,
5406
+ backgroundColor: color,
5407
+ textColor,
5408
+ children: label
5409
+ }
5410
+ ) : /* @__PURE__ */ jsxs35("span", { className: "inline-flex max-w-full items-center gap-2 align-middle", children: [
5402
5411
  /* @__PURE__ */ jsx70(
5403
5412
  "span",
5404
5413
  {
@@ -5411,6 +5420,7 @@ var TableClientCell = (_a) => {
5411
5420
  label
5412
5421
  ] }) }));
5413
5422
  };
5423
+ var LONGEST_CLIENT_NAME_CHARS = 42;
5414
5424
 
5415
5425
  // src/ui/components/ui/table/TableStatusCell.tsx
5416
5426
  import { jsx as jsx71 } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.477",
3
+ "version": "1.0.478",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",