@react-email/editor 0.0.0-experimental.42 → 0.0.0-experimental.44

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 (76) hide show
  1. package/dist/core/index.cjs +4 -3
  2. package/dist/core/index.d.cts +2 -2
  3. package/dist/core/index.d.mts +3 -3
  4. package/dist/core/index.mjs +3 -3
  5. package/dist/{create-paste-handler-CGR738bC.d.mts → create-paste-handler-DsJYKisA.d.mts} +1 -1
  6. package/dist/{create-paste-handler-CGR738bC.d.mts.map → create-paste-handler-DsJYKisA.d.mts.map} +1 -1
  7. package/dist/{event-bus-CHEzOS_O.mjs → event-bus-BFzKTuhV.mjs} +34 -3
  8. package/dist/event-bus-BFzKTuhV.mjs.map +1 -0
  9. package/dist/{event-bus-fb8U7hrl.cjs → event-bus-D-uahiao.cjs} +58 -3
  10. package/dist/{extension-BZsTEb_s.mjs → extension-B_ImOuII.mjs} +298 -11
  11. package/dist/extension-B_ImOuII.mjs.map +1 -0
  12. package/dist/{extension-D23sh0Nj.cjs → extension-DHsEsAaO.cjs} +298 -35
  13. package/dist/extensions/index.cjs +3 -3
  14. package/dist/extensions/index.d.cts +3 -1
  15. package/dist/extensions/index.d.cts.map +1 -1
  16. package/dist/extensions/index.d.mts +4 -2
  17. package/dist/extensions/index.d.mts.map +1 -1
  18. package/dist/extensions/index.mjs +3 -3
  19. package/dist/{extensions-D-VkzZTa.mjs → extensions-CLBkYvzM.mjs} +76 -45
  20. package/dist/extensions-CLBkYvzM.mjs.map +1 -0
  21. package/dist/{extensions-wGY7l1wH.cjs → extensions-ZVX3PUnH.cjs} +83 -52
  22. package/dist/{styles-C-cCyJCn.cjs → global-content-6jVh6L0b.mjs} +87 -17
  23. package/dist/global-content-6jVh6L0b.mjs.map +1 -0
  24. package/dist/{styles-_TMw3YxC.mjs → global-content-D3TNgSN6.cjs} +130 -2
  25. package/dist/{index-CxX7W63O.d.mts → index-BL2rehV8.d.mts} +68 -4
  26. package/dist/index-BL2rehV8.d.mts.map +1 -0
  27. package/dist/{index-C4KcMQ0R.d.cts → index-DJgMqa5C.d.cts} +67 -3
  28. package/dist/index-DJgMqa5C.d.cts.map +1 -0
  29. package/dist/index.cjs +5 -10
  30. package/dist/index.css +339 -0
  31. package/dist/index.css.map +1 -1
  32. package/dist/index.d.cts +2 -2
  33. package/dist/index.d.cts.map +1 -1
  34. package/dist/index.d.mts +3 -3
  35. package/dist/index.d.mts.map +1 -1
  36. package/dist/index.mjs +8 -13
  37. package/dist/index.mjs.map +1 -1
  38. package/dist/plugins/index.cjs +1 -5
  39. package/dist/plugins/index.d.cts +5 -123
  40. package/dist/plugins/index.d.cts.map +1 -1
  41. package/dist/plugins/index.d.mts +5 -123
  42. package/dist/plugins/index.d.mts.map +1 -1
  43. package/dist/plugins/index.mjs +2 -2
  44. package/dist/{root-Jq1R3tkX.cjs → root-CEAehvsX.cjs} +75 -88
  45. package/dist/{root-pS4l8bVZ.mjs → root-CJuwiIRn.mjs} +83 -84
  46. package/dist/root-CJuwiIRn.mjs.map +1 -0
  47. package/dist/{set-text-alignment-OA8IMWmO.mjs → set-text-alignment-GMXOPMlJ.mjs} +1 -1
  48. package/dist/{set-text-alignment-OA8IMWmO.mjs.map → set-text-alignment-GMXOPMlJ.mjs.map} +1 -1
  49. package/dist/types-BNEbRz-a.d.cts +47 -0
  50. package/dist/types-BNEbRz-a.d.cts.map +1 -0
  51. package/dist/types-C8k-blF7.d.mts +47 -0
  52. package/dist/types-C8k-blF7.d.mts.map +1 -0
  53. package/dist/ui/index.cjs +2970 -20
  54. package/dist/ui/index.d.cts +472 -160
  55. package/dist/ui/index.d.cts.map +1 -1
  56. package/dist/ui/index.d.mts +514 -202
  57. package/dist/ui/index.d.mts.map +1 -1
  58. package/dist/ui/index.mjs +2929 -3
  59. package/dist/ui/index.mjs.map +1 -1
  60. package/dist/ui/inspector/inspector.css +338 -0
  61. package/dist/ui/themes/default.css +339 -0
  62. package/dist/utils/index.cjs +1 -1
  63. package/dist/utils/index.mjs +1 -1
  64. package/package.json +6 -4
  65. package/readme.md +69 -0
  66. package/dist/event-bus-CHEzOS_O.mjs.map +0 -1
  67. package/dist/extension-BZsTEb_s.mjs.map +0 -1
  68. package/dist/extensions-D-VkzZTa.mjs.map +0 -1
  69. package/dist/global-content-D_WYaFgX.mjs +0 -78
  70. package/dist/global-content-D_WYaFgX.mjs.map +0 -1
  71. package/dist/global-content-bJgotqmA.cjs +0 -89
  72. package/dist/index-C4KcMQ0R.d.cts.map +0 -1
  73. package/dist/index-CxX7W63O.d.mts.map +0 -1
  74. package/dist/root-pS4l8bVZ.mjs.map +0 -1
  75. package/dist/styles-_TMw3YxC.mjs.map +0 -1
  76. /package/dist/{set-text-alignment-Cv72txmv.cjs → set-text-alignment-aNb7Ml9N.cjs} +0 -0
@@ -1,7 +1,9 @@
1
+ import { a as PanelGroup, i as KnownThemeComponents, r as KnownCssProperties } from "../types-BNEbRz-a.cjs";
2
+ import { Attrs } from "@tiptap/pm/model";
1
3
  import { Editor, Range } from "@tiptap/core";
2
4
  import { EditorView } from "@tiptap/pm/view";
3
- import * as React from "react";
4
- import { ReactNode } from "react";
5
+ import * as React$2 from "react";
6
+ import React$1, { ReactNode } from "react";
5
7
  import * as react_jsx_runtime7 from "react/jsx-runtime";
6
8
  import { EditorState, PluginKey } from "@tiptap/pm/state";
7
9
 
@@ -9,7 +11,7 @@ import { EditorState, PluginKey } from "@tiptap/pm/state";
9
11
  interface PreWiredItemProps {
10
12
  className?: string;
11
13
  /** Override the default icon */
12
- children?: React.ReactNode;
14
+ children?: React$2.ReactNode;
13
15
  }
14
16
  //#endregion
15
17
  //#region src/ui/bubble-menu/align-center.d.ts
