@contentful/field-editor-markdown 1.2.0 → 1.3.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/cjs/MarkdownActions.js +235 -0
- package/dist/cjs/MarkdownEditor.js +180 -0
- package/dist/cjs/__fixtures__/FakeSdk.js +183 -0
- package/dist/cjs/__fixtures__/asset/index.js +37 -0
- package/dist/cjs/__fixtures__/content-type/index.js +16 -0
- package/dist/cjs/__fixtures__/entry/index.js +33 -0
- package/dist/cjs/__fixtures__/fixtures.js +71 -0
- package/dist/cjs/__fixtures__/locale/index.js +40 -0
- package/dist/cjs/__fixtures__/space/index.js +16 -0
- package/dist/cjs/codemirrorImports.js +9 -0
- package/dist/cjs/components/HeadingSelector.js +66 -0
- package/dist/cjs/components/InsertLinkSelector.js +86 -0
- package/dist/cjs/components/MarkdownBottomBar.js +111 -0
- package/dist/cjs/components/MarkdownConstraints.js +79 -0
- package/dist/cjs/components/MarkdownPreview.js +249 -0
- package/dist/cjs/components/MarkdownTabs.js +128 -0
- package/dist/cjs/components/MarkdownTextarea/CodeMirrorWrapper.js +383 -0
- package/dist/cjs/components/MarkdownTextarea/MarkdownCommands.js +233 -0
- package/dist/cjs/components/MarkdownTextarea/MarkdownTextarea.js +190 -0
- package/dist/cjs/components/MarkdownTextarea/createMarkdownEditor.js +101 -0
- package/dist/cjs/components/MarkdownToolbar.js +367 -0
- package/dist/cjs/components/icons.js +193 -0
- package/dist/cjs/dialogs/CheatsheetModalDialog.js +239 -0
- package/dist/cjs/dialogs/ConfirmInsertAssetModalDialog.js +94 -0
- package/dist/cjs/dialogs/EmdebExternalContentDialog.js +202 -0
- package/dist/cjs/dialogs/InsertLinkModalDialog.js +149 -0
- package/dist/cjs/dialogs/InsertTableModalDialog.js +140 -0
- package/dist/cjs/dialogs/SpecialCharacterModalDialog.js +146 -0
- package/dist/cjs/dialogs/ZenModeModalDialog.js +257 -0
- package/dist/cjs/dialogs/openMarkdownDialog.js +121 -0
- package/dist/cjs/dialogs/renderMarkdownDialog.js +108 -0
- package/dist/cjs/index.js +29 -0
- package/dist/cjs/types.js +20 -0
- package/dist/cjs/utils/insertAssetLinks.js +122 -0
- package/dist/cjs/utils/insertAssetLinks.spec.js +22 -0
- package/dist/cjs/utils/isValidUrl.js +22 -0
- package/dist/cjs/utils/linkOrganizer.js +187 -0
- package/dist/cjs/utils/linkOrganizer.spec.js +96 -0
- package/dist/cjs/utils/replaceMailtoAmp.js +15 -0
- package/dist/cjs/utils/replaceMailtoAmp.spec.js +22 -0
- package/dist/cjs/utils/specialCharacters.js +228 -0
- package/dist/cjs/utils/userAgent.js +28 -0
- package/dist/esm/MarkdownActions.js +186 -0
- package/dist/esm/MarkdownEditor.js +118 -0
- package/dist/esm/__fixtures__/FakeSdk.js +173 -0
- package/dist/esm/__fixtures__/asset/index.js +6 -0
- package/dist/esm/__fixtures__/content-type/index.js +2 -0
- package/dist/esm/__fixtures__/entry/index.js +5 -0
- package/dist/esm/__fixtures__/fixtures.js +6 -0
- package/dist/esm/__fixtures__/locale/index.js +15 -0
- package/dist/esm/__fixtures__/space/index.js +2 -0
- package/dist/esm/codemirrorImports.js +5 -0
- package/dist/esm/components/HeadingSelector.js +17 -0
- package/dist/esm/components/InsertLinkSelector.js +37 -0
- package/dist/esm/components/MarkdownBottomBar.js +46 -0
- package/dist/esm/components/MarkdownConstraints.js +25 -0
- package/dist/esm/components/MarkdownPreview.js +195 -0
- package/dist/esm/components/MarkdownTabs.js +74 -0
- package/dist/esm/components/MarkdownTextarea/CodeMirrorWrapper.js +329 -0
- package/dist/esm/components/MarkdownTextarea/MarkdownCommands.js +218 -0
- package/dist/esm/components/MarkdownTextarea/MarkdownTextarea.js +136 -0
- package/dist/esm/components/MarkdownTextarea/createMarkdownEditor.js +52 -0
- package/dist/esm/components/MarkdownToolbar.js +302 -0
- package/dist/esm/components/icons.js +112 -0
- package/dist/esm/dialogs/CheatsheetModalDialog.js +177 -0
- package/dist/esm/dialogs/ConfirmInsertAssetModalDialog.js +37 -0
- package/dist/esm/dialogs/EmdebExternalContentDialog.js +140 -0
- package/dist/esm/dialogs/InsertLinkModalDialog.js +92 -0
- package/dist/esm/dialogs/InsertTableModalDialog.js +78 -0
- package/dist/esm/dialogs/SpecialCharacterModalDialog.js +84 -0
- package/dist/esm/dialogs/ZenModeModalDialog.js +195 -0
- package/dist/esm/dialogs/openMarkdownDialog.js +72 -0
- package/dist/esm/dialogs/renderMarkdownDialog.js +59 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/types.js +10 -0
- package/dist/esm/utils/insertAssetLinks.js +99 -0
- package/dist/esm/utils/insertAssetLinks.spec.js +18 -0
- package/dist/esm/utils/isValidUrl.js +4 -0
- package/dist/esm/utils/linkOrganizer.js +152 -0
- package/dist/esm/utils/linkOrganizer.spec.js +53 -0
- package/dist/esm/utils/replaceMailtoAmp.js +5 -0
- package/dist/esm/utils/replaceMailtoAmp.spec.js +18 -0
- package/dist/esm/utils/specialCharacters.js +218 -0
- package/dist/esm/utils/userAgent.js +13 -0
- package/dist/{MarkdownActions.d.ts → types/MarkdownActions.d.ts} +38 -38
- package/dist/{MarkdownEditor.d.ts → types/MarkdownEditor.d.ts} +22 -22
- package/dist/types/__fixtures__/FakeSdk.d.ts +8 -0
- package/dist/types/__fixtures__/asset/index.d.ts +6 -0
- package/dist/types/__fixtures__/content-type/index.d.ts +2 -0
- package/dist/types/__fixtures__/entry/index.d.ts +5 -0
- package/dist/types/__fixtures__/fixtures.d.ts +6 -0
- package/dist/types/__fixtures__/locale/index.d.ts +42 -0
- package/dist/types/__fixtures__/space/index.d.ts +2 -0
- package/dist/{codemirrorImports.d.ts → types/codemirrorImports.d.ts} +5 -5
- package/dist/{components → types/components}/HeadingSelector.d.ts +7 -7
- package/dist/{components → types/components}/InsertLinkSelector.d.ts +9 -9
- package/dist/{components → types/components}/MarkdownBottomBar.d.ts +11 -11
- package/dist/{components → types/components}/MarkdownConstraints.d.ts +6 -6
- package/dist/{components → types/components}/MarkdownPreview.d.ts +14 -14
- package/dist/{components → types/components}/MarkdownTabs.d.ts +8 -8
- package/dist/{components → types/components}/MarkdownTextarea/CodeMirrorWrapper.d.ts +58 -58
- package/dist/{components → types/components}/MarkdownTextarea/MarkdownCommands.d.ts +33 -33
- package/dist/{components → types/components}/MarkdownTextarea/MarkdownTextarea.d.ts +17 -17
- package/dist/{components → types/components}/MarkdownTextarea/createMarkdownEditor.d.ts +55 -55
- package/dist/{components → types/components}/MarkdownToolbar.d.ts +12 -12
- package/dist/types/components/icons.d.ts +18 -0
- package/dist/{dialogs → types/dialogs}/CheatsheetModalDialog.d.ts +4 -4
- package/dist/{dialogs → types/dialogs}/ConfirmInsertAssetModalDialog.d.ts +23 -23
- package/dist/{dialogs → types/dialogs}/EmdebExternalContentDialog.d.ts +9 -9
- package/dist/{dialogs → types/dialogs}/InsertLinkModalDialog.d.ts +17 -17
- package/dist/{dialogs → types/dialogs}/InsertTableModalDialog.d.ts +13 -13
- package/dist/{dialogs → types/dialogs}/SpecialCharacterModalDialog.d.ts +9 -9
- package/dist/{dialogs → types/dialogs}/ZenModeModalDialog.d.ts +24 -24
- package/dist/{dialogs → types/dialogs}/openMarkdownDialog.d.ts +5 -5
- package/dist/{dialogs → types/dialogs}/renderMarkdownDialog.d.ts +8 -8
- package/dist/{index.d.ts → types/index.d.ts} +5 -5
- package/dist/{types.d.ts → types/types.d.ts} +75 -75
- package/dist/{utils → types/utils}/insertAssetLinks.d.ts +29 -29
- package/dist/types/utils/insertAssetLinks.spec.d.ts +1 -0
- package/dist/{utils → types/utils}/isValidUrl.d.ts +2 -2
- package/dist/{utils → types/utils}/linkOrganizer.d.ts +6 -6
- package/dist/types/utils/linkOrganizer.spec.d.ts +1 -0
- package/dist/{utils → types/utils}/replaceMailtoAmp.d.ts +1 -1
- package/dist/types/utils/replaceMailtoAmp.spec.d.ts +1 -0
- package/dist/{utils → types/utils}/specialCharacters.d.ts +4 -4
- package/dist/{utils → types/utils}/userAgent.d.ts +1 -1
- package/package.json +25 -11
- package/CHANGELOG.md +0 -308
- package/dist/components/icons.d.ts +0 -18
- package/dist/field-editor-markdown.cjs.development.js +0 -3605
- package/dist/field-editor-markdown.cjs.development.js.map +0 -1
- package/dist/field-editor-markdown.cjs.production.min.js +0 -216
- package/dist/field-editor-markdown.cjs.production.min.js.map +0 -1
- package/dist/field-editor-markdown.esm.js +0 -3595
- package/dist/field-editor-markdown.esm.js.map +0 -1
- package/dist/index.js +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const specialCharacters: {
|
|
2
|
-
code: number;
|
|
3
|
-
desc: string;
|
|
4
|
-
}[];
|
|
1
|
+
export declare const specialCharacters: {
|
|
2
|
+
code: number;
|
|
3
|
+
desc: string;
|
|
4
|
+
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getCtrlKey(): string;
|
|
1
|
+
export declare function getCtrlKey(): string;
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-markdown",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"main": "dist/index.js",
|
|
5
|
-
"module": "dist/
|
|
6
|
-
"
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"main": "dist/cjs/index.js",
|
|
5
|
+
"module": "dist/esm/index.js",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/types/index.d.ts",
|
|
10
|
+
"require": "./dist/cjs/index.js",
|
|
11
|
+
"default": "./dist/cjs/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
7
15
|
"files": [
|
|
8
16
|
"dist"
|
|
9
17
|
],
|
|
@@ -14,17 +22,23 @@
|
|
|
14
22
|
"url": "https://github.com/contentful/field-editors"
|
|
15
23
|
},
|
|
16
24
|
"scripts": {
|
|
17
|
-
"watch": "
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
25
|
+
"watch": "yarn concurrently \"yarn:watch:*\"",
|
|
26
|
+
"watch:cjs": "yarn build:cjs -w",
|
|
27
|
+
"watch:esm": "yarn build:esm -w",
|
|
28
|
+
"watch:types": "yarn build:types --watch",
|
|
29
|
+
"build": "yarn build:types && yarn build:cjs && yarn build:esm",
|
|
30
|
+
"build:types": "tsc --outDir dist/types --emitDeclarationOnly",
|
|
31
|
+
"build:cjs": "swc src --config-file ../../.swcrc -d dist/cjs -C module.type=commonjs",
|
|
32
|
+
"build:esm": "swc src --config-file ../../.swcrc -d dist/esm",
|
|
33
|
+
"test": "jest --watch",
|
|
34
|
+
"test:ci": "jest --ci",
|
|
21
35
|
"tsc": "tsc -p ./ --noEmit"
|
|
22
36
|
},
|
|
23
37
|
"dependencies": {
|
|
24
38
|
"@contentful/f36-components": "^4.0.27",
|
|
25
39
|
"@contentful/f36-icons": "^4.1.0",
|
|
26
40
|
"@contentful/f36-tokens": "^4.0.0",
|
|
27
|
-
"@contentful/field-editor-shared": "^1.
|
|
41
|
+
"@contentful/field-editor-shared": "^1.3.0",
|
|
28
42
|
"@types/codemirror": "0.0.109",
|
|
29
43
|
"@types/markdown-to-jsx": "6.11.3",
|
|
30
44
|
"codemirror": "^5.65.11",
|
|
@@ -38,12 +52,12 @@
|
|
|
38
52
|
"devDependencies": {
|
|
39
53
|
"@babel/core": "^7.5.5",
|
|
40
54
|
"@contentful/app-sdk": "^4.2.0",
|
|
41
|
-
"@contentful/field-editor-test-utils": "^1.
|
|
55
|
+
"@contentful/field-editor-test-utils": "^1.4.0",
|
|
42
56
|
"@types/dompurify": "^2.2.2"
|
|
43
57
|
},
|
|
44
58
|
"peerDependencies": {
|
|
45
59
|
"@contentful/app-sdk": "^4.2.0",
|
|
46
60
|
"react": ">=16.8.0"
|
|
47
61
|
},
|
|
48
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "543e02672a8dd4edc810f9f3568d6b69c454e1f9"
|
|
49
63
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [1.2.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.16...@contentful/field-editor-markdown@1.2.0) (2023-04-19)
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
- upgrade cypress [TOL-1036] ([#1391](https://github.com/contentful/field-editors/issues/1391)) ([9c1aec9](https://github.com/contentful/field-editors/commit/9c1aec98aabbe464cdc3f1236c3bb1cc29b8208d))
|
|
11
|
-
|
|
12
|
-
## [1.1.16](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.15...@contentful/field-editor-markdown@1.1.16) (2023-03-14)
|
|
13
|
-
|
|
14
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
15
|
-
|
|
16
|
-
## [1.1.15](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.14...@contentful/field-editor-markdown@1.1.15) (2023-03-10)
|
|
17
|
-
|
|
18
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
19
|
-
|
|
20
|
-
## [1.1.14](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.13...@contentful/field-editor-markdown@1.1.14) (2023-02-27)
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
- **markdown-editor:** textlink sometimes not centered in help text ([8611e74](https://github.com/contentful/field-editors/commit/8611e74af2709176c39d9ee2abf8667aed916014))
|
|
25
|
-
|
|
26
|
-
## [1.1.13](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.12...@contentful/field-editor-markdown@1.1.13) (2023-02-21)
|
|
27
|
-
|
|
28
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
29
|
-
|
|
30
|
-
## [1.1.12](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.11...@contentful/field-editor-markdown@1.1.12) (2023-02-07)
|
|
31
|
-
|
|
32
|
-
### Bug Fixes
|
|
33
|
-
|
|
34
|
-
- enable spellchecking in markdown editor ([#1339](https://github.com/contentful/field-editors/issues/1339)) ([e828c93](https://github.com/contentful/field-editors/commit/e828c938333d498ce182f662e068861f5732ae1f))
|
|
35
|
-
|
|
36
|
-
## [1.1.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.10...@contentful/field-editor-markdown@1.1.11) (2023-02-07)
|
|
37
|
-
|
|
38
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
39
|
-
|
|
40
|
-
## [1.1.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.9...@contentful/field-editor-markdown@1.1.10) (2023-01-27)
|
|
41
|
-
|
|
42
|
-
### Bug Fixes
|
|
43
|
-
|
|
44
|
-
- mail to links replace ampersand [TOL-923] ([#1331](https://github.com/contentful/field-editors/issues/1331)) ([8e3d5df](https://github.com/contentful/field-editors/commit/8e3d5df5105a48126a790b8c341139fe7cf11d72))
|
|
45
|
-
|
|
46
|
-
## [1.1.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.8...@contentful/field-editor-markdown@1.1.9) (2022-12-08)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
49
|
-
|
|
50
|
-
## [1.1.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.7...@contentful/field-editor-markdown@1.1.8) (2022-07-29)
|
|
51
|
-
|
|
52
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
53
|
-
|
|
54
|
-
## [1.1.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.6...@contentful/field-editor-markdown@1.1.7) (2022-07-29)
|
|
55
|
-
|
|
56
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
57
|
-
|
|
58
|
-
## [1.1.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.5...@contentful/field-editor-markdown@1.1.6) (2022-07-11)
|
|
59
|
-
|
|
60
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
61
|
-
|
|
62
|
-
## [1.1.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.4...@contentful/field-editor-markdown@1.1.5) (2022-06-22)
|
|
63
|
-
|
|
64
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
65
|
-
|
|
66
|
-
## [1.1.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.3...@contentful/field-editor-markdown@1.1.4) (2022-05-04)
|
|
67
|
-
|
|
68
|
-
### Bug Fixes
|
|
69
|
-
|
|
70
|
-
- reflect disabled state on fields ([#1125](https://github.com/contentful/field-editors/issues/1125)) ([01502b9](https://github.com/contentful/field-editors/commit/01502b9d785c5f782b0e5de782d092c439cb690f))
|
|
71
|
-
|
|
72
|
-
## [1.1.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.2...@contentful/field-editor-markdown@1.1.3) (2022-02-15)
|
|
73
|
-
|
|
74
|
-
### Bug Fixes
|
|
75
|
-
|
|
76
|
-
- bump f36 packages ([#1025](https://github.com/contentful/field-editors/issues/1025)) ([ec37a40](https://github.com/contentful/field-editors/commit/ec37a4000db7cd75c66dd9621136b2272c9feeea))
|
|
77
|
-
|
|
78
|
-
## [1.1.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.1...@contentful/field-editor-markdown@1.1.2) (2022-02-14)
|
|
79
|
-
|
|
80
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
81
|
-
|
|
82
|
-
## [1.1.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.0...@contentful/field-editor-markdown@1.1.1) (2022-02-01)
|
|
83
|
-
|
|
84
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
85
|
-
|
|
86
|
-
# [1.1.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.5...@contentful/field-editor-markdown@1.1.0) (2022-01-11)
|
|
87
|
-
|
|
88
|
-
### Features
|
|
89
|
-
|
|
90
|
-
- bump f36 packages to stable v4 [BAU-521] ([#988](https://github.com/contentful/field-editors/issues/988)) ([419cf56](https://github.com/contentful/field-editors/commit/419cf56692179b074fcfa2743469d5265ed98429))
|
|
91
|
-
|
|
92
|
-
## [1.0.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.4...@contentful/field-editor-markdown@1.0.5) (2021-12-23)
|
|
93
|
-
|
|
94
|
-
### Bug Fixes
|
|
95
|
-
|
|
96
|
-
- markdown buttons ([#968](https://github.com/contentful/field-editors/issues/968)) ([9803b98](https://github.com/contentful/field-editors/commit/9803b98c25d92df6148686ffe2749a77f7efdbb9))
|
|
97
|
-
|
|
98
|
-
## [1.0.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.3...@contentful/field-editor-markdown@1.0.4) (2021-12-20)
|
|
99
|
-
|
|
100
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
101
|
-
|
|
102
|
-
## [1.0.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.2...@contentful/field-editor-markdown@1.0.3) (2021-12-06)
|
|
103
|
-
|
|
104
|
-
### Bug Fixes
|
|
105
|
-
|
|
106
|
-
- replace @contentful/hostname-transformer ([#950](https://github.com/contentful/field-editors/issues/950)) ([871ca34](https://github.com/contentful/field-editors/commit/871ca345f1c53e4d579f58e5ee32c67830ad1b7f))
|
|
107
|
-
|
|
108
|
-
## [1.0.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.1...@contentful/field-editor-markdown@1.0.2) (2021-12-03)
|
|
109
|
-
|
|
110
|
-
### Bug Fixes
|
|
111
|
-
|
|
112
|
-
- markdown upload asset domain url to ctfasset.net [] ([#946](https://github.com/contentful/field-editors/issues/946)) ([21ef606](https://github.com/contentful/field-editors/commit/21ef606e941feff1e8db1189c9cb48f9a82728a0))
|
|
113
|
-
|
|
114
|
-
## [1.0.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.0...@contentful/field-editor-markdown@1.0.1) (2021-11-17)
|
|
115
|
-
|
|
116
|
-
### Bug Fixes
|
|
117
|
-
|
|
118
|
-
- **card-actions:** update forma 36 to fix card actions click issue ([#927](https://github.com/contentful/field-editors/issues/927)) ([3dfdef2](https://github.com/contentful/field-editors/commit/3dfdef2c2b0045f12ea94ddafca89a8e9f25e7d0))
|
|
119
|
-
|
|
120
|
-
# [1.0.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.18.0...@contentful/field-editor-markdown@1.0.0) (2021-11-04)
|
|
121
|
-
|
|
122
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
123
|
-
|
|
124
|
-
# [0.18.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.17.1...@contentful/field-editor-markdown@0.18.0) (2021-11-04)
|
|
125
|
-
|
|
126
|
-
### Features
|
|
127
|
-
|
|
128
|
-
- Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
|
|
129
|
-
|
|
130
|
-
### BREAKING CHANGES
|
|
131
|
-
|
|
132
|
-
- adopts a new Forma v4 beta
|
|
133
|
-
|
|
134
|
-
## [0.17.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.17.0...@contentful/field-editor-markdown@0.17.1) (2021-10-14)
|
|
135
|
-
|
|
136
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
137
|
-
|
|
138
|
-
# [0.17.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.4...@contentful/field-editor-markdown@0.17.0) (2021-10-06)
|
|
139
|
-
|
|
140
|
-
### Features
|
|
141
|
-
|
|
142
|
-
- [EXT-3161] bump app sdk to v4 ([#881](https://github.com/contentful/field-editors/issues/881)) ([9c4a2af](https://github.com/contentful/field-editors/commit/9c4a2af07da203d59fb5f15c3a5188ecc64b1d44))
|
|
143
|
-
|
|
144
|
-
## [0.16.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.3...@contentful/field-editor-markdown@0.16.4) (2021-09-17)
|
|
145
|
-
|
|
146
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
147
|
-
|
|
148
|
-
## [0.16.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.2...@contentful/field-editor-markdown@0.16.3) (2021-09-16)
|
|
149
|
-
|
|
150
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
151
|
-
|
|
152
|
-
## [0.16.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.1...@contentful/field-editor-markdown@0.16.2) (2021-08-19)
|
|
153
|
-
|
|
154
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
155
|
-
|
|
156
|
-
## [0.16.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.0...@contentful/field-editor-markdown@0.16.1) (2021-07-29)
|
|
157
|
-
|
|
158
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
159
|
-
|
|
160
|
-
# [0.16.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.6...@contentful/field-editor-markdown@0.16.0) (2021-07-23)
|
|
161
|
-
|
|
162
|
-
### Features
|
|
163
|
-
|
|
164
|
-
- 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
|
|
165
|
-
|
|
166
|
-
## [0.15.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.3...@contentful/field-editor-markdown@0.15.6) (2021-07-06)
|
|
167
|
-
|
|
168
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
169
|
-
|
|
170
|
-
## [0.15.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.3...@contentful/field-editor-markdown@0.15.5) (2021-07-06)
|
|
171
|
-
|
|
172
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
173
|
-
|
|
174
|
-
## [0.15.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.3...@contentful/field-editor-markdown@0.15.4) (2021-06-23)
|
|
175
|
-
|
|
176
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
177
|
-
|
|
178
|
-
## [0.15.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.2...@contentful/field-editor-markdown@0.15.3) (2021-06-23)
|
|
179
|
-
|
|
180
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
181
|
-
|
|
182
|
-
## [0.15.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.1...@contentful/field-editor-markdown@0.15.2) (2021-06-22)
|
|
183
|
-
|
|
184
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
185
|
-
|
|
186
|
-
## [0.15.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.0...@contentful/field-editor-markdown@0.15.1) (2021-06-11)
|
|
187
|
-
|
|
188
|
-
### Bug Fixes
|
|
189
|
-
|
|
190
|
-
- **markdown:** sanitize Markdown output in preview mode ([#740](https://github.com/contentful/field-editors/issues/740)) ([c50655e](https://github.com/contentful/field-editors/commit/c50655e22df750f22b404e396fb97a9b5c1c9009))
|
|
191
|
-
|
|
192
|
-
# [0.15.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.4...@contentful/field-editor-markdown@0.15.0) (2021-06-01)
|
|
193
|
-
|
|
194
|
-
### Features
|
|
195
|
-
|
|
196
|
-
- gracefully handle void elements ([#734](https://github.com/contentful/field-editors/issues/734)) ([c359196](https://github.com/contentful/field-editors/commit/c35919604512d526340036f198268d1f26260603))
|
|
197
|
-
|
|
198
|
-
## [0.14.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.3...@contentful/field-editor-markdown@0.14.4) (2021-04-14)
|
|
199
|
-
|
|
200
|
-
### Bug Fixes
|
|
201
|
-
|
|
202
|
-
- [] auto refresh json and markdown when rendered out of view ([#684](https://github.com/contentful/field-editors/issues/684)) ([faea939](https://github.com/contentful/field-editors/commit/faea93910c934f6ed74ebe4a949ee1d2eea7b28b))
|
|
203
|
-
|
|
204
|
-
## [0.14.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.2...@contentful/field-editor-markdown@0.14.3) (2021-03-22)
|
|
205
|
-
|
|
206
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
207
|
-
|
|
208
|
-
## [0.14.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.1...@contentful/field-editor-markdown@0.14.2) (2021-03-05)
|
|
209
|
-
|
|
210
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
211
|
-
|
|
212
|
-
## [0.14.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.0...@contentful/field-editor-markdown@0.14.1) (2021-03-04)
|
|
213
|
-
|
|
214
|
-
### Bug Fixes
|
|
215
|
-
|
|
216
|
-
- 🐛 allow functional react in preview components ([#621](https://github.com/contentful/field-editors/issues/621)) ([77e7536](https://github.com/contentful/field-editors/commit/77e753690d74073ba5f80be7eecef871cb83fbbe))
|
|
217
|
-
|
|
218
|
-
# [0.14.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.13.2...@contentful/field-editor-markdown@0.14.0) (2021-02-19)
|
|
219
|
-
|
|
220
|
-
### Features
|
|
221
|
-
|
|
222
|
-
- bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
|
|
223
|
-
|
|
224
|
-
## [0.13.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.13.1...@contentful/field-editor-markdown@0.13.2) (2021-02-09)
|
|
225
|
-
|
|
226
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
227
|
-
|
|
228
|
-
## [0.13.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.13.0...@contentful/field-editor-markdown@0.13.1) (2021-02-08)
|
|
229
|
-
|
|
230
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
231
|
-
|
|
232
|
-
# [0.13.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.12.0...@contentful/field-editor-markdown@0.13.0) (2021-02-01)
|
|
233
|
-
|
|
234
|
-
### Features
|
|
235
|
-
|
|
236
|
-
- swap ui-extension-sdk to app-sdk ([#576](https://github.com/contentful/field-editors/issues/576)) ([ac88b4b](https://github.com/contentful/field-editors/commit/ac88b4bd4573a72f521246fc8fcc873520ca90d4))
|
|
237
|
-
|
|
238
|
-
# [0.12.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.11.1...@contentful/field-editor-markdown@0.12.0) (2021-01-20)
|
|
239
|
-
|
|
240
|
-
### Features
|
|
241
|
-
|
|
242
|
-
- update minimal forma-36 versions to use updated design ([#565](https://github.com/contentful/field-editors/issues/565)) ([332c734](https://github.com/contentful/field-editors/commit/332c734bfaf54f0e9773fcbb460d743b1f5459ec))
|
|
243
|
-
|
|
244
|
-
## [0.11.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.11.0...@contentful/field-editor-markdown@0.11.1) (2021-01-12)
|
|
245
|
-
|
|
246
|
-
### Bug Fixes
|
|
247
|
-
|
|
248
|
-
- use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
|
|
249
|
-
|
|
250
|
-
# [0.11.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.10.2...@contentful/field-editor-markdown@0.11.0) (2021-01-12)
|
|
251
|
-
|
|
252
|
-
### Features
|
|
253
|
-
|
|
254
|
-
- update minimal required Forma version to the 3.73.12 ([#552](https://github.com/contentful/field-editors/issues/552)) ([2816fd9](https://github.com/contentful/field-editors/commit/2816fd960c28815faebf49a9ef8f4c4c0d91fc36))
|
|
255
|
-
|
|
256
|
-
## [0.10.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.10.1...@contentful/field-editor-markdown@0.10.2) (2021-01-11)
|
|
257
|
-
|
|
258
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
259
|
-
|
|
260
|
-
## [0.10.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.10.0...@contentful/field-editor-markdown@0.10.1) (2020-12-16)
|
|
261
|
-
|
|
262
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
263
|
-
|
|
264
|
-
# [0.10.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.9...@contentful/field-editor-markdown@0.10.0) (2020-12-16)
|
|
265
|
-
|
|
266
|
-
### Features
|
|
267
|
-
|
|
268
|
-
- minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
|
|
269
|
-
|
|
270
|
-
## [0.9.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.8...@contentful/field-editor-markdown@0.9.9) (2020-12-14)
|
|
271
|
-
|
|
272
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
273
|
-
|
|
274
|
-
## [0.9.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.7...@contentful/field-editor-markdown@0.9.8) (2020-11-30)
|
|
275
|
-
|
|
276
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
277
|
-
|
|
278
|
-
## [0.9.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.6...@contentful/field-editor-markdown@0.9.7) (2020-11-06)
|
|
279
|
-
|
|
280
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
281
|
-
|
|
282
|
-
## [0.9.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.5...@contentful/field-editor-markdown@0.9.6) (2020-11-06)
|
|
283
|
-
|
|
284
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
285
|
-
|
|
286
|
-
## [0.9.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.4...@contentful/field-editor-markdown@0.9.5) (2020-10-28)
|
|
287
|
-
|
|
288
|
-
### Bug Fixes
|
|
289
|
-
|
|
290
|
-
- 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
|
|
291
|
-
|
|
292
|
-
## [0.9.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.3...@contentful/field-editor-markdown@0.9.4) (2020-09-21)
|
|
293
|
-
|
|
294
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
295
|
-
|
|
296
|
-
## [0.9.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.2...@contentful/field-editor-markdown@0.9.3) (2020-08-31)
|
|
297
|
-
|
|
298
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
299
|
-
|
|
300
|
-
## [0.9.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.1...@contentful/field-editor-markdown@0.9.2) (2020-08-24)
|
|
301
|
-
|
|
302
|
-
### Bug Fixes
|
|
303
|
-
|
|
304
|
-
- trim empty lines in markdown editor ([f2e0532](https://github.com/contentful/field-editors/commit/f2e05324d21f259293a77a364603f2d438a55fed))
|
|
305
|
-
|
|
306
|
-
## [0.9.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.0...@contentful/field-editor-markdown@0.9.1) (2020-08-24)
|
|
307
|
-
|
|
308
|
-
**Note:** Version bump only for package @contentful/field-editor-markdown
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type IconProps = {
|
|
3
|
-
width?: number;
|
|
4
|
-
height?: number;
|
|
5
|
-
className?: string;
|
|
6
|
-
label: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const Zen: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
9
|
-
export declare const Strikethrough: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
10
|
-
export declare const Indent: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
11
|
-
export declare const Dedent: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
12
|
-
export declare const Cubes: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
13
|
-
export declare const Table: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
14
|
-
export declare const SpecialChar: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
15
|
-
export declare const OrgLinks: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
16
|
-
export declare const Undo: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
17
|
-
export declare const Redo: ({ label, ...rest }: IconProps) => JSX.Element;
|
|
18
|
-
export {};
|