@supernova-studio/client 0.30.1 → 0.31.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.d.mts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +322 -1392
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +308 -1378
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/design-system-content/documentation-hierarchy.ts +3 -1
- package/src/yjs/docs-editor/mock.ts +301 -1361
package/dist/index.d.mts
CHANGED
|
@@ -11804,14 +11804,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11804
11804
|
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
11805
11805
|
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
11806
11806
|
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
11807
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
11807
11808
|
}, "strip", z.ZodTypeAny, {
|
|
11808
11809
|
isBordered?: boolean | undefined;
|
|
11809
11810
|
hasBackground?: boolean | undefined;
|
|
11810
11811
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11812
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11811
11813
|
}, {
|
|
11812
11814
|
isBordered?: boolean | undefined;
|
|
11813
11815
|
hasBackground?: boolean | undefined;
|
|
11814
11816
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11817
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11815
11818
|
}>>;
|
|
11816
11819
|
variants: z.ZodArray<z.ZodObject<{
|
|
11817
11820
|
id: z.ZodString;
|
|
@@ -11826,14 +11829,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11826
11829
|
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
11827
11830
|
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
11828
11831
|
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
11832
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
11829
11833
|
}, "strip", z.ZodTypeAny, {
|
|
11830
11834
|
isBordered?: boolean | undefined;
|
|
11831
11835
|
hasBackground?: boolean | undefined;
|
|
11832
11836
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11837
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11833
11838
|
}, {
|
|
11834
11839
|
isBordered?: boolean | undefined;
|
|
11835
11840
|
hasBackground?: boolean | undefined;
|
|
11836
11841
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11842
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11837
11843
|
}>>;
|
|
11838
11844
|
}, "strip", z.ZodTypeAny, {
|
|
11839
11845
|
id: string;
|
|
@@ -11855,6 +11861,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11855
11861
|
isBordered?: boolean | undefined;
|
|
11856
11862
|
hasBackground?: boolean | undefined;
|
|
11857
11863
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11864
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11858
11865
|
} | undefined;
|
|
11859
11866
|
}, {
|
|
11860
11867
|
id: string;
|
|
@@ -11876,6 +11883,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11876
11883
|
isBordered?: boolean | undefined;
|
|
11877
11884
|
hasBackground?: boolean | undefined;
|
|
11878
11885
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11886
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11879
11887
|
} | undefined;
|
|
11880
11888
|
}>, "many">;
|
|
11881
11889
|
defaultVariantKey: z.ZodString;
|
|
@@ -11908,6 +11916,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11908
11916
|
isBordered?: boolean | undefined;
|
|
11909
11917
|
hasBackground?: boolean | undefined;
|
|
11910
11918
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11919
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11911
11920
|
} | undefined;
|
|
11912
11921
|
}[];
|
|
11913
11922
|
defaultVariantKey: string;
|
|
@@ -11915,6 +11924,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11915
11924
|
isBordered?: boolean | undefined;
|
|
11916
11925
|
hasBackground?: boolean | undefined;
|
|
11917
11926
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11927
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11918
11928
|
} | undefined;
|
|
11919
11929
|
}, {
|
|
11920
11930
|
properties: {
|
|
@@ -11945,6 +11955,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11945
11955
|
isBordered?: boolean | undefined;
|
|
11946
11956
|
hasBackground?: boolean | undefined;
|
|
11947
11957
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11958
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11948
11959
|
} | undefined;
|
|
11949
11960
|
}[];
|
|
11950
11961
|
defaultVariantKey: string;
|
|
@@ -11952,6 +11963,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11952
11963
|
isBordered?: boolean | undefined;
|
|
11953
11964
|
hasBackground?: boolean | undefined;
|
|
11954
11965
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11966
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11955
11967
|
} | undefined;
|
|
11956
11968
|
}>;
|
|
11957
11969
|
behavior: z.ZodObject<{
|
|
@@ -12023,14 +12035,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12023
12035
|
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
12024
12036
|
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
12025
12037
|
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
12038
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
12026
12039
|
}, "strip", z.ZodTypeAny, {
|
|
12027
12040
|
isBordered?: boolean | undefined;
|
|
12028
12041
|
hasBackground?: boolean | undefined;
|
|
12029
12042
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12043
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12030
12044
|
}, {
|
|
12031
12045
|
isBordered?: boolean | undefined;
|
|
12032
12046
|
hasBackground?: boolean | undefined;
|
|
12033
12047
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12048
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12034
12049
|
}>>;
|
|
12035
12050
|
}, "strip", z.ZodTypeAny, {
|
|
12036
12051
|
id: string;
|
|
@@ -12065,6 +12080,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12065
12080
|
isBordered?: boolean | undefined;
|
|
12066
12081
|
hasBackground?: boolean | undefined;
|
|
12067
12082
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12083
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12068
12084
|
} | undefined;
|
|
12069
12085
|
}[];
|
|
12070
12086
|
defaultVariantKey: string;
|
|
@@ -12072,6 +12088,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12072
12088
|
isBordered?: boolean | undefined;
|
|
12073
12089
|
hasBackground?: boolean | undefined;
|
|
12074
12090
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12091
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12075
12092
|
} | undefined;
|
|
12076
12093
|
};
|
|
12077
12094
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12099,6 +12116,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12099
12116
|
isBordered?: boolean | undefined;
|
|
12100
12117
|
hasBackground?: boolean | undefined;
|
|
12101
12118
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12119
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12102
12120
|
} | undefined;
|
|
12103
12121
|
}, {
|
|
12104
12122
|
id: string;
|
|
@@ -12133,6 +12151,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12133
12151
|
isBordered?: boolean | undefined;
|
|
12134
12152
|
hasBackground?: boolean | undefined;
|
|
12135
12153
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12154
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12136
12155
|
} | undefined;
|
|
12137
12156
|
}[];
|
|
12138
12157
|
defaultVariantKey: string;
|
|
@@ -12140,6 +12159,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12140
12159
|
isBordered?: boolean | undefined;
|
|
12141
12160
|
hasBackground?: boolean | undefined;
|
|
12142
12161
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12162
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12143
12163
|
} | undefined;
|
|
12144
12164
|
};
|
|
12145
12165
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12167,6 +12187,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12167
12187
|
isBordered?: boolean | undefined;
|
|
12168
12188
|
hasBackground?: boolean | undefined;
|
|
12169
12189
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12190
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12170
12191
|
} | undefined;
|
|
12171
12192
|
}>, "many">;
|
|
12172
12193
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12203,6 +12224,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12203
12224
|
isBordered?: boolean | undefined;
|
|
12204
12225
|
hasBackground?: boolean | undefined;
|
|
12205
12226
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12227
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12206
12228
|
} | undefined;
|
|
12207
12229
|
}[];
|
|
12208
12230
|
defaultVariantKey: string;
|
|
@@ -12210,6 +12232,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12210
12232
|
isBordered?: boolean | undefined;
|
|
12211
12233
|
hasBackground?: boolean | undefined;
|
|
12212
12234
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12235
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12213
12236
|
} | undefined;
|
|
12214
12237
|
};
|
|
12215
12238
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12237,6 +12260,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12237
12260
|
isBordered?: boolean | undefined;
|
|
12238
12261
|
hasBackground?: boolean | undefined;
|
|
12239
12262
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12263
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12240
12264
|
} | undefined;
|
|
12241
12265
|
}[];
|
|
12242
12266
|
}, {
|
|
@@ -12273,6 +12297,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12273
12297
|
isBordered?: boolean | undefined;
|
|
12274
12298
|
hasBackground?: boolean | undefined;
|
|
12275
12299
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12300
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12276
12301
|
} | undefined;
|
|
12277
12302
|
}[];
|
|
12278
12303
|
defaultVariantKey: string;
|
|
@@ -12280,6 +12305,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12280
12305
|
isBordered?: boolean | undefined;
|
|
12281
12306
|
hasBackground?: boolean | undefined;
|
|
12282
12307
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12308
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12283
12309
|
} | undefined;
|
|
12284
12310
|
};
|
|
12285
12311
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12307,6 +12333,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12307
12333
|
isBordered?: boolean | undefined;
|
|
12308
12334
|
hasBackground?: boolean | undefined;
|
|
12309
12335
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12336
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12310
12337
|
} | undefined;
|
|
12311
12338
|
}[];
|
|
12312
12339
|
}>;
|
|
@@ -14882,6 +14909,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
|
|
|
14882
14909
|
isBordered?: boolean | undefined;
|
|
14883
14910
|
hasBackground?: boolean | undefined;
|
|
14884
14911
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
14912
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
14885
14913
|
} | undefined;
|
|
14886
14914
|
}[];
|
|
14887
14915
|
defaultVariantKey: string;
|
|
@@ -14889,6 +14917,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
|
|
|
14889
14917
|
isBordered?: boolean | undefined;
|
|
14890
14918
|
hasBackground?: boolean | undefined;
|
|
14891
14919
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
14920
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
14892
14921
|
} | undefined;
|
|
14893
14922
|
};
|
|
14894
14923
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -14916,6 +14945,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
|
|
|
14916
14945
|
isBordered?: boolean | undefined;
|
|
14917
14946
|
hasBackground?: boolean | undefined;
|
|
14918
14947
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
14948
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
14919
14949
|
} | undefined;
|
|
14920
14950
|
};
|
|
14921
14951
|
declare function sectionToProsemirrorNode(section: PageSectionEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -11804,14 +11804,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11804
11804
|
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
11805
11805
|
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
11806
11806
|
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
11807
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
11807
11808
|
}, "strip", z.ZodTypeAny, {
|
|
11808
11809
|
isBordered?: boolean | undefined;
|
|
11809
11810
|
hasBackground?: boolean | undefined;
|
|
11810
11811
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11812
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11811
11813
|
}, {
|
|
11812
11814
|
isBordered?: boolean | undefined;
|
|
11813
11815
|
hasBackground?: boolean | undefined;
|
|
11814
11816
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11817
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11815
11818
|
}>>;
|
|
11816
11819
|
variants: z.ZodArray<z.ZodObject<{
|
|
11817
11820
|
id: z.ZodString;
|
|
@@ -11826,14 +11829,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11826
11829
|
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
11827
11830
|
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
11828
11831
|
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
11832
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
11829
11833
|
}, "strip", z.ZodTypeAny, {
|
|
11830
11834
|
isBordered?: boolean | undefined;
|
|
11831
11835
|
hasBackground?: boolean | undefined;
|
|
11832
11836
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11837
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11833
11838
|
}, {
|
|
11834
11839
|
isBordered?: boolean | undefined;
|
|
11835
11840
|
hasBackground?: boolean | undefined;
|
|
11836
11841
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11842
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11837
11843
|
}>>;
|
|
11838
11844
|
}, "strip", z.ZodTypeAny, {
|
|
11839
11845
|
id: string;
|
|
@@ -11855,6 +11861,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11855
11861
|
isBordered?: boolean | undefined;
|
|
11856
11862
|
hasBackground?: boolean | undefined;
|
|
11857
11863
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11864
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11858
11865
|
} | undefined;
|
|
11859
11866
|
}, {
|
|
11860
11867
|
id: string;
|
|
@@ -11876,6 +11883,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11876
11883
|
isBordered?: boolean | undefined;
|
|
11877
11884
|
hasBackground?: boolean | undefined;
|
|
11878
11885
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11886
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11879
11887
|
} | undefined;
|
|
11880
11888
|
}>, "many">;
|
|
11881
11889
|
defaultVariantKey: z.ZodString;
|
|
@@ -11908,6 +11916,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11908
11916
|
isBordered?: boolean | undefined;
|
|
11909
11917
|
hasBackground?: boolean | undefined;
|
|
11910
11918
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11919
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11911
11920
|
} | undefined;
|
|
11912
11921
|
}[];
|
|
11913
11922
|
defaultVariantKey: string;
|
|
@@ -11915,6 +11924,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11915
11924
|
isBordered?: boolean | undefined;
|
|
11916
11925
|
hasBackground?: boolean | undefined;
|
|
11917
11926
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11927
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11918
11928
|
} | undefined;
|
|
11919
11929
|
}, {
|
|
11920
11930
|
properties: {
|
|
@@ -11945,6 +11955,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11945
11955
|
isBordered?: boolean | undefined;
|
|
11946
11956
|
hasBackground?: boolean | undefined;
|
|
11947
11957
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11958
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11948
11959
|
} | undefined;
|
|
11949
11960
|
}[];
|
|
11950
11961
|
defaultVariantKey: string;
|
|
@@ -11952,6 +11963,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
11952
11963
|
isBordered?: boolean | undefined;
|
|
11953
11964
|
hasBackground?: boolean | undefined;
|
|
11954
11965
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
11966
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
11955
11967
|
} | undefined;
|
|
11956
11968
|
}>;
|
|
11957
11969
|
behavior: z.ZodObject<{
|
|
@@ -12023,14 +12035,17 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12023
12035
|
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
12024
12036
|
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
12025
12037
|
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
12038
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
12026
12039
|
}, "strip", z.ZodTypeAny, {
|
|
12027
12040
|
isBordered?: boolean | undefined;
|
|
12028
12041
|
hasBackground?: boolean | undefined;
|
|
12029
12042
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12043
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12030
12044
|
}, {
|
|
12031
12045
|
isBordered?: boolean | undefined;
|
|
12032
12046
|
hasBackground?: boolean | undefined;
|
|
12033
12047
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12048
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12034
12049
|
}>>;
|
|
12035
12050
|
}, "strip", z.ZodTypeAny, {
|
|
12036
12051
|
id: string;
|
|
@@ -12065,6 +12080,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12065
12080
|
isBordered?: boolean | undefined;
|
|
12066
12081
|
hasBackground?: boolean | undefined;
|
|
12067
12082
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12083
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12068
12084
|
} | undefined;
|
|
12069
12085
|
}[];
|
|
12070
12086
|
defaultVariantKey: string;
|
|
@@ -12072,6 +12088,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12072
12088
|
isBordered?: boolean | undefined;
|
|
12073
12089
|
hasBackground?: boolean | undefined;
|
|
12074
12090
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12091
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12075
12092
|
} | undefined;
|
|
12076
12093
|
};
|
|
12077
12094
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12099,6 +12116,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12099
12116
|
isBordered?: boolean | undefined;
|
|
12100
12117
|
hasBackground?: boolean | undefined;
|
|
12101
12118
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12119
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12102
12120
|
} | undefined;
|
|
12103
12121
|
}, {
|
|
12104
12122
|
id: string;
|
|
@@ -12133,6 +12151,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12133
12151
|
isBordered?: boolean | undefined;
|
|
12134
12152
|
hasBackground?: boolean | undefined;
|
|
12135
12153
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12154
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12136
12155
|
} | undefined;
|
|
12137
12156
|
}[];
|
|
12138
12157
|
defaultVariantKey: string;
|
|
@@ -12140,6 +12159,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12140
12159
|
isBordered?: boolean | undefined;
|
|
12141
12160
|
hasBackground?: boolean | undefined;
|
|
12142
12161
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12162
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12143
12163
|
} | undefined;
|
|
12144
12164
|
};
|
|
12145
12165
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12167,6 +12187,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12167
12187
|
isBordered?: boolean | undefined;
|
|
12168
12188
|
hasBackground?: boolean | undefined;
|
|
12169
12189
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12190
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12170
12191
|
} | undefined;
|
|
12171
12192
|
}>, "many">;
|
|
12172
12193
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12203,6 +12224,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12203
12224
|
isBordered?: boolean | undefined;
|
|
12204
12225
|
hasBackground?: boolean | undefined;
|
|
12205
12226
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12227
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12206
12228
|
} | undefined;
|
|
12207
12229
|
}[];
|
|
12208
12230
|
defaultVariantKey: string;
|
|
@@ -12210,6 +12232,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12210
12232
|
isBordered?: boolean | undefined;
|
|
12211
12233
|
hasBackground?: boolean | undefined;
|
|
12212
12234
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12235
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12213
12236
|
} | undefined;
|
|
12214
12237
|
};
|
|
12215
12238
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12237,6 +12260,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12237
12260
|
isBordered?: boolean | undefined;
|
|
12238
12261
|
hasBackground?: boolean | undefined;
|
|
12239
12262
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12263
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12240
12264
|
} | undefined;
|
|
12241
12265
|
}[];
|
|
12242
12266
|
}, {
|
|
@@ -12273,6 +12297,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12273
12297
|
isBordered?: boolean | undefined;
|
|
12274
12298
|
hasBackground?: boolean | undefined;
|
|
12275
12299
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12300
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12276
12301
|
} | undefined;
|
|
12277
12302
|
}[];
|
|
12278
12303
|
defaultVariantKey: string;
|
|
@@ -12280,6 +12305,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12280
12305
|
isBordered?: boolean | undefined;
|
|
12281
12306
|
hasBackground?: boolean | undefined;
|
|
12282
12307
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12308
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12283
12309
|
} | undefined;
|
|
12284
12310
|
};
|
|
12285
12311
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -12307,6 +12333,7 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
|
12307
12333
|
isBordered?: boolean | undefined;
|
|
12308
12334
|
hasBackground?: boolean | undefined;
|
|
12309
12335
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
12336
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
12310
12337
|
} | undefined;
|
|
12311
12338
|
}[];
|
|
12312
12339
|
}>;
|
|
@@ -14882,6 +14909,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
|
|
|
14882
14909
|
isBordered?: boolean | undefined;
|
|
14883
14910
|
hasBackground?: boolean | undefined;
|
|
14884
14911
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
14912
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
14885
14913
|
} | undefined;
|
|
14886
14914
|
}[];
|
|
14887
14915
|
defaultVariantKey: string;
|
|
@@ -14889,6 +14917,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
|
|
|
14889
14917
|
isBordered?: boolean | undefined;
|
|
14890
14918
|
hasBackground?: boolean | undefined;
|
|
14891
14919
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
14920
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
14892
14921
|
} | undefined;
|
|
14893
14922
|
};
|
|
14894
14923
|
category: "Text" | "Code" | "Embed" | "Figma" | "Layout" | "Media" | "Guidelines" | "Tokens" | "Components" | "Assets" | "Data" | "Other";
|
|
@@ -14916,6 +14945,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
|
|
|
14916
14945
|
isBordered?: boolean | undefined;
|
|
14917
14946
|
hasBackground?: boolean | undefined;
|
|
14918
14947
|
isEditorPresentationDifferent?: boolean | undefined;
|
|
14948
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
14919
14949
|
} | undefined;
|
|
14920
14950
|
};
|
|
14921
14951
|
declare function sectionToProsemirrorNode(section: PageSectionEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
|