@atlaskit/portal 5.1.0 → 5.1.1

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,13 @@
1
1
  # @atlaskit/portal
2
2
 
3
+ ## 5.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#175845](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175845)
8
+ [`e553e0b7cb828`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e553e0b7cb828) -
9
+ Updated dev dependencies
10
+
3
11
  ## 5.1.0
4
12
 
5
13
  ### Minor Changes
@@ -11,8 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _reactDom = require("react-dom");
12
12
  var _useIsomorphicLayoutEffect = require("../hooks/use-isomorphic-layout-effect");
13
13
  var _portalDomUtils = require("../utils/portal-dom-utils");
14
- 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); }
15
- 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; }
14
+ 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); }
16
15
  function InternalPortalNew(props) {
17
16
  var zIndex = props.zIndex,
18
17
  children = props.children;
@@ -19,8 +19,6 @@ function Portal(_ref) {
19
19
  mountStrategy = _ref$mountStrategy === void 0 ? 'effect' : _ref$mountStrategy;
20
20
  var isSubsequentRender = (0, _useIsSubsequentRender.default)(mountStrategy);
21
21
  (0, _usePortalEvent.default)(zIndex);
22
-
23
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
24
22
  return !(0, _platformFeatureFlags.fg)('platform_design_system_team_portal_logic_r18_fix') ? isSubsequentRender ? /*#__PURE__*/_react.default.createElement(_internalPortal.default, {
25
23
  zIndex: zIndex
26
24
  }, children) : null : /*#__PURE__*/_react.default.createElement(_internalPortalNew.default, {
@@ -11,8 +11,6 @@ export default function Portal({
11
11
  }) {
12
12
  const isSubsequentRender = useIsSubsequentRender(mountStrategy);
13
13
  useFirePortalEvent(zIndex);
14
-
15
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
16
14
  return !fg('platform_design_system_team_portal_logic_r18_fix') ? isSubsequentRender ? /*#__PURE__*/React.createElement(InternalPortal, {
17
15
  zIndex: zIndex
18
16
  }, children) : null : /*#__PURE__*/React.createElement(InternalPortalNew, {
@@ -12,8 +12,6 @@ export default function Portal(_ref) {
12
12
  mountStrategy = _ref$mountStrategy === void 0 ? 'effect' : _ref$mountStrategy;
13
13
  var isSubsequentRender = useIsSubsequentRender(mountStrategy);
14
14
  useFirePortalEvent(zIndex);
15
-
16
- // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
17
15
  return !fg('platform_design_system_team_portal_logic_r18_fix') ? isSubsequentRender ? /*#__PURE__*/React.createElement(InternalPortal, {
18
16
  zIndex: zIndex
19
17
  }, children) : null : /*#__PURE__*/React.createElement(InternalPortalNew, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/portal",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "A wrapper for rendering components in React portals.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,26 +46,28 @@
46
46
  "react-dom": "^18.2.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@af/accessibility-testing": "^2.0.0",
50
- "@af/integration-testing": "^0.5.0",
51
- "@atlaskit/button": "^21.1.0",
52
- "@atlaskit/code": "^16.0.0",
53
- "@atlaskit/docs": "^10.0.0",
49
+ "@af/accessibility-testing": "workspace:^",
50
+ "@af/integration-testing": "workspace:^",
51
+ "@atlaskit/button": "^23.2.0",
52
+ "@atlaskit/code": "^17.2.0",
53
+ "@atlaskit/css": "^0.11.0",
54
+ "@atlaskit/docs": "^11.0.0",
54
55
  "@atlaskit/ds-lib": "^4.0.0",
55
- "@atlaskit/flag": "^16.2.0",
56
- "@atlaskit/icon": "^24.1.0",
57
- "@atlaskit/inline-dialog": "^17.0.0",
58
- "@atlaskit/link": "^3.0.0",
59
- "@atlaskit/modal-dialog": "^13.0.0",
60
- "@atlaskit/onboarding": "^13.0.0",
61
- "@atlaskit/primitives": "^14.1.0",
62
- "@atlaskit/section-message": "^8.1.0",
63
- "@atlaskit/ssr": "^0.4.0",
64
- "@atlaskit/tokens": "^4.3.0",
65
- "@atlaskit/tooltip": "^20.0.0",
66
- "@atlaskit/visual-regression": "^0.10.0",
56
+ "@atlaskit/flag": "^17.1.0",
57
+ "@atlaskit/icon": "^27.2.0",
58
+ "@atlaskit/inline-dialog": "^17.2.0",
59
+ "@atlaskit/link": "^3.2.0",
60
+ "@atlaskit/modal-dialog": "^14.2.0",
61
+ "@atlaskit/onboarding": "^14.2.0",
62
+ "@atlaskit/primitives": "^14.9.0",
63
+ "@atlaskit/section-message": "^8.2.0",
64
+ "@atlaskit/ssr": "workspace:^",
65
+ "@atlaskit/tokens": "^5.4.0",
66
+ "@atlaskit/tooltip": "^20.3.0",
67
+ "@atlaskit/visual-regression": "workspace:^",
67
68
  "@atlassian/feature-flags-test-utils": "^0.3.0",
68
- "@emotion/react": "^11.7.1",
69
+ "@atlassian/ssr-tests": "^0.2.0",
70
+ "@compiled/react": "^0.18.3",
69
71
  "@testing-library/react": "^13.4.0",
70
72
  "@testing-library/react-hooks": "^8.0.1",
71
73
  "bind-event-listener": "^3.0.0",
@@ -93,7 +95,7 @@
93
95
  "deprecation": "no-deprecated-imports",
94
96
  "styling": [
95
97
  "static",
96
- "emotion"
98
+ "compiled"
97
99
  ]
98
100
  }
99
101
  },