@contentful/field-editor-markdown 0.16.3 → 0.18.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/CHANGELOG.md CHANGED
@@ -3,308 +3,187 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [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)
7
-
8
- **Note:** Version bump only for package @contentful/field-editor-markdown
6
+ # [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)
9
7
 
8
+ ### Features
10
9
 
10
+ - Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
11
11
 
12
+ ### BREAKING CHANGES
12
13
 
14
+ - adopts a new Forma v4 beta
13
15
 
14
- ## [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)
16
+ ## [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)
15
17
 
16
18
  **Note:** Version bump only for package @contentful/field-editor-markdown
17
19
 
20
+ # [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)
18
21
 
22
+ ### Features
19
23
 
24
+ - [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))
20
25
 
26
+ ## [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)
21
27
 
22
- ## [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)
28
+ **Note:** Version bump only for package @contentful/field-editor-markdown
29
+
30
+ ## [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)
23
31
 
24
32
  **Note:** Version bump only for package @contentful/field-editor-markdown
25
33
 
34
+ ## [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)
26
35
 
36
+ **Note:** Version bump only for package @contentful/field-editor-markdown
27
37
 
38
+ ## [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)
28
39
 
40
+ **Note:** Version bump only for package @contentful/field-editor-markdown
29
41
 
30
42
  # [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)
31
43
 
32
-
33
44
  ### Features
34
45
 
35
- * 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
36
-
37
-
38
-
39
-
46
+ - 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
40
47
 
41
48
  ## [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)
42
49
 
43
50
  **Note:** Version bump only for package @contentful/field-editor-markdown
44
51
 
45
-
46
-
47
-
48
-
49
52
  ## [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)
50
53
 
51
54
  **Note:** Version bump only for package @contentful/field-editor-markdown
52
55
 
53
-
54
-
55
-
56
-
57
56
  ## [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)
58
57
 
59
58
  **Note:** Version bump only for package @contentful/field-editor-markdown
60
59
 
61
-
62
-
63
-
64
-
65
60
  ## [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)
66
61
 
67
62
  **Note:** Version bump only for package @contentful/field-editor-markdown
68
63
 
69
-
70
-
71
-
72
-
73
64
  ## [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)
74
65
 
75
66
  **Note:** Version bump only for package @contentful/field-editor-markdown
76
67
 
77
-
78
-
79
-
80
-
81
68
  ## [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)
82
69
 
83
-
84
70
  ### Bug Fixes
85
71
 
86
- * **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))
87
-
88
-
89
-
90
-
72
+ - **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))
91
73
 
92
74
  # [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)
93
75
 
94
-
95
76
  ### Features
96
77
 
97
- * gracefully handle void elements ([#734](https://github.com/contentful/field-editors/issues/734)) ([c359196](https://github.com/contentful/field-editors/commit/c35919604512d526340036f198268d1f26260603))
98
-
99
-
100
-
101
-
78
+ - gracefully handle void elements ([#734](https://github.com/contentful/field-editors/issues/734)) ([c359196](https://github.com/contentful/field-editors/commit/c35919604512d526340036f198268d1f26260603))
102
79
 
103
80
  ## [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)
104
81
 
105
-
106
82
  ### Bug Fixes
107
83
 
108
- * [] 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))
109
-
110
-
111
-
112
-
84
+ - [] 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))
113
85
 
114
86
  ## [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)
115
87
 
116
88
  **Note:** Version bump only for package @contentful/field-editor-markdown
117
89
 
118
-
119
-
120
-
121
-
122
90
  ## [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)
123
91
 
124
92
  **Note:** Version bump only for package @contentful/field-editor-markdown
125
93
 
126
-
127
-
128
-
129
-
130
94
  ## [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)
131
95
 
132
-
133
96
  ### Bug Fixes
134
97
 
135
- * 🐛 allow functional react in preview components ([#621](https://github.com/contentful/field-editors/issues/621)) ([77e7536](https://github.com/contentful/field-editors/commit/77e753690d74073ba5f80be7eecef871cb83fbbe))
136
-
137
-
138
-
139
-
98
+ - 🐛 allow functional react in preview components ([#621](https://github.com/contentful/field-editors/issues/621)) ([77e7536](https://github.com/contentful/field-editors/commit/77e753690d74073ba5f80be7eecef871cb83fbbe))
140
99
 
141
100
  # [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)
142
101
 
143
-
144
102
  ### Features
145
103
 
146
- * bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
147
-
148
-
149
-
150
-
104
+ - bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
151
105
 
152
106
  ## [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)
153
107
 
154
108
  **Note:** Version bump only for package @contentful/field-editor-markdown
155
109
 
156
-
157
-
158
-
159
-
160
110
  ## [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)
161
111
 
162
112
  **Note:** Version bump only for package @contentful/field-editor-markdown
163
113
 
164
-
165
-
166
-
167
-
168
114
  # [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)
169
115
 
170
-
171
116
  ### Features
172
117
 
173
- * 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))
174
-
175
-
176
-
177
-
118
+ - 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))
178
119
 
