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
|
@@ -4053,8 +4053,9 @@ function ItemList({
|
|
|
4053
4053
|
]
|
|
4054
4054
|
}
|
|
4055
4055
|
),
|
|
4056
|
-
items.map((o) => {
|
|
4056
|
+
items.map((o, idx) => {
|
|
4057
4057
|
const padLeft = o.depth === 1 ? 12 : o.depth === 2 ? 20 : 28;
|
|
4058
|
+
const rowKey = `${o.value}-${idx}`;
|
|
4058
4059
|
if (o.isGroup) {
|
|
4059
4060
|
const isDepth1 = o.depth === 1;
|
|
4060
4061
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4071,7 +4072,7 @@ function ItemList({
|
|
|
4071
4072
|
style: { paddingLeft: padLeft },
|
|
4072
4073
|
children: o.label
|
|
4073
4074
|
},
|
|
4074
|
-
|
|
4075
|
+
rowKey
|
|
4075
4076
|
);
|
|
4076
4077
|
}
|
|
4077
4078
|
const isSelected = selected.includes(o.value);
|
|
@@ -4128,7 +4129,7 @@ function ItemList({
|
|
|
4128
4129
|
) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1 truncate", children: o.label })
|
|
4129
4130
|
]
|
|
4130
4131
|
},
|
|
4131
|
-
|
|
4132
|
+
rowKey
|
|
4132
4133
|
);
|
|
4133
4134
|
})
|
|
4134
4135
|
] });
|