@react-email/editor 0.0.0-experimental.43 → 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 (58) hide show
  1. package/dist/core/index.cjs +2 -2
  2. package/dist/core/index.d.cts +1 -1
  3. package/dist/core/index.d.mts +1 -1
  4. package/dist/core/index.mjs +2 -2
  5. package/dist/{event-bus-DJpnfDHw.mjs → event-bus-BFzKTuhV.mjs} +23 -3
  6. package/dist/event-bus-BFzKTuhV.mjs.map +1 -0
  7. package/dist/{event-bus-BJn1dJM1.cjs → event-bus-D-uahiao.cjs} +39 -1
  8. package/dist/{extension-DcToBuV0.mjs → extension-B_ImOuII.mjs} +2 -2
  9. package/dist/extension-B_ImOuII.mjs.map +1 -0
  10. package/dist/{extension-CF0s-pGh.cjs → extension-DHsEsAaO.cjs} +2 -2
  11. package/dist/extensions/index.cjs +3 -3
  12. package/dist/extensions/index.d.cts +3 -1
  13. package/dist/extensions/index.d.cts.map +1 -1
  14. package/dist/extensions/index.d.mts +3 -1
  15. package/dist/extensions/index.d.mts.map +1 -1
  16. package/dist/extensions/index.mjs +3 -3
  17. package/dist/{extensions-mStGDfMH.mjs → extensions-CLBkYvzM.mjs} +17 -28
  18. package/dist/extensions-CLBkYvzM.mjs.map +1 -0
  19. package/dist/{extensions-B6VCxUmi.cjs → extensions-ZVX3PUnH.cjs} +18 -29
  20. package/dist/{global-content-CjA49_jE.mjs → global-content-6jVh6L0b.mjs} +13 -2
  21. package/dist/global-content-6jVh6L0b.mjs.map +1 -0
  22. package/dist/{global-content-C5WjNoMX.cjs → global-content-D3TNgSN6.cjs} +24 -1
  23. package/dist/{index-i5JdL0UD.d.mts → index-BL2rehV8.d.mts} +11 -10
  24. package/dist/index-BL2rehV8.d.mts.map +1 -0
  25. package/dist/{index-LCPnE_xx.d.cts → index-DJgMqa5C.d.cts} +11 -10
  26. package/dist/index-DJgMqa5C.d.cts.map +1 -0
  27. package/dist/index.cjs +5 -10
  28. package/dist/index.css +339 -0
  29. package/dist/index.css.map +1 -1
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.cts.map +1 -1
  32. package/dist/index.d.mts +2 -2
  33. package/dist/index.d.mts.map +1 -1
  34. package/dist/index.mjs +8 -13
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/plugins/index.cjs +1 -1
  37. package/dist/plugins/index.mjs +1 -1
  38. package/dist/{root-D6lslKju.cjs → root-CEAehvsX.cjs} +74 -87
  39. package/dist/{root-BVs63m-4.mjs → root-CJuwiIRn.mjs} +46 -47
  40. package/dist/root-CJuwiIRn.mjs.map +1 -0
  41. package/dist/ui/index.cjs +2422 -115
  42. package/dist/ui/index.d.cts +362 -229
  43. package/dist/ui/index.d.cts.map +1 -1
  44. package/dist/ui/index.d.mts +362 -229
  45. package/dist/ui/index.d.mts.map +1 -1
  46. package/dist/ui/index.mjs +2391 -92
  47. package/dist/ui/index.mjs.map +1 -1
  48. package/dist/ui/inspector/inspector.css +338 -0
  49. package/dist/ui/themes/default.css +339 -0
  50. package/package.json +5 -3
  51. package/readme.md +69 -0
  52. package/dist/event-bus-DJpnfDHw.mjs.map +0 -1
  53. package/dist/extension-DcToBuV0.mjs.map +0 -1
  54. package/dist/extensions-mStGDfMH.mjs.map +0 -1
  55. package/dist/global-content-CjA49_jE.mjs.map +0 -1
  56. package/dist/index-LCPnE_xx.d.cts.map +0 -1
  57. package/dist/index-i5JdL0UD.d.mts.map +0 -1
  58. package/dist/root-BVs63m-4.mjs.map +0 -1
@@ -4,7 +4,7 @@ import { Editor, Range } from "@tiptap/core";
4
4
  import { EditorView } from "@tiptap/pm/view";
5
5
  import * as React$2 from "react";
6
6
  import React$1, { ReactNode } from "react";
7
- import * as react_jsx_runtime5 from "react/jsx-runtime";
7
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
8
8
  import { EditorState, PluginKey } from "@tiptap/pm/state";
9
9
 
10
10
  //#region src/ui/bubble-menu/create-mark-bubble-item.d.ts
