@atlaskit/editor-plugin-placeholder-text 1.2.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.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,329 +1,347 @@
1
1
  # @atlaskit/editor-plugin-placeholder-text
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#114156](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114156)
8
+ [`bc6a63af2d1d0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc6a63af2d1d0) -
9
+ Bump adf-schema to 37.0.0 and adf-schema-json to 1.16.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.2.3
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 1.2.2
4
22
 
5
23
  ### Patch Changes
6
24
 
7
- - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
8
- [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
9
- [ED-23332] Update adf-schema package to 36.10.1
10
- - Updated dependencies
25
+ - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
26
+ [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
27
+ [ED-23332] Update adf-schema package to 36.10.1
28
+ - Updated dependencies
11
29
 
12
30
  ## 1.2.1
13
31
 
14
32
  ### Patch Changes
15
33
 
16
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
17
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
18
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
34
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
35
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
36
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
19
37
 
20
38
  ## 1.2.0
21
39
 
22
40
  ### Minor Changes
23
41
 
24
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
25
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
26
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
42
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
43
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
44
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
27
45
 
28
46
  ### Patch Changes
29
47
 
30
- - Updated dependencies
48
+ - Updated dependencies
31
49
 
32
50
  ## 1.1.7
33
51
 
34
52
  ### Patch Changes
35
53
 
36
- - Updated dependencies
54
+ - Updated dependencies
37
55
 
38
56
  ## 1.1.6
39
57
 
40
58
  ### Patch Changes
41
59
 
42
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
43
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
44
- [ED-22282] Bump adf-schema to 36.1.0
60
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
61
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
62
+ [ED-22282] Bump adf-schema to 36.1.0
45
63
 
46
64
  ## 1.1.5
47
65
 
48
66
  ### Patch Changes
49
67
 
50
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
51
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
52
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
53
- language triggering composition on an empty line.This was fixed in a patch bump of
54
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
68
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
69
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
70
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
71
+ language triggering composition on an empty line.This was fixed in a patch bump of
72
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
55
73
 
56
74
  ## 1.1.4
57
75
 
58
76
  ### Patch Changes
59
77
 
60
- - Updated dependencies
78
+ - Updated dependencies
61
79
 
62
80
  ## 1.1.3
63
81
 
64
82
  ### Patch Changes
65
83
 
66
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
67
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
68
- [ED-23102] Bump ADF schema to version 35.12.2
84
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
85
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
86
+ [ED-23102] Bump ADF schema to version 35.12.2
69
87
 
70
88
  ## 1.1.2
71
89
 
72
90
  ### Patch Changes
73
91
 
74
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
75
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
76
- [ED-23097] Bump ADF schema to version 35.12.1
92
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
93
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
94
+ [ED-23097] Bump ADF schema to version 35.12.1
77
95
 
78
96
  ## 1.1.1
79
97
 
80
98
  ### Patch Changes
81
99
 
82
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
83
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
84
- Updating adf-schema version to 35.10.0
100
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
101
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
102
+ Updating adf-schema version to 35.10.0
85
103
 
86
104
  ## 1.1.0
87
105
 
88
106
  ### Minor Changes
89
107
 
90
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
91
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
92
- bumped editor-prosemirror version to 4.0.0
108
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
109
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
110
+ bumped editor-prosemirror version to 4.0.0
93
111
 
94
112
  ### Patch Changes
95
113
 
96
- - Updated dependencies
114
+ - Updated dependencies
97
115
 
98
116
  ## 1.0.9
99
117
 
100
118
  ### Patch Changes
101
119
 
102
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
103
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
104
- Bump adf-schema to 35.9.2 to support table alignment options
120
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
121
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
122
+ Bump adf-schema to 35.9.2 to support table alignment options
105
123
 
106
124
  ## 1.0.8
107
125
 
108
126
  ### Patch Changes
109
127
 
110
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
111
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
112
- Bump ADF-schema package to version 35.0.0
113
- - Updated dependencies
128
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
129
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
130
+ Bump ADF-schema package to version 35.0.0
131
+ - Updated dependencies
114
132
 
115
133
  ## 1.0.7
116
134
 
117
135
  ### Patch Changes
118
136
 
119
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
120
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
121
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
122
- 35.7.0 to 35.8.0
137
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
138
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
139
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
140
+ 35.7.0 to 35.8.0
123
141
 
124
142
  ## 1.0.6
125
143
 
126
144
  ### Patch Changes
127
145
 
128
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
129
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
130
- Bump adf-schema to 35.7.0
146
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
147
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
148
+ Bump adf-schema to 35.7.0
131
149
 
132
150
  ## 1.0.5
133
151
 
134
152
  ### Patch Changes
135
153
 
136
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
137
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
138
- Upgrade Typescript from `4.9.5` to `5.4.2`
154
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
155
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
156
+ Upgrade Typescript from `4.9.5` to `5.4.2`
139
157
 
140
158
  ## 1.0.4
141
159
 
142
160
  ### Patch Changes
143
161
 
144
- - [#82109](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82109)
145
- [`2ab37a71220d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2ab37a71220d) -
146
- Setup react 18 types for @atlaskit/editor-plugin-placeholder-text
162
+ - [#82109](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82109)
163
+ [`2ab37a71220d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2ab37a71220d) -
164
+ Setup react 18 types for @atlaskit/editor-plugin-placeholder-text
147
165
 
148
166
  ## 1.0.3
149
167
 
150
168
  ### Patch Changes
151
169
 
152
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
153
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
154
- ED-22553 Updating adf-schema version to 35.6.0
170
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
171
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
172
+ ED-22553 Updating adf-schema version to 35.6.0
155
173
 
156
174
  ## 1.0.2
157
175
 
158
176
  ### Patch Changes
159
177
 
160
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
161
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
162
- ED-22219: adf-schema updated to 35.5.2
163
- - Updated dependencies
178
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
179
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
180
+ ED-22219: adf-schema updated to 35.5.2
181
+ - Updated dependencies
164
182
 
165
183
  ## 1.0.1
166
184
 
167
185
  ### Patch Changes
168
186
 
169
- - Updated dependencies
187
+ - Updated dependencies
170
188
 
171
189
  ## 1.0.0
172
190
 
173
191
  ### Major Changes
174
192
 
175
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
176
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
177
- This changeset exists to bump all editor plugins that currently don't have a major version. This
178
- is to address an issue with Jira plugin consumption.
193
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
194
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
195
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
196
+ is to address an issue with Jira plugin consumption.
179
197
 
180
198
  ### Patch Changes
181
199
 
182
- - Updated dependencies
200
+ - Updated dependencies
183
201
 
184
202
  ## 0.1.19
185
203
 
186
204
  ### Patch Changes
187
205
 
188
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
189
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
190
- Upgrading @atlaskit/editor-prosemirror dependency
206
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
207
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
208
+ Upgrading @atlaskit/editor-prosemirror dependency
191
209
 
192
210
  ## 0.1.18
193
211
 
194
212
  ### Patch Changes
195
213
 
196
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
197
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
198
- Move all plugin translations to editor-common
199
- - Updated dependencies
214
+ - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
215
+ [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
216
+ Move all plugin translations to editor-common
217
+ - Updated dependencies
200
218
 
201
219
  ## 0.1.17
202
220
 
203
221
  ### Patch Changes
204
222
 
205
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
206
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
207
- Updating adf-schema version to 35.5.1
223
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
224
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
225
+ Updating adf-schema version to 35.5.1
208
226
 
209
227
  ## 0.1.16
210
228
 
211
229
  ### Patch Changes
212
230
 
213
- - Updated dependencies
231
+ - Updated dependencies
214
232
 
215
233
  ## 0.1.15
216
234
 
217
235
  ### Patch Changes
218
236
 
219
- - [#66398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66398)
220
- [`dd2a685a2f06`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd2a685a2f06) -
221
- Bugfix for clicking on a placeholder to focus within the editor when the side context panel is
222
- open
223
- - Updated dependencies
237
+ - [#66398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66398)
238
+ [`dd2a685a2f06`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd2a685a2f06) -
239
+ Bugfix for clicking on a placeholder to focus within the editor when the side context panel is
240
+ open
241
+ - Updated dependencies
224
242
 
225
243
  ## 0.1.14
226
244
 
227
245
  ### Patch Changes
228
246
 
229
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
230
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
231
- Ensure all editor plugins are marked as singletons
247
+ - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
248
+ [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
249
+ Ensure all editor plugins are marked as singletons
232
250
 
233
251
  ## 0.1.13
234
252
 
235
253
  ### Patch Changes
236
254
 
237
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
238
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
239
- ED-21609 Update adf-schema to 35.3.0
240
- - Updated dependencies
255
+ - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
256
+ [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
257
+ ED-21609 Update adf-schema to 35.3.0
258
+ - Updated dependencies
241
259
 
242
260
  ## 0.1.12
243
261
 
244
262
  ### Patch Changes
245
263
 
246
- - Updated dependencies
264
+ - Updated dependencies
247
265
 
248
266
  ## 0.1.11
249
267
 
250
268
  ### Patch Changes
251
269
 
252
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
253
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
254
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
270
+ - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
271
+ [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
272
+ [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
255
273
 
256
274
  ## 0.1.10
257
275
 
258
276
  ### Patch Changes
259
277
 
260
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
261
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
262
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
278
+ - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
279
+ [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
280
+ ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
263
281
 
264
282
  ## 0.1.9
265
283
 
266
284
  ### Patch Changes
267
285
 
268
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
269
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
270
- ED-21371 Update adf-schema to 35.1.0
286
+ - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
287
+ [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
288
+ ED-21371 Update adf-schema to 35.1.0
271
289
 
272
290
  ## 0.1.8
273
291
 
274
292
  ### Patch Changes
275
293
 
276
- - Updated dependencies
294
+ - Updated dependencies
277
295
 
278
296
  ## 0.1.7
279
297
 
280
298
  ### Patch Changes
281
299
 
282
- - Updated dependencies
300
+ - Updated dependencies
283
301
 
284
302
  ## 0.1.6
285
303
 
286
304
  ### Patch Changes
287
305
 
288
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
289
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
290
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
306
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
307
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
308
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
291
309
 
292
310
  ## 0.1.5
293
311
 
294
312
  ### Patch Changes
295
313
 
296
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
297
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
298
- update ADF schema
314
+ - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
315
+ [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
316
+ update ADF schema
299
317
 
300
318
  ## 0.1.4
301
319
 
302
320
  ### Patch Changes
303
321
 
304
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
305
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
306
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
322
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
323
+ [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
324
+ ED-21266: Updated @atlaskit/adf-schema to 34.0.1
307
325
 
308
326
  ## 0.1.3
309
327
 
310
328
  ### Patch Changes
311
329
 
312
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
313
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
314
- ED-20971 Upgrade adf-schema package to ^34.0.0
330
+ - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
331
+ [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
332
+ Upgrade adf-schema package to ^34.0.0
315
333
 
316
334
  ## 0.1.2
317
335
 
318
336
  ### Patch Changes
319
337
 
320
- - Updated dependencies
338
+ - Updated dependencies
321
339
 
322
340
  ## 0.1.1
323
341
 
324
342
  ### Patch Changes
325
343
 
326
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
327
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
328
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
329
- - Updated dependencies
344
+ - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
345
+ [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
346
+ Upgrade ADF schema version to 33.2.3 for MBE nodes.
347
+ - 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.
@@ -9,6 +9,6 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _react = require("@emotion/react");
10
10
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
11
11
  var _colors = require("@atlaskit/theme/colors");
12
- var _templateObject;
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, ")"));
12
+ var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
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, ")"));
@@ -31,6 +31,8 @@ var _utils = require("./utils");
31
31
  /* eslint-disable @atlaskit/design-system/prefer-primitives */
32
32
  /** @jsx jsx */
33
33
 
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
35
+
34
36
  function FloatingToolbar(_ref) {
35
37
  var children = _ref.children,
36
38
  target = _ref.target,
@@ -62,9 +64,11 @@ function FloatingToolbar(_ref) {
62
64
  fitHeight: fitHeight,
63
65
  onPositionCalculated: onPositionCalculated
64
66
  }, (0, _react2.jsx)("div", {
65
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
67
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
66
68
  css: (0, _styles.container)(fitHeight),
67
- "data-testid": "popup-container",
69
+ "data-testid": "popup-container"
70
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
71
+ ,
68
72
  className: className
69
73
  }, children));
70
74
  }
@@ -7,8 +7,11 @@ exports.container = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
9
  var _constants = require("@atlaskit/theme/constants");
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
10
12
  var container = exports.container = function container(height) {
11
13
  return (0, _react.css)({
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
12
15
  borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
13
16
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 12px 24px -6px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
14
17
  display: 'flex',
@@ -16,6 +19,7 @@ var container = exports.container = function container(height) {
16
19
  boxSizing: 'border-box',
17
20
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)"),
18
21
  backgroundColor: "var(--ds-background-input, ".concat(_colors.N0, ")"),
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
19
23
  height: height ? "".concat(height, "px") : undefined
20
24
  });
21
25
  };
@@ -1,53 +1,54 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
3
4
  import { B75, N200 } from '@atlaskit/theme/colors';
4
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
5
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
5
6
  export const placeholderTextStyles = css`
6
- .ProseMirror span[data-placeholder] {
7
- color: ${`var(--ds-text-subtlest, ${N200})`};
8
- display: inline;
9
- }
7
+ .ProseMirror span[data-placeholder] {
8
+ color: ${`var(--ds-text-subtlest, ${N200})`};
9
+ display: inline;
10
+ }
10
11
 
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
- }
12
+ .ProseMirror span.pm-placeholder {
13
+ display: inline;
14
+ color: ${`var(--ds-text-subtlest, ${N200})`};
15
+ }
16
+ .ProseMirror span.pm-placeholder__text {
17
+ display: inline;
18
+ color: ${`var(--ds-text-subtlest, ${N200})`};
19
+ }
19
20
 
20
- .ProseMirror span.pm-placeholder.${akEditorSelectedNodeClassName} {
21
- ${getSelectionStyles([SelectionStyle.Background])}
22
- }
21
+ .ProseMirror span.pm-placeholder.${akEditorSelectedNodeClassName} {
22
+ ${getSelectionStyles([SelectionStyle.Background])}
23
+ }
23
24
 
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
- }
25
+ .ProseMirror span.pm-placeholder__text[data-placeholder]::after {
26
+ color: ${`var(--ds-text-subtlest, ${N200})`};
27
+ cursor: text;
28
+ content: attr(data-placeholder);
29
+ display: inline;
30
+ }
30
31
 
