@atlaskit/popper 6.0.0 → 6.1.0

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/package.json CHANGED
@@ -1,94 +1,92 @@
1
1
  {
2
- "name": "@atlaskit/popper",
3
- "version": "6.0.0",
4
- "description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "sideEffects": false,
16
- "atlaskit:src": "src/index.tsx",
17
- "atlassian": {
18
- "team": "Design System Team",
19
- "productPushConsumption": [
20
- "jira"
21
- ],
22
- "releaseModel": "continuous",
23
- "website": {
24
- "name": "Popper",
25
- "category": "Libraries"
26
- },
27
- "runReact18": true
28
- },
29
- "dependencies": {
30
- "@babel/runtime": "^7.0.0",
31
- "@popperjs/core": "^2.11.8",
32
- "react-popper": "^2.3.0"
33
- },
34
- "peerDependencies": {
35
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
36
- },
37
- "devDependencies": {
38
- "@af/accessibility-testing": "*",
39
- "@af/visual-regression": "*",
40
- "@atlaskit/ds-lib": "^2.3.0",
41
- "@atlaskit/ssr": "*",
42
- "@atlaskit/visual-regression": "*",
43
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
44
- "@emotion/react": "^11.7.1",
45
- "@emotion/styled": "^11.0.0",
46
- "@testing-library/react": "^12.1.5",
47
- "@testing-library/user-event": "^14.4.3",
48
- "@types/jscodeshift": "^0.11.0",
49
- "ast-types": "^0.13.3",
50
- "jscodeshift": "^0.13.0",
51
- "react-dom": "^16.8.0",
52
- "react-lorem-component": "^0.13.0",
53
- "typescript": "~5.4.2",
54
- "wait-for-expect": "^1.2.0"
55
- },
56
- "keywords": [
57
- "atlaskit",
58
- "ui"
59
- ],
60
- "techstack": {
61
- "@atlassian/frontend": {
62
- "import-structure": "atlassian-conventions"
63
- },
64
- "@repo/internal": {
65
- "dom-events": "use-bind-event-listener",
66
- "design-system": "v1",
67
- "ui-components": "lite-mode",
68
- "analytics": "analytics-next",
69
- "design-tokens": [
70
- "color",
71
- "spacing"
72
- ],
73
- "deprecation": "no-deprecated-imports",
74
- "styling": [
75
- "static",
76
- "emotion"
77
- ]
78
- }
79
- },
80
- "typesVersions": {
81
- ">=4.5 <4.9": {
82
- "*": [
83
- "dist/types-ts4.5/*",
84
- "dist/types-ts4.5/index.d.ts"
85
- ]
86
- }
87
- },
88
- "af:exports": {
89
- ".": "./src/index.tsx",
90
- "./Popper": "./src/popper.tsx"
91
- },
92
- "homepage": "https://atlassian.design/components/popper",
93
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
94
- }
2
+ "name": "@atlaskit/popper",
3
+ "version": "6.1.0",
4
+ "description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "sideEffects": false,
16
+ "atlaskit:src": "src/index.tsx",
17
+ "atlassian": {
18
+ "team": "Design System Team",
19
+ "productPushConsumption": [
20
+ "jira"
21
+ ],
22
+ "releaseModel": "continuous",
23
+ "website": {
24
+ "name": "Popper",
25
+ "category": "Libraries"
26
+ },
27
+ "runReact18": true
28
+ },
29
+ "dependencies": {
30
+ "@babel/runtime": "^7.0.0",
31
+ "@popperjs/core": "^2.11.8",
32
+ "react-popper": "^2.3.0"
33
+ },
34
+ "peerDependencies": {
35
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
36
+ },
37
+ "devDependencies": {
38
+ "@af/accessibility-testing": "*",
39
+ "@af/visual-regression": "*",
40
+ "@atlaskit/ds-lib": "^2.3.0",
41
+ "@atlaskit/ssr": "*",
42
+ "@atlaskit/visual-regression": "*",
43
+ "@emotion/react": "^11.7.1",
44
+ "@emotion/styled": "^11.0.0",
45
+ "@testing-library/react": "^12.1.5",
46
+ "@testing-library/user-event": "^14.4.3",
47
+ "@types/jscodeshift": "^0.11.0",
48
+ "ast-types": "^0.13.3",
49
+ "jscodeshift": "^0.13.0",
50
+ "react-dom": "^16.8.0",
51
+ "react-lorem-component": "^0.13.0",
52
+ "typescript": "~5.4.2",
53
+ "wait-for-expect": "^1.2.0"
54
+ },
55
+ "keywords": [
56
+ "atlaskit",
57
+ "ui"
58
+ ],
59
+ "techstack": {
60
+ "@atlassian/frontend": {
61
+ "import-structure": "atlassian-conventions"
62
+ },
63
+ "@repo/internal": {
64
+ "dom-events": "use-bind-event-listener",
65
+ "design-system": "v1",
66
+ "ui-components": "lite-mode",
67
+ "analytics": "analytics-next",
68
+ "design-tokens": [
69
+ "color",
70
+ "spacing"
71
+ ],
72
+ "deprecation": "no-deprecated-imports",
73
+ "styling": [
74
+ "static",
75
+ "emotion"
76
+ ]
77
+ }
78
+ },
79
+ "typesVersions": {
80
+ ">=4.5 <4.9": {
81
+ "*": [
82
+ "dist/types-ts4.5/*",
83
+ "dist/types-ts4.5/index.d.ts"
84
+ ]
85
+ }
86
+ },
87
+ "af:exports": {
88
+ ".": "./src/index.tsx",
89
+ "./Popper": "./src/popper.tsx"
90
+ },
91
+ "homepage": "https://atlassian.design/components/popper"
92
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/popper"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -31,12 +32,12 @@ import { VirtualElement } from '@popperjs/core';
31
32
 
32
33
  // @public (undocumented)
33
34
  interface CustomPopperProps<Modifiers> {
34
- children?: (childrenProps: PopperChildrenProps) => React_2.ReactNode;
35
- modifiers?: PopperProps<Modifiers>['modifiers'];
36
- offset?: Offset;
37
- placement?: Placement;
38
- referenceElement?: HTMLElement | VirtualElement;
39
- strategy?: PopperProps<Modifiers>['strategy'];
35
+ children?: (childrenProps: PopperChildrenProps) => React_2.ReactNode;
36
+ modifiers?: PopperProps<Modifiers>['modifiers'];
37
+ offset?: Offset;
38
+ placement?: Placement;
39
+ referenceElement?: HTMLElement | VirtualElement;
40
+ strategy?: PopperProps<Modifiers>['strategy'];
40
41
  }
41
42
 
42
43
  export { Manager };
@@ -54,12 +55,12 @@ export { placements };
54
55
 
55
56
  // @public (undocumented)
56
57
  export function Popper<CustomModifiers>({
57
- children,
58
- offset,
59
- placement,
60
- referenceElement,
61
- modifiers,
62
- strategy,
58
+ children,
59
+ offset,
60
+ placement,
61
+ referenceElement,
62
+ modifiers,
63
+ strategy,
63
64
  }: CustomPopperProps<CustomModifiers>): JSX.Element;
64
65
 
65
66
  export { PopperArrowProps };
@@ -85,7 +86,7 @@ export { StrictModifier };
85
86
 
86
87
  ```json
87
88
  {
88
- "react": "^16.8.0"
89
+ "react": "^16.8.0"
89
90
  }
90
91
  ```
91
92