@atlaskit/blanket 12.4.3 → 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 +46 -34
- package/dist/cjs/blanket.js +20 -11
- package/dist/es2019/blanket.js +18 -9
- package/dist/esm/blanket.js +20 -11
- package/package.json +4 -7
- 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,28 +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
|
+
|
|
9
|
+
## 12.4.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
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.
|
|
14
|
+
|
|
3
15
|
## 12.4.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`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.
|
|
8
20
|
|
|
9
21
|
## 12.4.2
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`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
|
|
14
26
|
|
|
15
27
|
## 12.4.1
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`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`
|
|
20
32
|
|
|
21
33
|
## 12.4.0
|
|
22
34
|
|
|
23
35
|
### Minor Changes
|
|
24
36
|
|
|
25
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
37
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
26
38
|
|
|
27
39
|
### Patch Changes
|
|
28
40
|
|
|
@@ -32,7 +44,7 @@
|
|
|
32
44
|
|
|
33
45
|
### Patch Changes
|
|
34
46
|
|
|
35
|
-
- [`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.
|
|
36
48
|
|
|
37
49
|
## 12.3.7
|
|
38
50
|
|
|
@@ -44,7 +56,7 @@
|
|
|
44
56
|
|
|
45
57
|
### Patch Changes
|
|
46
58
|
|
|
47
|
-
- [`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
|
|
48
60
|
|
|
49
61
|
## 12.3.5
|
|
50
62
|
|
|
@@ -74,25 +86,25 @@
|
|
|
74
86
|
|
|
75
87
|
### Patch Changes
|
|
76
88
|
|
|
77
|
-
- [`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.
|
|
78
90
|
|
|
79
91
|
## 12.3.0
|
|
80
92
|
|
|
81
93
|
### Minor Changes
|
|
82
94
|
|
|
83
|
-
- [`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.
|
|
84
96
|
|
|
85
97
|
## 12.2.16
|
|
86
98
|
|
|
87
99
|
### Patch Changes
|
|
88
100
|
|
|
89
|
-
- [`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`
|
|
90
102
|
|
|
91
103
|
## 12.2.15
|
|
92
104
|
|
|
93
105
|
### Patch Changes
|
|
94
106
|
|
|
95
|
-
- [`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`.
|
|
96
108
|
|
|
97
109
|
## 12.2.14
|
|
98
110
|
|
|
@@ -110,7 +122,7 @@
|
|
|
110
122
|
|
|
111
123
|
### Patch Changes
|
|
112
124
|
|
|
113
|
-
- [`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
|
|
114
126
|
|
|
115
127
|
## 12.2.11
|
|
116
128
|
|
|
@@ -122,14 +134,14 @@
|
|
|
122
134
|
|
|
123
135
|
### Patch Changes
|
|
124
136
|
|
|
125
|
-
- [`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
|
|
126
138
|
- Updated dependencies
|
|
127
139
|
|
|
128
140
|
## 12.2.9
|
|
129
141
|
|
|
130
142
|
### Patch Changes
|
|
131
143
|
|
|
132
|
-
- [`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
|
|
133
145
|
|
|
134
146
|
## 12.2.8
|
|
135
147
|
|
|
@@ -141,7 +153,7 @@
|
|
|
141
153
|
|
|
142
154
|
### Patch Changes
|
|
143
155
|
|
|
144
|
-
- [`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
|
|
145
157
|
- Updated dependencies
|
|
146
158
|
|
|
147
159
|
## 12.2.6
|
|
@@ -154,7 +166,7 @@
|
|
|
154
166
|
|
|
155
167
|
### Patch Changes
|
|
156
168
|
|
|
157
|
-
- [`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.
|
|
158
170
|
- Updated dependencies
|
|
159
171
|
|
|
160
172
|
## 12.2.4
|
|
@@ -167,7 +179,7 @@
|
|
|
167
179
|
|
|
168
180
|
### Patch Changes
|
|
169
181
|
|
|
170
|
-
- [`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.
|
|
171
183
|
|
|
172
184
|
## 12.2.2
|
|
173
185
|
|
|
@@ -185,7 +197,7 @@
|
|
|
185
197
|
|
|
186
198
|
### Minor Changes
|
|
187
199
|
|
|
188
|
-
- [`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.
|
|
189
201
|
|
|
190
202
|
### Patch Changes
|
|
191
203
|
|
|
@@ -202,7 +214,7 @@
|
|
|
202
214
|
|
|
203
215
|
### Minor Changes
|
|
204
216
|
|
|
205
|
-
- [`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.
|
|
206
218
|
|
|
207
219
|
### Patch Changes
|
|
208
220
|
|
|
@@ -213,13 +225,13 @@
|
|
|
213
225
|
|
|
214
226
|
### Patch Changes
|
|
215
227
|
|
|
216
|
-
- [`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`.
|
|
217
229
|
|
|
218
230
|
## 12.0.0
|
|
219
231
|
|
|
220
232
|
### Major Changes
|
|
221
233
|
|
|
222
|
-
- [`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
|
|
223
235
|
|
|
224
236
|
- General performance improvements
|
|
225
237
|
|
|
@@ -251,7 +263,7 @@
|
|
|
251
263
|
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
252
264
|
|
|
253
265
|
For Atlassians,
|
|
254
|
-
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.
|
|
255
267
|
|
|
256
268
|
### Patch Changes
|
|
257
269
|
|
|
@@ -262,37 +274,37 @@
|
|
|
262
274
|
|
|
263
275
|
### Patch Changes
|
|
264
276
|
|
|
265
|
-
- [`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
|
|
266
278
|
|
|
267
279
|
## 11.4.0
|
|
268
280
|
|
|
269
281
|
### Minor Changes
|
|
270
282
|
|
|
271
|
-
- [`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
|
|
272
284
|
|
|
273
285
|
## 11.3.1
|
|
274
286
|
|
|
275
287
|
### Patch Changes
|
|
276
288
|
|
|
277
|
-
- [`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`
|
|
278
290
|
|
|
279
291
|
## 11.3.0
|
|
280
292
|
|
|
281
293
|
### Minor Changes
|
|
282
294
|
|
|
283
|
-
- [`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
|
|
284
296
|
|
|
285
297
|
## 11.2.1
|
|
286
298
|
|
|
287
299
|
### Patch Changes
|
|
288
300
|
|
|
289
|
-
- [`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`
|
|
290
302
|
|
|
291
303
|
## 11.2.0
|
|
292
304
|
|
|
293
305
|
### Minor Changes
|
|
294
306
|
|
|
295
|
-
- [`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.
|
|
296
308
|
|
|
297
309
|
### Patch Changes
|
|
298
310
|
|
|
@@ -302,25 +314,25 @@
|
|
|
302
314
|
|
|
303
315
|
### Patch Changes
|
|
304
316
|
|
|
305
|
-
- [`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.
|
|
306
318
|
|
|
307
319
|
## 11.1.0
|
|
308
320
|
|
|
309
321
|
### Minor Changes
|
|
310
322
|
|
|
311
|
-
- [`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.
|
|
312
324
|
|
|
313
325
|
## 11.0.4
|
|
314
326
|
|
|
315
327
|
### Patch Changes
|
|
316
328
|
|
|
317
|
-
- [`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
|
|
318
330
|
|
|
319
331
|
## 11.0.3
|
|
320
332
|
|
|
321
333
|
### Patch Changes
|
|
322
334
|
|
|
323
|
-
- [`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.
|
|
324
336
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
325
337
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
326
338
|
|
|
@@ -334,7 +346,7 @@
|
|
|
334
346
|
|
|
335
347
|
### Patch Changes
|
|
336
348
|
|
|
337
|
-
- [`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
|
|
338
350
|
|
|
339
351
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
340
352
|
to prevent duplicates of tslib being bundled.
|
|
@@ -343,7 +355,7 @@
|
|
|
343
355
|
|
|
344
356
|
### Major Changes
|
|
345
357
|
|
|
346
|
-
- [`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.
|
|
347
359
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
348
360
|
|
|
349
361
|
### Patch Changes
|
|
@@ -354,7 +366,7 @@
|
|
|
354
366
|
|
|
355
367
|
### Patch Changes
|
|
356
368
|
|
|
357
|
-
- [`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
|
|
358
370
|
|
|
359
371
|
## 10.0.18
|
|
360
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,
|
|
@@ -78,14 +78,23 @@ var Blanket = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef)
|
|
|
78
78
|
var onMouseDown = (0, _react.useCallback)(function (e) {
|
|
79
79
|
mouseDownTarget.current = e.target;
|
|
80
80
|
}, []);
|
|
81
|
-
return (
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
return (
|
|
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
|
+
*/
|
|
89
|
+
(0, _react2.jsx)("div", {
|
|
90
|
+
role: "presentation",
|
|
91
|
+
css: [baseStyles, shouldAllowClickThrough && shouldAllowClickThroughStyles, backgroundStyle[mode], !isTinted && invisibleStyles],
|
|
92
|
+
onClick: onClick,
|
|
93
|
+
onMouseDown: onMouseDown,
|
|
94
|
+
"data-testid": testId,
|
|
95
|
+
ref: ref
|
|
96
|
+
}, children)
|
|
97
|
+
);
|
|
89
98
|
}));
|
|
90
99
|
Blanket.displayName = 'Blanket';
|
|
91
100
|
var _default = Blanket;
|
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,
|
|
@@ -67,14 +67,23 @@ const Blanket = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Blanket({
|
|
|
67
67
|
const onMouseDown = useCallback(e => {
|
|
68
68
|
mouseDownTarget.current = e.target;
|
|
69
69
|
}, []);
|
|
70
|
-
return
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
70
|
+
return (
|
|
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
|
+
*/
|
|
78
|
+
jsx("div", {
|
|
79
|
+
role: "presentation",
|
|
80
|
+
css: [baseStyles, shouldAllowClickThrough && shouldAllowClickThroughStyles, backgroundStyle[mode], !isTinted && invisibleStyles],
|
|
81
|
+
onClick: onClick,
|
|
82
|
+
onMouseDown: onMouseDown,
|
|
83
|
+
"data-testid": testId,
|
|
84
|
+
ref: ref
|
|
85
|
+
}, children)
|
|
86
|
+
);
|
|
78
87
|
}));
|
|
79
88
|
Blanket.displayName = 'Blanket';
|
|
80
89
|
export default Blanket;
|
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,
|
|
@@ -72,14 +72,23 @@ var Blanket = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function Blanket(_ref,
|
|
|
72
72
|
var onMouseDown = useCallback(function (e) {
|
|
73
73
|
mouseDownTarget.current = e.target;
|
|
74
74
|
}, []);
|
|
75
|
-
return
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
return (
|
|
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
|
+
*/
|
|
83
|
+
jsx("div", {
|
|
84
|
+
role: "presentation",
|
|
85
|
+
css: [baseStyles, shouldAllowClickThrough && shouldAllowClickThroughStyles, backgroundStyle[mode], !isTinted && invisibleStyles],
|
|
86
|
+
onClick: onClick,
|
|
87
|
+
onMouseDown: onMouseDown,
|
|
88
|
+
"data-testid": testId,
|
|
89
|
+
ref: ref
|
|
90
|
+
}, children)
|
|
91
|
+
);
|
|
83
92
|
}));
|
|
84
93
|
Blanket.displayName = 'Blanket';
|
|
85
94
|
export default Blanket;
|
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
|
},
|
|
@@ -51,11 +51,8 @@
|
|
|
51
51
|
"react": "^16.8.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"@atlaskit/button": "^16.7.0",
|
|
56
|
-
"@atlaskit/docs": "*",
|
|
54
|
+
"@af/accessibility-testing": "*",
|
|
57
55
|
"@atlaskit/ssr": "*",
|
|
58
|
-
"@atlaskit/toggle": "^12.6.0",
|
|
59
56
|
"@atlaskit/visual-regression": "*",
|
|
60
57
|
"@atlaskit/webdriver-runner": "*",
|
|
61
58
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED