@atlaskit/blanket 12.2.12 → 12.2.15
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 +18 -0
- package/dist/cjs/blanket.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/blanket.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/blanket.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +9 -7
- package/report.api.md +59 -0
- package/types/package.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/blanket
|
|
2
2
|
|
|
3
|
+
## 12.2.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
8
|
+
|
|
9
|
+
## 12.2.14
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 12.2.13
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 12.2.12
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/blanket.js
CHANGED
|
@@ -28,7 +28,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
28
28
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
29
29
|
|
|
30
30
|
var packageName = "@atlaskit/blanket";
|
|
31
|
-
var packageVersion = "12.2.
|
|
31
|
+
var packageVersion = "12.2.15";
|
|
32
32
|
var analyticsAttributes = {
|
|
33
33
|
componentName: 'blanket',
|
|
34
34
|
packageName: packageName,
|
package/dist/cjs/version.json
CHANGED
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.2.
|
|
10
|
+
const packageVersion = "12.2.15";
|
|
11
11
|
const analyticsAttributes = {
|
|
12
12
|
componentName: 'blanket',
|
|
13
13
|
packageName,
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/blanket.js
CHANGED
|
@@ -13,7 +13,7 @@ import { DN90A, N100A } from '@atlaskit/theme/colors';
|
|
|
13
13
|
import { useGlobalTheme } from '@atlaskit/theme/components';
|
|
14
14
|
import { layers } from '@atlaskit/theme/constants';
|
|
15
15
|
var packageName = "@atlaskit/blanket";
|
|
16
|
-
var packageVersion = "12.2.
|
|
16
|
+
var packageVersion = "12.2.15";
|
|
17
17
|
var analyticsAttributes = {
|
|
18
18
|
componentName: 'blanket',
|
|
19
19
|
packageName: packageName,
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/blanket",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.15",
|
|
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/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"team": "Design System Team",
|
|
20
20
|
"releaseModel": "scheduled",
|
|
21
21
|
"website": {
|
|
22
|
-
"name": "Blanket"
|
|
22
|
+
"name": "Blanket",
|
|
23
|
+
"category": "Components"
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
"af:exports": {
|
|
@@ -28,10 +29,10 @@
|
|
|
28
29
|
},
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
31
|
-
"@atlaskit/codemod-utils": "^4.
|
|
32
|
-
"@atlaskit/ds-lib": "^1.
|
|
32
|
+
"@atlaskit/codemod-utils": "^4.1.0",
|
|
33
|
+
"@atlaskit/ds-lib": "^2.1.0",
|
|
33
34
|
"@atlaskit/theme": "^12.1.0",
|
|
34
|
-
"@atlaskit/tokens": "^0.
|
|
35
|
+
"@atlaskit/tokens": "^0.10.0",
|
|
35
36
|
"@babel/runtime": "^7.0.0",
|
|
36
37
|
"@emotion/core": "^10.0.9"
|
|
37
38
|
},
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
"react-dom": "^16.8.0",
|
|
54
55
|
"react-lorem-component": "^0.13.0",
|
|
55
56
|
"storybook-addon-performance": "^0.16.0",
|
|
56
|
-
"typescript": "4.
|
|
57
|
+
"typescript": "4.3.5",
|
|
57
58
|
"wait-for-expect": "^1.2.0"
|
|
58
59
|
},
|
|
59
60
|
"keywords": [
|
|
@@ -66,6 +67,7 @@
|
|
|
66
67
|
"import-structure": "atlassian-conventions"
|
|
67
68
|
},
|
|
68
69
|
"@repo/internal": {
|
|
70
|
+
"dom-events": "use-bind-event-listener",
|
|
69
71
|
"design-system": "v1",
|
|
70
72
|
"styling": [
|
|
71
73
|
"static",
|
package/report.api.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
7
|
+
|
|
8
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
9
|
+
import { MemoExoticComponent } from 'react';
|
|
10
|
+
import { ReactNode } from 'react';
|
|
11
|
+
import { RefAttributes } from 'react';
|
|
12
|
+
import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* __Blanket__
|
|
16
|
+
*
|
|
17
|
+
* A Blanket provides the overlay layer for components such as a modal dialog or a tooltip
|
|
18
|
+
*
|
|
19
|
+
* - [Examples](https://atlaskit.atlassian.com/examples/design-system/blanket/basic-usage)
|
|
20
|
+
*/
|
|
21
|
+
declare const Blanket: MemoExoticComponent<ForwardRefExoticComponent<
|
|
22
|
+
BlanketProps & RefAttributes<HTMLDivElement>
|
|
23
|
+
>>;
|
|
24
|
+
export default Blanket;
|
|
25
|
+
|
|
26
|
+
export declare interface BlanketProps {
|
|
27
|
+
/**
|
|
28
|
+
* Whether mouse events can pierce the blanket. If true, onBlanketClicked will not be fired.
|
|
29
|
+
*/
|
|
30
|
+
shouldAllowClickThrough?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the blanket has a tinted background color.
|
|
33
|
+
*/
|
|
34
|
+
isTinted?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Handler function to be called when the blanket is clicked.
|
|
37
|
+
*/
|
|
38
|
+
onBlanketClicked?: (
|
|
39
|
+
event: React.MouseEvent<HTMLDivElement>,
|
|
40
|
+
analyticsEvent: UIAnalyticsEvent,
|
|
41
|
+
) => void;
|
|
42
|
+
/**
|
|
43
|
+
* Additional information to be included in the `context` of analytics events.
|
|
44
|
+
*/
|
|
45
|
+
analyticsContext?: Record<string, any>;
|
|
46
|
+
/**
|
|
47
|
+
* A `testId` prop is provided for specified elements,
|
|
48
|
+
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
|
|
49
|
+
* serving as a hook for automated tests.
|
|
50
|
+
*/
|
|
51
|
+
testId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The children to be rendered within Blanket.
|
|
54
|
+
*/
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export {};
|
|
59
|
+
```
|