31
- .ProseMirror {
32
- .ProseMirror-fake-text-cursor {
33
- display: inline;
34
- pointer-events: none;
35
- position: relative;
36
- }
32
+ .ProseMirror {
33
+ .ProseMirror-fake-text-cursor {
34
+ display: inline;
35
+ pointer-events: none;
36
+ position: relative;
37
+ }
37
38
 
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
- }
39
+ .ProseMirror-fake-text-cursor::after {
40
+ content: '';
41
+ display: inline;
42
+ top: 0;
43
+ position: absolute;
44
+ border-right: 1px solid ${"var(--ds-border, rgba(0, 0, 0, 0.4))"};
45
+ }
45
46
 
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
- }
47
+ .ProseMirror-fake-text-selection {
48
+ display: inline;
49
+ pointer-events: none;
50
+ position: relative;
51
+ background-color: ${`var(--ds-background-selected, ${B75})`};
52
+ }
53
+ }
53
54
  `;
@@ -1,6 +1,8 @@
1
1
  /* eslint-disable @atlaskit/design-system/prefer-primitives */
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import { Popup } from '@atlaskit/editor-common/ui';
6
8
  import { container } from './styles';
@@ -36,9 +38,11 @@ export default function FloatingToolbar({
36
38
  fitHeight: fitHeight,
37
39
  onPositionCalculated: onPositionCalculated
38
40
  }, jsx("div", {
39
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
41
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
40
42
  css: container(fitHeight),
41
- "data-testid": "popup-container",
43
+ "data-testid": "popup-container"
44
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
45
+ ,
42
46
  className: className
43
47
  }, children));
44
48
  }
@@ -1,7 +1,9 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N0, N50A, N60A } from '@atlaskit/theme/colors';
3
4
  import { borderRadius } from '@atlaskit/theme/constants';
4
5
  export const container = height => css({
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
5
7
  borderRadius: `${borderRadius()}px`,
6
8
  boxShadow: `var(--ds-shadow-overlay, ${`0 12px 24px -6px ${N50A}, 0 0 1px ${N60A}`})`,
7
9
  display: 'flex',
@@ -9,5 +11,6 @@ export const container = height => css({
9
11
  boxSizing: 'border-box',
10
12
  padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-100, 8px)"}`,
