@atlaskit/editor-shared-styles 2.11.0 → 2.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +220 -207
- package/afm-jira/tsconfig.json +30 -0
- package/dist/cjs/consts/consts.js +4 -1
- package/dist/cjs/consts/index.js +6 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/overflow-shadow/overflow-shadow.js +1 -0
- package/dist/cjs/shortcut/shortcut.js +3 -3
- package/dist/es2019/consts/consts.js +1 -0
- package/dist/es2019/consts/index.js +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/overflow-shadow/overflow-shadow.js +1 -0
- package/dist/es2019/shortcut/shortcut.js +12 -11
- package/dist/esm/consts/consts.js +3 -0
- package/dist/esm/consts/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/overflow-shadow/overflow-shadow.js +1 -0
- package/dist/esm/shortcut/shortcut.js +3 -2
- package/dist/types/consts/consts.d.ts +1 -0
- package/dist/types/consts/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/selection/index.d.ts +1 -1
- package/dist/types-ts4.5/consts/consts.d.ts +1 -0
- package/dist/types-ts4.5/consts/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/index.d.ts +1 -1
- package/package.json +72 -71
- package/report.api.md +50 -53
- package/src/consts/consts.test.ts +17 -17
- package/src/consts/consts.ts +119 -119
- package/src/consts/index.ts +98 -97
- package/src/consts/types.ts +1 -1
- package/src/index.ts +100 -99
- package/src/overflow-shadow/overflow-shadow.ts +12 -17
- package/src/scrollbar-styles.ts +3 -12
- package/src/selection/__tests__/unit/utils.ts +30 -34
- package/src/selection/index.ts +1 -4
- package/src/selection/types.ts +4 -4
- package/src/selection/utils.ts +22 -27
- package/src/shortcut/shortcut.ts +15 -14
- package/tsconfig.app.json +44 -44
- package/tsconfig.dev.json +38 -38
package/CHANGELOG.md
CHANGED
|
@@ -1,484 +1,497 @@
|
|
|
1
1
|
# @atlaskit/editor-shared-styles
|
|
2
2
|
|
|
3
|
+
## 2.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.12.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#106586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/106586)
|
|
14
|
+
[`82b425248ffe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/82b425248ffe) -
|
|
15
|
+
Make akEditorGutterPadding a function so it can read
|
|
16
|
+
platform.editor.core.increase-full-page-guttering ff to change values
|
|
17
|
+
|
|
3
18
|
## 2.11.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
- [#98803](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98803)
|
|
23
|
+
[`b9d6c4c4f418`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9d6c4c4f418) -
|
|
24
|
+
Added new FULL_PAGE_EDITOR_TOOLBAR_HEIGHT constant to editor-shared-styles.
|
|
10
25
|
|
|
11
26
|
## 2.10.0
|
|
12
27
|
|
|
13
28
|
### Minor Changes
|
|
14
29
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
30
|
+
- [#86433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86433)
|
|
31
|
+
[`88ca3b199a49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/88ca3b199a49) -
|
|
32
|
+
[ux] EDF-412 Collaborators avatars and telepointer colors are tokenised.
|
|
18
33
|
|
|
19
34
|
## 2.9.3
|
|
20
35
|
|
|
21
36
|
### Patch Changes
|
|
22
37
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
38
|
+
- [#88247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88247)
|
|
39
|
+
[`634a42ea0ca8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/634a42ea0ca8) -
|
|
40
|
+
[ux] Fix webkit scrollbar style so header image can be full width
|
|
26
41
|
|
|
27
42
|
## 2.9.2
|
|
28
43
|
|
|
29
44
|
### Patch Changes
|
|
30
45
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
46
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
47
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
48
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
34
49
|
|
|
35
50
|
## 2.9.1
|
|
36
51
|
|
|
37
52
|
### Patch Changes
|
|
38
53
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
54
|
+
- [#73177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73177)
|
|
55
|
+
[`22452599ed8f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22452599ed8f) -
|
|
56
|
+
Move styling for certain packages to tokens.
|
|
42
57
|
|
|
43
58
|
## 2.9.0
|
|
44
59
|
|
|
45
60
|
### Minor Changes
|
|
46
61
|
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
62
|
+
- [#64679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64679)
|
|
63
|
+
[`0d0b1219b1b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0d0b1219b1b9) -
|
|
64
|
+
Fix insert column button and line above toolbar popups
|
|
50
65
|
|
|
51
66
|
## 2.8.3
|
|
52
67
|
|
|
53
68
|
### Patch Changes
|
|
54
69
|
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
70
|
+
- [#63606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63606)
|
|
71
|
+
[`196f99e732d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/196f99e732d6) -
|
|
72
|
+
[ux] Add support for drag handle for sticky header in table
|
|
58
73
|
|
|
59
74
|
## 2.8.2
|
|
60
75
|
|
|
61
76
|
### Patch Changes
|
|
62
77
|
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
78
|
+
- [#59829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59829)
|
|
79
|
+
[`3120b36a9f2c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3120b36a9f2c) -
|
|
80
|
+
Converted spacing values to the corresponding space tokens
|
|
66
81
|
|
|
67
82
|
## 2.8.1
|
|
68
83
|
|
|
69
84
|
### Patch Changes
|
|
70
85
|
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
86
|
+
- [#41274](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41274)
|
|
87
|
+
[`17ba12fb12b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17ba12fb12b) - fix
|
|
88
|
+
unnecessarily high z-index so that the vertical scrollbar in Safari does not overlay other layer
|
|
89
|
+
components with z-index below 9999
|
|
75
90
|
|
|
76
91
|
## 2.8.0
|
|
77
92
|
|
|
78
93
|
### Minor Changes
|
|
79
94
|
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
|
|
95
|
+
- [#39366](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39366)
|
|
96
|
+
[`3aaff60be08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3aaff60be08) - ED-18988
|
|
97
|
+
Adds classnames and constants for table sticky scrollbar
|
|
83
98
|
|
|
84
99
|
## 2.7.0
|
|
85
100
|
|
|
86
101
|
### Minor Changes
|
|
87
102
|
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
103
|
+
- [#40236](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40236)
|
|
104
|
+
[`0b1f816e4fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b1f816e4fa) - [ux]
|
|
105
|
+
Added akEditorTableHeaderCellBackground to store fallback.
|
|
91
106
|
|
|
92
107
|
## 2.6.1
|
|
93
108
|
|
|
94
109
|
### Patch Changes
|
|
95
110
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
111
|
+
- [#39154](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39154)
|
|
112
|
+
[`113fcc02759`](https://bitbucket.org/atlassian/atlassian-frontend/commits/113fcc02759) - ED-19433
|
|
113
|
+
Extract Emoji Plugin to its own package
|
|
99
114
|
|
|
100
115
|
## 2.6.0
|
|
101
116
|
|
|
102
117
|
### Minor Changes
|
|
103
118
|
|
|
104
|
-
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
119
|
+
- [#38223](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38223)
|
|
120
|
+
[`79dc812733f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79dc812733f) -
|
|
121
|
+
[ED-19293] Exposes a new constant value for table guidelines to align with nodes that are using
|
|
122
|
+
wide layout
|
|
108
123
|
|
|
109
124
|
## 2.5.0
|
|
110
125
|
|
|
111
126
|
### Minor Changes
|
|
112
127
|
|
|
113
|
-
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
128
|
+
- [#37456](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37456)
|
|
129
|
+
[`638784fa9d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/638784fa9d5) - force
|
|
130
|
+
dependency bump
|
|
131
|
+
- [#37270](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37270)
|
|
132
|
+
[`df488d9b806`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df488d9b806) - [ux]
|
|
133
|
+
Adds a new constant with a zIndex that is used for table sticky header and table cells that are in
|
|
134
|
+
the sticky header
|
|
120
135
|
|
|
121
136
|
## 2.4.4
|
|
122
137
|
|
|
123
138
|
### Patch Changes
|
|
124
139
|
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
140
|
+
- [#36845](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36845)
|
|
141
|
+
[`e64541c6fda`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e64541c6fda) - [ux]
|
|
142
|
+
[ED-18759] Updated table border, handlebar controls, blanket, icon, icon background and table cell
|
|
143
|
+
options button colour tokens on light and dark theme for table selection and table deletion.
|
|
144
|
+
Borders for Table Floating Contextual Button & Floating toolbar color palette button on dark &
|
|
145
|
+
light theme are also updated.
|
|
131
146
|
|
|
132
147
|
## 2.4.3
|
|
133
148
|
|
|
134
149
|
### Patch Changes
|
|
135
150
|
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
151
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
152
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
153
|
+
legacy types are published for TS 4.5-4.8
|
|
139
154
|
|
|
140
155
|
## 2.4.2
|
|
141
156
|
|
|
142
157
|
### Patch Changes
|
|
143
158
|
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
behaviour change.
|
|
159
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
|
|
160
|
+
[`9369cc38a68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9369cc38a68) - Migrated
|
|
161
|
+
use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
148
162
|
|
|
149
163
|
## 2.4.1
|
|
150
164
|
|
|
151
165
|
### Patch Changes
|
|
152
166
|
|
|
153
|
-
-
|
|
154
|
-
|
|
155
|
-
|
|
167
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
168
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
169
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
156
170
|
|
|
157
171
|
## 2.4.0
|
|
158
172
|
|
|
159
173
|
### Minor Changes
|
|
160
174
|
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
175
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
176
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
177
|
+
minor dependency bump
|
|
164
178
|
|
|
165
179
|
### Patch Changes
|
|
166
180
|
|
|
167
|
-
-
|
|
181
|
+
- Updated dependencies
|
|
168
182
|
|
|
169
183
|
## 2.3.2
|
|
170
184
|
|
|
171
185
|
### Patch Changes
|
|
172
186
|
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
-
|
|
187
|
+
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
|
|
188
|
+
[`0d93211414e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d93211414e) - Updates
|
|
189
|
+
usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement
|
|
190
|
+
`utilities.UNSAFE.transparent`.
|
|
191
|
+
- Updated dependencies
|
|
178
192
|
|
|
179
193
|
## 2.3.1
|
|
180
194
|
|
|
181
195
|
### Patch Changes
|
|
182
196
|
|
|
183
|
-
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
197
|
+
- [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
|
|
198
|
+
[`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
|
|
199
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
200
|
+
tokens() function and improving performance.
|
|
187
201
|
|
|
188
202
|
## 2.3.0
|
|
189
203
|
|
|
190
204
|
### Minor Changes
|
|
191
205
|
|
|
192
|
-
-
|
|
193
|
-
|
|
194
|
-
|
|
206
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
207
|
+
[`4fbaeb2a1fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fbaeb2a1fd) - DSP-4118
|
|
208
|
+
Updated tokens used to render overflow shadows in code blocks.
|
|
195
209
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
210
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
211
|
+
beta). These changes are intended to be interoperable with the legacy theme implementation. Legacy
|
|
212
|
+
dark mode users should expect no visual or breaking changes.
|
|
199
213
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
214
|
+
`overflowShadow` now optionally supports customizing the size of the "covers" that appear over
|
|
215
|
+
shadows when at the edge of content, via `leftCoverWidth` and `rightCoverWidth`, and the shadow
|
|
216
|
+
width via the `width` prop.
|
|
203
217
|
|
|
204
218
|
## 2.2.5
|
|
205
219
|
|
|
206
220
|
### Patch Changes
|
|
207
221
|
|
|
208
|
-
-
|
|
222
|
+
- Updated dependencies
|
|
209
223
|
|
|
210
224
|
## 2.2.4
|
|
211
225
|
|
|
212
226
|
### Patch Changes
|
|
213
227
|
|
|
214
|
-
-
|
|
228
|
+
- Updated dependencies
|
|
215
229
|
|
|
216
230
|
## 2.2.3
|
|
217
231
|
|
|
218
232
|
### Patch Changes
|
|
219
233
|
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
|
|
234
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
235
|
+
[`977ac74443c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/977ac74443c) -
|
|
236
|
+
DSP-7235: Fixes issue with overflow shadows on code blocks due to layered transparent colors.
|
|
223
237
|
|
|
224
238
|
## 2.2.2
|
|
225
239
|
|
|
226
240
|
### Patch Changes
|
|
227
241
|
|
|
228
|
-
-
|
|
242
|
+
- Updated dependencies
|
|
229
243
|
|
|
230
244
|
## 2.2.1
|
|
231
245
|
|
|
232
246
|
### Patch Changes
|
|
233
247
|
|
|
234
|
-
-
|
|
235
|
-
|
|
236
|
-
|
|
248
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
249
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
250
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
237
251
|
|
|
238
252
|
## 2.2.0
|
|
239
253
|
|
|
240
254
|
### Minor Changes
|
|
241
255
|
|
|
242
|
-
-
|
|
243
|
-
|
|
244
|
-
|
|
256
|
+
- [#24607](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24607)
|
|
257
|
+
[`73d9a2fa116`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73d9a2fa116) - ED-15568
|
|
258
|
+
Restore table's FloatingContextualMenu, extract utils/UI components
|
|
245
259
|
|
|
246
260
|
## 2.1.5
|
|
247
261
|
|
|
248
262
|
### Patch Changes
|
|
249
263
|
|
|
250
|
-
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
- Updated dependencies
|
|
264
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
265
|
+
[`a6df7e823d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6df7e823d8) - [ux]
|
|
266
|
+
Fixed trello card overflow issue in table cells & fixed merged table cells selection / hover state
|
|
267
|
+
- Updated dependencies
|
|
255
268
|
|
|
256
269
|
## 2.1.4
|
|
257
270
|
|
|
258
271
|
### Patch Changes
|
|
259
272
|
|
|
260
|
-
-
|
|
261
|
-
|
|
262
|
-
|
|
273
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
274
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
275
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
263
276
|
|
|
264
277
|
## 2.1.3
|
|
265
278
|
|
|
266
279
|
### Patch Changes
|
|
267
280
|
|
|
268
|
-
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
-
|
|
273
|
-
|
|
281
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
|
|
282
|
+
[`450a17a332a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/450a17a332a) - [ux]
|
|
283
|
+
ED-14654: Lower z-index values on editor elements so they do not stick out of the editor and
|
|
284
|
+
interfere with consuming products
|
|
285
|
+
- [`30c74c32783`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c74c32783) - [ux]
|
|
286
|
+
ED-15234: reverts ED-14654 because causing header zindex issues
|
|
274
287
|
|
|
275
288
|
## 2.1.2
|
|
276
289
|
|
|
277
290
|
### Patch Changes
|
|
278
291
|
|
|
279
|
-
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
-
|
|
283
|
-
|
|
284
|
-
|
|
292
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
|
|
293
|
+
[`17480b66f3e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17480b66f3e) -
|
|
294
|
+
[ux][ed-9943] Fix to have the TypeAhead component appear above the main editor toolbar.
|
|
295
|
+
- [`d8b3bc73330`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8b3bc73330) -
|
|
296
|
+
[ED-14507] Deprecate the allowDynamicTextSizing editor prop and remove all code related to it.
|
|
297
|
+
This feature has been unused since 2020.
|
|
285
298
|
|
|
286
299
|
## 2.1.1
|
|
287
300
|
|
|
288
301
|
### Patch Changes
|
|
289
302
|
|
|
290
|
-
-
|
|
303
|
+
- Updated dependencies
|
|
291
304
|
|
|
292
305
|
## 2.1.0
|
|
293
306
|
|
|
294
307
|
### Minor Changes
|
|
295
308
|
|
|
296
|
-
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
309
|
+
- [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
|
|
310
|
+
[`02bfb564e45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02bfb564e45) - [ux]
|
|
311
|
+
Instrumented `@atlaskit/editor-shared-styles` and partial `@atlaskit/editor-core` with the new
|
|
312
|
+
theming package, `@atlaskit/tokens`.
|
|
300
313
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
314
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
315
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
316
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
304
317
|
|
|
305
|
-
-
|
|
306
|
-
|
|
318
|
+
- [`5ab00fca118`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ab00fca118) -
|
|
319
|
+
Instrumented `@atlaskit/editor-shared-styles` with the new theming package, `@atlaskit/tokens`.
|
|
307
320
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
321
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
322
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
323
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
311
324
|
|
|
312
325
|
## 2.0.1
|
|
313
326
|
|
|
314
327
|
### Patch Changes
|
|
315
328
|
|
|
316
|
-
-
|
|
317
|
-
|
|
318
|
-
|
|
329
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
330
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
331
|
+
to TypeScript 4.2.4
|
|
319
332
|
|
|
320
333
|
## 2.0.0
|
|
321
334
|
|
|
322
335
|
### Major Changes
|
|
323
336
|
|
|
324
|
-
-
|
|
325
|
-
|
|
326
|
-
|
|
337
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
|
|
338
|
+
[`e22509504e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e22509504e8) - ED-14255
|
|
339
|
+
migrate editor-shared-style to emotion
|
|
327
340
|
|
|
328
341
|
### Patch Changes
|
|
329
342
|
|
|
330
|
-
-
|
|
331
|
-
|
|
343
|
+
- [`9712e78abb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9712e78abb0) - ED-14255
|
|
344
|
+
moved some usages of editor-shared-styles to emotion
|
|
332
345
|
|
|
333
346
|
## 1.6.0
|
|
334
347
|
|
|
335
348
|
### Minor Changes
|
|
336
349
|
|
|
337
|
-
-
|
|
338
|
-
|
|
339
|
-
|
|
350
|
+
- [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
|
|
351
|
+
[`1a07c1caf61`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a07c1caf61) -
|
|
352
|
+
CETI-93 - Fixed custom panel icon sizing and alignment when icon render as image
|
|
340
353
|
|
|
341
354
|
### Patch Changes
|
|
342
355
|
|
|
343
|
-
-
|
|
356
|
+
- Updated dependencies
|
|
344
357
|
|
|
345
358
|
## 1.5.0
|
|
346
359
|
|
|
347
360
|
### Minor Changes
|
|
348
361
|
|
|
349
|
-
-
|
|
350
|
-
|
|
351
|
-
|
|
362
|
+
- [#10316](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10316)
|
|
363
|
+
[`c2c0160f566`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2c0160f566) - Bump
|
|
364
|
+
editor-shared-styles to pick up relativeFontSizeToBase16
|
|
352
365
|
|
|
353
366
|
## 1.4.1
|
|
354
367
|
|
|
355
368
|
### Patch Changes
|
|
356
369
|
|
|
357
|
-
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
-
|
|
370
|
+
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
|
|
371
|
+
[`5c835144ef0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c835144ef0) -
|
|
372
|
+
[ME-741][me-743] Remove PX references in editor packages and modify code block font size.
|
|
373
|
+
- Updated dependencies
|
|
361
374
|
|
|
362
375
|
## 1.4.0
|
|
363
376
|
|
|
364
377
|
### Minor Changes
|
|
365
378
|
|
|
366
|
-
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
379
|
+
- [#9281](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9281)
|
|
380
|
+
[`e2fb7440936`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2fb7440936) -
|
|
381
|
+
ED-12430: Fix issue with Editor showing double scrollbar when context panel is visible.Update
|
|
382
|
+
context panel to have same height as editor content area when using position absolute styles
|
|
370
383
|
|
|
371
384
|
## 1.3.0
|
|
372
385
|
|
|
373
386
|
### Minor Changes
|
|
374
387
|
|
|
375
|
-
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
388
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
|
|
389
|
+
[`511a91ad376`](https://bitbucket.org/atlassian/atlassian-frontend/commits/511a91ad376) - [ux]
|
|
390
|
+
ED-12128: Update Context Panel to use set width of 320px and remove 'width' prop. Remove 'width'
|
|
391
|
+
prop from the Context Panel component as we no longer allow dynamic panel width to enforce
|
|
392
|
+
consistency.
|
|
380
393
|
|
|
381
|
-
|
|
382
|
-
|
|
394
|
+
All references to this component can safely remove the 'wdith' prop as it is no longer part of the
|
|
395
|
+
component props.
|
|
383
396
|
|
|
384
|
-
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
397
|
+
- [`007103b93e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/007103b93e6) - [ux]
|
|
398
|
+
ED-11993 Change behaviour of context panel so it will not push content if there is enough space to
|
|
399
|
+
slide out without overlapping. Config panel will keep existing behaviour to push content if there
|
|
400
|
+
isn't enough space to show without overlapping content. Also add width css transition to context
|
|
401
|
+
panel content to mimic "slide in" animation.
|
|
389
402
|
|
|
390
|
-
|
|
391
|
-
|
|
403
|
+
Add new shared const of `akEditorFullWidthLayoutLineLength` which indicates the line length of a
|
|
404
|
+
full-width editor
|
|
392
405
|
|
|
393
406
|
## 1.2.1
|
|
394
407
|
|
|
395
408
|
### Patch Changes
|
|
396
409
|
|
|
397
|
-
-
|
|
398
|
-
|
|
399
|
-
|
|
410
|
+
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
|
|
411
|
+
[`7d24194b639`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d24194b639) -
|
|
412
|
+
EDM-1717: Fix Safari danger styles for inline smart links
|
|
400
413
|
|
|
401
414
|
## 1.2.0
|
|
402
415
|
|
|
403
416
|
### Minor Changes
|
|
404
417
|
|
|
405
|
-
-
|
|
406
|
-
|
|
407
|
-
|
|
418
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
419
|
+
[`0615a2be97`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0615a2be97) - ED-10441:
|
|
420
|
+
share overflow-shadow helper
|
|
408
421
|
|
|
409
422
|
## 1.1.7
|
|
410
423
|
|
|
411
424
|
### Patch Changes
|
|
412
425
|
|
|
413
|
-
-
|
|
414
|
-
|
|
415
|
-
|
|
426
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
427
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
428
|
+
packages using babel rather than tsc
|
|
416
429
|
|
|
417
430
|
## 1.1.6
|
|
418
431
|
|
|
419
432
|
### Patch Changes
|
|
420
433
|
|
|
421
|
-
-
|
|
422
|
-
|
|
423
|
-
|
|
434
|
+
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
|
|
435
|
+
[`d6c23f1886`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6c23f1886) - Added dark
|
|
436
|
+
mode support to table cell background colors
|
|
424
437
|
|
|
425
438
|
## 1.1.5
|
|
426
439
|
|
|
427
440
|
### Patch Changes
|
|
428
441
|
|
|
429
|
-
-
|
|
430
|
-
|
|
431
|
-
|
|
442
|
+
- [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
|
|
443
|
+
[`7895bfa4f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7895bfa4f3) - [ux]
|
|
444
|
+
ED-10562 Update selection styles for unsupported content
|
|
432
445
|
|
|
433
|
-
|
|
434
|
-
|
|
446
|
+
Use background colour instead of blanket styling Fix an issue on Safari where text inside
|
|
447
|
+
unsupported content appeared selected when node was selected
|
|
435
448
|
|
|
436
449
|
## 1.1.4
|
|
437
450
|
|
|
438
451
|
### Patch Changes
|
|
439
452
|
|
|
440
|
-
-
|
|
441
|
-
|
|
442
|
-
|
|
453
|
+
- [#5762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5762)
|
|
454
|
+
[`34674fa4cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34674fa4cd) - [ux]
|
|
455
|
+
ED-10780 removed the threshold that enabled responsive changes
|
|
443
456
|
|
|
444
457
|
## 1.1.3
|
|
445
458
|
|
|
446
459
|
### Patch Changes
|
|
447
460
|
|
|
448
|
-
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
461
|
+
- [#5720](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5720)
|
|
462
|
+
[`a2634b5390`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2634b5390) - [ux]
|
|
463
|
+
ED-10780 reduced the threshold for responcive toolbar oayout;fixed problem with italic button not
|
|
464
|
+
working when it is in collapse menu.
|
|
452
465
|
|
|
453
466
|
## 1.1.2
|
|
454
467
|
|
|
455
468
|
### Patch Changes
|
|
456
469
|
|
|
457
|
-
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
470
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
471
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
472
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
473
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
474
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
475
|
+
`devDependencies` to denote version that the package was built with.
|
|
463
476
|
|
|
464
477
|
## 1.1.1
|
|
465
478
|
|
|
466
479
|
### Patch Changes
|
|
467
480
|
|
|
468
|
-
-
|
|
481
|
+
- Updated dependencies
|
|
469
482
|
|
|
470
483
|
## 1.1.0
|
|
471
484
|
|
|
472
485
|
### Minor Changes
|
|
473
486
|
|
|
474
|
-
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
-
|
|
479
|
-
|
|
487
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
488
|
+
[`fbc358206c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbc358206c) - ED-9125
|
|
489
|
+
ED-8837 Export values for selected border and selected box shadow, and util to disable browser
|
|
490
|
+
text selection
|
|
491
|
+
- [`4f217f1d92`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f217f1d92) - ED-10168
|
|
492
|
+
Add new package @atlaskit/editor-shared-styles
|
|
480
493
|
|
|
481
494
|
### Patch Changes
|
|
482
495
|
|
|
483
|
-
-
|
|
484
|
-
|
|
496
|
+
- [`b9812b8b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9812b8b35) - ED-10004
|
|
497
|
+
improved editor toolbar responsiveness
|