@@ -18,19 +18,19 @@ interface PreWiredItemProps {
18
18
  declare function BubbleMenuAlignCenter({
19
19
  className,
20
20
  children
21
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
21
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
22
22
  //#endregion
23
23
  //#region src/ui/bubble-menu/align-left.d.ts
24
24
  declare function BubbleMenuAlignLeft({
25
25
  className,
26
26
  children
27
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
27
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
28
28
  //#endregion
29
29
  //#region src/ui/bubble-menu/align-right.d.ts
30
30
  declare function BubbleMenuAlignRight({
31
31
  className,
32
32
  children
33
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
33
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
34
34
  //#endregion
35
35
  //#region src/ui/bubble-menu/button-default.d.ts
36
36
  interface BubbleMenuButtonDefaultProps extends Omit<React$2.ComponentPropsWithoutRef<'div'>, 'children'> {
@@ -50,7 +50,7 @@ declare function BubbleMenuButtonDefault({
50
50
  onLinkApply,
51
51
  onLinkRemove,
52
52
  ...rest
53
- }: BubbleMenuButtonDefaultProps): react_jsx_runtime5.JSX.Element;
53
+ }: BubbleMenuButtonDefaultProps): react_jsx_runtime7.JSX.Element;
54
54
  //#endregion
55
55
  //#region src/ui/bubble-menu/button-edit-link.d.ts
56
56
  interface BubbleMenuButtonEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
@@ -60,7 +60,7 @@ declare function BubbleMenuButtonEditLink({
60
60
  onClick,
61
61
  onMouseDown,
62
62
  ...rest
63
- }: BubbleMenuButtonEditLinkProps): react_jsx_runtime5.JSX.Element;
63
+ }: BubbleMenuButtonEditLinkProps): react_jsx_runtime7.JSX.Element;
64
64
  //#endregion
65
65
  //#region src/ui/bubble-menu/button-form.d.ts
66
66
  interface BubbleMenuButtonFormProps {
@@ -74,14 +74,14 @@ declare function BubbleMenuButtonForm({
74
74
  validateUrl,
75
75
  onLinkApply,
76
76
  onLinkRemove
77
- }: BubbleMenuButtonFormProps): react_jsx_runtime5.JSX.Element | null;
77
+ }: BubbleMenuButtonFormProps): react_jsx_runtime7.JSX.Element | null;
78
78
  //#endregion
79
79
  //#region src/ui/bubble-menu/button-toolbar.d.ts
80
80
  interface BubbleMenuButtonToolbarProps extends React$2.ComponentProps<'div'> {}
81
81
  declare function BubbleMenuButtonToolbar({
82
82
  children,
83
83
  ...rest
84
- }: BubbleMenuButtonToolbarProps): react_jsx_runtime5.JSX.Element | null;
84
+ }: BubbleMenuButtonToolbarProps): react_jsx_runtime7.JSX.Element | null;
85
85
  //#endregion
86
86
  //#region src/ui/bubble-menu/button-unlink.d.ts
87
87
  interface BubbleMenuButtonUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {
@@ -94,7 +94,7 @@ declare function BubbleMenuButtonUnlink({
94
94
  onMouseDown,
95
95
  onLinkRemove,
96
96
  ...rest
97
- }: BubbleMenuButtonUnlinkProps): react_jsx_runtime5.JSX.Element;
97
+ }: BubbleMenuButtonUnlinkProps): react_jsx_runtime7.JSX.Element;
98
98
  //#endregion
99
99
  //#region src/ui/bubble-menu/default.d.ts
100
100
  type ExcludableItem$2 = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'uppercase' | 'align-left' | 'align-center' | 'align-right' | 'node-selector' | 'link-selector';
@@ -115,7 +115,7 @@ declare function BubbleMenuDefault({
115
115
  onHide,
116
116
  className,
117
117
  ...rest
118
- }: BubbleMenuDefaultProps): react_jsx_runtime5.JSX.Element;
118
+ }: BubbleMenuDefaultProps): react_jsx_runtime7.JSX.Element;
119
119
  //#endregion
120
120
  //#region src/ui/bubble-menu/group.d.ts
121
121
  interface BubbleMenuItemGroupProps {
@@ -125,7 +125,7 @@ interface BubbleMenuItemGroupProps {
125
125
  declare function BubbleMenuItemGroup({
126
126
  className,
127
127
  children
128
- }: BubbleMenuItemGroupProps): react_jsx_runtime5.JSX.Element;
128
+ }: BubbleMenuItemGroupProps): react_jsx_runtime7.JSX.Element;
129
129
  //#endregion
130
130
  //#region src/ui/bubble-menu/image-default.d.ts
131
131
  type ExcludableItem$1 = 'edit-link';
@@ -142,7 +142,7 @@ declare function BubbleMenuImageDefault({
142
142
  onHide,
143
143
  className,
144
144
  ...rest
145
- }: BubbleMenuImageDefaultProps): react_jsx_runtime5.JSX.Element;
145
+ }: BubbleMenuImageDefaultProps): react_jsx_runtime7.JSX.Element;
146
146
  //#endregion
147
147
  //#region src/ui/bubble-menu/image-edit-link.d.ts
148
148
  interface BubbleMenuImageEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
@@ -152,14 +152,14 @@ declare function BubbleMenuImageEditLink({
152
152
  onClick,
153
153
  onMouseDown,
154
154
  ...rest
155
- }: BubbleMenuImageEditLinkProps): react_jsx_runtime5.JSX.Element;
155
+ }: BubbleMenuImageEditLinkProps): react_jsx_runtime7.JSX.Element;
156
156
  //#endregion
157
157
  //#region src/ui/bubble-menu/image-toolbar.d.ts
158
158
  interface BubbleMenuImageToolbarProps extends React$2.ComponentProps<'div'> {}
159
159
  declare function BubbleMenuImageToolbar({
160
160
  children,
161
161
  ...rest
162
- }: BubbleMenuImageToolbarProps): react_jsx_runtime5.JSX.Element | null;
162
+ }: BubbleMenuImageToolbarProps): react_jsx_runtime7.JSX.Element | null;
163
163
  //#endregion
164
164
  //#region src/ui/bubble-menu/item.d.ts
165
165
  interface BubbleMenuItemProps extends React$2.ComponentProps<'button'> {
@@ -177,7 +177,7 @@ declare function BubbleMenuItem({
177
177
  className,
178
178
  children,
179
179
  ...rest
180
- }: BubbleMenuItemProps): react_jsx_runtime5.JSX.Element;
180
+ }: BubbleMenuItemProps): react_jsx_runtime7.JSX.Element;
181
181
  //#endregion
182
182
  //#region src/ui/bubble-menu/link-default.d.ts
183
183
  type ExcludableItem = 'edit-link' | 'open-link' | 'unlink';
@@ -200,7 +200,7 @@ declare function BubbleMenuLinkDefault({
200
200
  onLinkApply,
201
201
  onLinkRemove,
202
202
  ...rest
203
- }: BubbleMenuLinkDefaultProps): react_jsx_runtime5.JSX.Element;
203
+ }: BubbleMenuLinkDefaultProps): react_jsx_runtime7.JSX.Element;
204
204
  //#endregion
