camox 0.42.0 → 0.44.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 (99) hide show
  1. package/bin/camox.mjs +9 -1
  2. package/dist/core/components/lexical/{GradientNode.js → HighlightNode.js} +34 -34
  3. package/dist/core/components/lexical/InlineLexicalEditor.js +14 -14
  4. package/dist/core/components/lexical/InlineStylesPlugin.js +25 -9
  5. package/dist/core/components/lexical/SelectionBroadcaster.js +7 -7
  6. package/dist/core/components/lexical/SidebarLexicalEditor.js +24 -24
  7. package/dist/core/components/lexical/TextLinkPopover.js +191 -208
  8. package/dist/core/components/lexical/editorConfig.js +2 -2
  9. package/dist/core/createApp.d.ts +31 -4
  10. package/dist/core/createApp.js +2 -1
  11. package/dist/core/createBlock.js +24 -10
  12. package/dist/core/createLayout.d.ts +16 -3
  13. package/dist/core/createLayout.js +15 -15
  14. package/dist/core/derivedRoutes.js +1 -1
  15. package/dist/core/dom.d.ts +17 -0
  16. package/dist/core/dom.js +22 -0
  17. package/dist/core/editing/createEditableBlock.d.ts +135 -1
  18. package/dist/core/editing/createEditableBlock.js +209 -74
  19. package/dist/core/lib/contentType.d.ts +5 -0
  20. package/dist/core/lib/contentType.js +11 -0
  21. package/dist/core/lib/fieldTypes.js +1 -0
  22. package/dist/core/lib/iconTypes.d.ts +13 -0
  23. package/dist/core/lib/icons.d.ts +6 -0
  24. package/dist/core/lib/icons.js +130 -0
  25. package/dist/core/lib/lexicalReact.js +4 -4
  26. package/dist/core/lib/lexicalState.js +8 -8
  27. package/dist/core/lib/modifierFormats.js +2 -2
  28. package/dist/core/lib/textLinks.js +5 -2
  29. package/dist/core/lib/textStyles.d.ts +3 -3
  30. package/dist/core/lib/textStyles.js +9 -14
  31. package/dist/core/pageDestinations.js +37 -0
  32. package/dist/features/content/components/AssetCard.js +104 -68
  33. package/dist/features/og/imageResponse.node.js +11 -9
  34. package/dist/features/preview/CamoxPreview.js +148 -146
  35. package/dist/features/preview/commentsEnabled.js +2 -2
  36. package/dist/features/preview/components/AddBlockSidebar.js +1 -1
  37. package/dist/features/preview/components/AssetLightbox.js +17 -6
  38. package/dist/features/preview/components/AttachedComments.js +224 -87
  39. package/dist/features/preview/components/BlockActionsPopover.js +1 -1
  40. package/dist/features/preview/components/CommentTargetQuote.js +22 -21
  41. package/dist/features/preview/components/CreatePageModal.js +4 -4
  42. package/dist/features/preview/components/DerivedLayoutDialog.js +36 -21
  43. package/dist/features/preview/components/DerivedLayoutSidebar.js +45 -26
  44. package/dist/features/preview/components/DerivedPageInfoSidebar.js +38 -26
  45. package/dist/features/preview/components/FieldOverlayStyles.js +29 -9
  46. package/dist/features/preview/components/FieldToolbar.js +12 -12
  47. package/dist/features/preview/components/IconFieldEditor.js +231 -0
  48. package/dist/features/preview/components/ItemFieldsEditor.js +21 -14
  49. package/dist/features/preview/components/LinkFieldEditor.js +212 -209
  50. package/dist/features/preview/components/OverlayTracker.js +1 -1
  51. package/dist/features/preview/components/PageEditorSidebar.js +1 -1
  52. package/dist/features/preview/components/PageInfoSidebar.js +28 -28
  53. package/dist/features/preview/components/PagePicker.js +46 -46
  54. package/dist/features/preview/components/PageTree.js +1 -1
  55. package/dist/features/preview/components/PreviewPanel.js +1 -1
  56. package/dist/features/preview/components/PreviewToolbar.js +224 -225
  57. package/dist/features/preview/components/PublicationRow.js +8 -4
  58. package/dist/features/preview/components/SendFeedbackDialog.js +83 -0
  59. package/dist/features/preview/components/useRepeatableItemActions.js +1 -1
  60. package/dist/features/preview/overlayHighlights.js +54 -0
  61. package/dist/features/preview/previewCommentsStore.js +54 -34
  62. package/dist/features/preview/previewSelection.js +28 -23
  63. package/dist/features/preview/publication.js +10 -0
  64. package/dist/features/preview/usePageComments.js +39 -0
  65. package/dist/features/provider/CoreCamoxProvider.js +38 -6
  66. package/dist/features/provider/LocalhostPreviewProvider.js +81 -45
  67. package/dist/features/provider/components/CommandPalette.js +35 -84
  68. package/dist/features/runtime/pageApp.js +32 -28
  69. package/dist/features/runtime/pageServer.js +4 -1
  70. package/dist/features/runtime/runtime.d.ts +2 -0
  71. package/dist/features/runtime/runtime.js +45 -21
  72. package/dist/features/studio/components/EnvironmentMenu.js +76 -63
  73. package/dist/features/studio/components/Navbar.js +53 -80
  74. package/dist/features/vite/auth.js +1 -50
  75. package/dist/features/vite/iconGeneration.js +16 -0
  76. package/dist/features/vite/layoutGeneration.js +7 -3
  77. package/dist/features/vite/vite.d.ts +4 -2
  78. package/dist/features/vite/vite.js +24 -3
  79. package/dist/hooks/use-page-destinations.js +53 -0
  80. package/dist/lib/auth.js +40 -20
  81. package/dist/lib/preview-handoff.js +13 -0
  82. package/dist/lib/queries.js +12 -1
  83. package/dist/lib/server-auth-cookie.js +21 -0
  84. package/dist/lib/use-project-room.js +5 -2
  85. package/dist/studio-overlays.css +19 -15
  86. package/dist/studio.css +1 -1
  87. package/package.json +9 -4
  88. package/skills/camox/SKILL.md +38 -9
  89. package/skills/camox/references/block-definitions.md +107 -286
  90. package/skills/camox/references/cli-common.md +16 -4
  91. package/skills/camox/references/cli-content.md +158 -0
  92. package/skills/camox/references/cli-environments.md +1 -1
  93. package/skills/camox/references/dom-integrations.md +93 -0
  94. package/skills/camox/references/field-styling.md +50 -0
  95. package/skills/camox/references/layout-definitions.md +33 -147
  96. package/skills/camox/references/routed-layouts.md +71 -0
  97. package/skills/camoxify/SKILL.md +66 -0
  98. package/skills/camox/references/cli-blocks.md +0 -78
  99. package/skills/camox/references/cli-pages.md +0 -53
