@xsolla/xui-context-menu 0.202.4 → 0.203.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 +4 -4
- package/native/index.js.map +1 -1
- package/native/index.mjs +4 -4
- package/native/index.mjs.map +1 -1
- package/package.json +10 -10
- package/web/index.js +4 -4
- package/web/index.js.map +1 -1
- package/web/index.mjs +4 -4
- package/web/index.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-context-menu",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.203.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-checkbox": "0.
|
|
17
|
-
"@xsolla/xui-core": "0.
|
|
18
|
-
"@xsolla/xui-divider": "0.
|
|
19
|
-
"@xsolla/xui-icons": "0.
|
|
20
|
-
"@xsolla/xui-icons-base": "0.
|
|
21
|
-
"@xsolla/xui-primitives-core": "0.
|
|
22
|
-
"@xsolla/xui-radio": "0.
|
|
23
|
-
"@xsolla/xui-spinner": "0.
|
|
24
|
-
"@xsolla/xui-typography": "0.
|
|
16
|
+
"@xsolla/xui-checkbox": "0.203.0",
|
|
17
|
+
"@xsolla/xui-core": "0.203.0",
|
|
18
|
+
"@xsolla/xui-divider": "0.203.0",
|
|
19
|
+
"@xsolla/xui-icons": "0.203.0",
|
|
20
|
+
"@xsolla/xui-icons-base": "0.203.0",
|
|
21
|
+
"@xsolla/xui-primitives-core": "0.203.0",
|
|
22
|
+
"@xsolla/xui-radio": "0.203.0",
|
|
23
|
+
"@xsolla/xui-spinner": "0.203.0",
|
|
24
|
+
"@xsolla/xui-typography": "0.203.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=16.8.0",
|
package/web/index.js
CHANGED
|
@@ -1228,7 +1228,7 @@ var ContextMenuSubmenu = ({
|
|
|
1228
1228
|
Box,
|
|
1229
1229
|
{
|
|
1230
1230
|
role: "menu",
|
|
1231
|
-
backgroundColor: xuiTheme.colors.
|
|
1231
|
+
backgroundColor: xuiTheme.colors.layer.float,
|
|
1232
1232
|
borderColor: xuiTheme.colors.border.secondary,
|
|
1233
1233
|
borderWidth: 1,
|
|
1234
1234
|
borderRadius,
|
|
@@ -1595,7 +1595,7 @@ var ContextMenuRoot = (0, import_react8.forwardRef)(
|
|
|
1595
1595
|
position: "absolute",
|
|
1596
1596
|
width: ARROW_SIZE,
|
|
1597
1597
|
height: ARROW_SIZE,
|
|
1598
|
-
backgroundColor: xuiTheme.colors.
|
|
1598
|
+
backgroundColor: xuiTheme.colors.layer.float,
|
|
1599
1599
|
borderStyle: "solid",
|
|
1600
1600
|
borderColor: xuiTheme.colors.border.secondary,
|
|
1601
1601
|
// 1px outline only on the two outward-facing edges of the rotated square
|
|
@@ -1806,7 +1806,7 @@ var ContextMenuRoot = (0, import_react8.forwardRef)(
|
|
|
1806
1806
|
position: "sticky",
|
|
1807
1807
|
top: 0,
|
|
1808
1808
|
zIndex: 1,
|
|
1809
|
-
backgroundColor: xuiTheme.colors.
|
|
1809
|
+
backgroundColor: xuiTheme.colors.layer.float
|
|
1810
1810
|
},
|
|
1811
1811
|
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1812
1812
|
ContextMenuItem,
|
|
@@ -1948,7 +1948,7 @@ var ContextMenuRoot = (0, import_react8.forwardRef)(
|
|
|
1948
1948
|
"data-testid": dataTestId ?? testID ?? "context-menu",
|
|
1949
1949
|
"data-xui-context-menu-portal": trigger || position ? menuId : void 0,
|
|
1950
1950
|
"data-placement": resolvedPlacement,
|
|
1951
|
-
backgroundColor: xuiTheme.colors.
|
|
1951
|
+
backgroundColor: xuiTheme.colors.layer.float,
|
|
1952
1952
|
borderColor: xuiTheme.colors.border.secondary,
|
|
1953
1953
|
borderWidth: 1,
|
|
1954
1954
|
borderRadius,
|