@atlaskit/blanket 15.0.14 → 15.0.16
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 +12 -11
- package/dist/cjs/blanket.js +2 -2
- package/dist/es2019/blanket.js +2 -2
- package/dist/esm/blanket.js +2 -2
- package/offerings.json +32 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/blanket
|
|
2
2
|
|
|
3
|
+
## 15.0.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 15.0.15
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 15.0.14
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -561,7 +573,6 @@
|
|
|
561
573
|
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
|
|
562
574
|
[`f166f5398b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f166f5398b2) - In this
|
|
563
575
|
version we made **Blanket** faster and lighter
|
|
564
|
-
|
|
565
576
|
- General performance improvements
|
|
566
577
|
|
|
567
578
|
- **BREAKING** **Blanket** now accepts a `children` prop whose value is of type `ReactElement`.
|
|
@@ -586,7 +597,6 @@
|
|
|
586
597
|
will automatically be upgraded.
|
|
587
598
|
|
|
588
599
|
What will be changed:
|
|
589
|
-
|
|
590
600
|
- It will rename the `canClickThrough` prop to `shouldAllowClickThrough`.
|
|
591
601
|
|
|
592
602
|
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
@@ -750,7 +760,6 @@
|
|
|
750
760
|
|
|
751
761
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
752
762
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
753
|
-
|
|
754
763
|
- @atlaskit/docs@8.3.2
|
|
755
764
|
- @atlaskit/analytics-next@6.3.5
|
|
756
765
|
- @atlaskit/button@13.3.7
|
|
@@ -892,12 +901,10 @@
|
|
|
892
901
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
893
902
|
|
|
894
903
|
**Breaking changes**
|
|
895
|
-
|
|
896
904
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
897
905
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
898
906
|
|
|
899
907
|
**Breaking changes to TypeScript annotations**
|
|
900
|
-
|
|
901
908
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
902
909
|
props as a generic type.
|
|
903
910
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -938,7 +945,6 @@
|
|
|
938
945
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
939
946
|
|
|
940
947
|
In this PR, we are:
|
|
941
|
-
|
|
942
948
|
- Re-introducing dist build folders
|
|
943
949
|
- Adding back cjs
|
|
944
950
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -989,20 +995,17 @@
|
|
|
989
995
|
## 10.0.1
|
|
990
996
|
|
|
991
997
|
- [patch][27cf35ca9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27cf35ca9d):
|
|
992
|
-
|
|
993
998
|
- Updated event type for `onBlanketClicked` prop
|
|
994
999
|
|
|
995
1000
|
## 10.0.0
|
|
996
1001
|
|
|
997
1002
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
998
|
-
|
|
999
1003
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1000
1004
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1001
1005
|
|
|
1002
1006
|
## 9.0.0
|
|
1003
1007
|
|
|
1004
1008
|
- [major][38dab947e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/38dab947e6):
|
|
1005
|
-
|
|
1006
1009
|
- Updated Blanket to TypeScript. Flow types are no longer exported.
|
|
1007
1010
|
|
|
1008
1011
|
## 8.0.3
|
|
@@ -1034,7 +1037,6 @@
|
|
|
1034
1037
|
## 8.0.0
|
|
1035
1038
|
|
|
1036
1039
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1037
|
-
|
|
1038
1040
|
- Drop ES5 from all the flow modules
|
|
1039
1041
|
|
|
1040
1042
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1102,7 +1104,6 @@
|
|
|
1102
1104
|
## 7.0.9
|
|
1103
1105
|
|
|
1104
1106
|
- [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
|
|
1105
|
-
|
|
1106
1107
|
- Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
|
|
1107
1108
|
to type check properly
|
|
1108
1109
|
|
package/dist/cjs/blanket.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* blanket.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* blanket.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -20,7 +20,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
20
20
|
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; }
|
|
21
21
|
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; }
|
|
22
22
|
var packageName = "@atlaskit/blanket";
|
|
23
|
-
var packageVersion = "
|
|
23
|
+
var packageVersion = "15.0.15";
|
|
24
24
|
var analyticsAttributes = {
|
|
25
25
|
componentName: 'blanket',
|
|
26
26
|
packageName: packageName,
|
package/dist/es2019/blanket.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* blanket.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* blanket.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import "./blanket.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
8
8
|
import { N100A } from '@atlaskit/theme/colors';
|
|
9
9
|
import { layers } from '@atlaskit/theme/constants';
|
|
10
10
|
const packageName = "@atlaskit/blanket";
|
|
11
|
-
const packageVersion = "
|
|
11
|
+
const packageVersion = "15.0.15";
|
|
12
12
|
const analyticsAttributes = {
|
|
13
13
|
componentName: 'blanket',
|
|
14
14
|
packageName,
|
package/dist/esm/blanket.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* blanket.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* blanket.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./blanket.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -11,7 +11,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
11
11
|
import { N100A } from '@atlaskit/theme/colors';
|
|
12
12
|
import { layers } from '@atlaskit/theme/constants';
|
|
13
13
|
var packageName = "@atlaskit/blanket";
|
|
14
|
-
var packageVersion = "
|
|
14
|
+
var packageVersion = "15.0.15";
|
|
15
15
|
var analyticsAttributes = {
|
|
16
16
|
componentName: 'blanket',
|
|
17
17
|
packageName: packageName,
|
package/offerings.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Blanket",
|
|
4
|
+
"package": "@atlaskit/blanket",
|
|
5
|
+
"import": {
|
|
6
|
+
"name": "Blanket",
|
|
7
|
+
"package": "@atlaskit/blanket",
|
|
8
|
+
"type": "default"
|
|
9
|
+
},
|
|
10
|
+
"keywords": ["blanket", "overlay", "backdrop", "modal", "layer"],
|
|
11
|
+
"categories": ["overlay"],
|
|
12
|
+
"shortDescription": "A component for creating overlay backgrounds behind modals and other layered content.",
|
|
13
|
+
"status": "general-availability",
|
|
14
|
+
"accessibilityGuidelines": [
|
|
15
|
+
"Ensure blanket doesn't interfere with focus management",
|
|
16
|
+
"Provide appropriate click handling for dismissal",
|
|
17
|
+
"Consider screen reader experience with overlays"
|
|
18
|
+
],
|
|
19
|
+
"usageGuidelines": [
|
|
20
|
+
"Use behind modals and overlays",
|
|
21
|
+
"Consider click-to-dismiss behavior",
|
|
22
|
+
"Use appropriate tinting for context",
|
|
23
|
+
"Ensure proper z-index layering"
|
|
24
|
+
],
|
|
25
|
+
"contentGuidelines": [
|
|
26
|
+
"Use consistently across similar overlay contexts",
|
|
27
|
+
"Consider visual hierarchy with overlays",
|
|
28
|
+
"Ensure appropriate contrast with content"
|
|
29
|
+
],
|
|
30
|
+
"examples": ["./examples/ai/blanket.tsx"]
|
|
31
|
+
}
|
|
32
|
+
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/blanket",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.16",
|
|
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/"
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
37
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
38
|
-
"@atlaskit/css": "^0.
|
|
39
|
-
"@atlaskit/ds-lib": "^5.
|
|
38
|
+
"@atlaskit/css": "^0.15.0",
|
|
39
|
+
"@atlaskit/ds-lib": "^5.1.0",
|
|
40
40
|
"@atlaskit/theme": "^21.0.0",
|
|
41
|
-
"@atlaskit/tokens": "^
|
|
41
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
|
-
"@compiled/react": "^0.18.
|
|
43
|
+
"@compiled/react": "^0.18.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^18.2.0"
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@af/accessibility-testing": "workspace:^",
|
|
50
50
|
"@af/integration-testing": "workspace:^",
|
|
51
|
-
"@atlaskit/badge": "^18.
|
|
52
|
-
"@atlaskit/button": "^23.
|
|
53
|
-
"@atlaskit/docs": "^11.
|
|
51
|
+
"@atlaskit/badge": "^18.2.0",
|
|
52
|
+
"@atlaskit/button": "^23.5.0",
|
|
53
|
+
"@atlaskit/docs": "^11.2.0",
|
|
54
54
|
"@atlaskit/heading": "^5.2.0",
|
|
55
|
-
"@atlaskit/layering": "^3.
|
|
55
|
+
"@atlaskit/layering": "^3.1.0",
|
|
56
56
|
"@atlaskit/link": "^3.2.0",
|
|
57
|
-
"@atlaskit/primitives": "^
|
|
57
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
58
58
|
"@atlaskit/section-message": "^8.7.0",
|
|
59
59
|
"@atlaskit/toggle": "^15.1.0",
|
|
60
60
|
"@atlassian/ssr-tests": "^0.3.0",
|