@contentful/field-editor-markdown 0.17.1 → 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,335 +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.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)
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)
7
7
 
8
- **Note:** Version bump only for package @contentful/field-editor-markdown
8
+ ### Features
9
9
 
10
+ - Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
10
11
 
12
+ ### BREAKING CHANGES
11
13
 
14
+ - adopts a new Forma v4 beta
12
15
 
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)
13
17
 
14
- # [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
+ **Note:** Version bump only for package @contentful/field-editor-markdown
15
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)
16
21
 
17
22
  ### Features
18
23
 
19
- * [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
-
21
-
22
-
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))
24
25
 
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)
26
27
 
27
28
  **Note:** Version bump only for package @contentful/field-editor-markdown
28
29
 
29
-
30
-
31
-
32
-
33
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)
34
31
 
35
32
  **Note:** Version bump only for package @contentful/field-editor-markdown
36
33
 
37
-
38
-
39
-
40
-
41
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)
42
35
 
43
36
  **Note:** Version bump only for package @contentful/field-editor-markdown
44
37
 
45
-
46
-
47
-
48
-
49
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)
50
39
 
51
40
  **Note:** Version bump only for package @contentful/field-editor-markdown
52
41
 
53
-
54
-
55
-
56
-
57
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)
58
43
 
59
-
60
44
  ### Features
61
45
 
62
- * 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
63
-
64
-
65
-
66
-
46
+ - 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
67
47
 
68
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)
69
49
 
70
50
  **Note:** Version bump only for package @contentful/field-editor-markdown
71
51
 
72
-
73
-
74
-
75
-
76
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)
77
53
 
78
54
  **Note:** Version bump only for package @contentful/field-editor-markdown
79
55
 
80
-
81
-
82
-
83
-
84
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)
85
57
 
86
58
  **Note:** Version bump only for package @contentful/field-editor-markdown
87
59
 
88
-
89
-
90
-
91
-
92
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)
93
61
 
94
62
  **Note:** Version bump only for package @contentful/field-editor-markdown
95
63
 
96
-
97
-
98
-
99
-
100
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)
101
65
 
102
66
  **Note:** Version bump only for package @contentful/field-editor-markdown
103
67
 
104
-
105
-
106
-
107
-
108
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)
109
69
 
110
-
111
70
  ### Bug Fixes
112
71
 
113
- * **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))
114
-
115
-
116
-
117
-
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))
118
73
 
119
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)
120
75
 
121
-
122
76
  ### Features
123
77
 
124
- * gracefully handle void elements ([#734](https://github.com/contentful/field-editors/issues/734)) ([c359196](https://github.com/contentful/field-editors/commit/c35919604512d526340036f198268d1f26260603))
125
-
126
-
127
-
128
-
78
+ - gracefully handle void elements ([#734](https://github.com/contentful/field-editors/issues/734)) ([c359196](https://github.com/contentful/field-editors/commit/c35919604512d526340036f198268d1f26260603))
129
79
 
130
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)
131
81
 
132
-
133
82
  ### Bug Fixes
134
83
 
135
- * [] 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))
136
-
137
-
138
-
139
-
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))
140
85
 
141
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)
142
87
 
143
88
  **Note:** Version bump only for package @contentful/field-editor-markdown
144
89
 
145
-
146
-
147
-
148
-
149
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)
150
91
 
151
92
  **Note:** Version bump only for package @contentful/field-editor-markdown
152
93
 
153
-
154
-
155
-
156
-
157
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)
158
95
 
159
-
160
96
  ### Bug Fixes
161
97
 
162
- * 🐛 allow functional react in preview components ([#621](https://github.com/contentful/field-editors/issues/621)) ([77e7536](https://github.com/contentful/field-editors/commit/77e753690d74073ba5f80be7eecef871cb83fbbe))
163
-
164
-
165
-
166
-
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))
167
99
 
168
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)
169
101
 
170
-
171
102
  ### Features
172
103
 
173
- * bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
174
-
175
-
176
-
177
-
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))
178
105
 
179
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)
180
107
 
181
108
  **Note:** Version bump only for package @contentful/field-editor-markdown
182
109
 
183
-
184
-
185
-
186
-
187
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)
188
111
 
189
112
  **Note:** Version bump only for package @contentful/field-editor-markdown
190
113
 
191
-
192
-
193
-
194
-
195
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)
196
115
 
197
-
198
116
  ### Features
199
117
 
200
- * 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))
201
-
202
-
203
-
204
-
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))
205
119
 
206
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)
207
121
 
208
-
209
122
  ### Features
210
123
 
211
- * 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))
212
-
213
-
214
-
215
-
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))
216
125
 
217
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)
218
127
 
219
-
220
128
  ### Bug Fixes
221
129
 
222
- * use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
223
-
224
-
225
-
226
-
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))
227
131
 
228
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)
229
133
 
230
-
231
134
  ### Features
232
135
 
233
- * 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))
234
-
235
-
236
-
237
-
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))
238
137
 
239
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)
240
139
 
241
140
  **Note:** Version bump only for package @contentful/field-editor-markdown
242
141
 
243
-
244
-
245
-
246
-
247
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)
248
143
 
249
144
  **Note:** Version bump only for package @contentful/field-editor-markdown
250
145
 
251
-
252
-
253
-
254
-
255
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)
256
147
 
257
-
258
148
  ### Features
259
149
 
260
- * minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
261
-
262
-
263
-
264
-
150
+ - minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
265
151
 
266
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)
267
153
 
268
154
  **Note:** Version bump only for package @contentful/field-editor-markdown
269
155
 
270
-
271
-
272
-
273
-
274
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)
275
157
 
276
158
  **Note:** Version bump only for package @contentful/field-editor-markdown
277
159
 
278
-
279
-
280
-
281
-
282
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)
283
161
 
284
162
  **Note:** Version bump only for package @contentful/field-editor-markdown
285
163
 
286
-
287
-
288
-
289
-
290
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)
291
165
 
292
166
  **Note:** Version bump only for package @contentful/field-editor-markdown
293
167
 
294
-
295
-
296
-
297
-
298
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)
299
169
 
300
-
301
170
  ### Bug Fixes
302
171
 
303
- * 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
304
-
305
-
306
-
307
-
172
+ - 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
308
173
 
309
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)
310
175
 
311
176
  **Note:** Version bump only for package @contentful/field-editor-markdown
312
177
 
313
-
314
-
315
-
316
-
317
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)
318
179
 
319
180
  **Note:** Version bump only for package @contentful/field-editor-markdown
320
181
 
321
-
322
-
323
-
324
-
325
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)
326
183
 
327
-
328
184
  ### Bug Fixes
329
185
 
330
- * trim empty lines in markdown editor ([f2e0532](https://github.com/contentful/field-editors/commit/f2e05324d21f259293a77a364603f2d438a55fed))
331
-
332
-
333
-
334
-
186
+ - trim empty lines in markdown editor ([f2e0532](https://github.com/contentful/field-editors/commit/f2e05324d21f259293a77a364603f2d438a55fed))
335
187
 
336
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)
337
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;