@xsolla/xui-multi-select 0.78.0 → 0.79.0

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
@@ -247,7 +247,6 @@ var Spinner = ({
247
247
  role,
248
248
  "aria-label": ariaLabel,
249
249
  "aria-live": ariaLive,
250
- "aria-describedby": ariaDescribedBy,
251
250
  testID
252
251
  }) => {
253
252
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
@@ -346,14 +345,11 @@ var InputPrimitive = (0, import_react2.forwardRef)(
346
345
  fontSize,
347
346
  placeholderTextColor,
348
347
  maxLength,
349
- name,
350
348
  type,
351
349
  inputMode,
352
350
  autoComplete,
353
351
  id,
354
- "aria-invalid": ariaInvalid,
355
352
  "aria-describedby": ariaDescribedBy,
356
- "aria-labelledby": ariaLabelledBy,
357
353
  "aria-label": ariaLabel,
358
354
  "aria-disabled": ariaDisabled,
359
355
  "data-testid": dataTestId
@@ -445,9 +441,7 @@ var TextAreaPrimitive = (0, import_react3.forwardRef)(
445
441
  maxLength,
446
442
  rows,
447
443
  id,
448
- "aria-invalid": ariaInvalid,
449
444
  "aria-describedby": ariaDescribedBy,
450
- "aria-labelledby": ariaLabelledBy,
451
445
  "aria-label": ariaLabel,
452
446
  "aria-disabled": ariaDisabled,
453
447
  "data-testid": dataTestId
@@ -2633,7 +2627,7 @@ var MultiSelect = (0, import_react15.forwardRef)(
2633
2627
  maxHeight,
2634
2628
  overflowY: "auto"
2635
2629
  },
2636
- children: menuItems.map((item, index) => {
2630
+ children: menuItems.map((item, _index) => {
2637
2631
  const brandColors = theme.colors.control.brand.primary;
2638
2632
  const contentColors = theme.colors.content;
2639
2633
  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,