@atlaskit/editor-plugin-placeholder-text 1.2.1 → 1.2.3

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/.eslintrc.js CHANGED
@@ -1,14 +1,14 @@
1
1
  module.exports = {
2
- rules: {
3
- '@typescript-eslint/no-duplicate-imports': 'error',
4
- '@typescript-eslint/no-explicit-any': 'error',
5
- },
6
- overrides: [
7
- {
8
- files: ['**/__tests__/**/*.{js,ts,tsx}', '**/examples/**/*.{js,ts,tsx}'],
9
- rules: {
10
- '@typescript-eslint/no-explicit-any': 'off',
11
- },
12
- },
13
- ],
2
+ rules: {
3
+ '@typescript-eslint/no-duplicate-imports': 'error',
4
+ '@typescript-eslint/no-explicit-any': 'error',
5
+ },
6
+ overrides: [
7
+ {
8
+ files: ['**/__tests__/**/*.{js,ts,tsx}', '**/examples/**/*.{js,ts,tsx}'],
9
+ rules: {
10
+ '@typescript-eslint/no-explicit-any': 'off',
11
+ },
12
+ },
13
+ ],
14
14
  };
package/CHANGELOG.md CHANGED
@@ -1,320 +1,335 @@
1
1
  # @atlaskit/editor-plugin-placeholder-text
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
14
+ [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
15
+ [ED-23332] Update adf-schema package to 36.10.1
16
+ - Updated dependencies
17
+
3
18
  ## 1.2.1
4
19
 
5
20
  ### Patch Changes
6
21
 
7
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
8
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
9
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
22
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
23
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
24
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
10
25
 
11
26
  ## 1.2.0
12
27
 
13
28
  ### Minor Changes
14
29
 
15
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
16
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
17
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
30
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
31
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
32
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
18
33
 
19
34
  ### Patch Changes
20
35
 
21
- - Updated dependencies
36
+ - Updated dependencies
22
37
 
23
38
  ## 1.1.7
24
39
 
25
40
  ### Patch Changes
26
41
 
27
- - Updated dependencies
42
+ - Updated dependencies
28
43
 
29
44
  ## 1.1.6
30
45
 
31
46
  ### Patch Changes
32
47
 
33
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
34
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
35
- [ED-22282] Bump adf-schema to 36.1.0
48
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
49
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
50
+ [ED-22282] Bump adf-schema to 36.1.0
36
51
 
37
52
  ## 1.1.5
38
53
 
39
54
  ### Patch Changes
40
55
 
41
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
42
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
43
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
44
- language triggering composition on an empty line.This was fixed in a patch bump of
45
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
56
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
57
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
58
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
59
+ language triggering composition on an empty line.This was fixed in a patch bump of
60
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
46
61
 
47
62
  ## 1.1.4
48
63
 
49
64
  ### Patch Changes
50
65
 
51
- - Updated dependencies
66
+ - Updated dependencies
52
67
 
53
68
  ## 1.1.3
54
69
 
55
70
  ### Patch Changes
56
71
 
57
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
58
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
59
- [ED-23102] Bump ADF schema to version 35.12.2
72
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
73
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
74
+ [ED-23102] Bump ADF schema to version 35.12.2
60
75
 
61
76
  ## 1.1.2
62
77
 
63
78
  ### Patch Changes
64
79
 
65
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
66
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
67
- [ED-23097] Bump ADF schema to version 35.12.1
80
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
81
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
82
+ [ED-23097] Bump ADF schema to version 35.12.1
68
83
 
69
84
  ## 1.1.1
70
85
 
71
86
  ### Patch Changes
72
87
 
73
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
74
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
75
- Updating adf-schema version to 35.10.0
88
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
89
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
90
+ Updating adf-schema version to 35.10.0
76
91
 
77
92
  ## 1.1.0
78
93
 
79
94
  ### Minor Changes
80
95
 
81
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
82
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
83
- bumped editor-prosemirror version to 4.0.0
96
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
97
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
98
+ bumped editor-prosemirror version to 4.0.0
84
99
 
85
100
  ### Patch Changes
86
101
 
87
- - Updated dependencies
102
+ - Updated dependencies
88
103
 
89
104
  ## 1.0.9
90
105
 
91
106
  ### Patch Changes
92
107
 
93
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
94
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
95
- Bump adf-schema to 35.9.2 to support table alignment options
108
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
109
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
110
+ Bump adf-schema to 35.9.2 to support table alignment options
96
111
 
97
112
  ## 1.0.8
98
113
 
99
114
  ### Patch Changes
100
115
 
101
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
102
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
103
- Bump ADF-schema package to version 35.0.0
104
- - Updated dependencies
116
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
117
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
118
+ Bump ADF-schema package to version 35.0.0
119
+ - Updated dependencies
105
120
 
106
121
  ## 1.0.7
107
122
 
108
123
  ### Patch Changes
109
124
 
110
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
111
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
112
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
113
- 35.7.0 to 35.8.0
125
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
126
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
127
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
128
+ 35.7.0 to 35.8.0
114
129
 
115
130
  ## 1.0.6
116
131
 
117
132
  ### Patch Changes
118
133
 
119
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
120
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
121
- Bump adf-schema to 35.7.0
134
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
135
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
136
+ Bump adf-schema to 35.7.0
122
137
 
123
138
  ## 1.0.5
124
139
 
125
140
  ### Patch Changes
126
141
 
127
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
128
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
129
- Upgrade Typescript from `4.9.5` to `5.4.2`
142
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
143
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
144
+ Upgrade Typescript from `4.9.5` to `5.4.2`
130
145
 
131
146
  ## 1.0.4
132
147
 
133
148
  ### Patch Changes
134
149
 
135
- - [#82109](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82109)
136
- [`2ab37a71220d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2ab37a71220d) -
137
- Setup react 18 types for @atlaskit/editor-plugin-placeholder-text
150
+ - [#82109](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82109)
151
+ [`2ab37a71220d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2ab37a71220d) -
152
+ Setup react 18 types for @atlaskit/editor-plugin-placeholder-text
138
153
 
139
154
  ## 1.0.3
140
155
 
141
156
  ### Patch Changes
142
157
 
143
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
144
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
145
- ED-22553 Updating adf-schema version to 35.6.0
158
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
159
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
160
+ ED-22553 Updating adf-schema version to 35.6.0
146
161
 
147
162
  ## 1.0.2
148
163
 
149
164
  ### Patch Changes
150
165
 
151
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
152
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
153
- ED-22219: adf-schema updated to 35.5.2
154
- - Updated dependencies
166
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
167
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
168
+ ED-22219: adf-schema updated to 35.5.2
169
+ - Updated dependencies
155
170
 
156
171
  ## 1.0.1
157
172
 
158
173
  ### Patch Changes
159
174
 
160
- - Updated dependencies
175
+ - Updated dependencies
161
176
 
162
177
  ## 1.0.0
163
178
 
164
179
  ### Major Changes
165
180
 
166
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
167
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
168
- This changeset exists to bump all editor plugins that currently don't have a major version. This
169
- is to address an issue with Jira plugin consumption.
181
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
182
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
183
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
184
+ is to address an issue with Jira plugin consumption.
170
185
 
171
186
  ### Patch Changes
172
187
 
173
- - Updated dependencies
188
+ - Updated dependencies
174
189
 
175
190
  ## 0.1.19
176
191
 
177
192
  ### Patch Changes
178
193
 
179
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
180
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
181
- Upgrading @atlaskit/editor-prosemirror dependency
194
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
195
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
196
+ Upgrading @atlaskit/editor-prosemirror dependency
182
197
 
183
198
  ## 0.1.18
184
199
 
185
200
  ### Patch Changes
186
201
 
187
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
188
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
189
- Move all plugin translations to editor-common
190
- - Updated dependencies
202
+ - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
203
+ [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
204
+ Move all plugin translations to editor-common
205
+ - Updated dependencies
191
206
 
192
207
  ## 0.1.17
193
208
 
194
209
  ### Patch Changes
195
210
 
196
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
197
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
198
- Updating adf-schema version to 35.5.1
211
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
212
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
213
+ Updating adf-schema version to 35.5.1
199
214
 
200
215
  ## 0.1.16
201
216
 
202
217
  ### Patch Changes
203
218
 
204
- - Updated dependencies
219
+ - Updated dependencies
205
220
 
206
221
  ## 0.1.15
207
222
 
208
223
  ### Patch Changes
209
224
 
210
- - [#66398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66398)
211
- [`dd2a685a2f06`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd2a685a2f06) -
212
- Bugfix for clicking on a placeholder to focus within the editor when the side context panel is
213
- open
214
- - Updated dependencies
225
+ - [#66398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66398)
226
+ [`dd2a685a2f06`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd2a685a2f06) -
227
+ Bugfix for clicking on a placeholder to focus within the editor when the side context panel is
228
+ open
229
+ - Updated dependencies
215
230
 
216
231
  ## 0.1.14
217
232
 
218
233
  ### Patch Changes
219
234
 
220
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
221
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
222
- Ensure all editor plugins are marked as singletons
235
+ - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
236
+ [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
237
+ Ensure all editor plugins are marked as singletons
223
238
 
224
239
  ## 0.1.13
225
240
 
226
241
  ### Patch Changes
227
242
 
228
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
229
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
230
- ED-21609 Update adf-schema to 35.3.0
231
- - Updated dependencies
243
+ - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
244
+ [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
245
+ ED-21609 Update adf-schema to 35.3.0
246
+ - Updated dependencies
232
247
 
233
248
  ## 0.1.12
234
249
 
235
250
  ### Patch Changes
236
251
 
237
- - Updated dependencies
252
+ - Updated dependencies
238
253
 
239
254
  ## 0.1.11
240
255
 
241
256
  ### Patch Changes
242
257
 
243
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
244
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
245
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
258
+ - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
259
+ [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
260
+ [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
246
261
 
247
262
  ## 0.1.10
248
263
 
249
264
  ### Patch Changes
250
265
 
251
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
252
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
253
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
266
+ - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
267
+ [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
268
+ ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
254
269
 
255
270
  ## 0.1.9
256
271
 
257
272
  ### Patch Changes
258
273
 
259
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
260
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
261
- ED-21371 Update adf-schema to 35.1.0
274
+ - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
275
+ [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
276
+ ED-21371 Update adf-schema to 35.1.0
262
277
 
263
278
  ## 0.1.8
264
279
 
265
280
  ### Patch Changes
266
281
 
267
- - Updated dependencies
282
+ - Updated dependencies
268
283
 
269
284
  ## 0.1.7
270
285
 
271
286
  ### Patch Changes
272
287
 
273
- - Updated dependencies
288
+ - Updated dependencies
274
289
 
275
290
  ## 0.1.6
276
291
 
277
292
  ### Patch Changes
278
293
 
279
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
280
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
281
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
294
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
295
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
296
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
282
297
 
283
298
  ## 0.1.5
284
299
 
285
300
  ### Patch Changes
286
301
 
287
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
288
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
289
- update ADF schema
302
+ - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
303
+ [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
304
+ update ADF schema
290
305
 
291
306
  ## 0.1.4
292
307
 
293
308
  ### Patch Changes
294
309
 
295
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
296
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
297
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
310
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
311
+ [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
312
+ ED-21266: Updated @atlaskit/adf-schema to 34.0.1
298
313
 
299
314
  ## 0.1.3
300
315
 
301
316
  ### Patch Changes
302
317
 
303
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
304
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
305
- ED-20971 Upgrade adf-schema package to ^34.0.0
318
+ - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
319
+ [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
320
+ Upgrade adf-schema package to ^34.0.0
306
321
 
307
322
  ## 0.1.2
308
323
 
309
324
  ### Patch Changes
310
325
 
311
- - Updated dependencies
326
+ - Updated dependencies
312
327
 
313
328
  ## 0.1.1
314
329
 
315
330
  ### Patch Changes
316
331
 
317
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
318
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
319
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
320
- - Updated dependencies
332
+ - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
333
+ [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
334
+ Upgrade ADF schema version to 33.2.3 for MBE nodes.
335
+ - Updated dependencies
package/LICENSE.md CHANGED
@@ -1,13 +1,11 @@
1
1
  Copyright 2023 Atlassian Pty Ltd
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
4
+ compliance with the License. You may obtain a copy of the License at
6
5
 
7
6
  http://www.apache.org/licenses/LICENSE-2.0
8
7
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is
9
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10
+ implied. See the License for the specific language governing permissions and limitations under the
11
+ License.
@@ -11,4 +11,4 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
11
11
  var _colors = require("@atlaskit/theme/colors");
12
12
  var _templateObject;
13
13
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
14
- var placeholderTextStyles = exports.placeholderTextStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .ProseMirror span[data-placeholder] {\n color: ", ";\n display: inline;\n }\n\n .ProseMirror span.pm-placeholder {\n display: inline;\n color: ", ";\n }\n .ProseMirror span.pm-placeholder__text {\n display: inline;\n color: ", ";\n }\n\n .ProseMirror span.pm-placeholder.", " {\n ", "\n }\n\n .ProseMirror span.pm-placeholder__text[data-placeholder]::after {\n color: ", ";\n cursor: text;\n content: attr(data-placeholder);\n display: inline;\n }\n\n .ProseMirror {\n .ProseMirror-fake-text-cursor {\n display: inline;\n pointer-events: none;\n position: relative;\n }\n\n .ProseMirror-fake-text-cursor::after {\n content: '';\n display: inline;\n top: 0;\n position: absolute;\n border-right: 1px solid ", ";\n }\n\n .ProseMirror-fake-text-selection {\n display: inline;\n pointer-events: none;\n position: relative;\n background-color: ", ";\n }\n }\n"])), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-border, rgba(0, 0, 0, 0.4))", "var(--ds-background-selected, ".concat(_colors.B75, ")"));
14
+ var placeholderTextStyles = exports.placeholderTextStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror span[data-placeholder] {\n\t\tcolor: ", ";\n\t\tdisplay: inline;\n\t}\n\n\t.ProseMirror span.pm-placeholder {\n\t\tdisplay: inline;\n\t\tcolor: ", ";\n\t}\n\t.ProseMirror span.pm-placeholder__text {\n\t\tdisplay: inline;\n\t\tcolor: ", ";\n\t}\n\n\t.ProseMirror span.pm-placeholder.", " {\n\t\t", "\n\t}\n\n\t.ProseMirror span.pm-placeholder__text[data-placeholder]::after {\n\t\tcolor: ", ";\n\t\tcursor: text;\n\t\tcontent: attr(data-placeholder);\n\t\tdisplay: inline;\n\t}\n\n\t.ProseMirror {\n\t\t.ProseMirror-fake-text-cursor {\n\t\t\tdisplay: inline;\n\t\t\tpointer-events: none;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.ProseMirror-fake-text-cursor::after {\n\t\t\tcontent: '';\n\t\t\tdisplay: inline;\n\t\t\ttop: 0;\n\t\t\tposition: absolute;\n\t\t\tborder-right: 1px solid ", ";\n\t\t}\n\n\t\t.ProseMirror-fake-text-selection {\n\t\t\tdisplay: inline;\n\t\t\tpointer-events: none;\n\t\t\tposition: relative;\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n"])), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Background]), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-border, rgba(0, 0, 0, 0.4))", "var(--ds-background-selected, ".concat(_colors.B75, ")"));
@@ -64,7 +64,9 @@ function FloatingToolbar(_ref) {
64
64
  }, (0, _react2.jsx)("div", {
65
65
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
66
66
  css: (0, _styles.container)(fitHeight),
67
- "data-testid": "popup-container",
67
+ "data-testid": "popup-container"
68
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
69
+ ,
68
70
  className: className
69
71
  }, children));
70
72
  }
@@ -3,51 +3,51 @@ import { akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } fro
3
3
  import { B75, N200 } from '@atlaskit/theme/colors';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
5
5
  export const placeholderTextStyles = css`
6
- .ProseMirror span[data-placeholder] {
7
- color: ${`var(--ds-text-subtlest, ${N200})`};
8
- display: inline;
9
- }
6
+ .ProseMirror span[data-placeholder] {
7
+ color: ${`var(--ds-text-subtlest, ${N200})`};
8
+ display: inline;
9
+ }
10
10
 
11
- .ProseMirror span.pm-placeholder {
12
- display: inline;
13
- color: ${`var(--ds-text-subtlest, ${N200})`};
14
- }
15
- .ProseMirror span.pm-placeholder__text {
16
- display: inline;
17
- color: ${`var(--ds-text-subtlest, ${N200})`};
18
- }
11
+ .ProseMirror span.pm-placeholder {
12
+ display: inline;
13
+ color: ${`var(--ds-text-subtlest, ${N200})`};
14
+ }
15
+ .ProseMirror span.pm-placeholder__text {
16
+ display: inline;
17
+ color: ${`var(--ds-text-subtlest, ${N200})`};
18
+ }
19
19
 
20
- .ProseMirror span.pm-placeholder.${akEditorSelectedNodeClassName} {
21
- ${getSelectionStyles([SelectionStyle.Background])}
22
- }
20
+ .ProseMirror span.pm-placeholder.${akEditorSelectedNodeClassName} {
21
+ ${getSelectionStyles([SelectionStyle.Background])}
22
+ }
23
23
 
24
- .ProseMirror span.pm-placeholder__text[data-placeholder]::after {
25
- color: ${`var(--ds-text-subtlest, ${N200})`};
26
- cursor: text;
27
- content: attr(data-placeholder);
28
- display: inline;
29
- }
24
+ .ProseMirror span.pm-placeholder__text[data-placeholder]::after {
25
+ color: ${`var(--ds-text-subtlest, ${N200})`};
26
+ cursor: text;
27
+ content: attr(data-placeholder);
28
+ display: inline;
29
+ }
30
30
 
31
- .ProseMirror {
32
- .ProseMirror-fake-text-cursor {
33
- display: inline;
34
- pointer-events: none;
35
- position: relative;
36
- }
31
+ .ProseMirror {
32
+ .ProseMirror-fake-text-cursor {
33
+ display: inline;
34
+ pointer-events: none;
35
+ position: relative;
36
+ }
37
37
 
38
- .ProseMirror-fake-text-cursor::after {
39
- content: '';
40
- display: inline;
41
- top: 0;
42
- position: absolute;
43
- border-right: 1px solid ${"var(--ds-border, rgba(0, 0, 0, 0.4))"};
44
- }
38
+ .ProseMirror-fake-text-cursor::after {
39
+ content: '';
40
+ display: inline;
41
+ top: 0;
42
+ position: absolute;
43
+ border-right: 1px solid ${"var(--ds-border, rgba(0, 0, 0, 0.4))"};
44
+ }
45
45
 
46
- .ProseMirror-fake-text-selection {
47
- display: inline;
48
- pointer-events: none;
49
- position: relative;
50
- background-color: ${`var(--ds-background-selected, ${B75})`};
51
- }
52
- }
46
+ .ProseMirror-fake-text-selection {
47
+ display: inline;
48
+ pointer-events: none;
49
+ position: relative;
50
+ background-color: ${`var(--ds-background-selected, ${B75})`};
51
+ }
52
+ }
53
53
  `;
@@ -38,7 +38,9 @@ export default function FloatingToolbar({
38
38
  }, jsx("div", {
39
39
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
40
40
  css: container(fitHeight),
41
- "data-testid": "popup-container",
41
+ "data-testid": "popup-container"
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
43
+ ,
42
44
  className: className
43
45
  }, children));
44
46
  }
@@ -4,4 +4,4 @@ import { css } from '@emotion/react';
4
4
  import { akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
5
5
  import { B75, N200 } from '@atlaskit/theme/colors';
6
6
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
7
- export var placeholderTextStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ProseMirror span[data-placeholder] {\n color: ", ";\n display: inline;\n }\n\n .ProseMirror span.pm-placeholder {\n display: inline;\n color: ", ";\n }\n .ProseMirror span.pm-placeholder__text {\n display: inline;\n color: ", ";\n }\n\n .ProseMirror span.pm-placeholder.", " {\n ", "\n }\n\n .ProseMirror span.pm-placeholder__text[data-placeholder]::after {\n color: ", ";\n cursor: text;\n content: attr(data-placeholder);\n display: inline;\n }\n\n .ProseMirror {\n .ProseMirror-fake-text-cursor {\n display: inline;\n pointer-events: none;\n position: relative;\n }\n\n .ProseMirror-fake-text-cursor::after {\n content: '';\n display: inline;\n top: 0;\n position: absolute;\n border-right: 1px solid ", ";\n }\n\n .ProseMirror-fake-text-selection {\n display: inline;\n pointer-events: none;\n position: relative;\n background-color: ", ";\n }\n }\n"])), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-text-subtlest, ".concat(N200, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.Background]), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-border, rgba(0, 0, 0, 0.4))", "var(--ds-background-selected, ".concat(B75, ")"));
7
+ export var placeholderTextStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror span[data-placeholder] {\n\t\tcolor: ", ";\n\t\tdisplay: inline;\n\t}\n\n\t.ProseMirror span.pm-placeholder {\n\t\tdisplay: inline;\n\t\tcolor: ", ";\n\t}\n\t.ProseMirror span.pm-placeholder__text {\n\t\tdisplay: inline;\n\t\tcolor: ", ";\n\t}\n\n\t.ProseMirror span.pm-placeholder.", " {\n\t\t", "\n\t}\n\n\t.ProseMirror span.pm-placeholder__text[data-placeholder]::after {\n\t\tcolor: ", ";\n\t\tcursor: text;\n\t\tcontent: attr(data-placeholder);\n\t\tdisplay: inline;\n\t}\n\n\t.ProseMirror {\n\t\t.ProseMirror-fake-text-cursor {\n\t\t\tdisplay: inline;\n\t\t\tpointer-events: none;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.ProseMirror-fake-text-cursor::after {\n\t\t\tcontent: '';\n\t\t\tdisplay: inline;\n\t\t\ttop: 0;\n\t\t\tposition: absolute;\n\t\t\tborder-right: 1px solid ", ";\n\t\t}\n\n\t\t.ProseMirror-fake-text-selection {\n\t\t\tdisplay: inline;\n\t\t\tpointer-events: none;\n\t\t\tposition: relative;\n\t\t\tbackground-color: ", ";\n\t\t}\n\t}\n"])), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-text-subtlest, ".concat(N200, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.Background]), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-border, rgba(0, 0, 0, 0.4))", "var(--ds-background-selected, ".concat(B75, ")"));
@@ -38,7 +38,9 @@ export default function FloatingToolbar(_ref) {
38
38
  }, jsx("div", {
39
39
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
40
40
  css: container(fitHeight),
41
- "data-testid": "popup-container",
41
+ "data-testid": "popup-container"
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
43
+ ,
42
44
  className: className
43
45
  }, children));
44
46
  }
@@ -10,10 +10,7 @@ export interface PlaceholderTextPluginState {
10
10
  allowInserting: boolean;
11
11
  }
12
12
  export type PlaceholderTextPlugin = NextEditorPlugin<'placeholderText', {
13
- dependencies: [
14
- OptionalPlugin<typeof analyticsPlugin>,
15
- OptionalPlugin<TypeAheadPlugin>
16
- ];
13
+ dependencies: [OptionalPlugin<typeof analyticsPlugin>, OptionalPlugin<TypeAheadPlugin>];
17
14
  pluginConfiguration: PlaceholderTextOptions;
18
15
  sharedState: PlaceholderTextPluginState | undefined;
19
16
  actions: {
@@ -23,5 +23,5 @@ export interface Props {
23
23
  alignY?: 'bottom' | 'top';
24
24
  onPositionCalculated?: (position: Coordinates) => Coordinates;
25
25
  }
26
- export { handlePositionCalculatedWith, getOffsetParent, getNearestNonTextNode, } from './utils';
26
+ export { handlePositionCalculatedWith, getOffsetParent, getNearestNonTextNode } from './utils';
27
27
  export default function FloatingToolbar({ children, target, offset, fitWidth, fitHeight, onPositionCalculated, popupsMountPoint, popupsBoundariesElement, className, absoluteOffset, alignX, alignY, zIndex, }: Props): jsx.JSX.Element | null;
@@ -23,5 +23,5 @@ export interface Props {
23
23
  alignY?: 'bottom' | 'top';
24
24
  onPositionCalculated?: (position: Coordinates) => Coordinates;
25
25
  }
26
- export { handlePositionCalculatedWith, getOffsetParent, getNearestNonTextNode, } from './utils';
26
+ export { handlePositionCalculatedWith, getOffsetParent, getNearestNonTextNode } from './utils';
27
27
  export default function FloatingToolbar({ children, target, offset, fitWidth, fitHeight, onPositionCalculated, popupsMountPoint, popupsBoundariesElement, className, absoluteOffset, alignX, alignY, zIndex, }: Props): jsx.JSX.Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder-text",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "placeholder text plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,15 +28,15 @@
28
28
  }
29
29
  },
30
30
  "dependencies": {
31
- "@atlaskit/adf-schema": "^36.8.0",
32
- "@atlaskit/editor-common": "^80.4.0",
31
+ "@atlaskit/adf-schema": "^36.10.7",
32
+ "@atlaskit/editor-common": "^82.0.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^1.2.0",
34
34
  "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
35
35
  "@atlaskit/editor-prosemirror": "4.0.1",
36
- "@atlaskit/editor-shared-styles": "^2.11.0",
37
- "@atlaskit/icon": "^22.2.0",
36
+ "@atlaskit/editor-shared-styles": "^2.12.0",
37
+ "@atlaskit/icon": "^22.3.0",
38
38
  "@atlaskit/theme": "^12.8.0",
39
- "@atlaskit/tokens": "^1.48.0",
39
+ "@atlaskit/tokens": "^1.49.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "@emotion/react": "^11.7.1"
42
42
  },
@@ -50,7 +50,6 @@
50
50
  "@atlaskit/editor-plugin-floating-toolbar": "^1.4.0",
51
51
  "@atlaskit/ssr": "*",
52
52
  "@atlaskit/visual-regression": "*",
53
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
54
53
  "@testing-library/react": "^12.1.5",
55
54
  "react-dom": "^16.8.0",
56
55
  "typescript": "~5.4.2",
@@ -100,6 +99,5 @@
100
99
  "af:exports": {
101
100
  ".": "./src/index.ts",
102
101
  "./styles": "./src/styles.ts"
103
- },
104
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
102
+ }
105
103
  }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-plugin-placeholder-text"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -24,24 +25,21 @@ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
24
25
 
25
26
  // @public (undocumented)
26
27
  export interface PlaceholderTextOptions {
27
- // (undocumented)
28
- allowInserting?: boolean;
28
+ // (undocumented)
29
+ allowInserting?: boolean;
29
30
  }
30
31
 
31
32
  // @public (undocumented)
32
33
  export type PlaceholderTextPlugin = NextEditorPlugin<
33
- 'placeholderText',
34
- {
35
- dependencies: [
36
- OptionalPlugin<typeof analyticsPlugin>,
37
- OptionalPlugin<TypeAheadPlugin>,
38
- ];
39
- pluginConfiguration: PlaceholderTextOptions;
40
- sharedState: PlaceholderTextPluginState | undefined;
41
- actions: {
42
- showPlaceholderFloatingToolbar: typeof showPlaceholderFloatingToolbar;
43
- };
44
- }
34
+ 'placeholderText',
35
+ {
36
+ dependencies: [OptionalPlugin<typeof analyticsPlugin>, OptionalPlugin<TypeAheadPlugin>];
37
+ pluginConfiguration: PlaceholderTextOptions;
38
+ sharedState: PlaceholderTextPluginState | undefined;
39
+ actions: {
40
+ showPlaceholderFloatingToolbar: typeof showPlaceholderFloatingToolbar;
41
+ };
42
+ }
45
43
  >;
46
44
 
47
45
  // @public (undocumented)
@@ -49,16 +47,16 @@ export const placeholderTextPlugin: PlaceholderTextPlugin;
49
47
 
50
48
  // @public (undocumented)
51
49
  export interface PlaceholderTextPluginState {
52
- // (undocumented)
53
- allowInserting: boolean;
54
- // (undocumented)
55
- showInsertPanelAt: null | number;
50
+ // (undocumented)
51
+ allowInserting: boolean;
52
+ // (undocumented)
53
+ showInsertPanelAt: null | number;
56
54
  }
57
55
 
58
56
  // @public (undocumented)
59
57
  const showPlaceholderFloatingToolbar: (
60
- state: EditorState,
61
- dispatch: (tr: Transaction) => void,
58
+ state: EditorState,
59
+ dispatch: (tr: Transaction) => void,
62
60
  ) => boolean;
63
61
 
64
62
  // (No @packageDocumentation comment for this package)
@@ -72,8 +70,8 @@ const showPlaceholderFloatingToolbar: (
72
70
 
73
71
  ```json
74
72
  {
75
- "react": "^16.8.0",
76
- "react-intl-next": "npm:react-intl@^5.18.1"
73
+ "react": "^16.8.0",
74
+ "react-intl-next": "npm:react-intl@^5.18.1"
77
75
  }
78
76
  ```
79
77