@homecode/ui 4.27.24 → 4.27.25

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.
@@ -237,7 +237,6 @@ function Select2(props) {
237
237
  const className = cn(S.option, isGroupHeader && S.isGroup, isFocused && S.isFocused, isSelected && S.isSelected, S[`level-${level}`], optionClassName);
238
238
  const optionProps = {
239
239
  className,
240
- key: id,
241
240
  onPointerUp: () => onItemToggle(id),
242
241
  onPointerEnter: () => onOptionHover(id),
243
242
  };
@@ -248,7 +247,7 @@ function Select2(props) {
248
247
  isFirstSelectedMeet.current = true;
249
248
  }
250
249
  if (filterOption(item)) {
251
- items.unshift(jsx("div", { ...optionProps, children: renderLabel(item) }));
250
+ items.unshift(jsx("div", { ...optionProps, children: renderLabel(item) }, id));
252
251
  }
253
252
  return items;
254
253
  };
@@ -75,7 +75,6 @@ export type State = {
75
75
  };
76
76
  export type OptionElemProps = HTMLAttributes<HTMLDivElement> & {
77
77
  className: string;
78
- key: Option['id'];
79
78
  ref?: RefObject<HTMLDivElement>;
80
79
  };
81
80
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "4.27.24",
3
+ "version": "4.27.25",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "tests": "jest",