@xsolla/xui-tag 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.
- package/README.md +0 -17
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -6,8 +6,6 @@ A cross-platform React tag component for displaying labels, categories, and remo
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @xsolla/xui-tag
|
|
9
|
-
# or
|
|
10
|
-
yarn add @xsolla/xui-tag
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
## Demo
|
|
@@ -296,21 +294,6 @@ A tag/chip component.
|
|
|
296
294
|
| alert | Alert secondary | Border alert | Content alert primary |
|
|
297
295
|
| neutral | Neutral secondary | Border neutral | Content neutral primary |
|
|
298
296
|
|
|
299
|
-
## Theming
|
|
300
|
-
|
|
301
|
-
Tag uses the design system theme for colors:
|
|
302
|
-
|
|
303
|
-
```typescript
|
|
304
|
-
// Solid colors (example for "brand" tone)
|
|
305
|
-
theme.colors.background.brand.primary // Background
|
|
306
|
-
theme.colors.content.on.brand // Text color
|
|
307
|
-
|
|
308
|
-
// Outlined colors (example for "brand" tone)
|
|
309
|
-
theme.colors.background.brand.secondary // Background
|
|
310
|
-
theme.colors.border.brand // Border color
|
|
311
|
-
theme.colors.content.brand.primary // Text color
|
|
312
|
-
```
|
|
313
|
-
|
|
314
297
|
## Accessibility
|
|
315
298
|
|
|
316
299
|
- Uses semantic elements for proper structure
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-tag",
|
|
3
|
-
"version": "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",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"build:native": "PLATFORM=native tsup"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xsolla/xui-core": "0.
|
|
14
|
-
"@xsolla/xui-icons": "0.
|
|
15
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-core": "0.151.0",
|
|
14
|
+
"@xsolla/xui-icons": "0.151.0",
|
|
15
|
+
"@xsolla/xui-primitives-core": "0.151.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"react": ">=16.8.0",
|