@atlaskit/drawer 7.13.2 → 7.14.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 +22 -0
- package/dist/cjs/components/blanket.js +1 -1
- package/dist/cjs/components/index.js +1 -1
- package/dist/cjs/components/primitives/content.js +1 -1
- package/dist/cjs/components/primitives/drawer-wrapper.js +1 -1
- package/dist/cjs/components/primitives/index.js +1 -1
- package/dist/cjs/components/primitives/sidebar.js +1 -1
- package/dist/es2019/components/blanket.js +1 -1
- package/dist/es2019/components/index.js +1 -1
- package/dist/es2019/components/primitives/content.js +1 -1
- package/dist/es2019/components/primitives/drawer-wrapper.js +1 -1
- package/dist/es2019/components/primitives/index.js +1 -1
- package/dist/es2019/components/primitives/sidebar.js +1 -1
- package/dist/esm/components/blanket.js +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/primitives/content.js +1 -1
- package/dist/esm/components/primitives/drawer-wrapper.js +1 -1
- package/dist/esm/components/primitives/index.js +1 -1
- package/dist/esm/components/primitives/sidebar.js +1 -1
- package/dist/types/components/blanket.d.ts +1 -1
- package/dist/types/components/primitives/content.d.ts +1 -1
- package/dist/types/components/primitives/drawer-wrapper.d.ts +1 -1
- package/dist/types/components/primitives/index.d.ts +1 -1
- package/dist/types/components/primitives/sidebar.d.ts +1 -1
- package/dist/types-ts4.5/components/blanket.d.ts +1 -1
- package/dist/types-ts4.5/components/primitives/content.d.ts +1 -1
- package/dist/types-ts4.5/components/primitives/drawer-wrapper.d.ts +1 -1
- package/dist/types-ts4.5/components/primitives/index.d.ts +1 -1
- package/dist/types-ts4.5/components/primitives/sidebar.d.ts +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/drawer
|
|
2
2
|
|
|
3
|
+
## 7.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#127511](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127511)
|
|
8
|
+
[`db30e29344013`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db30e29344013) -
|
|
9
|
+
Widening range of `react` and `react-dom` peer dependencies from `^16.8.0 || ^17.0.0 || ~18.2.0`
|
|
10
|
+
to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).
|
|
11
|
+
|
|
12
|
+
This change has been done to enable usage of `react@18.3` as well as to have a consistent peer
|
|
13
|
+
dependency range for `react` and `react-dom` for `/platform` packages.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 7.13.3
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 7.13.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -12,8 +12,8 @@ var _motion = require("@atlaskit/motion");
|
|
|
12
12
|
var _constants = require("../constants");
|
|
13
13
|
/**
|
|
14
14
|
* @jsxRuntime classic
|
|
15
|
+
* @jsx jsx
|
|
15
16
|
*/
|
|
16
|
-
/** @jsx jsx */
|
|
17
17
|
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
19
|
|
|
@@ -29,7 +29,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
29
29
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
30
30
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @repo/internal/dom-events/no-unsafe-event-listeners */
|
|
31
31
|
var packageName = "@atlaskit/drawer";
|
|
32
|
-
var packageVersion = "7.
|
|
32
|
+
var packageVersion = "7.14.0";
|
|
33
33
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
34
34
|
var createAndFireOnClick = function createAndFireOnClick(createAnalyticsEvent, trigger) {
|
|
35
35
|
return createAndFireEventOnAtlaskit({
|
|
@@ -13,8 +13,8 @@ var _react2 = require("@emotion/react");
|
|
|
13
13
|
var _excluded = ["cssFn", "scrollContentLabel"];
|
|
14
14
|
/**
|
|
15
15
|
* @jsxRuntime classic
|
|
16
|
+
* @jsx jsx
|
|
16
17
|
*/
|
|
17
|
-
/** @jsx jsx */
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
19
|
var defaultStyles = {
|
|
20
20
|
flex: 1,
|
|
@@ -15,8 +15,8 @@ var _usePreventProgrammaticScroll = _interopRequireDefault(require("./hooks/use-
|
|
|
15
15
|
var _css;
|
|
16
16
|
/**
|
|
17
17
|
* @jsxRuntime classic
|
|
18
|
+
* @jsx jsx
|
|
18
19
|
*/
|
|
19
|
-
/** @jsx jsx */
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
var wrapperWidth = exports.wrapperWidth = {
|
|
22
22
|
full: {
|
|
@@ -22,8 +22,8 @@ var _excluded = ["component"],
|
|
|
22
22
|
_excluded2 = ["component"];
|
|
23
23
|
/**
|
|
24
24
|
* @jsxRuntime classic
|
|
25
|
+
* @jsx jsx
|
|
25
26
|
*/
|
|
26
|
-
/** @jsx jsx */
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
28
28
|
// Misc.
|
|
29
29
|
// ------------------------------
|
|
@@ -12,8 +12,8 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
12
12
|
var _excluded = ["cssFn"];
|
|
13
13
|
/**
|
|
14
14
|
* @jsxRuntime classic
|
|
15
|
+
* @jsx jsx
|
|
15
16
|
*/
|
|
16
|
-
/** @jsx jsx */
|
|
17
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
18
|
var defaultStyle = {
|
|
19
19
|
alignItems: 'center',
|
|
@@ -10,7 +10,7 @@ import { defaultFocusLockSettings } from '../constants';
|
|
|
10
10
|
import Blanket from './blanket';
|
|
11
11
|
import DrawerPrimitive from './primitives';
|
|
12
12
|
const packageName = "@atlaskit/drawer";
|
|
13
|
-
const packageVersion = "7.
|
|
13
|
+
const packageVersion = "7.14.0";
|
|
14
14
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
15
15
|
const createAndFireOnClick = (createAnalyticsEvent, trigger) => createAndFireEventOnAtlaskit({
|
|
16
16
|
action: 'dismissed',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/**
|
|
3
3
|
* @jsxRuntime classic
|
|
4
|
+
* @jsx jsx
|
|
4
5
|
*/
|
|
5
|
-
/** @jsx jsx */
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
@@ -20,7 +20,7 @@ import { defaultFocusLockSettings } from '../constants';
|
|
|
20
20
|
import Blanket from './blanket';
|
|
21
21
|
import DrawerPrimitive from './primitives';
|
|
22
22
|
var packageName = "@atlaskit/drawer";
|
|
23
|
-
var packageVersion = "7.
|
|
23
|
+
var packageVersion = "7.14.0";
|
|
24
24
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
25
25
|
var createAndFireOnClick = function createAndFireOnClick(createAnalyticsEvent, trigger) {
|
|
26
26
|
return createAndFireEventOnAtlaskit({
|
|
@@ -2,8 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
var _css;
|
|
3
3
|
/**
|
|
4
4
|
* @jsxRuntime classic
|
|
5
|
+
* @jsx jsx
|
|
5
6
|
*/
|
|
6
|
-
/** @jsx jsx */
|
|
7
7
|
import { forwardRef, useCallback } from 'react';
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["cssFn"];
|
|
4
4
|
/**
|
|
5
5
|
* @jsxRuntime classic
|
|
6
|
+
* @jsx jsx
|
|
6
7
|
*/
|
|
7
|
-
/** @jsx jsx */
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { type DrawerPrimitiveProps } from '../types';
|
|
7
7
|
declare const DrawerPrimitive: ({ children, icon: Icon, closeLabel, scrollContentLabel, onClose, onCloseComplete, onOpenComplete, overrides, testId, in: isOpen, shouldReturnFocus, autoFocusFirstElem, isFocusLockEnabled, width, label, titleId, enterFrom, }: DrawerPrimitiveProps) => jsx.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
3
4
|
*/
|
|
4
|
-
/** @jsx jsx */
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { type DrawerPrimitiveProps } from '../types';
|
|
7
7
|
declare const DrawerPrimitive: ({ children, icon: Icon, closeLabel, scrollContentLabel, onClose, onCloseComplete, onOpenComplete, overrides, testId, in: isOpen, shouldReturnFocus, autoFocusFirstElem, isFocusLockEnabled, width, label, titleId, enterFrom, }: DrawerPrimitiveProps) => jsx.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/drawer",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.14.0",
|
|
4
4
|
"description": "A drawer is a panel that slides in from the left side of the screen.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"runReact18": true
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@atlaskit/analytics-next": "^
|
|
44
|
-
"@atlaskit/blanket": "^13.
|
|
45
|
-
"@atlaskit/button": "^19.
|
|
46
|
-
"@atlaskit/icon": "^22.
|
|
47
|
-
"@atlaskit/layering": "^0.
|
|
48
|
-
"@atlaskit/motion": "^1.
|
|
43
|
+
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
|
+
"@atlaskit/blanket": "^13.3.0",
|
|
45
|
+
"@atlaskit/button": "^19.2.0",
|
|
46
|
+
"@atlaskit/icon": "^22.12.0",
|
|
47
|
+
"@atlaskit/layering": "^0.4.0",
|
|
48
|
+
"@atlaskit/motion": "^1.9.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
50
|
-
"@atlaskit/portal": "^4.
|
|
51
|
-
"@atlaskit/theme": "^12.
|
|
52
|
-
"@atlaskit/tokens": "^1.
|
|
50
|
+
"@atlaskit/portal": "^4.8.0",
|
|
51
|
+
"@atlaskit/theme": "^12.12.0",
|
|
52
|
+
"@atlaskit/tokens": "^1.58.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
55
55
|
"bind-event-listener": "^3.0.0",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"use-callback-ref": "^1.2.3"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"react": "^16.8.0 || ^17.0.0 ||
|
|
63
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@af/accessibility-testing": "*",
|
|
67
67
|
"@af/integration-testing": "*",
|
|
68
68
|
"@af/visual-regression": "*",
|
|
69
|
-
"@atlaskit/ds-lib": "^2.
|
|
69
|
+
"@atlaskit/ds-lib": "^2.4.0",
|
|
70
70
|
"@atlaskit/ssr": "*",
|
|
71
71
|
"@atlaskit/visual-regression": "*",
|
|
72
72
|
"@testing-library/react": "^12.1.5",
|