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/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 +7 -6
- package/dist/components/SKeyValueTable/SKeyValueTable.cjs.map +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.d.ts +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.js +7 -6
- 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 +7 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
6837
|
+
rowKey
|
|
6837
6838
|
);
|
|
6838
6839
|
})
|
|
6839
6840
|
] });
|
|
@@ -9397,14 +9398,14 @@ function SKeyValueTable({
|
|
|
9397
9398
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[12px] font-bold leading-[20px] text-[color:var(--sys-color-fg-primary)]", children: f.label }),
|
|
9398
9399
|
f.required && /* @__PURE__ */ jsxRuntime.jsx(SIcon, { name: "star", size: 12, color: "var(--sys-color-fg-accent)" })
|
|
9399
9400
|
] }),
|
|
9400
|
-
f.helpText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9401
|
+
f.helpText && f.helpText.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9401
9402
|
STooltip,
|
|
9402
9403
|
{
|
|
9403
9404
|
trigger: "hover",
|
|
9404
9405
|
icon: "helpOutline",
|
|
9405
9406
|
iconSize: 16,
|
|
9406
9407
|
color: "var(--sys-color-fg-success)",
|
|
9407
|
-
message:
|
|
9408
|
+
message: f.helpText
|
|
9408
9409
|
}
|
|
9409
9410
|
)
|
|
9410
9411
|
] })
|