@cntrl-site/sdk 1.28.0-2 → 1.28.0-4

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 CHANGED
@@ -11,7 +11,8 @@ export { AreaAnchor, AnchorSide, DimensionMode, PositionType, DimensionsType } f
11
11
  export { KeyframeType } from './types/keyframe/Keyframe';
12
12
  export type { Article } from './types/article/Article';
13
13
  export type { Section, SectionHeight } from './types/article/Section';
14
- export type { Item, ImageItem, ItemAny, CustomItem, ItemCommonParamsMap, ItemLayoutParamsMap, RectangleItem, StickyParams, VideoItem, RichTextItem, Link, VimeoEmbedItem, YoutubeEmbedItem, GroupItem, CodeEmbedItem, CompoundItem, ComponentItem, FillLayer, ScrollPlaybackFrameData } from './types/article/Item';
14
+ export type { Item, ImageItem, ItemAny, CustomItem, ItemCommonParamsMap, ItemLayoutParamsMap, RectangleItem, VideoItem, RichTextItem, VimeoEmbedItem, YoutubeEmbedItem, GroupItem, CodeEmbedItem, CompoundItem, ComponentItem } from './types/article/Item';
15
+ export type { Link, StickyParams, FillLayer, ScrollPlaybackFrameData } from './types/article/Params.type';
15
16
  export type { StructuredBlock, ComponentStructuredBlock, RichTextStructuredBlock, ImageStructuredBlock, VimeoEmbedStructuredBlock, YoutubeEmbedStructuredBlock, StructuredBlockAny } from './types/article/StructuredBlock';
16
17
  export type { RichTextBlock, RichTextEntity, RichTextStyle } from './types/article/RichText';
17
18
  export type { ItemArea } from './types/article/ItemArea';
@@ -55,8 +55,8 @@ export declare const ArticleSchema: z.ZodObject<{
55
55
  to: string;
56
56
  itemId: string;
57
57
  isReverse: boolean;
58
- itemPosition: "center" | "top" | "bottom";
59
- screenPosition: "center" | "top" | "bottom";
58
+ itemPosition: "top" | "bottom" | "center";
59
+ screenPosition: "top" | "bottom" | "center";
60
60
  offset: number;
61
61
  }, {
62
62
  type: "item-scroll-position";
@@ -64,8 +64,8 @@ export declare const ArticleSchema: z.ZodObject<{
64
64
  to: string;
65
65
  itemId: string;
66
66
  isReverse: boolean;
67
- itemPosition: "center" | "top" | "bottom";
68
- screenPosition: "center" | "top" | "bottom";
67
+ itemPosition: "top" | "bottom" | "center";
68
+ screenPosition: "top" | "bottom" | "center";
69
69
  offset: number;
70
70
  }>]>, "many">;
71
71
  states: z.ZodArray<z.ZodObject<{
@@ -114,8 +114,8 @@ export declare const ArticleSchema: z.ZodObject<{
114
114
  to: string;
115
115
  itemId: string;
116
116
  isReverse: boolean;
117
- itemPosition: "center" | "top" | "bottom";
118
- screenPosition: "center" | "top" | "bottom";
117
+ itemPosition: "top" | "bottom" | "center";
118
+ screenPosition: "top" | "bottom" | "center";
119
119
  offset: number;
120
120
  })[];
121
121
  states: {
@@ -146,8 +146,8 @@ export declare const ArticleSchema: z.ZodObject<{
146
146
  to: string;
147
147
  itemId: string;
148
148
  isReverse: boolean;
149
- itemPosition: "center" | "top" | "bottom";
150
- screenPosition: "center" | "top" | "bottom";
149
+ itemPosition: "top" | "bottom" | "center";
150
+ screenPosition: "top" | "bottom" | "center";
151
151
  offset: number;
152
152
  })[];
153
153
  states: {
@@ -182,8 +182,8 @@ export declare const ArticleSchema: z.ZodObject<{
182
182
  to: string;
183
183
  itemId: string;
184
184
  isReverse: boolean;
185
- itemPosition: "center" | "top" | "bottom";
186
- screenPosition: "center" | "top" | "bottom";
185
+ itemPosition: "top" | "bottom" | "center";
186
+ screenPosition: "top" | "bottom" | "center";
187
187
  offset: number;
188
188
  })[];
189
189
  states: {
@@ -218,8 +218,8 @@ export declare const ArticleSchema: z.ZodObject<{
218
218
  to: string;
219
219
  itemId: string;
220
220
  isReverse: boolean;
221
- itemPosition: "center" | "top" | "bottom";
222
- screenPosition: "center" | "top" | "bottom";
221
+ itemPosition: "top" | "bottom" | "center";
222
+ screenPosition: "top" | "bottom" | "center";
223
223
  offset: number;
224
224
  })[];
225
225
  states: {