@atlaskit/editor-shared-styles 2.10.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 (39) hide show
  1. package/CHANGELOG.md +209 -68
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-jira/tsconfig.json +31 -0
  4. package/dist/cjs/consts/consts.js +10 -1
  5. package/dist/cjs/consts/index.js +12 -0
  6. package/dist/cjs/index.js +12 -0
  7. package/dist/cjs/shortcut/shortcut.js +1 -1
  8. package/dist/es2019/consts/consts.js +5 -0
  9. package/dist/es2019/consts/index.js +1 -1
  10. package/dist/es2019/index.js +1 -1
  11. package/dist/es2019/shortcut/shortcut.js +10 -10
  12. package/dist/esm/consts/consts.js +9 -0
  13. package/dist/esm/consts/index.js +1 -1
  14. package/dist/esm/index.js +1 -1
  15. package/dist/esm/shortcut/shortcut.js +1 -1
  16. package/dist/types/consts/consts.d.ts +2 -0
  17. package/dist/types/consts/index.d.ts +1 -1
  18. package/dist/types/index.d.ts +1 -1
  19. package/dist/types/selection/index.d.ts +1 -1
  20. package/dist/types-ts4.5/consts/consts.d.ts +2 -0
  21. package/dist/types-ts4.5/consts/index.d.ts +1 -1
  22. package/dist/types-ts4.5/index.d.ts +1 -1
  23. package/dist/types-ts4.5/selection/index.d.ts +1 -1
  24. package/package.json +13 -6
  25. package/report.api.md +50 -53
  26. package/src/consts/consts.test.ts +17 -17
  27. package/src/consts/consts.ts +123 -118
  28. package/src/consts/index.ts +98 -96
  29. package/src/consts/types.ts +1 -1
  30. package/src/index.ts +100 -98
  31. package/src/overflow-shadow/overflow-shadow.ts +11 -17
  32. package/src/scrollbar-styles.ts +3 -12
  33. package/src/selection/__tests__/unit/utils.ts +30 -34
  34. package/src/selection/index.ts +1 -4
  35. package/src/selection/types.ts +4 -4
  36. package/src/selection/utils.ts +22 -27
  37. package/src/shortcut/shortcut.ts +13 -13
  38. package/tsconfig.app.json +44 -41
  39. package/tsconfig.dev.json +38 -38
package/CHANGELOG.md CHANGED
@@ -1,113 +1,174 @@
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
+
12
+ ## 2.11.0
13
+
14
+ ### Minor Changes
15
+
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.
19
+
3
20
  ## 2.10.0
4
21
 
5
22
  ### Minor Changes
6
23
 
