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
|
@@ -4031,8 +4031,9 @@ function ItemList({
|
|
|
4031
4031
|
]
|
|
4032
4032
|
}
|
|
4033
4033
|
),
|
|
4034
|
-
items.map((o) => {
|
|
4034
|
+
items.map((o, idx) => {
|
|
4035
4035
|
const padLeft = o.depth === 1 ? 12 : o.depth === 2 ? 20 : 28;
|
|
4036
|
+
const rowKey = `${o.value}-${idx}`;
|
|
4036
4037
|
if (o.isGroup) {
|
|
4037
4038
|
const isDepth1 = o.depth === 1;
|
|
4038
4039
|
return /* @__PURE__ */ jsx(
|
|
@@ -4049,7 +4050,7 @@ function ItemList({
|
|
|
4049
4050
|
style: { paddingLeft: padLeft },
|
|
4050
4051
|
children: o.label
|
|
4051
4052
|
},
|
|
4052
|
-
|
|
4053
|
+
rowKey
|
|
4053
4054
|
);
|
|
4054
4055
|
}
|
|
4055
4056
|
const isSelected = selected.includes(o.value);
|
|
@@ -4106,7 +4107,7 @@ function ItemList({
|
|
|
4106
4107
|
) : /* @__PURE__ */ jsx("span", { className: "flex-1 truncate", children: o.label })
|
|
4107
4108
|
]
|
|
4108
4109
|
},
|
|
4109
|
-
|
|
4110
|
+
rowKey
|
|
4110
4111
|
);
|
|
4111
4112
|
})
|
|
4112
4113
|
] });
|