@lupinum/ginko-editor 0.1.0 → 0.18.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.
Files changed (166) hide show
  1. package/CHANGELOG.md +7 -73
  2. package/LICENSE +1 -1
  3. package/README.md +15 -340
  4. package/dist/assets.d.ts +70 -0
  5. package/dist/assets.js +31 -0
  6. package/dist/core/component-props.d.ts +87 -0
  7. package/dist/core/component-props.js +134 -0
  8. package/dist/core/convert.d.ts +24 -0
  9. package/dist/core/convert.js +278 -0
  10. package/dist/core/editor.d.ts +60 -0
  11. package/dist/core/editor.js +85 -0
  12. package/dist/core/extensions.d.ts +38 -0
  13. package/dist/core/extensions.js +444 -0
  14. package/dist/core/file-images.d.ts +9 -0
  15. package/dist/core/file-images.js +54 -0
  16. package/dist/core/image-frame.d.ts +23 -0
  17. package/dist/core/image-frame.js +24 -0
  18. package/dist/core/index.d.ts +17 -0
  19. package/dist/core/index.js +17 -0
  20. package/dist/core/link-card.d.ts +20 -0
  21. package/dist/core/link-card.js +70 -0
  22. package/dist/core/link.d.ts +3 -0
  23. package/dist/core/link.js +8 -0
  24. package/dist/core/move.d.ts +11 -0
  25. package/dist/core/move.js +37 -0
  26. package/dist/core/paste-html.d.ts +6 -0
  27. package/dist/core/paste-html.js +384 -0
  28. package/dist/core/paste.d.ts +21 -0
  29. package/dist/core/paste.js +108 -0
  30. package/dist/core/problems.d.ts +31 -0
  31. package/dist/core/problems.js +54 -0
  32. package/dist/core/search.d.ts +47 -0
  33. package/dist/core/search.js +148 -0
  34. package/dist/core/slash.d.ts +93 -0
  35. package/dist/core/slash.js +215 -0
  36. package/dist/core/table.d.ts +34 -0
  37. package/dist/core/table.js +141 -0
  38. package/dist/core/uploads.d.ts +23 -0
  39. package/dist/core/uploads.js +71 -0
  40. package/dist/core/use-editor.d.ts +19 -0
  41. package/dist/core/use-editor.js +53 -0
  42. package/dist/index.d.ts +6 -15
  43. package/dist/index.js +6 -5668
  44. package/dist/issues.d.ts +49 -0
  45. package/dist/issues.js +9 -0
  46. package/dist/today.d.ts +6 -0
  47. package/dist/today.js +19 -0
  48. package/dist/useUpload.d.ts +48 -0
  49. package/dist/useUpload.js +59 -0
  50. package/dist/values.d.ts +14 -0
  51. package/dist/values.js +36 -0
  52. package/package.json +35 -95
  53. package/dist/GinkoEditor.vue.d.ts +0 -96
  54. package/dist/GinkoImagePicker.vue.d.ts +0 -36
  55. package/dist/agent/AGENTS.md +0 -13
  56. package/dist/agent/pages/docs/getting-started/collaboration.md +0 -435
  57. package/dist/agent/pages/docs/getting-started/component-coverage.md +0 -107
  58. package/dist/agent/pages/docs/getting-started/customize.md +0 -384
  59. package/dist/agent/pages/docs/getting-started/images.md +0 -188
  60. package/dist/agent/pages/docs/getting-started/in-place-editing.md +0 -110
  61. package/dist/agent/pages/docs/getting-started/layout-blocks.md +0 -148
  62. package/dist/agent/pages/docs/getting-started/runtime.md +0 -111
  63. package/dist/agent/pages/docs/getting-started.md +0 -128
  64. package/dist/authoring-D7MJezVG.js +0 -1780
  65. package/dist/authoring-D7MJezVG.js.map +0 -1
  66. package/dist/authoring.d.ts +0 -122
  67. package/dist/authoring.js +0 -2
  68. package/dist/collaboration.d.ts +0 -14
  69. package/dist/collaboration.js +0 -907
  70. package/dist/collaboration.js.map +0 -1
  71. package/dist/composables/useAssetRequests.d.ts +0 -44
  72. package/dist/composables/useCollaborationBinding.d.ts +0 -59
  73. package/dist/composables/useDevice.d.ts +0 -10
  74. package/dist/composables/useInsertMenu.d.ts +0 -67
  75. package/dist/composables/useMarkdownSync.d.ts +0 -96
  76. package/dist/composables/useStableAuthoringKit.d.ts +0 -16
  77. package/dist/documentConfig-Z6LdrWZj.js +0 -2360
  78. package/dist/documentConfig-Z6LdrWZj.js.map +0 -1
  79. package/dist/editorProps.d.ts +0 -124
  80. package/dist/index.js.map +0 -1
  81. package/dist/layout-kit.d.ts +0 -922
  82. package/dist/lib/collaboration/presence-record.d.ts +0 -18
  83. package/dist/lib/collaboration/presence.d.ts +0 -103
  84. package/dist/lib/collaboration/protocol.d.ts +0 -133
  85. package/dist/lib/collaboration/recovery.d.ts +0 -45
  86. package/dist/lib/collaboration/session.d.ts +0 -163
  87. package/dist/lib/collaboration/validation.d.ts +0 -42
  88. package/dist/lib/component-converters.d.ts +0 -119
  89. package/dist/lib/config/documentConfig.d.ts +0 -19
  90. package/dist/lib/config/editorConfig.d.ts +0 -38
  91. package/dist/lib/container-items.d.ts +0 -55
  92. package/dist/lib/conversionInvariants.d.ts +0 -3
  93. package/dist/lib/conversionLogger.d.ts +0 -10
  94. package/dist/lib/conversionPipeline.d.ts +0 -17
  95. package/dist/lib/conversionState.d.ts +0 -10
  96. package/dist/lib/conversionTypes.d.ts +0 -50
  97. package/dist/lib/editor-operations.d.ts +0 -39
  98. package/dist/lib/environment.d.ts +0 -6
  99. package/dist/lib/extensions/code-block.d.ts +0 -18
  100. package/dist/lib/extensions/component-boundary.d.ts +0 -9
  101. package/dist/lib/extensions/container-items.d.ts +0 -29
  102. package/dist/lib/extensions/element.d.ts +0 -19
  103. package/dist/lib/extensions/file.d.ts +0 -24
  104. package/dist/lib/extensions/heading.d.ts +0 -5
  105. package/dist/lib/extensions/image-upload.d.ts +0 -39
  106. package/dist/lib/extensions/image.d.ts +0 -39
  107. package/dist/lib/extensions/index.d.ts +0 -10
  108. package/dist/lib/extensions/inline-element.d.ts +0 -13
  109. package/dist/lib/extensions/markdown-clipboard.d.ts +0 -21
  110. package/dist/lib/extensions/profile.d.ts +0 -11
  111. package/dist/lib/extensions/slot.d.ts +0 -16
  112. package/dist/lib/extensions/span-style.d.ts +0 -15
  113. package/dist/lib/extensions/video.d.ts +0 -15
  114. package/dist/lib/image-properties.d.ts +0 -20
  115. package/dist/lib/input-rules.d.ts +0 -7
  116. package/dist/lib/markdown.d.ts +0 -11
  117. package/dist/lib/marks.d.ts +0 -7
  118. package/dist/lib/mdcToTiptap.d.ts +0 -20
  119. package/dist/lib/mdcTypes.d.ts +0 -20
  120. package/dist/lib/nodes.d.ts +0 -57
  121. package/dist/lib/nodeviews/block-actions.d.ts +0 -7
  122. package/dist/lib/nodeviews/code.d.ts +0 -4
  123. package/dist/lib/nodeviews/columns.d.ts +0 -17
  124. package/dist/lib/nodeviews/component.d.ts +0 -6
  125. package/dist/lib/nodeviews/icons.d.ts +0 -26
  126. package/dist/lib/nodeviews/image.d.ts +0 -9
  127. package/dist/lib/nodeviews/items.d.ts +0 -15
  128. package/dist/lib/nodeviews/lifecycle.d.ts +0 -45
  129. package/dist/lib/nodeviews/popover.d.ts +0 -15
  130. package/dist/lib/nodeviews/settings.d.ts +0 -11
  131. package/dist/lib/nodeviews/table-operations.d.ts +0 -50
  132. package/dist/lib/nodeviews/table.d.ts +0 -4
  133. package/dist/lib/profiles.d.ts +0 -62
  134. package/dist/lib/property-input.d.ts +0 -10
  135. package/dist/lib/property-step.d.ts +0 -77
  136. package/dist/lib/props.d.ts +0 -13
  137. package/dist/lib/stripStyleNodes.d.ts +0 -2
  138. package/dist/lib/tiptapToMdc.d.ts +0 -18
  139. package/dist/presence-record-CLdPZWKC.js +0 -291
  140. package/dist/presence-record-CLdPZWKC.js.map +0 -1
  141. package/dist/runtime.d.ts +0 -13
  142. package/dist/runtime.js +0 -3
  143. package/dist/style.css +0 -2
  144. package/dist/types.d.ts +0 -126
  145. package/dist/ui/GinkoActionButton.vue.d.ts +0 -8
  146. package/dist/ui/GinkoInsertMenu.vue.d.ts +0 -49
  147. package/dist/ui/GinkoKeyboardDock.vue.d.ts +0 -15
  148. package/dist/ui/GinkoNodePopover.vue.d.ts +0 -21
  149. package/dist/ui/GinkoRecipeIcon.vue.d.ts +0 -6
  150. package/dist/ui/GinkoSelectionToolbar.vue.d.ts +0 -10
  151. package/dist/ui/GinkoToolbar.vue.d.ts +0 -26
  152. package/dist/ui/GinkoToolbarIcon.vue.d.ts +0 -6
  153. package/dist/ui/block-shortcuts.d.ts +0 -6
  154. package/dist/ui/commands.d.ts +0 -78
  155. package/dist/ui/context.d.ts +0 -23
  156. package/dist/ui/editor-keyboard.d.ts +0 -15
  157. package/dist/ui/messages.d.ts +0 -214
  158. package/dist/ui/messages.de.d.ts +0 -6
  159. package/dist/ui/recipe-command.d.ts +0 -14
  160. package/dist/ui/recipe-search.d.ts +0 -47
  161. package/dist/ui/slash-command.d.ts +0 -17
  162. package/dist/ui/writingRecipes.d.ts +0 -13
  163. package/skills/ginko-editor/SKILL.md +0 -40
  164. package/skills/ginko-editor/agents/openai.yaml +0 -4
  165. package/skills/ginko-editor/references/in-place-editing.md +0 -50
  166. package/skills/ginko-editor/references/quickstart.md +0 -55
