@atlaskit/editor-plugin-alignment 1.4.0 → 1.4.2

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,18 +1,18 @@
1
1
  module.exports = {
2
- rules: {
3
- '@typescript-eslint/no-duplicate-imports': 'error',
4
- '@typescript-eslint/no-explicit-any': 'error',
5
- '@typescript-eslint/ban-types': [
6
- 'error',
7
- {
8
- types: {
9
- 'React.FC':
10
- 'Please use types directly on props instead, and explicitly define children if required',
11
- 'React.FunctionalComponent':
12
- 'Please use types directly on props instead, and explicitly define children if required',
13
- },
14
- extendDefaults: false,
15
- },
16
- ],
17
- },
2
+ rules: {
3
+ '@typescript-eslint/no-duplicate-imports': 'error',
4
+ '@typescript-eslint/no-explicit-any': 'error',
5
+ '@typescript-eslint/ban-types': [
6
+ 'error',
7
+ {
8
+ types: {
9
+ 'React.FC':
10
+ 'Please use types directly on props instead, and explicitly define children if required',
11
+ 'React.FunctionalComponent':
12
+ 'Please use types directly on props instead, and explicitly define children if required',
13
+ },
14
+ extendDefaults: false,
15
+ },
16
+ ],
17
+ },
18
18
  };
package/CHANGELOG.md CHANGED
@@ -1,275 +1,290 @@
1
1
  # @atlaskit/editor-plugin-alignment
2
2
 
3
+ ## 1.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#109764](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109764)
8
+ [`0c87bddb30871`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c87bddb30871) -
9
+ ED-23659 - fix `Mod-Alt-E` allign text left shortcut
10
+ - Updated dependencies
11
+
12
+ ## 1.4.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 1.4.0
4
19
 
5
20
  ### Minor Changes
6
21
 
