@reacteditor/core 0.0.4 → 0.0.6
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/dist/Editor-4LPVLYSU.css +415 -0
- package/dist/{Editor-2TYODRQT.mjs → Editor-YNFB7B6Z.mjs} +8 -8
- package/dist/{Render-VDC7AEQK.mjs → Render-STFB5CNO.mjs} +1 -1
- package/dist/Render-ZTUTUUAH.css +103 -0
- package/dist/{actions-BCDhqbeL.d.mts → actions-CQmL3wwa.d.mts} +11 -6
- package/dist/{actions-BCDhqbeL.d.ts → actions-CQmL3wwa.d.ts} +11 -6
- package/dist/{chunk-VD3EVRUF.mjs → chunk-275EJPEB.mjs} +2 -2
- package/dist/{chunk-ZHNRSSMW.mjs → chunk-6LG4Q4HO.mjs} +1 -1
- package/dist/chunk-6QJ2HF4O.mjs +11 -0
- package/dist/{chunk-6Q6A3BQH.mjs → chunk-BRDUM7MJ.mjs} +15 -15
- package/dist/{chunk-2LVYDXZS.mjs → chunk-CRF2GWQA.mjs} +3 -3
- package/dist/{chunk-TCVU3WEN.mjs → chunk-DB4R5IWG.mjs} +4 -4
- package/dist/{chunk-D2RG73WI.mjs → chunk-HCFEY5Y7.mjs} +475 -288
- package/dist/{chunk-VUEM62JF.mjs → chunk-UB2DES2O.mjs} +17 -6
- package/dist/{chunk-M2RKJTNY.mjs → chunk-WGPCLAZR.mjs} +1 -1
- package/dist/{chunk-HMTHZBH6.mjs → chunk-Z6IIVDFY.mjs} +1 -1
- package/dist/{full-7KJICNR5.mjs → full-24FOTNTB.mjs} +6 -6
- package/dist/full-7ABPY2WA.css +311 -0
- package/dist/{index-DVwiIwYU.d.mts → index-BOP2qNVA.d.mts} +1 -1
- package/dist/{index-ComBHfdn.d.ts → index-_G46lHpL.d.ts} +1 -1
- package/dist/index.css +1307 -1203
- package/dist/index.d.mts +11 -20
- package/dist/index.d.ts +11 -20
- package/dist/index.js +572 -372
- package/dist/index.mjs +10 -10
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +17 -6
- package/dist/internal.mjs +1 -1
- package/dist/{loaded-DGSPK47E.mjs → loaded-6IBSSOXD.mjs} +3 -3
- package/dist/{loaded-IJNA4SY5.mjs → loaded-6NPDD7SF.mjs} +3 -3
- package/dist/{loaded-CBJRWD4Z.mjs → loaded-BQVZGQG2.mjs} +3 -3
- package/dist/loaded-N4KWL7FV.css +90 -0
- package/dist/no-external.css +1307 -1203
- package/dist/no-external.d.mts +4 -4
- package/dist/no-external.d.ts +4 -4
- package/dist/no-external.js +572 -372
- package/dist/no-external.mjs +10 -10
- package/dist/rsc.css +41 -41
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +5 -5
- package/dist/rsc.mjs +2 -2
- package/dist/{walk-tree-BPIigVTF.d.mts → walk-tree-Dwv3c_9M.d.mts} +1 -1
- package/dist/{walk-tree-BZq1CPCH.d.ts → walk-tree-DxSkPLnl.d.ts} +1 -1
- package/package.json +2 -1
- package/dist/Editor-GBV2O5RD.css +0 -415
- package/dist/Render-EFT7YD2C.css +0 -103
- package/dist/chunk-MFI3RDA4.mjs +0 -11
- package/dist/full-ELX6RALJ.css +0 -311
- package/dist/loaded-TBSVRJPY.css +0 -90
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAlignOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z6IIVDFY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useHeadingOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6LG4Q4HO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useListOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WGPCLAZR.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-CRF2GWQA.mjs";
|
|
30
30
|
import {
|
|
31
31
|
get_class_name_factory_default
|
|
32
32
|
} from "./chunk-Y2EFNT5P.mjs";
|
|
@@ -39,9 +39,9 @@ import {
|
|
|
39
39
|
// components/ActionBar/index.tsx
|
|
40
40
|
init_react_import();
|
|
41
41
|
|
|
42
|
-
// css-module:/Users/rami/Documents/apps/
|
|
42
|
+
// css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/ActionBar/styles.module.css#css-module
|
|
43
43
|
init_react_import();
|
|
44
|
-
var styles_module_default = { "ActionBar": "
|
|
44
|
+
var styles_module_default = { "ActionBar": "_ActionBar_15hub_1", "ActionBar-label": "_ActionBar-label_15hub_19", "ActionBarAction": "_ActionBarAction_15hub_32", "ActionBar-group": "_ActionBar-group_15hub_40", "ActionBarAction--disabled": "_ActionBarAction--disabled_15hub_75", "ActionBarAction--active": "_ActionBarAction--active_15hub_98", "ActionBar-separator": "_ActionBar-separator_15hub_108" };
|
|
45
45
|
|
|
46
46
|
// components/ActionBar/index.tsx
|
|
47
47
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -93,14 +93,14 @@ ActionBar.Separator = Separator;
|
|
|
93
93
|
init_react_import();
|
|
94
94
|
import { useState } from "react";
|
|
95
95
|
|
|
96
|
-
// css-module:/Users/rami/Documents/apps/
|
|
96
|
+
// css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/IconButton/IconButton.module.css#css-module
|
|
97
97
|
init_react_import();
|
|
98
|
-
var IconButton_module_default = { "IconButton": "
|
|
98
|
+
var IconButton_module_default = { "IconButton": "_IconButton_3u943_1", "IconButton--active": "_IconButton--active_3u943_15", "IconButton--disabled": "_IconButton--disabled_3u943_26", "IconButton-title": "_IconButton-title_3u943_39" };
|
|
99
99
|
|
|
100
100
|
// components/Loader/index.tsx
|
|
101
101
|
init_react_import();
|
|
102
102
|
|
|
103
|
-
// css-module:/Users/rami/Documents/apps/
|
|
103
|
+
// css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Loader/styles.module.css#css-module
|
|
104
104
|
init_react_import();
|
|
105
105
|
var styles_module_default2 = { "Loader": "_Loader_nacdm_13", "loader-animation": "_loader-animation_nacdm_1" };
|
|
106
106
|
|
|
@@ -186,9 +186,9 @@ var IconButton = ({
|
|
|
186
186
|
// components/RichTextMenu/inner.tsx
|
|
187
187
|
init_react_import();
|
|
188
188
|
|
|
189
|
-
// css-module:/Users/rami/Documents/apps/
|
|
189
|
+
// css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/RichTextMenu/styles.module.css#css-module
|
|
190
190
|
init_react_import();
|
|
191
|
-
var styles_module_default3 = { "RichTextMenu": "
|
|
191
|
+
var styles_module_default3 = { "RichTextMenu": "_RichTextMenu_1l3cr_1", "RichTextMenu--form": "_RichTextMenu--form_1l3cr_7", "RichTextMenu-group": "_RichTextMenu-group_1l3cr_17", "RichTextMenu--inline": "_RichTextMenu--inline_1l3cr_35" };
|
|
192
192
|
|
|
193
193
|
// components/RichTextMenu/inner.tsx
|
|
194
194
|
import { useMemo } from "react";
|
|
@@ -205,7 +205,7 @@ init_react_import();
|
|
|
205
205
|
// components/IconButton/index.ts
|
|
206
206
|
init_react_import();
|
|
207
207
|
|
|
208
|
-
// css-module:/Users/rami/Documents/apps/
|
|
208
|
+
// css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/RichTextMenu/components/Control/styles.module.css#css-module
|
|
209
209
|
init_react_import();
|
|
210
210
|
var styles_module_default4 = { "Control": "_Control_1aveu_1", "Control--inline": "_Control--inline_1aveu_6" };
|
|
211
211
|
|
|
@@ -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-BQVZGQG2.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-6NPDD7SF.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-6IBSSOXD.mjs").then((m) => ({
|
|
616
616
|
default: m.ListSelectLoaded
|
|
617
617
|
}))
|
|
618
618
|
);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createReducer,
|
|
3
3
|
getItem,
|
|
4
4
|
makeStatePublic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UB2DES2O.mjs";
|
|
6
6
|
import {
|
|
7
7
|
defaultAppState,
|
|
8
8
|
defaultViewports,
|
|
@@ -1332,9 +1332,9 @@ import { useMemo } from "react";
|
|
|
1332
1332
|
// components/Select/index.tsx
|
|
1333
1333
|
init_react_import();
|
|
1334
1334
|
|
|
1335
|
-
// css-module:/Users/rami/Documents/apps/
|
|
1335
|
+
// css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Select/styles.module.css#css-module
|
|
1336
1336
|
init_react_import();
|
|
1337
|
-
var styles_module_default = { "Select": "
|
|
1337
|
+
var styles_module_default = { "Select": "_Select_1hzg4_1", "Select-button": "_Select-button_1hzg4_6", "Select--hasOptions": "_Select--hasOptions_1hzg4_21", "Select--disabled": "_Select--disabled_1hzg4_25", "Select-buttonIcon": "_Select-buttonIcon_1hzg4_29", "Select--standalone": "_Select--standalone_1hzg4_35", "Select--actionBar": "_Select--actionBar_1hzg4_40", "Select--hasValue": "_Select--hasValue_1hzg4_46", "Select-items": "_Select-items_1hzg4_63", "SelectItem": "_SelectItem_1hzg4_75", "SelectItem--isSelected": "_SelectItem--isSelected_1hzg4_92", "SelectItem-icon": "_SelectItem-icon_1hzg4_98" };
|
|
1338
1338
|
|
|
1339
1339
|
// components/Select/index.tsx
|
|
1340
1340
|
import { useState } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
styles_module_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6QJ2HF4O.mjs";
|
|
4
4
|
import {
|
|
5
5
|
LoadedRichTextMenuInner
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BRDUM7MJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useAppStore,
|
|
9
9
|
useAppStoreApi
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CRF2GWQA.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-24FOTNTB.mjs").then((m) => ({
|
|
104
104
|
default: m.LoadedRichTextMenuFull
|
|
105
105
|
}))
|
|
106
106
|
);
|