@atlaskit/page-layout 5.5.2 → 5.5.4

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,20 @@
1
1
  # @atlaskit/page-layout
2
2
 
3
+ ## 5.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.5.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1715d48a722a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1715d48a722a2) -
14
+ Migrate responsive styling to typed canonical CSS media-query keys. Allow those keys in the UI
15
+ Styling Standard and report non-canonical queries used with `satisfies`.
16
+ - Updated dependencies
17
+
3
18
  ## 5.5.2
4
19
 
5
20
  ### Patch Changes
@@ -8,8 +8,8 @@ exports.default = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = require("react");
10
10
  var _react2 = require("@emotion/react");
11
- var _accessibility = require("@atlaskit/motion/utils/accessibility");
12
11
  var _curves = require("@atlaskit/motion/curves");
12
+ var _accessibility = require("@atlaskit/motion/utils/accessibility");
13
13
  var _constants = require("../../common/constants");
14
14
  var _getPageLayoutSlotSelector = require("../../common/get-page-layout-slot-selector");
15
15
  var _hooks = require("../../common/hooks");
@@ -17,7 +17,6 @@ import { getLeftPanelWidth } from '../../common/get-left-panel-width';
17
17
  import { getLeftSidebarPercentage } from '../../common/get-left-sidebar-percentage';
18
18
  import { SidebarResizeContext } from '../../controllers/sidebar-resize-context';
19
19
  /* import useUpdateCssVar from '../../controllers/use-update-css-vars'; */
20
-
21
20
  import GrabArea from './grab-area';
22
21
  import ResizeButton from './resize-button';
23
22
  import Shadow from './shadow';
@@ -3,6 +3,7 @@
3
3
  * @jsxRuntime classic
4
4
  * @jsx jsx
5
5
  */
6
+
6
7
  import { Fragment, useCallback, useContext, useEffect, useRef } from 'react';
7
8
 
8
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
@@ -7,8 +7,8 @@ import { useContext } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
9
9
  import { css, jsx } from '@emotion/react';
10
- import { prefersReducedMotion } from '@atlaskit/motion/utils/accessibility';
11
10
  import { easeOut } from '@atlaskit/motion/curves';
11
+ import { prefersReducedMotion } from '@atlaskit/motion/utils/accessibility';
12
12
  import { COLLAPSED_LEFT_SIDEBAR_WIDTH, DEFAULT_LEFT_SIDEBAR_FLYOUT_WIDTH, TRANSITION_DURATION, VAR_LEFT_SIDEBAR_FLYOUT } from '../../common/constants';
13
13
  import { getPageLayoutSlotSelector } from '../../common/get-page-layout-slot-selector';
14
14
  import { useIsSidebarDragging } from '../../common/hooks';
@@ -21,7 +21,6 @@ import { getLeftPanelWidth } from '../../common/get-left-panel-width';
21
21
  import { getLeftSidebarPercentage } from '../../common/get-left-sidebar-percentage';
22
22
  import { SidebarResizeContext } from '../../controllers/sidebar-resize-context';
23
23
  /* import useUpdateCssVar from '../../controllers/use-update-css-vars'; */
24
-
25
24
  import GrabArea from './grab-area';
26
25
  import ResizeButton from './resize-button';
27
26
  import Shadow from './shadow';
@@ -6,6 +6,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
6
6
  * @jsxRuntime classic
7
7
  * @jsx jsx
8
8
  */
9
+
9
10
  import { Fragment, useCallback, useContext, useEffect, useRef } from 'react';
10
11
 
11
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
@@ -7,8 +7,8 @@ import { useContext } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
9
9
  import { css, jsx } from '@emotion/react';
10
- import { prefersReducedMotion } from '@atlaskit/motion/utils/accessibility';
11
10
  import { easeOut } from '@atlaskit/motion/curves';
11
+ import { prefersReducedMotion } from '@atlaskit/motion/utils/accessibility';
12
12
  import { COLLAPSED_LEFT_SIDEBAR_WIDTH, DEFAULT_LEFT_SIDEBAR_FLYOUT_WIDTH, TRANSITION_DURATION, VAR_LEFT_SIDEBAR_FLYOUT } from '../../common/constants';
