@atlaskit/blanket 12.4.4 → 12.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -35
- package/dist/cjs/blanket.js +10 -4
- package/dist/es2019/blanket.js +8 -2
- package/dist/esm/blanket.js +10 -4
- package/package.json +3 -3
- package/tmp/api-report-tmp.d.ts +31 -0
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
# @atlaskit/blanket
|
|
2
2
|
|
|
3
|
+
## 12.4.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40123](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40123) [`b289e593932`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b289e593932) - Internal change to apply logical properties instead of physical properties for spacing, border, and position.
|
|
8
|
+
|
|
3
9
|
## 12.4.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
13
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
8
14
|
|
|
9
15
|
## 12.4.3
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol packages to push-model consumption in Jira.
|
|
19
|
+
- [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124) [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol packages to push-model consumption in Jira.
|
|
14
20
|
|
|
15
21
|
## 12.4.2
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
25
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
20
26
|
|
|
21
27
|
## 12.4.1
|
|
22
28
|
|
|
23
29
|
### Patch Changes
|
|
24
30
|
|
|
25
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
31
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
26
32
|
|
|
27
33
|
## 12.4.0
|
|
28
34
|
|
|
29
35
|
### Minor Changes
|
|
30
36
|
|
|
31
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
37
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
32
38
|
|
|
33
39
|
### Patch Changes
|
|
34
40
|
|
|
@@ -38,7 +44,7 @@
|
|
|
38
44
|
|
|
39
45
|
### Patch Changes
|
|
40
46
|
|
|
41
|
-
- [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
47
|
+
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
|
|
42
48
|
|
|
43
49
|
## 12.3.7
|
|
44
50
|
|
|
@@ -50,7 +56,7 @@
|
|
|
50
56
|
|
|
51
57
|
### Patch Changes
|
|
52
58
|
|
|
53
|
-
- [`a7e8a6c3ace`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7e8a6c3ace) - Prevent onBlanketClick function firing on Blanket when mousedown event begins on Blanket children
|
|
59
|
+
- [#29669](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29669) [`a7e8a6c3ace`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7e8a6c3ace) - Prevent onBlanketClick function firing on Blanket when mousedown event begins on Blanket children
|
|
54
60
|
|
|
55
61
|
## 12.3.5
|
|
56
62
|
|
|
@@ -80,25 +86,25 @@
|
|
|
80
86
|
|
|
81
87
|
### Patch Changes
|
|
82
88
|
|
|
83
|
-
- [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
|
|
89
|
+
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
|
|
84
90
|
|
|
85
91
|
## 12.3.0
|
|
86
92
|
|
|
87
93
|
### Minor Changes
|
|
88
94
|
|
|
89
|
-
- [`f2fe91811eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2fe91811eb) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behaviour change.
|
|
95
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`f2fe91811eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2fe91811eb) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behaviour change.
|
|
90
96
|
|
|
91
97
|
## 12.2.16
|
|
92
98
|
|
|
93
99
|
### Patch Changes
|
|
94
100
|
|
|
95
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
101
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
96
102
|
|
|
97
103
|
## 12.2.15
|
|
98
104
|
|
|
99
105
|
### Patch Changes
|
|
100
106
|
|
|
101
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
107
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
102
108
|
|
|
103
109
|
## 12.2.14
|
|
104
110
|
|
|
@@ -116,7 +122,7 @@
|
|
|
116
122
|
|
|
117
123
|
### Patch Changes
|
|
118
124
|
|
|
119
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
125
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
120
126
|
|
|
121
127
|
## 12.2.11
|
|
122
128
|
|
|
@@ -128,14 +134,14 @@
|
|
|
128
134
|
|
|
129
135
|
### Patch Changes
|
|
130
136
|
|
|
131
|
-
- [`dcd92130cc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd92130cc4) - Migrate deleted background accent tokens to replacements
|
|
137
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`dcd92130cc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd92130cc4) - Migrate deleted background accent tokens to replacements
|
|
132
138
|
- Updated dependencies
|
|
133
139
|
|
|
134
140
|
## 12.2.9
|
|
135
141
|
|
|
136
142
|
### Patch Changes
|
|
137
143
|
|
|
138
|
-
- [`a0b4a3db79c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0b4a3db79c) - Change internal type syntax to work with extract-react-types
|
|
144
|
+
- [#19696](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19696) [`a0b4a3db79c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0b4a3db79c) - Change internal type syntax to work with extract-react-types
|
|
139
145
|
|
|
140
146
|
## 12.2.8
|
|
141
147
|
|
|
@@ -147,7 +153,7 @@
|
|
|
147
153
|
|
|
148
154
|
### Patch Changes
|
|
149
155
|
|
|
150
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
|
|
156
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
|
|
151
157
|
- Updated dependencies
|
|
152
158
|
|
|
153
159
|
## 12.2.6
|
|
@@ -160,7 +166,7 @@
|
|
|
160
166
|
|
|
161
167
|
### Patch Changes
|
|
162
168
|
|
|
163
|
-
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
169
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
164
170
|
- Updated dependencies
|
|
165
171
|
|
|
166
172
|
## 12.2.4
|
|
@@ -173,7 +179,7 @@
|
|
|
173
179
|
|
|
174
180
|
### Patch Changes
|
|
175
181
|
|
|
176
|
-
- [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
182
|
+
- [#15632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15632) [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
177
183
|
|
|
178
184
|
## 12.2.2
|
|
179
185
|
|
|
@@ -191,7 +197,7 @@
|
|
|
191
197
|
|
|
192
198
|
### Minor Changes
|
|
193
199
|
|
|
194
|
-
- [`9f7f8e0b581`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f7f8e0b581) - [ux] Blanket now uses a transparent background color when un-tinted instead of using opacity.
|
|
200
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`9f7f8e0b581`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f7f8e0b581) - [ux] Blanket now uses a transparent background color when un-tinted instead of using opacity.
|
|
195
201
|
|
|
196
202
|
### Patch Changes
|
|
197
203
|
|
|
@@ -208,7 +214,7 @@
|
|
|
208
214
|
|
|
209
215
|
### Minor Changes
|
|
210
216
|
|
|
211
|
-
- [`6071d362abb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6071d362abb) - [ux] Colors now sourced from tokens.
|
|
217
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`6071d362abb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6071d362abb) - [ux] Colors now sourced from tokens.
|
|
212
218
|
|
|
213
219
|
### Patch Changes
|
|
214
220
|
|
|
@@ -219,13 +225,13 @@
|
|
|
219
225
|
|
|
220
226
|
### Patch Changes
|
|
221
227
|
|
|
222
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
228
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
223
229
|
|
|
224
230
|
## 12.0.0
|
|
225
231
|
|
|
226
232
|
### Major Changes
|
|
227
233
|
|
|
228
|
-
- [`f166f5398b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f166f5398b2) - In this version we made **Blanket** faster and lighter
|
|
234
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`f166f5398b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f166f5398b2) - In this version we made **Blanket** faster and lighter
|
|
229
235
|
|
|
230
236
|
- General performance improvements
|
|
231
237
|
|
|
@@ -257,7 +263,7 @@
|
|
|
257
263
|
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
258
264
|
|
|
259
265
|
For Atlassians,
|
|
260
|
-
refer to the [documentation](https://
|
|
266
|
+
refer to the [documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
|
|
261
267
|
|
|
262
268
|
### Patch Changes
|
|
263
269
|
|
|
@@ -268,37 +274,37 @@
|
|
|
268
274
|
|
|
269
275
|
### Patch Changes
|
|
270
276
|
|
|
271
|
-
- [`dd89416d229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd89416d229) - Updated dependency of `@atlaskit/theme` to 11.2.0
|
|
277
|
+
- [#12670](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12670) [`dd89416d229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd89416d229) - Updated dependency of `@atlaskit/theme` to 11.2.0
|
|
272
278
|
|
|
273
279
|
## 11.4.0
|
|
274
280
|
|
|
275
281
|
### Minor Changes
|
|
276
282
|
|
|
277
|
-
- [`96fda7877a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96fda7877a1) - We converted blanket from class to functional component and replaced styled components with emotion
|
|
283
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`96fda7877a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96fda7877a1) - We converted blanket from class to functional component and replaced styled components with emotion
|
|
278
284
|
|
|
279
285
|
## 11.3.1
|
|
280
286
|
|
|
281
287
|
### Patch Changes
|
|
282
288
|
|
|
283
|
-
- [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
289
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167) [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
284
290
|
|
|
285
291
|
## 11.3.0
|
|
286
292
|
|
|
287
293
|
### Minor Changes
|
|
288
294
|
|
|
289
|
-
- [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes usage of styled-components in favour of standardising on emotion
|
|
295
|
+
- [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170) [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes usage of styled-components in favour of standardising on emotion
|
|
290
296
|
|
|
291
297
|
## 11.2.1
|
|
292
298
|
|
|
293
299
|
### Patch Changes
|
|
294
300
|
|
|
295
|
-
- [`e08a57e5055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e08a57e5055) - Added the `design-system` tech stacks to the `package.json`
|
|
301
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`e08a57e5055`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e08a57e5055) - Added the `design-system` tech stacks to the `package.json`
|
|
296
302
|
|
|
297
303
|
## 11.2.0
|
|
298
304
|
|
|
299
305
|
### Minor Changes
|
|
300
306
|
|
|
301
|
-
- [`990aefd838b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/990aefd838b) - Blanket now accepts testId prop to be used for automated testing purposes.
|
|
307
|
+
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756) [`990aefd838b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/990aefd838b) - Blanket now accepts testId prop to be used for automated testing purposes.
|
|
302
308
|
|
|
303
309
|
### Patch Changes
|
|
304
310
|
|
|
@@ -308,25 +314,25 @@
|
|
|
308
314
|
|
|
309
315
|
### Patch Changes
|
|
310
316
|
|
|
311
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
317
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
312
318
|
|
|
313
319
|
## 11.1.0
|
|
314
320
|
|
|
315
321
|
### Minor Changes
|
|
316
322
|
|
|
317
|
-
- [`4f9e6e2db5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9e6e2db5) - These packages now have defined entry points -- this means that you cannot access internal files in the packages that are not meant to be public. Sub-components in these packages have been explicitly defined, aiding tree-shaking and reducing bundle size.
|
|
323
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170) [`4f9e6e2db5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9e6e2db5) - These packages now have defined entry points -- this means that you cannot access internal files in the packages that are not meant to be public. Sub-components in these packages have been explicitly defined, aiding tree-shaking and reducing bundle size.
|
|
318
324
|
|
|
319
325
|
## 11.0.4
|
|
320
326
|
|
|
321
327
|
### Patch Changes
|
|
322
328
|
|
|
323
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
329
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
324
330
|
|
|
325
331
|
## 11.0.3
|
|
326
332
|
|
|
327
333
|
### Patch Changes
|
|
328
334
|
|
|
329
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
335
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
330
336
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
331
337
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
332
338
|
|
|
@@ -340,7 +346,7 @@
|
|
|
340
346
|
|
|
341
347
|
### Patch Changes
|
|
342
348
|
|
|
343
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
349
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
344
350
|
|
|
345
351
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
346
352
|
to prevent duplicates of tslib being bundled.
|
|
@@ -349,7 +355,7 @@
|
|
|
349
355
|
|
|
350
356
|
### Major Changes
|
|
351
357
|
|
|
352
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
358
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
353
359
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
354
360
|
|
|
355
361
|
### Patch Changes
|
|
@@ -360,7 +366,7 @@
|
|
|
360
366
|
|
|
361
367
|
### Patch Changes
|
|
362
368
|
|
|
363
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
369
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
364
370
|
|
|
365
371
|
## 10.0.18
|
|
366
372
|
|
package/dist/cjs/blanket.js
CHANGED
|
@@ -13,10 +13,10 @@ var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
|
13
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
14
14
|
var _components = require("@atlaskit/theme/components");
|
|
15
15
|
var _constants = require("@atlaskit/theme/constants");
|
|
16
|
-
function ownKeys(
|
|
17
|
-
function _objectSpread(
|
|
16
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
|
|
18
18
|
var packageName = "@atlaskit/blanket";
|
|
19
|
-
var packageVersion = "12.4.
|
|
19
|
+
var packageVersion = "12.4.5";
|
|
20
20
|
var analyticsAttributes = {
|
|
21
21
|
componentName: 'blanket',
|
|
22
22
|
packageName: packageName,
|
|
@@ -79,7 +79,13 @@ var Blanket = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef)
|
|
|
79
79
|
mouseDownTarget.current = e.target;
|
|
80
80
|
}, []);
|
|
81
81
|
return (
|
|
82
|
-
|
|
82
|
+
/**
|
|
83
|
+
* It is not normally acceptable to add click and key handlers to non-interactive
|
|
84
|
+
* elements as this is an accessibility anti-pattern. However, because this
|
|
85
|
+
* instance is to enable light dismiss functionality instead of creating an
|
|
86
|
+
* inaccessible custom element, we can add role="presentation" so that there
|
|
87
|
+
* are no negative impacts to assistive technologies.
|
|
88
|
+
*/
|
|
83
89
|
(0, _react2.jsx)("div", {
|
|
84
90
|
role: "presentation",
|
|
85
91
|
css: [baseStyles, shouldAllowClickThrough && shouldAllowClickThroughStyles, backgroundStyle[mode], !isTinted && invisibleStyles],
|
package/dist/es2019/blanket.js
CHANGED
|
@@ -7,7 +7,7 @@ import { DN90A, N100A } from '@atlaskit/theme/colors';
|
|
|
7
7
|
import { useGlobalTheme } from '@atlaskit/theme/components';
|
|
8
8
|
import { layers } from '@atlaskit/theme/constants';
|
|
9
9
|
const packageName = "@atlaskit/blanket";
|
|
10
|
-
const packageVersion = "12.4.
|
|
10
|
+
const packageVersion = "12.4.5";
|
|
11
11
|
const analyticsAttributes = {
|
|
12
12
|
componentName: 'blanket',
|
|
13
13
|
packageName,
|
|
@@ -68,7 +68,13 @@ const Blanket = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Blanket({
|
|
|
68
68
|
mouseDownTarget.current = e.target;
|
|
69
69
|
}, []);
|
|
70
70
|
return (
|
|
71
|
-
|
|
71
|
+
/**
|
|
72
|
+
* It is not normally acceptable to add click and key handlers to non-interactive
|
|
73
|
+
* elements as this is an accessibility anti-pattern. However, because this
|
|
74
|
+
* instance is to enable light dismiss functionality instead of creating an
|
|
75
|
+
* inaccessible custom element, we can add role="presentation" so that there
|
|
76
|
+
* are no negative impacts to assistive technologies.
|
|
77
|
+
*/
|
|
72
78
|
jsx("div", {
|
|
73
79
|
role: "presentation",
|
|
74
80
|
css: [baseStyles, shouldAllowClickThrough && shouldAllowClickThroughStyles, backgroundStyle[mode], !isTinted && invisibleStyles],
|
package/dist/esm/blanket.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import { forwardRef, memo, useCallback, useRef } from 'react';
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
@@ -10,7 +10,7 @@ import { DN90A, N100A } from '@atlaskit/theme/colors';
|
|
|
10
10
|
import { useGlobalTheme } from '@atlaskit/theme/components';
|
|
11
11
|
import { layers } from '@atlaskit/theme/constants';
|
|
12
12
|
var packageName = "@atlaskit/blanket";
|
|
13
|
-
var packageVersion = "12.4.
|
|
13
|
+
var packageVersion = "12.4.5";
|
|
14
14
|
var analyticsAttributes = {
|
|
15
15
|
componentName: 'blanket',
|
|
16
16
|
packageName: packageName,
|
|
@@ -73,7 +73,13 @@ var Blanket = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Blanket(_ref,
|
|
|
73
73
|
mouseDownTarget.current = e.target;
|
|
74
74
|
}, []);
|
|
75
75
|
return (
|
|
76
|
-
|
|
76
|
+
/**
|
|
77
|
+
* It is not normally acceptable to add click and key handlers to non-interactive
|
|
78
|
+
* elements as this is an accessibility anti-pattern. However, because this
|
|
79
|
+
* instance is to enable light dismiss functionality instead of creating an
|
|
80
|
+
* inaccessible custom element, we can add role="presentation" so that there
|
|
81
|
+
* are no negative impacts to assistive technologies.
|
|
82
|
+
*/
|
|
77
83
|
jsx("div", {
|
|
78
84
|
role: "presentation",
|
|
79
85
|
css: [baseStyles, shouldAllowClickThrough && shouldAllowClickThroughStyles, backgroundStyle[mode], !isTinted && invisibleStyles],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/blanket",
|
|
3
|
-
"version": "12.4.
|
|
3
|
+
"version": "12.4.5",
|
|
4
4
|
"description": "A blanket covers the underlying UI for a layered component, such as a modal dialog or a tooltip.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
43
43
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
44
44
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
45
|
-
"@atlaskit/theme": "^12.
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
45
|
+
"@atlaskit/theme": "^12.6.0",
|
|
46
|
+
"@atlaskit/tokens": "^1.25.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1"
|
|
49
49
|
},
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/blanket"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
10
|
+
import { MemoExoticComponent } from 'react';
|
|
11
|
+
import { ReactNode } from 'react';
|
|
12
|
+
import { RefAttributes } from 'react';
|
|
13
|
+
import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
14
|
+
|
|
15
|
+
// @public
|
|
16
|
+
const Blanket: MemoExoticComponent<ForwardRefExoticComponent<BlanketProps & RefAttributes<HTMLDivElement>>>;
|
|
17
|
+
export default Blanket;
|
|
18
|
+
|
|
19
|
+
// @public (undocumented)
|
|
20
|
+
export interface BlanketProps {
|
|
21
|
+
analyticsContext?: Record<string, any>;
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
isTinted?: boolean;
|
|
24
|
+
onBlanketClicked?: (event: React.MouseEvent<HTMLDivElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
25
|
+
shouldAllowClickThrough?: boolean;
|
|
26
|
+
testId?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// (No @packageDocumentation comment for this package)
|
|
30
|
+
|
|
31
|
+
```
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED