sellmate-design-system-react 0.8.2 → 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.cjs CHANGED
@@ -6071,7 +6071,7 @@ function SCheckbox({
6071
6071
  }
6072
6072
  ),
6073
6073
  label && // 고스트(500) 텍스트로 너비를 고정 → 두께 400↔500 전환 시 레이아웃이 밀리지 않음
6074
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "grid text-[12px] leading-[20px]", style: { color: labelColor }, children: [
6074
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "grid text-nowrap text-[12px] leading-[20px]", style: { color: labelColor }, children: [
6075
6075
  /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: "invisible font-medium", style: { gridArea: "1 / 1" }, children: label }),
6076
6076
  /* @__PURE__ */ jsxRuntime.jsx("span", { style: { gridArea: "1 / 1", fontWeight: isChecked ? 500 : 400 }, children: label })
6077
6077
  ] })
@@ -6758,8 +6758,9 @@ function ItemList({
6758
6758
  ]
6759
6759
  }
6760
6760
  ),
6761
- items.map((o) => {
6761
+ items.map((o, idx) => {
6762
6762
  const padLeft = o.depth === 1 ? 12 : o.depth === 2 ? 20 : 28;
6763
+ const rowKey = `${o.value}-${idx}`;
6763
6764
  if (o.isGroup) {
6764
6765
  const isDepth1 = o.depth === 1;
6765
6766
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -6776,7 +6777,7 @@ function ItemList({
6776
6777
  style: { paddingLeft: padLeft },
6777
6778
  children: o.label
6778
6779
  },
6779
- o.value
6780
+ rowKey
6780
6781
  );
6781
6782
  }
6782
6783
  const isSelected = selected.includes(o.value);
@@ -6833,7 +6834,7 @@ function ItemList({
6833
6834
  ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 truncate", children: o.label })
6834
6835
  ]
6835
6836
  },
6836
- o.value
6837
+ rowKey
6837
6838
  );
6838
6839
  })
6839
6840
  ] });