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