@atlaskit/popper 5.5.3 → 5.5.5
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 +45 -33
- package/Popper/package.json +1 -1
- package/dist/cjs/__tests_external__/page-objects/base-popper.js +3 -4
- package/dist/cjs/__tests_external__/test-cases/popper.js +2 -3
- package/dist/cjs/popper.js +6 -3
- package/dist/es2019/popper.js +4 -1
- package/dist/esm/__tests_external__/page-objects/base-popper.js +1 -1
- package/dist/esm/popper.js +4 -1
- package/in-product/package.json +1 -1
- package/package.json +19 -22
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
- package/tmp/api-report-tmp.d.ts +0 -61
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
# @atlaskit/popper
|
|
2
2
|
|
|
3
|
+
## 5.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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`
|
|
8
|
+
|
|
9
|
+
## 5.5.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731) [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
|
|
14
|
+
|
|
3
15
|
## 5.5.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
19
|
+
- [#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
|
|
8
20
|
|
|
9
21
|
## 5.5.2
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
25
|
+
- [#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`
|
|
14
26
|
|
|
15
27
|
## 5.5.1
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`f859e9ccda4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f859e9ccda4) - Migrates unit tests from enzyme to RTL.
|
|
31
|
+
- [#32945](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32945) [`f859e9ccda4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f859e9ccda4) - Migrates unit tests from enzyme to RTL.
|
|
20
32
|
|
|
21
33
|
## 5.5.0
|
|
22
34
|
|
|
23
35
|
### Minor Changes
|
|
24
36
|
|
|
25
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
37
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
26
38
|
|
|
27
39
|
### Patch Changes
|
|
28
40
|
|
|
@@ -32,7 +44,7 @@
|
|
|
32
44
|
|
|
33
45
|
### Patch Changes
|
|
34
46
|
|
|
35
|
-
- [`d84f56e6e50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d84f56e6e50) - Remove the unused feature flag
|
|
47
|
+
- [#29327](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29327) [`d84f56e6e50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d84f56e6e50) - Remove the unused feature flag
|
|
36
48
|
|
|
37
49
|
## 5.4.10
|
|
38
50
|
|
|
@@ -62,14 +74,14 @@
|
|
|
62
74
|
|
|
63
75
|
### Patch Changes
|
|
64
76
|
|
|
65
|
-
- [`7888ba61c3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7888ba61c3b) - Add platform feature flag registration and dynamic type generation for platform feature flag client
|
|
77
|
+
- [#28158](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28158) [`7888ba61c3b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7888ba61c3b) - Add platform feature flag registration and dynamic type generation for platform feature flag client
|
|
66
78
|
- Updated dependencies
|
|
67
79
|
|
|
68
80
|
## 5.4.5
|
|
69
81
|
|
|
70
82
|
### Patch Changes
|
|
71
83
|
|
|
72
|
-
- [`85dc0230439`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85dc0230439) - Add eslint rule to allow for platform feature flag usage
|
|
84
|
+
- [#28303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28303) [`85dc0230439`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85dc0230439) - Add eslint rule to allow for platform feature flag usage
|
|
73
85
|
|
|
74
86
|
## 5.4.4
|
|
75
87
|
|
|
@@ -87,31 +99,31 @@
|
|
|
87
99
|
|
|
88
100
|
### Patch Changes
|
|
89
101
|
|
|
90
|
-
- [`03a51e8100d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03a51e8100d) - Introduces a hidden, dummy html element to validate that our new deployment pipeline is working end-to-end.
|
|
102
|
+
- [#27890](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27890) [`03a51e8100d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03a51e8100d) - Introduces a hidden, dummy html element to validate that our new deployment pipeline is working end-to-end.
|
|
91
103
|
|
|
92
104
|
## 5.4.1
|
|
93
105
|
|
|
94
106
|
### Patch Changes
|
|
95
107
|
|
|
96
|
-
- [`211c04b1c96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/211c04b1c96) - Fixes in-product testing typos causing assert errors
|
|
108
|
+
- [#27756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27756) [`211c04b1c96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/211c04b1c96) - Fixes in-product testing typos causing assert errors
|
|
97
109
|
|
|
98
110
|
## 5.4.0
|
|
99
111
|
|
|
100
112
|
### Minor Changes
|
|
101
113
|
|
|
102
|
-
- [`cd2800156bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd2800156bd) - Updates to in-product testing interface. The change switches popperRendersWithPositionFixedTestCase to popperRendersTestCase.
|
|
114
|
+
- [#27549](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27549) [`cd2800156bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd2800156bd) - Updates to in-product testing interface. The change switches popperRendersWithPositionFixedTestCase to popperRendersTestCase.
|
|
103
115
|
|
|
104
116
|
## 5.3.0
|
|
105
117
|
|
|
106
118
|
### Minor Changes
|
|
107
119
|
|
|
108
|
-
- [`6d5881c30a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d5881c30a4) - Introducing in-product testing entrypoints to popper.
|
|
120
|
+
- [#27258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27258) [`6d5881c30a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d5881c30a4) - Introducing in-product testing entrypoints to popper.
|
|
109
121
|
|
|
110
122
|
## 5.2.11
|
|
111
123
|
|
|
112
124
|
### Patch Changes
|
|
113
125
|
|
|
114
|
-
- [`dc53dc3201b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc53dc3201b) - Add 'productPushConsumption' as a new optional field in package.json.
|
|
126
|
+
- [#27294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27294) [`dc53dc3201b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc53dc3201b) - Add 'productPushConsumption' as a new optional field in package.json.
|
|
115
127
|
|
|
116
128
|
_Note_:
|
|
117
129
|
We want to track the information if the package was moved from the pull into the push model in the product.
|
|
@@ -122,85 +134,85 @@
|
|
|
122
134
|
|
|
123
135
|
### Patch Changes
|
|
124
136
|
|
|
125
|
-
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
137
|
+
- [#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.
|
|
126
138
|
|
|
127
139
|
## 5.2.9
|
|
128
140
|
|
|
129
141
|
### Patch Changes
|
|
130
142
|
|
|
131
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
143
|
+
- [#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`
|
|
132
144
|
|
|
133
145
|
## 5.2.8
|
|
134
146
|
|
|
135
147
|
### Patch Changes
|
|
136
148
|
|
|
137
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
149
|
+
- [#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`.
|
|
138
150
|
|
|
139
151
|
## 5.2.7
|
|
140
152
|
|
|
141
153
|
### Patch Changes
|
|
142
154
|
|
|
143
|
-
- [`ff5655480e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff5655480e6) - Internal code change turning on new linting rules.
|
|
155
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`ff5655480e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff5655480e6) - Internal code change turning on new linting rules.
|
|
144
156
|
|
|
145
157
|
## 5.2.6
|
|
146
158
|
|
|
147
159
|
### Patch Changes
|
|
148
160
|
|
|
149
|
-
- [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to using declarative entrypoints internally. Public API is unchanged.
|
|
161
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to using declarative entrypoints internally. Public API is unchanged.
|
|
150
162
|
|
|
151
163
|
## 5.2.5
|
|
152
164
|
|
|
153
165
|
### Patch Changes
|
|
154
166
|
|
|
155
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
167
|
+
- [#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
|
|
156
168
|
|
|
157
169
|
## 5.2.4
|
|
158
170
|
|
|
159
171
|
### Patch Changes
|
|
160
172
|
|
|
161
|
-
- [`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.
|
|
173
|
+
- [#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.
|
|
162
174
|
|
|
163
175
|
## 5.2.3
|
|
164
176
|
|
|
165
177
|
### Patch Changes
|
|
166
178
|
|
|
167
|
-
- [`10d1f4d4a4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10d1f4d4a4b) - Export placement options
|
|
179
|
+
- [#19678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19678) [`10d1f4d4a4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/10d1f4d4a4b) - Export placement options
|
|
168
180
|
|
|
169
181
|
## 5.2.2
|
|
170
182
|
|
|
171
183
|
### Patch Changes
|
|
172
184
|
|
|
173
|
-
- [`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal wiring up to the tokens techstack, no code changes.
|
|
185
|
+
- [#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.
|
|
174
186
|
|
|
175
187
|
## 5.2.1
|
|
176
188
|
|
|
177
189
|
### Patch Changes
|
|
178
190
|
|
|
179
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
191
|
+
- [#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`.
|
|
180
192
|
|
|
181
193
|
## 5.2.0
|
|
182
194
|
|
|
183
195
|
### Minor Changes
|
|
184
196
|
|
|
185
|
-
- [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes usage of styled-components in favour of standardising on emotion
|
|
197
|
+
- [#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
|
|
186
198
|
|
|
187
199
|
## 5.1.0
|
|
188
200
|
|
|
189
201
|
### Minor Changes
|
|
190
202
|
|
|
191
|
-
- [`81f4f9f7562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81f4f9f7562) - Update core `@popperjs/core` dependency to `^2.9.1`, fixing some positioning bugs, such as in parents with `will-change` CSS properties set. For more information on the specific changes, see the popper docs.
|
|
203
|
+
- [#8388](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8388) [`81f4f9f7562`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81f4f9f7562) - Update core `@popperjs/core` dependency to `^2.9.1`, fixing some positioning bugs, such as in parents with `will-change` CSS properties set. For more information on the specific changes, see the popper docs.
|
|
192
204
|
|
|
193
205
|
## 5.0.4
|
|
194
206
|
|
|
195
207
|
### Patch Changes
|
|
196
208
|
|
|
197
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
209
|
+
- [#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
|
|
198
210
|
|
|
199
211
|
## 5.0.3
|
|
200
212
|
|
|
201
213
|
### Patch Changes
|
|
202
214
|
|
|
203
|
-
- [`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.
|
|
215
|
+
- [#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.
|
|
204
216
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
205
217
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
206
218
|
|
|
@@ -208,13 +220,13 @@
|
|
|
208
220
|
|
|
209
221
|
### Patch Changes
|
|
210
222
|
|
|
211
|
-
- [`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix codemod utilities being exposed through the codemod cli
|
|
223
|
+
- [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346) [`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix codemod utilities being exposed through the codemod cli
|
|
212
224
|
|
|
213
225
|
## 5.0.1
|
|
214
226
|
|
|
215
227
|
### Patch Changes
|
|
216
228
|
|
|
217
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
229
|
+
- [#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
|
|
218
230
|
|
|
219
231
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
220
232
|
to prevent duplicates of tslib being bundled.
|
|
@@ -223,7 +235,7 @@
|
|
|
223
235
|
|
|
224
236
|
### Major Changes
|
|
225
237
|
|
|
226
|
-
- [`044869b067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/044869b067) - This major release of Popper upgrades from react-popper v.1.3.6 to 2.2.3, which includes version 2 of Popper JS (@popperjs/core). This is a complete re-write of popper.js which comes with bundle-size and performance improvements, as well as a number of bug fixes and longer-term support.
|
|
238
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`044869b067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/044869b067) - This major release of Popper upgrades from react-popper v.1.3.6 to 2.2.3, which includes version 2 of Popper JS (@popperjs/core). This is a complete re-write of popper.js which comes with bundle-size and performance improvements, as well as a number of bug fixes and longer-term support.
|
|
227
239
|
|
|
228
240
|
There are a number of major changes for consumers are listed below; ⚙️ indicates the change has codemod support:
|
|
229
241
|
|
|
@@ -270,26 +282,26 @@
|
|
|
270
282
|
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
271
283
|
|
|
272
284
|
Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
273
|
-
For Atlassians, refer to [this doc](https://
|
|
285
|
+
For Atlassians, refer to [this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
|
|
274
286
|
|
|
275
287
|
## 4.0.1
|
|
276
288
|
|
|
277
289
|
### Patch Changes
|
|
278
290
|
|
|
279
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
291
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
280
292
|
|
|
281
293
|
## 4.0.0
|
|
282
294
|
|
|
283
295
|
### Major Changes
|
|
284
296
|
|
|
285
|
-
- [`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.
|
|
297
|
+
- [#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.
|
|
286
298
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
287
299
|
|
|
288
300
|
## 3.1.13
|
|
289
301
|
|
|
290
302
|
### Patch Changes
|
|
291
303
|
|
|
292
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
304
|
+
- [#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
|
|
293
305
|
|
|
294
306
|
## 3.1.12
|
|
295
307
|
|
package/Popper/package.json
CHANGED
|
@@ -12,8 +12,8 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
|
12
12
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
13
13
|
var _inProductTesting = require("@atlaskit/in-product-testing");
|
|
14
14
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
15
|
-
function _isNativeReflectConstruct() {
|
|
16
|
-
var BasePopperPageObject = /*#__PURE__*/function (_InProductTestPageObj) {
|
|
15
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
16
|
+
var BasePopperPageObject = exports.BasePopperPageObject = /*#__PURE__*/function (_InProductTestPageObj) {
|
|
17
17
|
(0, _inherits2.default)(BasePopperPageObject, _InProductTestPageObj);
|
|
18
18
|
var _super = _createSuper(BasePopperPageObject);
|
|
19
19
|
function BasePopperPageObject() {
|
|
@@ -27,5 +27,4 @@ var BasePopperPageObject = /*#__PURE__*/function (_InProductTestPageObj) {
|
|
|
27
27
|
}
|
|
28
28
|
}]);
|
|
29
29
|
return BasePopperPageObject;
|
|
30
|
-
}(_inProductTesting.InProductTestPageObject);
|
|
31
|
-
exports.BasePopperPageObject = BasePopperPageObject;
|
|
30
|
+
}(_inProductTesting.InProductTestPageObject);
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.popperRendersTestCase = void 0;
|
|
7
7
|
var _inProductTesting = require("@atlaskit/in-product-testing");
|
|
8
8
|
var _basePopper = require("../page-objects/base-popper");
|
|
9
|
-
var popperRendersTestCase = function popperRendersTestCase(elementSelector) {
|
|
9
|
+
var popperRendersTestCase = exports.popperRendersTestCase = function popperRendersTestCase(elementSelector) {
|
|
10
10
|
return new _inProductTesting.InProductTestCase({
|
|
11
11
|
title: 'Popped container renders with position fixed',
|
|
12
12
|
id: 'popped-container-fixed-position',
|
|
@@ -15,5 +15,4 @@ var popperRendersTestCase = function popperRendersTestCase(elementSelector) {
|
|
|
15
15
|
popperElement.assertPopperStyle(elementSelector);
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
};
|
|
19
|
-
exports.popperRendersTestCase = popperRendersTestCase;
|
|
18
|
+
};
|
package/dist/cjs/popper.js
CHANGED
|
@@ -17,8 +17,8 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
17
17
|
var _react = _interopRequireWildcard(require("react"));
|
|
18
18
|
var _reactPopper = require("react-popper");
|
|
19
19
|
var _core = require("@popperjs/core");
|
|
20
|
-
function _getRequireWildcardCache(
|
|
21
|
-
function _interopRequireWildcard(
|
|
20
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
22
22
|
// Export types from PopperJS / React Popper
|
|
23
23
|
|
|
24
24
|
var constantModifiers = [{
|
|
@@ -73,7 +73,10 @@ function Popper(_ref) {
|
|
|
73
73
|
}
|
|
74
74
|
return [].concat((0, _toConsumableArray2.default)(internalModifiers), (0, _toConsumableArray2.default)(modifiers));
|
|
75
75
|
}, [internalModifiers, modifiers]);
|
|
76
|
-
return /*#__PURE__*/_react.default.createElement(_reactPopper.Popper
|
|
76
|
+
return /*#__PURE__*/_react.default.createElement(_reactPopper.Popper
|
|
77
|
+
// @ts-expect-error - No overload matches this call
|
|
78
|
+
// This error was introduced after upgrading to TypeScript 5
|
|
79
|
+
, {
|
|
77
80
|
modifiers: mergedModifiers,
|
|
78
81
|
placement: placement,
|
|
79
82
|
strategy: strategy,
|
package/dist/es2019/popper.js
CHANGED
|
@@ -49,7 +49,10 @@ export function Popper({
|
|
|
49
49
|
}
|
|
50
50
|
return [...internalModifiers, ...modifiers];
|
|
51
51
|
}, [internalModifiers, modifiers]);
|
|
52
|
-
return /*#__PURE__*/React.createElement(ReactPopper
|
|
52
|
+
return /*#__PURE__*/React.createElement(ReactPopper
|
|
53
|
+
// @ts-expect-error - No overload matches this call
|
|
54
|
+
// This error was introduced after upgrading to TypeScript 5
|
|
55
|
+
, {
|
|
53
56
|
modifiers: mergedModifiers,
|
|
54
57
|
placement: placement,
|
|
55
58
|
strategy: strategy,
|
|
@@ -4,7 +4,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
5
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
6
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7
|
-
function _isNativeReflectConstruct() {
|
|
7
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
8
|
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
9
9
|
export var BasePopperPageObject = /*#__PURE__*/function (_InProductTestPageObj) {
|
|
10
10
|
_inherits(BasePopperPageObject, _InProductTestPageObj);
|
package/dist/esm/popper.js
CHANGED
|
@@ -57,7 +57,10 @@ export function Popper(_ref) {
|
|
|
57
57
|
}
|
|
58
58
|
return [].concat(_toConsumableArray(internalModifiers), _toConsumableArray(modifiers));
|
|
59
59
|
}, [internalModifiers, modifiers]);
|
|
60
|
-
return /*#__PURE__*/React.createElement(ReactPopper
|
|
60
|
+
return /*#__PURE__*/React.createElement(ReactPopper
|
|
61
|
+
// @ts-expect-error - No overload matches this call
|
|
62
|
+
// This error was introduced after upgrading to TypeScript 5
|
|
63
|
+
, {
|
|
61
64
|
modifiers: mergedModifiers,
|
|
62
65
|
placement: placement,
|
|
63
66
|
strategy: strategy,
|
package/in-product/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/popper",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.5",
|
|
4
4
|
"description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,32 +12,19 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
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
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.tsx",
|
|
25
17
|
"atlassian": {
|
|
26
18
|
"team": "Design System Team",
|
|
27
|
-
"releaseModel": "continuous",
|
|
28
19
|
"productPushConsumption": [
|
|
29
20
|
"jira"
|
|
30
21
|
],
|
|
22
|
+
"releaseModel": "continuous",
|
|
31
23
|
"website": {
|
|
32
24
|
"name": "Popper",
|
|
33
25
|
"category": "Libraries"
|
|
34
26
|
}
|
|
35
27
|
},
|
|
36
|
-
"af:exports": {
|
|
37
|
-
".": "./src/index.tsx",
|
|
38
|
-
"./Popper": "./src/popper.tsx",
|
|
39
|
-
"./in-product": "./src/in-product.tsx"
|
|
40
|
-
},
|
|
41
28
|
"dependencies": {
|
|
42
29
|
"@atlaskit/in-product-testing": "^0.2.0",
|
|
43
30
|
"@babel/runtime": "^7.0.0",
|
|
@@ -48,13 +35,10 @@
|
|
|
48
35
|
"react": "^16.8.0"
|
|
49
36
|
},
|
|
50
37
|
"devDependencies": {
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
38
|
+
"@af/accessibility-testing": "*",
|
|
39
|
+
"@af/visual-regression": "*",
|
|
53
40
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
54
|
-
"@atlaskit/section-message": "^6.4.0",
|
|
55
41
|
"@atlaskit/ssr": "*",
|
|
56
|
-
"@atlaskit/theme": "^12.5.0",
|
|
57
|
-
"@atlaskit/tokens": "^1.4.0",
|
|
58
42
|
"@atlaskit/visual-regression": "*",
|
|
59
43
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
60
44
|
"@emotion/react": "^11.7.1",
|
|
@@ -66,7 +50,7 @@
|
|
|
66
50
|
"jscodeshift": "^0.13.0",
|
|
67
51
|
"react-dom": "^16.8.0",
|
|
68
52
|
"react-lorem-component": "^0.13.0",
|
|
69
|
-
"typescript": "~4.
|
|
53
|
+
"typescript": "~5.4.2",
|
|
70
54
|
"wait-for-expect": "^1.2.0"
|
|
71
55
|
},
|
|
72
56
|
"keywords": [
|
|
@@ -93,6 +77,19 @@
|
|
|
93
77
|
]
|
|
94
78
|
}
|
|
95
79
|
},
|
|
80
|
+
"typesVersions": {
|
|
81
|
+
">=4.5 <4.9": {
|
|
82
|
+
"*": [
|
|
83
|
+
"dist/types-ts4.5/*",
|
|
84
|
+
"dist/types-ts4.5/index.d.ts"
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"af:exports": {
|
|
89
|
+
".": "./src/index.tsx",
|
|
90
|
+
"./Popper": "./src/popper.tsx",
|
|
91
|
+
"./in-product": "./src/in-product.tsx"
|
|
92
|
+
},
|
|
96
93
|
"homepage": "https://atlassian.design/components/popper",
|
|
97
94
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
98
|
-
}
|
|
95
|
+
}
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED
package/dist/esm/version.json
DELETED
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/popper"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { Manager } from 'react-popper';
|
|
8
|
-
import { ManagerProps } from 'react-popper';
|
|
9
|
-
import { Modifier } from 'react-popper';
|
|
10
|
-
import { Placement } from '@popperjs/core';
|
|
11
|
-
import { placements } from '@popperjs/core';
|
|
12
|
-
import { PopperArrowProps } from 'react-popper';
|
|
13
|
-
import { PopperChildrenProps } from 'react-popper';
|
|
14
|
-
import { PopperProps } from 'react-popper';
|
|
15
|
-
import { default as React_2 } from 'react';
|
|
16
|
-
import { Reference } from 'react-popper';
|
|
17
|
-
import { ReferenceProps } from 'react-popper';
|
|
18
|
-
import { StrictModifier } from 'react-popper';
|
|
19
|
-
import { VirtualElement } from '@popperjs/core';
|
|
20
|
-
|
|
21
|
-
// @public (undocumented)
|
|
22
|
-
interface CustomPopperProps<Modifiers> {
|
|
23
|
-
children?: (childrenProps: PopperChildrenProps) => React_2.ReactNode;
|
|
24
|
-
modifiers?: PopperProps<Modifiers>['modifiers'];
|
|
25
|
-
offset?: Offset;
|
|
26
|
-
placement?: Placement;
|
|
27
|
-
referenceElement?: HTMLElement | VirtualElement;
|
|
28
|
-
strategy?: PopperProps<Modifiers>['strategy'];
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { Manager }
|
|
32
|
-
|
|
33
|
-
export { ManagerProps }
|
|
34
|
-
|
|
35
|
-
export { Modifier }
|
|
36
|
-
|
|
37
|
-
// @public (undocumented)
|
|
38
|
-
type Offset = [null | number | undefined, null | number | undefined];
|
|
39
|
-
|
|
40
|
-
export { Placement }
|
|
41
|
-
|
|
42
|
-
export { placements }
|
|
43
|
-
|
|
44
|
-
// @public (undocumented)
|
|
45
|
-
export function Popper<CustomModifiers>({ children, offset, placement, referenceElement, modifiers, strategy, }: CustomPopperProps<CustomModifiers>): JSX.Element;
|
|
46
|
-
|
|
47
|
-
export { PopperArrowProps }
|
|
48
|
-
|
|
49
|
-
export { PopperChildrenProps }
|
|
50
|
-
|
|
51
|
-
export { PopperProps }
|
|
52
|
-
|
|
53
|
-
export { Reference }
|
|
54
|
-
|
|
55
|
-
export { ReferenceProps }
|
|
56
|
-
|
|
57
|
-
export { StrictModifier }
|
|
58
|
-
|
|
59
|
-
// (No @packageDocumentation comment for this package)
|
|
60
|
-
|
|
61
|
-
```
|