gearboxdownloadmodal 8.0.13 → 8.2.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/dist/index.es.js +7497 -6913
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +26 -26
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/CardButton.d.ts +1 -0
- package/dist/src/components/CardSection.d.ts +1 -0
- package/dist/src/components/IframeName.d.ts +3 -0
- package/dist/src/components/Modal.d.ts +9 -1
- package/dist/src/components/MultiDownload.d.ts +1 -0
- package/dist/src/components/Networks.d.ts +1 -0
- package/dist/src/components/Preview.d.ts +1 -0
- package/dist/src/components/VersionList.d.ts +9 -0
- package/dist/src/services/createPlayableVersionABTestLink.d.ts +7 -0
- package/dist/src/services/getDownloadLimit.d.ts +1 -0
- package/dist/src/services/getPlayableVersionNames.d.ts +1 -0
- package/dist/src/services/updatePlayableVersion.d.ts +4 -3
- package/dist/src/utils/color.d.ts +5 -5
- package/package.json +1 -1
|
@@ -18,9 +18,16 @@ export interface ModalProps {
|
|
|
18
18
|
closeModal: () => void;
|
|
19
19
|
playableId?: string;
|
|
20
20
|
versionId: string;
|
|
21
|
+
/**
|
|
22
|
+
* If provided, the modal allows multiple versions to download,
|
|
23
|
+
* iframe and QR will not be shown.
|
|
24
|
+
*
|
|
25
|
+
* Rework of `Playable Quick A/B Test`
|
|
26
|
+
*/
|
|
27
|
+
selectedVersionIds?: string[];
|
|
21
28
|
versionName: string;
|
|
22
29
|
gameId?: string;
|
|
23
|
-
typeOfProduct:
|
|
30
|
+
typeOfProduct: "Playable" | "Flex" | "Ready" | "Fusion";
|
|
24
31
|
api: string;
|
|
25
32
|
user: any;
|
|
26
33
|
title: string;
|
|
@@ -29,6 +36,7 @@ export interface ModalProps {
|
|
|
29
36
|
fetchFileUrl: string;
|
|
30
37
|
copyLinkUrl: string;
|
|
31
38
|
fusionData?: FusionData;
|
|
39
|
+
onNameChange?: (versionId: string, name: string) => void;
|
|
32
40
|
}
|
|
33
41
|
declare const Modal: FC<ModalProps>;
|
|
34
42
|
export default Modal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getDownloadLimit(): Promise<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getPlayableVersionNames(api: string, isFlex: boolean | undefined, versionIds: string[]): Promise<any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export default function
|
|
2
|
-
iosLink
|
|
3
|
-
androidLink
|
|
1
|
+
export default function updatePlayableVersion(versionId: string, urls: {
|
|
2
|
+
iosLink?: string | undefined | null;
|
|
3
|
+
androidLink?: string | undefined | null;
|
|
4
|
+
name?: string;
|
|
4
5
|
}, api: string): Promise<any>;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export declare enum TextColorStyle {
|
|
2
2
|
"Flex" = "text-[#7101FF]",
|
|
3
|
-
"Playable" = "text-[#
|
|
3
|
+
"Playable" = "text-[#EA580C]",
|
|
4
4
|
"Import" = "text-[#00a3ff]",
|
|
5
5
|
"Ready" = "text-[#0060A5]",
|
|
6
6
|
"Fusion" = "text-[#171717]"
|
|
7
7
|
}
|
|
8
8
|
export declare enum BorderColorStyle {
|
|
9
9
|
"Flex" = "border-[#7101FF]",
|
|
10
|
-
"Playable" = "border-[#
|
|
10
|
+
"Playable" = "border-[#EA580C]",
|
|
11
11
|
"Import" = "border-[#00a3ff]",
|
|
12
12
|
"Ready" = "border-[#0060A5]",
|
|
13
13
|
"Fusion" = "text-[#171717]"
|
|
14
14
|
}
|
|
15
15
|
export declare enum ColorStyle {
|
|
16
16
|
"Flex" = "#7101FF",
|
|
17
|
-
"Playable" = "#
|
|
17
|
+
"Playable" = "#EA580C",
|
|
18
18
|
"Import" = "#00a3ff",
|
|
19
19
|
"Ready" = "#0060A5",
|
|
20
20
|
"Fusion" = "#171717"
|
|
21
21
|
}
|
|
22
22
|
export declare enum BackgroundColorStyle {
|
|
23
23
|
"Flex" = "bg-[#7101FF]",
|
|
24
|
-
"Playable" = "bg-[#
|
|
24
|
+
"Playable" = "bg-[#EA580C]",
|
|
25
25
|
"Import" = "bg-[#00a3ff]",
|
|
26
26
|
"Ready" = "bg-[#0060A5]",
|
|
27
27
|
"Fusion" = "bg-[#171717]"
|
|
28
28
|
}
|
|
29
29
|
export declare enum CheckBoxAccentColor {
|
|
30
30
|
"Flex" = "accent-[#7101FF]",
|
|
31
|
-
"Playable" = "accent-[#
|
|
31
|
+
"Playable" = "accent-[#EA580C]",
|
|
32
32
|
"Import" = "accent-[#00a3ff]",
|
|
33
33
|
"Ready" = "accent-[#0060A5]",
|
|
34
34
|
"Fusion" = "accent-[#171717]"
|