@reacteditor/core 0.0.6 → 0.0.8

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 (40) hide show
  1. package/dist/{Editor-YNFB7B6Z.mjs → Editor-KXEVJBNG.mjs} +9 -9
  2. package/dist/{actions-CQmL3wwa.d.mts → actions-2L-1hQ7r.d.mts} +7 -2
  3. package/dist/{actions-CQmL3wwa.d.ts → actions-2L-1hQ7r.d.ts} +7 -2
  4. package/dist/{chunk-6LG4Q4HO.mjs → chunk-AD7BMXAA.mjs} +1 -1
  5. package/dist/{chunk-DB4R5IWG.mjs → chunk-AJWRDM22.mjs} +3 -3
  6. package/dist/{chunk-WGPCLAZR.mjs → chunk-FT6UFK7G.mjs} +1 -1
  7. package/dist/{chunk-VOLQMQPK.mjs → chunk-IIRJMJFU.mjs} +1 -1
  8. package/dist/{chunk-CRF2GWQA.mjs → chunk-LRFRIIKG.mjs} +6 -4
  9. package/dist/{chunk-UB2DES2O.mjs → chunk-M4JDRFYB.mjs} +8 -6
  10. package/dist/{chunk-Z6IIVDFY.mjs → chunk-OIFPBVSF.mjs} +1 -1
  11. package/dist/{chunk-HCFEY5Y7.mjs → chunk-R5DQGUQS.mjs} +949 -610
  12. package/dist/{chunk-275EJPEB.mjs → chunk-TI3KC54Y.mjs} +18 -18
  13. package/dist/{chunk-BRDUM7MJ.mjs → chunk-U7VW3V3W.mjs} +7 -7
  14. package/dist/{full-24FOTNTB.mjs → full-ZFZZ626B.mjs} +8 -8
  15. package/dist/{index-BOP2qNVA.d.mts → index-BNsSzMCj.d.ts} +2 -1
  16. package/dist/{index-_G46lHpL.d.ts → index-BXuSeNez.d.mts} +2 -1
  17. package/dist/index.css +99 -26
  18. package/dist/index.d.mts +36 -8
  19. package/dist/index.d.ts +36 -8
  20. package/dist/index.js +1448 -1097
  21. package/dist/index.mjs +14 -14
  22. package/dist/internal.d.mts +2 -2
  23. package/dist/internal.d.ts +2 -2
  24. package/dist/internal.js +7 -5
  25. package/dist/internal.mjs +2 -2
  26. package/dist/{loaded-BQVZGQG2.mjs → loaded-GLBLMTBL.mjs} +5 -5
  27. package/dist/{loaded-6IBSSOXD.mjs → loaded-O4QHGE26.mjs} +5 -5
  28. package/dist/{loaded-6NPDD7SF.mjs → loaded-R34BR6I5.mjs} +5 -5
  29. package/dist/no-external.css +99 -26
  30. package/dist/no-external.d.mts +4 -4
  31. package/dist/no-external.d.ts +4 -4
  32. package/dist/no-external.js +1448 -1097
  33. package/dist/no-external.mjs +14 -14
  34. package/dist/rsc.d.mts +2 -2
  35. package/dist/rsc.d.ts +2 -2
  36. package/dist/rsc.mjs +3 -3
  37. package/dist/{walk-tree-Dwv3c_9M.d.mts → walk-tree-4C3ODO3X.d.mts} +1 -1
  38. package/dist/{walk-tree-DxSkPLnl.d.ts → walk-tree-C9GrSWsR.d.ts} +1 -1
  39. package/package.json +1 -1
  40. package/dist/{chunk-GAUBBDIR.mjs → chunk-JIXMPJZA.mjs} +37 -37