7
- - [#86433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86433) [`88ca3b199a49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/88ca3b199a49) - [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.
8
27
 
9
28
  ## 2.9.3
10
29
 
11
30
  ### Patch Changes
12
31
 
13
- - [#88247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88247) [`634a42ea0ca8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/634a42ea0ca8) - [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
14
35
 
15
36
  ## 2.9.2
16
37
 
17
38
  ### Patch Changes
18
39
 
19
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - 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`
20
43
 
21
44
  ## 2.9.1
22
45
 
23
46
  ### Patch Changes
24
47
 
25
- - [#73177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73177) [`22452599ed8f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22452599ed8f) - 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.
26
51
 
27
52
  ## 2.9.0
28
53
 
29
54
  ### Minor Changes
30
55
 
31
- - [#64679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64679) [`0d0b1219b1b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0d0b1219b1b9) - 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
32
59
 
33
60
  ## 2.8.3
34
61
 
35
62
  ### Patch Changes
36
63
 
37
- - [#63606](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63606) [`196f99e732d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/196f99e732d6) - [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
38
67
 
39
68
  ## 2.8.2
40
69
 
41
70
  ### Patch Changes
42
71
 
43
- - [#59829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59829) [`3120b36a9f2c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3120b36a9f2c) - 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
44
75
 
45
76
  ## 2.8.1
46
77
 
47
78
  ### Patch Changes
48
79
 
49
- - [#41274](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41274) [`17ba12fb12b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17ba12fb12b) - fix unnecessarily high z-index so that the vertical scrollbar in Safari does not overlay other layer 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
50
84
 
51
85
  ## 2.8.0
52
86
 
53
87
  ### Minor Changes
54
88
 
55
- - [#39366](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39366) [`3aaff60be08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3aaff60be08) - 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
56
92
 
57
93
  ## 2.7.0
58
94
 
59
95
  ### Minor Changes
60
96
 
61
- - [#40236](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40236) [`0b1f816e4fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b1f816e4fa) - [ux] 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.
62
100
 
63
101
  ## 2.6.1
64
102
 
65
103
  ### Patch Changes
66
104
 
67
- - [#39154](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39154) [`113fcc02759`](https://bitbucket.org/atlassian/atlassian-frontend/commits/113fcc02759) - 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
68
108
 
69
109
  ## 2.6.0
70
110
 
71
111
  ### Minor Changes
72
112
 
73
- - [#38223](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38223) [`79dc812733f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79dc812733f) - [ED-19293] Exposes a new constant value for table guidelines to align with nodes that are using 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
74
117
 
75
118
  ## 2.5.0
76
119
 
77
120
  ### Minor Changes
78
121
 
79
- - [#37456](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37456) [`638784fa9d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/638784fa9d5) - force dependency bump
80
- - [#37270](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37270) [`df488d9b806`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df488d9b806) - [ux] Adds a new constant with a zIndex that is used for table sticky header and table cells that are 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
81
129
 
82
130
  ## 2.4.4
83
131
 
84
132
  ### Patch Changes
85
133
 
86
- - [#36845](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36845) [`e64541c6fda`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e64541c6fda) - [ux] [ED-18759] Updated table border, handlebar controls, blanket, icon, icon background and table cell options button colour tokens on light and dark theme for table selection and table deletion. Borders for Table Floating Contextual Button & Floating toolbar color palette button 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.
87
140
 
88
141
  ## 2.4.3
89
142
 
90
143
  ### Patch Changes
91
144
 
92
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure 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
93
148
 
94
149
  ## 2.4.2
95
150
 
96
151
  ### Patch Changes
97
152
 
98
- - [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771) [`9369cc38a68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9369cc38a68) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or 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.
99
156
 
100
157
  ## 2.4.1
101
158
 
102
159
  ### Patch Changes
103
160
 
104
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - 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`
105
164
 
106
165
  ## 2.4.0
107
166
 
108
167
  ### Minor Changes
109
168
 
110
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip 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
111
172
 
112
173
  ### Patch Changes
113
174
 
@@ -117,25 +178,36 @@
117
178
 
118
179
  ### Patch Changes
119
180
 
120
- - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`0d93211414e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d93211414e) - Updates usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement `utilities.UNSAFE.transparent`.
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`.
121
185
  - Updated dependencies
122
186
 
123
187
  ## 2.3.1
124
188
 
125
189
  ### Patch Changes
126
190
 
127
- - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324) [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the 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.
128
195
 
129
196
  ## 2.3.0
130
197
 
131
198
  ### Minor Changes
132
199
 
133
- - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`4fbaeb2a1fd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fbaeb2a1fd) - 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.
134
203
 
135
- New tokens will be visible only in applications configured to use the new Tokens API (currently in beta).
136
- These changes are intended to be interoperable with the legacy theme implementation. 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.
137
207
 
138
- `overflowShadow` now optionally supports customizing the size of the "covers" that appear over shadows when at the edge of content, via `leftCoverWidth` and `rightCoverWidth`, and the shadow 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.
139
211
 
140
212
  ## 2.2.5
141
213
 
@@ -153,7 +225,9 @@
153
225
 
154
226
  ### Patch Changes
155
227
 
156
- - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`977ac74443c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/977ac74443c) - 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.
157
231
 
158
232
  ## 2.2.2
159
233
 
@@ -165,40 +239,56 @@
165
239
 
166
240
  ### Patch Changes
167
241
 
168
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - 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`
169
245
 
170
246
  ## 2.2.0
171
247
 
172
248
  ### Minor Changes
173
249
 
174
- - [#24607](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24607) [`73d9a2fa116`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73d9a2fa116) - 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
175
253
 
176
254
  ## 2.1.5
177
255
 
178
256
  ### Patch Changes
179
257
 
180
- - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`a6df7e823d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6df7e823d8) - [ux] Fixed trello card overflow issue in table cells & fixed merged table cells selection / hover state
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
181
261
  - Updated dependencies
182
262
 
183
263
  ## 2.1.4
184
264
 
185
265
  ### Patch Changes
186
266
 
187
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - 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`.
188
270
 
189
271
  ## 2.1.3
190
272
 
191
273
  ### Patch Changes
192
274
 
193
- - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`450a17a332a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/450a17a332a) - [ux] ED-14654: Lower z-index values on editor elements so they do not stick out of the editor and interfere with consuming products
194
- - [`30c74c32783`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30c74c32783) - [ux] 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
195
281
 
196
282
  ## 2.1.2
197
283
 
198
284
  ### Patch Changes
199
285
 
200
- - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`17480b66f3e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17480b66f3e) - [ux][ed-9943] Fix to have the TypeAhead component appear above the main editor toolbar.
201
- - [`d8b3bc73330`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8b3bc73330) - [ED-14507] Deprecate the allowDynamicTextSizing editor prop and remove all code related to it. 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.
202
292
 
203
293
  ## 2.1.1
204
294
 
@@ -210,37 +300,50 @@
210
300
 
211
301
  ### Minor Changes
212
302
 
213
- - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`02bfb564e45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02bfb564e45) - [ux] Instrumented `@atlaskit/editor-shared-styles` and partial `@atlaskit/editor-core` with the new 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`.
214
307
 
215
- New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
216
- These changes are intended to be interoperable with the legacy theme implementation. 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.
217
311
 
218
- - [`5ab00fca118`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ab00fca118) - 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`.
219
314
 
220
- New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
221
- These changes are intended to be interoperable with the legacy theme implementation. 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.
222
318
 
223
319
  ## 2.0.1
224
320
 
225
321
  ### Patch Changes
226
322
 
227
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - 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
228
326
 
229
327
  ## 2.0.0
230
328
 
231
329
  ### Major Changes
232
330
 
233
- - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`e22509504e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e22509504e8) - 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
234
334
 
235
335
  ### Patch Changes
236
336
 
237
- - [`9712e78abb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9712e78abb0) - 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
238
339
 
239
340
  ## 1.6.0
240
341
 
241
342
  ### Minor Changes
242
343
 
243
- - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`1a07c1caf61`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a07c1caf61) - 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
244
347
 
245
348
  ### Patch Changes
246
349
 
@@ -250,87 +353,120 @@
250
353
 
251
354
  ### Minor Changes
252
355
 
253
- - [#10316](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10316) [`c2c0160f566`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2c0160f566) - Bump 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
254
359
 
255
360
  ## 1.4.1
256
361
 
257
362
  ### Patch Changes
258
363
 
259
- - [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756) [`5c835144ef0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c835144ef0) - [ME-741][me-743] Remove PX references in editor packages and modify code block font size.
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.
260
367
  - Updated dependencies
261
368
 
262
369
  ## 1.4.0
263
370
 
264
371
  ### Minor Changes
265
372
 
266
- - [#9281](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9281) [`e2fb7440936`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2fb7440936) - ED-12430: Fix issue with Editor showing double scrollbar when context panel is visible.Update 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
267
377
 
268
378
  ## 1.3.0
269
379
 
270
380
  ### Minor Changes
271
381
 
272
- - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`511a91ad376`](https://bitbucket.org/atlassian/atlassian-frontend/commits/511a91ad376) - [ux] ED-12128: Update Context Panel to use set width of 320px and remove 'width' prop.
273
- Remove 'width' prop from the Context Panel component as we no longer allow dynamic panel width to enforce 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.
274
387
 
275
- All references to this component can safely remove the 'wdith' prop as it is no longer part of 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.
276
390
 
277
- - [`007103b93e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/007103b93e6) - [ux] ED-11993 Change behaviour of context panel so it will not push content if there is enough space to slide out without overlapping.
278
- Config panel will keep existing behaviour to push content if there isn't enough space to show without overlapping content. Also add width css transition to 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.
279
396
 
280
- Add new shared const of `akEditorFullWidthLayoutLineLength` which indicates the line length of a full-width editor
397
+ Add new shared const of `akEditorFullWidthLayoutLineLength` which indicates the line length of a
398
+ full-width editor
281
399
 
282
400
  ## 1.2.1
283
401
 
284
402
  ### Patch Changes
285
403
 
286
- - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762) [`7d24194b639`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d24194b639) - 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
287
407
 
288
408
  ## 1.2.0
289
409
 
290
410
  ### Minor Changes
291
411
 
292
- - [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170) [`0615a2be97`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0615a2be97) - 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
293
415
 
294
416
  ## 1.1.7
295
417
 
296
418
  ### Patch Changes
297
419
 
298
- - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - 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
299
423
 
300
424
  ## 1.1.6
301
425
 
302
426
  ### Patch Changes
303
427
 
304
- - [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228) [`d6c23f1886`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6c23f1886) - Added 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
305
431
 
306
432
  ## 1.1.5
307
433
 
308
434
  ### Patch Changes
309
435
 
310
- - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516) [`7895bfa4f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7895bfa4f3) - [ux] 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
311
439
 
312
- Use background colour instead of blanket styling
313
- Fix an issue on Safari where text inside 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
314
442
 
315
443
  ## 1.1.4
316
444
 
317
445
  ### Patch Changes
318
446
 
319
- - [#5762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5762) [`34674fa4cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34674fa4cd) - [ux] 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
320
450
 
321
451
  ## 1.1.3
322
452
 
323
453
  ### Patch Changes
324
454
 
325
- - [#5720](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5720) [`a2634b5390`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2634b5390) - [ux] ED-10780 reduced the threshold for responcive toolbar oayout;fixed problem with italic button 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.
326
459
 
327
460
  ## 1.1.2
328
461
 
329
462
  ### Patch Changes
330
463
 
331
- - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
332
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
333
- Also add `typescript` to `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.
334
470
 
335
471
  ## 1.1.1
336
472
 
@@ -342,9 +478,14 @@
342
478
 
343
479
  ### Minor Changes
344
480
 
345
- - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`fbc358206c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fbc358206c) - ED-9125 ED-8837 Export values for selected border and selected box shadow, and util to disable browser text selection
346
- - [`4f217f1d92`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f217f1d92) - ED-10168 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
347
487
 
348
488
  ### Patch Changes
349
489
 
350
- - [`b9812b8b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9812b8b35) - ED-10004 improved editor toolbar responsiveness
490
+ - [`b9812b8b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9812b8b35) - ED-10004
491
+ improved editor toolbar responsiveness
@@ -18,6 +18,9 @@
18
18
  "../src/**/test.*"
19
19
  ],
20
20
  "references": [
21
+ {
22
+ "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
23
+ },
21
24
  {
22
25
  "path": "../../../design-system/theme/afm-cc/tsconfig.json"
23
26
  },
@@ -0,0 +1,31 @@
1
+ {
2
+ "extends": "../../../../tsconfig.products.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__editor-shared-styles/app",
7
+ "composite": true,
8
+ "rootDir": "../",
9
+ "baseUrl": "../"
10
+ },
11
+ "include": [
12
+ "../src/**/*.ts",
13
+ "../src/**/*.tsx"
14
+ ],
15
+ "exclude": [
16
+ "../src/**/__tests__/*",
17
+ "../src/**/*.test.*",
18
+ "../src/**/test.*"
19
+ ],
20
+ "references": [
21
+ {
22
+ "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
23
+ },
24
+ {
25
+ "path": "../../../design-system/theme/afm-jira/tsconfig.json"
26
+ },
27
+ {
28
+ "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
29
+ }
30
+ ]
31
+ }
@@ -4,10 +4,11 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.editorFontSize = exports.breakoutWideScaleRatio = exports.blockNodesVerticalMargin = exports.avatarColors = exports.akRichMediaResizeZIndex = exports.akLayoutGutterOffset = exports.akEditorWideLayoutWidth = exports.akEditorUnitZIndex = exports.akEditorToolbarKeylineHeight = exports.akEditorTableToolbarSize = exports.akEditorTableToolbarSelected = exports.akEditorTableToolbarDelete = exports.akEditorTableToolbarDark = exports.akEditorTableToolbar = exports.akEditorTableNumberColumnWidth = exports.akEditorTableLegacyCellMinWidth = exports.akEditorTableHeaderCellBackgroundDark = exports.akEditorTableHeaderCellBackground = exports.akEditorTableFloatingControls = exports.akEditorTableCellSelected = exports.akEditorTableCellOnStickyHeaderZIndex = exports.akEditorTableCellMinWidth = exports.akEditorTableCellDelete = exports.akEditorTableCellBlanketSelected = exports.akEditorTableCellBlanketDeleted = exports.akEditorTableCellBackgroundOpacity = exports.akEditorTableBorderSelected = exports.akEditorTableBorderRadius = exports.akEditorTableBorderDelete = exports.akEditorTableBorderDark = exports.akEditorTableBorder = exports.akEditorSwoopCubicBezier = exports.akEditorSubtleAccent = exports.akEditorStickyHeaderZIndex = exports.akEditorSmallZIndex = exports.akEditorShadowZIndex = exports.akEditorSelectedNodeClassName = exports.akEditorSelectedIconColor = exports.akEditorSelectedBoxShadow = exports.akEditorSelectedBorderSize = exports.akEditorSelectedBorderColor = exports.akEditorSelectedBorderBoldSize = exports.akEditorSelectedBorder = exports.akEditorSelectedBlanketOpacity = exports.akEditorSelectedBlanketColor = exports.akEditorSelectedBgColor = exports.akEditorRuleBorderRadius = exports.akEditorRuleBackground = exports.akEditorPrimaryButton = exports.akEditorPopupText = exports.akEditorPopupBackground = exports.akEditorMobileMaxWidth = exports.akEditorMobileBreakoutPoint = exports.akEditorMenuZIndex = exports.akEditorMentionSelected = exports.akEditorMediaResizeHandlerPaddingWide = exports.akEditorMediaResizeHandlerPadding = exports.akEditorLineHeight = exports.akEditorInactiveForeground = exports.akEditorGutterPadding = exports.akEditorGridLineZIndex = exports.akEditorFullWidthLayoutWidth = exports.akEditorFullWidthLayoutLineLength = exports.akEditorFullPageMaxWidth = exports.akEditorFullPageDefaultFontSize = exports.akEditorFocus = exports.akEditorFloatingPanelZIndex = exports.akEditorFloatingOverlapPanelZIndex = exports.akEditorFloatingDialogZIndex = exports.akEditorDropdownActiveBackground = exports.akEditorDeleteIconColor = exports.akEditorDeleteBorder = exports.akEditorDeleteBackgroundWithOpacity = exports.akEditorDeleteBackgroundShaded = exports.akEditorDeleteBackground = exports.akEditorDefaultLayoutWidth = exports.akEditorCustomIconSize = exports.akEditorContextPanelWidth = exports.akEditorCodeInlinePadding = exports.akEditorCodeFontFamily = exports.akEditorCodeBlockPadding = exports.akEditorCodeBackground = exports.akEditorCalculatedWideLayoutWidth = exports.akEditorBreakoutPadding = exports.akEditorBlockquoteBorderColor = exports.akEditorActiveForeground = exports.akEditorActiveBackground = exports.VIEWPORT_SIZES = exports.MAX_BROWSER_SCROLLBAR_HEIGHT = exports.DEFAULT_EMBED_CARD_WIDTH = exports.DEFAULT_EMBED_CARD_HEIGHT = exports.ATLASSIAN_NAVIGATION_HEIGHT = void 0;
7
+ exports.editorFontSize = exports.breakoutWideScaleRatio = exports.blockNodesVerticalMargin = exports.avatarColors = exports.akRichMediaResizeZIndex = exports.akLayoutGutterOffset = exports.akEditorWideLayoutWidth = exports.akEditorUnitZIndex = exports.akEditorToolbarKeylineHeight = exports.akEditorTableToolbarSize = exports.akEditorTableToolbarSelected = exports.akEditorTableToolbarDelete = exports.akEditorTableToolbarDark = exports.akEditorTableToolbar = exports.akEditorTableNumberColumnWidth = exports.akEditorTableLegacyCellMinWidth = exports.akEditorTableHeaderCellBackgroundDark = exports.akEditorTableHeaderCellBackground = exports.akEditorTableFloatingControls = exports.akEditorTableCellSelected = exports.akEditorTableCellOnStickyHeaderZIndex = exports.akEditorTableCellMinWidth = exports.akEditorTableCellDelete = exports.akEditorTableCellBlanketSelected = exports.akEditorTableCellBlanketDeleted = exports.akEditorTableCellBackgroundOpacity = exports.akEditorTableBorderSelected = exports.akEditorTableBorderRadius = exports.akEditorTableBorderDelete = exports.akEditorTableBorderDark = exports.akEditorTableBorder = exports.akEditorSwoopCubicBezier = exports.akEditorSubtleAccent = exports.akEditorStickyHeaderZIndex = exports.akEditorSmallZIndex = exports.akEditorShadowZIndex = exports.akEditorSelectedNodeClassName = exports.akEditorSelectedIconColor = exports.akEditorSelectedBoxShadow = exports.akEditorSelectedBorderSize = exports.akEditorSelectedBorderColor = exports.akEditorSelectedBorderBoldSize = exports.akEditorSelectedBorder = exports.akEditorSelectedBlanketOpacity = exports.akEditorSelectedBlanketColor = exports.akEditorSelectedBgColor = exports.akEditorRuleBorderRadius = exports.akEditorRuleBackground = exports.akEditorPrimaryButton = exports.akEditorPopupText = exports.akEditorPopupBackground = exports.akEditorMobileMaxWidth = exports.akEditorMobileBreakoutPoint = exports.akEditorMenuZIndex = exports.akEditorMentionSelected = exports.akEditorMediaResizeHandlerPaddingWide = exports.akEditorMediaResizeHandlerPadding = exports.akEditorLineHeight = exports.akEditorInactiveForeground = exports.akEditorGutterPaddingDynamic = exports.akEditorGutterPadding = exports.akEditorGridLineZIndex = exports.akEditorFullWidthLayoutWidth = exports.akEditorFullWidthLayoutLineLength = exports.akEditorFullPageMaxWidth = exports.akEditorFullPageDefaultFontSize = exports.akEditorFocus = exports.akEditorFloatingPanelZIndex = exports.akEditorFloatingOverlapPanelZIndex = exports.akEditorFloatingDialogZIndex = exports.akEditorDropdownActiveBackground = exports.akEditorDeleteIconColor = exports.akEditorDeleteBorder = exports.akEditorDeleteBackgroundWithOpacity = exports.akEditorDeleteBackgroundShaded = exports.akEditorDeleteBackground = exports.akEditorDefaultLayoutWidth = exports.akEditorCustomIconSize = exports.akEditorContextPanelWidth = exports.akEditorCodeInlinePadding = exports.akEditorCodeFontFamily = exports.akEditorCodeBlockPadding = exports.akEditorCodeBackground = exports.akEditorCalculatedWideLayoutWidth = exports.akEditorBreakoutPadding = exports.akEditorBlockquoteBorderColor = exports.akEditorActiveForeground = exports.akEditorActiveBackground = exports.VIEWPORT_SIZES = exports.MAX_BROWSER_SCROLLBAR_HEIGHT = exports.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = exports.DEFAULT_EMBED_CARD_WIDTH = exports.DEFAULT_EMBED_CARD_HEIGHT = exports.ATLASSIAN_NAVIGATION_HEIGHT = void 0;
8
8
  exports.getTableCellBackgroundDarkModeColorCSS = getTableCellBackgroundDarkModeColorCSS;
9
9
  exports.relativeSize = exports.relativeFontSizeToBase16 = exports.gridMediumMaxWidth = exports.getTableCellBackgroundDarkModeColors = void 0;
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
12
  var _colors = require("@atlaskit/theme/colors");
12
13
  var _constants = require("@atlaskit/theme/constants");
13
14
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
@@ -83,6 +84,9 @@ var akEditorFullWidthLayoutLineLength = exports.akEditorFullWidthLayoutLineLengt
83
84
  var akEditorTableNumberColumnWidth = exports.akEditorTableNumberColumnWidth = 42;
84
85
  var akEditorBreakoutPadding = exports.akEditorBreakoutPadding = 96;
85
86
  var akEditorGutterPadding = exports.akEditorGutterPadding = 32;
87
+ var akEditorGutterPaddingDynamic = exports.akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
88
+ return (0, _platformFeatureFlags.getBooleanFF)('platform.editor.core.increase-full-page-guttering') ? 52 : 32;
89
+ };
86
90
  var akEditorMobileBreakoutPoint = exports.akEditorMobileBreakoutPoint = 720;
87
91
  var akEditorTableCellMinWidth = exports.akEditorTableCellMinWidth = 48;
88
92
  var akEditorTableLegacyCellMinWidth = exports.akEditorTableLegacyCellMinWidth = 128;
@@ -107,7 +111,12 @@ var blockNodesVerticalMargin = exports.blockNodesVerticalMargin = '0.75rem';
107
111
  var DEFAULT_EMBED_CARD_WIDTH = exports.DEFAULT_EMBED_CARD_WIDTH = 680;
108
112
  var DEFAULT_EMBED_CARD_HEIGHT = exports.DEFAULT_EMBED_CARD_HEIGHT = 480;
109
113
  var MAX_BROWSER_SCROLLBAR_HEIGHT = exports.MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
114
+
115
+ // @deprecated
110
116
  var ATLASSIAN_NAVIGATION_HEIGHT = exports.ATLASSIAN_NAVIGATION_HEIGHT = '56px';
117
+ var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = exports.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT() {
118
+ return (0, _platformFeatureFlags.getBooleanFF)('platform.confluence.frontend.narrow-full-page-editor-toolbar') ? "var(--ds-space-500, 40px)" : '56px';
119
+ };
111
120
  var akEditorSelectedNodeClassName = exports.akEditorSelectedNodeClassName = 'ak-editor-selected-node';
112
121
  var editorFontSize = exports.editorFontSize = function editorFontSize(_ref) {
113
122
  var theme = _ref.theme;