205
205
  //#region src/ui/bubble-menu/link-edit-link.d.ts
206
206
  interface BubbleMenuLinkEditLinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
@@ -210,7 +210,7 @@ declare function BubbleMenuLinkEditLink({
210
210
  onClick,
211
211
  onMouseDown,
212
212
  ...rest
213
- }: BubbleMenuLinkEditLinkProps): react_jsx_runtime5.JSX.Element;
213
+ }: BubbleMenuLinkEditLinkProps): react_jsx_runtime7.JSX.Element;
214
214
  //#endregion
215
215
  //#region src/ui/bubble-menu/link-form.d.ts
216
216
  interface BubbleMenuLinkFormProps {
@@ -226,7 +226,7 @@ declare function BubbleMenuLinkForm({
226
226
  onLinkApply,
227
227
  onLinkRemove,
228
228
  children
229
- }: BubbleMenuLinkFormProps): react_jsx_runtime5.JSX.Element | null;
229
+ }: BubbleMenuLinkFormProps): react_jsx_runtime7.JSX.Element | null;
230
230
  //#endregion
231
231
  //#region src/ui/bubble-menu/link-open-link.d.ts
232
232
  interface BubbleMenuLinkOpenLinkProps extends Omit<React$2.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
@@ -234,7 +234,7 @@ declare function BubbleMenuLinkOpenLink({
234
234
  className,
235
235
  children,
236
236
  ...rest
237
- }: BubbleMenuLinkOpenLinkProps): react_jsx_runtime5.JSX.Element;
237
+ }: BubbleMenuLinkOpenLinkProps): react_jsx_runtime7.JSX.Element;
238
238
  //#endregion
239
239
  //#region src/ui/bubble-menu/link-selector.d.ts
240
240
  interface BubbleMenuLinkSelectorProps {
@@ -263,14 +263,14 @@ declare function BubbleMenuLinkSelector({
263
263
  children,
264
264
  open: controlledOpen,
265
265
  onOpenChange
266
- }: BubbleMenuLinkSelectorProps): react_jsx_runtime5.JSX.Element | null;
266
+ }: BubbleMenuLinkSelectorProps): react_jsx_runtime7.JSX.Element | null;
267
267
  //#endregion
268
268
  //#region src/ui/bubble-menu/link-toolbar.d.ts
269
269
  interface BubbleMenuLinkToolbarProps extends React$2.ComponentProps<'div'> {}
270
270
  declare function BubbleMenuLinkToolbar({
271
271
  children,
272
272
  ...rest
273
- }: BubbleMenuLinkToolbarProps): react_jsx_runtime5.JSX.Element | null;
273
+ }: BubbleMenuLinkToolbarProps): react_jsx_runtime7.JSX.Element | null;
274
274
  //#endregion
275
275
  //#region src/ui/bubble-menu/link-unlink.d.ts
276
276
  interface BubbleMenuLinkUnlinkProps extends Omit<React$2.ComponentProps<'button'>, 'type'> {}
@@ -280,7 +280,7 @@ declare function BubbleMenuLinkUnlink({
280
280
  onClick,
281
281
  onMouseDown,
282
282
  ...rest
283
- }: BubbleMenuLinkUnlinkProps): react_jsx_runtime5.JSX.Element;
283
+ }: BubbleMenuLinkUnlinkProps): react_jsx_runtime7.JSX.Element;
284
284
  //#endregion
285
285
  //#region src/ui/bubble-menu/node-selector.d.ts
286
286
  type NodeType = 'Text' | 'Title' | 'Subtitle' | 'Heading' | 'Bullet List' | 'Numbered List' | 'Quote' | 'Code';
@@ -306,7 +306,7 @@ declare function NodeSelectorRoot({
306
306
  onOpenChange,
307
307
  className,
308
308
  children
309
- }: NodeSelectorRootProps): react_jsx_runtime5.JSX.Element | null;
309
+ }: NodeSelectorRootProps): react_jsx_runtime7.JSX.Element | null;
310
310
  interface NodeSelectorTriggerProps {
311
311
  className?: string;
312
312
  children?: React$2.ReactNode;
@@ -314,7 +314,7 @@ interface NodeSelectorTriggerProps {
314
314
  declare function NodeSelectorTrigger({
315
315
  className,
316
316
  children
317
- }: NodeSelectorTriggerProps): react_jsx_runtime5.JSX.Element;
317
+ }: NodeSelectorTriggerProps): react_jsx_runtime7.JSX.Element;
318
318
  interface NodeSelectorContentProps {
319
319
  className?: string;
320
320
  /** Popover alignment (default: "start") */
@@ -327,7 +327,7 @@ declare function NodeSelectorContent({
327
327
  className,
328
328
  align,
329
329
  children
330
- }: NodeSelectorContentProps): react_jsx_runtime5.JSX.Element;
330
+ }: NodeSelectorContentProps): react_jsx_runtime7.JSX.Element;
331
331
  interface BubbleMenuNodeSelectorProps {
332
332
  /** Block types to exclude */
333
333
  omit?: string[];
@@ -345,7 +345,7 @@ declare function BubbleMenuNodeSelector({
345
345
  triggerContent,
346
346
  open,
347
347
  onOpenChange
348
- }: BubbleMenuNodeSelectorProps): react_jsx_runtime5.JSX.Element;
348
+ }: BubbleMenuNodeSelectorProps): react_jsx_runtime7.JSX.Element;
349
349
  //#endregion
350
350
  //#region src/ui/bubble-menu/triggers.d.ts