13
13
  import { getPageLayoutSlotSelector } from '../../common/get-page-layout-slot-selector';
14
14
  import { useIsSidebarDragging } from '../../common/hooks';
@@ -1,4 +1,7 @@
1
- import { jsx } from '@emotion/react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import type { ResizeButtonProps } from './types';
3
- declare const ResizeButton: ({ isLeftSidebarCollapsed, label, onClick, testId, ...props }: ResizeButtonProps) => jsx.JSX.Element;
6
+ declare const ResizeButton: ({ isLeftSidebarCollapsed, label, onClick, testId, ...props }: ResizeButtonProps) => JSX.Element;
4
7
  export default ResizeButton;
@@ -3,11 +3,10 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import type { ReactNode } from 'react';
6
- import { jsx } from '@emotion/react';
7
6
  type LeftSidebarInnerProps = {
8
7
  children: ReactNode;
9
8
  isFixed?: boolean;
10
9
  isFlyoutOpen?: boolean;
11
10
  };
12
- declare const LeftSidebarInner: ({ children, isFixed, isFlyoutOpen, }: LeftSidebarInnerProps) => jsx.JSX.Element;
11
+ declare const LeftSidebarInner: ({ children, isFixed, isFlyoutOpen, }: LeftSidebarInnerProps) => JSX.Element;
13
12
  export default LeftSidebarInner;
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
1
5
  import { jsx } from '@emotion/react';
2
6
  import type { LeftSidebarProps } from '../../common/types';
3
7
  /**
@@ -1,4 +1,3 @@
1
- import { jsx } from '@emotion/react';
2
1
  import type { PageLayoutProps } from '../../common/types';
3
2
  /**
4
3
  * __Page layout__
@@ -10,5 +9,5 @@ import type { PageLayoutProps } from '../../common/types';
10
9
  *
11
10
  * @deprecated `@atlaskit/page-layout` is deprecated. Use `@atlaskit/navigation-system` instead.
12
11
  */
13
- declare const PageLayout: ({ skipLinksLabel, children, testId, onLeftSidebarExpand, onLeftSidebarCollapse, }: PageLayoutProps) => jsx.JSX.Element;
12
+ declare const PageLayout: ({ skipLinksLabel, children, testId, onLeftSidebarExpand, onLeftSidebarCollapse, }: PageLayoutProps) => JSX.Element;
14
13
  export default PageLayout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "5.5.2",
3
+ "version": "5.5.4",
4
4
  "description": "A collection of components which let you compose an application's page layout.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,11 +42,11 @@
42
42
  "@atlaskit/ds-lib": "^8.0.0",
43
43
  "@atlaskit/icon": "^37.7.0",
44
44
  "@atlaskit/link": "^5.1.0",
45
- "@atlaskit/motion": "^8.7.0",
45
+ "@atlaskit/motion": "^8.8.0",
46
46
  "@atlaskit/platform-feature-flags": "^2.2.0",
47
47
  "@atlaskit/primitives": "^22.5.0",
48
48
  "@atlaskit/react-compiler-gating": "^0.2.0",
49
- "@atlaskit/tokens": "^18.0.0",
49
+ "@atlaskit/tokens": "^19.0.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "bind-event-listener": "^3.0.0",
@@ -60,10 +60,10 @@
60
60
  "@af/accessibility-testing": "workspace:^",
61
61
  "@af/integration-testing": "workspace:^",
62
62
  "@atlaskit/atlassian-navigation": "^6.4.0",
63
- "@atlaskit/button": "^25.3.0",
63
+ "@atlaskit/button": "^25.4.0",
64
64
  "@atlaskit/docs": "^12.2.0",
65
- "@atlaskit/logo": "^23.0.0",
66
- "@atlaskit/menu": "^10.2.0",
65
+ "@atlaskit/logo": "^23.1.0",
66
+ "@atlaskit/menu": "^11.0.0",
67
67
  "@atlaskit/popup": "^6.3.0",
68
68
  "@atlaskit/section-message": "^10.2.0",
69
69
  "@atlaskit/side-navigation": "^13.3.0",