@reacteditor/core 0.0.10 → 0.0.12
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.
- package/README.md +7 -7
- package/dist/{Editor-3COFH5WN.mjs → Editor-GK6JTUPD.mjs} +7 -7
- package/dist/{actions-B8_EA7vy.d.mts → actions-C0LX6bI4.d.mts} +1 -0
- package/dist/{actions-B8_EA7vy.d.ts → actions-C0LX6bI4.d.ts} +1 -0
- package/dist/{chunk-LRFRIIKG.mjs → chunk-56I7ST5F.mjs} +1 -1
- package/dist/{chunk-IIRJMJFU.mjs → chunk-ERNSJXVF.mjs} +1 -0
- package/dist/{chunk-PUDWMFBH.mjs → chunk-II42EKFK.mjs} +1 -1
- package/dist/{chunk-AD7BMXAA.mjs → chunk-MJJPWASL.mjs} +1 -1
- package/dist/{chunk-3IP22OOD.mjs → chunk-OKTANBAI.mjs} +1140 -1118
- package/dist/{chunk-BUR5T7IX.mjs → chunk-TGVAC3JP.mjs} +7 -7
- package/dist/{chunk-FT6UFK7G.mjs → chunk-X4EUZIHA.mjs} +1 -1
- package/dist/{chunk-OIFPBVSF.mjs → chunk-XLVEWZWT.mjs} +1 -1
- package/dist/{chunk-BZ4BQZJR.mjs → chunk-YBG2RYVF.mjs} +3 -3
- package/dist/{full-QT5KXRDP.mjs → full-IUPXFMQP.mjs} +6 -6
- package/dist/{index-JoD48fK_.d.mts → index-DMbFEg8G.d.mts} +1 -1
- package/dist/{index-BrHy0cc_.d.ts → index-DmThy7vE.d.ts} +1 -1
- package/dist/index.css +69 -65
- package/dist/index.d.mts +52 -7
- package/dist/index.d.ts +52 -7
- package/dist/index.js +157 -134
- package/dist/index.mjs +9 -9
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/{loaded-GLBLMTBL.mjs → loaded-BT7NIVEO.mjs} +3 -3
- package/dist/{loaded-O4QHGE26.mjs → loaded-HVOKDVC3.mjs} +3 -3
- package/dist/{loaded-R34BR6I5.mjs → loaded-YFYCF5F4.mjs} +3 -3
- package/dist/no-external.css +69 -65
- package/dist/no-external.d.mts +4 -4
- package/dist/no-external.d.ts +4 -4
- package/dist/no-external.js +157 -134
- package/dist/no-external.mjs +9 -9
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +1 -0
- package/dist/rsc.mjs +2 -2
- package/dist/{walk-tree-BR2XIZ0W.d.mts → walk-tree-5oDs6qOL.d.mts} +1 -1
- package/dist/{walk-tree-DpUJ9kDx.d.ts → walk-tree-B1q6t5Jp.d.ts} +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
usePropsContext,
|
|
26
26
|
useRouteParams,
|
|
27
27
|
useStableValue
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-OKTANBAI.mjs";
|
|
29
|
+
import "./chunk-YBG2RYVF.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-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-TGVAC3JP.mjs";
|
|
39
|
+
import "./chunk-X4EUZIHA.mjs";
|
|
40
40
|
import {
|
|
41
41
|
getRouteProps,
|
|
42
42
|
migrate,
|
|
43
43
|
resolveAllData,
|
|
44
44
|
resolveRouteFromString,
|
|
45
45
|
transformProps
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-II42EKFK.mjs";
|
|
47
47
|
import "./chunk-6QJ2HF4O.mjs";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-XLVEWZWT.mjs";
|
|
49
|
+
import "./chunk-MJJPWASL.mjs";
|
|
50
|
+
import "./chunk-56I7ST5F.mjs";
|
|
51
51
|
import "./chunk-M4JDRFYB.mjs";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-ERNSJXVF.mjs";
|
|
53
53
|
import "./chunk-Y2EFNT5P.mjs";
|
|
54
54
|
import {
|
|
55
55
|
walkTree
|
package/dist/internal.d.mts
CHANGED
|
@@ -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-
|
|
3
|
-
import { A as AppStore } from './index-
|
|
2
|
+
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-C0LX6bI4.mjs';
|
|
3
|
+
import { A as AppStore } from './index-DMbFEg8G.mjs';
|
|
4
4
|
import '@tiptap/react';
|
|
5
5
|
import '@tiptap/extension-blockquote';
|
|
6
6
|
import '@tiptap/extension-bold';
|
package/dist/internal.d.ts
CHANGED
|
@@ -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-
|
|
3
|
-
import { A as AppStore } from './index-
|
|
2
|
+
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-C0LX6bI4.js';
|
|
3
|
+
import { A as AppStore } from './index-DmThy7vE.js';
|
|
4
4
|
import '@tiptap/react';
|
|
5
5
|
import '@tiptap/extension-blockquote';
|
|
6
6
|
import '@tiptap/extension-bold';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAlignOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XLVEWZWT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AlignLeft,
|
|
6
6
|
SelectControl,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-56I7ST5F.mjs";
|
|
9
9
|
import "./chunk-M4JDRFYB.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ERNSJXVF.mjs";
|
|
11
11
|
import "./chunk-Y2EFNT5P.mjs";
|
|
12
12
|
import "./chunk-JIXMPJZA.mjs";
|
|
13
13
|
import {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useListOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X4EUZIHA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
List,
|
|
6
6
|
SelectControl,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-56I7ST5F.mjs";
|
|
9
9
|
import "./chunk-M4JDRFYB.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ERNSJXVF.mjs";
|
|
11
11
|
import "./chunk-Y2EFNT5P.mjs";
|
|
12
12
|
import "./chunk-JIXMPJZA.mjs";
|
|
13
13
|
import {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useHeadingOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MJJPWASL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Heading,
|
|
6
6
|
SelectControl,
|
|
7
7
|
useControlContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-56I7ST5F.mjs";
|
|
9
9
|
import "./chunk-M4JDRFYB.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ERNSJXVF.mjs";
|
|
11
11
|
import "./chunk-Y2EFNT5P.mjs";
|
|
12
12
|
import "./chunk-JIXMPJZA.mjs";
|
|
13
13
|
import {
|
package/dist/no-external.css
CHANGED
|
@@ -1823,21 +1823,21 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
|
|
1825
1825
|
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Drawer/styles.module.css/#css-module-data */
|
|
1826
|
-
.
|
|
1826
|
+
._Drawer_1h4db_1 {
|
|
1827
1827
|
display: flex;
|
|
1828
1828
|
flex-direction: column;
|
|
1829
1829
|
font-family: var(--editor-font-family);
|
|
1830
1830
|
gap: 6px;
|
|
1831
1831
|
}
|
|
1832
|
-
._Drawer--
|
|
1832
|
+
._Drawer--tile_1h4db_8 {
|
|
1833
1833
|
display: grid;
|
|
1834
1834
|
grid-template-columns: repeat(auto-fill, minmax(min(88px, calc(50% - 3px)), 1fr));
|
|
1835
1835
|
gap: 6px;
|
|
1836
1836
|
}
|
|
1837
|
-
._Drawer-
|
|
1837
|
+
._Drawer-draggable_1h4db_19 {
|
|
1838
1838
|
position: relative;
|
|
1839
1839
|
}
|
|
1840
|
-
._Drawer-
|
|
1840
|
+
._Drawer-draggableBg_1h4db_23 {
|
|
1841
1841
|
position: absolute;
|
|
1842
1842
|
top: 0;
|
|
1843
1843
|
right: 0;
|
|
@@ -1846,8 +1846,8 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1846
1846
|
pointer-events: none;
|
|
1847
1847
|
z-index: -1;
|
|
1848
1848
|
}
|
|
1849
|
-
._DrawerItem-
|
|
1850
|
-
background: var(--editor-surface-
|
|
1849
|
+
._DrawerItem-draggable_1h4db_33 {
|
|
1850
|
+
background: var(--editor-surface-raised);
|
|
1851
1851
|
cursor: grab;
|
|
1852
1852
|
padding: 8px 10px;
|
|
1853
1853
|
display: flex;
|
|
@@ -1863,43 +1863,43 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1863
1863
|
border-color var(--editor-motion-fast) var(--editor-ease),
|
|
1864
1864
|
box-shadow var(--editor-motion-fast) var(--editor-ease);
|
|
1865
1865
|
}
|
|
1866
|
-
._DrawerItem-
|
|
1866
|
+
._DrawerItem-icon_1h4db_50 {
|
|
1867
1867
|
color: var(--editor-text-tertiary);
|
|
1868
1868
|
display: flex;
|
|
1869
1869
|
transition: color var(--editor-motion-fast) var(--editor-ease);
|
|
1870
1870
|
}
|
|
1871
|
-
._DrawerItem--
|
|
1871
|
+
._DrawerItem--disabled_1h4db_56 ._DrawerItem-draggable_1h4db_33 {
|
|
1872
1872
|
background: var(--editor-surface-sunken);
|
|
1873
1873
|
color: var(--editor-text-tertiary);
|
|
1874
1874
|
cursor: not-allowed;
|
|
1875
1875
|
}
|
|
1876
|
-
.
|
|
1876
|
+
._DrawerItem_1h4db_33:focus-visible {
|
|
1877
1877
|
outline: 0;
|
|
1878
1878
|
}
|
|
1879
|
-
.
|
|
1879
|
+
._Drawer_1h4db_1:not(._Drawer--isDraggingFrom_1h4db_66) ._DrawerItem_1h4db_33:focus-visible ._DrawerItem-draggable_1h4db_33 {
|
|
1880
1880
|
border-radius: var(--editor-radius-md);
|
|
1881
1881
|
outline: none;
|
|
1882
1882
|
box-shadow: var(--editor-ring);
|
|
1883
1883
|
}
|
|
1884
1884
|
@media (hover: hover) and (pointer: fine) {
|
|
1885
|
-
.
|
|
1885
|
+
._Drawer_1h4db_1:not(._Drawer--isDraggingFrom_1h4db_66) ._DrawerItem_1h4db_33:not(._DrawerItem--disabled_1h4db_56) ._DrawerItem-draggable_1h4db_33:hover {
|
|
1886
1886
|
background-color: var(--editor-surface-hover);
|
|
1887
1887
|
border-color: var(--editor-border-default);
|
|
1888
1888
|
color: var(--editor-text-accent);
|
|
1889
1889
|
box-shadow: var(--editor-shadow-sm);
|
|
1890
1890
|
transition: none;
|
|
1891
1891
|
}
|
|
1892
|
-
.
|
|
1892
|
+
._Drawer_1h4db_1:not(._Drawer--isDraggingFrom_1h4db_66) ._DrawerItem_1h4db_33:not(._DrawerItem--disabled_1h4db_56) ._DrawerItem-draggable_1h4db_33:hover ._DrawerItem-icon_1h4db_50 {
|
|
1893
1893
|
color: var(--editor-text-accent);
|
|
1894
1894
|
}
|
|
1895
1895
|
}
|
|
1896
|
-
._DrawerItem-
|
|
1896
|
+
._DrawerItem-name_1h4db_91 {
|
|
1897
1897
|
overflow-x: hidden;
|
|
1898
1898
|
text-overflow: ellipsis;
|
|
1899
1899
|
white-space: nowrap;
|
|
1900
1900
|
font-weight: 500;
|
|
1901
1901
|
}
|
|
1902
|
-
._Drawer--
|
|
1902
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-draggable_1h4db_33 {
|
|
1903
1903
|
flex-direction: column;
|
|
1904
1904
|
align-items: center;
|
|
1905
1905
|
justify-content: center;
|
|
@@ -1908,16 +1908,16 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1908
1908
|
padding: 8px;
|
|
1909
1909
|
gap: 6px;
|
|
1910
1910
|
}
|
|
1911
|
-
._Drawer--
|
|
1911
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-icon_1h4db_50 {
|
|
1912
1912
|
display: flex;
|
|
1913
1913
|
align-items: center;
|
|
1914
1914
|
justify-content: center;
|
|
1915
1915
|
}
|
|
1916
|
-
._Drawer--
|
|
1916
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-icon_1h4db_50 svg {
|
|
1917
1917
|
width: 22px;
|
|
1918
1918
|
height: 22px;
|
|
1919
1919
|
}
|
|
1920
|
-
._Drawer--
|
|
1920
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-name_1h4db_91 {
|
|
1921
1921
|
width: 100%;
|
|
1922
1922
|
font-size: var(--editor-font-size-xxxs);
|
|
1923
1923
|
line-height: 1.2;
|
|
@@ -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
|
-
.
|
|
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
|
-
.
|
|
2352
|
+
._Editor_frglt_19 {
|
|
2353
2353
|
overflow-x: auto;
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
|
-
._Editor-
|
|
2356
|
+
._Editor-portal_frglt_32 {
|
|
2357
2357
|
position: relative;
|
|
2358
2358
|
z-index: 2;
|
|
2359
2359
|
}
|
|
2360
|
-
.
|
|
2360
|
+
._EditorLayout_frglt_37 {
|
|
2361
2361
|
height: 100dvh;
|
|
2362
2362
|
}
|
|
2363
|
-
._EditorLayout-
|
|
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-
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
2411
|
-
._EditorLayout--
|
|
2412
|
-
._EditorLayout--
|
|
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--
|
|
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--
|
|
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-
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
2462
|
+
._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
|
|
2459
2463
|
--editor-side-bar-width: 320px;
|
|
2460
2464
|
}
|
|
2461
2465
|
}
|
|
2462
|
-
._EditorLayout-
|
|
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-
|
|
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-
|
|
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-
|
|
2489
|
+
._Editor-fieldSideBarHistory_frglt_218 {
|
|
2486
2490
|
color: var(--editor-text-tertiary);
|
|
2487
2491
|
display: flex;
|
|
2488
2492
|
gap: 2px;
|
|
2489
2493
|
}
|
|
2490
|
-
._Editor-
|
|
2494
|
+
._Editor-fieldSideBarActions_frglt_224 {
|
|
2491
2495
|
align-items: center;
|
|
2492
2496
|
display: flex;
|
|
2493
2497
|
gap: 8px;
|
|
2494
2498
|
}
|
|
2495
|
-
._EditorLayout-
|
|
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--
|
|
2507
|
+
._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-mobilePanel_frglt_230 {
|
|
2504
2508
|
display: flex;
|
|
2505
2509
|
}
|
|
2506
2510
|
@media (min-width: 638px) {
|
|
2507
|
-
._EditorLayout-
|
|
2508
|
-
._EditorLayout--
|
|
2511
|
+
._EditorLayout-mobilePanel_frglt_230,
|
|
2512
|
+
._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-mobilePanel_frglt_230 {
|
|
2509
2513
|
display: none;
|
|
2510
2514
|
}
|
|
2511
2515
|
}
|
|
2512
|
-
._EditorLayout-
|
|
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-
|
|
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-
|
|
2531
|
+
._EditorLayout-mobileDragHandle_frglt_257:active {
|
|
2528
2532
|
cursor: grabbing;
|
|
2529
2533
|
}
|
|
2530
|
-
._EditorLayout-
|
|
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
|
-
.
|
|
2540
|
+
._EditorPluginTab_frglt_278 {
|
|
2537
2541
|
display: none;
|
|
2538
2542
|
flex-grow: 1;
|
|
2539
2543
|
max-height: 100%;
|
|
2540
2544
|
}
|
|
2541
|
-
._EditorPluginTab--
|
|
2545
|
+
._EditorPluginTab--visible_frglt_284 {
|
|
2542
2546
|
display: flex;
|
|
2543
2547
|
flex-direction: column;
|
|
2544
2548
|
}
|
|
2545
|
-
._EditorPluginTab-
|
|
2549
|
+
._EditorPluginTab-body_frglt_289 {
|
|
2546
2550
|
flex-grow: 1;
|
|
2547
2551
|
max-height: 100%;
|
|
2548
2552
|
}
|
|
@@ -3190,14 +3194,6 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
|
|
|
3190
3194
|
display: none;
|
|
3191
3195
|
}
|
|
3192
3196
|
|
|
3193
|
-
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/plugins/outline/styles.module.css/#css-module-data */
|
|
3194
|
-
._OutlinePlugin_q92j6_1 {
|
|
3195
|
-
padding: 16px;
|
|
3196
|
-
height: 100%;
|
|
3197
|
-
overflow-y: auto;
|
|
3198
|
-
box-sizing: border-box;
|
|
3199
|
-
}
|
|
3200
|
-
|
|
3201
3197
|
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/plugins/fields/styles.module.css/#css-module-data */
|
|
3202
3198
|
._FieldsPlugin_262zt_1 {
|
|
3203
3199
|
background: white;
|
|
@@ -3217,3 +3213,11 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
|
|
|
3217
3213
|
padding: 16px;
|
|
3218
3214
|
}
|
|
3219
3215
|
}
|
|
3216
|
+
|
|
3217
|
+
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/plugins/outline/styles.module.css/#css-module-data */
|
|
3218
|
+
._OutlinePlugin_q92j6_1 {
|
|
3219
|
+
padding: 16px;
|
|
3220
|
+
height: 100%;
|
|
3221
|
+
overflow-y: auto;
|
|
3222
|
+
box-sizing: border-box;
|
|
3223
|
+
}
|
package/dist/no-external.d.mts
CHANGED
|
@@ -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-
|
|
2
|
-
export { Action, ActionBar, App, AppContextValue, AppMatched, AppProps, AppProvider, AppProviderProps, 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-
|
|
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';
|
|
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';
|
|
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-
|
|
21
|
+
import './index-DMbFEg8G.mjs';
|
package/dist/no-external.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
export { Action, ActionBar, App, AppContextValue, AppMatched, AppProps, AppProvider, AppProviderProps, 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-
|
|
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';
|
|
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';
|
|
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-
|
|
21
|
+
import './index-DmThy7vE.js';
|