package/dist/index.mjs CHANGED
@@ -3,7 +3,6 @@ import {
3
3
  Button,
4
4
  ComponentList,
5
5
  Drawer,
6
- DropZone,
7
6
  Editor,
8
7
  FieldLabel,
9
8
  Render,
@@ -18,14 +17,15 @@ import {
18
17
  renderContext,
19
18
  setDeep,
20
19
  useEditor,
21
- useGetEditor
22
- } from "./chunk-HCFEY5Y7.mjs";
23
- import "./chunk-DB4R5IWG.mjs";
20
+ useGetEditor,
21
+ usePropsContext
22
+ } from "./chunk-R5DQGUQS.mjs";
23
+ import "./chunk-AJWRDM22.mjs";
24
24
  import {
25
25
  migrate,
26
26
  resolveAllData,
27
27
  transformProps
28
- } from "./chunk-275EJPEB.mjs";
28
+ } from "./chunk-TI3KC54Y.mjs";
29
29
  import "./chunk-6QJ2HF4O.mjs";
30
30
  import {
31
31
  Action,
@@ -35,17 +35,17 @@ import {
35
35
  Label,
36
36
  RichTextMenu,
37
37
  Separator
38
- } from "./chunk-BRDUM7MJ.mjs";
39
- import "./chunk-Z6IIVDFY.mjs";
40
- import "./chunk-6LG4Q4HO.mjs";
41
- import "./chunk-WGPCLAZR.mjs";
42
- import "./chunk-CRF2GWQA.mjs";
43
- import "./chunk-UB2DES2O.mjs";
44
- import "./chunk-VOLQMQPK.mjs";
38
+ } from "./chunk-U7VW3V3W.mjs";
39
+ import "./chunk-OIFPBVSF.mjs";
40
+ import "./chunk-AD7BMXAA.mjs";
41
+ import "./chunk-FT6UFK7G.mjs";
42
+ import "./chunk-LRFRIIKG.mjs";
43
+ import "./chunk-M4JDRFYB.mjs";
44
+ import "./chunk-IIRJMJFU.mjs";
45
45
  import "./chunk-Y2EFNT5P.mjs";
46
46
  import {
47
47
  walkTree
48
- } from "./chunk-GAUBBDIR.mjs";
48
+ } from "./chunk-JIXMPJZA.mjs";
49
49
  import {
50
50
  init_react_import
51
51
  } from "./chunk-M6W7YEVX.mjs";
@@ -59,7 +59,6 @@ export {
59
59
  Button,
60
60
  ComponentList,
61
61
  Drawer,
62
- DropZone,
63
62
  Editor,
64
63
  FieldLabel,
65
64
  Group,
@@ -83,5 +82,6 @@ export {
83
82
  transformProps,
84
83
  useEditor,
85
84
  useGetEditor,
85
+ usePropsContext,
86
86
  walkTree
87
87
  };
@@ -1,6 +1,6 @@
1
1
  import { Reducer } from 'react';
2
- import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-CQmL3wwa.mjs';
3
- import { A as AppStore } from './index-BOP2qNVA.mjs';
2
+ import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-2L-1hQ7r.mjs';
3
+ import { A as AppStore } from './index-BXuSeNez.mjs';
4
4
  import '@tiptap/react';
5
5
  import '@tiptap/extension-blockquote';
6
6
  import '@tiptap/extension-bold';
@@ -1,6 +1,6 @@
1
1
  import { Reducer } from 'react';
2
- import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-CQmL3wwa.js';
3
- import { A as AppStore } from './index-_G46lHpL.js';
2
+ import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-2L-1hQ7r.js';
3
+ import { A as AppStore } from './index-BNsSzMCj.js';
4
4
  import '@tiptap/react';
5
5
  import '@tiptap/extension-blockquote';
6
6
  import '@tiptap/extension-bold';
package/dist/internal.js CHANGED
@@ -496,12 +496,14 @@ function insertAction(state, action, appStore) {
496
496
  const componentConfig = appStore.config.components[action.componentType];
497
497
  const isGlobalType = (componentConfig == null ? void 0 : componentConfig.global) === true;
498
498
  const defaultProps = (componentConfig == null ? void 0 : componentConfig.defaultProps) || {};
499
+ const sourceData = action.data ? __spreadProps(__spreadValues({}, action.data), { props: __spreadProps(__spreadValues({}, action.data.props), { id }) }) : __spreadValues({
500
+ type: action.componentType,
501
+ props: __spreadProps(__spreadValues({}, defaultProps), { id })
502
+ }, isGlobalType ? { synced: true } : {});
499
503
  const emptyComponentData = populateIds(
500
- __spreadValues({
501
- type: action.componentType,
502
- props: __spreadProps(__spreadValues({}, defaultProps), { id })
503
- }, isGlobalType ? { synced: true } : {}),
504
- appStore.config
504
+ sourceData,
505
+ appStore.config,
506
+ !!action.data
505
507
  );
506
508
  const [parentId] = action.destinationZone.split(":");
507
509
  const idsInPath = getIdsForParent(action.destinationZone, state);
package/dist/internal.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createReducer
3
- } from "./chunk-UB2DES2O.mjs";
4
- import "./chunk-GAUBBDIR.mjs";
3
+ } from "./chunk-M4JDRFYB.mjs";
4
+ import "./chunk-JIXMPJZA.mjs";
5
5
  import {
6
6
  init_react_import
7
7
  } from "./chunk-M6W7YEVX.mjs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useAlignOptions