11
13
  backgroundColor: `var(--ds-background-input, ${N0})`,
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
12
15
  height: height ? `${height}px` : undefined
13
16
  });
@@ -1,7 +1,8 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
2
  var _templateObject;
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { css } from '@emotion/react';
4
5
  import { akEditorSelectedNodeClassName, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
5
6
  import { B75, N200 } from '@atlaskit/theme/colors';
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
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
8
+ 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, ")"));
@@ -1,6 +1,8 @@
1
1
  /* eslint-disable @atlaskit/design-system/prefer-primitives */
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import { Popup } from '@atlaskit/editor-common/ui';
6
8
  import { container } from './styles';
@@ -36,9 +38,11 @@ export default function FloatingToolbar(_ref) {
36
38
  fitHeight: fitHeight,
37
39
  onPositionCalculated: onPositionCalculated
38
40
  }, jsx("div", {
39
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
41
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
40
42
  css: container(fitHeight),
41
- "data-testid": "popup-container",
43
+ "data-testid": "popup-container"
44
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
45
+ ,
42
46
  className: className
43
47
  }, children));
44
48
  }
@@ -1,8 +1,10 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N0, N50A, N60A } from '@atlaskit/theme/colors';
3
4
  import { borderRadius } from '@atlaskit/theme/constants';
