@reacteditor/core 0.0.11 → 0.0.13

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 (37) hide show
  1. package/dist/{Editor-GK6JTUPD.mjs → Editor-3COFH5WN.mjs} +7 -7
  2. package/dist/{actions-C0LX6bI4.d.mts → actions-DDpLL_TR.d.mts} +17 -2
  3. package/dist/{actions-C0LX6bI4.d.ts → actions-DDpLL_TR.d.ts} +17 -2
  4. package/dist/{chunk-MJJPWASL.mjs → chunk-AD7BMXAA.mjs} +1 -1
  5. package/dist/{chunk-TGVAC3JP.mjs → chunk-BUR5T7IX.mjs} +7 -7
  6. package/dist/{chunk-YBG2RYVF.mjs → chunk-BZ4BQZJR.mjs} +3 -3
  7. package/dist/{chunk-X4EUZIHA.mjs → chunk-FT6UFK7G.mjs} +1 -1
  8. package/dist/{chunk-ERNSJXVF.mjs → chunk-IIRJMJFU.mjs} +0 -1
  9. package/dist/{chunk-74TOLW7F.mjs → chunk-KX5XDJF6.mjs} +61 -19
  10. package/dist/{chunk-56I7ST5F.mjs → chunk-LRFRIIKG.mjs} +1 -1
  11. package/dist/{chunk-XLVEWZWT.mjs → chunk-OIFPBVSF.mjs} +1 -1
  12. package/dist/{chunk-II42EKFK.mjs → chunk-PUDWMFBH.mjs} +1 -1
  13. package/dist/{full-IUPXFMQP.mjs → full-QT5KXRDP.mjs} +6 -6
  14. package/dist/{index-DMbFEg8G.d.mts → index-BTatdZaE.d.mts} +1 -1
  15. package/dist/{index-DmThy7vE.d.ts → index-zhUFD8aP.d.ts} +1 -1
  16. package/dist/index.css +44 -40
  17. package/dist/index.d.mts +13 -7
  18. package/dist/index.d.ts +13 -7
  19. package/dist/index.js +54 -13
  20. package/dist/index.mjs +9 -9
  21. package/dist/internal.d.mts +2 -2
  22. package/dist/internal.d.ts +2 -2
  23. package/dist/{loaded-BT7NIVEO.mjs → loaded-GLBLMTBL.mjs} +3 -3
  24. package/dist/{loaded-HVOKDVC3.mjs → loaded-O4QHGE26.mjs} +3 -3
  25. package/dist/{loaded-YFYCF5F4.mjs → loaded-R34BR6I5.mjs} +3 -3
  26. package/dist/no-external.css +44 -40
  27. package/dist/no-external.d.mts +3 -3
  28. package/dist/no-external.d.ts +3 -3
  29. package/dist/no-external.js +54 -13
  30. package/dist/no-external.mjs +9 -9
  31. package/dist/rsc.d.mts +2 -2
  32. package/dist/rsc.d.ts +2 -2
  33. package/dist/rsc.js +0 -1
  34. package/dist/rsc.mjs +2 -2
  35. package/dist/{walk-tree-B1q6t5Jp.d.ts → walk-tree-Cnyva5MB.d.ts} +1 -1
  36. package/dist/{walk-tree-5oDs6qOL.d.mts → walk-tree-Cxbt1UVr.d.mts} +1 -1
  37. package/package.json +1 -1
@@ -2342,25 +2342,25 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2342
2342
  }
2343
2343
 