3
- } from "./chunk-Z6IIVDFY.mjs";
3
+ } from "./chunk-OIFPBVSF.mjs";
4
4
  import {
5
5
  AlignLeft,
6
6
  SelectControl,
7
7
  useControlContext
8
- } from "./chunk-CRF2GWQA.mjs";
9
- import "./chunk-UB2DES2O.mjs";
10
- import "./chunk-VOLQMQPK.mjs";
8
+ } from "./chunk-LRFRIIKG.mjs";
9
+ import "./chunk-M4JDRFYB.mjs";
10
+ import "./chunk-IIRJMJFU.mjs";
11
11
  import "./chunk-Y2EFNT5P.mjs";
12
- import "./chunk-GAUBBDIR.mjs";
12
+ import "./chunk-JIXMPJZA.mjs";
13
13
  import {
14
14
  init_react_import
15
15
  } from "./chunk-M6W7YEVX.mjs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useListOptions
3
- } from "./chunk-WGPCLAZR.mjs";
3
+ } from "./chunk-FT6UFK7G.mjs";
4
4
  import {
5
5
  List,
6
6
  SelectControl,
7
7
  useControlContext
8
- } from "./chunk-CRF2GWQA.mjs";
9
- import "./chunk-UB2DES2O.mjs";
10
- import "./chunk-VOLQMQPK.mjs";
8
+ } from "./chunk-LRFRIIKG.mjs";
9
+ import "./chunk-M4JDRFYB.mjs";
10
+ import "./chunk-IIRJMJFU.mjs";
11
11
  import "./chunk-Y2EFNT5P.mjs";
12
- import "./chunk-GAUBBDIR.mjs";
12
+ import "./chunk-JIXMPJZA.mjs";
13
13
  import {
14
14
  init_react_import
15
15
  } from "./chunk-M6W7YEVX.mjs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useHeadingOptions
3
- } from "./chunk-6LG4Q4HO.mjs";
3
+ } from "./chunk-AD7BMXAA.mjs";
4
4
  import {
5
5
  Heading,
6
6
  SelectControl,
7
7
  useControlContext
8
- } from "./chunk-CRF2GWQA.mjs";
9
- import "./chunk-UB2DES2O.mjs";
10
- import "./chunk-VOLQMQPK.mjs";
8
+ } from "./chunk-LRFRIIKG.mjs";
9
+ import "./chunk-M4JDRFYB.mjs";
10
+ import "./chunk-IIRJMJFU.mjs";
11
11
  import "./chunk-Y2EFNT5P.mjs";
12
- import "./chunk-GAUBBDIR.mjs";
12
+ import "./chunk-JIXMPJZA.mjs";
13
13
  import {
14
14
  init_react_import
15
15
  } from "./chunk-M6W7YEVX.mjs";
@@ -361,10 +361,10 @@ html:not(:has(.Editor)) {
361
361
  }
362
362
 
