@atlaskit/inline-dialog
Advanced tools
Comparing version 15.2.0 to 15.2.1
# @atlaskit/inline-dialog | ||
## 15.2.1 | ||
### Patch Changes | ||
- [#161638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161638) | ||
[`d2e5e5ce0053d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2e5e5ce0053d) - | ||
Use new API of layering without UNSAFE prefix | ||
## 15.2.0 | ||
@@ -4,0 +12,0 @@ |
@@ -42,4 +42,4 @@ "use strict"; | ||
}); | ||
var _UNSAFE_useLayering = (0, _layering.UNSAFE_useLayering)(), | ||
isLayerDisabled = _UNSAFE_useLayering.isLayerDisabled; | ||
var _useLayering = (0, _layering.useLayering)(), | ||
isLayerDisabled = _useLayering.isLayerDisabled; | ||
(0, _react.useEffect)(function () { | ||
@@ -90,3 +90,3 @@ return (0, _bindEventListener.bind)(window, { | ||
packageName: "@atlaskit/inline-dialog", | ||
packageVersion: "15.2.0" | ||
packageVersion: "15.2.1" | ||
}); | ||
@@ -186,3 +186,3 @@ | ||
}, (0, _react2.jsx)(_react.default.Fragment, null, children)); | ||
}), isOpen ? (0, _react2.jsx)(_layering.UNSAFE_LAYERING, { | ||
}), isOpen ? (0, _react2.jsx)(_layering.Layering, { | ||
isDisabled: false | ||
@@ -189,0 +189,0 @@ }, popper, (0, _react2.jsx)(CloseManager, { |
@@ -12,3 +12,3 @@ /** | ||
import noop from '@atlaskit/ds-lib/noop'; | ||
import { UNSAFE_LAYERING, UNSAFE_useLayering, useCloseOnEscapePress } from '@atlaskit/layering'; | ||
import { Layering, useCloseOnEscapePress, useLayering } from '@atlaskit/layering'; | ||
import { fg } from '@atlaskit/platform-feature-flags'; | ||
@@ -35,3 +35,3 @@ import { Manager, Popper, Reference } from '@atlaskit/popper'; | ||
isLayerDisabled | ||
} = UNSAFE_useLayering(); | ||
} = useLayering(); | ||
useEffect(() => { | ||
@@ -74,3 +74,3 @@ return bind(window, { | ||
packageName: "@atlaskit/inline-dialog", | ||
packageVersion: "15.2.0" | ||
packageVersion: "15.2.1" | ||
}); | ||
@@ -170,3 +170,3 @@ | ||
hasNodeResolver: !fg('platform_design_system_team_portal_logic_r18_fix') | ||
}, jsx(React.Fragment, null, children))), isOpen ? jsx(UNSAFE_LAYERING, { | ||
}, jsx(React.Fragment, null, children))), isOpen ? jsx(Layering, { | ||
isDisabled: false | ||
@@ -173,0 +173,0 @@ }, popper, jsx(CloseManager, { |
@@ -12,3 +12,3 @@ /** | ||
import noop from '@atlaskit/ds-lib/noop'; | ||
import { UNSAFE_LAYERING, UNSAFE_useLayering, useCloseOnEscapePress } from '@atlaskit/layering'; | ||
import { Layering, useCloseOnEscapePress, useLayering } from '@atlaskit/layering'; | ||
import { fg } from '@atlaskit/platform-feature-flags'; | ||
@@ -32,4 +32,4 @@ import { Manager, Popper, Reference } from '@atlaskit/popper'; | ||
}); | ||
var _UNSAFE_useLayering = UNSAFE_useLayering(), | ||
isLayerDisabled = _UNSAFE_useLayering.isLayerDisabled; | ||
var _useLayering = useLayering(), | ||
isLayerDisabled = _useLayering.isLayerDisabled; | ||
useEffect(function () { | ||
@@ -80,3 +80,3 @@ return bind(window, { | ||
packageName: "@atlaskit/inline-dialog", | ||
packageVersion: "15.2.0" | ||
packageVersion: "15.2.1" | ||
}); | ||
@@ -176,3 +176,3 @@ | ||
}, jsx(React.Fragment, null, children)); | ||
}), isOpen ? jsx(UNSAFE_LAYERING, { | ||
}), isOpen ? jsx(Layering, { | ||
isDisabled: false | ||
@@ -179,0 +179,0 @@ }, popper, jsx(CloseManager, { |
{ | ||
"name": "@atlaskit/inline-dialog", | ||
"version": "15.2.0", | ||
"version": "15.2.1", | ||
"description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.", | ||
@@ -46,3 +46,3 @@ "publishConfig": { | ||
"@atlaskit/theme": "^14.0.0", | ||
"@atlaskit/tokens": "^2.0.0", | ||
"@atlaskit/tokens": "^2.2.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -61,8 +61,8 @@ "@emotion/react": "^11.7.1", | ||
"@atlaskit/button": "^20.3.0", | ||
"@atlaskit/datetime-picker": "^15.5.0", | ||
"@atlaskit/datetime-picker": "^15.9.0", | ||
"@atlaskit/docs": "*", | ||
"@atlaskit/dropdown-menu": "^12.21.0", | ||
"@atlaskit/dropdown-menu": "^12.22.0", | ||
"@atlaskit/modal-dialog": "^12.17.0", | ||
"@atlaskit/section-message": "^6.6.0", | ||
"@atlaskit/select": "^18.4.0", | ||
"@atlaskit/select": "^18.5.0", | ||
"@atlaskit/ssr": "*", | ||
@@ -69,0 +69,0 @@ "@atlaskit/visual-regression": "*", |
101978
Updated@atlaskit/tokens@^2.2.0