@atlaskit/blanket 12.3.1 → 12.3.3

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,17 @@
1
1
  # @atlaskit/blanket
2
2
 
3
+ ## 12.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 12.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 12.3.1
4
16
 
5
17
  ### 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.3.1";
31
+ var packageVersion = "12.3.3";
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.3.1",
3
+ "version": "12.3.3",
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.3.1";
10
+ const packageVersion = "12.3.3";
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.3.1",
3
+ "version": "12.3.3",
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.3.1";
16
+ var packageVersion = "12.3.3";
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.3.1",
3
+ "version": "12.3.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/blanket",
3
- "version": "12.3.1",
3
+ "version": "12.3.3",
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/"
@@ -12,14 +12,6 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.0 <4.5": {
17
- "*": [
18
- "dist/types-ts4.0/*",
19
- "dist/types-ts4.0/index.d.ts"
20
- ]
21
- }
22
- },
23
15
  "sideEffects": false,
24
16
  "atlaskit:src": "src/index.tsx",
25
17
  "homepage": "https://atlassian.design/components/blanket",
@@ -41,7 +33,7 @@
41
33
  "@atlaskit/codemod-utils": "^4.1.0",
42
34
  "@atlaskit/ds-lib": "^2.1.0",
43
35
  "@atlaskit/theme": "^12.2.0",
44
- "@atlaskit/tokens": "^0.10.0",
36
+ "@atlaskit/tokens": "^0.12.0",
45
37
  "@babel/runtime": "^7.0.0",
46
38
  "@emotion/react": "^11.7.1"
47
39
  },
@@ -50,7 +42,7 @@
50
42
  },
51
43
  "devDependencies": {
52
44
  "@atlaskit/badge": "^15.0.0",
53
- "@atlaskit/button": "^16.3.0",
45
+ "@atlaskit/button": "^16.5.0",
54
46
  "@atlaskit/docs": "*",
55
47
  "@atlaskit/ssr": "*",
56
48
  "@atlaskit/toggle": "^12.5.0",
package/report.api.md CHANGED
@@ -1,8 +1,17 @@
1
- ## API Report File for "@atlaskit/blanket".
1
+ <!-- API Report Version: 2.2 -->
2
2
 
3
- > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
3
+ ## API Report File for "@atlaskit/blanket"
4
4
 
5
- [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
9
+
10
+ - [Main Entry Types](#main-entry-types)
11
+
12
+ ### Main Entry Types
13
+
14
+ <!--SECTION START: Main Entry Types-->
6
15
 
7
16
  ```ts
8
17
  /// <reference types="react" />
@@ -13,49 +22,26 @@ import { ReactNode } from 'react';
13
22
  import { RefAttributes } from 'react';
14
23
  import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
15
24
 
16
- /**
17
- * __Blanket__
18
- *
19
- * A Blanket provides the overlay layer for components such as a modal dialog or a tooltip
20
- *
21
- * - [Examples](https://atlaskit.atlassian.com/examples/design-system/blanket/basic-usage)
22
- */
23
- declare const Blanket: MemoExoticComponent<ForwardRefExoticComponent<
24
- BlanketProps & RefAttributes<HTMLDivElement>
25
- >>;
25
+ // @public
26
+ const Blanket: MemoExoticComponent<
27
+ ForwardRefExoticComponent<BlanketProps & RefAttributes<HTMLDivElement>>
28
+ >;
26
29
  export default Blanket;
27
30
 
28
- export declare interface BlanketProps {
29
- /**
30
- * Whether mouse events can pierce the blanket. If true, onBlanketClicked will not be fired.
31
- */
32
- shouldAllowClickThrough?: boolean;
33
- /**
34
- * Whether the blanket has a tinted background color.
35
- */
31
+ // @public (undocumented)
32
+ export interface BlanketProps {
33
+ analyticsContext?: Record<string, any>;
34
+ children?: ReactNode;
36
35
  isTinted?: boolean;
37
- /**
38
- * Handler function to be called when the blanket is clicked.
39
- */
40
36
  onBlanketClicked?: (
41
37
  event: React.MouseEvent<HTMLDivElement>,
42
38
  analyticsEvent: UIAnalyticsEvent,
43
39
  ) => void;
44
- /**
45
- * Additional information to be included in the `context` of analytics events.
46
- */
47
- analyticsContext?: Record<string, any>;
48
- /**
49
- * A `testId` prop is provided for specified elements,
50
- * which is a unique string that appears as a data attribute `data-testid` in the rendered code,
51
- * serving as a hook for automated tests.
52
- */
40
+ shouldAllowClickThrough?: boolean;
53
41
  testId?: string;
54
- /**
55
- * The children to be rendered within Blanket.
56
- */
57
- children?: ReactNode;
58
42
  }
59
43
 
60
- export {};
44
+ // (No @packageDocumentation comment for this package)
61
45
  ```
46
+
47
+ <!--SECTION END: Main Entry Types-->
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import type { BlanketProps } from './types';
3
- /**
4
- * __Blanket__
5
- *
6
- * A Blanket provides the overlay layer for components such as a modal dialog or a tooltip
7
- *
8
- * - [Examples](https://atlaskit.atlassian.com/examples/design-system/blanket/basic-usage)
9
- */
10
- declare const Blanket: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<BlanketProps & import("react").RefAttributes<HTMLDivElement>>>;
11
- export default Blanket;
@@ -1 +0,0 @@
1
- export type { BlanketProps } from '../types';
@@ -1,2 +0,0 @@
1
- export { default } from './blanket';
2
- export type { BlanketProps } from './types';
@@ -1,30 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
3
- export interface BlanketProps {
4
- /**
5
- * Whether mouse events can pierce the blanket. If true, onBlanketClicked will not be fired.
6
- */
7
- shouldAllowClickThrough?: boolean;
8
- /**
9
- * Whether the blanket has a tinted background color.
10
- */
11
- isTinted?: boolean;
12
- /**
13
- * Handler function to be called when the blanket is clicked.
14
- */
15
- onBlanketClicked?: (event: React.MouseEvent<HTMLDivElement>, analyticsEvent: UIAnalyticsEvent) => void;
16
- /**
17
- * Additional information to be included in the `context` of analytics events.
18
- */
19
- analyticsContext?: Record<string, any>;
20
- /**
21
- * A `testId` prop is provided for specified elements,
22
- * which is a unique string that appears as a data attribute `data-testid` in the rendered code,
23
- * serving as a hook for automated tests.
24
- */
25
- testId?: string;
26
- /**
27
- * The children to be rendered within Blanket.
28
- */
29
- children?: ReactNode;
30
- }