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/components/SCheckbox/SCheckbox.cjs +1 -1
- package/dist/components/SCheckbox/SCheckbox.cjs.map +1 -1
- package/dist/components/SCheckbox/SCheckbox.js +1 -1
- package/dist/components/SCheckbox/SCheckbox.js.map +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.cjs +5 -4
- package/dist/components/SKeyValueTable/SKeyValueTable.cjs.map +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.js +5 -4
- package/dist/components/SKeyValueTable/SKeyValueTable.js.map +1 -1
- package/dist/components/SSelect/SSelect.cjs +4 -3
- package/dist/components/SSelect/SSelect.cjs.map +1 -1
- package/dist/components/SSelect/SSelect.js +4 -3
- package/dist/components/SSelect/SSelect.js.map +1 -1
- package/dist/components/STable/STable.cjs +5 -4
- package/dist/components/STable/STable.cjs.map +1 -1
- package/dist/components/STable/STable.js +5 -4
- package/dist/components/STable/STable.js.map +1 -1
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -4804,8 +4804,9 @@ function ItemList({
|
|
|
4804
4804
|
]
|
|
4805
4805
|
}
|
|
4806
4806
|
),
|
|
4807
|
-
items.map((o) => {
|
|
4807
|
+
items.map((o, idx) => {
|
|
4808
4808
|
const padLeft = o.depth === 1 ? 12 : o.depth === 2 ? 20 : 28;
|
|
4809
|
+
const rowKey = `${o.value}-${idx}`;
|
|
4809
4810
|
if (o.isGroup) {
|
|
4810
4811
|
const isDepth1 = o.depth === 1;
|
|
4811
4812
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4822,7 +4823,7 @@ function ItemList({
|
|
|
4822
4823
|
style: { paddingLeft: padLeft },
|
|
4823
4824
|
children: o.label
|
|
4824
4825
|
},
|
|
4825
|
-
|
|
4826
|
+
rowKey
|
|
4826
4827
|
);
|
|
4827
4828
|
}
|
|
4828
4829
|
const isSelected = selected.includes(o.value);
|
|
@@ -4879,7 +4880,7 @@ function ItemList({
|
|
|
4879
4880
|
) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 truncate", children: o.label })
|
|
4880
4881
|
]
|
|
4881
4882
|
},
|
|
4882
|
-
|
|
4883
|
+
rowKey
|
|
4883
4884
|
);
|
|
4884
4885
|
})
|
|
4885
4886
|
] });
|
|
@@ -5071,7 +5072,7 @@ function SCheckbox({
|
|
|
5071
5072
|
}
|
|
5072
5073
|
),
|
|
5073
5074
|
label && // 고스트(500) 텍스트로 너비를 고정 → 두께 400↔500 전환 시 레이아웃이 밀리지 않음
|
|
5074
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "grid text-[12px] leading-[20px]", style: { color: labelColor }, children: [
|
|
5075
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "grid text-nowrap text-[12px] leading-[20px]", style: { color: labelColor }, children: [
|
|
5075
5076
|
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: "invisible font-medium", style: { gridArea: "1 / 1" }, children: label }),
|
|
5076
5077
|
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { gridArea: "1 / 1", fontWeight: isChecked ? 500 : 400 }, children: label })
|
|
5077
5078
|
] })
|