@atlaskit/portal 4.4.2 → 4.6.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 CHANGED
@@ -1,65 +1,102 @@
1
1
  # @atlaskit/portal
2
2
 
3
+ ## 4.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#110836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110836)
8
+ [`a8bd419fd70b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a8bd419fd70b9) -
9
+ Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
10
+ is implicitly set to automatic.
11
+
12
+ ## 4.5.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#96695](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96695)
17
+ [`6374f444b3e4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6374f444b3e4) -
18
+ Add support for React 18 in non-strict mode.
19
+
3
20
  ## 4.4.2
4
21
 
5
22
  ### Patch Changes
6
23
 
7
- - [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316) [`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) - Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
24
+ - [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316)
25
+ [`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) -
26
+ Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
8
27
 
9
28
  ## 4.4.1
10
29
 
11
30
  ### Patch Changes
12
31
 
13
- - [#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`
32
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
33
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
34
+ Upgrade Typescript from `4.9.5` to `5.4.2`
14
35
 
15
36
  ## 4.4.0
16
37
 
17
38
  ### Minor Changes
18
39
 
19
- - [#41817](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41817) [`76888385b72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76888385b72) - Add MountStrategy prop to specify mount strategy
40
+ - [#41817](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41817)
41
+ [`76888385b72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76888385b72) - Add
42
+ MountStrategy prop to specify mount strategy
20
43
 
21
44
  ## 4.3.6
22
45
 
23
46
  ### Patch Changes
24
47
 
25
- - [#39442](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39442) [`f78ae454863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f78ae454863) - Update tooltip z-index to 9999
48
+ - [#39442](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39442)
49
+ [`f78ae454863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f78ae454863) - Update
50
+ tooltip z-index to 9999
26
51
  - Updated dependencies
27
52
 
28
53
  ## 4.3.5
29
54
 
30
55
  ### Patch Changes
31
56
 
32
- - [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731) [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
57
+ - [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
58
+ [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
59
+ version.json
33
60
 
34
61
  ## 4.3.4
35
62
 
36
63
  ### Patch Changes
37
64
 
38
- - [#34445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34445) [`33f10b7eb36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33f10b7eb36) - Removing unused dependencies and dev dependencies
65
+ - [#34445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34445)
66
+ [`33f10b7eb36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33f10b7eb36) - Removing
67
+ unused dependencies and dev dependencies
39
68
 
40
69
  ## 4.3.3
41
70
 
42
71
  ### Patch Changes
43
72
 
44
- - [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124) [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol packages to push-model consumption in Jira.
73
+ - [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124)
74
+ [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol
75
+ packages to push-model consumption in Jira.
45
76
 
46
77
  ## 4.3.2
47
78
 
48
79
  ### Patch Changes
49
80
 
50
- - [#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
81
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
82
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
83
+ legacy types are published for TS 4.5-4.8
51
84
 
52
85
  ## 4.3.1
53
86
 
54
87
  ### Patch Changes
55
88
 
56
- - [#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`
89
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
90
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
91
+ Typescript from `4.5.5` to `4.9.5`
57
92
 
58
93
  ## 4.3.0
59
94
 
60
95
  ### Minor Changes
61
96
 
62
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
97
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
98
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
99
+ minor dependency bump
63
100
 
64
101
  ### Patch Changes
65
102
 
@@ -69,125 +106,170 @@
69
106
 
70
107
  ### Patch Changes
71
108
 
72
- - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
109
+ - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
110
+ [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal
111
+ changes.
73
112
 
74
113
  ## 4.2.12
75
114
 
76
115
  ### Patch Changes
77
116
 
78
- - [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
117
+ - [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
118
+ [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
119
+ change to introduce spacing tokens to design system components.
79
120
 
80
121
  ## 4.2.11
81
122
 
82
123
  ### Patch Changes
83
124
 
84
- - [#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`
125
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
126
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
127
+ Typescript from `4.3.5` to `4.5.5`
85
128
 
86
129
  ## 4.2.10
87
130
 
88
131
  ### Patch Changes
89
132
 
90
- - [#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`.
133
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
134
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
135
+ Typescript from `4.2.4` to `4.3.5`.
91
136
 
92
137
  ## 4.2.9
93
138
 
94
139
  ### Patch Changes
95
140
 
96
- - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`d5f0b466415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d5f0b466415) - Internal code change turning on new linting rules.
141
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
142
+ [`d5f0b466415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d5f0b466415) - Internal
143
+ code change turning on new linting rules.
97
144
 
98
145
  ## 4.2.8
99
146
 
100
147
  ### Patch Changes
101
148
 
102
- - [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614) [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
149
+ - [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614)
150
+ [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) -
151
+ Upgrading internal dependency (bind-event-listener) for improved internal types
103
152
 
104
153
  ## 4.2.7
105
154
 
106
155
  ### Patch Changes
107
156
 
108
- - [#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
157
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
158
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
159
+ to TypeScript 4.2.4
109
160
 
110
161
  ## 4.2.6
111
162
 
112
163
  ### Patch Changes
113
164
 
114
- - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033) [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds `static` techstack to package, enforcing stricter style linting. In this case the package already satisfied this requirement so there have been no changes to styles.
165
+ - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
166
+ [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
167
+ `static` techstack to package, enforcing stricter style linting. In this case the package already
168
+ satisfied this requirement so there have been no changes to styles.
115
169
 
116
170
  ## 4.2.5
117
171
 
118
172
  ### Patch Changes
119
173
 
120
- - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Retains the portal wrapper in the DOM after the last portal is unmounted. This drastically reduces the style recalculations and improves performance for portalled elements.
174
+ - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
175
+ [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Retains
176
+ the portal wrapper in the DOM after the last portal is unmounted. This drastically reduces the
177
+ style recalculations and improves performance for portalled elements.
121
178
  - Updated dependencies
122
179
 
123
180
  ## 4.2.4
124
181
 
125
182
  ### Patch Changes
126
183
 
127
- - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal wiring up to the tokens techstack, no code changes.
184
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
185
+ [`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal
186
+ wiring up to the tokens techstack, no code changes.
128
187
 
129
188
  ## 4.2.3
130
189
 
131
190
  ### Patch Changes
132
191
 
133
- - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`ea086afdc2d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea086afdc2d) - Fix bug where Portal was attached to the body after the children were rendered. Now Portal is attached before it's children are rendered.
192
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
193
+ [`ea086afdc2d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea086afdc2d) - Fix bug
194
+ where Portal was attached to the body after the children were rendered. Now Portal is attached
195
+ before it's children are rendered.
134
196
  - Updated dependencies
135
197
 
136
198
  ## 4.2.2
137
199
 
138
200
  ### Patch Changes
139
201
 
140
- - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
202
+ - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
203
+ [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
204
+ `@atlaskit/theme` to version `^11.3.0`.
141
205
 
142
206
  ## 4.2.1
143
207
 
144
208
  ### Patch Changes
145
209
 
146
- - [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167) [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
210
+ - [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
211
+ [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
212
+ to development dependency `storybook-addon-performance`
147
213
 
148
214
  ## 4.2.0
149
215
 
150
216
  ### Minor Changes
151
217
 
152
- - [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170) [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes usage of styled-components in favour of standardising on emotion
218
+ - [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170)
219
+ [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes
220
+ usage of styled-components in favour of standardising on emotion
153
221
 
154
222
  ## 4.1.2
155
223
 
156
224
  ### Patch Changes
157
225
 
158
- - [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569) [`28f40bac160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f40bac160) - Updates targets for modal dialog in VR tests.
226
+ - [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569)
227
+ [`28f40bac160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f40bac160) - Updates
228
+ targets for modal dialog in VR tests.
159
229
 
160
230
  ## 4.1.1
161
231
 
162
232
  ### Patch Changes
163
233
 
164
- - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`8b360a4ac06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b360a4ac06) - NO-ISSUE Update modal dialog selector for VR & integration tests
234
+ - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
235
+ [`8b360a4ac06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b360a4ac06) - NO-ISSUE
236
+ Update modal dialog selector for VR & integration tests
165
237
  - Updated dependencies
166
238
 
167
239
  ## 4.1.0
168
240
 
169
241
  ### Minor Changes
170
242
 
171
- - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`d4f0c36ac36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d4f0c36ac36) - Converted class based portal component to functional component and dropped unused ie11 specific code
243
+ - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
244
+ [`d4f0c36ac36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d4f0c36ac36) -
245
+ Converted class based portal component to functional component and dropped unused ie11 specific
246
+ code
172
247
 
173
248
  ### Patch Changes
174
249
 
175
- - [`9e94c1beb76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e94c1beb76) - Removed deprecated auto entry points and added new entry points in Portal
176
- - [`e87c4a5ae8b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e87c4a5ae8b) - Optimisation of z-index to layer name by removing dependency on atlaskit theme package
250
+ - [`9e94c1beb76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e94c1beb76) - Removed
251
+ deprecated auto entry points and added new entry points in Portal
252
+ - [`e87c4a5ae8b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e87c4a5ae8b) -
253
+ Optimisation of z-index to layer name by removing dependency on atlaskit theme package
177
254
 
178
255
  ## 4.0.5
179
256
 
180
257
  ### Patch Changes
181
258
 
182
- - [#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
259
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
260
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
261
+ packages using babel rather than tsc
183
262
 
184
263
  ## 4.0.4
185
264
 
186
265
  ### Patch Changes
187
266
 
188
- - [#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.
189
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
190
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
267
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
268
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
269
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
270
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
271
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
272
+ `devDependencies` to denote version that the package was built with.
191
273
 
192
274
  ## 4.0.3
193
275
 
@@ -199,24 +281,32 @@
199
281
 
200
282
  ### Patch Changes
201
283
 
202
- - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
284
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
285
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
286
+ to TypeScript 3.9.6 and tslib to 2.0.0
203
287
 
204
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
205
- to prevent duplicates of tslib being bundled.
288
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
289
+ upgrade to prevent duplicates of tslib being bundled.
206
290
 
207
291
  ## 4.0.1
208
292
 
209
293
  ### Patch Changes
210
294
 
211
- - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`3414523d6f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3414523d6f) - Rearange buttons order to align with design guidelines
212
- - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
295
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
296
+ [`3414523d6f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3414523d6f) - Rearange
297
+ buttons order to align with design guidelines
298
+ - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
299
+ the theme imports to be tree-shakable
213
300
 
214
301
  ## 4.0.0
215
302
 
216
303
  ### Major Changes
217
304
 
218
- - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
219
- For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
305
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
306
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
307
+ dropping IE11 support, from this version onwards there are no warranties of the package working in
308
+ IE11. For more information see:
309
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
220
310
 
221
311
  ### Patch Changes
222
312
 
@@ -226,13 +316,17 @@
226
316
 
227
317
  ### Patch Changes
228
318
 
229
- - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
319
+ - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
320
+ [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
321
+ supporting files will no longer be published to npm
230
322
 
231
323
  ## 3.1.8
232
324
 
233
325
  ### Patch Changes
234
326
 
235
- - [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`4069606178`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4069606178) - Change imports to comply with Atlassian conventions- Updated dependencies
327
+ - [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868)
328
+ [`4069606178`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4069606178) - Change
329
+ imports to comply with Atlassian conventions- Updated dependencies
236
330
 
237
331
  ## 3.1.7
238
332
 
@@ -240,14 +334,21 @@
240
334
 
241
335
  - [patch][603413f530](https://bitbucket.org/atlassian/atlassian-frontend/commits/603413f530):
242
336
 
243
- Remove 'export \*' for improved tree shaking- Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
337
+ Remove 'export \*' for improved tree shaking- Updated dependencies
338
+ [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
244
339
 
245
- - Updated dependencies [f5b654c328](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5b654c328):
246
- - Updated dependencies [0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
247
- - Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
248
- - Updated dependencies [b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
249
- - Updated dependencies [0389a42cc5](https://bitbucket.org/atlassian/atlassian-frontend/commits/0389a42cc5):
250
- - Updated dependencies [89bf723567](https://bitbucket.org/atlassian/atlassian-frontend/commits/89bf723567):
340
+ - Updated dependencies
341
+ [f5b654c328](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5b654c328):
342
+ - Updated dependencies
343
+ [0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
344
+ - Updated dependencies
345
+ [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
346
+ - Updated dependencies
347
+ [b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
348
+ - Updated dependencies
349
+ [0389a42cc5](https://bitbucket.org/atlassian/atlassian-frontend/commits/0389a42cc5):
350
+ - Updated dependencies
351
+ [89bf723567](https://bitbucket.org/atlassian/atlassian-frontend/commits/89bf723567):
251
352
  - @atlaskit/docs@8.5.1
252
353
  - @atlaskit/modal-dialog@10.5.6
253
354
  - @atlaskit/theme@9.5.3
@@ -260,7 +361,8 @@
260
361
 
261
362
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
262
363
 
263
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
364
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
365
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
264
366
 
265
367
  - @atlaskit/docs@8.3.2
266
368
  - @atlaskit/visual-regression@0.1.9
@@ -277,7 +379,8 @@
277
379
 
278
380
  ### Patch Changes
279
381
 
280
- - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
382
+ - Updated dependencies
383
+ [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
281
384
  - @atlaskit/icon@20.0.0
282
385
  - @atlaskit/flag@12.3.6
283
386
  - @atlaskit/modal-dialog@10.5.1
@@ -293,10 +396,14 @@
293
396
 
294
397
  - [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
295
398
 
296
- Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies [28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
399
+ Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
400
+ Updated dependencies
401
+ [28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
297
402
 
298
- - Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
299
- - Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
403
+ - Updated dependencies
404
+ [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
405
+ - Updated dependencies
406
+ [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
300
407
  - @atlaskit/icon@19.1.0
301
408
  - @atlaskit/theme@9.5.0
302
409
  - @atlaskit/button@13.3.5
@@ -310,10 +417,15 @@
310
417
 
311
418
  - [patch][f9c291923c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c291923c):
312
419
 
313
- Corrects the type exports for typography, colors, elevation and layers. If you were doing any dynamic code it may break you. Refer to the [upgrade guide](/packages/core/theme/docs/upgrade-guide) for help upgrading.- Updated dependencies [c1d4898af5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c1d4898af5):
420
+ Corrects the type exports for typography, colors, elevation and layers. If you were doing any
421
+ dynamic code it may break you. Refer to the
422
+ [upgrade guide](/packages/core/theme/docs/upgrade-guide) for help upgrading.- Updated dependencies
423
+ [c1d4898af5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c1d4898af5):
314
424
 
315
- - Updated dependencies [3c0f6feee5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3c0f6feee5):
316
- - Updated dependencies [f9c291923c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c291923c):
425
+ - Updated dependencies
426
+ [3c0f6feee5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3c0f6feee5):
427
+ - Updated dependencies
428
+ [f9c291923c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c291923c):
317
429
  - @atlaskit/icon@19.0.11
318
430
  - @atlaskit/theme@9.3.0
319
431
 
@@ -351,7 +463,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
351
463
 
352
464
  ## 3.0.13
353
465
 
354
- - Updated dependencies [a75dfaad67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a75dfaad67):
466
+ - Updated dependencies
467
+ [a75dfaad67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a75dfaad67):
355
468
  - @atlaskit/onboarding@9.0.0
356
469
 
357
470
  ## 3.0.12
@@ -360,7 +473,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
360
473
 
361
474
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
362
475
 
363
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
476
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
477
+ non-relative imports as relative imports
364
478
 
365
479
  ## 3.0.11
366
480
 
@@ -398,12 +512,15 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
398
512
  - Adding back cjs
399
513
  - Replacing es5 by cjs and es2015 by esm
400
514
  - Creating folders at the root for entry-points
401
- - Removing the generation of the entry-points at the root
402
- Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
515
+ - Removing the generation of the entry-points at the root Please see this
516
+ [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
517
+ [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
518
+ for further details
403
519
 
404
520
  ## 3.0.7
405
521
 
406
- - Updated dependencies [06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
522
+ - Updated dependencies
523
+ [06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
407
524
  - @atlaskit/docs@8.1.3
408
525
  - @atlaskit/button@13.0.9
409
526
  - @atlaskit/flag@12.0.10
@@ -431,13 +548,15 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
431
548
 
432
549
  ## 3.0.4
433
550
 
434
- - Updated dependencies [67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
551
+ - Updated dependencies
552
+ [67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
435
553
  - @atlaskit/icon@18.0.1
436
554
  - @atlaskit/tooltip@15.0.0
437
555
 
438
556
  ## 3.0.3
439
557
 
440
- - Updated dependencies [cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
558
+ - Updated dependencies
559
+ [cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
441
560
  - @atlaskit/docs@8.1.2
442
561
  - @atlaskit/button@13.0.8
443
562
  - @atlaskit/flag@12.0.4
@@ -449,7 +568,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
449
568
 
450
569
  ## 3.0.2
451
570
 
452
- - Updated dependencies [181209d135](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/181209d135):
571
+ - Updated dependencies
572
+ [181209d135](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/181209d135):
453
573
  - @atlaskit/modal-dialog@10.0.3
454
574
  - @atlaskit/inline-dialog@12.0.0
455
575
 
@@ -457,39 +577,46 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
457
577
 
458
578
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
459
579
 
460
- - This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
580
+ - This is just a safety release in case anything strange happened in in the previous one. See Pull
581
+ Request #5942 for details
461
582
 
462
583
  ## 3.0.0
463
584
 
464
585
  - [major][dacfb81ca1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dacfb81ca1):
465
586
 
466
- - @atlaskit/portal has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.
587
+ - @atlaskit/portal has been converted to Typescript. Typescript consumers will now get static type
588
+ safety. Flow types are no longer provided. No API or behavioural changes.
467
589
 
468
- - Updated dependencies [06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
590
+ - Updated dependencies
591
+ [06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
469
592
  - @atlaskit/icon@17.1.2
470
593
  - @atlaskit/onboarding@8.0.2
471
594
  - @atlaskit/modal-dialog@10.0.0
472
595
 
473
596
  ## 2.0.1
474
597
 
475
- - Updated dependencies [238b65171f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/238b65171f):
598
+ - Updated dependencies
599
+ [238b65171f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/238b65171f):
476
600
  - @atlaskit/flag@12.0.0
477
601
 
478
602
  ## 2.0.0
479
603
 
480
604
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
481
605
 
482
- - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.
606
+ - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
607
+ this package, please ensure you use at least this version of react and react-dom.
483
608
 
484
609
  ## 1.0.0
485
610
 
486
611
  - [major][5b6b4d6a0f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5b6b4d6a0f):
487
612
 
488
- - This major release indicates that this package is no longer under dev preview but is ready for use
613
+ - This major release indicates that this package is no longer under dev preview but is ready for
614
+ use
489
615
 
490
616
  ## 0.3.1
491
617
 
492
- - Updated dependencies [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
618
+ - Updated dependencies
619
+ [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
493
620
  - @atlaskit/docs@7.0.2
494
621
  - @atlaskit/flag@10.0.5
495
622
  - @atlaskit/icon@16.0.8
@@ -503,7 +630,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
503
630
 
504
631
  - [minor][ce4e1b4780](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ce4e1b4780):
505
632
 
506
- - zIndex prop now accepts string and number values. Portal consumers can now use css values like "unset" if needed.
633
+ - zIndex prop now accepts string and number values. Portal consumers can now use css values like
634
+ "unset" if needed.
507
635
 
508
636
  ## 0.2.2
509
637
 
@@ -513,7 +641,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
513
641
 
514
642
  ## 0.2.1
515
643
 
516
- - Updated dependencies [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
644
+ - Updated dependencies
645
+ [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
517
646
  - @atlaskit/docs@7.0.1
518
647
  - @atlaskit/flag@10.0.1
519
648
  - @atlaskit/icon@16.0.5
@@ -531,8 +660,9 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
531
660
 
532
661
  ### Dropping CJS support in all @atlaskit packages
533
662
 
534
- As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain `import` and
535
- `export` declarations.
663
+ As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
664
+ distribute esm. This means all distributed code will be transpiled, but will still contain
665
+ `import` and `export` declarations.
536
666
 
537
667
  The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
538
668
 
@@ -546,15 +676,26 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
546
676
  import colors from `@atlaskit/theme/dist/esm/colors`;
547
677
  ```
548
678
 
549
- This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't _actually_ supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.
679
+ This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
680
+ we have to worry about how consumers might be using things that aren't _actually_ supposed to be
681
+ used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
682
+ packages bundling all of theme, just to use a single color, especially in situations where tree
683
+ shaking fails.
550
684
 
551
- To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.
685
+ To support being able to use multiple entrypoints internally, we unfortunately cannot have
686
+ multiple distributions as they would need to have very different imports from of their own
687
+ internal dependencies.
552
688
 
553
- ES Modules are widely supported by all modern bundlers and can be worked around in node environments.
689
+ ES Modules are widely supported by all modern bundlers and can be worked around in node
690
+ environments.
554
691
 
555
- We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.
692
+ We may choose to revisit this solution in the future if we find any unintended condequences, but
693
+ we see this as a pretty sane path forward which should lead to some major bundle size decreases,
694
+ saner API's and simpler package architecture.
556
695
 
557
- Please reach out to #fabric-build (if in Atlassian) or create an issue in [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for external) if you have any questions or queries about this.
696
+ Please reach out to #fabric-build (if in Atlassian) or create an issue in
697
+ [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
698
+ external) if you have any questions or queries about this.
558
699
 
559
700
  ## 0.1.0
560
701
 
@@ -564,7 +705,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
564
705
 
565
706
  ## 0.0.18
566
707
 
567
- - Updated dependencies [d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
708
+ - Updated dependencies
709
+ [d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
568
710
  - @atlaskit/docs@6.0.1
569
711
  - @atlaskit/button@10.1.2
570
712
  - @atlaskit/flag@9.1.9
@@ -624,15 +766,18 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
624
766
 
625
767
  ## 0.0.12
626
768
 
627
- - [patch] fixes problem with the DOM container for portal not creating a new stacking context [aaab348](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aaab348)
769
+ - [patch] fixes problem with the DOM container for portal not creating a new stacking context
770
+ [aaab348](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aaab348)
628
771
 
629
772
  ## 0.0.11
630
773
 
631
- - [patch] Adds missing implicit @babel/runtime dependency [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
774
+ - [patch] Adds missing implicit @babel/runtime dependency
775
+ [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
632
776
 
633
777
  ## 0.0.10
634
778
 
635
- - [patch] Updated dependencies [65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
779
+ - [patch] Updated dependencies
780
+ [65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
636
781
  - @atlaskit/docs@5.0.8
637
782
  - @atlaskit/button@9.0.13
638
783
  - @atlaskit/flag@9.0.11
@@ -644,7 +789,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
644
789
 
645
790
  ## 0.0.9
646
791
 
647
- - [patch] Updated dependencies [d5a043a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d5a043a)
792
+ - [patch] Updated dependencies
793
+ [d5a043a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d5a043a)
648
794
  - @atlaskit/icon@13.8.1
649
795
  - @atlaskit/onboarding@6.0.1
650
796
  - @atlaskit/flag@9.0.10
@@ -653,45 +799,57 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
653
799
 
654
800
  ## 0.0.8
655
801
 
656
- - [patch] Updated dependencies [d9d2f0d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d9d2f0d)
657
- - [none] Updated dependencies [89be4f1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89be4f1)
802
+ - [patch] Updated dependencies
803
+ [d9d2f0d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d9d2f0d)
804
+ - [none] Updated dependencies
805
+ [89be4f1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89be4f1)
658
806
  - @atlaskit/flag@9.0.9
659
807
  - @atlaskit/tooltip@12.0.13
660
808
  - @atlaskit/onboarding@6.0.0
661
809
 
662
810
  ## 0.0.7
663
811
 
664
- - [patch] Adds sideEffects: false to allow proper tree shaking [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
812
+ - [patch] Adds sideEffects: false to allow proper tree shaking
813
+ [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
665
814
 
666
815
  ## 0.0.6
667
816
 
668
- - [patch] Updated dependencies [1d9e75a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d9e75a)
817
+ - [patch] Updated dependencies
818
+ [1d9e75a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d9e75a)
669
819
  - @atlaskit/inline-dialog@9.0.0
670
820
  - @atlaskit/tooltip@12.0.8
671
821
  - @atlaskit/modal-dialog@6.0.8
672
- - [none] Updated dependencies [a3109d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a3109d3)
822
+ - [none] Updated dependencies
823
+ [a3109d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a3109d3)
673
824
  - @atlaskit/inline-dialog@9.0.0
674
825
  - @atlaskit/tooltip@12.0.8
675
826
  - @atlaskit/modal-dialog@6.0.8
676
- - [none] Updated dependencies [87d45d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87d45d3)
827
+ - [none] Updated dependencies
828
+ [87d45d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87d45d3)
677
829
  - @atlaskit/inline-dialog@9.0.0
678
830
  - @atlaskit/tooltip@12.0.8
679
831
  - @atlaskit/modal-dialog@6.0.8
680
- - [none] Updated dependencies [a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
832
+ - [none] Updated dependencies
833
+ [a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
681
834
  - @atlaskit/inline-dialog@9.0.0
682
835
  - @atlaskit/tooltip@12.0.8
683
836
  - @atlaskit/modal-dialog@6.0.8
684
837
 
685
838
  ## 0.0.5
686
839
 
687
- - [patch] Adds missing dependency on babel-runtime [e41e465](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e41e465)
688
- - [none] Updated dependencies [e41e465](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e41e465)
840
+ - [patch] Adds missing dependency on babel-runtime
841
+ [e41e465](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e41e465)
842
+ - [none] Updated dependencies
843
+ [e41e465](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e41e465)
689
844
  - @atlaskit/tooltip@12.0.7
690
845
 
691
846
  ## 0.0.4
692
847
 
693
- - [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
694
- - [none] Updated dependencies [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
848
+ - [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
849
+ read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
850
+ [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
851
+ - [none] Updated dependencies
852
+ [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
695
853
  - @atlaskit/tooltip@12.0.5
696
854
  - @atlaskit/inline-dialog@8.0.4
697
855
  - @atlaskit/modal-dialog@6.0.6
@@ -702,7 +860,8 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
702
860
 
703
861
  ## 0.0.3
704
862
 
705
- - [patch] Updated dependencies [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
863
+ - [patch] Updated dependencies
864
+ [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
706
865
  - @atlaskit/inline-dialog@8.0.3
707
866
  - @atlaskit/tooltip@12.0.4
708
867
  - @atlaskit/onboarding@5.1.3
@@ -714,4 +873,5 @@ It is broken for ie11 if you are not polyfilling the `new Event` constructor
714
873
 
715
874
  ## 0.0.2
716
875
 
717
- - [patch] Initial dev release of portal package [6d5c8c0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6d5c8c0)
876
+ - [patch] Initial dev release of portal package
877
+ [6d5c8c0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6d5c8c0)
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import Portal from '../src';
4
4
 
5
5
  export default () => (
6
- <Portal zIndex={100}>
7
- <p>portal</p>
8
- </Portal>
6
+ <Portal zIndex={100}>
7
+ <p>portal</p>
8
+ </Portal>
9
9
  );
@@ -5,25 +5,32 @@ import { token } from '@atlaskit/tokens';
5
5
  import Portal from '../src';
6
6
 
7
7
  const PortalPerformance = () => {
8
- return (
9
- <Portal zIndex={200}>
10
- <div
11
- style={{
12
- position: 'absolute',
13
- top: token('space.300', '24px'),
14
- left: token('space.300', '24px'),
15
- background: 'lightpink',
16
- padding: token('space.300', '24px'),
17
- borderRadius: '3px',
18
- // this z-index is relative to the portal
19
- zIndex: 1,
20
- }}
21
- >
22
- <p>portal z-index: 200</p>
23
- <p>element z-index: 1</p>
24
- </div>
25
- </Portal>
26
- );
8
+ return (
9
+ <Portal zIndex={200}>
10
+ <div
11
+ style={{
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
13
+ position: 'absolute',
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
15
+ top: token('space.300', '24px'),
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
17
+ left: token('space.300', '24px'),
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
19
+ background: 'lightpink',
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
21
+ padding: token('space.300', '24px'),
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
23
+ borderRadius: '3px',
24
+ // this z-index is relative to the portal
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
26
+ zIndex: 1,
27
+ }}
28
+ >
29
+ <p>portal z-index: 200</p>
30
+ <p>element z-index: 1</p>
31
+ </div>
32
+ </Portal>
33
+ );
27
34
  };
28
35
 
29
36
  export default PortalPerformance;
@@ -1,4 +1,4 @@
1
- import { ReactPortal } from 'react';
1
+ import { type ReactPortal } from 'react';
2
2
  interface InternalPortalProps {
3
3
  children: React.ReactNode;
4
4
  zIndex: number | string;
@@ -1,3 +1,3 @@
1
- import { MountStrategy } from '../types';
1
+ import { type MountStrategy } from '../types';
2
2
  declare const useIsSubsequentRender: (mountStrategy?: MountStrategy) => boolean;
3
3
  export default useIsSubsequentRender;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { PortalProps } from './types';
3
- export default function Portal({ zIndex, children, mountStrategy, }: PortalProps): JSX.Element | null;
3
+ export default function Portal({ zIndex, children, mountStrategy }: PortalProps): JSX.Element | null;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { MountStrategy, PortalEventDetail } from './internal/types';
1
+ import type React from 'react';
2
+ import { type MountStrategy, type PortalEventDetail } from './internal/types';
3
3
  /**
4
4
  * Interface for props to be passed in Atlassian Portal component
5
5
  */
@@ -1,4 +1,4 @@
1
- import { ReactPortal } from 'react';
1
+ import { type ReactPortal } from 'react';
2
2
  interface InternalPortalProps {
3
3
  children: React.ReactNode;
4
4
  zIndex: number | string;
@@ -1,3 +1,3 @@
1
- import { MountStrategy } from '../types';
1
+ import { type MountStrategy } from '../types';
2
2
  declare const useIsSubsequentRender: (mountStrategy?: MountStrategy) => boolean;
3
3
  export default useIsSubsequentRender;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { PortalProps } from './types';
3
- export default function Portal({ zIndex, children, mountStrategy, }: PortalProps): JSX.Element | null;
3
+ export default function Portal({ zIndex, children, mountStrategy }: PortalProps): JSX.Element | null;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { MountStrategy, PortalEventDetail } from './internal/types';
1
+ import type React from 'react';
2
+ import { type MountStrategy, type PortalEventDetail } from './internal/types';
3
3
  /**
4
4
  * Interface for props to be passed in Atlassian Portal component
5
5
  */
package/package.json CHANGED
@@ -1,93 +1,92 @@
1
1
  {
2
- "name": "@atlaskit/portal",
3
- "version": "4.4.2",
4
- "description": "A wrapper for rendering components in React portals.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
- "sideEffects": false,
24
- "atlaskit:src": "src/index.tsx",
25
- "atlassian": {
26
- "team": "Design System Team",
27
- "releaseModel": "continuous",
28
- "productPushConsumption": [
29
- "jira"
30
- ],
31
- "website": {
32
- "name": "Portal",
33
- "category": "Libraries"
34
- }
35
- },
36
- "af:exports": {
37
- "./types": "./src/entry-points/types.tsx",
38
- ".": "./src/index.tsx"
39
- },
40
- "dependencies": {
41
- "@atlaskit/theme": "^12.7.0",
42
- "@babel/runtime": "^7.0.0"
43
- },
44
- "peerDependencies": {
45
- "react": "^16.8.0",
46
- "react-dom": "^16.8.0"
47
- },
48
- "devDependencies": {
49
- "@af/accessibility-testing": "*",
50
- "@af/integration-testing": "*",
51
- "@atlaskit/ds-lib": "^2.3.0",
52
- "@atlaskit/modal-dialog": "^12.11.0",
53
- "@atlaskit/ssr": "*",
54
- "@atlaskit/tokens": "^1.43.0",
55
- "@atlaskit/tooltip": "^18.2.1",
56
- "@atlaskit/visual-regression": "*",
57
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
58
- "@emotion/react": "^11.7.1",
59
- "@testing-library/react": "^12.1.5",
60
- "@testing-library/react-hooks": "^8.0.1",
61
- "bind-event-listener": "^3.0.0",
62
- "raf-stub": "^2.0.1",
63
- "storybook-addon-performance": "^0.16.0",
64
- "typescript": "~5.4.2"
65
- },
66
- "keywords": [
67
- "atlaskit",
68
- "react",
69
- "ui"
70
- ],
71
- "techstack": {
72
- "@atlassian/frontend": {
73
- "import-structure": "atlassian-conventions"
74
- },
75
- "@repo/internal": {
76
- "dom-events": "use-bind-event-listener",
77
- "design-system": "v1",
78
- "ui-components": "lite-mode",
79
- "analytics": "analytics-next",
80
- "design-tokens": [
81
- "color",
82
- "spacing"
83
- ],
84
- "deprecation": "no-deprecated-imports",
85
- "styling": [
86
- "static",
87
- "emotion"
88
- ]
89
- }
90
- },
91
- "homepage": "https://atlassian.design/components/portal/",
92
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
93
- }
2
+ "name": "@atlaskit/portal",
3
+ "version": "4.6.0",
4
+ "description": "A wrapper for rendering components in React portals.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
23
+ "sideEffects": false,
24
+ "atlaskit:src": "src/index.tsx",
25
+ "atlassian": {
26
+ "team": "Design System Team",
27
+ "releaseModel": "continuous",
28
+ "productPushConsumption": [
29
+ "jira"
30
+ ],
31
+ "website": {
32
+ "name": "Portal",
33
+ "category": "Libraries"
34
+ },
35
+ "runReact18": true
36
+ },
37
+ "af:exports": {
38
+ "./types": "./src/entry-points/types.tsx",
39
+ ".": "./src/index.tsx"
40
+ },
41
+ "dependencies": {
42
+ "@atlaskit/theme": "^12.10.0",
43
+ "@babel/runtime": "^7.0.0"
44
+ },
45
+ "peerDependencies": {
46
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
47
+ "react-dom": "^16.8.0"
48
+ },
49
+ "devDependencies": {
50
+ "@af/accessibility-testing": "*",
51
+ "@af/integration-testing": "*",
52
+ "@atlaskit/ds-lib": "^2.3.0",
53
+ "@atlaskit/modal-dialog": "^12.14.0",
54
+ "@atlaskit/ssr": "*",
55
+ "@atlaskit/tokens": "^1.51.0",
56
+ "@atlaskit/tooltip": "^18.5.0",
57
+ "@atlaskit/visual-regression": "*",
58
+ "@emotion/react": "^11.7.1",
59
+ "@testing-library/react": "^12.1.5",
60
+ "@testing-library/react-hooks": "^8.0.1",
61
+ "bind-event-listener": "^3.0.0",
62
+ "raf-stub": "^2.0.1",
63
+ "storybook-addon-performance": "^0.16.0",
64
+ "typescript": "~5.4.2"
65
+ },
66
+ "keywords": [
67
+ "atlaskit",
68
+ "react",
69
+ "ui"
70
+ ],
71
+ "techstack": {
72
+ "@atlassian/frontend": {
73
+ "import-structure": "atlassian-conventions"
74
+ },
75
+ "@repo/internal": {
76
+ "dom-events": "use-bind-event-listener",
77
+ "design-system": "v1",
78
+ "ui-components": "lite-mode",
79
+ "analytics": "analytics-next",
80
+ "design-tokens": [
81
+ "color",
82
+ "spacing"
83
+ ],
84
+ "deprecation": "no-deprecated-imports",
85
+ "styling": [
86
+ "static",
87
+ "emotion"
88
+ ]
89
+ }
90
+ },
91
+ "homepage": "https://atlassian.design/components/portal/"
92
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/portal"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -27,11 +28,7 @@ type LayerName = keyof Layers;
27
28
  type MountStrategy = 'effect' | 'layoutEffect';
28
29
 
29
30
  // @public (undocumented)
30
- function Portal({
31
- zIndex,
32
- children,
33
- mountStrategy,
34
- }: PortalProps): JSX.Element | null;
31
+ function Portal({ zIndex, children, mountStrategy }: PortalProps): JSX.Element | null;
35
32
  export default Portal;
36
33
 
37
34
  // @public (undocumented)
@@ -45,19 +42,19 @@ export type PortalEvent = CustomEvent<PortalEventDetail>;
45
42
 
46
43
  // @public
47
44
  interface PortalEventDetail {
48
- // (undocumented)
49
- layer: LayerName | null;
50
- // (undocumented)
51
- zIndex: number;
45
+ // (undocumented)
46
+ layer: LayerName | null;
47
+ // (undocumented)
48
+ zIndex: number;
52
49
  }
53
50
 
54
51
  // @public
55
52
  export interface PortalProps {
56
- // (undocumented)
57
- children: React_2.ReactNode;
58
- mountStrategy?: MountStrategy;
59
- // (undocumented)
60
- zIndex?: number | string;
53
+ // (undocumented)
54
+ children: React_2.ReactNode;
55
+ mountStrategy?: MountStrategy;
56
+ // (undocumented)
57
+ zIndex?: number | string;
61
58
  }
62
59
 
63
60
  // (No @packageDocumentation comment for this package)
@@ -71,8 +68,8 @@ export interface PortalProps {
71
68
 
72
69
  ```json
73
70
  {
74
- "react": "^16.8.0",
75
- "react-dom": "^16.8.0"
71
+ "react": "^16.8.0",
72
+ "react-dom": "^16.8.0"
76
73
  }
77
74
  ```
78
75