@reacteditor/core 0.0.9 → 0.0.11
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-KXEVJBNG.mjs → Editor-GK6JTUPD.mjs} +7 -7
- package/dist/{actions-2L-1hQ7r.d.mts → actions-C0LX6bI4.d.mts} +2 -1
- package/dist/{actions-2L-1hQ7r.d.ts → actions-C0LX6bI4.d.ts} +2 -1
- package/dist/{chunk-LRFRIIKG.mjs → chunk-56I7ST5F.mjs} +1 -1
- package/dist/{chunk-DU757QEH.mjs → chunk-74TOLW7F.mjs} +1561 -1266
- package/dist/{chunk-IIRJMJFU.mjs → chunk-ERNSJXVF.mjs} +1 -0
- package/dist/{chunk-TI3KC54Y.mjs → chunk-II42EKFK.mjs} +47 -1
- package/dist/{chunk-AD7BMXAA.mjs → chunk-MJJPWASL.mjs} +1 -1
- package/dist/{chunk-U7VW3V3W.mjs → chunk-TGVAC3JP.mjs} +9 -9
- package/dist/{chunk-FT6UFK7G.mjs → chunk-X4EUZIHA.mjs} +1 -1
- package/dist/{chunk-OIFPBVSF.mjs → chunk-XLVEWZWT.mjs} +1 -1
- package/dist/{chunk-AJWRDM22.mjs → chunk-YBG2RYVF.mjs} +5 -5
- package/dist/{full-ZFZZ626B.mjs → full-IUPXFMQP.mjs} +6 -6
- package/dist/{index-BXuSeNez.d.mts → index-DMbFEg8G.d.mts} +1 -1
- package/dist/{index-BNsSzMCj.d.ts → index-DmThy7vE.d.ts} +1 -1
- package/dist/index.css +109 -109
- package/dist/index.d.mts +155 -17
- package/dist/index.d.ts +155 -17
- package/dist/index.js +1080 -731
- package/dist/index.mjs +31 -15
- 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/nextjs.d.mts +38 -0
- package/dist/nextjs.d.ts +38 -0
- package/dist/nextjs.js +65 -0
- package/dist/nextjs.mjs +30 -0
- package/dist/no-external.css +109 -109
- package/dist/no-external.d.mts +4 -4
- package/dist/no-external.d.ts +4 -4
- package/dist/no-external.js +1080 -731
- package/dist/no-external.mjs +31 -15
- package/dist/remix.d.mts +33 -0
- package/dist/remix.d.ts +33 -0
- package/dist/remix.js +65 -0
- package/dist/remix.mjs +30 -0
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +49 -0
- package/dist/rsc.mjs +6 -2
- package/dist/{walk-tree-C9GrSWsR.d.ts → walk-tree-5oDs6qOL.d.mts} +33 -2
- package/dist/{walk-tree-4C3ODO3X.d.mts → walk-tree-B1q6t5Jp.d.ts} +33 -2
- package/package.json +17 -6
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
defaultAppState,
|
|
6
6
|
resolveComponentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ERNSJXVF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
get_class_name_factory_default
|
|
10
10
|
} from "./chunk-Y2EFNT5P.mjs";
|
|
@@ -24,6 +24,50 @@ import {
|
|
|
24
24
|
init_react_import
|
|
25
25
|
} from "./chunk-M6W7YEVX.mjs";
|
|
26
26
|
|
|
27
|
+
// lib/get-route-props.ts
|
|
28
|
+
init_react_import();
|
|
29
|
+
import { matchRoutes } from "react-router";
|
|
30
|
+
var DEFAULT_EDITOR_PATH = "/editor";
|
|
31
|
+
var stripEditorPrefix = (currentRoute, editorPath) => {
|
|
32
|
+
if (!editorPath) return currentRoute;
|
|
33
|
+
if (currentRoute === editorPath) return "/";
|
|
34
|
+
if (!currentRoute.startsWith(`${editorPath}/`)) return currentRoute;
|
|
35
|
+
const rest = currentRoute.slice(editorPath.length);
|
|
36
|
+
return rest.startsWith("/") ? rest : `/${rest}`;
|
|
37
|
+
};
|
|
38
|
+
var findMatch = (pages, pathname) => {
|
|
39
|
+
const keys = Object.keys(pages);
|
|
40
|
+
if (keys.length === 0) return null;
|
|
41
|
+
const matches = matchRoutes(
|
|
42
|
+
keys.map((path) => ({ path })),
|
|
43
|
+
pathname
|
|
44
|
+
);
|
|
45
|
+
if (!matches || matches.length === 0) return null;
|
|
46
|
+
const last = matches[matches.length - 1];
|
|
47
|
+
const key = last.route.path;
|
|
48
|
+
return { route: key, params: last.params, data: pages[key] };
|
|
49
|
+
};
|
|
50
|
+
var getRouteProps = (pages, currentRoute, options = {}) => {
|
|
51
|
+
var _a, _b;
|
|
52
|
+
const editorPath = options.editorPath === void 0 ? DEFAULT_EDITOR_PATH : options.editorPath;
|
|
53
|
+
const matchRoute = stripEditorPrefix(currentRoute || "/", editorPath);
|
|
54
|
+
const match = findMatch(pages, matchRoute);
|
|
55
|
+
if (!match) return null;
|
|
56
|
+
const props = (_b = (_a = match.data) == null ? void 0 : _a.root) == null ? void 0 : _b.props;
|
|
57
|
+
return props != null ? props : null;
|
|
58
|
+
};
|
|
59
|
+
var resolveRouteFromString = (pages, currentRoute, options = {}) => {
|
|
60
|
+
const editorPath = options.editorPath === void 0 ? DEFAULT_EDITOR_PATH : options.editorPath;
|
|
61
|
+
const matchRoute = stripEditorPrefix(currentRoute || "/", editorPath);
|
|
62
|
+
const match = findMatch(pages, matchRoute);
|
|
63
|
+
if (!match) return null;
|
|
64
|
+
return {
|
|
65
|
+
route: match.route,
|
|
66
|
+
data: match.data,
|
|
67
|
+
params: match.params
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
|
|
27
71
|
// lib/migrate.ts
|
|
28
72
|
init_react_import();
|
|
29
73
|
var migrations = [
|
|
@@ -470,6 +514,8 @@ export {
|
|
|
470
514
|
useRichtextProps,
|
|
471
515
|
SlotRenderPure,
|
|
472
516
|
SlotRender,
|
|
517
|
+
getRouteProps,
|
|
518
|
+
resolveRouteFromString,
|
|
473
519
|
migrate,
|
|
474
520
|
transformProps,
|
|
475
521
|
resolveAllData
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useListOptions
|
|
3
|
+
} from "./chunk-X4EUZIHA.mjs";
|
|
1
4
|
import {
|
|
2
5
|
useAlignOptions
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XLVEWZWT.mjs";
|
|
4
7
|
import {
|
|
5
8
|
useHeadingOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
useListOptions
|
|
9
|
-
} from "./chunk-FT6UFK7G.mjs";
|
|
9
|
+
} from "./chunk-MJJPWASL.mjs";
|
|
10
10
|
import {
|
|
11
11
|
AlignCenter,
|
|
12
12
|
AlignJustify,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
Strikethrough,
|
|
27
27
|
Underline,
|
|
28
28
|
useControlContext
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-56I7ST5F.mjs";
|
|
30
30
|
import {
|
|
31
31
|
get_class_name_factory_default
|
|
32
32
|
} from "./chunk-Y2EFNT5P.mjs";
|
|
@@ -349,7 +349,7 @@ function AlignSelectFallback() {
|
|
|
349
349
|
// components/RichTextMenu/controls/AlignSelect/index.tsx
|
|
350
350
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
351
351
|
var AlignSelectLoaded = lazy(
|
|
352
|
-
() => import("./loaded-
|
|
352
|
+
() => import("./loaded-BT7NIVEO.mjs").then((m) => ({
|
|
353
353
|
default: m.AlignSelectLoaded
|
|
354
354
|
}))
|
|
355
355
|
);
|
|
@@ -580,7 +580,7 @@ function HeadingSelectFallback() {
|
|
|
580
580
|
// components/RichTextMenu/controls/HeadingSelect/index.tsx
|
|
581
581
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
582
582
|
var HeadingSelectLoaded = lazy2(
|
|
583
|
-
() => import("./loaded-
|
|
583
|
+
() => import("./loaded-YFYCF5F4.mjs").then((m) => ({
|
|
584
584
|
default: m.HeadingSelectLoaded
|
|
585
585
|
}))
|
|
586
586
|
);
|
|
@@ -612,7 +612,7 @@ function ListSelectFallback() {
|
|
|
612
612
|
// components/RichTextMenu/controls/ListSelect/index.tsx
|
|
613
613
|
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
614
614
|
var ListSelectLoaded = lazy3(
|
|
615
|
-
() => import("./loaded-
|
|
615
|
+
() => import("./loaded-HVOKDVC3.mjs").then((m) => ({
|
|
616
616
|
default: m.ListSelectLoaded
|
|
617
617
|
}))
|
|
618
618
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LoadedRichTextMenuInner
|
|
3
|
+
} from "./chunk-TGVAC3JP.mjs";
|
|
1
4
|
import {
|
|
2
5
|
styles_module_default
|
|
3
6
|
} from "./chunk-6QJ2HF4O.mjs";
|
|
4
|
-
import {
|
|
5
|
-
LoadedRichTextMenuInner
|
|
6
|
-
} from "./chunk-U7VW3V3W.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useAppStore,
|
|
9
9
|
useAppStoreApi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-56I7ST5F.mjs";
|
|
11
11
|
import {
|
|
12
12
|
get_class_name_factory_default
|
|
13
13
|
} from "./chunk-Y2EFNT5P.mjs";
|
|
@@ -100,7 +100,7 @@ init_react_import();
|
|
|
100
100
|
import { lazy, Suspense } from "react";
|
|
101
101
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
102
102
|
var LoadedRichTextMenuFull = lazy(
|
|
103
|
-
() => import("./full-
|
|
103
|
+
() => import("./full-IUPXFMQP.mjs").then((m) => ({
|
|
104
104
|
default: m.LoadedRichTextMenuFull
|
|
105
105
|
}))
|
|
106
106
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-TGVAC3JP.mjs";
|
|
4
|
+
import "./chunk-X4EUZIHA.mjs";
|
|
5
|
+
import "./chunk-XLVEWZWT.mjs";
|
|
6
|
+
import "./chunk-MJJPWASL.mjs";
|
|
7
|
+
import "./chunk-56I7ST5F.mjs";
|
|
8
8
|
import "./chunk-M4JDRFYB.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ERNSJXVF.mjs";
|
|
10
10
|
import "./chunk-Y2EFNT5P.mjs";
|
|
11
11
|
import "./chunk-JIXMPJZA.mjs";
|
|
12
12
|
import {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as History,
|
|
1
|
+
import { H as History, a as Permissions, b as ComponentData, C as Config, U as UserGenerics, F as Fields, E as EditorAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, e as Overrides, V as Viewports, I as IframeConfig, f as UiState, g as ComponentConfig, A as AppState, M as Metadata, h as FieldTransforms, i as RichtextField } from './actions-C0LX6bI4.mjs';
|
|
2
2
|
import { Editor } from '@tiptap/react';
|
|
3
3
|
|
|
4
4
|
type HistorySlice<D = any> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as History,
|
|
1
|
+
import { H as History, a as Permissions, b as ComponentData, C as Config, U as UserGenerics, F as Fields, E as EditorAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, e as Overrides, V as Viewports, I as IframeConfig, f as UiState, g as ComponentConfig, A as AppState, M as Metadata, h as FieldTransforms, i as RichtextField } from './actions-C0LX6bI4.js';
|
|
2
2
|
import { Editor } from '@tiptap/react';
|
|
3
3
|
|
|
4
4
|
type HistorySlice<D = any> = {
|
package/dist/index.css
CHANGED
|
@@ -1686,6 +1686,90 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1686
1686
|
padding: 14px 12px;
|
|
1687
1687
|
}
|
|
1688
1688
|
|
|
1689
|
+
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Fields/styles.module.css/#css-module-data */
|
|
1690
|
+
._EditorFields_3dnua_1 {
|
|
1691
|
+
position: relative;
|
|
1692
|
+
font-family: var(--editor-font-family);
|
|
1693
|
+
}
|
|
1694
|
+
._EditorFields--isLoading_3dnua_6 {
|
|
1695
|
+
min-height: 48px;
|
|
1696
|
+
}
|
|
1697
|
+
._EditorFields-loadingOverlay_3dnua_10 {
|
|
1698
|
+
background: var(--editor-surface-panel);
|
|
1699
|
+
display: flex;
|
|
1700
|
+
justify-content: flex-end;
|
|
1701
|
+
align-items: flex-start;
|
|
1702
|
+
height: 100%;
|
|
1703
|
+
width: 100%;
|
|
1704
|
+
top: 0px;
|
|
1705
|
+
position: absolute;
|
|
1706
|
+
z-index: 1;
|
|
1707
|
+
pointer-events: all;
|
|
1708
|
+
box-sizing: border-box;
|
|
1709
|
+
opacity: 0.8;
|
|
1710
|
+
}
|
|
1711
|
+
._EditorFields-loadingOverlayInner_3dnua_25 {
|
|
1712
|
+
display: flex;
|
|
1713
|
+
padding: 16px;
|
|
1714
|
+
position: sticky;
|
|
1715
|
+
top: 0;
|
|
1716
|
+
}
|
|
1717
|
+
._EditorFields-field_3dnua_32 * {
|
|
1718
|
+
box-sizing: border-box;
|
|
1719
|
+
}
|
|
1720
|
+
._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 {
|
|
1721
|
+
color: var(--editor-text-secondary);
|
|
1722
|
+
padding: 14px 16px;
|
|
1723
|
+
display: block;
|
|
1724
|
+
}
|
|
1725
|
+
._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 + ._EditorFields-field_3dnua_32 {
|
|
1726
|
+
border-top: 1px solid var(--editor-border-subtle);
|
|
1727
|
+
}
|
|
1728
|
+
._EditorFields-syncButton_3dnua_46 {
|
|
1729
|
+
align-items: center;
|
|
1730
|
+
background: transparent;
|
|
1731
|
+
border: 1px solid var(--editor-color-global);
|
|
1732
|
+
border-radius: var(--editor-radius-md);
|
|
1733
|
+
color: var(--editor-color-global);
|
|
1734
|
+
cursor: pointer;
|
|
1735
|
+
display: flex;
|
|
1736
|
+
font: inherit;
|
|
1737
|
+
font-size: var(--editor-font-size-xxs);
|
|
1738
|
+
font-weight: 500;
|
|
1739
|
+
gap: 8px;
|
|
1740
|
+
justify-content: center;
|
|
1741
|
+
margin: 12px 16px;
|
|
1742
|
+
padding: 10px;
|
|
1743
|
+
transition:
|
|
1744
|
+
background-color var(--editor-motion-fast) var(--editor-ease),
|
|
1745
|
+
border-color var(--editor-motion-fast) var(--editor-ease),
|
|
1746
|
+
color var(--editor-motion-fast) var(--editor-ease);
|
|
1747
|
+
width: calc(100% - 32px);
|
|
1748
|
+
}
|
|
1749
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1750
|
+
._EditorFields-syncButton_3dnua_46:hover {
|
|
1751
|
+
background: var(--editor-color-global-soft);
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
._EditorFields-syncButton_3dnua_46:focus-visible {
|
|
1755
|
+
outline: none;
|
|
1756
|
+
box-shadow: var(--editor-ring);
|
|
1757
|
+
}
|
|
1758
|
+
._EditorFields-syncButton--unlinked_3dnua_78 {
|
|
1759
|
+
border-color: var(--editor-border-default);
|
|
1760
|
+
color: var(--editor-text-secondary);
|
|
1761
|
+
}
|
|
1762
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1763
|
+
._EditorFields-syncButton--unlinked_3dnua_78:hover {
|
|
1764
|
+
background: var(--editor-surface-hover);
|
|
1765
|
+
border-color: var(--editor-border-strong);
|
|
1766
|
+
color: var(--editor-text-primary);
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
._EditorFields--wrapFields_3dnua_36 ._EditorFields-syncButton_3dnua_46 + ._EditorFields-field_3dnua_32 {
|
|
1770
|
+
border-top: none;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1689
1773
|
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/ComponentList/styles.module.css/#css-module-data */
|
|
1690
1774
|
._ComponentList_1mlcu_1 {
|
|
1691
1775
|
max-width: 100%;
|
|
@@ -1741,21 +1825,21 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1741
1825
|
}
|
|
1742
1826
|
|
|
1743
1827
|
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Drawer/styles.module.css/#css-module-data */
|
|
1744
|
-
.
|
|
1828
|
+
._Drawer_1h4db_1 {
|
|
1745
1829
|
display: flex;
|
|
1746
1830
|
flex-direction: column;
|
|
1747
1831
|
font-family: var(--editor-font-family);
|
|
1748
1832
|
gap: 6px;
|
|
1749
1833
|
}
|
|
1750
|
-
._Drawer--
|
|
1834
|
+
._Drawer--tile_1h4db_8 {
|
|
1751
1835
|
display: grid;
|
|
1752
1836
|
grid-template-columns: repeat(auto-fill, minmax(min(88px, calc(50% - 3px)), 1fr));
|
|
1753
1837
|
gap: 6px;
|
|
1754
1838
|
}
|
|
1755
|
-
._Drawer-
|
|
1839
|
+
._Drawer-draggable_1h4db_19 {
|
|
1756
1840
|
position: relative;
|
|
1757
1841
|
}
|
|
1758
|
-
._Drawer-
|
|
1842
|
+
._Drawer-draggableBg_1h4db_23 {
|
|
1759
1843
|
position: absolute;
|
|
1760
1844
|
top: 0;
|
|
1761
1845
|
right: 0;
|
|
@@ -1764,8 +1848,8 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1764
1848
|
pointer-events: none;
|
|
1765
1849
|
z-index: -1;
|
|
1766
1850
|
}
|
|
1767
|
-
._DrawerItem-
|
|
1768
|
-
background: var(--editor-surface-
|
|
1851
|
+
._DrawerItem-draggable_1h4db_33 {
|
|
1852
|
+
background: var(--editor-surface-raised);
|
|
1769
1853
|
cursor: grab;
|
|
1770
1854
|
padding: 8px 10px;
|
|
1771
1855
|
display: flex;
|
|
@@ -1781,43 +1865,43 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1781
1865
|
border-color var(--editor-motion-fast) var(--editor-ease),
|
|
1782
1866
|
box-shadow var(--editor-motion-fast) var(--editor-ease);
|
|
1783
1867
|
}
|
|
1784
|
-
._DrawerItem-
|
|
1868
|
+
._DrawerItem-icon_1h4db_50 {
|
|
1785
1869
|
color: var(--editor-text-tertiary);
|
|
1786
1870
|
display: flex;
|
|
1787
1871
|
transition: color var(--editor-motion-fast) var(--editor-ease);
|
|
1788
1872
|
}
|
|
1789
|
-
._DrawerItem--
|
|
1873
|
+
._DrawerItem--disabled_1h4db_56 ._DrawerItem-draggable_1h4db_33 {
|
|
1790
1874
|
background: var(--editor-surface-sunken);
|
|
1791
1875
|
color: var(--editor-text-tertiary);
|
|
1792
1876
|
cursor: not-allowed;
|
|
1793
1877
|
}
|
|
1794
|
-
.
|
|
1878
|
+
._DrawerItem_1h4db_33:focus-visible {
|
|
1795
1879
|
outline: 0;
|
|
1796
1880
|
}
|
|
1797
|
-
.
|
|
1881
|
+
._Drawer_1h4db_1:not(._Drawer--isDraggingFrom_1h4db_66) ._DrawerItem_1h4db_33:focus-visible ._DrawerItem-draggable_1h4db_33 {
|
|
1798
1882
|
border-radius: var(--editor-radius-md);
|
|
1799
1883
|
outline: none;
|
|
1800
1884
|
box-shadow: var(--editor-ring);
|
|
1801
1885
|
}
|
|
1802
1886
|
@media (hover: hover) and (pointer: fine) {
|
|
1803
|
-
.
|
|
1887
|
+
._Drawer_1h4db_1:not(._Drawer--isDraggingFrom_1h4db_66) ._DrawerItem_1h4db_33:not(._DrawerItem--disabled_1h4db_56) ._DrawerItem-draggable_1h4db_33:hover {
|
|
1804
1888
|
background-color: var(--editor-surface-hover);
|
|
1805
1889
|
border-color: var(--editor-border-default);
|
|
1806
1890
|
color: var(--editor-text-accent);
|
|
1807
1891
|
box-shadow: var(--editor-shadow-sm);
|
|
1808
1892
|
transition: none;
|
|
1809
1893
|
}
|
|
1810
|
-
.
|
|
1894
|
+
._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 {
|
|
1811
1895
|
color: var(--editor-text-accent);
|
|
1812
1896
|
}
|
|
1813
1897
|
}
|
|
1814
|
-
._DrawerItem-
|
|
1898
|
+
._DrawerItem-name_1h4db_91 {
|
|
1815
1899
|
overflow-x: hidden;
|
|
1816
1900
|
text-overflow: ellipsis;
|
|
1817
1901
|
white-space: nowrap;
|
|
1818
1902
|
font-weight: 500;
|
|
1819
1903
|
}
|
|
1820
|
-
._Drawer--
|
|
1904
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-draggable_1h4db_33 {
|
|
1821
1905
|
flex-direction: column;
|
|
1822
1906
|
align-items: center;
|
|
1823
1907
|
justify-content: center;
|
|
@@ -1826,16 +1910,16 @@ textarea._Input-input_zwh6e_27 {
|
|
|
1826
1910
|
padding: 8px;
|
|
1827
1911
|
gap: 6px;
|
|
1828
1912
|
}
|
|
1829
|
-
._Drawer--
|
|
1913
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-icon_1h4db_50 {
|
|
1830
1914
|
display: flex;
|
|
1831
1915
|
align-items: center;
|
|
1832
1916
|
justify-content: center;
|
|
1833
1917
|
}
|
|
1834
|
-
._Drawer--
|
|
1918
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-icon_1h4db_50 svg {
|
|
1835
1919
|
width: 22px;
|
|
1836
1920
|
height: 22px;
|
|
1837
1921
|
}
|
|
1838
|
-
._Drawer--
|
|
1922
|
+
._Drawer--tile_1h4db_8 ._DrawerItem-name_1h4db_91 {
|
|
1839
1923
|
width: 100%;
|
|
1840
1924
|
font-size: var(--editor-font-size-xxxs);
|
|
1841
1925
|
line-height: 1.2;
|
|
@@ -2051,90 +2135,6 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
|
|
|
2051
2135
|
display: none;
|
|
2052
2136
|
}
|
|
2053
2137
|
|
|
2054
|
-
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Fields/styles.module.css/#css-module-data */
|
|
2055
|
-
._EditorFields_3dnua_1 {
|
|
2056
|
-
position: relative;
|
|
2057
|
-
font-family: var(--editor-font-family);
|
|
2058
|
-
}
|
|
2059
|
-
._EditorFields--isLoading_3dnua_6 {
|
|
2060
|
-
min-height: 48px;
|
|
2061
|
-
}
|
|
2062
|
-
._EditorFields-loadingOverlay_3dnua_10 {
|
|
2063
|
-
background: var(--editor-surface-panel);
|
|
2064
|
-
display: flex;
|
|
2065
|
-
justify-content: flex-end;
|
|
2066
|
-
align-items: flex-start;
|
|
2067
|
-
height: 100%;
|
|
2068
|
-
width: 100%;
|
|
2069
|
-
top: 0px;
|
|
2070
|
-
position: absolute;
|
|
2071
|
-
z-index: 1;
|
|
2072
|
-
pointer-events: all;
|
|
2073
|
-
box-sizing: border-box;
|
|
2074
|
-
opacity: 0.8;
|
|
2075
|
-
}
|
|
2076
|
-
._EditorFields-loadingOverlayInner_3dnua_25 {
|
|
2077
|
-
display: flex;
|
|
2078
|
-
padding: 16px;
|
|
2079
|
-
position: sticky;
|
|
2080
|
-
top: 0;
|
|
2081
|
-
}
|
|
2082
|
-
._EditorFields-field_3dnua_32 * {
|
|
2083
|
-
box-sizing: border-box;
|
|
2084
|
-
}
|
|
2085
|
-
._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 {
|
|
2086
|
-
color: var(--editor-text-secondary);
|
|
2087
|
-
padding: 14px 16px;
|
|
2088
|
-
display: block;
|
|
2089
|
-
}
|
|
2090
|
-
._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 + ._EditorFields-field_3dnua_32 {
|
|
2091
|
-
border-top: 1px solid var(--editor-border-subtle);
|
|
2092
|
-
}
|
|
2093
|
-
._EditorFields-syncButton_3dnua_46 {
|
|
2094
|
-
align-items: center;
|
|
2095
|
-
background: transparent;
|
|
2096
|
-
border: 1px solid var(--editor-color-global);
|
|
2097
|
-
border-radius: var(--editor-radius-md);
|
|
2098
|
-
color: var(--editor-color-global);
|
|
2099
|
-
cursor: pointer;
|
|
2100
|
-
display: flex;
|
|
2101
|
-
font: inherit;
|
|
2102
|
-
font-size: var(--editor-font-size-xxs);
|
|
2103
|
-
font-weight: 500;
|
|
2104
|
-
gap: 8px;
|
|
2105
|
-
justify-content: center;
|
|
2106
|
-
margin: 12px 16px;
|
|
2107
|
-
padding: 10px;
|
|
2108
|
-
transition:
|
|
2109
|
-
background-color var(--editor-motion-fast) var(--editor-ease),
|
|
2110
|
-
border-color var(--editor-motion-fast) var(--editor-ease),
|
|
2111
|
-
color var(--editor-motion-fast) var(--editor-ease);
|
|
2112
|
-
width: calc(100% - 32px);
|
|
2113
|
-
}
|
|
2114
|
-
@media (hover: hover) and (pointer: fine) {
|
|
2115
|
-
._EditorFields-syncButton_3dnua_46:hover {
|
|
2116
|
-
background: var(--editor-color-global-soft);
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
._EditorFields-syncButton_3dnua_46:focus-visible {
|
|
2120
|
-
outline: none;
|
|
2121
|
-
box-shadow: var(--editor-ring);
|
|
2122
|
-
}
|
|
2123
|
-
._EditorFields-syncButton--unlinked_3dnua_78 {
|
|
2124
|
-
border-color: var(--editor-border-default);
|
|
2125
|
-
color: var(--editor-text-secondary);
|
|
2126
|
-
}
|
|
2127
|
-
@media (hover: hover) and (pointer: fine) {
|
|
2128
|
-
._EditorFields-syncButton--unlinked_3dnua_78:hover {
|
|
2129
|
-
background: var(--editor-surface-hover);
|
|
2130
|
-
border-color: var(--editor-border-strong);
|
|
2131
|
-
color: var(--editor-text-primary);
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
._EditorFields--wrapFields_3dnua_36 ._EditorFields-syncButton_3dnua_46 + ._EditorFields-field_3dnua_32 {
|
|
2135
|
-
border-top: none;
|
|
2136
|
-
}
|
|
2137
|
-
|
|
2138
2138
|
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Components/styles.module.css/#css-module-data */
|
|
2139
2139
|
._Components-search_recer_1 {
|
|
2140
2140
|
position: relative;
|
|
@@ -3192,14 +3192,6 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
|
|
|
3192
3192
|
display: none;
|
|
3193
3193
|
}
|
|
3194
3194
|
|
|
3195
|
-
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/plugins/outline/styles.module.css/#css-module-data */
|
|
3196
|
-
._OutlinePlugin_q92j6_1 {
|
|
3197
|
-
padding: 16px;
|
|
3198
|
-
height: 100%;
|
|
3199
|
-
overflow-y: auto;
|
|
3200
|
-
box-sizing: border-box;
|
|
3201
|
-
}
|
|
3202
|
-
|
|
3203
3195
|
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/plugins/fields/styles.module.css/#css-module-data */
|
|
3204
3196
|
._FieldsPlugin_262zt_1 {
|
|
3205
3197
|
background: white;
|
|
@@ -3219,3 +3211,11 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
|
|
|
3219
3211
|
padding: 16px;
|
|
3220
3212
|
}
|
|
3221
3213
|
}
|
|
3214
|
+
|
|
3215
|
+
/* css-module:/Users/rami/Documents/apps/react-editor/packages/core/plugins/outline/styles.module.css/#css-module-data */
|
|
3216
|
+
._OutlinePlugin_q92j6_1 {
|
|
3217
|
+
padding: 16px;
|
|
3218
|
+
height: 100%;
|
|
3219
|
+
overflow-y: auto;
|
|
3220
|
+
box-sizing: border-box;
|
|
3221
|
+
}
|