351
351
  interface TriggerParams {
@@ -384,7 +384,7 @@ declare function BubbleMenuRoot({
384
384
  className,
385
385
  children,
386
386
  ...rest
387
- }: BubbleMenuRootProps): react_jsx_runtime5.JSX.Element | null;
387
+ }: BubbleMenuRootProps): react_jsx_runtime7.JSX.Element | null;
388
388
  //#endregion
389
389
  //#region src/ui/bubble-menu/separator.d.ts
390
390
  interface BubbleMenuSeparatorProps {
@@ -392,14 +392,14 @@ interface BubbleMenuSeparatorProps {
392
392
  }
393
393
  declare function BubbleMenuSeparator({
394
394
  className
395
- }: BubbleMenuSeparatorProps): react_jsx_runtime5.JSX.Element;
395
+ }: BubbleMenuSeparatorProps): react_jsx_runtime7.JSX.Element;
396
396
  //#endregion
397
397
  //#region src/ui/bubble-menu/bold.d.ts
398
398
  declare const BubbleMenuBold: {
399
399
  ({
400
400
  className,
401
401
  children
402
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
402
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
403
403
  displayName: string;
404
404
  };
405
405
  //#endregion
@@ -408,7 +408,7 @@ declare const BubbleMenuCode: {
408
408
  ({
409
409
  className,
410
410
  children
411
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
411
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
412
412
  displayName: string;
413
413
  };
414
414
  //#endregion
@@ -425,7 +425,7 @@ declare const BubbleMenuItalic: {
425
425
  ({
426
426
  className,
427
427
  children
428
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
428
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
429
429
  displayName: string;
430
430
  };
431
431
  //#endregion
@@ -434,7 +434,7 @@ declare const BubbleMenuStrike: {
434
434
  ({
435
435
  className,
436
436
  children
437
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
437
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
438
438
  displayName: string;
439
439
  };
440
440
  //#endregion
@@ -443,7 +443,7 @@ declare const BubbleMenuUnderline: {
443
443
  ({
444
444
  className,
445
445
  children
446
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
446
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
447
447
  displayName: string;
448
448
  };
449
449
  //#endregion
@@ -452,7 +452,7 @@ declare const BubbleMenuUppercase: {
452
452
  ({
453
453
  className,
454
454
  children
455
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
455
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
456
456
  displayName: string;
457
457
  };
458
458
  //#endregion
@@ -466,42 +466,42 @@ declare const BubbleMenu: {
466
466
  ({
467
467
  className,
468
468
  children
469
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
469
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
470
470
  displayName: string;
471
471
  };
472
472
  readonly Italic: {
473
473
  ({
474
474
  className,
475
475
  children
476
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
476
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
477
477
  displayName: string;
478
478
  };
479
479
  readonly Underline: {
480
480
  ({
481
481
  className,
482
482
  children
483
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
483
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
484
484
  displayName: string;
485
485
  };
486
486
  readonly Strike: {
487
487
  ({
488
488
  className,
489
489
  children
490
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
490
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
491
491
  displayName: string;
492
492
  };
493
493
  readonly Code: {
494
494
  ({
495
495
  className,
496
496
  children
497
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
497
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
498
498
  displayName: string;
499
499
  };
500
500
  readonly Uppercase: {
501
501
  ({
502
502
  className,
503
503
  children
504
- }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
504
+ }: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
505
505
  displayName: string;
506
506
  };
507
507
  readonly AlignLeft: typeof BubbleMenuAlignLeft;
@@ -530,449 +530,449 @@ declare const BubbleMenu: {
530
530
  readonly ImageDefault: typeof BubbleMenuImageDefault;
531
531
  };
532
532
  //#endregion
533
- //#region src/ui/icons/align-center.d.ts
534
- interface IconProps$39 extends React$2.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> {
535
556
  size?: number | string;
536
557
  }
558
+ //#endregion
559
+ //#region src/ui/icons/align-center.d.ts
537
560
  declare function AlignCenterIcon({
538
561
  size,
539
562
  width,
540
563
  height,
541
564
  ...props
542
- }: IconProps$39): react_jsx_runtime5.JSX.Element;
565
+ }: IconProps): react_jsx_runtime7.JSX.Element;
543
566
  //#endregion
544
567
  //#region src/ui/icons/align-center-vertical.d.ts
545
- interface IconProps$38 extends React$2.SVGAttributes<SVGSVGElement> {
546
- size?: number | string;
547
- }
548
568
  declare function AlignCenterVerticalIcon({
549
569
  size,
550
570
  width,
551
571
  height,
552
572
  ...props
553
- }: IconProps$38): react_jsx_runtime5.JSX.Element;
573
+ }: IconProps): react_jsx_runtime7.JSX.Element;
554
574
  //#endregion
555
575
  //#region src/ui/icons/align-end-vertical.d.ts
556
- interface IconProps$37 extends React$2.SVGAttributes<SVGSVGElement> {
557
- size?: number | string;
558
- }
559
576
  declare function AlignEndVerticalIcon({
560
577
  size,
561
578
  width,
562
579
  height,
563
580
  ...props
564
- }: IconProps$37): react_jsx_runtime5.JSX.Element;
581
+ }: IconProps): react_jsx_runtime7.JSX.Element;
565
582
  //#endregion
566
583
  //#region src/ui/icons/align-left.d.ts
567
- interface IconProps$36 extends React$2.SVGAttributes<SVGSVGElement> {
568
- size?: number | string;
569
- }
570
584
  declare function AlignLeftIcon({
571
585
  size,
572
586
  width,
573
587
  height,
574
588
  ...props
575
- }: IconProps$36): react_jsx_runtime5.JSX.Element;
589
+ }: IconProps): react_jsx_runtime7.JSX.Element;
576
590
  //#endregion
577
591
  //#region src/ui/icons/align-right.d.ts
578
- interface IconProps$35 extends React$2.SVGAttributes<SVGSVGElement> {
579
- size?: number | string;
580
- }
581
592
  declare function AlignRightIcon({
582
593
  size,
583
594
  width,
584
595
  height,
585
596
  ...props
586
- }: IconProps$35): react_jsx_runtime5.JSX.Element;
597
+ }: IconProps): react_jsx_runtime7.JSX.Element;
587
598
  //#endregion
588
599
  //#region src/ui/icons/align-start-vertical.d.ts
589
- interface IconProps$34 extends React$2.SVGAttributes<SVGSVGElement> {
590
- size?: number | string;
591
- }
592
600
  declare function AlignStartVerticalIcon({
593
601
  size,
594
602
  width,
595
603
  height,
596
604
  ...props
597
- }: IconProps$34): react_jsx_runtime5.JSX.Element;
605
+ }: IconProps): react_jsx_runtime7.JSX.Element;
598
606
  //#endregion
599
607
  //#region src/ui/icons/bold.d.ts
600
- interface IconProps$33 extends React$2.SVGAttributes<SVGSVGElement> {
601
- size?: number | string;
602
- }
603
608
  declare function BoldIcon({
604
609
  size,
605
610
  width,
606
611
  height,
607
612
  ...props
608
- }: IconProps$33): react_jsx_runtime5.JSX.Element;
613
+ }: IconProps): react_jsx_runtime7.JSX.Element;
609
614
  //#endregion
610
615
  //#region src/ui/icons/box.d.ts
611
- interface IconProps$32 extends React$2.SVGAttributes<SVGSVGElement> {
612
- size?: number | string;
613
- }
614
616
  declare function BoxIcon({
615
617
  size,
616
618
  width,
617
619
  height,
618
620
  ...props
619
- }: IconProps$32): react_jsx_runtime5.JSX.Element;
621
+ }: IconProps): react_jsx_runtime7.JSX.Element;
620
622
  //#endregion
621
623
  //#region src/ui/icons/case-upper.d.ts
622
- interface IconProps$31 extends React$2.SVGAttributes<SVGSVGElement> {
623
- size?: number | string;
624
- }
625
624
  declare function CaseUpperIcon({
626
625
  size,
627
626
  width,
628
627
  height,
629
628
  ...props
630
- }: IconProps$31): react_jsx_runtime5.JSX.Element;
629
+ }: IconProps): react_jsx_runtime7.JSX.Element;
631
630
  //#endregion
632
631
  //#region src/ui/icons/check.d.ts
633
- interface IconProps$30 extends React$2.SVGAttributes<SVGSVGElement> {
634
- size?: number | string;
635
- }
636
- declare function Check({
632
+ declare function CheckIcon({
637
633
  size,
638
634
  width,
639
635
  height,
640
636
  ...props
641
- }: IconProps$30): react_jsx_runtime5.JSX.Element;
637
+ }: IconProps): react_jsx_runtime7.JSX.Element;
642
638
  //#endregion
643
639
  //#region src/ui/icons/chevron-down.d.ts
644
- interface IconProps$29 extends React$2.SVGAttributes<SVGSVGElement> {
645
- size?: number | string;
646
- }
647
- declare function ChevronDown({
640
+ declare function ChevronDownIcon({
648
641
  size,
649
642
  width,
650
643
  height,
651
644
  ...props
652
- }: IconProps$29): react_jsx_runtime5.JSX.Element;
645
+ }: IconProps): react_jsx_runtime7.JSX.Element;
653
646
  //#endregion
654
647
  //#region src/ui/icons/code.d.ts
655
- interface IconProps$28 extends React$2.SVGAttributes<SVGSVGElement> {
656
- size?: number | string;
657
- }
658
648
  declare function CodeIcon({
659
649
  size,
660
650
  width,
661
651
  height,
662
652
  ...props
663
- }: IconProps$28): react_jsx_runtime5.JSX.Element;
664
- declare const Code: typeof CodeIcon;
653
+ }: IconProps): react_jsx_runtime7.JSX.Element;
665
654
  //#endregion
666
655
  //#region src/ui/icons/columns-2.d.ts
667
- interface IconProps$27 extends React$2.SVGAttributes<SVGSVGElement> {
668
- size?: number | string;
669
- }
670
- declare function Columns2({
656
+ declare function Columns2Icon({
671
657
  size,
672
658
  width,
673
659
  height,
674
660
  ...props
675
- }: IconProps$27): react_jsx_runtime5.JSX.Element;
661
+ }: IconProps): react_jsx_runtime7.JSX.Element;
676
662
  //#endregion
677
663
  //#region src/ui/icons/columns-3.d.ts
678
- interface IconProps$26 extends React$2.SVGAttributes<SVGSVGElement> {
679
- size?: number | string;
680
- }
681
- declare function Columns3({
664
+ declare function Columns3Icon({
682
665
  size,
683
666
  width,
684
667
  height,
685
668
  ...props
686
- }: IconProps$26): react_jsx_runtime5.JSX.Element;
669
+ }: IconProps): react_jsx_runtime7.JSX.Element;
687
670
  //#endregion
688
671
  //#region src/ui/icons/columns-4.d.ts
689
- interface IconProps$25 extends React$2.SVGAttributes<SVGSVGElement> {
690
- size?: number | string;
691
- }
692
- declare function Columns4({
672
+ declare function Columns4Icon({
693
673
  size,
694
674
  width,
695
675
  height,
696
676
  ...props
697
- }: IconProps$25): react_jsx_runtime5.JSX.Element;
677
+ }: IconProps): react_jsx_runtime7.JSX.Element;
678
+ //#endregion
679
+ //#region src/ui/icons/corner-bottom-left.d.ts
680
+ declare function CornerBottomLeftIcon({
681
+ size,
682
+ width,
683
+ height,
684
+ ...props
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;
698
710
  //#endregion
699
711
  //#region src/ui/icons/external-link.d.ts
700
- interface IconProps$24 extends React$2.SVGAttributes<SVGSVGElement> {
701
- size?: number | string;
702
- }
703
712
  declare function ExternalLinkIcon({
704
713
  size,
705
714
  width,
706
715
  height,
707
716
  ...props
708
- }: IconProps$24): react_jsx_runtime5.JSX.Element;
717
+ }: IconProps): react_jsx_runtime7.JSX.Element;
709
718
  //#endregion
710
719
  //#region src/ui/icons/heading-1.d.ts
711
- interface IconProps$23 extends React$2.SVGAttributes<SVGSVGElement> {
712
- size?: number | string;
713
- }
714
- declare function Heading1({
720
+ declare function Heading1Icon({
715
721
  size,
716
722
  width,
717
723
  height,
718
724
  ...props
719
- }: IconProps$23): react_jsx_runtime5.JSX.Element;
725
+ }: IconProps): react_jsx_runtime7.JSX.Element;
720
726
  //#endregion
721
727
  //#region src/ui/icons/heading-2.d.ts
722
- interface IconProps$22 extends React$2.SVGAttributes<SVGSVGElement> {
723
- size?: number | string;
724
- }
725
- declare function Heading2({
728
+ declare function Heading2Icon({
726
729
  size,
727
730
  width,
728
731
  height,
729
732
  ...props
730
- }: IconProps$22): react_jsx_runtime5.JSX.Element;
733
+ }: IconProps): react_jsx_runtime7.JSX.Element;
731
734
  //#endregion
732
735
  //#region src/ui/icons/heading-3.d.ts
733
- interface IconProps$21 extends React$2.SVGAttributes<SVGSVGElement> {
734
- size?: number | string;
735
- }
736
- declare function Heading3({
736
+ declare function Heading3Icon({
737
737
  size,
738
738
  width,
739
739
  height,
740
740
  ...props
741
- }: IconProps$21): react_jsx_runtime5.JSX.Element;
741
+ }: IconProps): react_jsx_runtime7.JSX.Element;
742
742
  //#endregion
743
743
  //#region src/ui/icons/image.d.ts
744
- interface IconProps$20 extends React$2.SVGAttributes<SVGSVGElement> {
745
- size?: number | string;
746
- }
747
744
  declare function ImageIcon({
748
745
  size,
749
746
  width,
750
747
  height,
751
748
  ...props
752
- }: IconProps$20): react_jsx_runtime5.JSX.Element;
749
+ }: IconProps): react_jsx_runtime7.JSX.Element;
753
750
  //#endregion
