@xsolla/xui-badge 0.174.2 → 0.175.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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  A cross-platform React badge component for counts, status dots, and small labels. Sizes `xs` and `sm` render as content-less dots; larger sizes accept text and icons.
4
4
 
5
+ <!-- BEGIN:xui-mcp-instructions:badge -->
6
+ Use it with numbers or text inside for show notifications, counts, or status information on navigation items and icons.
7
+
8
+ You can change colors in accordance with the Color mapping table to use it inside other components and patterns.
9
+ <!-- END:xui-mcp-instructions:badge -->
10
+
5
11
  ## Installation
6
12
 
7
13
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-badge",
3
- "version": "0.174.2",
3
+ "version": "0.175.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "test:coverage": "vitest run --coverage"
15
15
  },
16
16
  "dependencies": {
17
- "@xsolla/xui-core": "0.174.2",
18
- "@xsolla/xui-primitives-core": "0.174.2"
17
+ "@xsolla/xui-core": "0.175.0",
18
+ "@xsolla/xui-primitives-core": "0.175.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": ">=16.8.0",