@realtek/core-theme 0.0.84 → 0.0.86

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-lib/index.js CHANGED
@@ -6525,17 +6525,17 @@ function bd(e) {
6525
6525
  return wd(e?.varient ?? e?.variant).replace(/[^a-z0-9-]/g, "-");
6526
6526
  }
6527
6527
  function xd(e, t) {
6528
- let n = vd(e, t), r = n ?? e.commonStyle ?? {}, i = n?.label ?? t, a = bd(r), o = [
6528
+ let n = vd(e, t), r = n ?? e.commonStyle ?? {}, i = n?.label ?? t, a = (typeof i == "string" ? i.trim() : i) || "-", o = bd(r), s = [
6529
6529
  "job-cell-badge",
6530
6530
  "job-cell-value",
6531
- a ? `job-cell-badge--${a}` : ""
6532
- ].filter(Boolean).join(" ");
6531
+ o ? `job-cell-badge--${o}` : ""
6532
+ ].filter(Boolean).join(" "), c = !n && typeof a == "string" && a.includes(",") ? a.split(",").map((e) => e.trim()).filter(Boolean) : null, l = c && c.length > 1 ? `${c.slice(0, 1).join(", ")} +${c.length - 1}` : a, u = yd(r);
6533
6533
  return /* @__PURE__ */ Z(J, {
6534
- title: i === "-" ? void 0 : i,
6534
+ title: a === "-" ? void 0 : a,
6535
6535
  children: /* @__PURE__ */ Z(q, {
6536
- className: o,
6537
- style: yd(r),
6538
- children: i
6536
+ className: s,
6537
+ style: u,
6538
+ children: l
6539
6539
  })
6540
6540
  });
6541
6541
  }
@@ -21402,14 +21402,11 @@ function zy() {
21402
21402
  children: /* @__PURE__ */ Q(X, { children: [
21403
21403
  /* @__PURE__ */ Z(bv, { children: /* @__PURE__ */ Q("div", {
21404
21404
  className: "fg-scope-toolbar",
21405
- children: [/* @__PURE__ */ Q("div", { children: [/* @__PURE__ */ Z(hy, {
21406
- strong: !0,
21407
- children: "Jobs Client Scope"
21408
- }), /* @__PURE__ */ Z("div", { children: /* @__PURE__ */ Z(hy, {
21405
+ children: [/* @__PURE__ */ Z("div", { children: /* @__PURE__ */ Z("div", { children: /* @__PURE__ */ Z(hy, {
21409
21406
  type: "secondary",
21410
21407
  style: { fontSize: 12 },
21411
21408
  children: "Select a client to edit a scoped Jobs field list. Leave blank for the default module config."
21412
- }) })] }), /* @__PURE__ */ Q(G, {
21409
+ }) }) }), /* @__PURE__ */ Q(G, {
21413
21410
  wrap: !0,
21414
21411
  size: 8,
21415
21412
  children: [