4
5
  export var container = function container(height) {
5
6
  return css({
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
6
8
  borderRadius: "".concat(borderRadius(), "px"),
7
9
  boxShadow: "var(--ds-shadow-overlay, ".concat("0 12px 24px -6px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
8
10
  display: 'flex',
@@ -10,6 +12,7 @@ export var container = function container(height) {
10
12
  boxSizing: 'border-box',
11
13
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)"),
12
14
  backgroundColor: "var(--ds-background-input, ".concat(N0, ")"),
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
13
16
  height: height ? "".concat(height, "px") : undefined
14
17
  });
15
18
  };
@@ -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,105 +1,103 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-placeholder-text",
3
- "version": "1.2.2",
4
- "description": "placeholder text plugin for @atlaskit/editor-core",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "sideEffects": false,
16
- "atlaskit:src": "src/index.ts",
17
- "atlassian": {
18
- "team": "Editor: Scarlet",
19
- "singleton": true,
20
- "inPublicMirror": false,
21
- "releaseModel": "continuous",
22
- "runReact18": false,
23
- "integrationTests": {
24
- "additionalBrowsers": [
25
- "desktop-firefox",
26
- "desktop-webkit"
27
- ]
28
- }
29
- },
30
- "dependencies": {
31
- "@atlaskit/adf-schema": "^36.10.7",
32
- "@atlaskit/editor-common": "^81.0.0",
33
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
34
- "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
35
- "@atlaskit/editor-prosemirror": "4.0.1",
36
- "@atlaskit/editor-shared-styles": "^2.11.0",
37
- "@atlaskit/icon": "^22.3.0",
38
- "@atlaskit/theme": "^12.8.0",
39
- "@atlaskit/tokens": "^1.49.0",
40
- "@babel/runtime": "^7.0.0",
41
- "@emotion/react": "^11.7.1"
42
- },
43
- "peerDependencies": {
44
- "react": "^16.8.0",
45
- "react-intl-next": "npm:react-intl@^5.18.1"
46
- },
47
- "devDependencies": {
48
- "@af/visual-regression": "*",
49
- "@atlaskit/analytics-next": "^9.3.0",
50
- "@atlaskit/editor-plugin-floating-toolbar": "^1.4.0",
51
- "@atlaskit/ssr": "*",
52
- "@atlaskit/visual-regression": "*",
53
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
54
- "@testing-library/react": "^12.1.5",
55
- "react-dom": "^16.8.0",
56
- "typescript": "~5.4.2",
57
- "wait-for-expect": "^1.2.0"
58
- },
59
- "techstack": {
60
- "@atlassian/frontend": {
61
- "import-structure": [
62
- "atlassian-conventions"
63
- ],
64
- "circular-dependencies": [
65
- "file-and-folder-level"
66
- ]
67
- },
68
- "@repo/internal": {
69
- "dom-events": "use-bind-event-listener",
70
- "analytics": [
71
- "analytics-next"
72
- ],
73
- "design-tokens": [
74
- "color"
75
- ],
76
- "theming": [
77
- "react-context"
78
- ],
79
- "ui-components": [
80
- "lite-mode"
81
- ],
82
- "deprecation": "no-deprecated-imports",
83
- "styling": [
84
- "emotion",
85
- "emotion"
86
- ],
87
- "imports": [
88
- "import-no-extraneous-disable-for-examples-and-docs"
89
- ]
90
- }
91
- },
92
- "typesVersions": {
93
- ">=4.5 <4.9": {
94
- "*": [
95
- "dist/types-ts4.5/*",
96
- "dist/types-ts4.5/index.d.ts"
97
- ]
98
- }
99
- },
100
- "af:exports": {
101
- ".": "./src/index.ts",
102
- "./styles": "./src/styles.ts"
103
- },
104
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
105
- }
2
+ "name": "@atlaskit/editor-plugin-placeholder-text",
3
+ "version": "1.3.0",
4
+ "description": "placeholder text plugin for @atlaskit/editor-core",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "sideEffects": false,
16
+ "atlaskit:src": "src/index.ts",
17
+ "atlassian": {
18
+ "team": "Editor: Scarlet",
19
+ "singleton": true,
20
+ "inPublicMirror": false,
21
+ "releaseModel": "continuous",
22
+ "runReact18": false,
23
+ "integrationTests": {
24
+ "additionalBrowsers": [
25
+ "desktop-firefox",
26
+ "desktop-webkit"
27
+ ]
28
+ }
29
+ },
30
+ "dependencies": {
31
+ "@atlaskit/adf-schema": "^37.0.0",
32
+ "@atlaskit/editor-common": "^82.12.0",
33
+ "@atlaskit/editor-plugin-analytics": "^1.3.0",
34
+ "@atlaskit/editor-plugin-type-ahead": "^1.3.0",
35
+ "@atlaskit/editor-prosemirror": "4.0.1",
36
+ "@atlaskit/editor-shared-styles": "^2.12.0",
37
+ "@atlaskit/icon": "^22.4.0",
38
+ "@atlaskit/theme": "^12.11.0",
39
+ "@atlaskit/tokens": "^1.53.0",
40
+ "@babel/runtime": "^7.0.0",
41
+ "@emotion/react": "^11.7.1"
42
+ },
43
+ "peerDependencies": {
44
+ "react": "^16.8.0",
45
+ "react-intl-next": "npm:react-intl@^5.18.1"
46
+ },
47
+ "devDependencies": {
48
+ "@af/visual-regression": "*",
49
+ "@atlaskit/analytics-next": "^9.3.0",
50
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.7.0",
51
+ "@atlaskit/ssr": "*",
52
+ "@atlaskit/visual-regression": "*",
53
+ "@testing-library/react": "^12.1.5",
54
+ "react-dom": "^16.8.0",
55
+ "typescript": "~5.4.2",
56
+ "wait-for-expect": "^1.2.0"
57
+ },
58
+ "techstack": {
59
+ "@atlassian/frontend": {
60
+ "import-structure": [
61
+ "atlassian-conventions"
62
+ ],
63
+ "circular-dependencies": [
64
+ "file-and-folder-level"
65
+ ]
66
+ },
67
+ "@repo/internal": {
68
+ "dom-events": "use-bind-event-listener",
69
+ "analytics": [
70
+ "analytics-next"
71
+ ],
72
+ "design-tokens": [
73
+ "color"
74
+ ],
75
+ "theming": [
76
+ "react-context"
77
+ ],
78
+ "ui-components": [
79
+ "lite-mode"
80
+ ],
81
+ "deprecation": "no-deprecated-imports",
82
+ "styling": [
83
+ "emotion",
84
+ "emotion"
85
+ ],
86
+ "imports": [
87
+ "import-no-extraneous-disable-for-examples-and-docs"
88
+ ]
89
+ }
90
+ },
91
+ "typesVersions": {
92
+ ">=4.5 <4.9": {
93
+ "*": [
94
+ "dist/types-ts4.5/*",
95
+ "dist/types-ts4.5/index.d.ts"
96
+ ]
97
+ }
98
+ },
99
+ "af:exports": {
100
+ ".": "./src/index.ts",
101
+ "./styles": "./src/styles.ts"
102
+ }
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