@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.
Files changed (38) hide show
  1. package/CHANGELOG.md +214 -207
  2. package/afm-jira/tsconfig.json +31 -0
  3. package/dist/cjs/consts/consts.js +4 -1
  4. package/dist/cjs/consts/index.js +6 -0
  5. package/dist/cjs/index.js +6 -0
  6. package/dist/cjs/shortcut/shortcut.js +1 -1
  7. package/dist/es2019/consts/consts.js +1 -0
  8. package/dist/es2019/consts/index.js +1 -1
  9. package/dist/es2019/index.js +1 -1
  10. package/dist/es2019/shortcut/shortcut.js +10 -10
  11. package/dist/esm/consts/consts.js +3 -0
  12. package/dist/esm/consts/index.js +1 -1
  13. package/dist/esm/index.js +1 -1
  14. package/dist/esm/shortcut/shortcut.js +1 -1
  15. package/dist/types/consts/consts.d.ts +1 -0
  16. package/dist/types/consts/index.d.ts +1 -1
  17. package/dist/types/index.d.ts +1 -1
  18. package/dist/types/selection/index.d.ts +1 -1
  19. package/dist/types-ts4.5/consts/consts.d.ts +1 -0
  20. package/dist/types-ts4.5/consts/index.d.ts +1 -1
  21. package/dist/types-ts4.5/index.d.ts +1 -1
  22. package/dist/types-ts4.5/selection/index.d.ts +1 -1
  23. package/package.json +6 -5
  24. package/report.api.md +50 -53
  25. package/src/consts/consts.test.ts +17 -17
  26. package/src/consts/consts.ts +119 -119
  27. package/src/consts/index.ts +98 -97
  28. package/src/consts/types.ts +1 -1
  29. package/src/index.ts +100 -99
  30. package/src/overflow-shadow/overflow-shadow.ts +11 -17
  31. package/src/scrollbar-styles.ts +3 -12
  32. package/src/selection/__tests__/unit/utils.ts +30 -34
  33. package/src/selection/index.ts +1 -4
  34. package/src/selection/types.ts +4 -4
  35. package/src/selection/utils.ts +22 -27
  36. package/src/shortcut/shortcut.ts +13 -13
  37. package/tsconfig.app.json +44 -44
  38. 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
