@atlaskit/blanket 12.2.14 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 12.2.14
4
10
 
5
11
  ### Patch Changes
@@ -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.14";
31
+ var packageVersion = "12.2.15";
32
32
  var analyticsAttributes = {
33
33
  componentName: 'blanket',
34
34
  packageName: packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/blanket",
3
- "version": "12.2.14",
3
+ "version": "12.2.15",
4
4
  "sideEffects": false
5
5
  }
@@ -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.14";
10
+ const packageVersion = "12.2.15";
11
11
  const analyticsAttributes = {
12
12
  componentName: 'blanket',
13
13
  packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/blanket",
3
- "version": "12.2.14",
3
+ "version": "12.2.15",
4
4
  "sideEffects": false
5
5
  }
@@ -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.14";
16
+ var packageVersion = "12.2.15";
17
17
  var analyticsAttributes = {
18
18
  componentName: 'blanket',
19
19
  packageName: packageName,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/blanket",
3
- "version": "12.2.14",
3
+ "version": "12.2.15",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/blanket",
3
- "version": "12.2.14",
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/"
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/analytics-next": "^8.2.0",
32
32
  "@atlaskit/codemod-utils": "^4.1.0",
33
- "@atlaskit/ds-lib": "^2.0.0",
33
+ "@atlaskit/ds-lib": "^2.1.0",
34
34
  "@atlaskit/theme": "^12.1.0",
35
35
  "@atlaskit/tokens": "^0.10.0",
36
36
  "@babel/runtime": "^7.0.0",
@@ -54,7 +54,7 @@
54
54
  "react-dom": "^16.8.0",
55
55
  "react-lorem-component": "^0.13.0",
56
56
  "storybook-addon-performance": "^0.16.0",
57
- "typescript": "4.2.4",
57
+ "typescript": "4.3.5",
58
58
  "wait-for-expect": "^1.2.0"
59
59
  },
60
60
  "keywords": [
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
+ ```