@atlaskit/popper 5.6.0 → 6.1.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 (32) hide show
  1. package/CHANGELOG.md +370 -357
  2. package/__perf__/default.tsx +17 -16
  3. package/codemods/5.0.0-lite-mode.tsx +128 -157
  4. package/codemods/__tests__/update-modifier.tsx +15 -15
  5. package/codemods/__tests__/update-offset-prop.tsx +71 -71
  6. package/codemods/__tests__/update-render-props.tsx +13 -13
  7. package/codemods/utils/helpers.tsx +253 -263
  8. package/dist/types/popper.d.ts +2 -2
  9. package/dist/types-ts4.5/popper.d.ts +2 -2
  10. package/package.json +91 -95
  11. package/report.api.md +15 -14
  12. package/dist/cjs/__tests_external__/index.js +0 -12
  13. package/dist/cjs/__tests_external__/page-objects/base-popper.js +0 -30
  14. package/dist/cjs/__tests_external__/test-cases/popper.js +0 -18
  15. package/dist/cjs/in-product.js +0 -12
  16. package/dist/es2019/__tests_external__/index.js +0 -1
  17. package/dist/es2019/__tests_external__/page-objects/base-popper.js +0 -6
  18. package/dist/es2019/__tests_external__/test-cases/popper.js +0 -10
  19. package/dist/es2019/in-product.js +0 -1
  20. package/dist/esm/__tests_external__/index.js +0 -1
  21. package/dist/esm/__tests_external__/page-objects/base-popper.js +0 -23
  22. package/dist/esm/__tests_external__/test-cases/popper.js +0 -12
  23. package/dist/esm/in-product.js +0 -1
  24. package/dist/types/__tests_external__/index.d.ts +0 -1
  25. package/dist/types/__tests_external__/page-objects/base-popper.d.ts +0 -7
  26. package/dist/types/__tests_external__/test-cases/popper.d.ts +0 -2
  27. package/dist/types/in-product.d.ts +0 -1
  28. package/dist/types-ts4.5/__tests_external__/index.d.ts +0 -1
  29. package/dist/types-ts4.5/__tests_external__/page-objects/base-popper.d.ts +0 -5
  30. package/dist/types-ts4.5/__tests_external__/test-cases/popper.d.ts +0 -2
  31. package/dist/types-ts4.5/in-product.d.ts +0 -1
  32. package/in-product/package.json +0 -15
package/CHANGELOG.md CHANGED
@@ -1,753 +1,766 @@
1
1
  # @atlaskit/popper
2
2
 
3
+ ## 6.1.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
+ ## 6.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - [#102675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102675)
17
+ [`5a358ae041de`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5a358ae041de) -
18
+ Removing @atlaskit/in-product-testing and its usages. Entry point removals require a major bump.
19
+
3
20
  ## 5.6.0
4
21
 
5
22
  ### Minor Changes
6
23
 