- - [#98803](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98803)
8
- [`b9d6c4c4f418`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9d6c4c4f418) -
9
- Added new FULL_PAGE_EDITOR_TOOLBAR_HEIGHT constant to editor-shared-styles.
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
- - [#86433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86433)
16
- [`88ca3b199a49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/88ca3b199a49) -
17
- [ux] EDF-412 Collaborators avatars and telepointer colors are tokenised.
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
- - [#88247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88247)
24
- [`634a42ea0ca8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/634a42ea0ca8) -
25
- [ux] Fix webkit scrollbar style so header image can be full width
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
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
32
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
33
- Upgrade Typescript from `4.9.5` to `5.4.2`
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
- - [#73177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73177)
40
- [`22452599ed8f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22452599ed8f) -
41
- Move styling for certain packages to tokens.
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
- - [#64679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64679)
48
- [`0d0b1219b1b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0d0b1219b1b9) -
49
- Fix insert column button and line above toolbar popups
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
- - [#63606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63606)
56
- [`196f99e732d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/196f99e732d6) -
57
- [ux] Add support for drag handle for sticky header in table
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
- - [#59829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59829)
64
- [`3120b36a9f2c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3120b36a9f2c) -
65
- Converted spacing values to the corresponding space tokens
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
- - [#41274](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41274)
72
- [`17ba12fb12b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17ba12fb12b) - fix
73
- unnecessarily high z-index so that the vertical scrollbar in Safari does not overlay other layer
74
- components with z-index below 9999
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
- - [#39366](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39366)
81
- [`3aaff60be08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3aaff60be08) -
82
- ED-18988 Adds classnames and constants for table sticky scrollbar
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
- - [#40236](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40236)
89
- [`0b1f816e4fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b1f816e4fa) - [ux]
90
- Added akEditorTableHeaderCellBackground to store fallback.
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
- - [#39154](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39154)
97
- [`113fcc02759`](https://bitbucket.org/atlassian/atlassian-frontend/commits/113fcc02759) -
98
- ED-19433 Extract Emoji Plugin to its own package
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
- - [#38223](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38223)
105
- [`79dc812733f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79dc812733f) -
106
- [ED-19293] Exposes a new constant value for table guidelines to align with nodes that are using
107
- wide layout
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
- - [#37456](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37456)
114
- [`638784fa9d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/638784fa9d5) - force
115
- dependency bump
116
- - [#37270](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37270)
117
- [`df488d9b806`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df488d9b806) - [ux]
118
- Adds a new constant with a zIndex that is used for table sticky header and table cells that are
119
- in the sticky header
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
- - [#36845](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36845)
126
- [`e64541c6fda`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e64541c6fda) - [ux]
127
- [ED-18759] Updated table border, handlebar controls, blanket, icon, icon background and table
128
- cell options button colour tokens on light and dark theme for table selection and table
129
- deletion. Borders for Table Floating Contextual Button & Floating toolbar color palette button
130
- on dark & light theme are also updated.
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
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
137
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
138
- legacy types are published for TS 4.5-4.8
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
- - [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
145
- [`9369cc38a68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9369cc38a68) -
146
- Migrated use of `gridSize` to space tokens where possible. There is no expected visual or
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
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
154
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
155
- Upgrade Typescript from `4.5.5` to `4.9.5`
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
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
162
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
163
- minor dependency bump
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
- - Updated dependencies
175
+ - Updated dependencies
168
176
 
169
177
  ## 2.3.2
170
178
 
171
179
  ### Patch Changes
172
180
 
173
- - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
174
- [`0d93211414e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d93211414e) -
175
- Updates usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its
176
- replacement `utilities.UNSAFE.transparent`.
177
- - Updated dependencies
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
- - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
184
- [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
185
- for this package now pass through a tokens babel plugin, removing runtime invocations of the
186
- tokens() function and improving performance.
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
- - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
193
- [`4fbaeb2a1fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fbaeb2a1fd) -
194
- DSP-4118 Updated tokens used to render overflow shadows in code blocks.
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
- New tokens will be visible only in applications configured to use the new Tokens API (currently
197
- in beta). These changes are intended to be interoperable with the legacy theme implementation.
198
- Legacy dark mode users should expect no visual or breaking changes.
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
- `overflowShadow` now optionally supports customizing the size of the "covers" that appear over
201
- shadows when at the edge of content, via `leftCoverWidth` and `rightCoverWidth`, and the shadow
202
- width via the `width` prop.
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
- - Updated dependencies
216
+ - Updated dependencies
209
217
 
210
218
  ## 2.2.4
211
219
 
212
220
  ### Patch Changes
213
221
 
214
- - Updated dependencies
222
+ - Updated dependencies
215
223
 
216
224
  ## 2.2.3
217
225
 
218
226
  ### Patch Changes
219
227
 
220
- - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
221
- [`977ac74443c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/977ac74443c) -
222
- DSP-7235: Fixes issue with overflow shadows on code blocks due to layered transparent colors.
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
- - Updated dependencies
236
+ - Updated dependencies
229
237
 
230
238
  ## 2.2.1
231
239
 
232
240
  ### Patch Changes
233
241
 
234
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
235
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
236
- Upgrade Typescript from `4.3.5` to `4.5.5`
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
- - [#24607](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24607)
243
- [`73d9a2fa116`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73d9a2fa116) -
244
- ED-15568 Restore table's FloatingContextualMenu, extract utils/UI components
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
- - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
251
- [`a6df7e823d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6df7e823d8) - [ux]
252
- Fixed trello card overflow issue in table cells & fixed merged table cells selection / hover
253
- state
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
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
261
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
262
- Upgrade Typescript from `4.2.4` to `4.3.5`.
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
- - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
269
- [`450a17a332a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/450a17a332a) - [ux]
270
- ED-14654: Lower z-index values on editor elements so they do not stick out of the editor and
271
- interfere with consuming products
272
- - [`30c74c32783`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c74c32783) - [ux]
273
- ED-15234: reverts ED-14654 because causing header zindex issues
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
- - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
280
- [`17480b66f3e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17480b66f3e) -
281
- [ux][ed-9943] Fix to have the TypeAhead component appear above the main editor toolbar.
282
- - [`d8b3bc73330`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8b3bc73330) -
283
- [ED-14507] Deprecate the allowDynamicTextSizing editor prop and remove all code related to it.
284
- This feature has been unused since 2020.
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
- - Updated dependencies
297
+ - Updated dependencies
291
298
 
292
299
  ## 2.1.0
293
300
 
294
301
  ### Minor Changes
295
302
 
296
- - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
297
- [`02bfb564e45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02bfb564e45) - [ux]
298
- Instrumented `@atlaskit/editor-shared-styles` and partial `@atlaskit/editor-core` with the new
299
- theming package, `@atlaskit/tokens`.
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
- New tokens will be visible only in applications configured to use the new Tokens API (currently
302
- in alpha). These changes are intended to be interoperable with the legacy theme implementation.
303
- Legacy dark mode users should expect no visual or breaking changes.
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
- - [`5ab00fca118`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ab00fca118) -
306
- Instrumented `@atlaskit/editor-shared-styles` with the new theming package, `@atlaskit/tokens`.
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
- New tokens will be visible only in applications configured to use the new Tokens API (currently
309
- in 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.
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
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
317
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
318
- Upgrade to TypeScript 4.2.4
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
- - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
325
- [`e22509504e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e22509504e8) -
326
- ED-14255 migrate editor-shared-style to emotion
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
- - [`9712e78abb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9712e78abb0) -
331
- ED-14255 moved some usages of editor-shared-styles to emotion
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
- - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
338
- [`1a07c1caf61`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a07c1caf61) -
339
- CETI-93 - Fixed custom panel icon sizing and alignment when icon render as image
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
- - Updated dependencies
350
+ - Updated dependencies
344
351
 
345
352
  ## 1.5.0
346
353
 
347
354
  ### Minor Changes
348
355
 
349
- - [#10316](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10316)
350
- [`c2c0160f566`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2c0160f566) - Bump
351
- editor-shared-styles to pick up relativeFontSizeToBase16
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
- - [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
358
- [`5c835144ef0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c835144ef0) -
359
- [ME-741][me-743] Remove PX references in editor packages and modify code block font size.
360
- - Updated dependencies
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
- - [#9281](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9281)
367
- [`e2fb7440936`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2fb7440936) -
368
- ED-12430: Fix issue with Editor showing double scrollbar when context panel is visible.Update
369
- context panel to have same height as editor content area when using position absolute styles
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
- - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
376
- [`511a91ad376`](https://bitbucket.org/atlassian/atlassian-frontend/commits/511a91ad376) - [ux]
377
- ED-12128: Update Context Panel to use set width of 320px and remove 'width' prop. Remove 'width'
378
- prop from the Context Panel component as we no longer allow dynamic panel width to enforce
379
- consistency.
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
- All references to this component can safely remove the 'wdith' prop as it is no longer part of
382
- the component props.
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
- - [`007103b93e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/007103b93e6) - [ux]
385
- ED-11993 Change behaviour of context panel so it will not push content if there is enough space
386
- to slide out without overlapping. Config panel will keep existing behaviour to push content if
387
- there isn't enough space to show without overlapping content. Also add width css transition to
388
- context panel content to mimic "slide in" animation.
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
- Add new shared const of `akEditorFullWidthLayoutLineLength` which indicates the line length of a
391
- full-width editor
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
- - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
398
- [`7d24194b639`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d24194b639) -
399
- EDM-1717: Fix Safari danger styles for inline smart links
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
- - [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
406
- [`0615a2be97`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0615a2be97) -
407
- ED-10441: share overflow-shadow helper
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
- - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
414
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
415
- Transpile packages using babel rather than tsc
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
- - [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
422
- [`d6c23f1886`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6c23f1886) - Added
423
- dark mode support to table cell background colors
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
- - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
430
- [`7895bfa4f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7895bfa4f3) - [ux]
431
- ED-10562 Update selection styles for unsupported content
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
- Use background colour instead of blanket styling Fix an issue on Safari where text inside
434
- unsupported content appeared selected when node was selected
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
- - [#5762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5762)
441
- [`34674fa4cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34674fa4cd) - [ux]
442
- ED-10780 removed the threshold that enabled responsive changes
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
- - [#5720](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5720)
449
- [`a2634b5390`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2634b5390) - [ux]
450
- ED-10780 reduced the threshold for responcive toolbar oayout;fixed problem with italic button
451
- not working when it is in collapse menu.
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
- - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
458
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
459
- types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
460
- compiler option. This requires version 3.8 of Typescript, read more about how we handle
461
- Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
462
- `devDependencies` to denote version that the package was built with.
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
- - Updated dependencies
475
+ - Updated dependencies
469
476
 
470
477
  ## 1.1.0
471
478
 
472
479
  ### Minor Changes
473
480
 
474
- - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
475
- [`fbc358206c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbc358206c) - ED-9125
476
- ED-8837 Export values for selected border and selected box shadow, and util to disable browser
477
- text selection
478
- - [`4f217f1d92`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f217f1d92) - ED-10168
479
- Add new package @atlaskit/editor-shared-styles
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
- - [`b9812b8b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9812b8b35) - ED-10004
484
- improved editor toolbar responsiveness
490
+ - [`b9812b8b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9812b8b35) - ED-10004
491
+ improved editor toolbar responsiveness