@xsolla/xui-multi-select 0.78.0 → 0.79.0-pr125.1769766241

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-multi-select",
3
- "version": "0.78.0",
3
+ "version": "0.79.0-pr125.1769766241",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -10,10 +10,10 @@
10
10
  "build:native": "PLATFORM=native tsup"
11
11
  },
12
12
  "dependencies": {
13
- "@xsolla/xui-checkbox": "0.78.0",
14
- "@xsolla/xui-core": "0.78.0",
15
- "@xsolla/xui-dropdown": "0.78.0",
16
- "@xsolla/xui-primitives-core": "0.78.0"
13
+ "@xsolla/xui-checkbox": "0.79.0-pr125.1769766241",
14
+ "@xsolla/xui-core": "0.79.0-pr125.1769766241",
15
+ "@xsolla/xui-dropdown": "0.79.0-pr125.1769766241",
16
+ "@xsolla/xui-primitives-core": "0.79.0-pr125.1769766241"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "react": ">=16.8.0",
package/web/index.d.mts 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/web/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/web/index.js CHANGED
@@ -2605,7 +2605,7 @@ var MultiSelect = (0, import_react15.forwardRef)(
2605
2605
  maxHeight,
2606
2606
  overflowY: "auto"
2607
2607
  },
2608
- children: menuItems.map((item, index) => {
2608
+ children: menuItems.map((item, _index) => {
2609
2609
  const brandColors = theme.colors.control.brand.primary;
2610
2610
  const contentColors = theme.colors.content;
2611
2611
  return /* @__PURE__ */ (0, import_jsx_runtime407.jsx)(
package/web/index.js.flow CHANGED
@@ -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,