@xsolla/xui-status-dropdown 0.172.2 → 0.173.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-status-dropdown",
3
- "version": "0.172.2",
3
+ "version": "0.173.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,10 +13,10 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-context-menu": "0.172.2",
17
- "@xsolla/xui-core": "0.172.2",
18
- "@xsolla/xui-primitives-core": "0.172.2",
19
- "@xsolla/xui-status": "0.172.2"
16
+ "@xsolla/xui-context-menu": "0.173.0",
17
+ "@xsolla/xui-core": "0.173.0",
18
+ "@xsolla/xui-primitives-core": "0.173.0",
19
+ "@xsolla/xui-status": "0.173.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": ">=16.8.0",
package/web/index.js CHANGED
@@ -1193,7 +1193,11 @@ var StatusDropdown = (0, import_react3.forwardRef)(
1193
1193
  themeMode,
1194
1194
  themeProductContext
1195
1195
  }, ref) => {
1196
- const { theme } = (0, import_xui_core.useResolvedTheme)({ themeMode, themeProductContext });
1196
+ const { theme: rawTheme } = (0, import_xui_core.useResolvedTheme)({
1197
+ themeMode,
1198
+ themeProductContext
1199
+ });
1200
+ const theme = rawTheme;
1197
1201
  const paletteColors = getPaletteColors(palette, theme);
1198
1202
  const contentColor = theme.colors.content.primary;
1199
1203
  const sizeStyles = theme.sizing.tag(size);