@contentful/field-editor-markdown 0.17.0 → 1.0.1

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