@mdxeditor/editor 0.15.1 → 0.16.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/MDXEditor.d.ts +5 -0
- package/dist/MDXEditor.js +8 -2
- package/dist/gurx/react.js +12 -5
- package/dist/plugins/codeblock/index.d.ts +12 -2
- package/dist/plugins/codemirror/CodeMirrorEditor.js +6 -3
- package/dist/plugins/codemirror/index.d.ts +16 -2
- package/dist/plugins/core/index.d.ts +11 -2
- package/dist/plugins/core/index.js +12 -4
- package/dist/plugins/diff-source/SourceEditor.js +2 -1
- package/dist/plugins/diff-source/index.d.ts +12 -2
- package/dist/plugins/directives/index.d.ts +12 -2
- package/dist/plugins/frontmatter/FrontmatterEditor.js +4 -1
- package/dist/plugins/frontmatter/index.d.ts +12 -2
- package/dist/plugins/headings/index.d.ts +4 -0
- package/dist/plugins/image/index.d.ts +12 -2
- package/dist/plugins/jsx/index.d.ts +12 -2
- package/dist/plugins/link/index.d.ts +1 -0
- package/dist/plugins/link-dialog/index.d.ts +10 -2
- package/dist/plugins/lists/index.d.ts +12 -2
- package/dist/plugins/markdown-shortcut/index.d.ts +1 -0
- package/dist/plugins/quote/index.d.ts +9 -2
- package/dist/plugins/sandpack/SandpackEditor.js +3 -1
- package/dist/plugins/sandpack/index.d.ts +16 -2
- package/dist/plugins/table/index.d.ts +12 -2
- package/dist/plugins/thematic-break/index.d.ts +12 -2
- package/dist/plugins/toolbar/components/DiffSourceToggleWrapper.js +1 -1
- package/dist/plugins/toolbar/index.d.ts +10 -2
- package/dist/plugins/toolbar/index.js +3 -2
- package/dist/plugins/toolbar/primitives/DialogButton.js +2 -2
- package/dist/plugins/toolbar/primitives/select.js +14 -2
- package/dist/plugins/toolbar/primitives/toolbar.d.ts +4 -1
- package/dist/plugins/toolbar/primitives/toolbar.js +12 -8
- package/dist/style.css +211 -169
- package/dist/styles/ui.module.css.js +88 -85
- package/package.json +1 -1
|
@@ -1,93 +1,95 @@
|
|
|
1
|
-
const editorRoot = "
|
|
2
|
-
const editorWrapper = "
|
|
3
|
-
const nestedListItem = "
|
|
4
|
-
const toolbarRoot = "
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
53
|
-
const
|
|
54
|
-
const
|
|
55
|
-
const
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const
|
|
59
|
-
const
|
|
60
|
-
const
|
|
61
|
-
const
|
|
62
|
-
const
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const
|
|
66
|
-
const
|
|
67
|
-
const
|
|
68
|
-
const
|
|
69
|
-
const
|
|
70
|
-
const
|
|
71
|
-
const
|
|
72
|
-
const
|
|
73
|
-
const
|
|
74
|
-
const
|
|
75
|
-
const
|
|
76
|
-
const
|
|
77
|
-
const
|
|
78
|
-
const
|
|
79
|
-
const
|
|
80
|
-
const
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
const
|
|
84
|
-
const
|
|
85
|
-
const
|
|
1
|
+
const editorRoot = "_editorRoot_a9a1q_36";
|
|
2
|
+
const editorWrapper = "_editorWrapper_a9a1q_132";
|
|
3
|
+
const nestedListItem = "_nestedListItem_a9a1q_135";
|
|
4
|
+
const toolbarRoot = "_toolbarRoot_a9a1q_139";
|
|
5
|
+
const readOnlyToolbarRoot = "_readOnlyToolbarRoot_a9a1q_163";
|
|
6
|
+
const toolbarModeSwitch = "_toolbarModeSwitch_a9a1q_171";
|
|
7
|
+
const toolbarToggleItem = "_toolbarToggleItem_a9a1q_181";
|
|
8
|
+
const toolbarGroupOfGroups = "_toolbarGroupOfGroups_a9a1q_191";
|
|
9
|
+
const toolbarToggleSingleGroup = "_toolbarToggleSingleGroup_a9a1q_196";
|
|
10
|
+
const toolbarButton = "_toolbarButton_a9a1q_210";
|
|
11
|
+
const toolbarNodeKindSelectContainer = "_toolbarNodeKindSelectContainer_a9a1q_244";
|
|
12
|
+
const toolbarButtonDropdownContainer = "_toolbarButtonDropdownContainer_a9a1q_245";
|
|
13
|
+
const toolbarCodeBlockLanguageSelectContent = "_toolbarCodeBlockLanguageSelectContent_a9a1q_246";
|
|
14
|
+
const selectContainer = "_selectContainer_a9a1q_247";
|
|
15
|
+
const toolbarNodeKindSelectTrigger = "_toolbarNodeKindSelectTrigger_a9a1q_261";
|
|
16
|
+
const toolbarButtonSelectTrigger = "_toolbarButtonSelectTrigger_a9a1q_262";
|
|
17
|
+
const selectTrigger = "_selectTrigger_a9a1q_263";
|
|
18
|
+
const toolbarCodeBlockLanguageSelectTrigger = "_toolbarCodeBlockLanguageSelectTrigger_a9a1q_299";
|
|
19
|
+
const toolbarNodeKindSelectItem = "_toolbarNodeKindSelectItem_a9a1q_305";
|
|
20
|
+
const selectItem = "_selectItem_a9a1q_306";
|
|
21
|
+
const toolbarNodeKindSelectDropdownArrow = "_toolbarNodeKindSelectDropdownArrow_a9a1q_330";
|
|
22
|
+
const selectDropdownArrow = "_selectDropdownArrow_a9a1q_331";
|
|
23
|
+
const contentEditable = "_contentEditable_a9a1q_335";
|
|
24
|
+
const sandpackWrapper = "_sandpackWrapper_a9a1q_345";
|
|
25
|
+
const frontmatterWrapper = "_frontmatterWrapper_a9a1q_349";
|
|
26
|
+
const frontmatterToggleButton = "_frontmatterToggleButton_a9a1q_359";
|
|
27
|
+
const propertyPanelTitle = "_propertyPanelTitle_a9a1q_367";
|
|
28
|
+
const propertyEditorTable = "_propertyEditorTable_a9a1q_375";
|
|
29
|
+
const iconButton = "_iconButton_a9a1q_392";
|
|
30
|
+
const readOnlyColumnCell = "_readOnlyColumnCell_a9a1q_397";
|
|
31
|
+
const propertyEditorLabelCell = "_propertyEditorLabelCell_a9a1q_402";
|
|
32
|
+
const buttonsFooter = "_buttonsFooter_a9a1q_410";
|
|
33
|
+
const propertyEditorInput = "_propertyEditorInput_a9a1q_416";
|
|
34
|
+
const primaryButton = "_primaryButton_a9a1q_437";
|
|
35
|
+
const secondaryButton = "_secondaryButton_a9a1q_437";
|
|
36
|
+
const linkDialogEditForm = "_linkDialogEditForm_a9a1q_457";
|
|
37
|
+
const linkDialogInputContainer = "_linkDialogInputContainer_a9a1q_463";
|
|
38
|
+
const linkDialogInputWrapper = "_linkDialogInputWrapper_a9a1q_469";
|
|
39
|
+
const linkDialogInput = "_linkDialogInput_a9a1q_463";
|
|
40
|
+
const linkDialogAutocompleteContainer = "_linkDialogAutocompleteContainer_a9a1q_499";
|
|
41
|
+
const linkDialogAnchor = "_linkDialogAnchor_a9a1q_544";
|
|
42
|
+
const linkDialogPopoverContent = "_linkDialogPopoverContent_a9a1q_558";
|
|
43
|
+
const tableColumnEditorPopoverContent = "_tableColumnEditorPopoverContent_a9a1q_558";
|
|
44
|
+
const dialogContent = "_dialogContent_a9a1q_558";
|
|
45
|
+
const popoverContent = "_popoverContent_a9a1q_570";
|
|
46
|
+
const popoverArrow = "_popoverArrow_a9a1q_581";
|
|
47
|
+
const linkDialogPreviewAnchor = "_linkDialogPreviewAnchor_a9a1q_587";
|
|
48
|
+
const tooltipContent = "_tooltipContent_a9a1q_609";
|
|
49
|
+
const actionButton = "_actionButton_a9a1q_623";
|
|
50
|
+
const primaryActionButton = "_primaryActionButton_a9a1q_629";
|
|
51
|
+
const tableEditor = "_tableEditor_a9a1q_638";
|
|
52
|
+
const toolCell = "_toolCell_a9a1q_649";
|
|
53
|
+
const tableColumnEditorTrigger = "_tableColumnEditorTrigger_a9a1q_666";
|
|
54
|
+
const tableRowEditorTrigger = "_tableRowEditorTrigger_a9a1q_666";
|
|
55
|
+
const addRowButton = "_addRowButton_a9a1q_666";
|
|
56
|
+
const addColumnButton = "_addColumnButton_a9a1q_666";
|
|
57
|
+
const tableColumnEditorToolbar = "_tableColumnEditorToolbar_a9a1q_700";
|
|
58
|
+
const toggleGroupRoot = "_toggleGroupRoot_a9a1q_712";
|
|
59
|
+
const tableToolsColumn = "_tableToolsColumn_a9a1q_729";
|
|
60
|
+
const leftAlignedCell = "_leftAlignedCell_a9a1q_737";
|
|
61
|
+
const rightAlignedCell = "_rightAlignedCell_a9a1q_741";
|
|
62
|
+
const centeredCell = "_centeredCell_a9a1q_745";
|
|
63
|
+
const dialogOverlay = "_dialogOverlay_a9a1q_773";
|
|
64
|
+
const overlayShow = "_overlayShow_a9a1q_1";
|
|
65
|
+
const contentShow = "_contentShow_a9a1q_1";
|
|
66
|
+
const focusedImage = "_focusedImage_a9a1q_815";
|
|
67
|
+
const imageWrapper = "_imageWrapper_a9a1q_819";
|
|
68
|
+
const inlineEditor = "_inlineEditor_a9a1q_831";
|
|
69
|
+
const blockEditor = "_blockEditor_a9a1q_840";
|
|
70
|
+
const nestedEditor = "_nestedEditor_a9a1q_849";
|
|
71
|
+
const genericComponentName = "_genericComponentName_a9a1q_866";
|
|
72
|
+
const diffSourceToggle = "_diffSourceToggle_a9a1q_872";
|
|
73
|
+
const selectWithLabel = "_selectWithLabel_a9a1q_886";
|
|
74
|
+
const toolbarTitleMode = "_toolbarTitleMode_a9a1q_900";
|
|
75
|
+
const imageControlWrapperResizing = "_imageControlWrapperResizing_a9a1q_906";
|
|
76
|
+
const imageResizer = "_imageResizer_a9a1q_910";
|
|
77
|
+
const imageResizerN = "_imageResizerN_a9a1q_919";
|
|
78
|
+
const imageResizerNe = "_imageResizerNe_a9a1q_925";
|
|
79
|
+
const imageResizerE = "_imageResizerE_a9a1q_931";
|
|
80
|
+
const imageResizerSe = "_imageResizerSe_a9a1q_937";
|
|
81
|
+
const imageResizerS = "_imageResizerS_a9a1q_937";
|
|
82
|
+
const imageResizerSw = "_imageResizerSw_a9a1q_949";
|
|
83
|
+
const imageResizerW = "_imageResizerW_a9a1q_955";
|
|
84
|
+
const imageResizerNw = "_imageResizerNw_a9a1q_961";
|
|
85
|
+
const placeholder = "_placeholder_a9a1q_967";
|
|
86
|
+
const rootContentEditableWrapper = "_rootContentEditableWrapper_a9a1q_980";
|
|
86
87
|
const styles = {
|
|
87
88
|
editorRoot,
|
|
88
89
|
editorWrapper,
|
|
89
90
|
nestedListItem,
|
|
90
91
|
toolbarRoot,
|
|
92
|
+
readOnlyToolbarRoot,
|
|
91
93
|
toolbarModeSwitch,
|
|
92
94
|
toolbarToggleItem,
|
|
93
95
|
toolbarGroupOfGroups,
|
|
@@ -224,6 +226,7 @@ export {
|
|
|
224
226
|
propertyEditorTable,
|
|
225
227
|
propertyPanelTitle,
|
|
226
228
|
readOnlyColumnCell,
|
|
229
|
+
readOnlyToolbarRoot,
|
|
227
230
|
rightAlignedCell,
|
|
228
231
|
rootContentEditableWrapper,
|
|
229
232
|
sandpackWrapper,
|