@gxpl/sdk 0.0.15-0 → 0.0.17
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/lib/index.d.ts +0 -1
- package/lib/sdk/schemas/article/Article.schema.d.ts +6 -6
- package/lib/sdk/schemas/article/Section.schema.d.ts +6 -6
- package/lib/sdk/schemas/project/Project.schema.d.ts +0 -1098
- package/lib/sdk/schemas/project/Project.schema.js +2 -27
- package/lib/sdk/types/article/Item.d.ts +12 -1
- package/lib/sdk/types/project/Project.d.ts +0 -3
- package/lib/sdk-nextjs/components/items/CodeEmbedItem/CodeEmbedItem.js +2 -2
- package/lib/sdk-nextjs/components/items/CompoundItem/CompoundItem.js +3 -3
- package/lib/sdk-nextjs/components/items/EmbedVideoItem/VimeoEmbed.js +4 -4
- package/lib/sdk-nextjs/components/items/EmbedVideoItem/YoutubeEmbed.js +4 -4
- package/lib/sdk-nextjs/components/items/FileItem/ImageItem.js +2 -2
- package/lib/sdk-nextjs/components/items/FileItem/VideoItem.js +5 -5
- package/lib/sdk-nextjs/components/items/GroupItem/GroupItem.js +2 -2
- package/lib/sdk-nextjs/components/items/LinkWrapper.d.ts +2 -2
- package/lib/sdk-nextjs/components/items/LinkWrapper.js +22 -4
- package/lib/sdk-nextjs/components/items/RectangleItem/RectangleItem.js +3 -3
- package/lib/sdk-nextjs/components/items/RichTextItem/RichTextItem.js +1 -23
- package/lib/sdk-nextjs/utils/RichTextConverter/RichTextConverter.js +7 -7
- package/package.json +1 -1
- package/lib/sdk/types/project/FixedLayer.d.ts +0 -27
- package/lib/sdk/types/project/FixedLayer.js +0 -2
package/lib/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export type { ItemArea } from './sdk/types/article/ItemArea';
|
|
|
14
14
|
export type { ItemState, ItemStateParams, StateParams, ItemStatesMap } from './sdk/types/article/ItemState';
|
|
15
15
|
export type { Interaction, InteractionItemTrigger, InteractionScrollTrigger, InteractionState } from './sdk/types/article/Interaction';
|
|
16
16
|
export type { Project } from './sdk/types/project/Project';
|
|
17
|
-
export type { TFixedLayer, FixedLayerTransition, TransitionTiming } from './sdk/types/project/FixedLayer';
|
|
18
17
|
export type { Meta } from './sdk/types/project/Meta';
|
|
19
18
|
export type { KeyframeValueMap, KeyframeAny } from './sdk/types/keyframe/Keyframe';
|
|
20
19
|
export type { CompoundSettings } from './sdk/types/article/CompoundSettings';
|
|
@@ -29,17 +29,17 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
29
29
|
position: z.ZodString;
|
|
30
30
|
offsetX: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
play: "on-click" | "auto";
|
|
33
32
|
url: string;
|
|
34
33
|
coverUrl: string | null;
|
|
34
|
+
play: "on-click" | "auto";
|
|
35
35
|
position: string;
|
|
36
36
|
type: "video";
|
|
37
37
|
size: string;
|
|
38
38
|
offsetX: number | null;
|
|
39
39
|
}, {
|
|
40
|
-
play: "on-click" | "auto";
|
|
41
40
|
url: string;
|
|
42
41
|
coverUrl: string | null;
|
|
42
|
+
play: "on-click" | "auto";
|
|
43
43
|
position: string;
|
|
44
44
|
type: "video";
|
|
45
45
|
size: string;
|
|
@@ -75,9 +75,9 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
75
75
|
items: import("../../..").ItemAny[];
|
|
76
76
|
name?: string | undefined;
|
|
77
77
|
media?: {
|
|
78
|
-
play: "on-click" | "auto";
|
|
79
78
|
url: string;
|
|
80
79
|
coverUrl: string | null;
|
|
80
|
+
play: "on-click" | "auto";
|
|
81
81
|
position: string;
|
|
82
82
|
type: "video";
|
|
83
83
|
size: string;
|
|
@@ -101,9 +101,9 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
101
101
|
items: import("../../..").ItemAny[];
|
|
102
102
|
name?: string | undefined;
|
|
103
103
|
media?: {
|
|
104
|
-
play: "on-click" | "auto";
|
|
105
104
|
url: string;
|
|
106
105
|
coverUrl: string | null;
|
|
106
|
+
play: "on-click" | "auto";
|
|
107
107
|
position: string;
|
|
108
108
|
type: "video";
|
|
109
109
|
size: string;
|
|
@@ -232,9 +232,9 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
232
232
|
items: import("../../..").ItemAny[];
|
|
233
233
|
name?: string | undefined;
|
|
234
234
|
media?: {
|
|
235
|
-
play: "on-click" | "auto";
|
|
236
235
|
url: string;
|
|
237
236
|
coverUrl: string | null;
|
|
237
|
+
play: "on-click" | "auto";
|
|
238
238
|
position: string;
|
|
239
239
|
type: "video";
|
|
240
240
|
size: string;
|
|
@@ -283,9 +283,9 @@ export declare const ArticleSchema: z.ZodObject<{
|
|
|
283
283
|
items: import("../../..").ItemAny[];
|
|
284
284
|
name?: string | undefined;
|
|
285
285
|
media?: {
|
|
286
|
-
play: "on-click" | "auto";
|
|
287
286
|
url: string;
|
|
288
287
|
coverUrl: string | null;
|
|
288
|
+
play: "on-click" | "auto";
|
|
289
289
|
position: string;
|
|
290
290
|
type: "video";
|
|
291
291
|
size: string;
|
|
@@ -22,17 +22,17 @@ export declare const SectionMediaSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
22
22
|
position: z.ZodString;
|
|
23
23
|
offsetX: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
play: "on-click" | "auto";
|
|
26
25
|
url: string;
|
|
27
26
|
coverUrl: string | null;
|
|
27
|
+
play: "on-click" | "auto";
|
|
28
28
|
position: string;
|
|
29
29
|
type: "video";
|
|
30
30
|
size: string;
|
|
31
31
|
offsetX: number | null;
|
|
32
32
|
}, {
|
|
33
|
-
play: "on-click" | "auto";
|
|
34
33
|
url: string;
|
|
35
34
|
coverUrl: string | null;
|
|
35
|
+
play: "on-click" | "auto";
|
|
36
36
|
position: string;
|
|
37
37
|
type: "video";
|
|
38
38
|
size: string;
|
|
@@ -84,17 +84,17 @@ export declare const SectionSchema: z.ZodObject<{
|
|
|
84
84
|
position: z.ZodString;
|
|
85
85
|
offsetX: z.ZodNullable<z.ZodNumber>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
play: "on-click" | "auto";
|
|
88
87
|
url: string;
|
|
89
88
|
coverUrl: string | null;
|
|
89
|
+
play: "on-click" | "auto";
|
|
90
90
|
position: string;
|
|
91
91
|
type: "video";
|
|
92
92
|
size: string;
|
|
93
93
|
offsetX: number | null;
|
|
94
94
|
}, {
|
|
95
|
-
play: "on-click" | "auto";
|
|
96
95
|
url: string;
|
|
97
96
|
coverUrl: string | null;
|
|
97
|
+
play: "on-click" | "auto";
|
|
98
98
|
position: string;
|
|
99
99
|
type: "video";
|
|
100
100
|
size: string;
|
|
@@ -130,9 +130,9 @@ export declare const SectionSchema: z.ZodObject<{
|
|
|
130
130
|
items: import("../../..").ItemAny[];
|
|
131
131
|
name?: string | undefined;
|
|
132
132
|
media?: {
|
|
133
|
-
play: "on-click" | "auto";
|
|
134
133
|
url: string;
|
|
135
134
|
coverUrl: string | null;
|
|
135
|
+
play: "on-click" | "auto";
|
|
136
136
|
position: string;
|
|
137
137
|
type: "video";
|
|
138
138
|
size: string;
|
|
@@ -156,9 +156,9 @@ export declare const SectionSchema: z.ZodObject<{
|
|
|
156
156
|
items: import("../../..").ItemAny[];
|
|
157
157
|
name?: string | undefined;
|
|
158
158
|
media?: {
|
|
159
|
-
play: "on-click" | "auto";
|
|
160
159
|
url: string;
|
|
161
160
|
coverUrl: string | null;
|
|
161
|
+
play: "on-click" | "auto";
|
|
162
162
|
position: string;
|
|
163
163
|
type: "video";
|
|
164
164
|
size: string;
|