179
120
  # [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)
180
121
 
181
-
182
122
  ### Features
183
123
 
184
- * 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))
185
-
186
-
187
-
188
-
124
+ - 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))
189
125
 
190
126
  ## [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)
191
127
 
192
-
193
128
  ### Bug Fixes
194
129
 
195
- * use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
196
-
197
-
198
-
199
-
130
+ - use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
200
131
 
201
132
  # [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)
202
133
 
203
-
204
134
  ### Features
205
135
 
206
- * 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))
207
-
208
-
209
-
210
-
136
+ - 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))
211
137
 
212
138
  ## [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)
213
139
 
214
140
  **Note:** Version bump only for package @contentful/field-editor-markdown
215
141
 
216
-
217
-
218
-
219
-
220
142
  ## [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)
221
143
 
222
144
  **Note:** Version bump only for package @contentful/field-editor-markdown
223
145
 
224
-
225
-
226
-
227
-
228
146
  # [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)
229
147
 
230
-
231
148
  ### Features
232
149
 
233
- * minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
234
-
235
-
236
-
237
-
150
+ - minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
238
151
 
239
152
  ## [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)
240
153
 
241
154
  **Note:** Version bump only for package @contentful/field-editor-markdown
242
155
 
243
-
244
-
245
-
246
-
247
156
  ## [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)
248
157
 
249
158
  **Note:** Version bump only for package @contentful/field-editor-markdown
250
159
 
251
-
252
-
253
-
254
-
255
160
  ## [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)
256
161
 
257
162
  **Note:** Version bump only for package @contentful/field-editor-markdown
258
163
 
259
-
260
-
261
-
262
-
263
164
  ## [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)
264
165
 
265
166
  **Note:** Version bump only for package @contentful/field-editor-markdown
266
167
 
267
-
268
-
269
-
270
-
271
168
  ## [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)
272
169
 
273
-
274
170
  ### Bug Fixes
275
171
 
276
- * 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
277
-
278
-
279
-
280
-
172
+ - 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
281
173
 
282
174
  ## [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)
283
175
 
284
176
  **Note:** Version bump only for package @contentful/field-editor-markdown
285
177
 
286
-
287
-
288
-
289
-
290
178
  ## [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)
291
179
 
292
180
  **Note:** Version bump only for package @contentful/field-editor-markdown
293
181
 
294
-
295
-
296
-
297
-
298
182
  ## [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)
299
183
 
300
-
301
184
  ### Bug Fixes
302
185
 
303
- * trim empty lines in markdown editor ([f2e0532](https://github.com/contentful/field-editors/commit/f2e05324d21f259293a77a364603f2d438a55fed))
304
-
305
-
306
-
307
-
186
+ - trim empty lines in markdown editor ([f2e0532](https://github.com/contentful/field-editors/commit/f2e05324d21f259293a77a364603f2d438a55fed))
308
187
 
309
188
  ## [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)
310
189
 
package/README.md CHANGED
@@ -8,6 +8,5 @@ This package contains a React `MarkdownEditor` component that is used as a defau
8
8
 
9
9
  ```js
10
10
  import 'codemirror/lib/codemirror.css';
11
- import '@contentful/forma-36-react-components/dist/styles.css';
12
11
  import { MarkdownEditor } from '@contentful/field-editor-markdown';
13
12
  ```
@@ -3,4 +3,5 @@ import { HeadingType } from '../types';
3
3
  export declare const HeadingSelector: (props: {
4
4
  children: React.ReactElement;
5
5
  onSelect: (heading: HeadingType) => void;
6
+ tooltip?: string | undefined;
6
7
  }) => JSX.Element;
@@ -5,17 +5,8 @@ declare type IconProps = {
5
5
  className?: string;
6
6
  label: string;
7
7
  };
8
- export declare const Bold: ({ label, ...rest }: IconProps) => JSX.Element;
9
- export declare const Italic: ({ label, ...rest }: IconProps) => JSX.Element;
10
- export declare const Quote: ({ label, ...rest }: IconProps) => JSX.Element;
11
- export declare const List: ({ label, ...rest }: IconProps) => JSX.Element;
12
- export declare const ListOl: ({ label, ...rest }: IconProps) => JSX.Element;
13
- export declare const Link: ({ label, ...rest }: IconProps) => JSX.Element;
14
- export declare const Heading: ({ label, ...rest }: IconProps) => JSX.Element;
15
8
  export declare const Zen: ({ label, ...rest }: IconProps) => JSX.Element;
16
9
  export declare const Strikethrough: ({ label, ...rest }: IconProps) => JSX.Element;
17
- export declare const Code: ({ label, ...rest }: IconProps) => JSX.Element;
18
- export declare const Hr: ({ label, ...rest }: IconProps) => JSX.Element;
19
10
  export declare const Indent: ({ label, ...rest }: IconProps) => JSX.Element;
20
11
  export declare const Dedent: ({ label, ...rest }: IconProps) => JSX.Element;
21
12
  export declare const Cubes: ({ label, ...rest }: IconProps) => JSX.Element;