754
751
  //#region src/ui/icons/italic.d.ts
755
- interface IconProps$19 extends React$2.SVGAttributes<SVGSVGElement> {
756
- size?: number | string;
757
- }
758
752
  declare function ItalicIcon({
759
753
  size,
760
754
  width,
761
755
  height,
762
756
  ...props
763
- }: IconProps$19): react_jsx_runtime5.JSX.Element;
757
+ }: IconProps): react_jsx_runtime7.JSX.Element;
764
758
  //#endregion
765
759
  //#region src/ui/icons/layout.d.ts
766
- interface IconProps$18 extends React$2.SVGAttributes<SVGSVGElement> {
767
- size?: number | string;
768
- }
769
760
  declare function LayoutIcon({
770
761
  size,
771
762
  width,
772
763
  height,
773
764
  ...props
774
- }: IconProps$18): react_jsx_runtime5.JSX.Element;
765
+ }: IconProps): react_jsx_runtime7.JSX.Element;
775
766
  //#endregion
776
767
  //#region src/ui/icons/link.d.ts
777
- interface IconProps$17 extends React$2.SVGAttributes<SVGSVGElement> {
778
- size?: number | string;
779
- }
780
768
  declare function LinkIcon({
781
769
  size,
782
770
  width,
783
771
  height,
784
772
  ...props
785
- }: IconProps$17): react_jsx_runtime5.JSX.Element;
773
+ }: IconProps): react_jsx_runtime7.JSX.Element;
786
774
  //#endregion
