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