2344
2344
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Layout/styles.module.css/#css-module-data */
2345
- ._Editor_1ty8s_19 {
2345
+ ._Editor_frglt_19 {
2346
2346
  --editor-space-px: 16px;
2347
2347
  color: var(--editor-text-primary);
2348
2348
  font-family: var(--editor-font-family);
2349
2349
  overflow-x: hidden;
2350
2350
  }
2351
2351
  @media (min-width: 766px) {
2352
- ._Editor_1ty8s_19 {
2352
+ ._Editor_frglt_19 {
2353
2353
  overflow-x: auto;
2354
2354
  }
2355
2355
  }
2356
- ._Editor-portal_1ty8s_32 {
2356
+ ._Editor-portal_frglt_32 {
2357
2357
  position: relative;
2358
2358
  z-index: 2;
2359
2359
  }
2360
- ._EditorLayout_1ty8s_37 {
2360
+ ._EditorLayout_frglt_37 {
2361
2361
  height: 100dvh;
2362
2362
  }
2363
- ._EditorLayout-inner_1ty8s_41 {
2363
+ ._EditorLayout-inner_frglt_41 {
2364
2364
  --editor-frame-width: auto;
2365
2365
  --editor-side-nav-width: min-content;
2366
2366
  --editor-side-bar-width: 0px;
@@ -2378,88 +2378,92 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2378
2378
  overflow: hidden;
2379
2379
  }
2380
2380
  @media (min-width: 638px) {
2381
- ._EditorLayout-inner_1ty8s_41 {
2381
+ ._EditorLayout-inner_frglt_41 {
2382
2382
  --editor-side-nav-width: 44px;
2383
2383
  grid-template-areas: "sidenav left editor right";
2384
2384
  grid-template-columns: var(--editor-side-nav-width) 0 var(--editor-frame-width) 0;
2385
2385
  grid-template-rows: auto;
2386
2386
  }
2387
- ._Editor--hidePlugins_1ty8s_73 ._EditorLayout-inner_1ty8s_41 {
2387
+ ._Editor--hidePlugins_frglt_73 ._EditorLayout-inner_frglt_41,
2388
+ ._EditorLayout_frglt_37:not(._EditorLayout--navBarVisible_frglt_74) ._EditorLayout-inner_frglt_41 {
2388
2389
  --editor-side-nav-width: 0;
2389
2390
  }
2390
2391
  }
2391
- ._EditorLayout--mounted_1ty8s_78 ._EditorLayout-inner_1ty8s_41 {
2392
+ ._EditorLayout_frglt_37:not(._EditorLayout--navBarVisible_frglt_74) ._EditorLayout-inner_frglt_41 {
2393
+ --editor-side-nav-width: 0;
2394
+ }
2395
+ ._EditorLayout--mounted_frglt_83 ._EditorLayout-inner_frglt_41 {
2392
2396
  --editor-side-bar-width: 186px;
2393
2397
  }
2394
- ._EditorLayout--mobilePanelHeightToggle_1ty8s_82._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-inner_1ty8s_41 {
2398
+ ._EditorLayout--mobilePanelHeightToggle_frglt_87._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2395
2399
  grid-template-rows: auto 60% 0 0 var(--editor-side-nav-width);
2396
2400
  }
2397
- ._EditorLayout--mobilePanelCustomHeight_1ty8s_87._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-inner_1ty8s_41 {
2401
+ ._EditorLayout--mobilePanelCustomHeight_frglt_92._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2398
2402
  grid-template-rows: auto var(--editor-mobile-panel-height, 60%) 0 0 var(--editor-side-nav-width);
2399
2403
  }
2400
2404
  @media (min-width: 638px) {
2401
- ._EditorLayout--mobilePanelHeightToggle_1ty8s_82._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-inner_1ty8s_41 {
2405
+ ._EditorLayout--mobilePanelHeightToggle_frglt_87._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2402
2406
  grid-template-columns: var(--editor-side-nav-width) var(--editor-left-side-bar-width) var( --editor-frame-width ) 0;
2403
2407
  grid-template-rows: auto;
2404
2408
  }
2405
2409
  }
2406
- ._EditorLayout--mobilePanelHeightMinContent_1ty8s_105._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-inner_1ty8s_41 {
2410
+ ._EditorLayout--mobilePanelHeightMinContent_frglt_110._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2407
2411
  grid-template-rows: auto min-content 0 0 var(--editor-side-nav-width);
2408
2412
  }
2409
2413
  @media (min-width: 638px) {
2410
- ._EditorLayout--mobilePanelHeightToggle_1ty8s_82._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-inner_1ty8s_41,
2411
- ._EditorLayout--mobilePanelCustomHeight_1ty8s_87._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-inner_1ty8s_41,
2412
- ._EditorLayout--mobilePanelHeightMinContent_1ty8s_105._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-inner_1ty8s_41 {
2414
+ ._EditorLayout--mobilePanelHeightToggle_frglt_87._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41,
2415
+ ._EditorLayout--mobilePanelCustomHeight_frglt_92._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41,
2416
+ ._EditorLayout--mobilePanelHeightMinContent_frglt_110._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2413
2417
  grid-template-columns: var(--editor-side-nav-width) var(--editor-left-side-bar-width) var( --editor-frame-width ) 0;
2414
2418
  grid-template-rows: auto;
2415
2419
  }
2416
2420
  }
2417
2421
  @media (min-width: 638px) {
2418
- ._EditorLayout--rightSideBarVisible_1ty8s_127 ._EditorLayout-inner_1ty8s_41 {
2422
+ ._EditorLayout--rightSideBarVisible_frglt_132 ._EditorLayout-inner_frglt_41 {
2419
2423
  grid-template-columns: var(--editor-side-nav-width) 0 var(--editor-frame-width) var(--editor-right-side-bar-width);
2420
2424
  }
2421
2425
  }
2422
2426
  @media (min-width: 638px) {
2423
- ._EditorLayout--leftSideBarVisible_1ty8s_82._EditorLayout--rightSideBarVisible_1ty8s_127 ._EditorLayout-inner_1ty8s_41 {
2427
+ ._EditorLayout--leftSideBarVisible_frglt_87._EditorLayout--rightSideBarVisible_frglt_132 ._EditorLayout-inner_frglt_41 {
2424
2428
  grid-template-columns: var(--editor-side-nav-width) var(--editor-left-side-bar-width) var( --editor-frame-width ) var(--editor-right-side-bar-width);
2425
2429
  }
2426
2430
  }
2427
2431
  @media (min-width: 458px) {
2428
- ._EditorLayout-mounted_1ty8s_146 ._EditorLayout-inner_1ty8s_41 {
2432
+ ._EditorLayout-mounted_frglt_151 ._EditorLayout-inner_frglt_41 {
2429
2433
  --editor-frame-width: minmax(266px, auto);
2430
2434
  }
2431
2435
  }
2432
2436
  @media (min-width: 638px) {
2433
- ._EditorLayout_1ty8s_37 ._EditorLayout-inner_1ty8s_41 {
2437
+ ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2434
2438
  --editor-side-bar-width: minmax(186px, 250px);
2435
2439
  }
2436
2440
  }
2437
2441
  @media (min-width: 766px) {
2438
- ._EditorLayout_1ty8s_37 ._EditorLayout-inner_1ty8s_41 {
2442
+ ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2439
2443
  --editor-frame-width: auto;
2440
2444
  }
2441
2445
  }
2442
2446
  @media (min-width: 990px) {
2443
- ._EditorLayout_1ty8s_37 ._EditorLayout-inner_1ty8s_41 {
2447
+ ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2444
2448
  --editor-side-bar-width: 256px;
2445
2449
  }
2446
2450
  }
2447
2451
  @media (min-width: 1198px) {
2448
- ._EditorLayout_1ty8s_37 ._EditorLayout-inner_1ty8s_41 {
2452
+ ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2449
2453
  --editor-side-bar-width: 274px;
2450
2454
  }
2451
2455
  }
2452
2456
  @media (min-width: 1398px) {
2453
- ._EditorLayout_1ty8s_37 ._EditorLayout-inner_1ty8s_41 {
2457
+ ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2454
2458
  --editor-side-bar-width: 290px;
2455
2459
  }
2456
2460
  }
2457
2461
  @media (min-width: 1598px) {
2458
- ._EditorLayout_1ty8s_37 ._EditorLayout-inner_1ty8s_41 {
2462
+ ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2459
2463
  --editor-side-bar-width: 320px;
2460
2464
  }
2461
2465
  }
2462
- ._EditorLayout-nav_1ty8s_187 {
2466
+ ._EditorLayout-nav_frglt_192 {
2463
2467
  border-top: 1px solid var(--editor-border-subtle);
2464
2468
  background-color: var(--editor-surface-panel);
2465
2469
  grid-area: sidenav;
@@ -2467,13 +2471,13 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2467
2471
  width: 100%;
2468
2472
  }
2469
2473
  @media (min-width: 638px) {
2470
- ._EditorLayout-nav_1ty8s_187 {
2474
+ ._EditorLayout-nav_frglt_192 {
2471
2475
  border-top: 0;
2472
2476
  border-right: 1px solid var(--editor-border-subtle);
2473
2477
  box-sizing: border-box;
2474
2478
  }
2475
2479
  }
2476
- ._Editor-fieldSideBarToolbar_1ty8s_203 {
2480
+ ._Editor-fieldSideBarToolbar_frglt_208 {
2477
2481
  align-items: center;
2478
2482
  background: var(--editor-surface-panel);
2479
2483
  border-bottom: 1px solid var(--editor-border-subtle);
@@ -2482,17 +2486,17 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2482
2486
  justify-content: space-between;
2483
2487
  padding: 8px 12px;
2484
2488
  }
2485
- ._Editor-fieldSideBarHistory_1ty8s_213 {
2489
+ ._Editor-fieldSideBarHistory_frglt_218 {
2486
2490
  color: var(--editor-text-tertiary);
2487
2491
  display: flex;
2488
2492
  gap: 2px;
2489
2493
  }
2490
- ._Editor-fieldSideBarActions_1ty8s_219 {
2494
+ ._Editor-fieldSideBarActions_frglt_224 {
2491
2495
  align-items: center;
2492
2496
  display: flex;
2493
2497
  gap: 8px;
2494
2498
  }
2495
- ._EditorLayout-mobilePanel_1ty8s_225 {
2499
+ ._EditorLayout-mobilePanel_frglt_230 {
2496
2500
  grid-area: mobilepanel;
2497
2501
  background: var(--editor-surface-panel);
2498
2502
  border-block-start: 1px solid var(--editor-border-subtle);
@@ -2500,22 +2504,22 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2500
2504
  flex-direction: column;
2501
2505
  overflow: hidden;
2502
2506
  }
2503
- ._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-mobilePanel_1ty8s_225 {
2507
+ ._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-mobilePanel_frglt_230 {
2504
2508
  display: flex;
2505
2509
  }
2506
2510
  @media (min-width: 638px) {
2507
- ._EditorLayout-mobilePanel_1ty8s_225,
2508
- ._EditorLayout--leftSideBarVisible_1ty8s_82 ._EditorLayout-mobilePanel_1ty8s_225 {
2511
+ ._EditorLayout-mobilePanel_frglt_230,
2512
+ ._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-mobilePanel_frglt_230 {
2509
2513
  display: none;
2510
2514
  }
2511
2515
  }
2512
- ._EditorLayout-mobilePanelContent_1ty8s_245 {
2516
+ ._EditorLayout-mobilePanelContent_frglt_250 {
2513
2517
  flex: 1;
2514
2518
  overflow-y: auto;
2515
2519
  display: flex;
2516
2520
  flex-direction: column;
2517
2521
  }
2518
- ._EditorLayout-mobileDragHandle_1ty8s_252 {
2522
+ ._EditorLayout-mobileDragHandle_frglt_257 {
2519
2523
  display: flex;
2520
2524
  align-items: center;
2521
2525
  justify-content: center;
@@ -2524,25 +2528,25 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2524
2528
  touch-action: none;
2525
2529
  flex-shrink: 0;
2526
2530
  }
2527
- ._EditorLayout-mobileDragHandle_1ty8s_252:active {
2531
+ ._EditorLayout-mobileDragHandle_frglt_257:active {
2528
2532
  cursor: grabbing;
2529
2533
  }
2530
- ._EditorLayout-mobileDragHandlePill_1ty8s_266 {
2534
+ ._EditorLayout-mobileDragHandlePill_frglt_271 {
2531
2535
  width: 36px;
2532
2536
  height: 4px;
2533
2537
  border-radius: 2px;
2534
2538
  background-color: var(--editor-border-subtle);
2535
2539
  }
2536
- ._EditorPluginTab_1ty8s_273 {
2540
+ ._EditorPluginTab_frglt_278 {
2537
2541
  display: none;
2538
2542
  flex-grow: 1;
2539
2543
  max-height: 100%;
2540
2544
  }
2541
- ._EditorPluginTab--visible_1ty8s_279 {
2545
+ ._EditorPluginTab--visible_frglt_284 {
2542
2546
  display: flex;
2543
2547
  flex-direction: column;
2544
2548
  }
2545
- ._EditorPluginTab-body_1ty8s_284 {
2549
+ ._EditorPluginTab-body_frglt_289 {
2546
2550
  flex-grow: 1;
2547
2551
  max-height: 100%;
2548
2552
  }
@@ -1,6 +1,6 @@
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, g 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, j as Content, S as CustomField, T as CustomFieldRender, D as Data, l as DefaultComponentProps, k as DefaultComponents, m 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, h 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, e as Overrides, a as Permissions, d as Plugin, af as RadioField, c as ResolveDataTrigger, ag as RichText, i as RichtextField, ah as RootConfig, n as RootData, R as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, f 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-C0LX6bI4.mjs';
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, G as ColorField, g as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, b as ComponentData, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, C as Config, S as ConfigParams, j as Content, T as CustomField, X as CustomFieldRender, D as Data, l as DefaultComponentProps, k as DefaultComponents, m as DefaultRootFieldProps, Y as DefaultRootProps, Z as DefaultRootRenderProps, _ as Direction, $ as DragAxis, E as EditorAction, q as EditorChromeConfig, a0 as EditorComponent, a1 as EditorContext, a2 as EditorMetadata, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, o as Field, a7 as FieldMetadata, p as FieldProps, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, h as FieldTransforms, F as Fields, H as History, I as IframeConfig, r as InitialHistory, ab as ItemWithId, ac as MappedItem, M as Metadata, ad as NumberField, ae as ObjectField, O as OnAction, af as OverrideKey, e as Overrides, a as Permissions, d as Plugin, ag as RadioField, c as ResolveDataTrigger, ah as RichText, i as RichtextField, ai as RootConfig, n as RootData, R as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, f as UiState, U as UserGenerics, aq as Viewport, V as Viewports, ar as WithChildren, as as WithEditorProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-DDpLL_TR.mjs';
2
2
  export { Action, ActionBar, App, AppContextValue, AppEditorProps, AppMatched, AppProps, AppProvider, AppProviderProps, AppRenderProps, AppRouterVariant, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, RouteKey, Separator, UseEditorData, appConfigContext, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useApp, useEditor, useGetEditor, usePropsContext, useRouteParams, useStableValue } from './index.mjs';
3
- export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-5oDs6qOL.mjs';
3
+ export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-Cxbt1UVr.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-DMbFEg8G.mjs';
21
+ import './index-BTatdZaE.mjs';
@@ -1,6 +1,6 @@
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, g 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, j as Content, S as CustomField, T as CustomFieldRender, D as Data, l as DefaultComponentProps, k as DefaultComponents, m 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, h 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, e as Overrides, a as Permissions, d as Plugin, af as RadioField, c as ResolveDataTrigger, ag as RichText, i as RichtextField, ah as RootConfig, n as RootData, R as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, f 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-C0LX6bI4.js';
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, G as ColorField, g as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, b as ComponentData, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, C as Config, S as ConfigParams, j as Content, T as CustomField, X as CustomFieldRender, D as Data, l as DefaultComponentProps, k as DefaultComponents, m as DefaultRootFieldProps, Y as DefaultRootProps, Z as DefaultRootRenderProps, _ as Direction, $ as DragAxis, E as EditorAction, q as EditorChromeConfig, a0 as EditorComponent, a1 as EditorContext, a2 as EditorMetadata, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, o as Field, a7 as FieldMetadata, p as FieldProps, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, h as FieldTransforms, F as Fields, H as History, I as IframeConfig, r as InitialHistory, ab as ItemWithId, ac as MappedItem, M as Metadata, ad as NumberField, ae as ObjectField, O as OnAction, af as OverrideKey, e as Overrides, a as Permissions, d as Plugin, ag as RadioField, c as ResolveDataTrigger, ah as RichText, i as RichtextField, ai as RootConfig, n as RootData, R as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, f as UiState, U as UserGenerics, aq as Viewport, V as Viewports, ar as WithChildren, as as WithEditorProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-DDpLL_TR.js';
2
2
  export { Action, ActionBar, App, AppContextValue, AppEditorProps, AppMatched, AppProps, AppProvider, AppProviderProps, AppRenderProps, AppRouterVariant, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, RouteKey, Separator, UseEditorData, appConfigContext, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useApp, useEditor, useGetEditor, usePropsContext, useRouteParams, useStableValue } from './index.js';
3
- export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-B1q6t5Jp.js';
3
+ export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-Cnyva5MB.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-DmThy7vE.js';
21
+ import './index-zhUFD8aP.js';
@@ -3165,7 +3165,6 @@ var init_default_app_state = __esm({
3165
3165
  ui: {
3166
3166
  leftSideBarVisible: true,
3167
3167
  rightSideBarVisible: true,
3168
- navBarVisible: true,
3169
3168
  arrayState: {},
3170
3169
  itemSelector: null,
3171
3170
  componentList: {},
@@ -12972,7 +12971,7 @@ init_lib();
12972
12971
 
12973
12972
  // css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Layout/styles.module.css#css-module
12974
12973
  init_react_import();
12975
- var styles_module_default25 = { "Editor": "_Editor_1ty8s_19", "Editor-portal": "_Editor-portal_1ty8s_32", "EditorLayout": "_EditorLayout_1ty8s_37", "EditorLayout-inner": "_EditorLayout-inner_1ty8s_41", "Editor--hidePlugins": "_Editor--hidePlugins_1ty8s_73", "EditorLayout--mounted": "_EditorLayout--mounted_1ty8s_78", "EditorLayout--mobilePanelHeightToggle": "_EditorLayout--mobilePanelHeightToggle_1ty8s_82", "EditorLayout--leftSideBarVisible": "_EditorLayout--leftSideBarVisible_1ty8s_82", "EditorLayout--mobilePanelCustomHeight": "_EditorLayout--mobilePanelCustomHeight_1ty8s_87", "EditorLayout--mobilePanelHeightMinContent": "_EditorLayout--mobilePanelHeightMinContent_1ty8s_105", "EditorLayout--rightSideBarVisible": "_EditorLayout--rightSideBarVisible_1ty8s_127", "EditorLayout-mounted": "_EditorLayout-mounted_1ty8s_146", "EditorLayout-nav": "_EditorLayout-nav_1ty8s_187", "Editor-fieldSideBarToolbar": "_Editor-fieldSideBarToolbar_1ty8s_203", "Editor-fieldSideBarHistory": "_Editor-fieldSideBarHistory_1ty8s_213", "Editor-fieldSideBarActions": "_Editor-fieldSideBarActions_1ty8s_219", "EditorLayout-mobilePanel": "_EditorLayout-mobilePanel_1ty8s_225", "EditorLayout-mobilePanelContent": "_EditorLayout-mobilePanelContent_1ty8s_245", "EditorLayout-mobileDragHandle": "_EditorLayout-mobileDragHandle_1ty8s_252", "EditorLayout-mobileDragHandlePill": "_EditorLayout-mobileDragHandlePill_1ty8s_266", "EditorPluginTab": "_EditorPluginTab_1ty8s_273", "EditorPluginTab--visible": "_EditorPluginTab--visible_1ty8s_279", "EditorPluginTab-body": "_EditorPluginTab-body_1ty8s_284" };
12974
+ var styles_module_default25 = { "Editor": "_Editor_frglt_19", "Editor-portal": "_Editor-portal_frglt_32", "EditorLayout": "_EditorLayout_frglt_37", "EditorLayout-inner": "_EditorLayout-inner_frglt_41", "Editor--hidePlugins": "_Editor--hidePlugins_frglt_73", "EditorLayout--navBarVisible": "_EditorLayout--navBarVisible_frglt_74", "EditorLayout--mounted": "_EditorLayout--mounted_frglt_83", "EditorLayout--mobilePanelHeightToggle": "_EditorLayout--mobilePanelHeightToggle_frglt_87", "EditorLayout--leftSideBarVisible": "_EditorLayout--leftSideBarVisible_frglt_87", "EditorLayout--mobilePanelCustomHeight": "_EditorLayout--mobilePanelCustomHeight_frglt_92", "EditorLayout--mobilePanelHeightMinContent": "_EditorLayout--mobilePanelHeightMinContent_frglt_110", "EditorLayout--rightSideBarVisible": "_EditorLayout--rightSideBarVisible_frglt_132", "EditorLayout-mounted": "_EditorLayout-mounted_frglt_151", "EditorLayout-nav": "_EditorLayout-nav_frglt_192", "Editor-fieldSideBarToolbar": "_Editor-fieldSideBarToolbar_frglt_208", "Editor-fieldSideBarHistory": "_Editor-fieldSideBarHistory_frglt_218", "Editor-fieldSideBarActions": "_Editor-fieldSideBarActions_frglt_224", "EditorLayout-mobilePanel": "_EditorLayout-mobilePanel_frglt_230", "EditorLayout-mobilePanelContent": "_EditorLayout-mobilePanelContent_frglt_250", "EditorLayout-mobileDragHandle": "_EditorLayout-mobileDragHandle_frglt_257", "EditorLayout-mobileDragHandlePill": "_EditorLayout-mobileDragHandlePill_frglt_271", "EditorPluginTab": "_EditorPluginTab_frglt_278", "EditorPluginTab--visible": "_EditorPluginTab--visible_frglt_284", "EditorPluginTab-body": "_EditorPluginTab-body_frglt_289" };
12976
12975
 
12977
12976
  // lib/use-inject-css.ts
12978
12977
  init_react_import();
@@ -13304,6 +13303,7 @@ var BrowserBar = ({
13304
13303
  onViewportChange
13305
13304
  }) => {
13306
13305
  const { routes, currentRoute, onRouteChange } = usePropsContext();
13306
+ const chrome = useChromeConfig();
13307
13307
  const viewports = useAppStore((s) => s.state.ui.viewports);
13308
13308
  const dispatch = useAppStore((s) => s.dispatch);
13309
13309
  const leftSideBarVisible = useAppStore((s) => s.state.ui.leftSideBarVisible);
@@ -13341,8 +13341,11 @@ var BrowserBar = ({
13341
13341
  if (!next || next === currentRoute) return;
13342
13342
  void (onRouteChange == null ? void 0 : onRouteChange(next));
13343
13343
  };
13344
+ if (!chrome.showUrlBar && !chrome.showDeviceToggle && !chrome.showFullScreenToggle) {
13345
+ return null;
13346
+ }
13344
13347
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: getClassName36(), children: [
13345
- showRoutePicker ? /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
13348
+ chrome.showUrlBar && (showRoutePicker ? /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
13346
13349
  Combobox,
13347
13350
  {
13348
13351
  items: routes,
@@ -13386,9 +13389,9 @@ var BrowserBar = ({
13386
13389
  ) : /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: getClassName36("urlTrigger"), children: [
13387
13390
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Globe, { className: getClassName36("urlIcon"), size: 14 }),
13388
13391
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: getClassName36("urlText"), children: "/" })
13389
- ] }),
13390
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: getClassName36("actions"), children: [
13391
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
13392
+ ] })),
13393
+ (chrome.showDeviceToggle || chrome.showFullScreenToggle) && /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: getClassName36("actions"), children: [
13394
+ chrome.showDeviceToggle && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
13392
13395
  IconButton,
13393
13396
  {
13394
13397
  type: "button",
@@ -13397,7 +13400,7 @@ var BrowserBar = ({
13397
13400
  children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: getClassName36("deviceIcon"), children: activeDevice === "desktop" ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Monitor, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Smartphone, { size: 16 }) })
13398
13401
  }
13399
13402
  ),
13400
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
13403
+ chrome.showFullScreenToggle && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
13401
13404
  IconButton,
13402
13405
  {
13403
13406
  type: "button",
@@ -14156,6 +14159,7 @@ var getPluginTabClassName = get_class_name_factory_default("EditorPluginTab", st
14156
14159
  var FieldSideBarToolbar = () => {
14157
14160
  const appStore = useAppStoreApi();
14158
14161
  const { onPublish, currentRoute } = usePropsContext();
14162
+ const chrome = useChromeConfig();
14159
14163
  const back = useAppStore((s) => s.history.back);
14160
14164
  const forward = useAppStore((s) => s.history.forward);
14161
14165
  const hasFuture = useAppStore((s) => s.history.hasFuture());
@@ -14164,7 +14168,7 @@ var FieldSideBarToolbar = () => {
14164
14168
  (s) => s.overrides.headerActions || DefaultOverride
14165
14169
  );
14166
14170
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: getClassName43("fieldSideBarToolbar"), children: [
14167
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: getClassName43("fieldSideBarHistory"), children: [
14171
+ chrome.showHistoryControls ? /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: getClassName43("fieldSideBarHistory"), children: [
14168
14172
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
14169
14173
  IconButton,
14170
14174
  {
@@ -14185,7 +14189,7 @@ var FieldSideBarToolbar = () => {
14185
14189
  children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Redo2, { size: 18 })
14186
14190
  }
14187
14191
  )
14188
- ] }),
14192
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", {}),
14189
14193
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: getClassName43("fieldSideBarActions"), children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(CustomHeaderActions, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
14190
14194
  Button,
14191
14195
  {
@@ -14238,7 +14242,8 @@ var Layout = ({ children }) => {
14238
14242
  const rightSideBarVisible = useAppStore(
14239
14243
  (s) => s.state.ui.rightSideBarVisible
14240
14244
  );
14241
- const navBarVisible = useAppStore((s) => s.state.ui.navBarVisible);
14245
+ const chrome = useChromeConfig();
14246
+ const navBarVisible = chrome.showNavBar;
14242
14247
  const instanceId = useAppStore((s) => s.instanceId);
14243
14248
  const {
14244
14249
  width: leftWidth,
@@ -14464,6 +14469,7 @@ var Layout = ({ children }) => {
14464
14469
  leftSideBarVisible,
14465
14470
  mounted,
14466
14471
  rightSideBarVisible: !hasDesktopFieldsPlugin && rightSideBarVisible,
14472
+ navBarVisible,
14467
14473
  mobilePanelHeightToggle: mobilePanelHeightMode === "toggle",
14468
14474
  mobilePanelHeightMinContent: mobilePanelHeightMode === "min-content",
14469
14475
  mobilePanelCustomHeight: mobilePanelHeight !== null && leftSideBarVisible
@@ -14479,7 +14485,7 @@ var Layout = ({ children }) => {
14479
14485
  Nav,
14480
14486
  {
14481
14487
  items: pluginItems,
14482
- footer: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
14488
+ footer: chrome.showThemeToggle ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
14483
14489
  IconButton,
14484
14490
  {
14485
14491
  type: "button",
@@ -14487,7 +14493,7 @@ var Layout = ({ children }) => {
14487
14493
  onClick: toggleTheme,
14488
14494
  children: themeIcon
14489
14495
  }
14490
- )
14496
+ ) : void 0
14491
14497
  }
14492
14498
  ) }),
14493
14499
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
@@ -14576,11 +14582,45 @@ var Layout = ({ children }) => {
14576
14582
 
14577
14583
  // components/Editor/index.tsx
14578
14584
  var import_jsx_runtime93 = require("react/jsx-runtime");
14585
+ var CHROME_KEYS = [
14586
+ "showNavBar",
14587
+ "showThemeToggle",
14588
+ "showHistoryControls",
14589
+ "showUrlBar",
14590
+ "showDeviceToggle",
14591
+ "showFullScreenToggle"
14592
+ ];
14593
+ var DEFAULT_CHROME = {
14594
+ showNavBar: true,
14595
+ showThemeToggle: true,
14596
+ showHistoryControls: true,
14597
+ showUrlBar: true,
14598
+ showDeviceToggle: true,
14599
+ showFullScreenToggle: true
14600
+ };
14601
+ var splitUiConfig = (ui) => {
14602
+ const runtime = {};
14603
+ const chrome = {};
14604
+ if (!ui) return { runtime, chrome };
14605
+ for (const [key, value] of Object.entries(ui)) {
14606
+ if (CHROME_KEYS.includes(key)) {
14607
+ chrome[key] = value;
14608
+ } else {
14609
+ runtime[key] = value;
14610
+ }
14611
+ }
14612
+ return { runtime, chrome };
14613
+ };
14579
14614
  var propsContext = (0, import_react95.createContext)({});
14580
14615
  function PropsProvider(props) {
14581
14616
  return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(propsContext.Provider, { value: props, children: props.children });
14582
14617
  }
14583
14618
  var usePropsContext = () => (0, import_react95.useContext)(propsContext);
14619
+ var useChromeConfig = () => {
14620
+ const { ui } = usePropsContext();
14621
+ const { chrome } = splitUiConfig(ui);
14622
+ return __spreadValues(__spreadValues({}, DEFAULT_CHROME), chrome);
14623
+ };
14584
14624
  function EditorProvider({ children }) {
14585
14625
  const {
14586
14626
  config,
@@ -14608,7 +14648,8 @@ function EditorProvider({ children }) {
14608
14648
  );
14609
14649
  const [generatedAppState] = (0, import_react95.useState)(() => {
14610
14650
  var _a, _b, _c, _d, _e, _f;
14611
- const initial = __spreadValues(__spreadValues({}, defaultAppState.ui), initialUi);
14651
+ const { runtime: initialUiRuntime } = splitUiConfig(initialUi);
14652
+ const initial = __spreadValues(__spreadValues({}, defaultAppState.ui), initialUiRuntime);
14612
14653
  let clientUiState = {};
14613
14654
  if (Object.keys((initialData == null ? void 0 : initialData.root) || {}).length > 0 && !((_a = initialData == null ? void 0 : initialData.root) == null ? void 0 : _a.props)) {
14614
14655
  console.warn(
@@ -25,8 +25,8 @@ import {
25
25
  usePropsContext,
26
26
  useRouteParams,
27
27
  useStableValue
28
- } from "./chunk-74TOLW7F.mjs";
29
- import "./chunk-YBG2RYVF.mjs";
28
+ } from "./chunk-KX5XDJF6.mjs";
29
+ import "./chunk-BZ4BQZJR.mjs";
30
30
  import {
31
31
  Action,
32
32
  ActionBar,
@@ -35,21 +35,21 @@ import {
35
35
  Label,
36
36
  RichTextMenu,
37
37
  Separator
38
- } from "./chunk-TGVAC3JP.mjs";
39
- import "./chunk-X4EUZIHA.mjs";
38
+ } from "./chunk-BUR5T7IX.mjs";
39
+ import "./chunk-FT6UFK7G.mjs";
40
40
  import {
41
41
  getRouteProps,
42
42
  migrate,
43
43
  resolveAllData,
44
44
  resolveRouteFromString,
45
45
  transformProps
46
- } from "./chunk-II42EKFK.mjs";
46
+ } from "./chunk-PUDWMFBH.mjs";
47
47
  import "./chunk-6QJ2HF4O.mjs";
48
- import "./chunk-XLVEWZWT.mjs";
49
- import "./chunk-MJJPWASL.mjs";
50
- import "./chunk-56I7ST5F.mjs";
48
+ import "./chunk-OIFPBVSF.mjs";
49
+ import "./chunk-AD7BMXAA.mjs";
50
+ import "./chunk-LRFRIIKG.mjs";
51
51
  import "./chunk-M4JDRFYB.mjs";
52
- import "./chunk-ERNSJXVF.mjs";
52
+ import "./chunk-IIRJMJFU.mjs";
53
53
  import "./chunk-Y2EFNT5P.mjs";
54
54
  import {
55
55
  walkTree
package/dist/rsc.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './actions-C0LX6bI4.mjs';
3
- export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-5oDs6qOL.mjs';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './actions-DDpLL_TR.mjs';
3
+ export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-Cxbt1UVr.mjs';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
package/dist/rsc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './actions-C0LX6bI4.js';
3
- export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-B1q6t5Jp.js';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './actions-DDpLL_TR.js';
3
+ export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-Cnyva5MB.js';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
package/dist/rsc.js CHANGED
@@ -1160,7 +1160,6 @@ var defaultAppState = {
1160
1160
  ui: {
1161
1161
  leftSideBarVisible: true,
1162
1162
  rightSideBarVisible: true,
1163
- navBarVisible: true,
1164
1163
  arrayState: {},
1165
1164
  itemSelector: null,
1166
1165
  componentList: {},
package/dist/rsc.mjs CHANGED
@@ -7,9 +7,9 @@ import {
7
7
  transformProps,
8
8
  useRichtextProps,
9
9
  useSlots
10
- } from "./chunk-II42EKFK.mjs";
10
+ } from "./chunk-PUDWMFBH.mjs";
11
11
  import "./chunk-6QJ2HF4O.mjs";
12
- import "./chunk-ERNSJXVF.mjs";
12
+ import "./chunk-IIRJMJFU.mjs";
13
13
  import "./chunk-Y2EFNT5P.mjs";
14
14
  import {
15
15
  rootAreaId,
@@ -1,4 +1,4 @@
1
- import { C as Config, D as Data, W as WithId, U as UserGenerics, j as Content, b as ComponentData, k as DefaultComponents, l as DefaultComponentProps, m as DefaultRootFieldProps, M as Metadata, n as RootData } from './actions-C0LX6bI4.js';
1
+ import { C as Config, D as Data, W as WithId, U as UserGenerics, j as Content, b as ComponentData, k as DefaultComponents, l as DefaultComponentProps, m as DefaultRootFieldProps, M as Metadata, n as RootData } from './actions-DDpLL_TR.js';
2
2
 
3
3
  type GetRoutePropsOptions = {
4
4
  /** Defaults to "/editor". Pass null to skip editor-prefix handling. */
@@ -1,4 +1,4 @@
1
- import { C as Config, D as Data, W as WithId, U as UserGenerics, j as Content, b as ComponentData, k as DefaultComponents, l as DefaultComponentProps, m as DefaultRootFieldProps, M as Metadata, n as RootData } from './actions-C0LX6bI4.mjs';
1
+ import { C as Config, D as Data, W as WithId, U as UserGenerics, j as Content, b as ComponentData, k as DefaultComponents, l as DefaultComponentProps, m as DefaultRootFieldProps, M as Metadata, n as RootData } from './actions-DDpLL_TR.mjs';
2
2
 
3
3
  type GetRoutePropsOptions = {
4
4
  /** Defaults to "/editor". Pass null to skip editor-prefix handling. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reacteditor/core",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "The open-source visual editor for React",
5
5
  "author": "Rami Bitar <rami@frontend.co>",
6
6
  "repository": "reacteditor/editor",