@@ -4,6 +4,7 @@ import { viewPageQueries, viewProjectQueries } from "../lib/view-queries.js";
4
4
  import { isFileMarker, isItemMarker, resolveFileMarker, useNormalizedData } from "../lib/normalized-data.js";
5
5
  import { useBlockEditingRuntime } from "./editing/BlockEditingRuntime.js";
6
6
  import { Type, resolveToMarkdown } from "./lib/contentType.js";
7
+ import { IconSvg } from "./lib/icons.js";
7
8
  import { buildImageSrcSet, getDefaultImageSizes, getDefaultImageWidth, transformImageUrl } from "./lib/imageTransform.js";
8
9
  import { markdownToReactNodes } from "./lib/lexicalReact.js";
9
10
  import { c } from "react/compiler-runtime";
@@ -144,6 +145,17 @@ function createViewBlock(options) {
144
145
  linkStyle
145
146
  }) }, { text: value });
146
147
  };
148
+ const Icon = ({ name, ...props }) => {
149
+ const editingRuntime = useBlockEditingRuntime();
150
+ if (editingRuntime) return editingRuntime.renderPrimitive(options, "Icon", {
151
+ name,
152
+ ...props
153
+ });
154
+ return /* @__PURE__ */ jsx(IconSvg, {
155
+ iconId: useValue(name),
156
+ ...props
157
+ });
158
+ };
147
159
  const Embed = ({ name, children }) => {
148
160
  const editingRuntime = useBlockEditingRuntime();
149
161
  if (editingRuntime) return editingRuntime.renderPrimitive(options, "Embed", {
@@ -181,9 +193,9 @@ function createViewBlock(options) {
181
193
  };
182
194
  function useAsset(name) {
183
195
  const $ = c(4);
184
- if ($[0] !== "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267") {
196
+ if ($[0] !== "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2") {
185
197
  for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
186
- $[0] = "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267";
198
+ $[0] = "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2";
187
199
  }
188
200
  const block = React.use(Context);
189
201
  const item = React.use(RepeaterContext);
@@ -264,9 +276,9 @@ function createViewBlock(options) {
264
276
  };
265
277
  const ImageList = (props) => {
266
278
  const $ = c(3);
267
- if ($[0] !== "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267") {
279
+ if ($[0] !== "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2") {
268
280
  for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
269
- $[0] = "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267";
281
+ $[0] = "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2";
270
282
  }
271
283
  let t0;
272
284
  if ($[1] !== props) {
@@ -281,9 +293,9 @@ function createViewBlock(options) {
281
293
  };
282
294
  const FileList = (props) => {
283
295
  const $ = c(3);
284
- if ($[0] !== "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267") {
296
+ if ($[0] !== "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2") {
285
297
  for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
286
- $[0] = "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267";
298
+ $[0] = "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2";
287
299
  }
288
300
  let t0;
289
301
  if ($[1] !== props) {
@@ -322,6 +334,7 @@ function createViewBlock(options) {
322
334
  const itemId = databaseItem ? item_0.id : void 0;
323
335
  const api = {
324
336
  Field,
337
+ Icon,
325
338
  Link,
326
339
  Embed,
327
340
  Image,
@@ -352,9 +365,9 @@ function createViewBlock(options) {
352
365
  };
353
366
  const Detached = (t0) => {
354
367
  const $ = c(6);
355
- if ($[0] !== "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267") {
368
+ if ($[0] !== "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2") {
356
369
  for (let $i = 0; $i < 6; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
357
- $[0] = "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267";
370
+ $[0] = "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2";
358
371
  }
359
372
  const { children } = t0;
360
373
  const editingRuntime = useBlockEditingRuntime();
@@ -384,9 +397,9 @@ function createViewBlock(options) {
384
397
  };
385
398
  const Component = (props) => {
386
399
  const $ = c(23);
387
- if ($[0] !== "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267") {
400
+ if ($[0] !== "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2") {
388
401
  for (let $i = 0; $i < 23; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
389
- $[0] = "2482501ae16e686c6c2d84727ab607bf02513a6bcdd7de7e2f7f973cc1690267";
402
+ $[0] = "3acac8919c70a3a0d046963b88ac49743134e81069b8ead862dfcba56c027ed2";
390
403
  }
391
404
  const editingRuntime = useBlockEditingRuntime();
392
405
  if (editingRuntime) {
@@ -518,6 +531,7 @@ function createViewBlock(options) {
518
531
  };
519
532
  return {
520
533
  Detached,
534
+ Icon,
521
535
  Field,
522
536
  Embed,
523
537
  Link,
@@ -51,7 +51,7 @@ type ValidateLayoutOnlyBlocks<T extends readonly LayoutBlock[]> = { [K in keyof
51
51
  type ValidatePageContentBlocks<T extends readonly LayoutBlock[]> = { [K in keyof T]: T[K] extends LayoutBlock<true> ? "❌ Camox: blocks in `blocks.initial` must NOT be `layoutOnly: true` — `initial` is for page-content blocks. Remove `layoutOnly: true` from this block's `createBlock` options." : T[K] };
52
52
  interface CreateLayoutOptions<TBefore extends readonly LayoutBlock[], TAfter extends readonly LayoutBlock[], TInitial extends readonly LayoutBlock[]> {
53
53
  id: string;
54
- kind?: "curated" | "derived";
54
+ kind?: "curated" | "derived" | "singleton";
55
55
  loader?: (context: {
56
56
  params: Record<string, string>;
57
57
  }) => unknown;
@@ -84,7 +84,7 @@ declare function createLayoutDefinition<const TBefore extends readonly LayoutBlo
84
84
  useData(): unknown;
85
85
  _internal: {
86
86
  id: string;
87
- kind: "derived" | "curated";
87
+ kind: "curated" | "derived" | "singleton";
88
88
  loader: ((context: {
89
89
  params: Record<string, string>;
90
90
  }) => unknown) | undefined;
@@ -156,6 +156,19 @@ type FileOptions<Id extends string, Data, B extends readonly LayoutBlock[], A ex
156
156
  children: React.ReactNode;
157
157
  }>;
158
158
  loader?: never;
159
+ } | {
160
+ kind: "singleton";
161
+ blocks: {
162
+ before: ValidateLayoutOnlyBlocks<B>;
163
+ after: ValidateLayoutOnlyBlocks<A>;
164
+ initial?: never;
165
+ };
166
+ loader?: (context: {
167
+ params: Record<string, never>;
168
+ }) => Data;
169
+ component: React.ComponentType<{
170
+ children?: never;
171
+ }>;
159
172
  } | {
160
173
  kind: "derived";
161
174
  blocks: {
@@ -172,7 +185,7 @@ type FileOptions<Id extends string, Data, B extends readonly LayoutBlock[], A ex
172
185
  children?: never;
173
186
  }>;
174
187
  });
175
- declare function createLayout<const Id extends string>(id: Id): <Data, const B extends readonly LayoutBlock[], const A extends readonly LayoutBlock[], const I extends readonly LayoutBlock[] = []>(options: FileOptions<Id, Data, B, A, I>) => Omit<Layout, "useData"> & {
188
+ declare function createLayout<const Id extends string>(id: Id): <Data = undefined, const B extends readonly LayoutBlock[] = [], const A extends readonly LayoutBlock[] = [], const I extends readonly LayoutBlock[] = []>(options: FileOptions<Id, Data, B, A, I>) => Omit<Layout, "useData"> & {
176
189
  useData: () => Awaited<Data>;
177
190
  };
178
191
  declare function createLayout<const B extends readonly LayoutBlock[], const A extends readonly LayoutBlock[], const I extends readonly LayoutBlock[] = []>(options: CreateLayoutOptions<B, A, I>): Layout;
@@ -5,15 +5,17 @@ import { Fragment, jsx } from "react/jsx-runtime";
5
5
 
6
6
  //#region src/core/createLayout.tsx
7
7
  function createLayoutDefinition(options) {
8
+ if (options.kind === "singleton" && !/^[\w-]+(?:\.[\w-]+)*$/.test(options.id)) throw new Error(`Singleton layouts require a fixed file route: ${options.id}`);
9
+ if (options.kind && options.kind !== "curated" && options.blocks.initial) throw new Error("Code-owned layouts cannot define initial page blocks");
8
10
  const LayoutContext = React.createContext(null);
9
11
  const beforeBlocks = options.blocks.before;
10
12
  const afterBlocks = options.blocks.after;
11
13
  const initialBlocks = options.blocks.initial;
12
14
  const BeforeBlocks = () => {
13
15
  const $ = c(5);
14
- if ($[0] !== "2ae925f72331cad3d35d77334ec5712b5849211fd0dcab4e27af95282e583b7a") {
16
+ if ($[0] !== "776e504f06a16915ba8008212a5b0af4dec7762a3d0b05161ac1048bec619433") {
15
17
  for (let $i = 0; $i < 5; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
16
- $[0] = "2ae925f72331cad3d35d77334ec5712b5849211fd0dcab4e27af95282e583b7a";
18
+ $[0] = "776e504f06a16915ba8008212a5b0af4dec7762a3d0b05161ac1048bec619433";
17
19
  }
18
20
  const ctx = React.use(LayoutContext);
19
21
  if (!ctx) throw new Error(`Layout "${options.id}" BeforeBlocks must be rendered inside its Provider`);
@@ -29,7 +31,7 @@ function createLayoutDefinition(options) {
29
31
  children: /* @__PURE__ */ jsx(block._internal.Component, {
30
32
  blockData,
31
33
  mode: "layout",
32
- showAddBlockBottom: options.kind !== "derived" && isLastBefore || void 0,
34
+ showAddBlockBottom: (options.kind ?? "curated") === "curated" && isLastBefore || void 0,
33
35
  addBlockAfterPosition: isLastBefore ? "" : void 0
34
36
  })
35
37
  }, block._internal.id);
@@ -48,9 +50,9 @@ function createLayoutDefinition(options) {
48
50
  BeforeBlocks.displayName = `LayoutBeforeBlocks(${options.id})`;
49
51
  const AfterBlocks = () => {
50
52
  const $ = c(5);
51
- if ($[0] !== "2ae925f72331cad3d35d77334ec5712b5849211fd0dcab4e27af95282e583b7a") {
53
+ if ($[0] !== "776e504f06a16915ba8008212a5b0af4dec7762a3d0b05161ac1048bec619433") {
52
54
  for (let $i = 0; $i < 5; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
53
- $[0] = "2ae925f72331cad3d35d77334ec5712b5849211fd0dcab4e27af95282e583b7a";
55
+ $[0] = "776e504f06a16915ba8008212a5b0af4dec7762a3d0b05161ac1048bec619433";
54
56
  }
55
57
  const ctx = React.use(LayoutContext);
56
58
  if (!ctx) throw new Error(`Layout "${options.id}" AfterBlocks must be rendered inside its Provider`);
@@ -66,7 +68,7 @@ function createLayoutDefinition(options) {
66
68
  children: /* @__PURE__ */ jsx(block._internal.Component, {
67
69
  blockData,
68
70
  mode: "layout",
69
- showAddBlockTop: options.kind !== "derived" && isFirstAfter || void 0,
71
+ showAddBlockTop: (options.kind ?? "curated") === "curated" && isFirstAfter || void 0,
70
72
  addBlockAfterPosition: isFirstAfter ? null : void 0
71
73
  })
72
74
  }, block._internal.id);
@@ -85,9 +87,9 @@ function createLayoutDefinition(options) {
85
87
  AfterBlocks.displayName = `LayoutAfterBlocks(${options.id})`;
86
88
  const Provider = (t0) => {
87
89
  const $ = c(7);
88
- if ($[0] !== "2ae925f72331cad3d35d77334ec5712b5849211fd0dcab4e27af95282e583b7a") {
90
+ if ($[0] !== "776e504f06a16915ba8008212a5b0af4dec7762a3d0b05161ac1048bec619433") {
89
91
  for (let $i = 0; $i < 7; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
90
- $[0] = "2ae925f72331cad3d35d77334ec5712b5849211fd0dcab4e27af95282e583b7a";
92
+ $[0] = "776e504f06a16915ba8008212a5b0af4dec7762a3d0b05161ac1048bec619433";
91
93
  }
92
94
  const { layoutBlocks, children, data } = t0;
93
95
  let t1;
@@ -133,6 +135,7 @@ function createLayoutDefinition(options) {
133
135
  };
134
136
  })];
135
137
  const buildOgImage = options.buildOgImage ? async (params) => {
138
+ if (import.meta.env?.SSR === false) throw new Error("OG images can only be rendered on the server.");
136
139
  const { ImageResponse } = await import("camox/_internal/imageResponse");
137
140
  return new ImageResponse(options.buildOgImage(params), {
138
141
  width: 1200,
@@ -173,13 +176,10 @@ function createLayoutDefinition(options) {
173
176
  }
174
177
  function createLayout(idOrOptions) {
175
178
  if (typeof idOrOptions !== "string") return createLayoutDefinition(idOrOptions);
176
- return (options) => {
177
- if (options.kind === "derived" && options.blocks.initial) throw new Error("Derived layouts cannot define initial page blocks");
178
- return createLayoutDefinition({
179
- ...options,
180
- id: idOrOptions
181
- });
182
- };
179
+ return (options) => createLayoutDefinition({
180
+ ...options,
181
+ id: idOrOptions
182
+ });
183
183
  }
184
184
  /** Signal a missing derived page; other loader failures remain server errors. */
185
185
  function notFound() {
@@ -4,7 +4,7 @@ function routeSegments(id) {
4
4
  }
5
5
  function matchDerivedLayout(layouts, pathname) {
6
6
  const path = pathname.replace(/^\/|\/$/g, "").split("/");
7
- const candidates = layouts.filter((layout) => layout._internal.kind === "derived").sort((a, b) => routeSegments(a._internal.id).filter((s) => s.startsWith("$")).length - routeSegments(b._internal.id).filter((s) => s.startsWith("$")).length);
7
+ const candidates = layouts.filter((layout) => layout._internal.kind !== "curated").sort((a, b) => routeSegments(a._internal.id).filter((s) => s.startsWith("$")).length - routeSegments(b._internal.id).filter((s) => s.startsWith("$")).length);
8
8
  for (const layout of candidates) {
9
9
  const segments = routeSegments(layout._internal.id);
10
10
  if (segments.length !== path.length) continue;
@@ -0,0 +1,17 @@
1
+ //#region src/core/dom.d.ts
2
+ /** The browsing context that owns a rendered element. */
3
+ interface ElementContext {
4
+ document: Document;
5
+ window: Window & typeof globalThis;
6
+ }
7
+ /**
8
+ * Resolve DOM APIs from an element rather than the component's JavaScript realm.
9
+ * In Camox preview, elements belong to an iframe but component globals belong
10
+ * to the editor. Call this after mounting (for example, inside an effect).
11
+ *
12
+ * Returns null for a missing element or a document without a window. Never
13
+ * falls back to globals. This does not convert objects into the target realm.
14
+ */
15
+ declare function getElementContext(element: Element | null | undefined): ElementContext | null;
16
+ //#endregion
17
+ export { ElementContext, getElementContext };
@@ -0,0 +1,22 @@
1
+ //#region src/core/dom.ts
2
+ /**
3
+ * Resolve DOM APIs from an element rather than the component's JavaScript realm.
4
+ * In Camox preview, elements belong to an iframe but component globals belong
5
+ * to the editor. Call this after mounting (for example, inside an effect).
6
+ *
7
+ * Returns null for a missing element or a document without a window. Never
8
+ * falls back to globals. This does not convert objects into the target realm.
9
+ */
10
+ function getElementContext(element) {
11
+ if (!element) return null;
12
+ const document = element.ownerDocument;
13
+ const window = document.defaultView;
14
+ if (!window) return null;
15
+ return {
16
+ document,
17
+ window
18
+ };
19
+ }
20
+
21
+ //#endregion
22
+ export { getElementContext };
@@ -1,3 +1,5 @@
1
+ import { IconProps } from "../lib/icons.js";
2
+ import { IconValue } from "../lib/iconTypes.js";
1
3
  import { EmbedURL, FileValue, ImageValue, ItemSettingsBrand, LinkValue, ToMarkdownBuilder, Type as Type$1 } from "../lib/contentType.js";
2
4
  import { InlineStyle, InlineTextStyles, TextLinkStyleData, TextStyleData } from "../lib/textStyles.js";
3
5
  import * as _$_sinclair_typebox0 from "@sinclair/typebox";
@@ -123,6 +125,36 @@ declare function createEditableBlock<TSchemaShape extends Record<string, TSchema
123
125
  onMouseLeave: () => void;
124
126
  }) => React.ReactNode;
125
127
  }) => React.JSX.Element;
128
+ Icon: ({
129
+ name,
130
+ ...props
131
+ }: IconProps & {
132
+ name: keyof { [K_4 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
133
+ params: unknown[] & [];
134
+ })["static"] }, { [K_1 in keyof TSchemaShape]: TSchemaShape[K_1] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_1] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_1]> ? K_1 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
135
+ params: unknown[] & [];
136
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? never : K_2 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
137
+ params: unknown[] & [];
138
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
139
+ params: unknown[] & [];
140
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_1 in keyof TSchemaShape]: TSchemaShape[K_1] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_1] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_1]> ? K_1 : never : never }[keyof TSchemaShape] | { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? never : K_2 : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>>>> as _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
141
+ params: unknown[] & [];
142
+ })["static"] }, { [K_1 in keyof TSchemaShape]: TSchemaShape[K_1] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_1] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_1]> ? K_1 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
143
+ params: unknown[] & [];
144
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? never : K_2 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
145
+ params: unknown[] & [];
146
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
147
+ params: unknown[] & [];
148
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_1 in keyof TSchemaShape]: TSchemaShape[K_1] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_1] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_1]> ? K_1 : never : never }[keyof TSchemaShape] | { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? never : K_2 : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>>>>[K_4] extends IconValue ? K_4 : never]: _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
149
+ params: unknown[] & [];
150
+ })["static"] }, { [K_1 in keyof TSchemaShape]: TSchemaShape[K_1] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_1] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_1]> ? K_1 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
151
+ params: unknown[] & [];
152
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? never : K_2 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
153
+ params: unknown[] & [];
154
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K in keyof TSchemaShape]: (TSchemaShape[K] & {
155
+ params: unknown[] & [];
156
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_1 in keyof TSchemaShape]: TSchemaShape[K_1] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_1] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_1]> ? K_1 : never : never }[keyof TSchemaShape] | { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? never : K_2 : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>>>>[K_4] };
157
+ }) => _$react_jsx_runtime0.JSX.Element;
126
158
  Field: <K extends keyof { [K_5 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
127
159
  params: unknown[] & [];
128
160
  })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
@@ -139,7 +171,7 @@ declare function createEditableBlock<TSchemaShape extends Record<string, TSchema
139
171
  params: unknown[] & [];
140
172
  })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
141
173
  params: unknown[] & [];
142
- })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] extends EmbedURL ? never : _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
174
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] extends IconValue | EmbedURL ? never : _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
143
175
  params: unknown[] & [];
144
176
  })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
145
177
  params: unknown[] & [];
@@ -497,6 +529,30 @@ declare function createEditableBlock<TSchemaShape extends Record<string, TSchema
497
529
  params: unknown[] & [];
498
530
  })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
499
531
  params: unknown[] & [];
532
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] }[K] extends (infer U)[] ? U : never)[F_1] extends IconValue ? never : ({ [K_5 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
533
+ params: unknown[] & [];
534
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
535
+ params: unknown[] & [];
536
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
537
+ params: unknown[] & [];
538
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
539
+ params: unknown[] & [];
540
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>> as _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
541
+ params: unknown[] & [];
542
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
543
+ params: unknown[] & [];
544
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
545
+ params: unknown[] & [];
546
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
547
+ params: unknown[] & [];
548
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] extends (infer U_1)[] ? ImageValue extends U_1 ? never : FileValue extends U_1 ? never : K_5 : never]: _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
549
+ params: unknown[] & [];
550
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
551
+ params: unknown[] & [];
552
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
553
+ params: unknown[] & [];
554
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
555
+ params: unknown[] & [];
500
556
  })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] }[K] extends (infer U)[] ? U : never)[F_1] extends string ? F_1 : never]: ({ [K_5 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
501
557
  params: unknown[] & [];
502
558
  })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
@@ -640,6 +696,81 @@ declare function createEditableBlock<TSchemaShape extends Record<string, TSchema
640
696
  newTab: boolean;
641
697
  }) => React.ReactNode;