@@ -31,7 +33,7 @@ declare function BubbleMenuAlignRight({
31
33
  }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
32
34
  //#endregion
33
35
  //#region src/ui/bubble-menu/button-default.d.ts
34
- interface BubbleMenuButtonDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
36
+ interface BubbleMenuButtonDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
35
37
  placement?: 'top' | 'bottom';
36
38
  offset?: number;
37
39
  onHide?: () => void;
@@ -51,7 +53,7 @@ declare function BubbleMenuButtonDefault({
51
53
  }: BubbleMenuButtonDefaultProps): react_jsx_runtime7.JSX.Element;
52
54
  //#endregion
53
55
  //#region src/ui/bubble-menu/button-edit-link.d.ts
54
- interface BubbleMenuButtonEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
56
+ interface BubbleMenuButtonEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
55
57
  declare function BubbleMenuButtonEditLink({
56
58
  className,
57
59
  children,
@@ -75,14 +77,14 @@ declare function BubbleMenuButtonForm({
75
77
  }: BubbleMenuButtonFormProps): react_jsx_runtime7.JSX.Element | null;
76
78
  //#endregion
77
79
  //#region src/ui/bubble-menu/button-toolbar.d.ts
78
- interface BubbleMenuButtonToolbarProps extends React.ComponentProps<'div'> {}
80
+ interface BubbleMenuButtonToolbarProps extends React$2.ComponentProps<'div'> {}
79
81
  declare function BubbleMenuButtonToolbar({
80
82
  children,
81
83
  ...rest
82
84
  }: BubbleMenuButtonToolbarProps): react_jsx_runtime7.JSX.Element | null;
83
85
  //#endregion
84
86
  //#region src/ui/bubble-menu/button-unlink.d.ts
85
- interface BubbleMenuButtonUnlinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {
87
+ interface BubbleMenuButtonUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {
86
88
  onLinkRemove?: () => void;
87
89
  }
88
90
  declare function BubbleMenuButtonUnlink({
@@ -96,7 +98,7 @@ declare function BubbleMenuButtonUnlink({
96
98
  //#endregion
97
99
  //#region src/ui/bubble-menu/default.d.ts
98
100
  type ExcludableItem$2 = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'uppercase' | 'align-left' | 'align-center' | 'align-right' | 'node-selector' | 'link-selector';
99
- interface BubbleMenuDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
101
+ interface BubbleMenuDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
100
102
  excludeItems?: ExcludableItem$2[];
101
103
  hideWhenActiveNodes?: string[];
102
104
  hideWhenActiveMarks?: string[];
@@ -118,7 +120,7 @@ declare function BubbleMenuDefault({
118
120
  //#region src/ui/bubble-menu/group.d.ts
119
121
  interface BubbleMenuItemGroupProps {
120
122
  className?: string;
121
- children: React.ReactNode;
123
+ children: React$2.ReactNode;
122
124
  }
123
125
  declare function BubbleMenuItemGroup({
124
126
  className,
@@ -127,7 +129,7 @@ declare function BubbleMenuItemGroup({
127
129
  //#endregion
128
130
  //#region src/ui/bubble-menu/image-default.d.ts
129
131
  type ExcludableItem$1 = 'edit-link';
130
- interface BubbleMenuImageDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
132
+ interface BubbleMenuImageDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
131
133
  excludeItems?: ExcludableItem$1[];
132
134
  placement?: 'top' | 'bottom';
133
135
  offset?: number;
@@ -143,7 +145,7 @@ declare function BubbleMenuImageDefault({
143
145
  }: BubbleMenuImageDefaultProps): react_jsx_runtime7.JSX.Element;
144
146
  //#endregion
145
147
  //#region src/ui/bubble-menu/image-edit-link.d.ts
146
- interface BubbleMenuImageEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
148
+ interface BubbleMenuImageEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
147
149
  declare function BubbleMenuImageEditLink({
148
150
  className,
149
151
  children,
@@ -153,14 +155,14 @@ declare function BubbleMenuImageEditLink({
153
155
  }: BubbleMenuImageEditLinkProps): react_jsx_runtime7.JSX.Element;
154
156
  //#endregion
155
157
  //#region src/ui/bubble-menu/image-toolbar.d.ts
156
- interface BubbleMenuImageToolbarProps extends React.ComponentProps<'div'> {}
158
+ interface BubbleMenuImageToolbarProps extends React$2.ComponentProps<'div'> {}
157
159
  declare function BubbleMenuImageToolbar({
158
160
  children,
159
161
  ...rest
160
162
  }: BubbleMenuImageToolbarProps): react_jsx_runtime7.JSX.Element | null;
161
163
  //#endregion
162
164
  //#region src/ui/bubble-menu/item.d.ts
163
- interface BubbleMenuItemProps extends React.ComponentProps<'button'> {
165
+ interface BubbleMenuItemProps extends React$2.ComponentProps<'button'> {
164
166
  /** Used for aria-label and data-item attribute */
165
167
  name: string;
166
168
  /** Whether this item is currently active */
@@ -179,7 +181,7 @@ declare function BubbleMenuItem({
179
181
  //#endregion
180
182
  //#region src/ui/bubble-menu/link-default.d.ts
181
183
  type ExcludableItem = 'edit-link' | 'open-link' | 'unlink';
182
- interface BubbleMenuLinkDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
184
+ interface BubbleMenuLinkDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
183
185
  excludeItems?: ExcludableItem[];
184
186
  placement?: 'top' | 'bottom';
185
187
  offset?: number;
@@ -201,7 +203,7 @@ declare function BubbleMenuLinkDefault({
201
203
  }: BubbleMenuLinkDefaultProps): react_jsx_runtime7.JSX.Element;
202
204
  //#endregion
203
205
  //#region src/ui/bubble-menu/link-edit-link.d.ts
204
- interface BubbleMenuLinkEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
206
+ interface BubbleMenuLinkEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
205
207
  declare function BubbleMenuLinkEditLink({
206
208
  className,
207
209
  children,
@@ -216,7 +218,7 @@ interface BubbleMenuLinkFormProps {
216
218
  validateUrl?: (value: string) => string | null;
217
219
  onLinkApply?: (href: string) => void;
218
220
  onLinkRemove?: () => void;
219
- children?: React.ReactNode;
221
+ children?: React$2.ReactNode;
220
222
  }
221
223
  declare function BubbleMenuLinkForm({
222
224
  className,
@@ -227,7 +229,7 @@ declare function BubbleMenuLinkForm({
227
229
  }: BubbleMenuLinkFormProps): react_jsx_runtime7.JSX.Element | null;
228
230
  //#endregion
229
231
  //#region src/ui/bubble-menu/link-open-link.d.ts
230
- interface BubbleMenuLinkOpenLinkProps extends Omit<React.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
232
+ interface BubbleMenuLinkOpenLinkProps extends Omit<React$2.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
231
233
  declare function BubbleMenuLinkOpenLink({
232
234
  className,
233
235
  children,
@@ -246,7 +248,7 @@ interface BubbleMenuLinkSelectorProps {
246
248
  /** Called after link is removed */
247
249
  onLinkRemove?: () => void;
248
250
  /** Plugin slot: extra actions rendered inside the link input form */
249
- children?: React.ReactNode;
251
+ children?: React$2.ReactNode;
250
252
  /** Controlled open state */
251
253
  open?: boolean;
252
254
  /** Called when open state changes */
@@ -264,14 +266,14 @@ declare function BubbleMenuLinkSelector({
264
266
  }: BubbleMenuLinkSelectorProps): react_jsx_runtime7.JSX.Element | null;
265
267
  //#endregion
266
268
  //#region src/ui/bubble-menu/link-toolbar.d.ts
267
- interface BubbleMenuLinkToolbarProps extends React.ComponentProps<'div'> {}
269
+ interface BubbleMenuLinkToolbarProps extends React$2.ComponentProps<'div'> {}
268
270
  declare function BubbleMenuLinkToolbar({
269
271
  children,
270
272
  ...rest
271
273
  }: BubbleMenuLinkToolbarProps): react_jsx_runtime7.JSX.Element | null;
272
274
  //#endregion
273
275
  //#region src/ui/bubble-menu/link-unlink.d.ts
274
- interface BubbleMenuLinkUnlinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
276
+ interface BubbleMenuLinkUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
275
277
  declare function BubbleMenuLinkUnlink({
276
278
  className,
277
279
  children,
@@ -284,7 +286,7 @@ declare function BubbleMenuLinkUnlink({
284
286
  type NodeType = 'Text' | 'Title' | 'Subtitle' | 'Heading' | 'Bullet List' | 'Numbered List' | 'Quote' | 'Code';
285
287
  interface NodeSelectorItem {
286
288
  name: NodeType;
287
- icon: React.ComponentType<React.SVGAttributes<SVGSVGElement>>;
289
+ icon: React$2.ComponentType<React$2.SVGAttributes<SVGSVGElement>>;
288
290
  command: () => void;
289
291
  isActive: boolean;
290
292
  }
@@ -296,7 +298,7 @@ interface NodeSelectorRootProps {
296
298
  /** Called when open state changes */
297
299
  onOpenChange?: (open: boolean) => void;
298
300
  className?: string;
299
- children: React.ReactNode;
301
+ children: React$2.ReactNode;
300
302
  }
301
303
  declare function NodeSelectorRoot({
302
304
  omit,
@@ -307,7 +309,7 @@ declare function NodeSelectorRoot({
307
309
  }: NodeSelectorRootProps): react_jsx_runtime7.JSX.Element | null;
308
310
  interface NodeSelectorTriggerProps {
309
311
  className?: string;
310
- children?: React.ReactNode;
312
+ children?: React$2.ReactNode;
311
313
  }
312
314
  declare function NodeSelectorTrigger({
313
315
  className,
@@ -319,7 +321,7 @@ interface NodeSelectorContentProps {
319
321
  align?: 'start' | 'center' | 'end';
320
322
  /** Render-prop for full control over item rendering.
321
323
  * Receives the filtered items and a `close` function to dismiss the popover. */
322
- children?: (items: NodeSelectorItem[], close: () => void) => React.ReactNode;
324
+ children?: (items: NodeSelectorItem[], close: () => void) => React$2.ReactNode;
323
325
  }
324
326
  declare function NodeSelectorContent({
325
327
  className,
@@ -331,7 +333,7 @@ interface BubbleMenuNodeSelectorProps {
331
333
  omit?: string[];
332
334
  className?: string;
333
335
  /** Override the trigger content (default: active item name + chevron icon) */
334
- triggerContent?: React.ReactNode;
336
+ triggerContent?: React$2.ReactNode;
335
337
  /** Controlled open state */
336
338
  open?: boolean;
337
339
  /** Called when open state changes */
@@ -361,7 +363,7 @@ declare const bubbleMenuTriggers: {
361
363
  };
362
364
  //#endregion
363
365
  //#region src/ui/bubble-menu/root.d.ts
364
- interface BubbleMenuRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
366
+ interface BubbleMenuRootProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
365
367
  trigger?: TriggerFn;
366
368
  pluginKey?: PluginKey;
367
369
  hideWhenActiveNodes?: string[];
@@ -369,7 +371,7 @@ interface BubbleMenuRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>
369
371
  placement?: 'top' | 'bottom';
370
372
  offset?: number;
371
373
  onHide?: () => void;
372
- children: React.ReactNode;
374
+ children: React$2.ReactNode;
373
375
  }
374
376
  declare function BubbleMenuRoot({
375
377
  trigger,
@@ -528,320 +530,433 @@ declare const BubbleMenu: {
528
530
  readonly ImageDefault: typeof BubbleMenuImageDefault;
529
531
  };
530
532
  //#endregion
531
- //#region src/ui/icons/align-center.d.ts
532
- interface IconProps$28 extends React.SVGAttributes<SVGSVGElement> {
533
+ //#region src/ui/editor-focus-scope.d.ts
534
+ interface FocusScopeContextValue {
535
+ registerScope: (el: HTMLElement | null) => void;
536
+ unregisterScope: (el: HTMLElement | null) => void;
537
+ }
538
+ declare function useEditorFocusScope(): FocusScopeContextValue;
539
+ interface EditorFocusScopeProviderProps {
540
+ children: React$2.ReactNode;
541
+ clearSelectionOnBlur?: boolean;
542
+ }
543
+ declare function EditorFocusScopeProvider({
544
+ children,
545
+ clearSelectionOnBlur
546
+ }: EditorFocusScopeProviderProps): react_jsx_runtime7.JSX.Element;
547
+ interface EditorFocusScopeProps {
548
+ children: React$2.ReactNode;
549
+ }
550
+ declare function EditorFocusScope({
551
+ children
552
+ }: EditorFocusScopeProps): react_jsx_runtime7.JSX.Element;
553
+ //#endregion
554
+ //#region src/ui/icons/types.d.ts
555
+ interface IconProps extends React$2.SVGAttributes<SVGSVGElement> {
533
556
  size?: number | string;
534
557
  }
558
+ //#endregion
559
+ //#region src/ui/icons/align-center.d.ts
535
560
  declare function AlignCenterIcon({
536
561
  size,
537
562
  width,
538
563
  height,
539
564
  ...props
540
- }: IconProps$28): react_jsx_runtime7.JSX.Element;
565
+ }: IconProps): react_jsx_runtime7.JSX.Element;
566
+ //#endregion
567
+ //#region src/ui/icons/align-center-vertical.d.ts
568
+ declare function AlignCenterVerticalIcon({
569
+ size,
570
+ width,
571
+ height,
572
+ ...props
573
+ }: IconProps): react_jsx_runtime7.JSX.Element;
574
+ //#endregion
575
+ //#region src/ui/icons/align-end-vertical.d.ts
576
+ declare function AlignEndVerticalIcon({
577
+ size,
578
+ width,
579
+ height,
580
+ ...props
581
+ }: IconProps): react_jsx_runtime7.JSX.Element;
541
582
  //#endregion
542
583
  //#region src/ui/icons/align-left.d.ts
543
- interface IconProps$27 extends React.SVGAttributes<SVGSVGElement> {
544
- size?: number | string;
545
- }
546
584
  declare function AlignLeftIcon({
547
585
  size,
548
586
  width,
549
587
  height,
550
588
  ...props
551
- }: IconProps$27): react_jsx_runtime7.JSX.Element;
589
+ }: IconProps): react_jsx_runtime7.JSX.Element;
552
590
  //#endregion
553
591
  //#region src/ui/icons/align-right.d.ts
554
- interface IconProps$26 extends React.SVGAttributes<SVGSVGElement> {
555
- size?: number | string;
556
- }
557
592
  declare function AlignRightIcon({
558
593
  size,
559
594
  width,
560
595
  height,
561
596
  ...props
562
- }: IconProps$26): react_jsx_runtime7.JSX.Element;
597
+ }: IconProps): react_jsx_runtime7.JSX.Element;
598
+ //#endregion
599
+ //#region src/ui/icons/align-start-vertical.d.ts
600
+ declare function AlignStartVerticalIcon({
601
+ size,
602
+ width,
603
+ height,
604
+ ...props
605
+ }: IconProps): react_jsx_runtime7.JSX.Element;
563
606
  //#endregion
564
607
  //#region src/ui/icons/bold.d.ts
565
- interface IconProps$25 extends React.SVGAttributes<SVGSVGElement> {
566
- size?: number | string;
567
- }
568
608
  declare function BoldIcon({
569
609
  size,
570
610
  width,
571
611
  height,
572
612
  ...props
573
- }: IconProps$25): react_jsx_runtime7.JSX.Element;
613
+ }: IconProps): react_jsx_runtime7.JSX.Element;
614
+ //#endregion
615
+ //#region src/ui/icons/box.d.ts
616
+ declare function BoxIcon({
617
+ size,
618
+ width,
619
+ height,
620
+ ...props
621
+ }: IconProps): react_jsx_runtime7.JSX.Element;
574
622
  //#endregion
575
623
  //#region src/ui/icons/case-upper.d.ts
576
- interface IconProps$24 extends React.SVGAttributes<SVGSVGElement> {
577
- size?: number | string;
578
- }
579
624
  declare function CaseUpperIcon({
580
625
  size,
581
626
  width,
582
627
  height,
583
628
  ...props
584
- }: IconProps$24): react_jsx_runtime7.JSX.Element;
629
+ }: IconProps): react_jsx_runtime7.JSX.Element;
585
630
  //#endregion
586
631
  //#region src/ui/icons/check.d.ts
587
- interface IconProps$23 extends React.SVGAttributes<SVGSVGElement> {
588
- size?: number | string;
589
- }
590
- declare function Check({
632
+ declare function CheckIcon({
591
633
  size,
592
634
  width,
593
635
  height,
594
636
  ...props
595
- }: IconProps$23): react_jsx_runtime7.JSX.Element;
637
+ }: IconProps): react_jsx_runtime7.JSX.Element;
596
638
  //#endregion
597
639
  //#region src/ui/icons/chevron-down.d.ts
598
- interface IconProps$22 extends React.SVGAttributes<SVGSVGElement> {
599
- size?: number | string;
600
- }
601
- declare function ChevronDown({
640
+ declare function ChevronDownIcon({
602
641
  size,
603
642
  width,
604
643
  height,
605
644
  ...props
606
- }: IconProps$22): react_jsx_runtime7.JSX.Element;
645
+ }: IconProps): react_jsx_runtime7.JSX.Element;
607
646
  //#endregion
608
647
  //#region src/ui/icons/code.d.ts
609
- interface IconProps$21 extends React.SVGAttributes<SVGSVGElement> {
610
- size?: number | string;
611
- }
612
648
  declare function CodeIcon({
613
649
  size,
614
650
  width,
615
651
  height,
616
652
  ...props
617
- }: IconProps$21): react_jsx_runtime7.JSX.Element;
618
- declare const Code: typeof CodeIcon;
653
+ }: IconProps): react_jsx_runtime7.JSX.Element;
619
654
  //#endregion
620
655
  //#region src/ui/icons/columns-2.d.ts
621
- interface IconProps$20 extends React.SVGAttributes<SVGSVGElement> {
622
- size?: number | string;
623
- }
624
- declare function Columns2({
656
+ declare function Columns2Icon({
625
657
  size,
626
658
  width,
627
659
  height,
628
660
  ...props
629
- }: IconProps$20): react_jsx_runtime7.JSX.Element;
661
+ }: IconProps): react_jsx_runtime7.JSX.Element;
630
662
  //#endregion
631
663
  //#region src/ui/icons/columns-3.d.ts
632
- interface IconProps$19 extends React.SVGAttributes<SVGSVGElement> {
633
- size?: number | string;
634
- }
635
- declare function Columns3({
664
+ declare function Columns3Icon({
636
665
  size,
637
666
  width,
638
667
  height,
639
668
  ...props
640
- }: IconProps$19): react_jsx_runtime7.JSX.Element;
669
+ }: IconProps): react_jsx_runtime7.JSX.Element;
641
670
  //#endregion
642
671
  //#region src/ui/icons/columns-4.d.ts
643
- interface IconProps$18 extends React.SVGAttributes<SVGSVGElement> {
644
- size?: number | string;
645
- }
646
- declare function Columns4({
672
+ declare function Columns4Icon({
673
+ size,
674
+ width,
675
+ height,
676
+ ...props
677
+ }: IconProps): react_jsx_runtime7.JSX.Element;
678
+ //#endregion
679
+ //#region src/ui/icons/corner-bottom-left.d.ts
680
+ declare function CornerBottomLeftIcon({
647
681
  size,
648
682
  width,
649
683
  height,
650
684
  ...props
651
- }: IconProps$18): react_jsx_runtime7.JSX.Element;
685
+ }: IconProps): react_jsx_runtime7.JSX.Element;
686
+ //#endregion
687
+ //#region src/ui/icons/corner-bottom-right.d.ts
688
+ declare function CornerBottomRightIcon({
689
+ size,
690
+ width,
691
+ height,
692
+ ...props
693
+ }: IconProps): react_jsx_runtime7.JSX.Element;
694
+ //#endregion
695
+ //#region src/ui/icons/corner-top-left.d.ts
696
+ declare function CornerTopLeftIcon({
697
+ size,
698
+ width,
699
+ height,
700
+ ...props
701
+ }: IconProps): react_jsx_runtime7.JSX.Element;
702
+ //#endregion
703
+ //#region src/ui/icons/corner-top-right.d.ts
704
+ declare function CornerTopRightIcon({
705
+ size,
706
+ width,
707
+ height,
708
+ ...props
709
+ }: IconProps): react_jsx_runtime7.JSX.Element;
652
710
  //#endregion
653
711
  //#region src/ui/icons/external-link.d.ts
654
- interface IconProps$17 extends React.SVGAttributes<SVGSVGElement> {
655
- size?: number | string;
656
- }
657
712
  declare function ExternalLinkIcon({
658
713
  size,
659
714
  width,
660
715
  height,
661
716
  ...props
662
- }: IconProps$17): react_jsx_runtime7.JSX.Element;
717
+ }: IconProps): react_jsx_runtime7.JSX.Element;
663
718
  //#endregion
664
719
  //#region src/ui/icons/heading-1.d.ts
665
- interface IconProps$16 extends React.SVGAttributes<SVGSVGElement> {
666
- size?: number | string;
667
- }
668
- declare function Heading1({
720
+ declare function Heading1Icon({
669
721
  size,
670
722
  width,
671
723
  height,
672
724
  ...props
673
- }: IconProps$16): react_jsx_runtime7.JSX.Element;
725
+ }: IconProps): react_jsx_runtime7.JSX.Element;
674
726
  //#endregion
675
727
  //#region src/ui/icons/heading-2.d.ts
676
- interface IconProps$15 extends React.SVGAttributes<SVGSVGElement> {
677
- size?: number | string;
678
- }
679
- declare function Heading2({
728
+ declare function Heading2Icon({
680
729
  size,
681
730
  width,
682
731
  height,
683
732
  ...props
684
- }: IconProps$15): react_jsx_runtime7.JSX.Element;
733
+ }: IconProps): react_jsx_runtime7.JSX.Element;
685
734
  //#endregion
686
735
  //#region src/ui/icons/heading-3.d.ts
687
- interface IconProps$14 extends React.SVGAttributes<SVGSVGElement> {
688
- size?: number | string;
689
- }
690
- declare function Heading3({
736
+ declare function Heading3Icon({
737
+ size,
738
+ width,
739
+ height,
740
+ ...props
741
+ }: IconProps): react_jsx_runtime7.JSX.Element;
742
+ //#endregion
743
+ //#region src/ui/icons/image.d.ts
744
+ declare function ImageIcon({
691
745
  size,
692
746
  width,
693
747
  height,
694
748
  ...props
695
- }: IconProps$14): react_jsx_runtime7.JSX.Element;
749
+ }: IconProps): react_jsx_runtime7.JSX.Element;
696
750
  //#endregion
697
751
  //#region src/ui/icons/italic.d.ts
698
- interface IconProps$13 extends React.SVGAttributes<SVGSVGElement> {
699
- size?: number | string;
700
- }
701
752
  declare function ItalicIcon({
702
753
  size,
703
754
  width,
704
755
  height,
705
756
  ...props
706
- }: IconProps$13): react_jsx_runtime7.JSX.Element;
757
+ }: IconProps): react_jsx_runtime7.JSX.Element;
758
+ //#endregion
759
+ //#region src/ui/icons/layout.d.ts
760
+ declare function LayoutIcon({
761
+ size,
762
+ width,
763
+ height,
764
+ ...props
765
+ }: IconProps): react_jsx_runtime7.JSX.Element;
707
766
  //#endregion
708
767
  //#region src/ui/icons/link.d.ts
709
- interface IconProps$12 extends React.SVGAttributes<SVGSVGElement> {
710
- size?: number | string;
711
- }
712
768
  declare function LinkIcon({
713
769
  size,
714
770
  width,
715
771
  height,
716
772
  ...props
717
- }: IconProps$12): react_jsx_runtime7.JSX.Element;
773
+ }: IconProps): react_jsx_runtime7.JSX.Element;
718
774
  //#endregion
719
775
  //#region src/ui/icons/list.d.ts
720
- interface IconProps$11 extends React.SVGAttributes<SVGSVGElement> {
721
- size?: number | string;
722
- }
723
- declare function List({
776
+ declare function ListIcon({
724
777
  size,
725
778
  width,
726
779
  height,
727
780
  ...props
728
- }: IconProps$11): react_jsx_runtime7.JSX.Element;
781
+ }: IconProps): react_jsx_runtime7.JSX.Element;
729
782
  //#endregion
730
783
  //#region src/ui/icons/list-ordered.d.ts
731
- interface IconProps$10 extends React.SVGAttributes<SVGSVGElement> {
732
- size?: number | string;
733
- }
734
- declare function ListOrdered({
784
+ declare function ListOrderedIcon({
785
+ size,
786
+ width,
787
+ height,
788
+ ...props
789
+ }: IconProps): react_jsx_runtime7.JSX.Element;
790
+ //#endregion
791
+ //#region src/ui/icons/minus.d.ts
792
+ declare function MinusIcon({
735
793
  size,
736
794
  width,
737
795
  height,
738
796
  ...props
739
- }: IconProps$10): react_jsx_runtime7.JSX.Element;
797
+ }: IconProps): react_jsx_runtime7.JSX.Element;
740
798
  //#endregion
741
799
  //#region src/ui/icons/mouse-pointer.d.ts
742
- interface IconProps$9 extends React.SVGAttributes<SVGSVGElement> {
743
- size?: number | string;
744
- }
745
- declare function MousePointer({
800
+ declare function MousePointerIcon({
746
801
  size,
747
802
  width,
748
803
  height,
749
804
  ...props
750
- }: IconProps$9): react_jsx_runtime7.JSX.Element;
805
+ }: IconProps): react_jsx_runtime7.JSX.Element;
806
+ //#endregion
807
+ //#region src/ui/icons/mouse-pointer-click.d.ts
808
+ declare function MousePointerClickIcon({
809
+ size,
810
+ width,
811
+ height,
812
+ ...props
813
+ }: IconProps): react_jsx_runtime7.JSX.Element;
814
+ //#endregion
815
+ //#region src/ui/icons/panel-bottom.d.ts
816
+ declare function PanelBottomIcon({
817
+ size,
818
+ width,
819
+ height,
820
+ ...props
821
+ }: IconProps): react_jsx_runtime7.JSX.Element;
822
+ //#endregion
823
+ //#region src/ui/icons/panel-left.d.ts
824
+ declare function PanelLeftIcon({
825
+ size,
826
+ width,
827
+ height,
828
+ ...props
829
+ }: IconProps): react_jsx_runtime7.JSX.Element;
830
+ //#endregion
831
+ //#region src/ui/icons/panel-right.d.ts
832
+ declare function PanelRightIcon({
833
+ size,
834
+ width,
835
+ height,
836
+ ...props
837
+ }: IconProps): react_jsx_runtime7.JSX.Element;
838
+ //#endregion
839
+ //#region src/ui/icons/panel-top.d.ts
840
+ declare function PanelTopIcon({
841
+ size,
842
+ width,
843
+ height,
844
+ ...props
845
+ }: IconProps): react_jsx_runtime7.JSX.Element;
751
846
  //#endregion
752
847
  //#region src/ui/icons/pencil.d.ts
753
- interface IconProps$8 extends React.SVGAttributes<SVGSVGElement> {
754
- size?: number | string;
755
- }
756
848
  declare function PencilIcon({
757
849
  size,
758
850
  width,
759
851
  height,
760
852
  ...props
761
- }: IconProps$8): react_jsx_runtime7.JSX.Element;
853
+ }: IconProps): react_jsx_runtime7.JSX.Element;
854
+ //#endregion
855
+ //#region src/ui/icons/plus.d.ts
856
+ declare function PlusIcon({
857
+ size,
858
+ width,
859
+ height,
860
+ ...props
861
+ }: IconProps): react_jsx_runtime7.JSX.Element;
762
862
  //#endregion
763
863
  //#region src/ui/icons/rows-2.d.ts
764
- interface IconProps$7 extends React.SVGAttributes<SVGSVGElement> {
765
- size?: number | string;
766
- }
767
- declare function Rows2({
864
+ declare function Rows2Icon({
768
865
  size,
769
866
  width,
770
867
  height,
771
868
  ...props
772
- }: IconProps$7): react_jsx_runtime7.JSX.Element;
869
+ }: IconProps): react_jsx_runtime7.JSX.Element;
773
870
  //#endregion
774
871
  //#region src/ui/icons/split-square-vertical.d.ts
775
- interface IconProps$6 extends React.SVGAttributes<SVGSVGElement> {
776
- size?: number | string;
777
- }
778
- declare function SplitSquareVertical({
872
+ declare function SplitSquareVerticalIcon({
873
+ size,
874
+ width,
875
+ height,
876
+ ...props
877
+ }: IconProps): react_jsx_runtime7.JSX.Element;
878
+ //#endregion
879
+ //#region src/ui/icons/square.d.ts
880
+ declare function SquareIcon({
779
881
  size,
780
882
  width,
781
883
  height,
782
884
  ...props
783
- }: IconProps$6): react_jsx_runtime7.JSX.Element;
885
+ }: IconProps): react_jsx_runtime7.JSX.Element;
784
886
  //#endregion
785
887
  //#region src/ui/icons/square-code.d.ts
786
- interface IconProps$5 extends React.SVGAttributes<SVGSVGElement> {
787
- size?: number | string;
788
- }
789
- declare function SquareCode({
888
+ declare function SquareCodeIcon({
889
+ size,
890
+ width,
891
+ height,
892
+ ...props
893
+ }: IconProps): react_jsx_runtime7.JSX.Element;
894
+ //#endregion
895
+ //#region src/ui/icons/square-dashed.d.ts
896
+ declare function SquareDashedIcon({
790
897
  size,
791
898
  width,
792
899
  height,
793
900
  ...props
794
- }: IconProps$5): react_jsx_runtime7.JSX.Element;
901
+ }: IconProps): react_jsx_runtime7.JSX.Element;
902
+ //#endregion
903
+ //#region src/ui/icons/square-round-corner.d.ts
904
+ declare function SquareRoundCornerIcon({
905
+ size,
906
+ width,
907
+ height,
908
+ ...props
909
+ }: IconProps): react_jsx_runtime7.JSX.Element;
795
910
  //#endregion
796
911
  //#region src/ui/icons/strikethrough.d.ts
797
- interface IconProps$4 extends React.SVGAttributes<SVGSVGElement> {
798
- size?: number | string;
799
- }
800
912
  declare function StrikethroughIcon({
801
913
  size,
802
914
  width,
803
915
  height,
804
916
  ...props
805
- }: IconProps$4): react_jsx_runtime7.JSX.Element;
917
+ }: IconProps): react_jsx_runtime7.JSX.Element;
918
+ //#endregion
919
+ //#region src/ui/icons/table.d.ts
920
+ declare function TableIcon({
921
+ size,
922
+ width,
923
+ height,
924
+ ...props
925
+ }: IconProps): react_jsx_runtime7.JSX.Element;
806
926
  //#endregion
807
927
  //#region src/ui/icons/text.d.ts
808
- interface IconProps$3 extends React.SVGAttributes<SVGSVGElement> {
809
- size?: number | string;
810
- }
811
928
  declare function TextIcon({
812
929
  size,
813
930
  width,
814
931
  height,
815
932
  ...props
816
- }: IconProps$3): react_jsx_runtime7.JSX.Element;
817
- declare const Text: typeof TextIcon;
933
+ }: IconProps): react_jsx_runtime7.JSX.Element;
818
934
  //#endregion
819
935
  //#region src/ui/icons/text-quote.d.ts
820
- interface IconProps$2 extends React.SVGAttributes<SVGSVGElement> {
821
- size?: number | string;
822
- }
823
- declare function TextQuote({
936
+ declare function TextQuoteIcon({
937
+ size,
938
+ width,
939
+ height,
940
+ ...props
941
+ }: IconProps): react_jsx_runtime7.JSX.Element;
942
+ //#endregion
943
+ //#region src/ui/icons/type.d.ts
944
+ declare function TypeIcon({
824
945
  size,
825
946
  width,
826
947
  height,
827
948
  ...props
828
- }: IconProps$2): react_jsx_runtime7.JSX.Element;
949
+ }: IconProps): react_jsx_runtime7.JSX.Element;
829
950
  //#endregion
830
951
  //#region src/ui/icons/underline.d.ts
831
- interface IconProps$1 extends React.SVGAttributes<SVGSVGElement> {
832
- size?: number | string;
833
- }
834
952
  declare function UnderlineIcon({
835
953
  size,
836
954
  width,
837
955
  height,
838
956
  ...props
839
- }: IconProps$1): react_jsx_runtime7.JSX.Element;
957
+ }: IconProps): react_jsx_runtime7.JSX.Element;
840
958
  //#endregion
841
959
  //#region src/ui/icons/unlink.d.ts
842
- interface IconProps extends React.SVGAttributes<SVGSVGElement> {
843
- size?: number | string;
844
- }
845
960
  declare function UnlinkIcon({
846
961
  size,
847
962
  width,
@@ -849,6 +964,203 @@ declare function UnlinkIcon({
849
964
  ...props
850
965
  }: IconProps): react_jsx_runtime7.JSX.Element;
851
966
  //#endregion
967
+ //#region src/ui/icons/x.d.ts
968
+ declare function XIcon({
969
+ size,
970
+ width,
971
+ height,
972
+ ...props
973
+ }: IconProps): react_jsx_runtime7.JSX.Element;
974
+ //#endregion
975
+ //#region src/ui/inspector/root.d.ts
976
+ interface FocusedNode {
977
+ nodeType: string;
978
+ nodeAttrs: Attrs;
979
+ nodePos: {
980
+ pos: number;
981
+ inside: number;
982
+ };
983
+ }
984
+ interface RootProps extends React$2.ComponentPropsWithRef<'aside'> {
985
+ asChild?: boolean;
986
+ }
987
+ //#endregion
988
+ //#region src/ui/inspector/breadcrumb.d.ts
989
+ interface InspectorBreadcrumbSegment {
990
+ node: FocusedNode | null;
991
+ focus: () => void;
992
+ }
993
+ interface InspectorBreadcrumbProps {
994
+ children?: (segments: InspectorBreadcrumbSegment[]) => React$1.ReactNode;
995
+ }
996
+ declare function InspectorBreadcrumb({
997
+ children
998
+ }: InspectorBreadcrumbProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime7.JSX.Element | null | undefined;
999
+ //#endregion
1000
+ //#region src/ui/inspector/document.d.ts
1001
+ type SetGlobalStyle = (classReference: KnownThemeComponents, property: KnownCssProperties, value: unknown) => void;
1002
+ type BatchSetGlobalStyle = (changes: Array<{
1003
+ classReference: KnownThemeComponents;
1004
+ property: KnownCssProperties;
1005
+ value: unknown;
1006
+ }>) => void;
1007
+ type FindStyleValue = (classReference: KnownThemeComponents, prop: KnownCssProperties) => string | number;
1008
+ interface InspectorDocumentContext {
1009
+ styles: PanelGroup[];
1010
+ setGlobalStyle: SetGlobalStyle;
1011
+ batchSetGlobalStyle: BatchSetGlobalStyle;
1012
+ findStyleValue: FindStyleValue;
1013
+ }
1014
+ interface InspectorDocumentProps {
1015
+ children?: (context: InspectorDocumentContext) => React.ReactNode;
1016
+ }
1017
+ declare function InspectorDocument({
1018
+ children
1019
+ }: InspectorDocumentProps): react_jsx_runtime7.JSX.Element | null;
1020
+ //#endregion
1021
+ //#region src/ui/inspector/node.d.ts
1022
+ interface InspectorNodeContext {
1023
+ nodeType: string;
1024
+ nodePos: {
1025
+ pos: number;
1026
+ inside: number;
1027
+ };
1028
+ getStyle: (prop: KnownCssProperties) => string | number | undefined;
1029
+ setStyle: (prop: KnownCssProperties, value: string | number) => void;
1030
+ batchSetStyle: (changes: Array<{
1031
+ prop: KnownCssProperties;
1032
+ value: string | number;
1033
+ }>) => void;
1034
+ getAttr: (name: string) => unknown;
1035
+ setAttr: (name: string, value: unknown) => void;
1036
+ themeDefaults: Record<string, string | number | undefined>;
1037
+ presetColors: string[];
1038
+ }
1039
+ interface InspectorNodeProps {
1040
+ children?: (context: InspectorNodeContext) => React$2.ReactNode;
1041
+ }
1042
+ declare function InspectorNode({
1043
+ children
1044
+ }: InspectorNodeProps): react_jsx_runtime7.JSX.Element | null;
1045
+ //#endregion
1046
+ //#region src/ui/inspector/sections/attributes.d.ts
1047
+ type InspectorAttributesProps = InspectorNodeContext & {
1048
+ initialCollapsed?: boolean;
1049
+ };
1050
+ declare function AttributesSection({
1051
+ nodeType,
1052
+ getAttr,
1053
+ setAttr,
1054
+ initialCollapsed
1055
+ }: InspectorAttributesProps): react_jsx_runtime7.JSX.Element | null;
1056
+ //#endregion
1057
+ //#region src/ui/inspector/sections/background.d.ts
1058
+ type InspectorBackgroundProps = InspectorNodeContext & {
1059
+ initialCollapsed?: boolean;
1060
+ };
1061
+ declare function BackgroundSection({
1062
+ getStyle,
1063
+ setStyle,
1064
+ initialCollapsed
1065
+ }: InspectorBackgroundProps): react_jsx_runtime7.JSX.Element;
1066
+ //#endregion
1067
+ //#region src/ui/inspector/sections/border.d.ts
1068
+ type InspectorBorderProps = InspectorNodeContext & {
1069
+ initialCollapsed?: boolean;
1070
+ };
1071
+ declare function BorderSection({
1072
+ getStyle,
1073
+ setStyle,
1074
+ batchSetStyle,
1075
+ initialCollapsed
1076
+ }: InspectorBorderProps): react_jsx_runtime7.JSX.Element;
1077
+ //#endregion
1078
+ //#region src/ui/inspector/text.d.ts
1079
+ interface InspectorTextContext {
1080
+ marks: Record<string, boolean>;
1081
+ toggleMark: (mark: string) => void;
1082
+ alignment: string;
1083
+ setAlignment: (value: string) => void;
1084
+ linkHref: string;
1085
+ linkColor: string;
1086
+ setLinkColor: (color: string) => void;
1087
+ isLinkActive: boolean;
1088
+ getStyle: (prop: KnownCssProperties) => string | number | undefined;
1089
+ setStyle: (prop: KnownCssProperties, value: string | number) => void;
1090
+ presetColors: string[];
1091
+ }
1092
+ interface InspectorTextProps {
1093
+ children?: (context: InspectorTextContext) => React$2.ReactNode;
1094
+ }
1095
+ declare function InspectorText({
1096
+ children
1097
+ }: InspectorTextProps): react_jsx_runtime7.JSX.Element | null;
1098
+ //#endregion
1099
+ //#region src/ui/inspector/sections/link.d.ts
1100
+ type InspectorLinkProps = Pick<InspectorTextContext, 'linkHref' | 'linkColor' | 'setLinkColor' | 'isLinkActive' | 'presetColors'> & {
1101
+ initialCollapsed?: boolean;
1102
+ };
1103
+ declare function LinkSection({
1104
+ linkHref,
1105
+ linkColor,
1106
+ setLinkColor,
1107
+ isLinkActive,
1108
+ initialCollapsed
1109
+ }: InspectorLinkProps): react_jsx_runtime7.JSX.Element | null;
1110
+ //#endregion
1111
+ //#region src/ui/inspector/sections/padding.d.ts
1112
+ type InspectorPaddingProps = InspectorNodeContext & {
1113
+ initialCollapsed?: boolean;
1114
+ };
1115
+ declare function PaddingSection({
1116
+ getStyle,
1117
+ batchSetStyle,
1118
+ initialCollapsed
1119
+ }: InspectorPaddingProps): react_jsx_runtime7.JSX.Element;
1120
+ //#endregion
1121
+ //#region src/ui/inspector/sections/size.d.ts
1122
+ type InspectorSizeProps = InspectorNodeContext & {
1123
+ initialCollapsed?: boolean;
1124
+ };
1125
+ declare function SizeSection({
1126
+ nodeType,
1127
+ getStyle,
1128
+ setStyle,
1129
+ getAttr,
1130
+ setAttr,
1131
+ initialCollapsed
1132
+ }: InspectorSizeProps): react_jsx_runtime7.JSX.Element;
1133
+ //#endregion
1134
+ //#region src/ui/inspector/sections/typography.d.ts
1135
+ type TypographyContext = Pick<InspectorNodeContext | InspectorTextContext, 'getStyle' | 'setStyle' | 'presetColors'> & Partial<Pick<InspectorTextContext, 'marks' | 'toggleMark' | 'alignment' | 'setAlignment'>> & {
1136
+ initialCollapsed?: boolean;
1137
+ };
1138
+ declare function TypographySection({
1139
+ getStyle,
1140
+ setStyle,
1141
+ marks,
1142
+ toggleMark,
1143
+ alignment,
1144
+ setAlignment,
1145
+ initialCollapsed
1146
+ }: TypographyContext): react_jsx_runtime7.JSX.Element;
1147
+ //#endregion
1148
+ //#region src/ui/inspector/index.d.ts
1149
+ declare const Inspector: {
1150
+ Root: React$2.ForwardRefExoticComponent<Omit<RootProps, "ref"> & React$2.RefAttributes<HTMLElement>>;
1151
+ Breadcrumb: typeof InspectorBreadcrumb;
1152
+ Document: typeof InspectorDocument;
1153
+ Node: typeof InspectorNode;
1154
+ Text: typeof InspectorText;
1155
+ Attributes: typeof AttributesSection;
1156
+ Background: typeof BackgroundSection;
1157
+ Border: typeof BorderSection;
1158
+ Link: typeof LinkSection;
1159
+ Padding: typeof PaddingSection;
1160
+ Size: typeof SizeSection;
1161
+ Typography: typeof TypographySection;
1162
+ };
1163
+ //#endregion
852
1164
  //#region src/ui/slash-command/types.d.ts
853
1165
  type SlashCommandCategory = string;
854
1166
  interface SearchableItem {
@@ -902,7 +1214,7 @@ declare function SlashCommandRoot({
902
1214
  char,
903
1215
  allow: allowProp,
904
1216
  children
905
- }: SlashCommandRootProps): React.ReactPortal | null;
1217
+ }: SlashCommandRootProps): React$2.ReactPortal | null;
906
1218
  //#endregion
907
1219
  //#region src/ui/slash-command/commands.d.ts
908
1220
  declare const TEXT: SlashCommandItem;
@@ -935,5 +1247,5 @@ declare const SlashCommand: {
935
1247
  readonly CommandList: typeof CommandList;
936
1248
  };
937
1249
  //#endregion
938
- export { AlignCenterIcon, AlignLeftIcon, AlignRightIcon, BULLET_LIST, BUTTON, BoldIcon, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuButtonDefault, type BubbleMenuButtonDefaultProps, BubbleMenuButtonEditLink, type BubbleMenuButtonEditLinkProps, BubbleMenuButtonForm, type BubbleMenuButtonFormProps, BubbleMenuButtonToolbar, type BubbleMenuButtonToolbarProps, BubbleMenuButtonUnlink, type BubbleMenuButtonUnlinkProps, BubbleMenuCode, type BubbleMenuContextValue, BubbleMenuDefault, type BubbleMenuDefaultProps, BubbleMenuImageDefault, type BubbleMenuImageDefaultProps, BubbleMenuImageEditLink, type BubbleMenuImageEditLinkProps, BubbleMenuImageToolbar, type BubbleMenuImageToolbarProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkDefault, type BubbleMenuLinkDefaultProps, BubbleMenuLinkEditLink, type BubbleMenuLinkEditLinkProps, BubbleMenuLinkForm, type BubbleMenuLinkFormProps, BubbleMenuLinkOpenLink, type BubbleMenuLinkOpenLinkProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuLinkToolbar, type BubbleMenuLinkToolbarProps, BubbleMenuLinkUnlink, type BubbleMenuLinkUnlinkProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, CODE, CaseUpperIcon, Check, ChevronDown, Code, CodeIcon, Columns2, Columns3, Columns4, CommandList, type CommandListProps, DIVIDER, ExternalLinkIcon, FOUR_COLUMNS, H1, H2, H3, Heading1, Heading2, Heading3, ItalicIcon, LinkIcon, List, ListOrdered, MousePointer, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, PencilIcon, type PreWiredItemProps, QUOTE, Rows2, SECTION, type SearchableItem, SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, SplitSquareVertical, SquareCode, StrikethroughIcon, TEXT, THREE_COLUMNS, TWO_COLUMNS, Text, TextIcon, TextQuote, type TriggerFn, type TriggerParams, UnderlineIcon, UnlinkIcon, bubbleMenuTriggers, defaultSlashCommands, filterAndRankItems, isAtMaxColumnsDepth, isInsideNode, scoreItem, useBubbleMenuContext };
1250
+ export { AlignCenterIcon, AlignCenterVerticalIcon, AlignEndVerticalIcon, AlignLeftIcon, AlignRightIcon, AlignStartVerticalIcon, BULLET_LIST, BUTTON, BoldIcon, BoxIcon, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuButtonDefault, type BubbleMenuButtonDefaultProps, BubbleMenuButtonEditLink, type BubbleMenuButtonEditLinkProps, BubbleMenuButtonForm, type BubbleMenuButtonFormProps, BubbleMenuButtonToolbar, type BubbleMenuButtonToolbarProps, BubbleMenuButtonUnlink, type BubbleMenuButtonUnlinkProps, BubbleMenuCode, type BubbleMenuContextValue, BubbleMenuDefault, type BubbleMenuDefaultProps, BubbleMenuImageDefault, type BubbleMenuImageDefaultProps, BubbleMenuImageEditLink, type BubbleMenuImageEditLinkProps, BubbleMenuImageToolbar, type BubbleMenuImageToolbarProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkDefault, type BubbleMenuLinkDefaultProps, BubbleMenuLinkEditLink, type BubbleMenuLinkEditLinkProps, BubbleMenuLinkForm, type BubbleMenuLinkFormProps, BubbleMenuLinkOpenLink, type BubbleMenuLinkOpenLinkProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuLinkToolbar, type BubbleMenuLinkToolbarProps, BubbleMenuLinkUnlink, type BubbleMenuLinkUnlinkProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, CODE, CaseUpperIcon, CheckIcon, ChevronDownIcon, CodeIcon, Columns2Icon, Columns3Icon, Columns4Icon, CommandList, type CommandListProps, CornerBottomLeftIcon, CornerBottomRightIcon, CornerTopLeftIcon, CornerTopRightIcon, DIVIDER, EditorFocusScope, EditorFocusScopeProps, EditorFocusScopeProvider, EditorFocusScopeProviderProps, ExternalLinkIcon, FOUR_COLUMNS, H1, H2, H3, Heading1Icon, Heading2Icon, Heading3Icon, type IconProps, ImageIcon, Inspector, type InspectorDocumentProps, type InspectorNodeContext, type InspectorNodeProps, type InspectorTextContext, type InspectorTextProps, ItalicIcon, LayoutIcon, LinkIcon, ListIcon, ListOrderedIcon, MinusIcon, MousePointerClickIcon, MousePointerIcon, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, PanelBottomIcon, PanelLeftIcon, PanelRightIcon, PanelTopIcon, PencilIcon, PlusIcon, type PreWiredItemProps, QUOTE, Rows2Icon, SECTION, type SearchableItem, SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, SplitSquareVerticalIcon, SquareCodeIcon, SquareDashedIcon, SquareIcon, SquareRoundCornerIcon, StrikethroughIcon, TEXT, THREE_COLUMNS, TWO_COLUMNS, TableIcon, TextIcon, TextQuoteIcon, type TriggerFn, type TriggerParams, TypeIcon, UnderlineIcon, UnlinkIcon, XIcon, bubbleMenuTriggers, defaultSlashCommands, filterAndRankItems, isAtMaxColumnsDepth, isInsideNode, scoreItem, useBubbleMenuContext, useEditorFocusScope };
939
1251
  //# sourceMappingURL=index.d.cts.map