sellmate-design-system-react 0.8.1 → 0.8.3

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/index.js CHANGED
@@ -6043,7 +6043,7 @@ function SCheckbox({
6043
6043
  }
6044
6044
  ),
6045
6045
  label && // 고스트(500) 텍스트로 너비를 고정 → 두께 400↔500 전환 시 레이아웃이 밀리지 않음
6046
- /* @__PURE__ */ jsxs("span", { className: "grid text-[12px] leading-[20px]", style: { color: labelColor }, children: [
6046
+ /* @__PURE__ */ jsxs("span", { className: "grid text-nowrap text-[12px] leading-[20px]", style: { color: labelColor }, children: [
6047
6047
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "invisible font-medium", style: { gridArea: "1 / 1" }, children: label }),
6048
6048
  /* @__PURE__ */ jsx("span", { style: { gridArea: "1 / 1", fontWeight: isChecked ? 500 : 400 }, children: label })
6049
6049
  ] })
@@ -6730,8 +6730,9 @@ function ItemList({
6730
6730
  ]
6731
6731
  }
6732
6732
  ),
6733
- items.map((o) => {
6733
+ items.map((o, idx) => {
6734
6734
  const padLeft = o.depth === 1 ? 12 : o.depth === 2 ? 20 : 28;
6735
+ const rowKey = `${o.value}-${idx}`;
6735
6736
  if (o.isGroup) {
6736
6737
  const isDepth1 = o.depth === 1;
6737
6738
  return /* @__PURE__ */ jsx(
@@ -6748,7 +6749,7 @@ function ItemList({
6748
6749
  style: { paddingLeft: padLeft },
6749
6750
  children: o.label
6750
6751
  },
6751
- o.value
6752
+ rowKey
6752
6753
  );
6753
6754
  }
6754
6755
  const isSelected = selected.includes(o.value);
@@ -6805,7 +6806,7 @@ function ItemList({
6805
6806
  ) : /* @__PURE__ */ jsx("span", { className: "flex-1 truncate", children: o.label })
6806
6807
  ]
6807
6808
  },
6808
- o.value
6809
+ rowKey
6809
6810
  );
6810
6811
  })
6811
6812
  ] });
@@ -9369,14 +9370,14 @@ function SKeyValueTable({
9369
9370
  /* @__PURE__ */ jsx("span", { className: "text-[12px] font-bold leading-[20px] text-[color:var(--sys-color-fg-primary)]", children: f.label }),
9370
9371
  f.required && /* @__PURE__ */ jsx(SIcon, { name: "star", size: 12, color: "var(--sys-color-fg-accent)" })
9371
9372
  ] }),
9372
- f.helpText && /* @__PURE__ */ jsx(
9373
+ f.helpText && f.helpText.length > 0 && /* @__PURE__ */ jsx(
9373
9374
  STooltip,
9374
9375
  {
9375
9376
  trigger: "hover",
9376
9377
  icon: "helpOutline",
9377
9378
  iconSize: 16,
9378
9379
  color: "var(--sys-color-fg-success)",
9379
- message: [f.helpText]
9380
+ message: f.helpText
9380
9381
  }
9381
9382
  )
9382
9383
  ] })