@@ -1,922 +0,0 @@
1
- import type { AuthoringRecipe, ComponentAuthoringMetadata, ComponentImplementationMetadata } from './authoring.js';
2
- /** The Ginko Docs component policy (version 2). */
3
- export declare const ginkoLayoutComponentPolicy: {
4
- components: {
5
- accordion: {
6
- kind: "block" | "inline";
7
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
8
- slots: readonly string[];
9
- allowedParents: readonly string[] | null;
10
- allowedChildren: readonly string[] | null;
11
- media: {
12
- sourceProp: string;
13
- altProp: string | null;
14
- titleProp: string | null;
15
- filenameProp: string | null;
16
- } | null;
17
- };
18
- 'accordion-item': {
19
- kind: "block" | "inline";
20
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
21
- slots: readonly string[];
22
- allowedParents: readonly string[] | null;
23
- allowedChildren: readonly string[] | null;
24
- media: {
25
- sourceProp: string;
26
- altProp: string | null;
27
- titleProp: string | null;
28
- filenameProp: string | null;
29
- } | null;
30
- };
31
- api: {
32
- kind: "block" | "inline";
33
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
34
- slots: readonly string[];
35
- allowedParents: readonly string[] | null;
36
- allowedChildren: readonly string[] | null;
37
- media: {
38
- sourceProp: string;
39
- altProp: string | null;
40
- titleProp: string | null;
41
- filenameProp: string | null;
42
- } | null;
43
- };
44
- aside: {
45
- kind: "block" | "inline";
46
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
47
- slots: readonly string[];
48
- allowedParents: readonly string[] | null;
49
- allowedChildren: readonly string[] | null;
50
- media: {
51
- sourceProp: string;
52
- altProp: string | null;
53
- titleProp: string | null;
54
- filenameProp: string | null;
55
- } | null;
56
- };
57
- card: {
58
- kind: "block" | "inline";
59
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
60
- slots: readonly string[];
61
- allowedParents: readonly string[] | null;
62
- allowedChildren: readonly string[] | null;
63
- media: {
64
- sourceProp: string;
65
- altProp: string | null;
66
- titleProp: string | null;
67
- filenameProp: string | null;
68
- } | null;
69
- };
70
- cards: {
71
- kind: "block" | "inline";
72
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
73
- slots: readonly string[];
74
- allowedParents: readonly string[] | null;
75
- allowedChildren: readonly string[] | null;
76
- media: {
77
- sourceProp: string;
78
- altProp: string | null;
79
- titleProp: string | null;
80
- filenameProp: string | null;
81
- } | null;
82
- };
83
- center: {
84
- kind: "block" | "inline";
85
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
86
- slots: readonly string[];
87
- allowedParents: readonly string[] | null;
88
- allowedChildren: readonly string[] | null;
89
- media: {
90
- sourceProp: string;
91
- altProp: string | null;
92
- titleProp: string | null;
93
- filenameProp: string | null;
94
- } | null;
95
- };
96
- 'code-group': {
97
- kind: "block" | "inline";
98
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
99
- slots: readonly string[];
100
- allowedParents: readonly string[] | null;
101
- allowedChildren: readonly string[] | null;
102
- media: {
103
- sourceProp: string;
104
- altProp: string | null;
105
- titleProp: string | null;
106
- filenameProp: string | null;
107
- } | null;
108
- };
109
- 'code-tree': {
110
- kind: "block" | "inline";
111
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
112
- slots: readonly string[];
113
- allowedParents: readonly string[] | null;
114
- allowedChildren: readonly string[] | null;
115
- media: {
116
- sourceProp: string;
117
- altProp: string | null;
118
- titleProp: string | null;
119
- filenameProp: string | null;
120
- } | null;
121
- };
122
- collapse: {
123
- kind: "block" | "inline";
124
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
125
- slots: readonly string[];
126
- allowedParents: readonly string[] | null;
127
- allowedChildren: readonly string[] | null;
128
- media: {
129
- sourceProp: string;
130
- altProp: string | null;
131
- titleProp: string | null;
132
- filenameProp: string | null;
133
- } | null;
134
- };
135
- column: {
136
- kind: "block" | "inline";
137
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
138
- slots: readonly string[];
139
- allowedParents: readonly string[] | null;
140
- allowedChildren: readonly string[] | null;
141
- media: {
142
- sourceProp: string;
143
- altProp: string | null;
144
- titleProp: string | null;
145
- filenameProp: string | null;
146
- } | null;
147
- };
148
- dropcap: {
149
- kind: "block" | "inline";
150
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
151
- slots: readonly string[];
152
- allowedParents: readonly string[] | null;
153
- allowedChildren: readonly string[] | null;
154
- media: {
155
- sourceProp: string;
156
- altProp: string | null;
157
- titleProp: string | null;
158
- filenameProp: string | null;
159
- } | null;
160
- };
161
- error: {
162
- kind: "block" | "inline";
163
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
164
- slots: readonly string[];
165
- allowedParents: readonly string[] | null;
166
- allowedChildren: readonly string[] | null;
167
- media: {
168
- sourceProp: string;
169
- altProp: string | null;
170
- titleProp: string | null;
171
- filenameProp: string | null;
172
- } | null;
173
- };
174
- excerpt: {
175
- kind: "block" | "inline";
176
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
177
- slots: readonly string[];
178
- allowedParents: readonly string[] | null;
179
- allowedChildren: readonly string[] | null;
180
- media: {
181
- sourceProp: string;
182
- altProp: string | null;
183
- titleProp: string | null;
184
- filenameProp: string | null;
185
- } | null;
186
- };
187
- figure: {
188
- kind: "block" | "inline";
189
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
190
- slots: readonly string[];
191
- allowedParents: readonly string[] | null;
192
- allowedChildren: readonly string[] | null;
193
- media: {
194
- sourceProp: string;
195
- altProp: string | null;
196
- titleProp: string | null;
197
- filenameProp: string | null;
198
- } | null;
199
- };
200
- files: {
201
- kind: "block" | "inline";
202
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
203
- slots: readonly string[];
204
- allowedParents: readonly string[] | null;
205
- allowedChildren: readonly string[] | null;
206
- media: {
207
- sourceProp: string;
208
- altProp: string | null;
209
- titleProp: string | null;
210
- filenameProp: string | null;
211
- } | null;
212
- };
213
- idea: {
214
- kind: "block" | "inline";
215
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
216
- slots: readonly string[];
217
- allowedParents: readonly string[] | null;
218
- allowedChildren: readonly string[] | null;
219
- media: {
220
- sourceProp: string;
221
- altProp: string | null;
222
- titleProp: string | null;
223
- filenameProp: string | null;
224
- } | null;
225
- };
226
- info: {
227
- kind: "block" | "inline";
228
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
229
- slots: readonly string[];
230
- allowedParents: readonly string[] | null;
231
- allowedChildren: readonly string[] | null;
232
- media: {
233
- sourceProp: string;
234
- altProp: string | null;
235
- titleProp: string | null;
236
- filenameProp: string | null;
237
- } | null;
238
- };
239
- kbd: {
240
- kind: "block" | "inline";
241
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
242
- slots: readonly string[];
243
- allowedParents: readonly string[] | null;
244
- allowedChildren: readonly string[] | null;
245
- media: {
246
- sourceProp: string;
247
- altProp: string | null;
248
- titleProp: string | null;
249
- filenameProp: string | null;
250
- } | null;
251
- };
252
- layout: {
253
- kind: "block" | "inline";
254
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
255
- slots: readonly string[];
256
- allowedParents: readonly string[] | null;
257
- allowedChildren: readonly string[] | null;
258
- media: {
259
- sourceProp: string;
260
- altProp: string | null;
261
- titleProp: string | null;
262
- filenameProp: string | null;
263
- } | null;
264
- };
265
- note: {
266
- kind: "block" | "inline";
267
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
268
- slots: readonly string[];
269
- allowedParents: readonly string[] | null;
270
- allowedChildren: readonly string[] | null;
271
- media: {
272
- sourceProp: string;
273
- altProp: string | null;
274
- titleProp: string | null;
275
- filenameProp: string | null;
276
- } | null;
277
- };
278
- quiz: {
279
- kind: "block" | "inline";
280
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
281
- slots: readonly string[];
282
- allowedParents: readonly string[] | null;
283
- allowedChildren: readonly string[] | null;
284
- media: {
285
- sourceProp: string;
286
- altProp: string | null;
287
- titleProp: string | null;
288
- filenameProp: string | null;
289
- } | null;
290
- };
291
- 'quiz-question': {
292
- kind: "block" | "inline";
293
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
294
- slots: readonly string[];
295
- allowedParents: readonly string[] | null;
296
- allowedChildren: readonly string[] | null;
297
- media: {
298
- sourceProp: string;
299
- altProp: string | null;
300
- titleProp: string | null;
301
- filenameProp: string | null;
302
- } | null;
303
- };
304
- 'read-more': {
305
- kind: "block" | "inline";
306
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
307
- slots: readonly string[];
308
- allowedParents: readonly string[] | null;
309
- allowedChildren: readonly string[] | null;
310
- media: {
311
- sourceProp: string;
312
- altProp: string | null;
313
- titleProp: string | null;
314
- filenameProp: string | null;
315
- } | null;
316
- };
317
- steps: {
318
- kind: "block" | "inline";
319
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
320
- slots: readonly string[];
321
- allowedParents: readonly string[] | null;
322
- allowedChildren: readonly string[] | null;
323
- media: {
324
- sourceProp: string;
325
- altProp: string | null;
326
- titleProp: string | null;
327
- filenameProp: string | null;
328
- } | null;
329
- };
330
- success: {
331
- kind: "block" | "inline";
332
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
333
- slots: readonly string[];
334
- allowedParents: readonly string[] | null;
335
- allowedChildren: readonly string[] | null;
336
- media: {
337
- sourceProp: string;
338
- altProp: string | null;
339
- titleProp: string | null;
340
- filenameProp: string | null;
341
- } | null;
342
- };
343
- tab: {
344
- kind: "block" | "inline";
345
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
346
- slots: readonly string[];
347
- allowedParents: readonly string[] | null;
348
- allowedChildren: readonly string[] | null;
349
- media: {
350
- sourceProp: string;
351
- altProp: string | null;
352
- titleProp: string | null;
353
- filenameProp: string | null;
354
- } | null;
355
- };
356
- tabs: {
357
- kind: "block" | "inline";
358
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
359
- slots: readonly string[];
360
- allowedParents: readonly string[] | null;
361
- allowedChildren: readonly string[] | null;
362
- media: {
363
- sourceProp: string;
364
- altProp: string | null;
365
- titleProp: string | null;
366
- filenameProp: string | null;
367
- } | null;
368
- };
369
- timeline: {
370
- kind: "block" | "inline";
371
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
372
- slots: readonly string[];
373
- allowedParents: readonly string[] | null;
374
- allowedChildren: readonly string[] | null;
375
- media: {
376
- sourceProp: string;
377
- altProp: string | null;
378
- titleProp: string | null;
379
- filenameProp: string | null;
380
- } | null;
381
- };
382
- 'timeline-item': {
383
- kind: "block" | "inline";
384
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
385
- slots: readonly string[];
386
- allowedParents: readonly string[] | null;
387
- allowedChildren: readonly string[] | null;
388
- media: {
389
- sourceProp: string;
390
- altProp: string | null;
391
- titleProp: string | null;
392
- filenameProp: string | null;
393
- } | null;
394
- };
395
- toc: {
396
- kind: "block" | "inline";
397
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
398
- slots: readonly string[];
399
- allowedParents: readonly string[] | null;
400
- allowedChildren: readonly string[] | null;
401
- media: {
402
- sourceProp: string;
403
- altProp: string | null;
404
- titleProp: string | null;
405
- filenameProp: string | null;
406
- } | null;
407
- };
408
- warning: {
409
- kind: "block" | "inline";
410
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
411
- slots: readonly string[];
412
- allowedParents: readonly string[] | null;
413
- allowedChildren: readonly string[] | null;
414
- media: {
415
- sourceProp: string;
416
- altProp: string | null;
417
- titleProp: string | null;
418
- filenameProp: string | null;
419
- } | null;
420
- };
421
- };
422
- version: 2;
423
- };
424
- /** The Ginko Docs Vue component that renders each tag. */
425
- export declare const ginkoLayoutComponentNames: {
426
- readonly accordion: "MdcAccordion";
427
- readonly 'accordion-item': "MdcAccordionItem";
428
- readonly api: "MdcApi";
429
- readonly aside: "MdcAside";
430
- readonly card: "MdcCard";
431
- readonly cards: "MdcCards";
432
- readonly center: "MdcCenter";
433
- readonly 'code-group': "MdcCodeGroup";
434
- readonly 'code-tree': "MdcCodeTree";
435
- readonly collapse: "MdcCollapse";
436
- readonly column: "MdcColumn";
437
- readonly dropcap: "MdcDropcap";
438
- readonly error: "MdcError";
439
- readonly excerpt: "MdcExcerpt";
440
- readonly figure: "MdcFigure";
441
- readonly files: "MdcFiles";
442
- readonly idea: "MdcIdea";
443
- readonly info: "MdcInfo";
444
- readonly kbd: "MdcKbd";
445
- readonly layout: "MdcLayout";
446
- readonly note: "MdcNote";
447
- readonly quiz: "MdcQuiz";
448
- readonly 'quiz-question': "MdcQuizQuestion";
449
- readonly 'read-more': "MdcReadMore";
450
- readonly steps: "MdcSteps";
451
- readonly success: "MdcSuccess";
452
- readonly tab: "MdcTab";
453
- readonly tabs: "MdcTabs";
454
- readonly timeline: "MdcTimeline";
455
- readonly 'timeline-item': "MdcTimelineItem";
456
- readonly toc: "MdcInlineToc";
457
- readonly warning: "MdcWarning";
458
- };
459
- /**
460
- * The built-in layout kit source. Compose it with other kits through
461
- * `composeAuthoringKits`, or create it alone with `createGinkoLayoutKit`.
462
- */
463
- export declare const ginkoLayoutKitSource: {
464
- version: 1;
465
- policy: {
466
- components: {
467
- accordion: {
468
- kind: "block" | "inline";
469
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
470
- slots: readonly string[];
471
- allowedParents: readonly string[] | null;
472
- allowedChildren: readonly string[] | null;
473
- media: {
474
- sourceProp: string;
475
- altProp: string | null;
476
- titleProp: string | null;
477
- filenameProp: string | null;
478
- } | null;
479
- };
480
- 'accordion-item': {
481
- kind: "block" | "inline";
482
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
483
- slots: readonly string[];
484
- allowedParents: readonly string[] | null;
485
- allowedChildren: readonly string[] | null;
486
- media: {
487
- sourceProp: string;
488
- altProp: string | null;
489
- titleProp: string | null;
490
- filenameProp: string | null;
491
- } | null;
492
- };
493
- api: {
494
- kind: "block" | "inline";
495
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
496
- slots: readonly string[];
497
- allowedParents: readonly string[] | null;
498
- allowedChildren: readonly string[] | null;
499
- media: {
500
- sourceProp: string;
501
- altProp: string | null;
502
- titleProp: string | null;
503
- filenameProp: string | null;
504
- } | null;
505
- };
506
- aside: {
507
- kind: "block" | "inline";
508
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
509
- slots: readonly string[];
510
- allowedParents: readonly string[] | null;
511
- allowedChildren: readonly string[] | null;
512
- media: {
513
- sourceProp: string;
514
- altProp: string | null;
515
- titleProp: string | null;
516
- filenameProp: string | null;
517
- } | null;
518
- };
519
- card: {
520
- kind: "block" | "inline";
521
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
522
- slots: readonly string[];
523
- allowedParents: readonly string[] | null;
524
- allowedChildren: readonly string[] | null;
525
- media: {
526
- sourceProp: string;
527
- altProp: string | null;
528
- titleProp: string | null;
529
- filenameProp: string | null;
530
- } | null;
531
- };
532
- cards: {
533
- kind: "block" | "inline";
534
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
535
- slots: readonly string[];
536
- allowedParents: readonly string[] | null;
537
- allowedChildren: readonly string[] | null;
538
- media: {
539
- sourceProp: string;
540
- altProp: string | null;
541
- titleProp: string | null;
542
- filenameProp: string | null;
543
- } | null;
544
- };
545
- center: {
546
- kind: "block" | "inline";
547
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
548
- slots: readonly string[];
549
- allowedParents: readonly string[] | null;
550
- allowedChildren: readonly string[] | null;
551
- media: {
552
- sourceProp: string;
553
- altProp: string | null;
554
- titleProp: string | null;
555
- filenameProp: string | null;
556
- } | null;
557
- };
558
- 'code-group': {
559
- kind: "block" | "inline";
560
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
561
- slots: readonly string[];
562
- allowedParents: readonly string[] | null;
563
- allowedChildren: readonly string[] | null;
564
- media: {
565
- sourceProp: string;
566
- altProp: string | null;
567
- titleProp: string | null;
568
- filenameProp: string | null;
569
- } | null;
570
- };
571
- 'code-tree': {
572
- kind: "block" | "inline";
573
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
574
- slots: readonly string[];
575
- allowedParents: readonly string[] | null;
576
- allowedChildren: readonly string[] | null;
577
- media: {
578
- sourceProp: string;
579
- altProp: string | null;
580
- titleProp: string | null;
581
- filenameProp: string | null;
582
- } | null;
583
- };
584
- collapse: {
585
- kind: "block" | "inline";
586
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
587
- slots: readonly string[];
588
- allowedParents: readonly string[] | null;
589
- allowedChildren: readonly string[] | null;
590
- media: {
591
- sourceProp: string;
592
- altProp: string | null;
593
- titleProp: string | null;
594
- filenameProp: string | null;
595
- } | null;
596
- };
597
- column: {
598
- kind: "block" | "inline";
599
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
600
- slots: readonly string[];
601
- allowedParents: readonly string[] | null;
602
- allowedChildren: readonly string[] | null;
603
- media: {
604
- sourceProp: string;
605
- altProp: string | null;
606
- titleProp: string | null;
607
- filenameProp: string | null;
608
- } | null;
609
- };
610
- dropcap: {
611
- kind: "block" | "inline";
612
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
613
- slots: readonly string[];
614
- allowedParents: readonly string[] | null;
615
- allowedChildren: readonly string[] | null;
616
- media: {
617
- sourceProp: string;
618
- altProp: string | null;
619
- titleProp: string | null;
620
- filenameProp: string | null;
621
- } | null;
622
- };
623
- error: {
624
- kind: "block" | "inline";
625
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
626
- slots: readonly string[];
627
- allowedParents: readonly string[] | null;
628
- allowedChildren: readonly string[] | null;
629
- media: {
630
- sourceProp: string;
631
- altProp: string | null;
632
- titleProp: string | null;
633
- filenameProp: string | null;
634
- } | null;
635
- };
636
- excerpt: {
637
- kind: "block" | "inline";
638
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
639
- slots: readonly string[];
640
- allowedParents: readonly string[] | null;
641
- allowedChildren: readonly string[] | null;
642
- media: {
643
- sourceProp: string;
644
- altProp: string | null;
645
- titleProp: string | null;
646
- filenameProp: string | null;
647
- } | null;
648
- };
649
- figure: {
650
- kind: "block" | "inline";
651
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
652
- slots: readonly string[];
653
- allowedParents: readonly string[] | null;
654
- allowedChildren: readonly string[] | null;
655
- media: {
656
- sourceProp: string;
657
- altProp: string | null;
658
- titleProp: string | null;
659
- filenameProp: string | null;
660
- } | null;
661
- };
662
- files: {
663
- kind: "block" | "inline";
664
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
665
- slots: readonly string[];
666
- allowedParents: readonly string[] | null;
667
- allowedChildren: readonly string[] | null;
668
- media: {
669
- sourceProp: string;
670
- altProp: string | null;
671
- titleProp: string | null;
672
- filenameProp: string | null;
673
- } | null;
674
- };
675
- idea: {
676
- kind: "block" | "inline";
677
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
678
- slots: readonly string[];
679
- allowedParents: readonly string[] | null;
680
- allowedChildren: readonly string[] | null;
681
- media: {
682
- sourceProp: string;
683
- altProp: string | null;
684
- titleProp: string | null;
685
- filenameProp: string | null;
686
- } | null;
687
- };
688
- info: {
689
- kind: "block" | "inline";
690
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
691
- slots: readonly string[];
692
- allowedParents: readonly string[] | null;
693
- allowedChildren: readonly string[] | null;
694
- media: {
695
- sourceProp: string;
696
- altProp: string | null;
697
- titleProp: string | null;
698
- filenameProp: string | null;
699
- } | null;
700
- };
701
- kbd: {
702
- kind: "block" | "inline";
703
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
704
- slots: readonly string[];
705
- allowedParents: readonly string[] | null;
706
- allowedChildren: readonly string[] | null;
707
- media: {
708
- sourceProp: string;
709
- altProp: string | null;
710
- titleProp: string | null;
711
- filenameProp: string | null;
712
- } | null;
713
- };
714
- layout: {
715
- kind: "block" | "inline";
716
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
717
- slots: readonly string[];
718
- allowedParents: readonly string[] | null;
719
- allowedChildren: readonly string[] | null;
720
- media: {
721
- sourceProp: string;
722
- altProp: string | null;
723
- titleProp: string | null;
724
- filenameProp: string | null;
725
- } | null;
726
- };
727
- note: {
728
- kind: "block" | "inline";
729
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
730
- slots: readonly string[];
731
- allowedParents: readonly string[] | null;
732
- allowedChildren: readonly string[] | null;
733
- media: {
734
- sourceProp: string;
735
- altProp: string | null;
736
- titleProp: string | null;
737
- filenameProp: string | null;
738
- } | null;
739
- };
740
- quiz: {
741
- kind: "block" | "inline";
742
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
743
- slots: readonly string[];
744
- allowedParents: readonly string[] | null;
745
- allowedChildren: readonly string[] | null;
746
- media: {
747
- sourceProp: string;
748
- altProp: string | null;
749
- titleProp: string | null;
750
- filenameProp: string | null;
751
- } | null;
752
- };
753
- 'quiz-question': {
754
- kind: "block" | "inline";
755
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
756
- slots: readonly string[];
757
- allowedParents: readonly string[] | null;
758
- allowedChildren: readonly string[] | null;
759
- media: {
760
- sourceProp: string;
761
- altProp: string | null;
762
- titleProp: string | null;
763
- filenameProp: string | null;
764
- } | null;
765
- };
766
- 'read-more': {
767
- kind: "block" | "inline";
768
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
769
- slots: readonly string[];
770
- allowedParents: readonly string[] | null;
771
- allowedChildren: readonly string[] | null;
772
- media: {
773
- sourceProp: string;
774
- altProp: string | null;
775
- titleProp: string | null;
776
- filenameProp: string | null;
777
- } | null;
778
- };
779
- steps: {
780
- kind: "block" | "inline";
781
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
782
- slots: readonly string[];
783
- allowedParents: readonly string[] | null;
784
- allowedChildren: readonly string[] | null;
785
- media: {
786
- sourceProp: string;
787
- altProp: string | null;
788
- titleProp: string | null;
789
- filenameProp: string | null;
790
- } | null;
791
- };
792
- success: {
793
- kind: "block" | "inline";
794
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
795
- slots: readonly string[];
796
- allowedParents: readonly string[] | null;
797
- allowedChildren: readonly string[] | null;
798
- media: {
799
- sourceProp: string;
800
- altProp: string | null;
801
- titleProp: string | null;
802
- filenameProp: string | null;
803
- } | null;
804
- };
805
- tab: {
806
- kind: "block" | "inline";
807
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
808
- slots: readonly string[];
809
- allowedParents: readonly string[] | null;
810
- allowedChildren: readonly string[] | null;
811
- media: {
812
- sourceProp: string;
813
- altProp: string | null;
814
- titleProp: string | null;
815
- filenameProp: string | null;
816
- } | null;
817
- };
818
- tabs: {
819
- kind: "block" | "inline";
820
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
821
- slots: readonly string[];
822
- allowedParents: readonly string[] | null;
823
- allowedChildren: readonly string[] | null;
824
- media: {
825
- sourceProp: string;
826
- altProp: string | null;
827
- titleProp: string | null;
828
- filenameProp: string | null;
829
- } | null;
830
- };
831
- timeline: {
832
- kind: "block" | "inline";
833
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
834
- slots: readonly string[];
835
- allowedParents: readonly string[] | null;
836
- allowedChildren: readonly string[] | null;
837
- media: {
838
- sourceProp: string;
839
- altProp: string | null;
840
- titleProp: string | null;
841
- filenameProp: string | null;
842
- } | null;
843
- };
844
- 'timeline-item': {
845
- kind: "block" | "inline";
846
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
847
- slots: readonly string[];
848
- allowedParents: readonly string[] | null;
849
- allowedChildren: readonly string[] | null;
850
- media: {
851
- sourceProp: string;
852
- altProp: string | null;
853
- titleProp: string | null;
854
- filenameProp: string | null;
855
- } | null;
856
- };
857
- toc: {
858
- kind: "block" | "inline";
859
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
860
- slots: readonly string[];
861
- allowedParents: readonly string[] | null;
862
- allowedChildren: readonly string[] | null;
863
- media: {
864
- sourceProp: string;
865
- altProp: string | null;
866
- titleProp: string | null;
867
- filenameProp: string | null;
868
- } | null;
869
- };
870
- warning: {
871
- kind: "block" | "inline";
872
- props: Record<string, import("@lupinum/ginko-content/cms-contract").PortableComponentPropPolicyV2>;
873
- slots: readonly string[];
874
- allowedParents: readonly string[] | null;
875
- allowedChildren: readonly string[] | null;
876
- media: {
877
- sourceProp: string;
878
- altProp: string | null;
879
- titleProp: string | null;
880
- filenameProp: string | null;
881
- } | null;
882
- };
883
- };
884
- version: 2;
885
- };
886
- implementation: Record<"error" | "accordion" | "accordion-item" | "api" | "aside" | "card" | "cards" | "center" | "code-group" | "code-tree" | "collapse" | "layout" | "column" | "dropcap" | "excerpt" | "figure" | "files" | "idea" | "info" | "kbd" | "note" | "quiz" | "quiz-question" | "read-more" | "steps" | "success" | "tab" | "tabs" | "timeline" | "timeline-item" | "toc" | "warning", ComponentImplementationMetadata>;
887
- authoring: {
888
- error: ComponentAuthoringMetadata;
889
- accordion: ComponentAuthoringMetadata;
890
- "accordion-item": ComponentAuthoringMetadata;
891
- api: ComponentAuthoringMetadata;
892
- aside: ComponentAuthoringMetadata;
893
- card: ComponentAuthoringMetadata;
894
- cards: ComponentAuthoringMetadata;
895
- center: ComponentAuthoringMetadata;
896
- "code-group": ComponentAuthoringMetadata;
897
- "code-tree": ComponentAuthoringMetadata;
898
- collapse: ComponentAuthoringMetadata;
899
- layout: ComponentAuthoringMetadata;
900
- column: ComponentAuthoringMetadata;
901
- dropcap: ComponentAuthoringMetadata;
902
- excerpt: ComponentAuthoringMetadata;
903
- figure: ComponentAuthoringMetadata;
904
- files: ComponentAuthoringMetadata;
905
- idea: ComponentAuthoringMetadata;
906
- info: ComponentAuthoringMetadata;
907
- kbd: ComponentAuthoringMetadata;
908
- note: ComponentAuthoringMetadata;
909
- quiz: ComponentAuthoringMetadata;
910
- "quiz-question": ComponentAuthoringMetadata;
911
- "read-more": ComponentAuthoringMetadata;
912
- steps: ComponentAuthoringMetadata;
913
- success: ComponentAuthoringMetadata;
914
- tab: ComponentAuthoringMetadata;
915
- tabs: ComponentAuthoringMetadata;
916
- timeline: ComponentAuthoringMetadata;
917
- "timeline-item": ComponentAuthoringMetadata;
918
- toc: ComponentAuthoringMetadata;
919
- warning: ComponentAuthoringMetadata;
920
- };
921
- recipes: readonly AuthoringRecipe[];
922
- };