@xsolla/xui-quest-card 0.119.0 → 0.121.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-quest-card",
3
- "version": "0.119.0",
3
+ "version": "0.121.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.119.0",
18
- "@xsolla/xui-primitives-core": "0.119.0"
17
+ "@xsolla/xui-core": "0.121.0",
18
+ "@xsolla/xui-primitives-core": "0.121.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": ">=16.8.0",
@@ -1,79 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import React from "react";
9
-
10
- /**
11
- * @deprecated Use `QuestCardState` instead.
12
- */
13
- declare type QuestCardStatus = "default" | "alert" | "warning" | "success";
14
- declare type QuestCardState = "default" | "completed" | "expired" | "expiring";
15
- declare interface QuestCardProps {
16
- /**
17
- * Quest title text
18
- */
19
- title: string;
20
-
21
- /**
22
- * Secondary description text displayed below the title
23
- */
24
- description?: string;
25
-
26
- /**
27
- * Bottom caption text (e.g. "0/100", "Completed", "Expired")
28
- */
29
- caption?: string;
30
-
31
- /**
32
- * Visual quest state controlling opacity, border, and badge
33
- */
34
- questState?: QuestCardState;
35
-
36
- /**
37
- * Icon to display in the icon container
38
- */
39
- icon?: React.ReactNode;
40
-
41
- /**
42
- * Reward tag or custom trailing content
43
- */
44
- trailing?: React.ReactNode;
45
-
46
- /**
47
- * Card press handler
48
- */
49
- onPress?: () => void;
50
-
51
- /**
52
- * Custom className for the container
53
- */
54
- className?: string;
55
-
56
- /**
57
- * Test ID for testing
58
- */
59
- testID?: string;
60
-
61
- /**
62
- * @deprecated Use `description` instead. Maps directly to `description`.
63
- */
64
- subtitle?: string;
65
-
66
- /**
67
- * @deprecated Use `questState` instead.
68
- * "success" maps to "completed", "warning"/"alert" map to "expiring", "default" maps to "default".
69
- */
70
- status?: QuestCardStatus;
71
-
72
- /**
73
- * @deprecated No longer used in the redesigned component. Use `questState` to control visual state.
74
- */
75
- statusIcon?: React.ReactNode;
76
- }
77
- declare var QuestCard: React.FC<QuestCardProps>;
78
- export type { QuestCardProps, QuestCardState, QuestCardStatus };
79
- declare export { QuestCard };
package/web/index.js.flow DELETED
@@ -1,79 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import React from "react";
9
-
10
- /**
11
- * @deprecated Use `QuestCardState` instead.
12
- */
13
- declare type QuestCardStatus = "default" | "alert" | "warning" | "success";
14
- declare type QuestCardState = "default" | "completed" | "expired" | "expiring";
15
- declare interface QuestCardProps {
16
- /**
17
- * Quest title text
18
- */
19
- title: string;
20
-
21
- /**
22
- * Secondary description text displayed below the title
23
- */
24
- description?: string;
25
-
26
- /**
27
- * Bottom caption text (e.g. "0/100", "Completed", "Expired")
28
- */
29
- caption?: string;
30
-
31
- /**
32
- * Visual quest state controlling opacity, border, and badge
33
- */
34
- questState?: QuestCardState;
35
-
36
- /**
37
- * Icon to display in the icon container
38
- */
39
- icon?: React.ReactNode;
40
-
41
- /**
42
- * Reward tag or custom trailing content
43
- */
44
- trailing?: React.ReactNode;
45
-
46
- /**
47
- * Card press handler
48
- */
49
- onPress?: () => void;
50
-
51
- /**
52
- * Custom className for the container
53
- */
54
- className?: string;
55
-
56
- /**
57
- * Test ID for testing
58
- */
59
- testID?: string;
60
-
61
- /**
62
- * @deprecated Use `description` instead. Maps directly to `description`.
63
- */
64
- subtitle?: string;
65
-
66
- /**
67
- * @deprecated Use `questState` instead.
68
- * "success" maps to "completed", "warning"/"alert" map to "expiring", "default" maps to "default".
69
- */
70
- status?: QuestCardStatus;
71
-
72
- /**
73
- * @deprecated No longer used in the redesigned component. Use `questState` to control visual state.
74
- */
75
- statusIcon?: React.ReactNode;
76
- }
77
- declare var QuestCard: React.FC<QuestCardProps>;
78
- export type { QuestCardProps, QuestCardState, QuestCardStatus };
79
- declare export { QuestCard };