@xsolla/xui-store-badge 0.188.0 → 0.188.2

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.
@@ -7,32 +7,27 @@ interface StoreProps extends HTMLAttributes<SVGSVGElement> {
7
7
  width?: number;
8
8
  height?: number;
9
9
  palette: StoreBadgePalette;
10
- /** Test ID for testing frameworks */
11
10
  testID?: string;
12
11
  }
13
12
  interface StoreBadgeProps {
14
13
  /**
15
- * Parameter with type store. 'google-play', 'app-gallery' or 'app-store'
14
+ * Store type: 'google-play', 'app-gallery' or 'app-store'.
16
15
  */
17
16
  type?: StoreType;
18
17
  /**
19
- * Parameter with palette: 'dark' - black background, 'light' - white background
18
+ * Palette: 'dark' - black background, 'light' - white background.
20
19
  */
21
20
  palette: StoreBadgePalette;
22
21
  /**
23
- * Parameter with function for click
22
+ * Click handler.
24
23
  */
25
24
  onPress?: () => void;
26
- /**
27
- * Test ID for testing
28
- */
29
25
  "data-testid"?: string;
30
26
  /**
31
27
  * Additional className
32
28
  */
33
29
  className?: string;
34
30
  style?: any;
35
- /** Test ID for testing frameworks */
36
31
  testID?: string;
37
32
  }
38
33
 
package/native/index.d.ts CHANGED
@@ -7,32 +7,27 @@ interface StoreProps extends HTMLAttributes<SVGSVGElement> {
7
7
  width?: number;
8
8
  height?: number;
9
9
  palette: StoreBadgePalette;
10
- /** Test ID for testing frameworks */
11
10
  testID?: string;
12
11
  }
13
12
  interface StoreBadgeProps {
14
13
  /**
15
- * Parameter with type store. 'google-play', 'app-gallery' or 'app-store'
14
+ * Store type: 'google-play', 'app-gallery' or 'app-store'.
16
15
  */
17
16
  type?: StoreType;
18
17
  /**
19
- * Parameter with palette: 'dark' - black background, 'light' - white background
18
+ * Palette: 'dark' - black background, 'light' - white background.
20
19
  */
21
20
  palette: StoreBadgePalette;
22
21
  /**
23
- * Parameter with function for click
22
+ * Click handler.
24
23
  */
25
24
  onPress?: () => void;
26
- /**
27
- * Test ID for testing
28
- */
29
25
  "data-testid"?: string;
30
26
  /**
31
27
  * Additional className
32
28
  */
33
29
  className?: string;
34
30
  style?: any;
35
- /** Test ID for testing frameworks */
36
31
  testID?: string;
37
32
  }
38
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-store-badge",
3
- "version": "0.188.0",
3
+ "version": "0.188.2",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -10,8 +10,8 @@
10
10
  "build:native": "PLATFORM=native tsup"
11
11
  },
12
12
  "dependencies": {
13
- "@xsolla/xui-core": "0.188.0",
14
- "@xsolla/xui-primitives-core": "0.188.0"
13
+ "@xsolla/xui-core": "0.188.2",
14
+ "@xsolla/xui-primitives-core": "0.188.2"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0",
package/web/index.d.mts CHANGED
@@ -7,32 +7,27 @@ interface StoreProps extends HTMLAttributes<SVGSVGElement> {
7
7
  width?: number;
8
8
  height?: number;
9
9
  palette: StoreBadgePalette;
10
- /** Test ID for testing frameworks */
11
10
  testID?: string;
12
11
  }
13
12
  interface StoreBadgeProps {
14
13
  /**
15
- * Parameter with type store. 'google-play', 'app-gallery' or 'app-store'
14
+ * Store type: 'google-play', 'app-gallery' or 'app-store'.
16
15
  */
17
16
  type?: StoreType;
18
17
  /**
19
- * Parameter with palette: 'dark' - black background, 'light' - white background
18
+ * Palette: 'dark' - black background, 'light' - white background.
20
19
  */
21
20
  palette: StoreBadgePalette;
22
21
  /**
23
- * Parameter with function for click
22
+ * Click handler.
24
23
  */
25
24
  onPress?: () => void;
26
- /**
27
- * Test ID for testing
28
- */
29
25
  "data-testid"?: string;
30
26
  /**
31
27
  * Additional className
32
28
  */
33
29
  className?: string;
34
30
  style?: any;
35
- /** Test ID for testing frameworks */
36
31
  testID?: string;
37
32
  }
38
33
 
package/web/index.d.ts CHANGED
@@ -7,32 +7,27 @@ interface StoreProps extends HTMLAttributes<SVGSVGElement> {
7
7
  width?: number;
8
8
  height?: number;
9
9
  palette: StoreBadgePalette;
10
- /** Test ID for testing frameworks */
11
10
  testID?: string;
12
11
  }
13
12
  interface StoreBadgeProps {
14
13
  /**
15
- * Parameter with type store. 'google-play', 'app-gallery' or 'app-store'
14
+ * Store type: 'google-play', 'app-gallery' or 'app-store'.
16
15
  */
17
16
  type?: StoreType;
18
17
  /**
19
- * Parameter with palette: 'dark' - black background, 'light' - white background
18
+ * Palette: 'dark' - black background, 'light' - white background.
20
19
  */
21
20
  palette: StoreBadgePalette;
22
21
  /**
23
- * Parameter with function for click
22
+ * Click handler.
24
23
  */
25
24
  onPress?: () => void;
26
- /**
27
- * Test ID for testing
28
- */
29
25
  "data-testid"?: string;
30
26
  /**
31
27
  * Additional className
32
28
  */
33
29
  className?: string;
34
30
  style?: any;
35
- /** Test ID for testing frameworks */
36
31
  testID?: string;
37
32
  }
38
33