@xsolla/xui-store-badge 0.119.0 → 0.120.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-store-badge",
3
- "version": "0.119.0",
3
+ "version": "0.120.0",
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.119.0",
14
- "@xsolla/xui-primitives-core": "0.119.0"
13
+ "@xsolla/xui-core": "0.120.0",
14
+ "@xsolla/xui-primitives-core": "0.120.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "react": ">=16.8.0",
@@ -1,50 +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 * as react from "react";
9
- import { HTMLAttributes } from "react";
10
- declare type StoreType = "google-play" | "app-gallery" | "app-store";
11
- declare type StoreBadgePalette = "dark" | "light";
12
- declare type StoreProps = {
13
- width?: number,
14
- height?: number,
15
- palette: StoreBadgePalette,
16
- ...
17
- } & HTMLAttributes<SVGSVGElement>;
18
- declare interface StoreBadgeProps {
19
- /**
20
- * Parameter with type store. 'google-play', 'app-gallery' or 'app-store'
21
- */
22
- type?: StoreType;
23
-
24
- /**
25
- * Parameter with palette: 'dark' - black background, 'light' - white background
26
- */
27
- palette: StoreBadgePalette;
28
-
29
- /**
30
- * Parameter with function for click
31
- */
32
- onPress?: () => void;
33
-
34
- /**
35
- * Test ID for testing
36
- */
37
- "data-testid"?: string;
38
-
39
- /**
40
- * Additional className
41
- */
42
- className?: string;
43
- style?: any;
44
- }
45
- declare var StoreBadge: react.ForwardRefExoticComponent<{
46
- ...StoreBadgeProps,
47
- ...react.RefAttributes<any>,
48
- }>;
49
- export type { StoreBadgePalette, StoreBadgeProps, StoreProps, StoreType };
50
- declare export { StoreBadge };
package/web/index.js.flow DELETED
@@ -1,50 +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 * as react from "react";
9
- import { HTMLAttributes } from "react";
10
- declare type StoreType = "google-play" | "app-gallery" | "app-store";
11
- declare type StoreBadgePalette = "dark" | "light";
12
- declare type StoreProps = {
13
- width?: number,
14
- height?: number,
15
- palette: StoreBadgePalette,
16
- ...
17
- } & HTMLAttributes<SVGSVGElement>;
18
- declare interface StoreBadgeProps {
19
- /**
20
- * Parameter with type store. 'google-play', 'app-gallery' or 'app-store'
21
- */
22
- type?: StoreType;
23
-
24
- /**
25
- * Parameter with palette: 'dark' - black background, 'light' - white background
26
- */
27
- palette: StoreBadgePalette;
28
-
29
- /**
30
- * Parameter with function for click
31
- */
32
- onPress?: () => void;
33
-
34
- /**
35
- * Test ID for testing
36
- */
37
- "data-testid"?: string;
38
-
39
- /**
40
- * Additional className
41
- */
42
- className?: string;
43
- style?: any;
44
- }
45
- declare var StoreBadge: react.ForwardRefExoticComponent<{
46
- ...StoreBadgeProps,
47
- ...react.RefAttributes<any>,
48
- }>;
49
- export type { StoreBadgePalette, StoreBadgeProps, StoreProps, StoreType };
50
- declare export { StoreBadge };