@mdxeditor/editor 3.31.1 → 3.32.0
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/index.d.ts +15 -0
- package/dist/index.js +2 -1
- package/dist/plugins/image/ImageEditor.js +29 -17
- package/dist/plugins/image/index.js +7 -2
- package/dist/style.css +256 -246
- package/dist/styles/ui.module.css.js +96 -93
- package/package.json +1 -1
|
@@ -1,96 +1,97 @@
|
|
|
1
|
-
const editorRoot = "
|
|
2
|
-
const editorWrapper = "
|
|
3
|
-
const toolbarRoot = "
|
|
4
|
-
const readOnlyToolbarRoot = "
|
|
5
|
-
const toolbarToggleItem = "
|
|
6
|
-
const toolbarGroupOfGroups = "
|
|
7
|
-
const toolbarToggleSingleGroup = "
|
|
8
|
-
const toolbarButton = "
|
|
9
|
-
const activeToolbarButton = "
|
|
10
|
-
const toolbarButtonDropdownContainer = "
|
|
11
|
-
const selectContainer = "
|
|
12
|
-
const selectItem = "
|
|
13
|
-
const toolbarButtonSelectTrigger = "
|
|
14
|
-
const selectTrigger = "
|
|
15
|
-
const selectDropdownArrow = "
|
|
16
|
-
const contentEditable = "
|
|
17
|
-
const codeMirrorWrapper = "
|
|
18
|
-
const sandPackWrapper = "
|
|
19
|
-
const codeMirrorToolbar = "
|
|
20
|
-
const propertyPanelTitle = "
|
|
21
|
-
const propertyEditorTable = "
|
|
22
|
-
const iconButton = "
|
|
23
|
-
const readOnlyColumnCell = "
|
|
24
|
-
const buttonsFooter = "
|
|
25
|
-
const propertyEditorInput = "
|
|
26
|
-
const primaryButton = "
|
|
27
|
-
const secondaryButton = "
|
|
28
|
-
const smallButton = "
|
|
29
|
-
const dialogForm = "
|
|
30
|
-
const linkDialogEditForm = "
|
|
31
|
-
const linkDialogInputContainer = "
|
|
32
|
-
const linkDialogInputWrapper = "
|
|
33
|
-
const linkDialogInput = "
|
|
34
|
-
const linkDialogAnchor = "
|
|
35
|
-
const linkDialogPopoverContent = "
|
|
36
|
-
const tableColumnEditorPopoverContent = "
|
|
37
|
-
const dialogContent = "
|
|
38
|
-
const largeDialogContent = "
|
|
39
|
-
const dialogTitle = "
|
|
40
|
-
const dialogCloseButton = "
|
|
41
|
-
const popoverContent = "
|
|
42
|
-
const popoverArrow = "
|
|
43
|
-
const linkDialogPreviewAnchor = "
|
|
44
|
-
const tooltipTrigger = "
|
|
45
|
-
const tooltipContent = "
|
|
46
|
-
const actionButton = "
|
|
47
|
-
const primaryActionButton = "
|
|
48
|
-
const tableEditor = "
|
|
49
|
-
const toolCell = "
|
|
50
|
-
const tableColumnEditorTrigger = "
|
|
51
|
-
const addRowButton = "
|
|
52
|
-
const addColumnButton = "
|
|
53
|
-
const tableColumnEditorToolbar = "
|
|
54
|
-
const toggleGroupRoot = "
|
|
55
|
-
const tableToolsColumn = "
|
|
56
|
-
const leftAlignedCell = "
|
|
57
|
-
const rightAlignedCell = "
|
|
58
|
-
const centeredCell = "
|
|
59
|
-
const dialogOverlay = "
|
|
60
|
-
const focusedImage = "
|
|
61
|
-
const imageWrapper = "
|
|
62
|
-
const editImageToolbar = "
|
|
63
|
-
const editImageButton = "
|
|
64
|
-
const inlineEditor = "
|
|
65
|
-
const blockEditor = "
|
|
66
|
-
const nestedEditor = "
|
|
67
|
-
const genericComponentName = "
|
|
68
|
-
const diffSourceToggleWrapper = "
|
|
69
|
-
const ggDiffSourceToggle = "
|
|
70
|
-
const diffSourceToggle = "
|
|
71
|
-
const selectWithLabel = "
|
|
72
|
-
const toolbarTitleMode = "
|
|
73
|
-
const imageControlWrapperResizing = "
|
|
74
|
-
const imageResizer = "
|
|
75
|
-
const imageResizerN = "
|
|
76
|
-
const imageResizerNe = "
|
|
77
|
-
const imageResizerE = "
|
|
78
|
-
const imageResizerSe = "
|
|
79
|
-
const imageResizerS = "
|
|
80
|
-
const imageResizerSw = "
|
|
81
|
-
const imageResizerW = "
|
|
82
|
-
const imageResizerNw = "
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
const
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
const
|
|
89
|
-
const
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
const
|
|
1
|
+
const editorRoot = "_editorRoot_sects_53";
|
|
2
|
+
const editorWrapper = "_editorWrapper_sects_155";
|
|
3
|
+
const toolbarRoot = "_toolbarRoot_sects_162";
|
|
4
|
+
const readOnlyToolbarRoot = "_readOnlyToolbarRoot_sects_189";
|
|
5
|
+
const toolbarToggleItem = "_toolbarToggleItem_sects_208";
|
|
6
|
+
const toolbarGroupOfGroups = "_toolbarGroupOfGroups_sects_219";
|
|
7
|
+
const toolbarToggleSingleGroup = "_toolbarToggleSingleGroup_sects_224";
|
|
8
|
+
const toolbarButton = "_toolbarButton_sects_239";
|
|
9
|
+
const activeToolbarButton = "_activeToolbarButton_sects_275";
|
|
10
|
+
const toolbarButtonDropdownContainer = "_toolbarButtonDropdownContainer_sects_286";
|
|
11
|
+
const selectContainer = "_selectContainer_sects_288";
|
|
12
|
+
const selectItem = "_selectItem_sects_301";
|
|
13
|
+
const toolbarButtonSelectTrigger = "_toolbarButtonSelectTrigger_sects_307";
|
|
14
|
+
const selectTrigger = "_selectTrigger_sects_308";
|
|
15
|
+
const selectDropdownArrow = "_selectDropdownArrow_sects_374";
|
|
16
|
+
const contentEditable = "_contentEditable_sects_380";
|
|
17
|
+
const codeMirrorWrapper = "_codeMirrorWrapper_sects_392";
|
|
18
|
+
const sandPackWrapper = "_sandPackWrapper_sects_401";
|
|
19
|
+
const codeMirrorToolbar = "_codeMirrorToolbar_sects_409";
|
|
20
|
+
const propertyPanelTitle = "_propertyPanelTitle_sects_431";
|
|
21
|
+
const propertyEditorTable = "_propertyEditorTable_sects_439";
|
|
22
|
+
const iconButton = "_iconButton_sects_457";
|
|
23
|
+
const readOnlyColumnCell = "_readOnlyColumnCell_sects_462";
|
|
24
|
+
const buttonsFooter = "_buttonsFooter_sects_475";
|
|
25
|
+
const propertyEditorInput = "_propertyEditorInput_sects_481";
|
|
26
|
+
const primaryButton = "_primaryButton_sects_507";
|
|
27
|
+
const secondaryButton = "_secondaryButton_sects_508";
|
|
28
|
+
const smallButton = "_smallButton_sects_523";
|
|
29
|
+
const dialogForm = "_dialogForm_sects_535";
|
|
30
|
+
const linkDialogEditForm = "_linkDialogEditForm_sects_541";
|
|
31
|
+
const linkDialogInputContainer = "_linkDialogInputContainer_sects_549";
|
|
32
|
+
const linkDialogInputWrapper = "_linkDialogInputWrapper_sects_555";
|
|
33
|
+
const linkDialogInput = "_linkDialogInput_sects_549";
|
|
34
|
+
const linkDialogAnchor = "_linkDialogAnchor_sects_587";
|
|
35
|
+
const linkDialogPopoverContent = "_linkDialogPopoverContent_sects_601";
|
|
36
|
+
const tableColumnEditorPopoverContent = "_tableColumnEditorPopoverContent_sects_602";
|
|
37
|
+
const dialogContent = "_dialogContent_sects_603";
|
|
38
|
+
const largeDialogContent = "_largeDialogContent_sects_615";
|
|
39
|
+
const dialogTitle = "_dialogTitle_sects_625";
|
|
40
|
+
const dialogCloseButton = "_dialogCloseButton_sects_631";
|
|
41
|
+
const popoverContent = "_popoverContent_sects_638";
|
|
42
|
+
const popoverArrow = "_popoverArrow_sects_650";
|
|
43
|
+
const linkDialogPreviewAnchor = "_linkDialogPreviewAnchor_sects_654";
|
|
44
|
+
const tooltipTrigger = "_tooltipTrigger_sects_677";
|
|
45
|
+
const tooltipContent = "_tooltipContent_sects_681";
|
|
46
|
+
const actionButton = "_actionButton_sects_695";
|
|
47
|
+
const primaryActionButton = "_primaryActionButton_sects_702";
|
|
48
|
+
const tableEditor = "_tableEditor_sects_714";
|
|
49
|
+
const toolCell = "_toolCell_sects_725";
|
|
50
|
+
const tableColumnEditorTrigger = "_tableColumnEditorTrigger_sects_744";
|
|
51
|
+
const addRowButton = "_addRowButton_sects_746";
|
|
52
|
+
const addColumnButton = "_addColumnButton_sects_747";
|
|
53
|
+
const tableColumnEditorToolbar = "_tableColumnEditorToolbar_sects_789";
|
|
54
|
+
const toggleGroupRoot = "_toggleGroupRoot_sects_802";
|
|
55
|
+
const tableToolsColumn = "_tableToolsColumn_sects_820";
|
|
56
|
+
const leftAlignedCell = "_leftAlignedCell_sects_829";
|
|
57
|
+
const rightAlignedCell = "_rightAlignedCell_sects_833";
|
|
58
|
+
const centeredCell = "_centeredCell_sects_837";
|
|
59
|
+
const dialogOverlay = "_dialogOverlay_sects_870";
|
|
60
|
+
const focusedImage = "_focusedImage_sects_916";
|
|
61
|
+
const imageWrapper = "_imageWrapper_sects_920";
|
|
62
|
+
const editImageToolbar = "_editImageToolbar_sects_933";
|
|
63
|
+
const editImageButton = "_editImageButton_sects_937";
|
|
64
|
+
const inlineEditor = "_inlineEditor_sects_943";
|
|
65
|
+
const blockEditor = "_blockEditor_sects_952";
|
|
66
|
+
const nestedEditor = "_nestedEditor_sects_961";
|
|
67
|
+
const genericComponentName = "_genericComponentName_sects_980";
|
|
68
|
+
const diffSourceToggleWrapper = "_diffSourceToggleWrapper_sects_986";
|
|
69
|
+
const ggDiffSourceToggle = "_ggDiffSourceToggle_sects_994";
|
|
70
|
+
const diffSourceToggle = "_diffSourceToggle_sects_986";
|
|
71
|
+
const selectWithLabel = "_selectWithLabel_sects_1012";
|
|
72
|
+
const toolbarTitleMode = "_toolbarTitleMode_sects_1027";
|
|
73
|
+
const imageControlWrapperResizing = "_imageControlWrapperResizing_sects_1032";
|
|
74
|
+
const imageResizer = "_imageResizer_sects_1036";
|
|
75
|
+
const imageResizerN = "_imageResizerN_sects_1045";
|
|
76
|
+
const imageResizerNe = "_imageResizerNe_sects_1051";
|
|
77
|
+
const imageResizerE = "_imageResizerE_sects_1057";
|
|
78
|
+
const imageResizerSe = "_imageResizerSe_sects_1063";
|
|
79
|
+
const imageResizerS = "_imageResizerS_sects_1063";
|
|
80
|
+
const imageResizerSw = "_imageResizerSw_sects_1075";
|
|
81
|
+
const imageResizerW = "_imageResizerW_sects_1081";
|
|
82
|
+
const imageResizerNw = "_imageResizerNw_sects_1087";
|
|
83
|
+
const imagePlaceholder = "_imagePlaceholder_sects_1093";
|
|
84
|
+
const placeholder = "_placeholder_sects_1101";
|
|
85
|
+
const rootContentEditableWrapper = "_rootContentEditableWrapper_sects_1114";
|
|
86
|
+
const downshiftInputWrapper = "_downshiftInputWrapper_sects_1124";
|
|
87
|
+
const downshiftInput = "_downshiftInput_sects_1124";
|
|
88
|
+
const downshiftAutocompleteContainer = "_downshiftAutocompleteContainer_sects_1155";
|
|
89
|
+
const textInput = "_textInput_sects_1201";
|
|
90
|
+
const multiFieldForm = "_multiFieldForm_sects_1209";
|
|
91
|
+
const formField = "_formField_sects_1215";
|
|
92
|
+
const markdownParseError = "_markdownParseError_sects_1226";
|
|
93
|
+
const popupContainer = "_popupContainer_sects_1235";
|
|
94
|
+
const inputSizer = "_inputSizer_sects_1240";
|
|
94
95
|
const styles = {
|
|
95
96
|
editorRoot,
|
|
96
97
|
editorWrapper,
|
|
@@ -174,6 +175,7 @@ const styles = {
|
|
|
174
175
|
imageResizerSw,
|
|
175
176
|
imageResizerW,
|
|
176
177
|
imageResizerNw,
|
|
178
|
+
imagePlaceholder,
|
|
177
179
|
placeholder,
|
|
178
180
|
rootContentEditableWrapper,
|
|
179
181
|
downshiftInputWrapper,
|
|
@@ -218,6 +220,7 @@ export {
|
|
|
218
220
|
ggDiffSourceToggle,
|
|
219
221
|
iconButton,
|
|
220
222
|
imageControlWrapperResizing,
|
|
223
|
+
imagePlaceholder,
|
|
221
224
|
imageResizer,
|
|
222
225
|
imageResizerE,
|
|
223
226
|
imageResizerN,
|