@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.
- package/native/index.d.mts +3 -2
- package/native/index.d.ts +3 -2
- package/native/index.js +1 -7
- package/native/index.js.flow +4 -3
- package/native/index.js.map +1 -1
- package/native/index.mjs +1 -7
- package/native/index.mjs.map +1 -1
- package/package.json +5 -5
- package/web/index.d.mts +3 -2
- package/web/index.d.ts +3 -2
- package/web/index.js +1 -1
- package/web/index.js.flow +4 -3
- package/web/index.js.map +1 -1
- package/web/index.mjs +5 -5
- package/web/index.mjs.map +1 -1
package/web/index.mjs
CHANGED
|
@@ -905,7 +905,7 @@ import {
|
|
|
905
905
|
} from "react";
|
|
906
906
|
|
|
907
907
|
// ../tag/dist/web/index.mjs
|
|
908
|
-
import
|
|
908
|
+
import React4 from "react";
|
|
909
909
|
import styled10 from "styled-components";
|
|
910
910
|
import { jsx as jsx384 } from "react/jsx-runtime";
|
|
911
911
|
import styled23 from "styled-components";
|
|
@@ -925,7 +925,7 @@ import { jsx as jsx711 } from "react/jsx-runtime";
|
|
|
925
925
|
import { useDesignSystem } from "@xsolla/xui-core";
|
|
926
926
|
|
|
927
927
|
// ../icons/dist/web/index.mjs
|
|
928
|
-
import
|
|
928
|
+
import React3 from "react";
|
|
929
929
|
import styled9 from "styled-components";
|
|
930
930
|
import { jsx as jsx382 } from "react/jsx-runtime";
|
|
931
931
|
import styled22 from "styled-components";
|
|
@@ -1107,7 +1107,7 @@ var StyledBox2 = styled9.div`
|
|
|
1107
1107
|
${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
|
|
1108
1108
|
}
|
|
1109
1109
|
`;
|
|
1110
|
-
var Box2 =
|
|
1110
|
+
var Box2 = React3.forwardRef(
|
|
1111
1111
|
({
|
|
1112
1112
|
children,
|
|
1113
1113
|
onPress,
|
|
@@ -1513,7 +1513,7 @@ var StyledBox3 = styled10.div`
|
|
|
1513
1513
|
${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
|
|
1514
1514
|
}
|
|
1515
1515
|
`;
|
|
1516
|
-
var Box3 =
|
|
1516
|
+
var Box3 = React4.forwardRef(
|
|
1517
1517
|
({
|
|
1518
1518
|
children,
|
|
1519
1519
|
onPress,
|
|
@@ -2574,7 +2574,7 @@ var MultiSelect = forwardRef8(
|
|
|
2574
2574
|
maxHeight,
|
|
2575
2575
|
overflowY: "auto"
|
|
2576
2576
|
},
|
|
2577
|
-
children: menuItems.map((item,
|
|
2577
|
+
children: menuItems.map((item, _index) => {
|
|
2578
2578
|
const brandColors = theme.colors.control.brand.primary;
|
|
2579
2579
|
const contentColors = theme.colors.content;
|
|
2580
2580
|
return /* @__PURE__ */ jsx388(
|