@atlaskit/popper 7.0.1 → 7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/popper
2
2
 
3
+ ## 7.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#172887](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/172887)
8
+ [`b706bb8733796`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b706bb8733796) -
9
+ Exported CustomPopperProps for the choreographer version of Popper so that it can use the correct
10
+ typing in parity with the atlaskit version of Popper
11
+
12
+ ## 7.0.2
13
+
14
+ ### Patch Changes
15
+
16
+ - [#132096](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132096)
17
+ [`6763869be8bd0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6763869be8bd0) -
18
+ [ux] Moved example code and package.json to compiled/react from emotion/react
19
+
3
20
  ## 7.0.1
4
21
 
5
22
  ### Patch Changes
@@ -18,8 +18,7 @@ var _react = _interopRequireWildcard(require("react"));
18
18
  var _reactPopper = require("react-popper");
19
19
  var _maxSize = require("./max-size");
20
20
  var _core = require("@popperjs/core");
21
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
23
22
  // Export types from PopperJS / React Popper
24
23
 
25
24
  var viewportPadding = 5;
@@ -1,3 +1,3 @@
1
1
  export { Popper, placements } from './popper';
2
- export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, } from './popper';
2
+ export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, CustomPopperProps, } from './popper';
3
3
  export { Manager, Reference } from 'react-popper';
@@ -1,3 +1,3 @@
1
1
  export { Popper, placements } from './popper';
2
- export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, } from './popper';
2
+ export type { ManagerProps, ReferenceProps, PopperProps, PopperArrowProps, PopperChildrenProps, StrictModifier, Modifier, Placement, CustomPopperProps, } from './popper';
3
3
  export { Manager, Reference } from 'react-popper';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/popper",
3
- "version": "7.0.1",
3
+ "version": "7.1.0",
4
4
  "description": "A wrapper for React Popper for situations which require a bespoke popup where other ADS components are deemed unsuitable",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,19 +33,18 @@
33
33
  "react": "^18.2.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@af/accessibility-testing": "*",
37
- "@af/integration-testing": "*",
38
- "@af/visual-regression": "*",
39
- "@atlaskit/button": "^21.1.0",
40
- "@atlaskit/docs": "*",
36
+ "@af/accessibility-testing": "workspace:^",
37
+ "@af/integration-testing": "workspace:^",
38
+ "@af/visual-regression": "workspace:^",
39
+ "@atlaskit/button": "^23.2.0",
40
+ "@atlaskit/docs": "^11.0.0",
41
41
  "@atlaskit/ds-lib": "^4.0.0",
42
- "@atlaskit/link": "*",
43
- "@atlaskit/section-message": "*",
44
- "@atlaskit/ssr": "*",
45
- "@atlaskit/theme": "^17.0.0",
46
- "@atlaskit/tokens": "^4.1.0",
47
- "@emotion/react": "^11.7.1",
48
- "@emotion/styled": "^11.0.0",
42
+ "@atlaskit/link": "^3.2.0",
43
+ "@atlaskit/section-message": "^8.2.0",
44
+ "@atlaskit/theme": "^18.0.0",
45
+ "@atlaskit/tokens": "^5.4.0",
46
+ "@atlassian/ssr-tests": "^0.2.0",
47
+ "@compiled/react": "^0.18.3",
49
48
  "@testing-library/react": "^13.4.0",
50
49
  "@testing-library/user-event": "^14.4.3",
51
50
  "react-dom": "^18.2.0",