@cntrl-site/sdk 1.22.3 → 1.22.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/dist/schemas/article/RichTextItem.schema.d.ts +10 -10
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { ScrollPlaybackVideoManager } from './ScrollPlaybackVideoManager/ScrollP
|
|
|
5
5
|
export { SectionHeightMode } from './types/article/Section';
|
|
6
6
|
export { TextAlign, TextDecoration, TextTransform, VerticalAlign } from './types/article/RichText';
|
|
7
7
|
export { ArticleItemType } from './types/article/ArticleItemType';
|
|
8
|
-
export { AreaAnchor, AnchorSide, PositionType } from './types/article/ItemArea';
|
|
8
|
+
export { AreaAnchor, AnchorSide, DimensionMode, PositionType } from './types/article/ItemArea';
|
|
9
9
|
export { KeyframeType } from './types/keyframe/Keyframe';
|
|
10
10
|
export type { Article } from './types/article/Article';
|
|
11
11
|
export type { Section, SectionHeight } from './types/article/Section';
|
package/dist/index.js
CHANGED
|
@@ -2137,6 +2137,7 @@ exports.AnchorSide = AnchorSide;
|
|
|
2137
2137
|
exports.AreaAnchor = AreaAnchor;
|
|
2138
2138
|
exports.ArticleItemType = ArticleItemType;
|
|
2139
2139
|
exports.CntrlClient = Client;
|
|
2140
|
+
exports.DimensionMode = DimensionMode;
|
|
2140
2141
|
exports.FontFaceGenerator = FontFaceGenerator;
|
|
2141
2142
|
exports.KeyframeType = KeyframeType;
|
|
2142
2143
|
exports.PositionType = PositionType;
|
package/dist/index.mjs
CHANGED
|
@@ -83,16 +83,16 @@ export declare const RichTextItemSchema: z.ZodObject<{
|
|
|
83
83
|
}>>;
|
|
84
84
|
compoundSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
85
85
|
positionAnchor: z.ZodNativeEnum<typeof import('../..').AreaAnchor>;
|
|
86
|
-
widthMode: z.ZodNativeEnum<typeof import('
|
|
87
|
-
heightMode: z.ZodNativeEnum<typeof import('
|
|
86
|
+
widthMode: z.ZodNativeEnum<typeof import('../..').DimensionMode>;
|
|
87
|
+
heightMode: z.ZodNativeEnum<typeof import('../..').DimensionMode>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
positionAnchor: import('../..').AreaAnchor;
|
|
90
|
-
widthMode: import('
|
|
91
|
-
heightMode: import('
|
|
90
|
+
widthMode: import('../..').DimensionMode;
|
|
91
|
+
heightMode: import('../..').DimensionMode;
|
|
92
92
|
}, {
|
|
93
93
|
positionAnchor: import('../..').AreaAnchor;
|
|
94
|
-
widthMode: import('
|
|
95
|
-
heightMode: import('
|
|
94
|
+
widthMode: import('../..').DimensionMode;
|
|
95
|
+
heightMode: import('../..').DimensionMode;
|
|
96
96
|
}>>>;
|
|
97
97
|
type: z.ZodLiteral<ArticleItemType.RichText>;
|
|
98
98
|
commonParams: z.ZodObject<{
|
|
@@ -1175,8 +1175,8 @@ export declare const RichTextItemSchema: z.ZodObject<{
|
|
|
1175
1175
|
} | undefined;
|
|
1176
1176
|
compoundSettings?: Record<string, {
|
|
1177
1177
|
positionAnchor: import('../..').AreaAnchor;
|
|
1178
|
-
widthMode: import('
|
|
1179
|
-
heightMode: import('
|
|
1178
|
+
widthMode: import('../..').DimensionMode;
|
|
1179
|
+
heightMode: import('../..').DimensionMode;
|
|
1180
1180
|
}> | undefined;
|
|
1181
1181
|
}, {
|
|
1182
1182
|
hidden: Record<string, boolean>;
|
|
@@ -1364,7 +1364,7 @@ export declare const RichTextItemSchema: z.ZodObject<{
|
|
|
1364
1364
|
} | undefined;
|
|
1365
1365
|
compoundSettings?: Record<string, {
|
|
1366
1366
|
positionAnchor: import('../..').AreaAnchor;
|
|
1367
|
-
widthMode: import('
|
|
1368
|
-
heightMode: import('
|
|
1367
|
+
widthMode: import('../..').DimensionMode;
|
|
1368
|
+
heightMode: import('../..').DimensionMode;
|
|
1369
1369
|
}> | undefined;
|
|
1370
1370
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cntrl-site/sdk",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.4",
|
|
4
4
|
"description": "Generic SDK for use in public websites.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
14
15
|
"import": "./dist/index.mjs",
|
|
15
16
|
"require": "./dist/index.js"
|
|
16
17
|
},
|