@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/web/index.mjs CHANGED
@@ -1216,7 +1216,7 @@ var ContextMenuSubmenu = ({
1216
1216
  Box,
1217
1217
  {
1218
1218
  role: "menu",
1219
- backgroundColor: xuiTheme.colors.background.secondary,
1219
+ backgroundColor: xuiTheme.colors.layer.float,
1220
1220
  borderColor: xuiTheme.colors.border.secondary,
1221
1221
  borderWidth: 1,
1222
1222
  borderRadius,
@@ -1583,7 +1583,7 @@ var ContextMenuRoot = forwardRef(
1583
1583
  position: "absolute",
1584
1584
  width: ARROW_SIZE,
1585
1585
  height: ARROW_SIZE,
1586
- backgroundColor: xuiTheme.colors.background.secondary,
1586
+ backgroundColor: xuiTheme.colors.layer.float,
1587
1587
  borderStyle: "solid",
1588
1588
  borderColor: xuiTheme.colors.border.secondary,
1589
1589
  // 1px outline only on the two outward-facing edges of the rotated square
@@ -1794,7 +1794,7 @@ var ContextMenuRoot = forwardRef(
1794
1794
  position: "sticky",
1795
1795
  top: 0,
1796
1796
  zIndex: 1,
1797
- backgroundColor: xuiTheme.colors.background.secondary
1797
+ backgroundColor: xuiTheme.colors.layer.float
1798
1798
  },
1799
1799
  children: /* @__PURE__ */ jsx4(
1800
1800
  ContextMenuItem,
@@ -1936,7 +1936,7 @@ var ContextMenuRoot = forwardRef(
1936
1936
  "data-testid": dataTestId ?? testID ?? "context-menu",
1937
1937
  "data-xui-context-menu-portal": trigger || position ? menuId : void 0,
1938
1938
  "data-placement": resolvedPlacement,
1939
- backgroundColor: xuiTheme.colors.background.secondary,
1939
+ backgroundColor: xuiTheme.colors.layer.float,
1940
1940
  borderColor: xuiTheme.colors.border.secondary,
1941
1941
  borderWidth: 1,
1942
1942
  borderRadius,