787
775
  //#region src/ui/icons/list.d.ts
788
- interface IconProps$16 extends React$2.SVGAttributes<SVGSVGElement> {
789
- size?: number | string;
790
- }
791
- declare function List({
776
+ declare function ListIcon({
792
777
  size,
793
778
  width,
794
779
  height,
795
780
  ...props
796
- }: IconProps$16): react_jsx_runtime5.JSX.Element;
781
+ }: IconProps): react_jsx_runtime7.JSX.Element;
797
782
  //#endregion
798
783
  //#region src/ui/icons/list-ordered.d.ts
799
- interface IconProps$15 extends React$2.SVGAttributes<SVGSVGElement> {
800
- size?: number | string;
801
- }
802
- declare function ListOrdered({
784
+ declare function ListOrderedIcon({
803
785
  size,
804
786
  width,
805
787
  height,
806
788
  ...props
807
- }: IconProps$15): react_jsx_runtime5.JSX.Element;
789
+ }: IconProps): react_jsx_runtime7.JSX.Element;
808
790
  //#endregion
809
791
  //#region src/ui/icons/minus.d.ts
810
- interface IconProps$14 extends React$2.SVGAttributes<SVGSVGElement> {
811
- size?: number | string;
812
- }
813
792
  declare function MinusIcon({
814
793
  size,
815
794
  width,
816
795
  height,
817
796
  ...props
818
- }: IconProps$14): react_jsx_runtime5.JSX.Element;
797
+ }: IconProps): react_jsx_runtime7.JSX.Element;
819
798
  //#endregion
820
799
  //#region src/ui/icons/mouse-pointer.d.ts
821
- interface IconProps$13 extends React$2.SVGAttributes<SVGSVGElement> {
822
- size?: number | string;
823
- }
824
- declare function MousePointer({
800
+ declare function MousePointerIcon({
825
801
  size,
826
802
  width,
827
803
  height,
828
804
  ...props
829
- }: IconProps$13): react_jsx_runtime5.JSX.Element;
805
+ }: IconProps): react_jsx_runtime7.JSX.Element;
830
806
  //#endregion
