@xsolla/xui-multi-select 0.77.0 → 0.78.0-pr118.1769743479

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.
@@ -1,4 +1,5 @@
1
- import React, { ReactNode } from 'react';
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  type MultiSelectValue = (string | number)[];
4
5
  type MultiSelectVariant = "tag" | "text";
@@ -83,6 +84,6 @@ interface MultiSelectProps {
83
84
  maxHeight?: number;
84
85
  }
85
86
 
86
- declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLDivElement>>;
87
+ declare const MultiSelect: react.ForwardRefExoticComponent<MultiSelectProps & react.RefAttributes<HTMLDivElement>>;
87
88
 
88
89
  export { MultiSelect, type MultiSelectOption, type MultiSelectProps, type MultiSelectSize, type MultiSelectState, type MultiSelectValue, type MultiSelectVariant };
package/native/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import React, { ReactNode } from 'react';
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  type MultiSelectValue = (string | number)[];
4
5
  type MultiSelectVariant = "tag" | "text";
@@ -83,6 +84,6 @@ interface MultiSelectProps {
83
84
  maxHeight?: number;
84
85
  }
85
86
 
86
- declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLDivElement>>;
87
+ declare const MultiSelect: react.ForwardRefExoticComponent<MultiSelectProps & react.RefAttributes<HTMLDivElement>>;
87
88
 
88
89
  export { MultiSelect, type MultiSelectOption, type MultiSelectProps, type MultiSelectSize, type MultiSelectState, type MultiSelectValue, type MultiSelectVariant };
package/native/index.js CHANGED
@@ -2633,7 +2633,7 @@ var MultiSelect = (0, import_react15.forwardRef)(
2633
2633
  maxHeight,
2634
2634
  overflowY: "auto"
2635
2635
  },
2636
- children: menuItems.map((item, index) => {
2636
+ children: menuItems.map((item, _index) => {
2637
2637
  const brandColors = theme.colors.control.brand.primary;
2638
2638
  const contentColors = theme.colors.content;
2639
2639
  return /* @__PURE__ */ (0, import_jsx_runtime407.jsx)(
@@ -5,7 +5,8 @@
5
5
  * @flow
6
6
  */
7
7
 
8
- import React, { Node } from "react";
8
+ import * as react from "react";
9
+ import { Node } from "react";
9
10
  declare type MultiSelectValue = (string | number)[];
10
11
  declare type MultiSelectVariant = "tag" | "text";
11
12
  declare type MultiSelectSize = "xs" | "sm" | "md" | "lg" | "xl";
@@ -108,9 +109,9 @@ declare interface MultiSelectProps {
108
109
  */
109
110
  maxHeight?: number;
110
111
  }
111
- declare var MultiSelect: React.ForwardRefExoticComponent<{
112
+ declare var MultiSelect: react.ForwardRefExoticComponent<{
112
113
  ...MultiSelectProps,
113
- ...React.RefAttributes<HTMLDivElement>,
114
+ ...react.RefAttributes<HTMLDivElement>,
114
115
  }>;
115
116
  export type {
116
117
  MultiSelectOption,