@atlaskit/popup 1.17.2 → 1.18.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 +441 -432
- package/__perf__/closed.tsx +30 -30
- package/__perf__/default.tsx +19 -19
- package/__perf__/open.tsx +19 -23
- package/__perf__/popup.tsx +26 -26
- package/__perf__/utils/interaction-tasks.tsx +37 -50
- package/codemods/1.0.0-lite-mode.tsx +148 -181
- package/codemods/__tests__/1.0.0-lite-mode.tsx +88 -88
- package/codemods/utils/helpers.tsx +250 -261
- package/dist/cjs/popper-wrapper.js +15 -6
- package/dist/cjs/popup.js +17 -4
- package/dist/es2019/popper-wrapper.js +15 -5
- package/dist/es2019/popup.js +16 -4
- package/dist/esm/popper-wrapper.js +16 -6
- package/dist/esm/popup.js +17 -4
- package/dist/types/compositional/popup.d.ts +1 -1
- package/dist/types/entry-points/experimental/compositional.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/popper-wrapper.d.ts +1 -1
- package/dist/types/reposition-on-update.d.ts +1 -1
- package/dist/types/types.d.ts +24 -1
- package/dist/types-ts4.5/compositional/popup.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/experimental/compositional.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/popper-wrapper.d.ts +1 -1
- package/dist/types-ts4.5/reposition-on-update.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +24 -1
- package/package.json +117 -118
- package/report.api.md +41 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,483 +1,494 @@
|
|
|
1
1
|
# @atlaskit/popup
|
|
2
2
|
|
|
3
|
+
## 1.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#111709](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111709)
|
|
8
|
+
[`2f3d71601a7c2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f3d71601a7c2) -
|
|
9
|
+
[ux] Adds a new optional `shouldFitContainer` prop, which when set to `true`, will fit the popup
|
|
10
|
+
width to its parent's width.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 1.17.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
|
-
-
|
|
20
|
+
- Updated dependencies
|
|
8
21
|
|
|
9
22
|
## 1.17.1
|
|
10
23
|
|
|
11
24
|
### Patch Changes
|
|
12
25
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
26
|
+
- [#97895](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97895)
|
|
27
|
+
[`4f26610d9fbc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4f26610d9fbc) -
|
|
28
|
+
Adds auto-generated ID to popup and popup triggers for better coverage of assistive technologies
|
|
29
|
+
and `aria-controls`..
|
|
17
30
|
|
|
18
31
|
## 1.17.0
|
|
19
32
|
|
|
20
33
|
### Minor Changes
|
|
21
34
|
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
35
|
+
- [#91673](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91673)
|
|
36
|
+
[`e757c83a22ee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e757c83a22ee) -
|
|
37
|
+
Add new props for improving accessibility: `role`, `label` and `titleId`.
|
|
25
38
|
|
|
26
39
|
## 1.16.0
|
|
27
40
|
|
|
28
41
|
### Minor Changes
|
|
29
42
|
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
team.
|
|
43
|
+
- [#95249](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95249)
|
|
44
|
+
[`039491355ada`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/039491355ada) -
|
|
45
|
+
Adds new entry points for an alternate experimental Popup API using composable components. The new
|
|
46
|
+
exports are prefixed with UNSAFE should only be used after agreement with the Design System team.
|
|
35
47
|
|
|
36
48
|
## 1.15.1
|
|
37
49
|
|
|
38
50
|
### Patch Changes
|
|
39
51
|
|
|
40
|
-
-
|
|
52
|
+
- Updated dependencies
|
|
41
53
|
|
|
42
54
|
## 1.15.0
|
|
43
55
|
|
|
44
56
|
### Minor Changes
|
|
45
57
|
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
58
|
+
- [#93705](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93705)
|
|
59
|
+
[`e0da49f51c4b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e0da49f51c4b) -
|
|
60
|
+
Add support for React 18 in non-strict mode.
|
|
49
61
|
|
|
50
62
|
## 1.14.1
|
|
51
63
|
|
|
52
64
|
### Patch Changes
|
|
53
65
|
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
66
|
+
- [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316)
|
|
67
|
+
[`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) -
|
|
68
|
+
Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
|
|
57
69
|
|
|
58
70
|
## 1.14.0
|
|
59
71
|
|
|
60
72
|
### Minor Changes
|
|
61
73
|
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
74
|
+
- [#84410](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84410)
|
|
75
|
+
[`9d5dc8f7de85`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9d5dc8f7de85) -
|
|
76
|
+
Adds a new `strategy` prop to control the positioning strategy to use other than the default
|
|
77
|
+
'fixed' position.
|
|
66
78
|
|
|
67
79
|
## 1.13.2
|
|
68
80
|
|
|
69
81
|
### Patch Changes
|
|
70
82
|
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
83
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
84
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
85
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
74
86
|
|
|
75
87
|
## 1.13.1
|
|
76
88
|
|
|
77
89
|
### Patch Changes
|
|
78
90
|
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
91
|
+
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
|
|
92
|
+
[`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
|
|
93
|
+
Update usage of `React.FC` to explicity include `children`
|
|
82
94
|
|
|
83
95
|
## 1.13.0
|
|
84
96
|
|
|
85
97
|
### Minor Changes
|
|
86
98
|
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
99
|
+
- [#70573](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70573)
|
|
100
|
+
[`c8fa9cdd08e4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c8fa9cdd08e4) -
|
|
101
|
+
Accessibility changes. Add a new optional prop `shouldDisableFocusLock`. We are testing the
|
|
102
|
+
ability to close the popup by pressing the Tab key when `shouldDisableFocusLock` is `true` and
|
|
103
|
+
`shouldRenderToParent` is `true` behind a feature flag. This is necessary for the dropdown menu to
|
|
104
|
+
work correctly. If this fix is successful it will be available in a later release.
|
|
93
105
|
|
|
94
106
|
## 1.12.0
|
|
95
107
|
|
|
96
108
|
### Minor Changes
|
|
97
109
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
110
|
+
- [#70664](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70664)
|
|
111
|
+
[`776e5ba8fc41`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/776e5ba8fc41) -
|
|
112
|
+
Enable layering in popup and dropdown to support nested navigation
|
|
101
113
|
|
|
102
114
|
## 1.11.6
|
|
103
115
|
|
|
104
116
|
### Patch Changes
|
|
105
117
|
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
118
|
+
- [#67435](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67435)
|
|
119
|
+
[`7949bd7f5cb6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7949bd7f5cb6) -
|
|
120
|
+
Support to disable pointer-events on iframe when popup is open to fix issue of clicking on iframe
|
|
121
|
+
won't close popup
|
|
110
122
|
|
|
111
123
|
## 1.11.5
|
|
112
124
|
|
|
113
125
|
### Patch Changes
|
|
114
126
|
|
|
115
|
-
-
|
|
116
|
-
|
|
117
|
-
|
|
127
|
+
- [#40944](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40944)
|
|
128
|
+
[`c6b7d977655`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6b7d977655) - Memoize
|
|
129
|
+
the Popup Trigger's ref to avoid unnecessary renders.
|
|
118
130
|
|
|
119
131
|
## 1.11.4
|
|
120
132
|
|
|
121
133
|
### Patch Changes
|
|
122
134
|
|
|
123
|
-
-
|
|
124
|
-
|
|
125
|
-
|
|
135
|
+
- [#42577](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42577)
|
|
136
|
+
[`d51b45b02fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d51b45b02fb) - Add
|
|
137
|
+
component to push model consumption in JFE
|
|
126
138
|
|
|
127
139
|
## 1.11.3
|
|
128
140
|
|
|
129
141
|
### Patch Changes
|
|
130
142
|
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
143
|
+
- [#42594](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42594)
|
|
144
|
+
[`07781d6d786`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07781d6d786) - Removes
|
|
145
|
+
feature flag implemented in 1.11.0. Does not implement proposed functionality behind the feature
|
|
146
|
+
flag.
|
|
135
147
|
|
|
136
148
|
## 1.11.2
|
|
137
149
|
|
|
138
150
|
### Patch Changes
|
|
139
151
|
|
|
140
|
-
-
|
|
141
|
-
|
|
142
|
-
|
|
152
|
+
- [#41628](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41628)
|
|
153
|
+
[`b05664f7aba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b05664f7aba) - Use
|
|
154
|
+
feature flag to toggle if we enable UNSAFE_LAYERING
|
|
143
155
|
|
|
144
156
|
## 1.11.1
|
|
145
157
|
|
|
146
158
|
### Patch Changes
|
|
147
159
|
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
160
|
+
- [#41322](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41322)
|
|
161
|
+
[`f54519b315c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f54519b315c) - This
|
|
162
|
+
removes the error in console when passing `shouldRenderToParent` prop.
|
|
151
163
|
|
|
152
164
|
## 1.11.0
|
|
153
165
|
|
|
154
166
|
### Minor Changes
|
|
155
167
|
|
|
156
|
-
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
168
|
+
- [#41251](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41251)
|
|
169
|
+
[`b0a2a8d78c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0a2a8d78c6) - [ux] We
|
|
170
|
+
are testing removing the `focus-trap` package for a smaller sharper implementation of focus
|
|
171
|
+
management behind a feature flag. If this fix is successful it will be available in a later
|
|
172
|
+
release.
|
|
161
173
|
|
|
162
174
|
## 1.10.2
|
|
163
175
|
|
|
164
176
|
### Patch Changes
|
|
165
177
|
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
|
|
178
|
+
- [#41354](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41354)
|
|
179
|
+
[`d621fe3e4f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d621fe3e4f8) - fix
|
|
180
|
+
ReferenceError where frameId is used before it is initialised
|
|
169
181
|
|
|
170
182
|
## 1.10.1
|
|
171
183
|
|
|
172
184
|
### Patch Changes
|
|
173
185
|
|
|
174
|
-
-
|
|
175
|
-
|
|
176
|
-
|
|
186
|
+
- [#40515](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40515)
|
|
187
|
+
[`a54578d2ea9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a54578d2ea9) - This
|
|
188
|
+
removes the feature flag for the `shouldRenderToParent` prop. The prop is available for use.
|
|
177
189
|
|
|
178
190
|
## 1.10.0
|
|
179
191
|
|
|
180
192
|
### Minor Changes
|
|
181
193
|
|
|
182
|
-
-
|
|
183
|
-
|
|
184
|
-
|
|
194
|
+
- [#39726](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39726)
|
|
195
|
+
[`f355884a4aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f355884a4aa) - [ux]
|
|
196
|
+
Support to press escape key and only close the top layer
|
|
185
197
|
|
|
186
198
|
### Patch Changes
|
|
187
199
|
|
|
188
|
-
-
|
|
200
|
+
- Updated dependencies
|
|
189
201
|
|
|
190
202
|
## 1.9.3
|
|
191
203
|
|
|
192
204
|
### Patch Changes
|
|
193
205
|
|
|
194
|
-
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
-
|
|
206
|
+
- [#39278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39278)
|
|
207
|
+
[`84442a93613`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84442a93613) - Adds
|
|
208
|
+
support for surface detection when using design tokens. Enabling children to be styled with the
|
|
209
|
+
surface color of the popup when using the `utility.elevation.surface.current` design token.
|
|
210
|
+
- Updated dependencies
|
|
199
211
|
|
|
200
212
|
## 1.9.2
|
|
201
213
|
|
|
202
214
|
### Patch Changes
|
|
203
215
|
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
|
|
216
|
+
- [#38011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38011)
|
|
217
|
+
[`065da872439`](https://bitbucket.org/atlassian/atlassian-frontend/commits/065da872439) - Css
|
|
218
|
+
changes for testing the feature flag `platform.design-system-team.render-popup-in-parent_f73ij`.
|
|
207
219
|
|
|
208
220
|
## 1.9.1
|
|
209
221
|
|
|
210
222
|
### Patch Changes
|
|
211
223
|
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
|
|
224
|
+
- [#37614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37614)
|
|
225
|
+
[`6a0a3c059ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a0a3c059ba) - Remove
|
|
226
|
+
unused argument from internal focus management function.
|
|
215
227
|
|
|
216
228
|
## 1.9.0
|
|
217
229
|
|
|
218
230
|
### Minor Changes
|
|
219
231
|
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
232
|
+
- [#34797](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34797)
|
|
233
|
+
[`3920dcfd848`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3920dcfd848) - This
|
|
234
|
+
removes the feature flag made for upgrading the `focus-trap` dependency and keeps `focus-trap` at
|
|
235
|
+
it's original version.
|
|
224
236
|
|
|
225
237
|
## 1.8.3
|
|
226
238
|
|
|
227
239
|
### Patch Changes
|
|
228
240
|
|
|
229
|
-
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
241
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
242
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
243
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
244
|
+
testing.
|
|
233
245
|
|
|
234
246
|
## 1.8.2
|
|
235
247
|
|
|
236
248
|
### Patch Changes
|
|
237
249
|
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
250
|
+
- [#36447](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36447)
|
|
251
|
+
[`472a62ce219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/472a62ce219) - [ux]
|
|
252
|
+
Fixes `autoFocus` functionality on upgrade of focus-trap to v7.
|
|
241
253
|
|
|
242
254
|
## 1.8.1
|
|
243
255
|
|
|
244
256
|
### Patch Changes
|
|
245
257
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
258
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
259
|
+
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal
|
|
260
|
+
change to use shape tokens. There is no expected visual change.
|
|
249
261
|
|
|
250
262
|
## 1.8.0
|
|
251
263
|
|
|
252
264
|
### Minor Changes
|
|
253
265
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
266
|
+
- [`ac5a05f5929`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac5a05f5929) - We are
|
|
267
|
+
testing an upgrade to the `focus-trap` dependency behind a feature flag. If this fix is successful
|
|
268
|
+
it will be available in a later release.
|
|
257
269
|
|
|
258
270
|
## 1.7.0
|
|
259
271
|
|
|
260
272
|
### Minor Changes
|
|
261
273
|
|
|
262
|
-
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
274
|
+
- [#35092](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35092)
|
|
275
|
+
[`eca89633804`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eca89633804) - Add a
|
|
276
|
+
new prop `shouldRenderToParent` to allow render popup into a DOM node within the parent DOM
|
|
277
|
+
hierarchy instead of React portal.
|
|
266
278
|
|
|
267
279
|
## 1.6.4
|
|
268
280
|
|
|
269
281
|
### Patch Changes
|
|
270
282
|
|
|
271
|
-
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
is open.
|
|
283
|
+
- [#35299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35299)
|
|
284
|
+
[`e2a6337bb05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2a6337bb05) - Reverts
|
|
285
|
+
changes 1.6.3 in @atlaskit/popup, reverts disabling pointer events on iframes when popup is open.
|
|
275
286
|
|
|
276
287
|
## 1.6.3
|
|
277
288
|
|
|
278
289
|
### Patch Changes
|
|
279
290
|
|
|
280
|
-
-
|
|
281
|
-
|
|
282
|
-
|
|
291
|
+
- [#34314](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34314)
|
|
292
|
+
[`c394dbc632f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c394dbc632f) -
|
|
293
|
+
Addresses the problem where the popup fails to close upon clicking on the iframe
|
|
283
294
|
|
|
284
295
|
## 1.6.2
|
|
285
296
|
|
|
286
297
|
### Patch Changes
|
|
287
298
|
|
|
288
|
-
-
|
|
289
|
-
|
|
290
|
-
|
|
299
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
300
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
301
|
+
legacy types are published for TS 4.5-4.8
|
|
291
302
|
|
|
292
303
|
## 1.6.1
|
|
293
304
|
|
|
294
305
|
### Patch Changes
|
|
295
306
|
|
|
296
|
-
-
|
|
297
|
-
|
|
298
|
-
|
|
307
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
308
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
309
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
299
310
|
|
|
300
311
|
## 1.6.0
|
|
301
312
|
|
|
302
313
|
### Minor Changes
|
|
303
314
|
|
|
304
|
-
-
|
|
305
|
-
|
|
306
|
-
|
|
315
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
316
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
317
|
+
minor dependency bump
|
|
307
318
|
|
|
308
319
|
### Patch Changes
|
|
309
320
|
|
|
310
|
-
-
|
|
321
|
+
- Updated dependencies
|
|
311
322
|
|
|
312
323
|
## 1.5.5
|
|
313
324
|
|
|
314
325
|
### Patch Changes
|
|
315
326
|
|
|
316
|
-
-
|
|
327
|
+
- Updated dependencies
|
|
317
328
|
|
|
318
329
|
## 1.5.4
|
|
319
330
|
|
|
320
331
|
### Patch Changes
|
|
321
332
|
|
|
322
|
-
-
|
|
333
|
+
- Updated dependencies
|
|
323
334
|
|
|
324
335
|
## 1.5.3
|
|
325
336
|
|
|
326
337
|
### Patch Changes
|
|
327
338
|
|
|
328
|
-
-
|
|
339
|
+
- Updated dependencies
|
|
329
340
|
|
|
330
341
|
## 1.5.2
|
|
331
342
|
|
|
332
343
|
### Patch Changes
|
|
333
344
|
|
|
334
|
-
-
|
|
345
|
+
- Updated dependencies
|
|
335
346
|
|
|
336
347
|
## 1.5.1
|
|
337
348
|
|
|
338
349
|
### Patch Changes
|
|
339
350
|
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
|
|
351
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
352
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
353
|
+
change to introduce spacing tokens to design system components.
|
|
343
354
|
|
|
344
355
|
## 1.5.0
|
|
345
356
|
|
|
346
357
|
### Minor Changes
|
|
347
358
|
|
|
348
|
-
-
|
|
349
|
-
|
|
350
|
-
|
|
359
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
360
|
+
[`c520e306869`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c520e306869) - Updates
|
|
361
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
351
362
|
|
|
352
363
|
## 1.4.2
|
|
353
364
|
|
|
354
365
|
### Patch Changes
|
|
355
366
|
|
|
356
|
-
-
|
|
357
|
-
|
|
358
|
-
|
|
367
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
368
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
369
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
359
370
|
|
|
360
371
|
## 1.4.1
|
|
361
372
|
|
|
362
373
|
### Patch Changes
|
|
363
374
|
|
|
364
|
-
-
|
|
365
|
-
|
|
366
|
-
|
|
375
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
376
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
377
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
367
378
|
|
|
368
379
|
## 1.4.0
|
|
369
380
|
|
|
370
381
|
### Minor Changes
|
|
371
382
|
|
|
372
|
-
-
|
|
373
|
-
|
|
374
|
-
|
|
383
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
384
|
+
[`01d80d395bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01d80d395bc) - pass
|
|
385
|
+
event to onOpenChange consistently
|
|
375
386
|
|
|
376
387
|
### Patch Changes
|
|
377
388
|
|
|
378
|
-
-
|
|
379
|
-
|
|
380
|
-
-
|
|
389
|
+
- [`8202e37941b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8202e37941b) - Internal
|
|
390
|
+
code change turning on new linting rules.
|
|
391
|
+
- Updated dependencies
|
|
381
392
|
|
|
382
393
|
## 1.3.10
|
|
383
394
|
|
|
384
395
|
### Patch Changes
|
|
385
396
|
|
|
386
|
-
-
|
|
387
|
-
|
|
388
|
-
|
|
397
|
+
- [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614)
|
|
398
|
+
[`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) -
|
|
399
|
+
Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
389
400
|
|
|
390
401
|
## 1.3.9
|
|
391
402
|
|
|
392
403
|
### Patch Changes
|
|
393
404
|
|
|
394
|
-
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
405
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
|
|
406
|
+
[`dcf8150c49c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcf8150c49c) - Allow
|
|
407
|
+
`trigger` props to be applied to any HTML element tag without causing type errors for the `ref`
|
|
408
|
+
type
|
|
398
409
|
|
|
399
410
|
## 1.3.8
|
|
400
411
|
|
|
401
412
|
### Patch Changes
|
|
402
413
|
|
|
403
|
-
-
|
|
414
|
+
- Updated dependencies
|
|
404
415
|
|
|
405
416
|
## 1.3.7
|
|
406
417
|
|
|
407
418
|
### Patch Changes
|
|
408
419
|
|
|
409
|
-
-
|
|
410
|
-
|
|
411
|
-
|
|
420
|
+
- [#21242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21242)
|
|
421
|
+
[`2e7bbdfd813`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7bbdfd813) -
|
|
422
|
+
Upgrading internal dependency 'bind-event-listener' to 2.1.0 for improved types
|
|
412
423
|
|
|
413
424
|
## 1.3.6
|
|
414
425
|
|
|
415
426
|
### Patch Changes
|
|
416
427
|
|
|
417
|
-
-
|
|
418
|
-
|
|
419
|
-
|
|
428
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
429
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
430
|
+
to TypeScript 4.2.4
|
|
420
431
|
|
|
421
432
|
## 1.3.5
|
|
422
433
|
|
|
423
434
|
### Patch Changes
|
|
424
435
|
|
|
425
|
-
-
|
|
436
|
+
- Updated dependencies
|
|
426
437
|
|
|
427
438
|
## 1.3.4
|
|
428
439
|
|
|
429
440
|
### Patch Changes
|
|
430
441
|
|
|
431
|
-
-
|
|
442
|
+
- Updated dependencies
|
|
432
443
|
|
|
433
444
|
## 1.3.3
|
|
434
445
|
|
|
435
446
|
### Patch Changes
|
|
436
447
|
|
|
437
|
-
-
|
|
448
|
+
- Updated dependencies
|
|
438
449
|
|
|
439
450
|
## 1.3.2
|
|
440
451
|
|
|
441
452
|
### Patch Changes
|
|
442
453
|
|
|
443
|
-
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
-
|
|
454
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
455
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
456
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
457
|
+
auto-fixing by correctly formatting token ids.
|
|
458
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
459
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
460
|
+
auto-fixing by correctly formatting token ids.
|
|
461
|
+
- Updated dependencies
|
|
451
462
|
|
|
452
463
|
## 1.3.1
|
|
453
464
|
|
|
454
465
|
### Patch Changes
|
|
455
466
|
|
|
456
|
-
-
|
|
467
|
+
- Updated dependencies
|
|
457
468
|
|
|
458
469
|
## 1.3.0
|
|
459
470
|
|
|
460
471
|
### Minor Changes
|
|
461
472
|
|
|
462
|
-
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
473
|
+
- [#17576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17576)
|
|
474
|
+
[`2e42aa0d900`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e42aa0d900) -
|
|
475
|
+
**Note**: It is a re-release of the wrongly `patched` version `1.1.6` that should have been a
|
|
476
|
+
`minor` release.
|
|
466
477
|
|
|
467
|
-
|
|
468
|
-
|
|
478
|
+
Expose `fallbackPlacement` modifier from to specify a list of fallback options to try incase there
|
|
479
|
+
isn't enough space
|
|
469
480
|
|
|
470
481
|
### Patch Changes
|
|
471
482
|
|
|
472
|
-
-
|
|
483
|
+
- Updated dependencies
|
|
473
484
|
|
|
474
485
|
## 1.2.0
|
|
475
486
|
|
|
476
487
|
### Minor Changes
|
|
477
488
|
|
|
478
|
-
-
|
|
479
|
-
|
|
480
|
-
|
|
489
|
+
- [#16960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16960)
|
|
490
|
+
[`c2dd770a743`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2dd770a743) - Add new
|
|
491
|
+
prop which controls is outside click should be bound using capture
|
|
481
492
|
|
|
482
493
|
## 1.1.6
|
|
483
494
|
|
|
@@ -485,514 +496,512 @@ _WRONG RELEASE TYPE - DON'T USE_
|
|
|
485
496
|
|
|
486
497
|
### Minor Changes
|
|
487
498
|
|
|
488
|
-
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
499
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
500
|
+
[`f142150a3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f142150a3e8) - Expose
|
|
501
|
+
`fallbackPlacement` modifier from to specify a list of fallback options to try incase there isn't
|
|
502
|
+
enough space
|
|
492
503
|
|
|
493
504
|
### Patch Changes
|
|
494
505
|
|
|
495
|
-
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
-
|
|
506
|
+
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
507
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
508
|
+
tokens() function and improving bundle size.
|
|
509
|
+
- Updated dependencies
|
|
499
510
|
|
|
500
511
|
## 1.1.5
|
|
501
512
|
|
|
502
513
|
### Patch Changes
|
|
503
514
|
|
|
504
|
-
-
|
|
515
|
+
- Updated dependencies
|
|
505
516
|
|
|
506
517
|
## 1.1.4
|
|
507
518
|
|
|
508
519
|
### Patch Changes
|
|
509
520
|
|
|
510
|
-
-
|
|
521
|
+
- Updated dependencies
|
|
511
522
|
|
|
512
523
|
## 1.1.3
|
|
513
524
|
|
|
514
525
|
### Patch Changes
|
|
515
526
|
|
|
516
|
-
-
|
|
527
|
+
- Updated dependencies
|
|
517
528
|
|
|
518
529
|
## 1.1.2
|
|
519
530
|
|
|
520
531
|
### Patch Changes
|
|
521
532
|
|
|
522
|
-
-
|
|
533
|
+
- Updated dependencies
|
|
523
534
|
|
|
524
535
|
## 1.1.1
|
|
525
536
|
|
|
526
537
|
### Patch Changes
|
|
527
538
|
|
|
528
|
-
-
|
|
539
|
+
- Updated dependencies
|
|
529
540
|
|
|
530
541
|
## 1.1.0
|
|
531
542
|
|
|
532
543
|
### Minor Changes
|
|
533
544
|
|
|
534
|
-
-
|
|
535
|
-
|
|
536
|
-
|
|
545
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
546
|
+
[`04cf9c3d28c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04cf9c3d28c) - [ux]
|
|
547
|
+
Colors now sourced from tokens.
|
|
537
548
|
|
|
538
549
|
### Patch Changes
|
|
539
550
|
|
|
540
|
-
-
|
|
551
|
+
- Updated dependencies
|
|
541
552
|
|
|
542
553
|
## 1.0.8
|
|
543
554
|
|
|
544
555
|
### Patch Changes
|
|
545
556
|
|
|
546
|
-
-
|
|
547
|
-
|
|
548
|
-
|
|
557
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
558
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
559
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
549
560
|
|
|
550
561
|
## 1.0.7
|
|
551
562
|
|
|
552
563
|
### Patch Changes
|
|
553
564
|
|
|
554
|
-
-
|
|
555
|
-
|
|
556
|
-
|
|
565
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
566
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
|
|
567
|
+
to development dependency `storybook-addon-performance`
|
|
557
568
|
|
|
558
569
|
## 1.0.6
|
|
559
570
|
|
|
560
571
|
### Patch Changes
|
|
561
572
|
|
|
562
|
-
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
573
|
+
- [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930)
|
|
574
|
+
[`1858f20ac3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1858f20ac3) - Optimised
|
|
575
|
+
popup performance as part of the lite-mode project. Changes are internal and have no implications
|
|
576
|
+
for component API or usage.
|
|
566
577
|
|
|
567
578
|
## 1.0.5
|
|
568
579
|
|
|
569
580
|
### Patch Changes
|
|
570
581
|
|
|
571
|
-
-
|
|
572
|
-
|
|
573
|
-
|
|
582
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
583
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
584
|
+
packages using babel rather than tsc
|
|
574
585
|
|
|
575
586
|
## 1.0.4
|
|
576
587
|
|
|
577
588
|
### Patch Changes
|
|
578
589
|
|
|
579
|
-
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
590
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
591
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
592
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
593
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
594
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
595
|
+
`devDependencies` to denote version that the package was built with.
|
|
585
596
|
|
|
586
597
|
## 1.0.3
|
|
587
598
|
|
|
588
599
|
### Patch Changes
|
|
589
600
|
|
|
590
|
-
-
|
|
601
|
+
- Updated dependencies
|
|
591
602
|
|
|
592
603
|
## 1.0.2
|
|
593
604
|
|
|
594
605
|
### Patch Changes
|
|
595
606
|
|
|
596
|
-
-
|
|
597
|
-
|
|
598
|
-
|
|
607
|
+
- [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346)
|
|
608
|
+
[`fc8f6e61f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc8f6e61f3) - Fix
|
|
609
|
+
codemod utilities being exposed through the codemod cli
|
|
599
610
|
|
|
600
611
|
## 1.0.1
|
|
601
612
|
|
|
602
613
|
### Patch Changes
|
|
603
614
|
|
|
604
|
-
-
|
|
605
|
-
|
|
606
|
-
|
|
615
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
616
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
617
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
607
618
|
|
|
608
|
-
|
|
609
|
-
|
|
619
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
620
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
610
621
|
|
|
611
622
|
## 1.0.0
|
|
612
623
|
|
|
613
624
|
### Major Changes
|
|
614
625
|
|
|
615
|
-
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
626
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
627
|
+
[`740e011f8d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/740e011f8d) - This first
|
|
628
|
+
major release of popup brings in major changes from @atlaskit/popper. These changes come with
|
|
629
|
+
performance, maintainability and behavioral improvements.
|
|
619
630
|
|
|
620
|
-
|
|
621
|
-
|
|
631
|
+
As popup wraps popper's functionality, these changes result in a breaking change for popup as
|
|
632
|
+
well.
|
|
622
633
|
|
|
623
|
-
|
|
634
|
+
These changes have ⚙️ codemod support:
|
|
624
635
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
follows:
|
|
636
|
+
- ⚙️ `offset` is no longer a string, but an array of two integers (i.e. '0px 8px' is now [0, 8])
|
|
637
|
+
- ⚙️ `boundariesElement` has been replaced with two props: `boundary` and `rootBoundary`. The
|
|
638
|
+
three supported values from the boundariesElement prop have been split between the two as
|
|
639
|
+
follows:
|
|
630
640
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
- **✨new** the `boundary` prop now supports custom elements.
|
|
641
|
+
- `boundariesElement = "scrollParents"` has been renamed: use `boundary = "clippingParents"`.
|
|
642
|
+
- `boundariesElement = "window"` has been renamed: use `rootBoundary = "document"`, and acts in
|
|
643
|
+
a similar fashion.
|
|
644
|
+
- `boundariesElement = "viewport"` has been moved: use `rootBoundary = "document"`.
|
|
645
|
+
- **✨new** the `boundary` prop now supports custom elements.
|
|
637
646
|
|
|
638
|
-
|
|
647
|
+
- Components passed into the `content` have a change to render props:
|
|
639
648
|
|
|
640
|
-
|
|
641
|
-
|
|
649
|
+
- ⚙️ `scheduleUpdate`, for async updates, has been renamed to `update`, and now returns a
|
|
650
|
+
Promise.
|
|
642
651
|
|
|
643
|
-
|
|
644
|
-
|
|
652
|
+
- For more information on the change, see
|
|
653
|
+
[the popper.js docs](https://popper.js.org/docs/v2/utils/detect-overflow/#boundary)
|
|
645
654
|
|
|
646
|
-
|
|
655
|
+
**Running the codemod cli**
|
|
647
656
|
|
|
648
|
-
|
|
649
|
-
|
|
657
|
+
To run the codemod: **You first need to have the latest version of popup installed before you can
|
|
658
|
+
run the codemod**
|
|
650
659
|
|
|
651
|
-
|
|
660
|
+
`yarn upgrade @atlaskit/popup@^1.0.0`
|
|
652
661
|
|
|
653
|
-
|
|
662
|
+
Once upgraded, use the Atlaskit codemod-cli;
|
|
654
663
|
|
|
655
|
-
|
|
664
|
+
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
|
|
656
665
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
666
|
+
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
|
|
667
|
+
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
|
|
668
|
+
on the codemod CLI.
|
|
660
669
|
|
|
661
670
|
### Patch Changes
|
|
662
671
|
|
|
663
|
-
-
|
|
672
|
+
- Updated dependencies
|
|
664
673
|
|
|
665
674
|
## 0.6.1
|
|
666
675
|
|
|
667
676
|
### Patch Changes
|
|
668
677
|
|
|
669
|
-
-
|
|
670
|
-
|
|
671
|
-
|
|
678
|
+
- [#4329](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4329)
|
|
679
|
+
[`8dd80245bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8dd80245bb) - Remove
|
|
680
|
+
unnecessary code for IE11.
|
|
672
681
|
|
|
673
682
|
## 0.6.0
|
|
674
683
|
|
|
675
684
|
### Minor Changes
|
|
676
685
|
|
|
677
|
-
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
686
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
687
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
688
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
689
|
+
IE11. For more information see:
|
|
690
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
682
691
|
|
|
683
692
|
### Patch Changes
|
|
684
693
|
|
|
685
|
-
-
|
|
694
|
+
- Updated dependencies
|
|
686
695
|
|
|
687
696
|
## 0.5.0
|
|
688
697
|
|
|
689
698
|
### Minor Changes
|
|
690
699
|
|
|
691
|
-
-
|
|
692
|
-
|
|
693
|
-
|
|
700
|
+
- [#3289](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3289)
|
|
701
|
+
[`ebcb467688`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ebcb467688) - Add a new
|
|
702
|
+
prop `autoFocus` to allow consumers to control whether the Popup takes focus when opened
|
|
694
703
|
|
|
695
704
|
## 0.4.3
|
|
696
705
|
|
|
697
706
|
### Patch Changes
|
|
698
707
|
|
|
699
|
-
-
|
|
700
|
-
|
|
701
|
-
|
|
708
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
709
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
|
|
710
|
+
supporting files will no longer be published to npm
|
|
702
711
|
|
|
703
712
|
## 0.4.2
|
|
704
713
|
|
|
705
714
|
### Patch Changes
|
|
706
715
|
|
|
707
|
-
-
|
|
708
|
-
|
|
709
|
-
|
|
716
|
+
- [#2430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2430)
|
|
717
|
+
[`649f69b6d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/649f69b6d7) - Patch all
|
|
718
|
+
packages that are used by confluence that have a broken es2019 dist
|
|
710
719
|
|
|
711
720
|
## 0.4.1
|
|
712
721
|
|
|
713
722
|
### Patch Changes
|
|
714
723
|
|
|
715
|
-
-
|
|
716
|
-
|
|
717
|
-
|
|
724
|
+
- [#2186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2186)
|
|
725
|
+
[`f4d4de67e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4d4de67e4) - Prevent
|
|
726
|
+
closing of popup when clicked element (which is inside content) is removed from the DOM
|
|
718
727
|
|
|
719
728
|
## 0.4.0
|
|
720
729
|
|
|
721
730
|
### Minor Changes
|
|
722
731
|
|
|
723
|
-
-
|
|
724
|
-
|
|
725
|
-
|
|
732
|
+
- [#2060](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2060)
|
|
733
|
+
[`ead13374cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ead13374cf) -
|
|
734
|
+
**BREAKING:** Removes `tag` prop and unneeded wrapping element around the trigger.
|
|
726
735
|
|
|
727
736
|
## 0.3.5
|
|
728
737
|
|
|
729
738
|
### Patch Changes
|
|
730
739
|
|
|
731
|
-
-
|
|
740
|
+
- [patch][a12ea387f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/a12ea387f1):
|
|
732
741
|
|
|
733
|
-
|
|
734
|
-
|
|
742
|
+
Change imports to comply with Atlassian conventions- Updated dependencies
|
|
743
|
+
[cf8577f5d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf8577f5d6):
|
|
735
744
|
|
|
736
|
-
-
|
|
737
|
-
|
|
738
|
-
-
|
|
739
|
-
|
|
740
|
-
-
|
|
741
|
-
|
|
742
|
-
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
745
|
+
- Updated dependencies
|
|
746
|
+
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
|
|
747
|
+
- Updated dependencies
|
|
748
|
+
[449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
|
|
749
|
+
- Updated dependencies
|
|
750
|
+
[57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
|
|
751
|
+
- Updated dependencies
|
|
752
|
+
[1e7e54c20e](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e7e54c20e):
|
|
753
|
+
- @atlaskit/popper@3.1.12
|
|
754
|
+
- @atlaskit/button@13.3.11
|
|
755
|
+
- @atlaskit/icon@20.1.1
|
|
756
|
+
- @atlaskit/menu@0.4.1
|
|
748
757
|
|
|
749
758
|
## 0.3.4
|
|
750
759
|
|
|
751
760
|
### Patch Changes
|
|
752
761
|
|
|
753
|
-
-
|
|
754
|
-
|
|
755
|
-
-
|
|
756
|
-
|
|
757
|
-
-
|
|
758
|
-
|
|
759
|
-
-
|
|
760
|
-
|
|
761
|
-
-
|
|
762
|
-
|
|
763
|
-
-
|
|
764
|
-
|
|
765
|
-
-
|
|
766
|
-
|
|
767
|
-
-
|
|
768
|
-
|
|
769
|
-
-
|
|
770
|
-
|
|
771
|
-
-
|
|
772
|
-
|
|
773
|
-
-
|
|
774
|
-
|
|
775
|
-
-
|
|
776
|
-
|
|
777
|
-
-
|
|
778
|
-
|
|
779
|
-
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
762
|
+
- Updated dependencies
|
|
763
|
+
[7e408e4037](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e408e4037):
|
|
764
|
+
- Updated dependencies
|
|
765
|
+
[603413f530](https://bitbucket.org/atlassian/atlassian-frontend/commits/603413f530):
|
|
766
|
+
- Updated dependencies
|
|
767
|
+
[6453c8de48](https://bitbucket.org/atlassian/atlassian-frontend/commits/6453c8de48):
|
|
768
|
+
- Updated dependencies
|
|
769
|
+
[168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
|
|
770
|
+
- Updated dependencies
|
|
771
|
+
[e4dde0ad13](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4dde0ad13):
|
|
772
|
+
- Updated dependencies
|
|
773
|
+
[41760ea4a6](https://bitbucket.org/atlassian/atlassian-frontend/commits/41760ea4a6):
|
|
774
|
+
- Updated dependencies
|
|
775
|
+
[0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
|
|
776
|
+
- Updated dependencies
|
|
777
|
+
[971e294b1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/971e294b1e):
|
|
778
|
+
- Updated dependencies
|
|
779
|
+
[684ee794d6](https://bitbucket.org/atlassian/atlassian-frontend/commits/684ee794d6):
|
|
780
|
+
- Updated dependencies
|
|
781
|
+
[109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
|
|
782
|
+
- Updated dependencies
|
|
783
|
+
[b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
|
|
784
|
+
- Updated dependencies
|
|
785
|
+
[286770886d](https://bitbucket.org/atlassian/atlassian-frontend/commits/286770886d):
|
|
786
|
+
- Updated dependencies
|
|
787
|
+
[2c1b78027c](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c1b78027c):
|
|
788
|
+
- Updated dependencies
|
|
789
|
+
[fb3ca3a3b2](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb3ca3a3b2):
|
|
790
|
+
- @atlaskit/menu@0.4.0
|
|
791
|
+
- @atlaskit/portal@3.1.7
|
|
792
|
+
- @atlaskit/docs@8.5.1
|
|
793
|
+
- @atlaskit/theme@9.5.3
|
|
794
|
+
- @atlaskit/button@13.3.10
|
|
786
795
|
|
|
787
796
|
## 0.3.3
|
|
788
797
|
|
|
789
798
|
### Patch Changes
|
|
790
799
|
|
|
791
|
-
-
|
|
792
|
-
|
|
793
|
-
-
|
|
794
|
-
|
|
795
|
-
-
|
|
796
|
-
|
|
797
|
-
-
|
|
798
|
-
|
|
799
|
-
-
|
|
800
|
-
|
|
801
|
-
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
800
|
+
- Updated dependencies
|
|
801
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
802
|
+
- Updated dependencies
|
|
803
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
804
|
+
- Updated dependencies
|
|
805
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
806
|
+
- Updated dependencies
|
|
807
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
808
|
+
- Updated dependencies
|
|
809
|
+
[7a6e5f6e3d](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a6e5f6e3d):
|
|
810
|
+
- Updated dependencies
|
|
811
|
+
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
|
|
812
|
+
- @atlaskit/docs@8.4.0
|
|
813
|
+
- @atlaskit/icon@20.1.0
|
|
814
|
+
- @atlaskit/menu@0.3.0
|
|
815
|
+
- @atlaskit/button@13.3.9
|
|
816
|
+
- @atlaskit/radio@3.1.11
|
|
817
|
+
- @atlaskit/spinner@12.1.6
|
|
809
818
|
|
|
810
819
|
## 0.3.2
|
|
811
820
|
|
|
812
821
|
### Patch Changes
|
|
813
822
|
|
|
814
|
-
-
|
|
823
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
815
824
|
|
|
816
|
-
|
|
817
|
-
|
|
825
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
826
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
818
827
|
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
828
|
+
- @atlaskit/docs@8.3.2
|
|
829
|
+
- @atlaskit/visual-regression@0.1.9
|
|
830
|
+
- @atlaskit/button@13.3.7
|
|
831
|
+
- @atlaskit/icon@20.0.1
|
|
832
|
+
- @atlaskit/menu@0.2.6
|
|
833
|
+
- @atlaskit/popper@3.1.11
|
|
834
|
+
- @atlaskit/portal@3.1.6
|
|
835
|
+
- @atlaskit/radio@3.1.9
|
|
836
|
+
- @atlaskit/spinner@12.1.4
|
|
837
|
+
- @atlaskit/theme@9.5.1
|
|
829
838
|
|
|
830
839
|
## 0.3.1
|
|
831
840
|
|
|
832
841
|
### Patch Changes
|
|
833
842
|
|
|
834
|
-
-
|
|
843
|
+
- [patch][afc9384399](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc9384399):
|
|
835
844
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
845
|
+
Adds tag prop, use this for changing (or removing with a `Fragment`) the wrapping element around
|
|
846
|
+
the trigger.- Updated dependencies
|
|
847
|
+
[671de2d063](https://bitbucket.org/atlassian/atlassian-frontend/commits/671de2d063):
|
|
839
848
|
|
|
840
|
-
-
|
|
841
|
-
|
|
842
|
-
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
849
|
+
- Updated dependencies
|
|
850
|
+
[77ffd08ea0](https://bitbucket.org/atlassian/atlassian-frontend/commits/77ffd08ea0):
|
|
851
|
+
- Updated dependencies
|
|
852
|
+
[0ae6ce5d46](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ae6ce5d46):
|
|
853
|
+
- @atlaskit/popper@3.1.10
|
|
854
|
+
- @atlaskit/menu@0.2.5
|
|
846
855
|
|
|
847
856
|
## 0.3.0
|
|
848
857
|
|
|
849
858
|
### Minor Changes
|
|
850
859
|
|
|
851
|
-
-
|
|
860
|
+
- [minor][0946fdd319](https://bitbucket.org/atlassian/atlassian-frontend/commits/0946fdd319):
|
|
852
861
|
|
|
853
|
-
|
|
854
|
-
|
|
862
|
+
- **BREAKING** - Changes `content` prop to expect render props instead of a component. This is
|
|
863
|
+
primarily to stop your components remounting when not having a stable reference.
|
|
855
864
|
|
|
856
865
|
## 0.2.7
|
|
857
866
|
|
|
858
867
|
### Patch Changes
|
|
859
868
|
|
|
860
|
-
-
|
|
869
|
+
- [patch][eb1ecc219a](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb1ecc219a):
|
|
861
870
|
|
|
862
|
-
|
|
871
|
+
Fix issue where stopping event propagation would still close a popup
|
|
863
872
|
|
|
864
873
|
## 0.2.6
|
|
865
874
|
|
|
866
875
|
### Patch Changes
|
|
867
876
|
|
|
868
|
-
-
|
|
877
|
+
- [patch][f534973bd4](https://bitbucket.org/atlassian/atlassian-frontend/commits/f534973bd4):
|
|
869
878
|
|
|
870
|
-
|
|
871
|
-
|
|
879
|
+
Fix a bug causing the page to scroll to top when a popup is opened- Updated dependencies
|
|
880
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
872
881
|
|
|
873
|
-
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
882
|
+
- Updated dependencies
|
|
883
|
+
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
884
|
+
- @atlaskit/theme@9.5.0
|
|
885
|
+
- @atlaskit/button@13.3.5
|
|
886
|
+
- @atlaskit/popper@3.1.9
|
|
887
|
+
- @atlaskit/portal@3.1.4
|
|
888
|
+
- @atlaskit/radio@3.1.6
|
|
889
|
+
- @atlaskit/spinner@12.1.3
|
|
881
890
|
|
|
882
891
|
## 0.2.5
|
|
883
892
|
|
|
884
893
|
### Patch Changes
|
|
885
894
|
|
|
886
|
-
-
|
|
895
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
887
896
|
|
|
888
|
-
|
|
889
|
-
|
|
897
|
+
Updates react-popper dependency to a safe version.- Updated dependencies
|
|
898
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
890
899
|
|
|
891
|
-
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
900
|
+
- Updated dependencies
|
|
901
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
902
|
+
- @atlaskit/radio@3.1.5
|
|
903
|
+
- @atlaskit/popper@3.1.8
|
|
895
904
|
|
|
896
905
|
## 0.2.4
|
|
897
906
|
|
|
898
907
|
### Patch Changes
|
|
899
908
|
|
|
900
|
-
-
|
|
909
|
+
- [patch][d0415ae306](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0415ae306):
|
|
901
910
|
|
|
902
|
-
|
|
911
|
+
Popup now uses the correct e200 shadow
|
|
903
912
|
|
|
904
913
|
## 0.2.3
|
|
905
914
|
|
|
906
915
|
### Patch Changes
|
|
907
916
|
|
|
908
|
-
-
|
|
917
|
+
- [patch][542080be8a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/542080be8a):
|
|
909
918
|
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
919
|
+
Bumped react-popper and resolved infinite looping refs issue, and fixed close-on-outside-click for
|
|
920
|
+
@atlaskit/popup-
|
|
921
|
+
[patch][995c1f6fd6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/995c1f6fd6):
|
|
913
922
|
|
|
914
|
-
|
|
915
|
-
|
|
923
|
+
Popup close on outside click no longer fires when clicking on content within the popup that
|
|
924
|
+
re-renders
|
|
916
925
|
|
|
917
926
|
## 0.2.2
|
|
918
927
|
|
|
919
928
|
### Patch Changes
|
|
920
929
|
|
|
921
|
-
-
|
|
930
|
+
- [patch][3cad6b0118](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3cad6b0118):
|
|
922
931
|
|
|
923
|
-
|
|
924
|
-
|
|
932
|
+
Exposed offset prop for popper allowing positioning of popups relative to the trigger. Added
|
|
933
|
+
example for double pop-up pattern
|
|
925
934
|
|
|
926
935
|
## 0.2.1
|
|
927
936
|
|
|
928
937
|
### Patch Changes
|
|
929
938
|
|
|
930
|
-
-
|
|
939
|
+
- [patch][f86839ca4e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f86839ca4e):
|
|
931
940
|
|
|
932
|
-
|
|
941
|
+
@atlaskit/portal had an issue in IE11 and this is fixed in 3.1.2
|
|
933
942
|
|
|
934
943
|
## 0.2.0
|
|
935
944
|
|
|
936
945
|
### Minor Changes
|
|
937
946
|
|
|
938
|
-
-
|
|
947
|
+
- [minor][6e0bcc75ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6e0bcc75ac):
|
|
939
948
|
|
|
940
|
-
|
|
941
|
-
|
|
949
|
+
- Adds the ability to render class components as children of Popup.
|
|
950
|
+
- Removes redundatnt onOpen callback prop for Popup
|
|
942
951
|
|
|
943
952
|
## 0.1.5
|
|
944
953
|
|
|
945
954
|
### Patch Changes
|
|
946
955
|
|
|
947
|
-
-
|
|
956
|
+
- [patch][93fe1d6f0d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93fe1d6f0d):
|
|
948
957
|
|
|
949
|
-
|
|
958
|
+
Fix issue where popup content is rendered infinitely
|
|
950
959
|
|
|
951
960
|
## 0.1.4
|
|
952
961
|
|
|
953
962
|
### Patch Changes
|
|
954
963
|
|
|
955
|
-
-
|
|
964
|
+
- [patch][c0a6abed47](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c0a6abed47):
|
|
956
965
|
|
|
957
|
-
|
|
966
|
+
Add onOpen and re-render unit tests
|
|
958
967
|
|
|
959
968
|
## 0.1.3
|
|
960
969
|
|
|
961
970
|
### Patch Changes
|
|
962
971
|
|
|
963
|
-
-
|
|
972
|
+
- [patch][28e9c65acd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/28e9c65acd):
|
|
964
973
|
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
974
|
+
- Add multiple popups example
|
|
975
|
+
- Add unit tests
|
|
976
|
+
- Add useCloseManager
|
|
977
|
+
- Fix bug that did not call onClose on open popups
|
|
978
|
+
- Move RepositionOnUpdate to a separate file
|
|
979
|
+
- Remove scroll lock and corresponding example
|
|
980
|
+
- Remove requestAnimationFrame usage
|
|
981
|
+
- Replace @emotion/styled with @emotion/core
|
|
973
982
|
|
|
974
983
|
## 0.1.2
|
|
975
984
|
|
|
976
985
|
### Patch Changes
|
|
977
986
|
|
|
978
|
-
-
|
|
987
|
+
- [patch][242dd7a06d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/242dd7a06d):
|
|
979
988
|
|
|
980
|
-
|
|
989
|
+
Expose additional types
|
|
981
990
|
|
|
982
991
|
## 0.1.1
|
|
983
992
|
|
|
984
993
|
### Patch Changes
|
|
985
994
|
|
|
986
|
-
-
|
|
995
|
+
- [patch][583a9873ef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/583a9873ef):
|
|
987
996
|
|
|
988
|
-
|
|
997
|
+
Provided better description for popup types
|
|
989
998
|
|
|
990
999
|
## 0.1.0
|
|
991
1000
|
|
|
992
1001
|
### Minor Changes
|
|
993
1002
|
|
|
994
|
-
-
|
|
1003
|
+
- [minor][f1a3548732](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1a3548732):
|
|
995
1004
|
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
1005
|
+
Introduce new package for the lightweight inline-dialog to be used in @atlaskit/app-navigation.
|
|
1006
|
+
The package will stay internal for now until more hardening is done, but releasing first minor to
|
|
1007
|
+
unblock navigation work.
|