@xsolla/xui-multi-select 0.185.5 → 0.186.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.js +3 -3
- package/native/index.js.map +1 -1
- package/native/index.mjs +9 -4
- package/native/index.mjs.map +1 -1
- package/package.json +5 -5
- package/web/index.js +3 -3
- package/web/index.js.map +1 -1
- package/web/index.mjs +9 -4
- package/web/index.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-multi-select",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.186.0",
|
|
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.
|
|
14
|
-
"@xsolla/xui-core": "0.
|
|
15
|
-
"@xsolla/xui-dropdown": "0.
|
|
16
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-checkbox": "0.186.0",
|
|
14
|
+
"@xsolla/xui-core": "0.186.0",
|
|
15
|
+
"@xsolla/xui-dropdown": "0.186.0",
|
|
16
|
+
"@xsolla/xui-primitives-core": "0.186.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": ">=16.8.0",
|
package/web/index.js
CHANGED
|
@@ -2266,6 +2266,7 @@ var MultiSelect = (0, import_react12.forwardRef)(
|
|
|
2266
2266
|
}, ref) => {
|
|
2267
2267
|
const { theme } = (0, import_xui_core4.useResolvedTheme)({ themeMode, themeProductContext });
|
|
2268
2268
|
const modalId = (0, import_xui_core4.useModalId)();
|
|
2269
|
+
const overlayLayer = (0, import_xui_core4.useOverlayLayer)();
|
|
2269
2270
|
const controlRef = (0, import_react12.useRef)(null);
|
|
2270
2271
|
const menuRef = (0, import_react12.useRef)(null);
|
|
2271
2272
|
const containerRef = (0, import_react12.useRef)(null);
|
|
@@ -2398,7 +2399,7 @@ var MultiSelect = (0, import_react12.forwardRef)(
|
|
|
2398
2399
|
left: 0,
|
|
2399
2400
|
right: 0,
|
|
2400
2401
|
bottom: 0,
|
|
2401
|
-
zIndex:
|
|
2402
|
+
zIndex: overlayLayer + import_xui_core4.LAYER_OFFSET.menu,
|
|
2402
2403
|
cursor: "default"
|
|
2403
2404
|
},
|
|
2404
2405
|
onPress: onClose
|
|
@@ -2423,8 +2424,7 @@ var MultiSelect = (0, import_react12.forwardRef)(
|
|
|
2423
2424
|
right: isWeb ? void 0 : 0,
|
|
2424
2425
|
width: isWeb ? menuPosition?.width : void 0,
|
|
2425
2426
|
marginTop: isWeb ? void 0 : 4,
|
|
2426
|
-
zIndex:
|
|
2427
|
-
// Above control (1000) and backdrop (999)
|
|
2427
|
+
zIndex: overlayLayer + import_xui_core4.LAYER_OFFSET.popover,
|
|
2428
2428
|
boxShadow: theme.shadow.popover
|
|
2429
2429
|
},
|
|
2430
2430
|
children: [
|