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
|
@@ -4780,8 +4780,9 @@ function ItemList({
|
|
|
4780
4780
|
]
|
|
4781
4781
|
}
|
|
4782
4782
|
),
|
|
4783
|
-
items.map((o) => {
|
|
4783
|
+
items.map((o, idx) => {
|
|
4784
4784
|
const padLeft = o.depth === 1 ? 12 : o.depth === 2 ? 20 : 28;
|
|
4785
|
+
const rowKey = `${o.value}-${idx}`;
|
|
4785
4786
|
if (o.isGroup) {
|
|
4786
4787
|
const isDepth1 = o.depth === 1;
|
|
4787
4788
|
return /* @__PURE__ */ jsx(
|
|
@@ -4798,7 +4799,7 @@ function ItemList({
|
|
|
4798
4799
|
style: { paddingLeft: padLeft },
|
|
4799
4800
|
children: o.label
|
|
4800
4801
|
},
|
|
4801
|
-
|
|
4802
|
+
rowKey
|
|
4802
4803
|
);
|
|
4803
4804
|
}
|
|
4804
4805
|
const isSelected = selected.includes(o.value);
|
|
@@ -4855,7 +4856,7 @@ function ItemList({
|
|
|
4855
4856
|
) : /* @__PURE__ */ jsx("span", { className: "flex-1 truncate", children: o.label })
|
|
4856
4857
|
]
|
|
4857
4858
|
},
|
|
4858
|
-
|
|
4859
|
+
rowKey
|
|
4859
4860
|
);
|
|
4860
4861
|
})
|
|
4861
4862
|
] });
|
|
@@ -5047,7 +5048,7 @@ function SCheckbox({
|
|
|
5047
5048
|
}
|
|
5048
5049
|
),
|
|
5049
5050
|
label && // 고스트(500) 텍스트로 너비를 고정 → 두께 400↔500 전환 시 레이아웃이 밀리지 않음
|
|
5050
|
-
/* @__PURE__ */ jsxs("span", { className: "grid text-[12px] leading-[20px]", style: { color: labelColor }, children: [
|
|
5051
|
+
/* @__PURE__ */ jsxs("span", { className: "grid text-nowrap text-[12px] leading-[20px]", style: { color: labelColor }, children: [
|
|
5051
5052
|
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "invisible font-medium", style: { gridArea: "1 / 1" }, children: label }),
|
|
5052
5053
|
/* @__PURE__ */ jsx("span", { style: { gridArea: "1 / 1", fontWeight: isChecked ? 500 : 400 }, children: label })
|
|
5053
5054
|
] })
|