642
698
  }) => React.ReactNode;
699
+ Icon: (props: IconProps & {
700
+ name: keyof { [F in keyof ({ [K_5 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
701
+ params: unknown[] & [];
702
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
703
+ params: unknown[] & [];
704
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
705
+ params: unknown[] & [];
706
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
707
+ params: unknown[] & [];
708
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>> as _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
709
+ params: unknown[] & [];
710
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
711
+ params: unknown[] & [];
712
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
713
+ params: unknown[] & [];
714
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
715
+ params: unknown[] & [];
716
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] extends (infer U)[] ? ImageValue extends U ? never : FileValue extends U ? never : K_5 : never]: _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
717
+ params: unknown[] & [];
718
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
719
+ params: unknown[] & [];
720
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
721
+ params: unknown[] & [];
722
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
723
+ params: unknown[] & [];
724
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] }[K] extends (infer U)[] ? U : never) as ({ [K_5 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
725
+ params: unknown[] & [];
726
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
727
+ params: unknown[] & [];
728
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
729
+ params: unknown[] & [];
730
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
731
+ params: unknown[] & [];
732
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>> as _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
733
+ params: unknown[] & [];
734
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
735
+ params: unknown[] & [];
736
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
737
+ params: unknown[] & [];
738
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
739
+ params: unknown[] & [];
740
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] extends (infer U_1)[] ? ImageValue extends U_1 ? never : FileValue extends U_1 ? never : K_5 : never]: _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
741
+ params: unknown[] & [];
742
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
743
+ params: unknown[] & [];
744
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
745
+ params: unknown[] & [];
746
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
747
+ params: unknown[] & [];
748
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] }[K] extends (infer U)[] ? U : never)[F] extends IconValue ? F : never]: ({ [K_5 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
749
+ params: unknown[] & [];
750
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
751
+ params: unknown[] & [];
752
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
753
+ params: unknown[] & [];
754
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
755
+ params: unknown[] & [];
756
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>> as _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
757
+ params: unknown[] & [];
758
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
759
+ params: unknown[] & [];
760
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
761
+ params: unknown[] & [];
762
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
763
+ params: unknown[] & [];
764
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] extends (infer U_1)[] ? ImageValue extends U_1 ? never : FileValue extends U_1 ? never : K_5 : never]: _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
765
+ params: unknown[] & [];
766
+ })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
767
+ params: unknown[] & [];
768
+ })["static"] }, { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape]>> & Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
769
+ params: unknown[] & [];
770
+ })["static"] }, { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>> & Required<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
771
+ params: unknown[] & [];
772
+ })["static"] }, Exclude<keyof TSchemaShape, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape] | { [K_3 in keyof TSchemaShape]: TSchemaShape[K_3] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_3] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_3]> ? never : K_3 : never }[keyof TSchemaShape] | { [K_4 in keyof TSchemaShape]: TSchemaShape[K_4] extends _$_sinclair_typebox0.TOptional<TSchema> ? TSchemaShape[K_4] extends _$_sinclair_typebox0.TReadonly<TSchemaShape[K_4]> ? never : K_4 : never }[keyof TSchemaShape]>>>>[K_5] }[K] extends (infer U)[] ? U : never)[F] };
773
+ }) => React.ReactNode;
643
774
  Embed: <F extends keyof { [F_1 in keyof ({ [K_5 in keyof _$_sinclair_typebox0.Evaluate<Readonly<Partial<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
644
775
  params: unknown[] & [];
645
776
  })["static"] }, { [K_2 in keyof TSchemaShape]: TSchemaShape[K_2] extends _$_sinclair_typebox0.TReadonly<TSchema> ? TSchemaShape[K_2] extends _$_sinclair_typebox0.TOptional<TSchemaShape[K_2]> ? K_2 : never : never }[keyof TSchemaShape]>>> & Readonly<Pick<{ [K_1 in keyof TSchemaShape]: (TSchemaShape[K_1] & {
@@ -1294,6 +1425,9 @@ declare function createEditableBlock<TSchemaShape extends Record<string, TSchema
1294
1425
  newTab: boolean;
1295
1426
  }) => React.ReactNode;
1296
1427
  }) => React.ReactNode;
1428
+ Icon: (props: IconProps & {
1429
+ name: string;
1430
+ }) => React.ReactNode;
1297
1431
  Embed: (props: {
1298
1432
  name: string;
1299
1433
  children: (props: {