831
807
  //#region src/ui/icons/mouse-pointer-click.d.ts
832
- interface IconProps$12 extends React$2.SVGAttributes<SVGSVGElement> {
833
- size?: number | string;
834
- }
835
808
  declare function MousePointerClickIcon({
836
809
  size,
837
810
  width,
838
811
  height,
839
812
  ...props
840
- }: IconProps$12): react_jsx_runtime5.JSX.Element;
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;
841
846
  //#endregion
842
847
  //#region src/ui/icons/pencil.d.ts
843
- interface IconProps$11 extends React$2.SVGAttributes<SVGSVGElement> {
844
- size?: number | string;
845
- }
846
848
  declare function PencilIcon({
847
849
  size,
848
850
  width,
849
851
  height,
850
852
  ...props
851
- }: IconProps$11): react_jsx_runtime5.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;
852
862
  //#endregion
853
863
  //#region src/ui/icons/rows-2.d.ts
854
- interface IconProps$10 extends React$2.SVGAttributes<SVGSVGElement> {
855
- size?: number | string;
856
- }
857
- declare function Rows2({
864
+ declare function Rows2Icon({
858
865
  size,
859
866
  width,
860
867
  height,
861
868
  ...props
862
- }: IconProps$10): react_jsx_runtime5.JSX.Element;
869
+ }: IconProps): react_jsx_runtime7.JSX.Element;
863
870
  //#endregion
864
871
  //#region src/ui/icons/split-square-vertical.d.ts
865
- interface IconProps$9 extends React$2.SVGAttributes<SVGSVGElement> {
866
- size?: number | string;
867
- }
868
- declare function SplitSquareVertical({
872
+ declare function SplitSquareVerticalIcon({
869
873
  size,
870
874
  width,
871
875
  height,
872
876
  ...props
873
- }: IconProps$9): react_jsx_runtime5.JSX.Element;
877
+ }: IconProps): react_jsx_runtime7.JSX.Element;
878
+ //#endregion
879
+ //#region src/ui/icons/square.d.ts
880
+ declare function SquareIcon({
881
+ size,
882
+ width,
883
+ height,
884
+ ...props
885
+ }: IconProps): react_jsx_runtime7.JSX.Element;
874
886
  //#endregion
875
887
  //#region src/ui/icons/square-code.d.ts
876
- interface IconProps$8 extends React$2.SVGAttributes<SVGSVGElement> {
877
- size?: number | string;
878
- }
879
- declare function SquareCode({
888
+ declare function SquareCodeIcon({
880
889
  size,
881
890
  width,
882
891
  height,
883
892
  ...props
884
- }: IconProps$8): react_jsx_runtime5.JSX.Element;
893
+ }: IconProps): react_jsx_runtime7.JSX.Element;
894
+ //#endregion
895
+ //#region src/ui/icons/square-dashed.d.ts
896
+ declare function SquareDashedIcon({
897
+ size,
898
+ width,
899
+ height,
900
+ ...props
901
+ }: IconProps): react_jsx_runtime7.JSX.Element;
885
902
  //#endregion
886
903
  //#region src/ui/icons/square-round-corner.d.ts
887
- interface IconProps$7 extends React$2.SVGAttributes<SVGSVGElement> {
888
- size?: number | string;
889
- }
890
904
  declare function SquareRoundCornerIcon({
891
905
  size,
892
906
  width,
893
907
  height,
894
908
  ...props
895
- }: IconProps$7): react_jsx_runtime5.JSX.Element;
909
+ }: IconProps): react_jsx_runtime7.JSX.Element;
896
910
  //#endregion
897
911
  //#region src/ui/icons/strikethrough.d.ts
898
- interface IconProps$6 extends React$2.SVGAttributes<SVGSVGElement> {
899
- size?: number | string;
900
- }
901
912
  declare function StrikethroughIcon({
902
913
  size,
903
914
  width,
904
915
  height,
905
916
  ...props
906
- }: IconProps$6): react_jsx_runtime5.JSX.Element;
917
+ }: IconProps): react_jsx_runtime7.JSX.Element;
907
918
  //#endregion
908
919
  //#region src/ui/icons/table.d.ts
909
- interface IconProps$5 extends React$2.SVGAttributes<SVGSVGElement> {
910
- size?: number | string;
911
- }
912
920
  declare function TableIcon({
913
921
  size,
914
922
  width,
915
923
  height,
916
924
  ...props
917
- }: IconProps$5): react_jsx_runtime5.JSX.Element;
925
+ }: IconProps): react_jsx_runtime7.JSX.Element;
918
926
  //#endregion
919
927
  //#region src/ui/icons/text.d.ts
920
- interface IconProps$4 extends React$2.SVGAttributes<SVGSVGElement> {
921
- size?: number | string;
922
- }
923
928
  declare function TextIcon({
924
929
  size,
925
930
  width,
926
931
  height,
927
932
  ...props
928
- }: IconProps$4): react_jsx_runtime5.JSX.Element;
929
- declare const Text: typeof TextIcon;
933
+ }: IconProps): react_jsx_runtime7.JSX.Element;
930
934
  //#endregion
931
935
  //#region src/ui/icons/text-quote.d.ts
932
- interface IconProps$3 extends React$2.SVGAttributes<SVGSVGElement> {
933
- size?: number | string;
934
- }
935
- declare function TextQuote({
936
+ declare function TextQuoteIcon({
936
937
  size,
937
938
  width,
938
939
  height,
939
940
  ...props
940
- }: IconProps$3): react_jsx_runtime5.JSX.Element;
941
+ }: IconProps): react_jsx_runtime7.JSX.Element;
941
942
  //#endregion
942
943
  //#region src/ui/icons/type.d.ts
