@atlaskit/popup 1.6.2 → 1.6.4

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/popup
2
2
 
3
+ ## 1.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e2a6337bb05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2a6337bb05) - Reverts changes 1.6.3 in @atlaskit/popup, reverts disabling pointer events on iframes when popup is open.
8
+
9
+ ## 1.6.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`c394dbc632f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c394dbc632f) - Addresses the problem where the popup fails to close upon clicking on the iframe
14
+
3
15
  ## 1.6.2
4
16
 
5
17
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popup",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "A popup displays brief content in an overlay.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "atlassian": {
30
30
  "team": "Design System Team",
31
- "releaseModel": "scheduled",
31
+ "releaseModel": "continuous",
32
32
  "website": {
33
33
  "name": "Popup",
34
34
  "category": "Components"
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/popper": "^5.5.0",
40
40
  "@atlaskit/portal": "^4.3.0",
41
41
  "@atlaskit/theme": "^12.5.0",
42
- "@atlaskit/tokens": "^1.4.0",
42
+ "@atlaskit/tokens": "^1.5.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1",
45
45
  "bind-event-listener": "^2.1.1",
@@ -54,11 +54,11 @@
54
54
  "@atlaskit/docs": "*",
55
55
  "@atlaskit/icon": "^21.12.0",
56
56
  "@atlaskit/menu": "^1.7.0",
57
- "@atlaskit/radio": "^5.5.0",
57
+ "@atlaskit/radio": "^5.6.0",
58
58
  "@atlaskit/section-message": "^6.4.0",
59
- "@atlaskit/select": "^16.2.0",
59
+ "@atlaskit/select": "^16.5.0",
60
60
  "@atlaskit/ssr": "*",
61
- "@atlaskit/textfield": "^5.4.0",
61
+ "@atlaskit/textfield": "^5.5.0",
62
62
  "@atlaskit/toggle": "^12.6.0",
63
63
  "@atlaskit/visual-regression": "*",
64
64
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
package/report.api.md CHANGED
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -89,3 +90,16 @@ export interface TriggerProps {
89
90
  ```
90
91
 
91
92
  <!--SECTION END: Main Entry Types-->
93
+
94
+ ### Peer Dependencies
95
+
96
+ <!--SECTION START: Peer Dependencies-->
97
+
98
+ ```json
99
+ {
100
+ "react": "^16.8.0",
101
+ "react-dom": "^16.8.0"
102
+ }
103
+ ```
104
+
105
+ <!--SECTION END: Peer Dependencies-->
@@ -0,0 +1,80 @@
1
+ ## API Report File for "@atlaskit/popup"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ComponentType } from 'react';
8
+ import { CSSProperties } from 'react';
9
+ import { Dispatch } from 'react';
10
+ import { FC } from 'react';
11
+ import { Placement } from '@atlaskit/popper';
12
+ import { PopperChildrenProps } from '@atlaskit/popper';
13
+ import { default as React_2 } from 'react';
14
+ import { ReactNode } from 'react';
15
+ import { Ref } from 'react';
16
+ import { SetStateAction } from 'react';
17
+
18
+ // @public (undocumented)
19
+ interface BaseProps {
20
+ autoFocus?: boolean;
21
+ boundary?: 'clippingParents' | HTMLElement;
22
+ content: (props: ContentProps) => React_2.ReactNode;
23
+ fallbackPlacements?: Placement[];
24
+ id?: string;
25
+ isOpen: boolean;
26
+ offset?: [number, number];
27
+ onClose?(event: Event | React_2.KeyboardEvent | React_2.MouseEvent): void;
28
+ placement?: Placement;
29
+ popupComponent?: ComponentType<PopupComponentProps>;
30
+ rootBoundary?: 'document' | 'viewport';
31
+ shouldFlip?: boolean;
32
+ shouldUseCaptureOnOutsideClick?: boolean;
33
+ testId?: string;
34
+ }
35
+
36
+ // @public (undocumented)
37
+ export interface ContentProps {
38
+ isOpen: boolean;
39
+ onClose?: BaseProps['onClose'];
40
+ setInitialFocusRef: Dispatch<SetStateAction<HTMLElement | null>>;
41
+ update: PopperChildrenProps['update'];
42
+ }
43
+
44
+ // @public (undocumented)
45
+ const Popup: FC<PopupProps>;
46
+ export { Popup }
47
+ export default Popup;
48
+
49
+ // @public (undocumented)
50
+ export interface PopupComponentProps {
51
+ 'data-placement': Placement;
52
+ 'data-testid'?: string;
53
+ children: ReactNode;
54
+ id?: string;
55
+ ref: Ref<HTMLDivElement>;
56
+ style: CSSProperties;
57
+ tabIndex: number | undefined;
58
+ }
59
+
60
+ // @public (undocumented)
61
+ export interface PopupProps extends BaseProps {
62
+ trigger: (props: TriggerProps) => React_2.ReactNode;
63
+ zIndex?: number;
64
+ }
65
+
66
+ // @public (undocumented)
67
+ export interface TriggerProps {
68
+ // (undocumented)
69
+ 'aria-controls'?: string;
70
+ // (undocumented)
71
+ 'aria-expanded': boolean;
72
+ // (undocumented)
73
+ 'aria-haspopup': boolean;
74
+ // (undocumented)
75
+ ref: Ref<any>;
76
+ }
77
+
78
+ // (No @packageDocumentation comment for this package)
79
+
80
+ ```