7
- - [#99248](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99248)
8
- [`ffd6f7e683e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ffd6f7e683e0) -
9
- Add support for React 18.
24
+ - [#99248](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99248)
25
+ [`ffd6f7e683e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ffd6f7e683e0) -
26
+ Add support for React 18 in non-strict mode.
10
27
 
11
28
  ## 5.5.5
12
29
 
13
30
  ### Patch Changes
14
31
 
15
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
16
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
17
- 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`
18
35
 
19
36
  ## 5.5.4
20
37
 
21
38
  ### Patch Changes
22
39
 
23
- - [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
24
- [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
25
- version.json
40
+ - [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
41
+ [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
42
+ version.json
26
43
 
27
44
  ## 5.5.3
28
45
 
29
46
  ### Patch Changes
30
47
 
31
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
32
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
33
- legacy types are published for TS 4.5-4.8
48
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
49
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
50
+ legacy types are published for TS 4.5-4.8
34
51
 
35
52
  ## 5.5.2
36
53
 
37
54
  ### Patch Changes
38
55
 
39
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
40
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
41
- Upgrade Typescript from `4.5.5` to `4.9.5`
56
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
57
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
58
+ Typescript from `4.5.5` to `4.9.5`
42
59
 
43
60
  ## 5.5.1
44
61
 
45
62
  ### Patch Changes
46
63
 
47
- - [#32945](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32945)
48
- [`f859e9ccda4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f859e9ccda4) -
49
- Migrates unit tests from enzyme to RTL.
64
+ - [#32945](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32945)
65
+ [`f859e9ccda4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f859e9ccda4) - Migrates
66
+ unit tests from enzyme to RTL.
50
67
 
51
68
  ## 5.5.0
52
69
 
53
70
  ### Minor Changes
54
71
 
55
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
56
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
57
- minor dependency bump
72
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
73
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
74
+ minor dependency bump
58
75
 
59
76
  ### Patch Changes
60
77
 
61
- - Updated dependencies
78
+ - Updated dependencies
62
79
 
63
80
  ## 5.4.11
64
81
 
65
82
  ### Patch Changes
66
83
 
67
- - [#29327](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29327)
68
- [`d84f56e6e50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d84f56e6e50) - Remove
69
- the unused feature flag
84
+ - [#29327](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29327)
85
+ [`d84f56e6e50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d84f56e6e50) - Remove
86
+ the unused feature flag
70
87
 
71
88
  ## 5.4.10
72
89
 
73
90
  ### Patch Changes
74
91
 
75
- - Updated dependencies
92
+ - Updated dependencies
76
93
 
77
94
  ## 5.4.9
78
95
 
79
96
  ### Patch Changes
80
97
 
81
- - Updated dependencies
98
+ - Updated dependencies
82
99
 
83
100
  ## 5.4.8
84
101
 
85
102
  ### Patch Changes
86
103
 
87
- - Updated dependencies
104
+ - Updated dependencies
88
105
 
89
106
  ## 5.4.7
90
107
 
91
108
  ### Patch Changes
92
109
 
93
- - Updated dependencies
110
+ - Updated dependencies
94
111
 
95
112
  ## 5.4.6
96
113
 
97
114
  ### Patch Changes
98
115
 
99
- - [#28158](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28158)
100
- [`7888ba61c3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7888ba61c3b) - Add
101
- platform feature flag registration and dynamic type generation for platform feature flag client
102
- - Updated dependencies
116
+ - [#28158](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28158)
117
+ [`7888ba61c3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7888ba61c3b) - Add
118
+ platform feature flag registration and dynamic type generation for platform feature flag client
119
+ - Updated dependencies
103
120
 
104
121
  ## 5.4.5
105
122
 
106
123
  ### Patch Changes
107
124
 
108
- - [#28303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28303)
109
- [`85dc0230439`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85dc0230439) - Add
110
- eslint rule to allow for platform feature flag usage
125
+ - [#28303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28303)
126
+ [`85dc0230439`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85dc0230439) - Add
127
+ eslint rule to allow for platform feature flag usage
111
128
 
112
129
  ## 5.4.4
113
130
 
114
131
  ### Patch Changes
115
132
 
116
- - Updated dependencies
133
+ - Updated dependencies
117
134
 
118
135
  ## 5.4.3
119
136
 
120
137
  ### Patch Changes
121
138
 
122
- - Updated dependencies
139
+ - Updated dependencies
123
140
 
124
141
  ## 5.4.2
125
142
 
126
143
  ### Patch Changes
127
144
 
128
- - [#27890](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27890)
129
- [`03a51e8100d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03a51e8100d) -
130
- Introduces a hidden, dummy html element to validate that our new deployment pipeline is working
131
- end-to-end.
145
+ - [#27890](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27890)
146
+ [`03a51e8100d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03a51e8100d) -
147
+ Introduces a hidden, dummy html element to validate that our new deployment pipeline is working
148
+ end-to-end.
132
149
 
133
150
  ## 5.4.1
134
151
 
135
152
  ### Patch Changes
136
153
 
137
- - [#27756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27756)
138
- [`211c04b1c96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/211c04b1c96) - Fixes
139
- in-product testing typos causing assert errors
154
+ - [#27756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27756)
155
+ [`211c04b1c96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/211c04b1c96) - Fixes
156
+ in-product testing typos causing assert errors
140
157
 
141
158
  ## 5.4.0
142
159
 
143
160
  ### Minor Changes
144
161
 
145
- - [#27549](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27549)
146
- [`cd2800156bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd2800156bd) -
147
- Updates to in-product testing interface. The change switches
148
- popperRendersWithPositionFixedTestCase to popperRendersTestCase.
162
+ - [#27549](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27549)
163
+ [`cd2800156bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd2800156bd) - Updates
164
+ to in-product testing interface. The change switches popperRendersWithPositionFixedTestCase to
165
+ popperRendersTestCase.
149
166
 
150
167
  ## 5.3.0
151
168
 
152
169
  ### Minor Changes
153
170
 
154
- - [#27258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27258)
155
- [`6d5881c30a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d5881c30a4) -
156
- Introducing in-product testing entrypoints to popper.
171
+ - [#27258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27258)
172
+ [`6d5881c30a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d5881c30a4) -
173
+ Introducing in-product testing entrypoints to popper.
157
174
 
158
175
  ## 5.2.11
159
176
 
160
177
  ### Patch Changes
161
178
 
162
- - [#27294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27294)
163
- [`dc53dc3201b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc53dc3201b) - Add
164
- 'productPushConsumption' as a new optional field in package.json.
179
+ - [#27294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27294)
180
+ [`dc53dc3201b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc53dc3201b) - Add
181
+ 'productPushConsumption' as a new optional field in package.json.
165
182
 
166
- _Note_: We want to track the information if the package was moved from the pull into the push
167
- model in the product. Hence, we extended the `package.json` file by adding a new field e.g.:
168
- "atlassian.productPushConsumption": ["jira"] This field is optional.
183
+ _Note_: We want to track the information if the package was moved from the pull into the push
184
+ model in the product. Hence, we extended the `package.json` file by adding a new field e.g.:
185
+ "atlassian.productPushConsumption": ["jira"] This field is optional.
169
186
 
170
187
  ## 5.2.10
171
188
 
172
189
  ### Patch Changes
173
190
 
174
- - [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
175
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
176
- change to introduce spacing tokens to design system components.
191
+ - [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
192
+ [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
193
+ change to introduce spacing tokens to design system components.
177
194
 
178
195
  ## 5.2.9
179
196
 
180
197
  ### Patch Changes
181
198
 
182
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
183
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
184
- Upgrade Typescript from `4.3.5` to `4.5.5`
199
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
200
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
201
+ Typescript from `4.3.5` to `4.5.5`
185
202
 
186
203
  ## 5.2.8
187
204
 
188
205
  ### Patch Changes
189
206
 
190
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
191
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
192
- Upgrade Typescript from `4.2.4` to `4.3.5`.
207
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
208
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
209
+ Typescript from `4.2.4` to `4.3.5`.
193
210
 
194
211
  ## 5.2.7
195
212
 
196
213
  ### Patch Changes
197
214
 
198
- - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
199
- [`ff5655480e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff5655480e6) -
200
- Internal code change turning on new linting rules.
215
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
216
+ [`ff5655480e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff5655480e6) - Internal
217
+ code change turning on new linting rules.
201
218
 
202
219
  ## 5.2.6
203
220
 
204
221
  ### Patch Changes
205
222
 
206
- - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
207
- [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved
208
- to using declarative entrypoints internally. Public API is unchanged.
223
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
224
+ [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to
225
+ using declarative entrypoints internally. Public API is unchanged.
209
226
 
210
227
  ## 5.2.5
211
228
 
212
229
  ### Patch Changes
213
230
 
214
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
215
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
216
- Upgrade to TypeScript 4.2.4
231
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
232
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
233
+ to TypeScript 4.2.4
217
234
 
218
235
  ## 5.2.4
219
236
 
220
237
  ### Patch Changes
221
238
 
222
- - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
223
- [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
224
- `static` techstack to package, enforcing stricter style linting. In this case the package
225
- already satisfied this requirement so there have been no changes to styles.
239
+ - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
240
+ [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
241
+ `static` techstack to package, enforcing stricter style linting. In this case the package already
242
+ satisfied this requirement so there have been no changes to styles.
226
243
 
227
244
  ## 5.2.3
228
245
 
229
246
  ### Patch Changes
230
247
 
231
- - [#19678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19678)
232
- [`10d1f4d4a4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10d1f4d4a4b) - Export
233
- placement options
248
+ - [#19678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19678)
249
+ [`10d1f4d4a4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10d1f4d4a4b) - Export
250
+ placement options
234
251
 
235
252
  ## 5.2.2
236
253
 
237
254
  ### Patch Changes
238
255
 
239
- - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
240
- [`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) -
241
- Internal wiring up to the tokens techstack, no code changes.
256
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
257
+ [`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal
258
+ wiring up to the tokens techstack, no code changes.
242
259
 
243
260
  ## 5.2.1
244
261
 
245
262
  ### Patch Changes
246
263
 
247
- - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
248
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
249
- `@atlaskit/theme` to version `^11.3.0`.
264
+ - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
265
+ [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
266
+ `@atlaskit/theme` to version `^11.3.0`.
250
267
 
251
268
  ## 5.2.0
252
269
 
253
270
  ### Minor Changes
254
271
 
255
- - [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170)
256
- [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) -
257
- Removes usage of styled-components in favour of standardising on emotion
272
+ - [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170)
273
+ [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes
274
+ usage of styled-components in favour of standardising on emotion
258
275
 
259
276
  ## 5.1.0
260
277
 
261
278
  ### Minor Changes
262
279
 
263
- - [#8388](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8388)
264
- [`81f4f9f7562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81f4f9f7562) - Update
265
- core `@popperjs/core` dependency to `^2.9.1`, fixing some positioning bugs, such as in parents
266
- with `will-change` CSS properties set. For more information on the specific changes, see the
267
- popper docs.
280
+ - [#8388](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8388)
281
+ [`81f4f9f7562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81f4f9f7562) - Update
282
+ core `@popperjs/core` dependency to `^2.9.1`, fixing some positioning bugs, such as in parents
283
+ with `will-change` CSS properties set. For more information on the specific changes, see the
284
+ popper docs.
268
285
 
269
286
  ## 5.0.4
270
287
 
271
288
  ### Patch Changes
272
289
 
273
- - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
274
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
275
- Transpile packages using babel rather than tsc
290
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
291
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
292
+ packages using babel rather than tsc
276
293
 
277
294
  ## 5.0.3
278
295
 
279
296
  ### Patch Changes
280
297
 
281
- - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
282
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
283
- types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
284
- compiler option. This requires version 3.8 of Typescript, read more about how we handle
285
- Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
286
- `devDependencies` to denote version that the package was built with.
298
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
299
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
300
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
301
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
302
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
303
+ `devDependencies` to denote version that the package was built with.
287
304
 
288
305
  ## 5.0.2
289
306
 
290
307
  ### Patch Changes
291
308
 
292
- - [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346)
293
- [`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix
294
- codemod utilities being exposed through the codemod cli
309
+ - [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346)
310
+ [`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix
311
+ codemod utilities being exposed through the codemod cli
295
312
 
296
313
  ## 5.0.1
297
314
 
298
315
  ### Patch Changes
299
316
 
300
- - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
301
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
302
- to TypeScript 3.9.6 and tslib to 2.0.0
317
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
318
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
319
+ to TypeScript 3.9.6 and tslib to 2.0.0
303
320
 
304
- Since tslib is a dependency for all our packages we recommend that products also follow this
305
- tslib upgrade to prevent duplicates of tslib being bundled.
321
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
322
+ upgrade to prevent duplicates of tslib being bundled.
306
323
 
307
324
  ## 5.0.0
308
325
 
309
326
  ### Major Changes
310
327
 
311
- - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
312
- [`044869b067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/044869b067) - This
313
- major release of Popper upgrades from react-popper v.1.3.6 to 2.2.3, which includes version 2 of
314
- Popper JS (@popperjs/core). This is a complete re-write of popper.js which comes with
315
- bundle-size and performance improvements, as well as a number of bug fixes and longer-term
316
- support.
317
-
318
- There are a number of major changes for consumers are listed below; ⚙️ indicates the change has
319
- codemod support:
320
-
321
- - **Component Props**:
322
- - ⚙️ `offset` is no longer a string, but an array of two integers (i.e. '0px 8px' is now
323
- [0, 8])
324
- - **Render Props**:
325
- - ⚙️ `outOfBoundaries` has been replaced with `isReferenceHidden`, and is now true when
326
- the popper is hidden (i.e. by a scroll container)
327
- - ⚙️ `scheduleUpdate`, for async updates, has been renamed to `update`, and now returns a
328
- Promise.
329
- - **✨new** `hasPopperEscaped` tracks when the reference element is fully clipped or
330
- hidden
331
- - **✨new** `forceUpdate` is exposed to perform synchronous updates
332
- - **Types**:
333
- - @atlaskit/popper now exports a number of useful types from both `@popperjs/core`
334
- (`Placement`) and `react-popper` (`ManagerProps`, `ReferenceProps`, `PopperProps`,
335
- `PopperArrowProps`, `PopperChildrenProps`, `StrictModifier`, `Modifier`).
336
- - Custom modifiers are now more strongly typed; to improve the specificity of the types,
337
- pass a generic type with the modifier names you plan to use.
338
- - **Custom modifiers**: This only affects users applying custom modifiers via the `modifiers`
339
- prop:
340
- - the `modifiers` prop has been significantly updated:
341
- - The format is now an array of objects, each labelled via a `name` key:value pair. Previously
342
- the prop was an object where each property was the modifier name.
343
- - Prop options are grouped together in an `options` object
344
- - default boundary paddings have been removed from `preventOverflow` and `flip`; to restore
345
- original padding, set `padding: 5`
346
- - modifiers that supported a `boundariesElement` option now have two options in its place:
347
- - `boundary`, which takes `clippingParents` (similar to `scrollParent`)
348
- - `rootBoundary` which takes `viewport` or `document` (replacing `viewport` and
349
- `window`respectively)
350
-
351
- Each modifier has more internal changes not listed here: see
352
- [the Popper JS docs](https://popper.js.org/docs/v2/modifiers/) for more information, as well as
353
- the [Popper migration guide](https://popper.js.org/docs/v2/migration-guide/) for an example of
354
- the new list structure.
355
-
356
- Due to the highly specific nature of these modifiers, codemod support is not provided for this
357
- change
358
-
359
- Note: due to a bug in `react-popper`, a console.error message relating to React `act()` may be
360
- raised on some tests. It should not cause test failures. This issue has been raised in
361
- [the React Popper issue tracker](https://github.com/popperjs/react-popper/issues/368)
362
-
363
- **Running the codemod cli**
364
-
365
- To run the codemod: **You first need to have the latest version of popper installed before you
366
- can run the codemod**
367
-
368
- `yarn upgrade @atlaskit/popper@^5.0.0`
369
-
370
- Once upgraded, use the Atlaskit codemod-cli;
371
-
372
- `npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
373
-
374
- Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
375
- [this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more
376
- details on the codemod CLI.
328
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
329
+ [`044869b067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/044869b067) - This major
330
+ release of Popper upgrades from react-popper v.1.3.6 to 2.2.3, which includes version 2 of Popper
331
+ JS (@popperjs/core). This is a complete re-write of popper.js which comes with bundle-size and
332
+ performance improvements, as well as a number of bug fixes and longer-term support.
333
+
334
+ There are a number of major changes for consumers are listed below; ⚙️ indicates the change has
335
+ codemod support:
336
+
337
+ - **Component Props**:
338
+ - ⚙️ `offset` is no longer a string, but an array of two integers (i.e. '0px 8px' is now [0, 8])
339
+ - **Render Props**:
340
+ - ⚙️ `outOfBoundaries` has been replaced with `isReferenceHidden`, and is now true when the
341
+ popper is hidden (i.e. by a scroll container)
342
+ - ⚙️ `scheduleUpdate`, for async updates, has been renamed to `update`, and now returns a
343
+ Promise.
344
+ - **✨new** `hasPopperEscaped` tracks when the reference element is fully clipped or hidden
345
+ - **✨new** `forceUpdate` is exposed to perform synchronous updates
346
+ - **Types**:
347
+ - @atlaskit/popper now exports a number of useful types from both `@popperjs/core` (`Placement`)
348
+ and `react-popper` (`ManagerProps`, `ReferenceProps`, `PopperProps`, `PopperArrowProps`,
349
+ `PopperChildrenProps`, `StrictModifier`, `Modifier`).
350
+ - Custom modifiers are now more strongly typed; to improve the specificity of the types, pass a
351
+ generic type with the modifier names you plan to use.
352
+ - **Custom modifiers**: This only affects users applying custom modifiers via the `modifiers`
353
+ prop:
354
+ - the `modifiers` prop has been significantly updated:
355
+ - The format is now an array of objects, each labelled via a `name` key:value pair. Previously the
356
+ prop was an object where each property was the modifier name.
357
+ - Prop options are grouped together in an `options` object
358
+ - default boundary paddings have been removed from `preventOverflow` and `flip`; to restore
359
+ original padding, set `padding: 5`
360
+ - modifiers that supported a `boundariesElement` option now have two options in its place:
361
+ - `boundary`, which takes `clippingParents` (similar to `scrollParent`)
362
+ - `rootBoundary` which takes `viewport` or `document` (replacing `viewport` and
363
+ `window`respectively)
364
+
365
+ Each modifier has more internal changes not listed here: see
366
+ [the Popper JS docs](https://popper.js.org/docs/v2/modifiers/) for more information, as well as
367
+ the [Popper migration guide](https://popper.js.org/docs/v2/migration-guide/) for an example of the
368
+ new list structure.
369
+
370
+ Due to the highly specific nature of these modifiers, codemod support is not provided for this
371
+ change
372
+
373
+ Note: due to a bug in `react-popper`, a console.error message relating to React `act()` may be
374
+ raised on some tests. It should not cause test failures. This issue has been raised in
375
+ [the React Popper issue tracker](https://github.com/popperjs/react-popper/issues/368)
376
+
377
+ **Running the codemod cli**
378
+
379
+ To run the codemod: **You first need to have the latest version of popper installed before you can
380
+ run the codemod**
381
+
382
+ `yarn upgrade @atlaskit/popper@^5.0.0`
383
+
384
+ Once upgraded, use the Atlaskit codemod-cli;
385
+
386
+ `npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
387
+
388
+ Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
389
+ [this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
390
+ on the codemod CLI.
377
391
 
378
392
  ## 4.0.1
379
393
 
380
394
  ### Patch Changes
381
395
 
382
- - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
383
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update
384
- all the theme imports to be tree-shakable
396
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
397
+ [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
398
+ the theme imports to be tree-shakable
385
399
 
386
400
  ## 4.0.0
387
401
 
388
402
  ### Major Changes
389
403
 
390
- - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
391
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
392
- Officially dropping IE11 support, from this version onwards there are no warranties of the
393
- package working in IE11. For more information see:
394
- https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
404
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
405
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
406
+ dropping IE11 support, from this version onwards there are no warranties of the package working in
407
+ IE11. For more information see:
408
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
395
409
 
396
410
  ## 3.1.13
397
411
 
398
412
  ### Patch Changes
399
413
 
400
- - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
401
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
402
- and supporting files will no longer be published to npm
414
+ - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
415
+ [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
416
+ supporting files will no longer be published to npm
403
417
 
404
418
  ## 3.1.12
405
419
 
406
420
  ### Patch Changes
407
421
 
408
- - [patch][cf8577f5d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf8577f5d6):
422
+ - [patch][cf8577f5d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf8577f5d6):
409
423
 
410
- Change imports to comply with Atlassian conventions- Updated dependencies
411
- [6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
424
+ Change imports to comply with Atlassian conventions- Updated dependencies
425
+ [6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
412
426
 
413
- - Updated dependencies
414
- [57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
415
- - @atlaskit/button@13.3.11
427
+ - Updated dependencies
428
+ [57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
429
+ - @atlaskit/button@13.3.11
416
430
 
417
431
  ## 3.1.11
418
432
 
419
433
  ### Patch Changes
420
434
 
421
- - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
435
+ - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
422
436
 
423
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
424
- [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
437
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
438
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
425
439
 
426
- - @atlaskit/docs@8.3.2
427
- - @atlaskit/button@13.3.7
428
- - @atlaskit/theme@9.5.1
440
+ - @atlaskit/docs@8.3.2
441
+ - @atlaskit/button@13.3.7
442
+ - @atlaskit/theme@9.5.1
429
443
 
430
444
  ## 3.1.10
431
445
 
432
446
  ### Patch Changes
433
447
 
434
- - [patch][671de2d063](https://bitbucket.org/atlassian/atlassian-frontend/commits/671de2d063):
448
+ - [patch][671de2d063](https://bitbucket.org/atlassian/atlassian-frontend/commits/671de2d063):
435
449
 
436
- Updates `offset` prop description.
450
+ Updates `offset` prop description.
437
451
 
438
452
  ## 3.1.9
439
453
 
440
454
  ### Patch Changes
441
455
 
442
- - [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
456
+ - [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
443
457
 
444
- Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
445
- Updated dependencies
446
- [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
458
+ Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
459
+ Updated dependencies
460
+ [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
447
461
 
448
- - Updated dependencies
449
- [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
450
- - @atlaskit/theme@9.5.0
451
- - @atlaskit/button@13.3.5
462
+ - Updated dependencies
463
+ [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
464
+ - @atlaskit/theme@9.5.0
465
+ - @atlaskit/button@13.3.5
452
466
 
453
467
  ## 3.1.8
454
468
 
455
469
  ### Patch Changes
456
470
 
457
- - [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
471
+ - [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
458
472
 
459
- Updates react-popper dependency to a safe version.
473
+ Updates react-popper dependency to a safe version.
460
474
 
461
475
  ## 3.1.7
462
476
 
463
477
  ### Patch Changes
464
478
 
465
- - [patch][542080be8a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/542080be8a):
479
+ - [patch][542080be8a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/542080be8a):
466
480
 
467
- Bumped react-popper and resolved infinite looping refs issue, and fixed close-on-outside-click
468
- for @atlaskit/popup
481
+ Bumped react-popper and resolved infinite looping refs issue, and fixed close-on-outside-click for
482
+ @atlaskit/popup
469
483
 
470
484
  ## 3.1.6
471
485
 
472
486
  ### Patch Changes
473
487
 
474
- - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
488
+ - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
475
489
 
476
- Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
490
+ Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
477
491
 
478
492
  ## 3.1.5
479
493
 
480
494
  ### Patch Changes
481
495
 
482
- - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
496
+ - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
483
497
 
484
- Updated version of analytics-next to fix potential incompatibilities with TS 3.6
498
+ Updated version of analytics-next to fix potential incompatibilities with TS 3.6
485
499
 
486
500
  ## 3.1.4
487
501
 
488
502
  ### Patch Changes
489
503
 
490
- - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
504
+ - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
491
505
 
492
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
493
- non-relative imports as relative imports
506
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
507
+ non-relative imports as relative imports
494
508
 
495
509
  ## 3.1.3
496
510
 
497
511
  ### Patch Changes
498
512
 
499
- - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
513
+ - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
500
514
 
501
- Upgraded Typescript to 3.3.x
515
+ Upgraded Typescript to 3.3.x
502
516
 
503
517
  ## 3.1.2
504
518
 
505
519
  ### Patch Changes
506
520
 
507
- - [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
521
+ - [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
508
522
 
509
- Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full
510
- typescript support so it is recommended that typescript consumers use it also.
523
+ Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full
524
+ typescript support so it is recommended that typescript consumers use it also.
511
525
 
512
526
  ## 3.1.1
513
527
 
514
528
  ### Patch Changes
515
529
 
516
- - [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
530
+ - [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
517
531
 
518
- Updates component maintainers
532
+ Updates component maintainers
519
533
 
520
534
  ## 3.1.0
521
535
 
522
536
  ### Minor Changes
523
537
 
524
- - [minor][0a3116e217](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a3116e217):
538
+ - [minor][0a3116e217](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a3116e217):
525
539
 
526
- Add ability to overwrite and adjust modifiers in popper
540
+ Add ability to overwrite and adjust modifiers in popper
527
541
 
528
542
  ## 3.0.1
529
543
 
530
544
  ### Patch Changes
531
545
 
532
- - [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
546
+ - [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
533
547
 
534
- Type definition files are now referenced in package.json
548
+ Type definition files are now referenced in package.json
535
549
 
536
550
  ## 3.0.0
537
551
 
538
552
  ### Major Changes
539
553
 
540
- - [major][ebfeb03eb7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebfeb03eb7):
554
+ - [major][ebfeb03eb7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebfeb03eb7):
541
555
 
542
- popper has been converted to Typescript. Typescript consumers will now get static type safety.
543
- Flow types are no longer provided. No API or behavioral changes.
556
+ popper has been converted to Typescript. Typescript consumers will now get static type safety.
557
+ Flow types are no longer provided. No API or behavioral changes.
544
558
 
545
559
  ## 2.0.1
546
560
 
547
561
  ### Patch Changes
548
562
 
549
- - [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
563
+ - [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
550
564
 
551
- index.ts will now be ignored when publishing to npm
565
+ index.ts will now be ignored when publishing to npm
552
566
 
553
567
  ## 2.0.0
554
568
 
555
- - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
569
+ - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
556
570
 
557
- - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
558
- this package, please ensure you use at least this version of react and react-dom.
571
+ - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
572
+ this package, please ensure you use at least this version of react and react-dom.
559
573
 
560
574
  ## 1.0.0
561
575
 
562
- - [major][8b5f052003](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8b5f052003):
576
+ - [major][8b5f052003](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8b5f052003):
563
577
 
564
- - This major release indicates that this package is no longer under dev preview but is ready
565
- for use
578
+ - This major release indicates that this package is no longer under dev preview but is ready for
579
+ use
566
580
 
567
581
  ## 0.4.3
568
582
 
569
- - Updated dependencies
570
- [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
571
- - @atlaskit/docs@7.0.3
572
- - @atlaskit/button@12.0.3
573
- - @atlaskit/theme@8.1.7
583
+ - Updated dependencies
584
+ [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
585
+ - @atlaskit/docs@7.0.3
586
+ - @atlaskit/button@12.0.3
587
+ - @atlaskit/theme@8.1.7
574
588
 
575
589
  ## 0.4.2
576
590
 
577
- - Updated dependencies
578
- [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
579
- - @atlaskit/docs@7.0.2
580
- - @atlaskit/theme@8.1.6
581
- - @atlaskit/button@12.0.0
591
+ - Updated dependencies
592
+ [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
593
+ - @atlaskit/docs@7.0.2
594
+ - @atlaskit/theme@8.1.6
595
+ - @atlaskit/button@12.0.0
582
596
 
583
597
  ## 0.4.1
584
598
 
585
- - Updated dependencies
586
- [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
587
- - @atlaskit/docs@7.0.1
588
- - @atlaskit/theme@8.0.1
589
- - @atlaskit/button@11.0.0
599
+ - Updated dependencies
600
+ [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
601
+ - @atlaskit/docs@7.0.1
602
+ - @atlaskit/theme@8.0.1
603
+ - @atlaskit/button@11.0.0
590
604
 
591
605
  ## 0.4.0
592
606
 
593
- - [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
607
+ - [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
594
608
 
595
- - Drop ES5 from all the flow modules
609
+ - Drop ES5 from all the flow modules
596
610
 
597
- ### Dropping CJS support in all @atlaskit packages
611
+ ### Dropping CJS support in all @atlaskit packages
598
612
 
599
- As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
600
- distribute esm. This means all distributed code will be transpiled, but will still contain
601
- `import` and `export` declarations.
613
+ As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
614
+ distribute esm. This means all distributed code will be transpiled, but will still contain
615
+ `import` and `export` declarations.
602
616
 
603
- The major reason for doing this is to allow us to support multiple entry points in packages,
604
- e.g:
617
+ The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
605
618
 
606
- ```js
607
- import colors from `@atlaskit/theme/colors`;
608
- ```
619
+ ```js
620
+ import colors from `@atlaskit/theme/colors`;
621
+ ```
609
622
 
610
- Previously this was sort of possible for consumers by doing something like:
623
+ Previously this was sort of possible for consumers by doing something like:
611
624
 
612
- ```js
613
- import colors from `@atlaskit/theme/dist/esm/colors`;
614
- ```
625
+ ```js
626
+ import colors from `@atlaskit/theme/dist/esm/colors`;
627
+ ```
615
628
 
616
- This has a couple of issues. 1, it treats the file system as API making internal refactors
617
- harder, we have to worry about how consumers might be using things that aren't _actually_
618
- supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads
619
- to lots of packages bundling all of theme, just to use a single color, especially in situations
620
- where tree shaking fails.
629
+ This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
630
+ we have to worry about how consumers might be using things that aren't _actually_ supposed to be
631
+ used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
632
+ packages bundling all of theme, just to use a single color, especially in situations where tree
633
+ shaking fails.
621
634
 
622
- To support being able to use multiple entrypoints internally, we unfortunately cannot have
623
- multiple distributions as they would need to have very different imports from of their own
624
- internal dependencies.
635
+ To support being able to use multiple entrypoints internally, we unfortunately cannot have
636
+ multiple distributions as they would need to have very different imports from of their own
637
+ internal dependencies.
625
638
 
626
- ES Modules are widely supported by all modern bundlers and can be worked around in node
627
- environments.
639
+ ES Modules are widely supported by all modern bundlers and can be worked around in node
640
+ environments.
628
641
 
629
- We may choose to revisit this solution in the future if we find any unintended condequences, but
630
- we see this as a pretty sane path forward which should lead to some major bundle size decreases,
631
- saner API's and simpler package architecture.
642
+ We may choose to revisit this solution in the future if we find any unintended condequences, but
643
+ we see this as a pretty sane path forward which should lead to some major bundle size decreases,
644
+ saner API's and simpler package architecture.
632
645
 
633
- Please reach out to #fabric-build (if in Atlassian) or create an issue in
634
- [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
635
- external) if you have any questions or queries about this.
646
+ Please reach out to #fabric-build (if in Atlassian) or create an issue in
647
+ [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
648
+ external) if you have any questions or queries about this.
636
649
 
637
650
  ## 0.3.7
638
651
 
639
- - [patch][efc35d1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/efc35d1):
652
+ - [patch][efc35d1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/efc35d1):
640
653
 
641
- - Internal changes: - Adding react-dom and build utils as dev dependencies - Adding unit test
642
- for server side rendering use-case - Adding unit test to cover Popper component
654
+ - Internal changes: - Adding react-dom and build utils as dev dependencies - Adding unit test for
655
+ server side rendering use-case - Adding unit test to cover Popper component
643
656
 
644
657
  ## 0.3.6
645
658
 
646
- - Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
647
- - @atlaskit/button@10.1.1
648
- - @atlaskit/theme@7.0.1
649
- - @atlaskit/docs@6.0.0
659
+ - Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
660
+ - @atlaskit/button@10.1.1
661
+ - @atlaskit/theme@7.0.1
662
+ - @atlaskit/docs@6.0.0
650
663
 
651
664
  ## 0.3.5
652
665
 
653
- - [patch][82fc5f5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/82fc5f5):
666
+ - [patch][82fc5f5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/82fc5f5):
654
667
 
655
- - Pinning react-popper to 1.0.2 to avoid recursive bug
668
+ - Pinning react-popper to 1.0.2 to avoid recursive bug
656
669
 
657
670
  ## 0.3.4
658
671
 
659
- - [patch][0a297ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a297ba):
672
+ - [patch][0a297ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a297ba):
660
673
 
661
- - Packages should not be shown in the navigation, search and overview
674
+ - Packages should not be shown in the navigation, search and overview
662
675
 
663
676
  ## 0.3.3
664
677
 
665
- - Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
666
- - @atlaskit/docs@5.2.3
667
- - @atlaskit/button@10.0.4
668
- - @atlaskit/theme@7.0.0
678
+ - Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
679
+ - @atlaskit/docs@5.2.3
680
+ - @atlaskit/button@10.0.4
681
+ - @atlaskit/theme@7.0.0
669
682
 
670
683
  ## 0.3.2
671
684
 
672
- - Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
673
- - @atlaskit/docs@5.2.1
674
- - @atlaskit/theme@6.2.1
675
- - @atlaskit/button@10.0.0
685
+ - Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
686
+ - @atlaskit/docs@5.2.1
687
+ - @atlaskit/theme@6.2.1
688
+ - @atlaskit/button@10.0.0
676
689
 
677
690
  ## 0.3.1
678
691
 
679
- - [patch] Fix referenceElement overriding ref from Reference component
680
- [874d5bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/874d5bd)
692
+ - [patch] Fix referenceElement overriding ref from Reference component
693
+ [874d5bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/874d5bd)
681
694
 
682
695
  ## 0.3.0
683
696
 
684
- - [minor] Adds replacementElement prop to enable onboarding use-case. See prop documentation
685
- [here](https://github.com/FezVrasta/react-popper#usage-without-a-reference-htmlelement)
686
- [1a752e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1a752e6)
697
+ - [minor] Adds replacementElement prop to enable onboarding use-case. See prop documentation
698
+ [here](https://github.com/FezVrasta/react-popper#usage-without-a-reference-htmlelement)
699
+ [1a752e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1a752e6)
687
700
 
688
701
  ## 0.2.5
689
702
 
690
- - [patch] Adds missing implicit @babel/runtime dependency
691
- [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
703
+ - [patch] Adds missing implicit @babel/runtime dependency
704
+ [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
692
705
 
693
706
  ## 0.2.4
694
707
 
695
- - [patch] Fixed popper placement offset to not fire deprecation warning.
696
- [4fcff1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4fcff1c)
708
+ - [patch] Fixed popper placement offset to not fire deprecation warning.
709
+ [4fcff1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4fcff1c)
697
710
 
698
711
  ## 0.2.3
699
712
 
700
- - [patch] Adds sideEffects: false to allow proper tree shaking
701
- [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
713
+ - [patch] Adds sideEffects: false to allow proper tree shaking
714
+ [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
702
715
 
703
716
  ## 0.2.2
704
717
 
705
- - [patch] Using the latest popper to avoid recursive setState calls.
706
- [9dceca9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9dceca9)
718
+ - [patch] Using the latest popper to avoid recursive setState calls.
719
+ [9dceca9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9dceca9)
707
720
 
708
721
  ## 0.2.1
709
722
 
710
- - [patch] Updated dependencies
711
- [df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
712
- - @atlaskit/theme@6.0.0
713
- - @atlaskit/button@9.0.6
714
- - @atlaskit/docs@5.0.6
723
+ - [patch] Updated dependencies
724
+ [df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
725
+ - @atlaskit/theme@6.0.0
726
+ - @atlaskit/button@9.0.6
727
+ - @atlaskit/docs@5.0.6
715
728
 
716
729
  ## 0.2.0
717
730
 
718
- - [minor] Bumped react-popper version to get bug fixes, also added offset prop
719
- [a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
720
- - [none] Updated dependencies
721
- [1d9e75a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d9e75a)
722
- - [none] Updated dependencies
723
- [a3109d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a3109d3)
724
- - [none] Updated dependencies
725
- [87d45d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87d45d3)
726
- - [none] Updated dependencies
727
- [a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
731
+ - [minor] Bumped react-popper version to get bug fixes, also added offset prop
732
+ [a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
733
+ - [none] Updated dependencies
734
+ [1d9e75a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1d9e75a)
735
+ - [none] Updated dependencies
736
+ [a3109d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a3109d3)
737
+ - [none] Updated dependencies
738
+ [87d45d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87d45d3)
739
+ - [none] Updated dependencies
740
+ [a08b0c2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a08b0c2)
728
741
 
729
742
  ## 0.1.2
730
743
 
731
- - [patch] Replace @atlaskit/layer in date time picker with @atlaskit/popper, changed configuration
732
- of flipbehavior modifier to use viewport as the element boundary rather than the window.
733
- [4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
734
- - [patch] Updated datetime-picker to use @atlaskit/popper internally instead of @atlaskit/layer.
735
- Minor fix to @atlaskit/popper, boundariesElement for flipbehavior is now viewport and not
736
- window. [f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
737
- - [none] Updated dependencies
738
- [4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
739
- - [none] Updated dependencies
740
- [f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
744
+ - [patch] Replace @atlaskit/layer in date time picker with @atlaskit/popper, changed configuration
745
+ of flipbehavior modifier to use viewport as the element boundary rather than the window.
746
+ [4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
747
+ - [patch] Updated datetime-picker to use @atlaskit/popper internally instead of @atlaskit/layer.
748
+ Minor fix to @atlaskit/popper, boundariesElement for flipbehavior is now viewport and not window.
749
+ [f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
750
+ - [none] Updated dependencies
751
+ [4286672](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4286672)
752
+ - [none] Updated dependencies
753
+ [f2159f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f2159f4)
741
754
 
742
755
  ## 0.1.1
743
756
 
744
- - [patch] Updated dependencies
745
- [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
746
- - @atlaskit/button@9.0.4
747
- - @atlaskit/theme@5.1.2
748
- - @atlaskit/docs@5.0.2
757
+ - [patch] Updated dependencies
758
+ [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
759
+ - @atlaskit/button@9.0.4
760
+ - @atlaskit/theme@5.1.2
761
+ - @atlaskit/docs@5.0.2
749
762
 
750
763
  ## 0.1.0
751
764
 
752
- - [minor] Dev release for popper
753
- [e987222](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e987222)
765
+ - [minor] Dev release for popper
766
+ [e987222](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e987222)