943
- interface IconProps$2 extends React$2.SVGAttributes<SVGSVGElement> {
944
- size?: number | string;
945
- }
946
944
  declare function TypeIcon({
947
945
  size,
948
946
  width,
949
947
  height,
950
948
  ...props
951
- }: IconProps$2): react_jsx_runtime5.JSX.Element;
949
+ }: IconProps): react_jsx_runtime7.JSX.Element;
952
950
  //#endregion
953
951
  //#region src/ui/icons/underline.d.ts
954
- interface IconProps$1 extends React$2.SVGAttributes<SVGSVGElement> {
955
- size?: number | string;
956
- }
957
952
  declare function UnderlineIcon({
958
953
  size,
959
954
  width,
960
955
  height,
961
956
  ...props
962
- }: IconProps$1): react_jsx_runtime5.JSX.Element;
957
+ }: IconProps): react_jsx_runtime7.JSX.Element;
963
958
  //#endregion
964
959
  //#region src/ui/icons/unlink.d.ts
965
- interface IconProps extends React$2.SVGAttributes<SVGSVGElement> {
966
- size?: number | string;
967
- }
968
960
  declare function UnlinkIcon({
969
961
  size,
970
962
  width,
971
963
  height,
972
964
  ...props
973
- }: IconProps): react_jsx_runtime5.JSX.Element;
965
+ }: IconProps): react_jsx_runtime7.JSX.Element;
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
974
  //#endregion
975
- //#region src/ui/inspector/provider.d.ts
975
+ //#region src/ui/inspector/root.d.ts
976
976
  interface FocusedNode {
977
977
  nodeType: string;
978
978
  nodeAttrs: Attrs;
@@ -981,12 +981,9 @@ interface FocusedNode {
981
981
  inside: number;
982
982
  };
983
983
  }
984
- interface RootProps {
985
- children: React$2.ReactNode;
984
+ interface RootProps extends React$2.ComponentPropsWithRef<'aside'> {
985
+ asChild?: boolean;
986
986
  }
987
- declare function InspectorProvider({
988
- children
989
- }: RootProps): react_jsx_runtime5.JSX.Element;
990
987
  //#endregion
991
988
  //#region src/ui/inspector/breadcrumb.d.ts
992
989
  interface InspectorBreadcrumbSegment {
@@ -994,11 +991,11 @@ interface InspectorBreadcrumbSegment {
994
991
  focus: () => void;
995
992
  }
996
993
  interface InspectorBreadcrumbProps {
997
- children: (segments: InspectorBreadcrumbSegment[]) => React$1.ReactNode;
994
+ children?: (segments: InspectorBreadcrumbSegment[]) => React$1.ReactNode;
998
995
  }
999
996
  declare function InspectorBreadcrumb({
1000
997
  children
1001
- }: InspectorBreadcrumbProps): React$1.ReactNode;
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;
1002
999
  //#endregion
1003
1000
  //#region src/ui/inspector/document.d.ts
1004
1001
  type SetGlobalStyle = (classReference: KnownThemeComponents, property: KnownCssProperties, value: unknown) => void;
@@ -1015,17 +1012,153 @@ interface InspectorDocumentContext {
1015
1012
  findStyleValue: FindStyleValue;
1016
1013
  }
1017
1014
  interface InspectorDocumentProps {
1018
- children: (context: InspectorDocumentContext) => React.ReactNode;
1015
+ children?: (context: InspectorDocumentContext) => React.ReactNode;
1019
1016
  }
1020
1017
  declare function InspectorDocument({
1021
1018
  children
1022
- }: InspectorDocumentProps): react_jsx_runtime5.JSX.Element | null | undefined;
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;
1023
1147
  //#endregion
1024
1148
  //#region src/ui/inspector/index.d.ts
1025
1149
  declare const Inspector: {
1026
- Provider: typeof InspectorProvider;
1150
+ Root: React$2.ForwardRefExoticComponent<Omit<RootProps, "ref"> & React$2.RefAttributes<HTMLElement>>;
1027
1151
  Breadcrumb: typeof InspectorBreadcrumb;
1028
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;
1029
1162
  };
1030
1163
  //#endregion
1031
1164
  //#region src/ui/slash-command/types.d.ts
@@ -1072,7 +1205,7 @@ declare function CommandList({
1072
1205
  query,
1073
1206
  selectedIndex,
1074
1207
  onSelect
1075
- }: CommandListProps): react_jsx_runtime5.JSX.Element;
1208
+ }: CommandListProps): react_jsx_runtime7.JSX.Element;
1076
1209
  //#endregion
1077
1210
  //#region src/ui/slash-command/root.d.ts
1078
1211
  declare function SlashCommandRoot({
@@ -1114,5 +1247,5 @@ declare const SlashCommand: {
1114
1247
  readonly CommandList: typeof CommandList;
1115
1248
  };
1116
1249
  //#endregion
1117
- 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, Check, ChevronDown, Code, CodeIcon, Columns2, Columns3, Columns4, CommandList, type CommandListProps, DIVIDER, ExternalLinkIcon, FOUR_COLUMNS, H1, H2, H3, Heading1, Heading1 as Heading1Icon, Heading2, Heading3, ImageIcon, Inspector, type InspectorDocumentProps, ItalicIcon, LayoutIcon, LinkIcon, List, List as ListIcon, ListOrdered, ListOrdered as ListOrderedIcon, MinusIcon, MousePointer, MousePointerClickIcon, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, PencilIcon, type PreWiredItemProps, QUOTE, TextQuote as QuoteIcon, TextQuote, Rows2, SECTION, type SearchableItem, SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, SplitSquareVertical, SquareCode, SquareRoundCornerIcon, StrikethroughIcon, TEXT, THREE_COLUMNS, TWO_COLUMNS, TableIcon, Text, TextIcon, type TriggerFn, type TriggerParams, TypeIcon, 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 };
1118
1251
  //# sourceMappingURL=index.d.cts.map