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.
@@ -2942,7 +2942,7 @@ function SCheckbox({
2942
2942
  }
2943
2943
  ),
2944
2944
  label && // 고스트(500) 텍스트로 너비를 고정 → 두께 400↔500 전환 시 레이아웃이 밀리지 않음
2945
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "grid text-[12px] leading-[20px]", style: { color: labelColor }, children: [
2945
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "grid text-nowrap text-[12px] leading-[20px]", style: { color: labelColor }, children: [
2946
2946
  /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: "invisible font-medium", style: { gridArea: "1 / 1" }, children: label }),
2947
2947
  /* @__PURE__ */ jsxRuntime.jsx("span", { style: { gridArea: "1 / 1", fontWeight: isChecked ? 500 : 400 }, children: label })
2948
2948
  ] })
@@ -4317,8 +4317,9 @@ function ItemList({
4317
4317
  ]
4318
4318
  }
4319
4319
  ),
4320
- items.map((o) => {
4320
+ items.map((o, idx) => {
4321
4321
  const padLeft = o.depth === 1 ? 12 : o.depth === 2 ? 20 : 28;
4322
+ const rowKey = `${o.value}-${idx}`;
4322
4323
  if (o.isGroup) {
4323
4324
  const isDepth1 = o.depth === 1;
4324
4325
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -4335,7 +4336,7 @@ function ItemList({
4335
4336
  style: { paddingLeft: padLeft },
4336
4337
  children: o.label
4337
4338
  },
4338
- o.value
4339
+ rowKey
4339
4340
  );
4340
4341
  }
4341
4342
  const isSelected = selected.includes(o.value);
@@ -4392,7 +4393,7 @@ function ItemList({
4392
4393
  ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 truncate", children: o.label })
4393
4394
  ]
4394
4395
  },
4395
- o.value
4396
+ rowKey
4396
4397
  );
4397
4398
  })
4398
4399
  ] });