363
363
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/AutoField/styles.module.css/#css-module-data */
364
- ._InputWrapper_1hd99_1 + ._InputWrapper_1hd99_1 {
364
+ ._InputWrapper_zwh6e_1 + ._InputWrapper_zwh6e_1 {
365
365
  margin-top: 12px;
366
366
  }
367
- ._Input-label_1hd99_5 {
367
+ ._Input-label_zwh6e_5 {
368
368
  align-items: center;
369
369
  color: var(--editor-text-secondary);
370
370
  display: flex;
@@ -373,17 +373,17 @@ html:not(:has(.Editor)) {
373
373
  font-weight: 500;
374
374
  letter-spacing: 0.005em;
375
375
  }
376
- ._Input-labelIcon_1hd99_15 {
376
+ ._Input-labelIcon_zwh6e_15 {
377
377
  color: var(--editor-text-tertiary);
378
378
  display: flex;
379
379
  margin-inline-end: 4px;
380
380
  padding-inline-start: 4px;
381
381
  }
382
- ._Input-disabledIcon_1hd99_22 {
382
+ ._Input-disabledIcon_zwh6e_22 {
383
383
  color: var(--editor-text-tertiary);
384
384
  margin-inline-start: auto;
385
385
  }
386
- ._Input-input_1hd99_27 {
386
+ ._Input-input_zwh6e_27 {
387
387
  background: var(--editor-surface-panel);
388
388
  border-width: 1px;
389
389
  border-style: solid;
@@ -393,7 +393,7 @@ html:not(:has(.Editor)) {
393
393
  color: var(--editor-text-primary);
394
394
  font-family: inherit;
395
395
  font-size: 16px;
396
- padding: 10px 12px;
396
+ padding: 11px 12px;
397
397
  transition:
398
398
  border-color var(--editor-motion-fast) var(--editor-ease),
399
399
  box-shadow var(--editor-motion-fast) var(--editor-ease),
@@ -402,11 +402,11 @@ html:not(:has(.Editor)) {
402
402
  max-width: 100%;
403
403
  }
404
404
  @media (min-width: 458px) {
405
- ._Input-input_1hd99_27 {
405
+ ._Input-input_zwh6e_27 {
406
406
  font-size: 13px;
407
407
  }
408
408
  }
409
- select._Input-input_1hd99_27 {
409
+ select._Input-input_zwh6e_27 {
410
410
  appearance: none;
411
411
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23878a93'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
412
412
  background-size: 10px;
@@ -415,30 +415,30 @@ select._Input-input_1hd99_27 {
415
415
  background-color: var(--editor-surface-panel);
416
416
  cursor: pointer;
417
417
  }
418
- select._Input-input_1hd99_27:dir(rtl) {
418
+ select._Input-input_zwh6e_27:dir(rtl) {
419
419
  background-position: 12px calc(50% + 3px);
420
420
  }
421
421
  @media (hover: hover) and (pointer: fine) {
422
- ._Input_1hd99_1:has(> input):hover ._Input-input_1hd99_27:not([readonly]),
423
- ._Input_1hd99_1:has(> textarea):hover ._Input-input_1hd99_27:not([readonly]) {
422
+ ._Input_zwh6e_1:has(> input):hover ._Input-input_zwh6e_27:not([readonly]),
423
+ ._Input_zwh6e_1:has(> textarea):hover ._Input-input_zwh6e_27:not([readonly]) {
424
424
  border-color: var(--editor-border-strong);
425
425
  transition: none;
426
426
  }
427
- ._Input_1hd99_1:has(> select):hover ._Input-input_1hd99_27:not([disabled]) {
427
+ ._Input_zwh6e_1:has(> select):hover ._Input-input_zwh6e_27:not([disabled]) {
428
428
  background-color: var(--editor-surface-hover);
429
429
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");
430
430
  border-color: var(--editor-border-strong);
431
431
  transition: none;
432
432
  }
433
433
  }
434
- ._Input-input_1hd99_27:focus {
434
+ ._Input-input_zwh6e_27:focus {
435
435
  border-color: var(--editor-accent);
436
436
  outline: none;
437
437
  box-shadow: var(--editor-ring);
438
438
  transition: none;
439
439
  }
440
- ._Input--readOnly_1hd99_87 > ._Input-input_1hd99_27,
441
- ._Input--readOnly_1hd99_87 > select._Input-input_1hd99_27 {
440
+ ._Input--readOnly_zwh6e_87 > ._Input-input_zwh6e_27,
441
+ ._Input--readOnly_zwh6e_87 > select._Input-input_zwh6e_27 {
442
442
  background-color: var(--editor-surface-sunken);
443
443
  border-color: var(--editor-border-subtle);
444
444
  color: var(--editor-text-secondary);
@@ -447,21 +447,21 @@ select._Input-input_1hd99_27:dir(rtl) {
447
447
  outline: 0;
448
448
  transition: none;
449
449
  }
450
- ._Input-radioGroupItems_1hd99_98 {
450
+ ._Input-radioGroupItems_zwh6e_98 {
451
451
  display: flex;
452
452
  border: 1px solid var(--editor-border-default);
453
453
  border-radius: var(--editor-radius-md);
454
454
  flex-wrap: wrap;
455
455
  overflow: hidden;
456
456
  }
457
- ._Input-radio_1hd99_98 {
457
+ ._Input-radio_zwh6e_98 {
458
458
  border-inline-end: 1px solid var(--editor-border-default);
459
459
  flex-grow: 1;
460
460
  }
461
- ._Input-radio_1hd99_98:last-of-type {
461
+ ._Input-radio_zwh6e_98:last-of-type {
462
462
  border-inline-end: 0;
463
463
  }
464
- ._Input-radioInner_1hd99_115 {
464
+ ._Input-radioInner_zwh6e_115 {
465
465
  background-color: var(--editor-surface-panel);
466
466
  color: var(--editor-text-secondary);
467
467
  cursor: pointer;
@@ -470,34 +470,34 @@ select._Input-input_1hd99_27:dir(rtl) {
470
470
  text-align: center;
471
471
  transition: background-color var(--editor-motion-fast) var(--editor-ease), color var(--editor-motion-fast) var(--editor-ease);
472
472
  }
473
- ._Input-radio_1hd99_98:has(:focus-visible) {
473
+ ._Input-radio_zwh6e_98:has(:focus-visible) {
474
474
  outline: none;
475
475
  box-shadow: var(--editor-ring);
476
476
  position: relative;
477
477
  z-index: 1;
478
478
  }
479
479
  @media (hover: hover) and (pointer: fine) {
480
- ._Input-radioInner_1hd99_115:hover {
480
+ ._Input-radioInner_zwh6e_115:hover {
481
481
  background-color: var(--editor-surface-hover);
482
482
  color: var(--editor-text-primary);
483
483
  transition: none;
484
484
  }
485
485
  }
486
- ._Input--readOnly_1hd99_87 ._Input-radioInner_1hd99_115 {
486
+ ._Input--readOnly_zwh6e_87 ._Input-radioInner_zwh6e_115 {
487
487
  background-color: var(--editor-surface-sunken);
488
488
  color: var(--editor-text-secondary);
489
489
  cursor: default;
490
490
  }
491
- ._Input-radio_1hd99_98 ._Input-radioInput_1hd99_147:checked ~ ._Input-radioInner_1hd99_115 {
491
+ ._Input-radio_zwh6e_98 ._Input-radioInput_zwh6e_147:checked ~ ._Input-radioInner_zwh6e_115 {
492
492
  background-color: var(--editor-accent-soft);
493
493
  color: var(--editor-text-accent);
494
494
  font-weight: 500;
495
495
  }
496
- ._Input--readOnly_1hd99_87 ._Input-radioInput_1hd99_147:checked ~ ._Input-radioInner_1hd99_115 {
496
+ ._Input--readOnly_zwh6e_87 ._Input-radioInput_zwh6e_147:checked ~ ._Input-radioInner_zwh6e_115 {
497
497
  background-color: var(--editor-surface-sunken);
498
498
  color: var(--editor-text-secondary);
499
499
  }
500
- ._Input-radio_1hd99_98 ._Input-radioInput_1hd99_147 {
500
+ ._Input-radio_zwh6e_98 ._Input-radioInput_zwh6e_147 {
501
501
  clip: rect(0 0 0 0);
502
502
  clip-path: inset(100%);
503
503
  height: 1px;
@@ -506,7 +506,7 @@ select._Input-input_1hd99_27:dir(rtl) {
506
506
  white-space: nowrap;
507
507
  width: 1px;
508
508
  }
509
- textarea._Input-input_1hd99_27 {
509
+ textarea._Input-input_zwh6e_27 {
510
510
  margin-bottom: -4px;
511
511
  }
512
512
 
@@ -755,6 +755,79 @@ textarea._Input-input_1hd99_27 {
755
755
  transition: none !important;
756
756
  }
757
757
 
758
+ /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/AutoField/fields/ColorField/styles.module.css/#css-module-data */
759
+ ._ColorField_1nsbe_1 {
760
+ align-items: center;
761
+ background: var(--editor-surface-panel);
762
+ border: 1px solid var(--editor-border-default);
763
+ border-radius: var(--editor-radius-md);
764
+ box-sizing: border-box;
765
+ display: flex;
766
+ gap: 10px;
767
+ padding: 4px 12px 4px 4px;
768
+ transition: border-color var(--editor-motion-fast) var(--editor-ease), box-shadow var(--editor-motion-fast) var(--editor-ease);
769
+ width: 100%;
770
+ }
771
+ ._ColorField_1nsbe_1:focus-within {
772
+ border-color: var(--editor-accent);
773
+ box-shadow: var(--editor-ring);
774
+ outline: none;
775
+ }
776
+ @media (hover: hover) and (pointer: fine) {
777
+ ._ColorField_1nsbe_1:hover:not(._ColorField--readOnly_1nsbe_24) {
778
+ border-color: var(--editor-border-strong);
779
+ }
780
+ }
781
+ ._ColorField--readOnly_1nsbe_24 {
782
+ background-color: var(--editor-surface-sunken);
783
+ border-color: var(--editor-border-subtle);
784
+ }
785
+ ._ColorField-swatch_1nsbe_34 {
786
+ background-color: currentColor;
787
+ border: 1px solid var(--editor-border-default);
788
+ border-radius: 6px;
789
+ cursor: pointer;
790
+ flex-shrink: 0;
791
+ height: 28px;
792
+ padding: 0;
793
+ position: relative;
794
+ width: 28px;
795
+ }
796
+ ._ColorField-swatch_1nsbe_34:focus-visible {
797
+ outline: none;
798
+ box-shadow: var(--editor-ring);
799
+ }
800
+ ._ColorField--readOnly_1nsbe_24 ._ColorField-swatch_1nsbe_34 {
801
+ cursor: default;
802
+ }
803
+ ._ColorField-picker_1nsbe_57 {
804
+ inset: 0;
805
+ opacity: 0;
806
+ position: absolute;
807
+ pointer-events: none;
808
+ }
809
+ ._ColorField-text_1nsbe_64 {
810
+ background: transparent;
811
+ border: 0;
812
+ color: var(--editor-text-primary);
813
+ flex: 1;
814
+ font-family: inherit;
815
+ font-size: 16px;
816
+ min-width: 0;
817
+ outline: none;
818
+ padding: 0;
819
+ }
820
+ @media (min-width: 458px) {
821
+ ._ColorField-text_1nsbe_64 {
822
+ font-size: 13px;
823
+ }
824
+ }
825
+ ._ColorField-text_1nsbe_64:disabled,
826
+ ._ColorField-text_1nsbe_64[readonly] {
827
+ color: var(--editor-text-secondary);
828
+ cursor: default;
829
+ }
830
+
758
831
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/ExternalInput/styles.module.css/#css-module-data */
759
832
  ._ExternalInput-actions_142hz_1 {
760
833
  display: flex;
@@ -1,6 +1,6 @@
1
- export { u as Adaptor, A as AppState, v as ArrayField, w as ArrayState, x as AsFieldProps, B as BaseData, y as BaseField, z as CacheOpts, l as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, a as Content, S as CustomField, T as CustomFieldRender, D as Data, d as DefaultComponentProps, c as DefaultComponents, e as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, m as FieldTransforms, F as Fields, H as History, I as IframeConfig, r as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, j as Overrides, f as Permissions, i as Plugin, af as RadioField, h as ResolveDataTrigger, ag as RichText, n as RichtextField, ah as RootConfig, R as RootData, g as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, k as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-CQmL3wwa.mjs';
2
- export { Action, ActionBar, AutoField, Button, ComponentList, Drawer, DropZone, Editor, EditorApi, FieldLabel, GlobalsMap, Group, IconButton, Label, PageMetadata, Render, RichTextMenu, Route, Separator, UseEditorData, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useEditor, useGetEditor } from './index.mjs';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-Dwv3c_9M.mjs';
1
+ export { t as Adaptor, A as AppState, u as ArrayField, v as ArrayState, w as AsFieldProps, B as BaseData, x as BaseField, y as CacheOpts, z as ColorField, l as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, a as Content, S as CustomField, T as CustomFieldRender, D as Data, d as DefaultComponentProps, c as DefaultComponents, e as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, m as FieldTransforms, F as Fields, H as History, I as IframeConfig, q as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, j as Overrides, f as Permissions, i as Plugin, af as RadioField, h as ResolveDataTrigger, ag as RichText, n as RichtextField, ah as RootConfig, R as RootData, g as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, k as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-2L-1hQ7r.mjs';
2
+ export { Action, ActionBar, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, Separator, UseEditorData, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useEditor, useGetEditor, usePropsContext } from './index.mjs';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-4C3ODO3X.mjs';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
@@ -18,4 +18,4 @@ import '@tiptap/extension-strike';
18
18
  import '@tiptap/extension-text-align';
19
19
  import '@tiptap/extension-underline';
20
20
  import 'react/jsx-runtime';
21
- import './index-BOP2qNVA.mjs';
21
+ import './index-BXuSeNez.mjs';
@@ -1,6 +1,6 @@
1
- export { u as Adaptor, A as AppState, v as ArrayField, w as ArrayState, x as AsFieldProps, B as BaseData, y as BaseField, z as CacheOpts, l as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, a as Content, S as CustomField, T as CustomFieldRender, D as Data, d as DefaultComponentProps, c as DefaultComponents, e as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, m as FieldTransforms, F as Fields, H as History, I as IframeConfig, r as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, j as Overrides, f as Permissions, i as Plugin, af as RadioField, h as ResolveDataTrigger, ag as RichText, n as RichtextField, ah as RootConfig, R as RootData, g as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, k as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-CQmL3wwa.js';
2
- export { Action, ActionBar, AutoField, Button, ComponentList, Drawer, DropZone, Editor, EditorApi, FieldLabel, GlobalsMap, Group, IconButton, Label, PageMetadata, Render, RichTextMenu, Route, Separator, UseEditorData, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useEditor, useGetEditor } from './index.js';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-DxSkPLnl.js';
1
+ export { t as Adaptor, A as AppState, u as ArrayField, v as ArrayState, w as AsFieldProps, B as BaseData, x as BaseField, y as CacheOpts, z as ColorField, l as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, a as Content, S as CustomField, T as CustomFieldRender, D as Data, d as DefaultComponentProps, c as DefaultComponents, e as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, m as FieldTransforms, F as Fields, H as History, I as IframeConfig, q as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, j as Overrides, f as Permissions, i as Plugin, af as RadioField, h as ResolveDataTrigger, ag as RichText, n as RichtextField, ah as RootConfig, R as RootData, g as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, k as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-2L-1hQ7r.js';
2
+ export { Action, ActionBar, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, Separator, UseEditorData, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useEditor, useGetEditor, usePropsContext } from './index.js';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-C9GrSWsR.js';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
@@ -18,4 +18,4 @@ import '@tiptap/extension-strike';
18
18
  import '@tiptap/extension-text-align';
19
19
  import '@tiptap/extension-underline';
20
20
  import 'react/jsx-runtime';
21
- import './index-_G46lHpL.js';
21
+ import './index-BNsSzMCj.js';