@xsolla/xui-quest-card 0.149.1 → 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 -14
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,8 +6,6 @@ A cross-platform React card component for displaying quest or mission items with
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
npm install @xsolla/xui-quest-card
|
|
9
|
-
# or
|
|
10
|
-
yarn add @xsolla/xui-quest-card
|
|
11
9
|
```
|
|
12
10
|
|
|
13
11
|
## Demo
|
|
@@ -231,18 +229,6 @@ These props still work but will emit console warnings in development:
|
|
|
231
229
|
| status | `questState` | "success" -> "completed", "warning"/"alert" -> "expiring", "default" -> "default" |
|
|
232
230
|
| statusIcon | `questState` | No longer rendered; visual state driven by `questState` |
|
|
233
231
|
|
|
234
|
-
## Theming
|
|
235
|
-
|
|
236
|
-
QuestCard uses the design system theme for colors:
|
|
237
|
-
|
|
238
|
-
```typescript
|
|
239
|
-
theme.colors.overlay.mono // Card background
|
|
240
|
-
theme.colors.border.secondary // Card border (default/expiring only)
|
|
241
|
-
theme.colors.content.primary // Title text
|
|
242
|
-
theme.colors.content.tertiary // Description and caption text
|
|
243
|
-
theme.colors.content.alert.secondary // Expiring badge color
|
|
244
|
-
```
|
|
245
|
-
|
|
246
232
|
## Migration from v1
|
|
247
233
|
|
|
248
234
|
```diff
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-quest-card",
|
|
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",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"test:coverage": "vitest run --coverage"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@xsolla/xui-core": "0.
|
|
18
|
-
"@xsolla/xui-primitives-core": "0.
|
|
17
|
+
"@xsolla/xui-core": "0.151.0",
|
|
18
|
+
"@xsolla/xui-primitives-core": "0.151.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": ">=16.8.0",
|