@xsolla/xui-radio 0.150.0 → 0.151.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 +0 -18
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -6,8 +6,6 @@ A cross-platform React radio button component for selecting one option from a gr
6
6
 
7
7
  ```bash
8
8
  npm install @xsolla/xui-radio
9
- # or
10
- yarn add @xsolla/xui-radio
11
9
  ```
12
10
 
13
11
  ## Demo
@@ -173,22 +171,6 @@ A single radio button component.
173
171
  | aria-label | `string` | - | Accessible label for screen readers. |
174
172
  | aria-labelledby | `string` | - | ID of element that labels this radio. |
175
173
 
176
- ## Theming
177
-
178
- Radio uses the design system theme for colors:
179
-
180
- ```typescript
181
- // Colors accessed via theme
182
- theme.colors.control.radio.bg // Unchecked background
183
- theme.colors.control.radio.bgChecked // Checked background
184
- theme.colors.control.radio.border // Border color
185
- theme.colors.control.radio.borderChecked // Checked border
186
- theme.colors.control.radio.dot // Inner dot color
187
- theme.colors.content.primary // Label text
188
- theme.colors.content.secondary // Description text
189
- theme.colors.content.error // Error text
190
- ```
191
-
192
174
  ## Accessibility
193
175
 
194
176
  - Uses `role="radio"` with proper ARIA attributes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-radio",
3
- "version": "0.150.0",
3
+ "version": "0.151.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,8 +13,8 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-core": "0.150.0",
17
- "@xsolla/xui-primitives-core": "0.150.0"
16
+ "@xsolla/xui-core": "0.151.0",
17
+ "@xsolla/xui-primitives-core": "0.151.0"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "react": ">=16.8.0",