7
- - [#101406](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101406)
8
- [`6daffd65aec4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6daffd65aec4) -
9
- [ED-23298] Extract primary toolbar components to editor plugin to allow for custom ordering
22
+ - [#101406](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101406)
23
+ [`6daffd65aec4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6daffd65aec4) -
24
+ [ED-23298] Extract primary toolbar components to editor plugin to allow for custom ordering
10
25
 
11
26
  ### Patch Changes
12
27
 
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
28
+ - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
29
+ [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
30
+ [ED-23332] Update adf-schema package to 36.10.1
31
+ - Updated dependencies
17
32
 
18
33
  ## 1.3.1
19
34
 
20
35
  ### Patch Changes
21
36
 
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
37
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
38
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
39
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
25
40
 
26
41
  ## 1.3.0
27
42
 
28
43
  ### Minor Changes
29
44
 
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
45
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
46
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
47
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
33
48
 
34
49
  ### Patch Changes
35
50
 
36
- - Updated dependencies
51
+ - Updated dependencies
37
52
 
38
53
  ## 1.2.7
39
54
 
40
55
  ### Patch Changes
41
56
 
42
- - Updated dependencies
57
+ - Updated dependencies
43
58
 
44
59
  ## 1.2.6
45
60
 
46
61
  ### Patch Changes
47
62
 
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
63
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
64
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
65
+ [ED-22282] Bump adf-schema to 36.1.0
51
66
 
52
67
  ## 1.2.5
53
68
 
54
69
  ### Patch Changes
55
70
 
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
71
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
72
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
73
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
74
+ language triggering composition on an empty line.This was fixed in a patch bump of
75
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
61
76
 
62
77
  ## 1.2.4
63
78
 
64
79
  ### Patch Changes
65
80
 
66
- - Updated dependencies
81
+ - Updated dependencies
67
82
 
68
83
  ## 1.2.3
69
84
 
70
85
  ### Patch Changes
71
86
 
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
87
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
88
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
89
+ [ED-23102] Bump ADF schema to version 35.12.2
75
90
 
76
91
  ## 1.2.2
77
92
 
78
93
  ### Patch Changes
79
94
 
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
95
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
96
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
97
+ [ED-23097] Bump ADF schema to version 35.12.1
83
98
 
84
99
  ## 1.2.1
85
100
 
86
101
  ### Patch Changes
87
102
 
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
103
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
104
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
105
+ Updating adf-schema version to 35.10.0
91
106
 
92
107
  ## 1.2.0
93
108
 
94
109
  ### Minor Changes
95
110
 
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
111
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
112
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
113
+ bumped editor-prosemirror version to 4.0.0
99
114
 
100
115
  ### Patch Changes
101
116
 
102
- - Updated dependencies
117
+ - Updated dependencies
103
118
 
104
119
  ## 1.1.7
105
120
 
106
121
  ### Patch Changes
107
122
 
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
123
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
124
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
125
+ Bump adf-schema to 35.9.2 to support table alignment options
111
126
 
112
127
  ## 1.1.6
113
128
 
114
129
  ### Patch Changes
115
130
 
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
131
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
132
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
133
+ Bump ADF-schema package to version 35.0.0
134
+ - Updated dependencies
120
135
 
121
136
  ## 1.1.5
122
137
 
123
138
  ### Patch Changes
124
139
 
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
140
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
141
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
142
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
143
+ 35.7.0 to 35.8.0
129
144
 
130
145
  ## 1.1.4
131
146
 
132
147
  ### Patch Changes
133
148
 
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
149
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
150
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
151
+ Bump adf-schema to 35.7.0
137
152
 
138
153
  ## 1.1.3
139
154
 
140
155
  ### Patch Changes
141
156
 
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`
157
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
158
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
159
+ Upgrade Typescript from `4.9.5` to `5.4.2`
145
160
 
146
161
  ## 1.1.2
147
162
 
148
163
  ### Patch Changes
149
164
 
150
- - [#80883](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80883)
151
- [`5ecfa883d4ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ecfa883d4ba) -
152
- React 18 types for alignment, annotation, avatar-group and blocktype plugins.
165
+ - [#80883](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80883)
166
+ [`5ecfa883d4ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ecfa883d4ba) -
167
+ React 18 types for alignment, annotation, avatar-group and blocktype plugins.
153
168
 
154
169
  ## 1.1.1
155
170
 
156
171
  ### Patch Changes
157
172
 
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
173
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
174
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
175
+ ED-22553 Updating adf-schema version to 35.6.0
161
176
 
162
177
  ## 1.1.0
163
178
 
164
179
  ### Minor Changes
165
180
 
166
- - [#77222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77222)
167
- [`b924ab2b79f3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b924ab2b79f3) -
168
- [ux] Add keyboard shortcuts for center and right text alignment
181
+ - [#77222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77222)
182
+ [`b924ab2b79f3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b924ab2b79f3) -
183
+ [ux] Add keyboard shortcuts for center and right text alignment
169
184
 
170
185
  ### Patch Changes
171
186
 
172
- - Updated dependencies
187
+ - Updated dependencies
173
188
 
174
189
  ## 1.0.2
175
190
 
176
191
  ### Patch Changes
177
192
 
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
193
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
194
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
195
+ ED-22219: adf-schema updated to 35.5.2
196
+ - Updated dependencies
182
197
 
183
198
  ## 1.0.1
184
199
 
185
200
  ### Patch Changes
186
201
 
187
- - Updated dependencies
202
+ - Updated dependencies
188
203
 
189
204
  ## 1.0.0
190
205
 
191
206
  ### Major Changes
192
207
 
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.
208
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
209
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
210
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
211
+ is to address an issue with Jira plugin consumption.
197
212
 
198
213
  ## 0.2.3
199
214
 
200
215
  ### Patch Changes
201
216
 
202
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
203
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
204
- Upgrading @atlaskit/editor-prosemirror dependency
217
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
218
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
219
+ Upgrading @atlaskit/editor-prosemirror dependency
205
220
 
206
221
  ## 0.2.2
207
222
 
208
223
  ### Patch Changes
209
224
 
210
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
211
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
212
- Move all plugin translations to editor-common
213
- - Updated dependencies
225
+ - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
226
+ [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
227
+ Move all plugin translations to editor-common
228
+ - Updated dependencies
214
229
 
215
230
  ## 0.2.1
216
231
 
217
232
  ### Patch Changes
218
233
 
219
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
220
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
221
- Updating adf-schema version to 35.5.1
234
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
235
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
236
+ Updating adf-schema version to 35.5.1
222
237
 
223
238
  ## 0.2.0
224
239
 
225
240
  ### Minor Changes
226
241
 
227
- - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
228
- [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
229
- Support maybeAdd plugins in usePreset. Add typing support for universal preset.
242
+ - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
243
+ [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
244
+ Support maybeAdd plugins in usePreset. Add typing support for universal preset.
230
245
 
231
- Now when using the editor API with the universal preset
246
+ Now when using the editor API with the universal preset
232
247
 
233
248
  ### Patch Changes
234
249
 
235
- - Updated dependencies
250
+ - Updated dependencies
236
251
 
237
252
  ## 0.1.5
238
253
 
239
254
  ### Patch Changes
240
255
 
241
- - Updated dependencies
256
+ - Updated dependencies
242
257
 
243
258
  ## 0.1.4
244
259
 
245
260
  ### Patch Changes
246
261
 
247
- - [#67814](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67814)
248
- [`b9ae9606c2e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9ae9606c2e0) -
249
- Migrate status and alignment plugins to use useSharedPluginState rather than WithPluginState
262
+ - [#67814](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67814)
263
+ [`b9ae9606c2e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9ae9606c2e0) -
264
+ Migrate status and alignment plugins to use useSharedPluginState rather than WithPluginState
250
265
 
251
266
  ## 0.1.3
252
267
 
253
268
  ### Patch Changes
254
269
 
255
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
256
- [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
257
- [ED-21835] Change EditorAPI type to always union with undefined
270
+ - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
271
+ [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
272
+ [ED-21835] Change EditorAPI type to always union with undefined
258
273
 
259
274
  ## 0.1.2
260
275
 
261
276
  ### Patch Changes
262
277
 
263
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
264
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
265
- ED-21609 Update adf-schema to 35.3.0
266
- - Updated dependencies
278
+ - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
279
+ [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
280
+ ED-21609 Update adf-schema to 35.3.0
281
+ - Updated dependencies
267
282
 
268
283
  ## 0.1.1
269
284
 
270
285
  ### Patch Changes
271
286
 
272
- - [#63608](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63608)
273
- [`bfb98fe84eae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bfb98fe84eae) -
274
- [ux] EDF-93: Report and resolve existing duplicate i18n message descriptor keys/IDs in editor,
275
- as precursor work to adding CI check
287
+ - [#63608](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63608)
288
+ [`bfb98fe84eae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bfb98fe84eae) -
289
+ [ux] EDF-93: Report and resolve existing duplicate i18n message descriptor keys/IDs in editor, as
290
+ precursor work to adding CI check
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.
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.keymapPlugin = keymapPlugin;
7
7
  var _keymaps = require("@atlaskit/editor-common/keymaps");
8
- var _keymap = require("@atlaskit/editor-prosemirror/keymap");
9
8
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
10
9
  var _commands = require("../commands");
11
10
  function keymapPlugin() {
@@ -15,5 +14,5 @@ function keymapPlugin() {
15
14
  (0, _keymaps.bindKeymapWithCommand)(_keymaps.alignCenter.common, (0, _commands.changeAlignment)('center'), list);
16
15
  (0, _keymaps.bindKeymapWithCommand)(_keymaps.alignRight.common, (0, _commands.changeAlignment)('end'), list);
17
16
  }
18
- return (0, _keymap.keymap)(list);
17
+ return (0, _keymaps.keymap)(list);
19
18
  }
@@ -41,9 +41,11 @@ function Alignment(_ref) {
41
41
  intl = _ref.intl;
42
42
  return (0, _react.jsx)("div", {
43
43
  "data-testid": "alignment-buttons"
44
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
44
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
45
+ ,
46
+ css: _styles.alignmentWrapper
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
45
48
  ,
46
- css: _styles.alignmentWrapper,
47
49
  className: className
48
50
  }, alignmentOptions.map(function (alignment) {
49
51
  var value = alignment.value,
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.alignmentWrapper = void 0;
7
7
  var _react = require("@emotion/react");
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
8
9
  var alignmentWrapper = exports.alignmentWrapper = (0, _react.css)({
9
10
  padding: "0 ".concat("var(--ds-space-100, 8px)"),
10
11
  display: 'flex',
@@ -94,7 +94,7 @@ var AlignmentToolbar = exports.AlignmentToolbar = /*#__PURE__*/function (_React$
94
94
  var alignment = (_pluginState$align = pluginState === null || pluginState === void 0 ? void 0 : pluginState.align) !== null && _pluginState$align !== void 0 ? _pluginState$align : 'start';
95
95
  var title = intl.formatMessage(_messages.alignmentMessages.alignment);
96
96
  return (
97
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
97
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
98
98
  (0, _react2.jsx)("span", {
99
99
  css: _styles2.wrapper
100
100
  }, (0, _react2.jsx)(_uiMenu.DropdownContainer, {
@@ -121,7 +121,9 @@ var AlignmentToolbar = exports.AlignmentToolbar = /*#__PURE__*/function (_React$
121
121
  spacing: isReducedSpacing ? 'none' : 'default',
122
122
  disabled: disabled,
123
123
  selected: isOpen,
124
- title: title,
124
+ title: title
125
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
126
+ ,
125
127
  className: "align-btn",
126
128
  "aria-label": title,
127
129
  "aria-expanded": isOpen,
@@ -129,7 +131,7 @@ var AlignmentToolbar = exports.AlignmentToolbar = /*#__PURE__*/function (_React$
129
131
  onClick: this.toggleOpen,
130
132
  onKeyDown: this.toggleOpenByKeyboard,
131
133
  iconBefore:
132
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
134
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
133
135
  (0, _react2.jsx)("div", {
134
136
  css: _styles2.triggerWrapper
135
137
  }, (0, _react2.jsx)(_iconMap.IconMap, {
@@ -147,6 +149,7 @@ var AlignmentToolbar = exports.AlignmentToolbar = /*#__PURE__*/function (_React$
147
149
  },
148
150
  selectedAlignment: alignment
149
151
  })), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
152
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
150
153
  (0, _react2.jsx)("span", {
151
154
  css: _styles.separatorStyles
152
155
  }))
@@ -5,16 +5,22 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.wrapper = exports.triggerWrapper = exports.expandIconWrapper = void 0;
7
7
  var _react = require("@emotion/react");
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
8
9
  var triggerWrapper = exports.triggerWrapper = (0, _react.css)({
9
10
  display: 'flex'
10
11
  });
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
11
14
  var wrapper = exports.wrapper = (0, _react.css)({
12
15
  display: 'flex',
13
16
  alignItems: 'center',
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
14
18
  div: {
15
19
  display: 'flex'
16
20
  }
17
21
  });
22
+
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
18
24
  var expandIconWrapper = exports.expandIconWrapper = (0, _react.css)({
19
25
  marginLeft: "var(--ds-space-negative-100, -8px)"
20
26
  });
@@ -1,5 +1,4 @@
1
- import { alignCenter, alignLeft, alignRight, bindKeymapWithCommand } from '@atlaskit/editor-common/keymaps';
2
- import { keymap } from '@atlaskit/editor-prosemirror/keymap';
1
+ import { alignCenter, alignLeft, alignRight, bindKeymapWithCommand, keymap } from '@atlaskit/editor-common/keymaps';
3
2
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
4
3
  import { changeAlignment } from '../commands';
5
4
  export function keymapPlugin() {
@@ -34,9 +34,11 @@ function Alignment({
34
34
  }) {
35
35
  return jsx("div", {
36
36
  "data-testid": "alignment-buttons"
37
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
37
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
38
+ ,
39
+ css: alignmentWrapper
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
38
41
  ,
39
- css: alignmentWrapper,
40
42
  className: className
41
43
  }, alignmentOptions.map(alignment => {
42
44
  const {
@@ -1,4 +1,5 @@
1
1
  import { css } from '@emotion/react';
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
2
3
  export const alignmentWrapper = css({
3
4
  padding: `0 ${"var(--ds-space-100, 8px)"}`,
4
5
  display: 'flex',
@@ -72,7 +72,7 @@ export class AlignmentToolbar extends React.Component {
72
72
  const alignment = (_pluginState$align = pluginState === null || pluginState === void 0 ? void 0 : pluginState.align) !== null && _pluginState$align !== void 0 ? _pluginState$align : 'start';
73
73
  const title = intl.formatMessage(messages.alignment);
74
74
  return (
75
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
75
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
76
76
  jsx("span", {
77
77
  css: wrapper
78
78
  }, jsx(Dropdown, {
@@ -99,7 +99,9 @@ export class AlignmentToolbar extends React.Component {
99
99
  spacing: isReducedSpacing ? 'none' : 'default',
100
100
  disabled: disabled,
101
101
  selected: isOpen,
102
- title: title,
102
+ title: title
103
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
104
+ ,
103
105
  className: "align-btn",
104
106
  "aria-label": title,
105
107
  "aria-expanded": isOpen,
@@ -107,7 +109,7 @@ export class AlignmentToolbar extends React.Component {
107
109
  onClick: this.toggleOpen,
108
110
  onKeyDown: this.toggleOpenByKeyboard,
109
111
  iconBefore:
110
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
112
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
111
113
  jsx("div", {
112
114
  css: triggerWrapper
113
115
  }, jsx(IconMap, {
@@ -123,6 +125,7 @@ export class AlignmentToolbar extends React.Component {
123
125
  onClick: align => this.changeAlignment(align, false),
124
126
  selectedAlignment: alignment
125
127
  })), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
128
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
126
129
  jsx("span", {
127
130
  css: separatorStyles
128
131
  }))
@@ -1,14 +1,20 @@
1
1
  import { css } from '@emotion/react';
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
2
3
  export const triggerWrapper = css({
3
4
  display: 'flex'
4
5
  });
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
5
8
  export const wrapper = css({
6
9
  display: 'flex',
7
10
  alignItems: 'center',
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
8
12
  div: {
9
13
  display: 'flex'
10
14
  }
11
15
  });
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
12
18
  export const expandIconWrapper = css({
13
19
  marginLeft: "var(--ds-space-negative-100, -8px)"
14
20
  });
@@ -1,5 +1,4 @@
1
- import { alignCenter, alignLeft, alignRight, bindKeymapWithCommand } from '@atlaskit/editor-common/keymaps';
2
- import { keymap } from '@atlaskit/editor-prosemirror/keymap';
1
+ import { alignCenter, alignLeft, alignRight, bindKeymapWithCommand, keymap } from '@atlaskit/editor-common/keymaps';
3
2
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
4
3
  import { changeAlignment } from '../commands';
5
4
  export function keymapPlugin() {
@@ -33,9 +33,11 @@ function Alignment(_ref) {
33
33
  intl = _ref.intl;
34
34
  return jsx("div", {
35
35
  "data-testid": "alignment-buttons"
36
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
36
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
37
+ ,
38
+ css: alignmentWrapper
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
37
40
  ,
38
- css: alignmentWrapper,
39
41
  className: className
40
42
  }, alignmentOptions.map(function (alignment) {
41
43
  var value = alignment.value,
@@ -1,4 +1,5 @@
1
1
  import { css } from '@emotion/react';
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
2
3
  export var alignmentWrapper = css({
3
4
  padding: "0 ".concat("var(--ds-space-100, 8px)"),
4
5
  display: 'flex',
@@ -88,7 +88,7 @@ export var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
88
88
  var alignment = (_pluginState$align = pluginState === null || pluginState === void 0 ? void 0 : pluginState.align) !== null && _pluginState$align !== void 0 ? _pluginState$align : 'start';
89
89
  var title = intl.formatMessage(messages.alignment);
90
90
  return (
91
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
91
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
92
92
  jsx("span", {
93
93
  css: wrapper
94
94
  }, jsx(Dropdown, {
@@ -115,7 +115,9 @@ export var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
115
115
  spacing: isReducedSpacing ? 'none' : 'default',
116
116
  disabled: disabled,
117
117
  selected: isOpen,
118
- title: title,
118
+ title: title
119
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
120
+ ,
119
121
  className: "align-btn",
120
122
  "aria-label": title,
121
123
  "aria-expanded": isOpen,
@@ -123,7 +125,7 @@ export var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
123
125
  onClick: this.toggleOpen,
124
126
  onKeyDown: this.toggleOpenByKeyboard,
125
127
  iconBefore:
126
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
128
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
127
129
  jsx("div", {
128
130
  css: triggerWrapper
129
131
  }, jsx(IconMap, {
@@ -141,6 +143,7 @@ export var AlignmentToolbar = /*#__PURE__*/function (_React$Component) {
141
143
  },
142
144
  selectedAlignment: alignment
143
145
  })), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
146
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
144
147
  jsx("span", {
145
148
  css: separatorStyles
146
149
  }))
@@ -1,14 +1,20 @@
1
1
  import { css } from '@emotion/react';
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
2
3
  export var triggerWrapper = css({
3
4
  display: 'flex'
4
5
  });
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
5
8
  export var wrapper = css({
6
9
  display: 'flex',
7
10
  alignItems: 'center',
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
8
12
  div: {
9
13
  display: 'flex'
10
14
  }
11
15
  });
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
12
18
  export var expandIconWrapper = css({
13
19
  marginLeft: "var(--ds-space-negative-100, -8px)"
14
20
  });
@@ -9,5 +9,5 @@ export interface Props {
9
9
  content: React.ReactElement;
10
10
  shortcut?: Keymap;
11
11
  }
12
- declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value, }: Props): JSX.Element;
12
+ declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value }: Props): JSX.Element;
13
13
  export default AlignmentButton;
@@ -9,5 +9,5 @@ export interface Props {
9
9
  content: React.ReactElement;
10
10
  shortcut?: Keymap;
11
11
  }
12
- declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value, }: Props): JSX.Element;
12
+ declare function AlignmentButton({ label, isSelected, content, shortcut, onClick, value }: Props): JSX.Element;
13
13
  export default AlignmentButton;
package/package.json CHANGED
@@ -1,102 +1,80 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-alignment",
3
- "version": "1.4.0",
4
- "description": "Alignment 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: AI",
19
- "releaseModel": "continuous",
20
- "singleton": true,
21
- "runReact18": false
22
- },
23
- "dependencies": {
24
- "@atlaskit/adf-schema": "^36.10.7",
25
- "@atlaskit/editor-common": "^81.0.0",
26
- "@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
27
- "@atlaskit/editor-prosemirror": "4.0.1",
28
- "@atlaskit/editor-tables": "^2.7.0",
29
- "@atlaskit/icon": "^22.3.0",
30
- "@atlaskit/platform-feature-flags": "^0.2.0",
31
- "@atlaskit/tokens": "^1.49.0",
32
- "@babel/runtime": "^7.0.0",
33
- "@emotion/react": "^11.7.1"
34
- },
35
- "peerDependencies": {
36
- "react": "^16.8.0",
37
- "react-intl-next": "npm:react-intl@^5.18.1"
38
- },
39
- "devDependencies": {
40
- "@af/integration-testing": "*",
41
- "@af/visual-regression": "*",
42
- "@atlaskit/editor-plugin-list": "^3.3.0",
43
- "@atlaskit/ssr": "*",
44
- "@atlaskit/visual-regression": "*",
45
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
46
- "@testing-library/react": "^12.1.5",
47
- "@testing-library/user-event": "^14.4.3",
48
- "react-dom": "^16.8.0",
49
- "typescript": "~5.4.2",
50
- "wait-for-expect": "^1.2.0"
51
- },
52
- "techstack": {
53
- "@atlassian/frontend": {
54
- "import-structure": [
55
- "atlassian-conventions"
56
- ],
57
- "circular-dependencies": [
58
- "file-and-folder-level"
59
- ]
60
- },
61
- "@repo/internal": {
62
- "dom-events": "use-bind-event-listener",
63
- "analytics": [
64
- "analytics-next"
65
- ],
66
- "design-tokens": [
67
- "color"
68
- ],
69
- "theming": [
70
- "react-context"
71
- ],
72
- "ui-components": [
73
- "lite-mode"
74
- ],
75
- "deprecation": "no-deprecated-imports",
76
- "styling": [
77
- "emotion",
78
- "emotion"
79
- ],
80
- "imports": [
81
- "import-no-extraneous-disable-for-examples-and-docs"
82
- ]
83
- }
84
- },
85
- "typesVersions": {
86
- ">=4.5 <4.9": {
87
- "*": [
88
- "dist/types-ts4.5/*",
89
- "dist/types-ts4.5/index.d.ts"
90
- ]
91
- }
92
- },
93
- "af:exports": {
94
- ".": "./src/index.ts"
95
- },
96
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
97
- "platform-feature-flags": {
98
- "platform.editor.text-alignment-keyboard-shortcuts": {
99
- "type": "boolean"
100
- }
101
- }
102
- }
2
+ "name": "@atlaskit/editor-plugin-alignment",
3
+ "version": "1.4.2",
4
+ "description": "Alignment 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: AI",
19
+ "releaseModel": "continuous",
20
+ "singleton": true,
21
+ "runReact18": false
22
+ },
23
+ "dependencies": {
24
+ "@atlaskit/adf-schema": "^36.10.7",
25
+ "@atlaskit/editor-common": "^82.6.0",
26
+ "@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
27
+ "@atlaskit/editor-prosemirror": "4.0.1",
28
+ "@atlaskit/editor-tables": "^2.7.0",
29
+ "@atlaskit/icon": "^22.3.0",
30
+ "@atlaskit/platform-feature-flags": "^0.2.0",
31
+ "@atlaskit/tokens": "^1.50.0",
32
+ "@babel/runtime": "^7.0.0",
33
+ "@emotion/react": "^11.7.1"
34
+ },
35
+ "peerDependencies": {
36
+ "react": "^16.8.0",
37
+ "react-intl-next": "npm:react-intl@^5.18.1"
38
+ },
39
+ "devDependencies": {
40
+ "@af/integration-testing": "*",
41
+ "@af/visual-regression": "*",
42
+ "@atlaskit/editor-plugin-list": "^3.3.0",
43
+ "@atlaskit/ssr": "*",
44
+ "@atlaskit/visual-regression": "*",
45
+ "@testing-library/react": "^12.1.5",
46
+ "@testing-library/user-event": "^14.4.3",
47
+ "react-dom": "^16.8.0",
48
+ "typescript": "~5.4.2",
49
+ "wait-for-expect": "^1.2.0"
50
+ },
51
+ "techstack": {
52
+ "@atlassian/frontend": {
53
+ "import-structure": ["atlassian-conventions"],
54
+ "circular-dependencies": ["file-and-folder-level"]
55
+ },
56
+ "@repo/internal": {
57
+ "dom-events": "use-bind-event-listener",
58
+ "analytics": ["analytics-next"],
59
+ "design-tokens": ["color"],
60
+ "theming": ["react-context"],
61
+ "ui-components": ["lite-mode"],
62
+ "deprecation": "no-deprecated-imports",
63
+ "styling": ["emotion", "emotion"],
64
+ "imports": ["import-no-extraneous-disable-for-examples-and-docs"]
65
+ }
66
+ },
67
+ "typesVersions": {
68
+ ">=4.5 <4.9": {
69
+ "*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
70
+ }
71
+ },
72
+ "af:exports": {
73
+ ".": "./src/index.ts"
74
+ },
75
+ "platform-feature-flags": {
76
+ "platform.editor.text-alignment-keyboard-shortcuts": {
77
+ "type": "boolean"
78
+ }
79
+ }
80
+ }