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.
@@ -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
- o.value
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
- o.value
4110
+ rowKey
4110
4111
  );
4111
4112
  })
4112
4113
  ] });