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.
@@ -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
- o.value
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
- o.value
4132
+ rowKey
4132
4133
  );
4133
4134
  })
4134
4135
  ] });