@atlaskit/page-layout 3.3.0 → 3.3.2

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.
Files changed (84) hide show
  1. package/CHANGELOG.md +525 -512
  2. package/__perf__/examples.tsx +3 -2
  3. package/__perf__/utils/product-integration/atlassian-navigation.tsx +1 -1
  4. package/__perf__/utils/product-integration/create.tsx +1 -0
  5. package/__perf__/utils/product-integration/profile-popup.tsx +1 -0
  6. package/__perf__/utils/product-integration/sample-footer.tsx +2 -3
  7. package/__perf__/utils/product-integration/sample-header.tsx +1 -1
  8. package/dist/cjs/components/resize-control/grab-area.js +2 -2
  9. package/dist/cjs/components/resize-control/resize-button.js +3 -1
  10. package/dist/cjs/components/skip-links/skip-link-components.js +13 -21
  11. package/dist/cjs/components/slots/banner-slot.js +3 -1
  12. package/dist/cjs/components/slots/internal/left-sidebar-outer.js +3 -1
  13. package/dist/cjs/components/slots/left-panel.js +3 -1
  14. package/dist/cjs/components/slots/main.js +3 -1
  15. package/dist/cjs/components/slots/right-panel.js +3 -1
  16. package/dist/cjs/components/slots/right-sidebar.js +3 -1
  17. package/dist/cjs/components/slots/top-navigation.js +3 -1
  18. package/dist/es2019/components/resize-control/grab-area.js +2 -2
  19. package/dist/es2019/components/resize-control/resize-button.js +3 -1
  20. package/dist/es2019/components/skip-links/skip-link-components.js +13 -21
  21. package/dist/es2019/components/slots/banner-slot.js +3 -1
  22. package/dist/es2019/components/slots/internal/left-sidebar-outer.js +3 -1
  23. package/dist/es2019/components/slots/left-panel.js +3 -1
  24. package/dist/es2019/components/slots/main.js +3 -1
  25. package/dist/es2019/components/slots/right-panel.js +3 -1
  26. package/dist/es2019/components/slots/right-sidebar.js +3 -1
  27. package/dist/es2019/components/slots/top-navigation.js +3 -1
  28. package/dist/esm/components/resize-control/grab-area.js +2 -2
  29. package/dist/esm/components/resize-control/resize-button.js +3 -1
  30. package/dist/esm/components/skip-links/skip-link-components.js +13 -21
  31. package/dist/esm/components/slots/banner-slot.js +3 -1
  32. package/dist/esm/components/slots/internal/left-sidebar-outer.js +3 -1
  33. package/dist/esm/components/slots/left-panel.js +3 -1
  34. package/dist/esm/components/slots/main.js +3 -1
  35. package/dist/esm/components/slots/right-panel.js +3 -1
  36. package/dist/esm/components/slots/right-sidebar.js +3 -1
  37. package/dist/esm/components/slots/top-navigation.js +3 -1
  38. package/dist/types/common/types.d.ts +3 -3
  39. package/dist/types/common/utils.d.ts +1 -1
  40. package/dist/types/components/resize-control/grab-area.d.ts +2 -2
  41. package/dist/types/components/resize-control/index.d.ts +1 -1
  42. package/dist/types/components/resize-control/resize-button.d.ts +1 -1
  43. package/dist/types/components/resize-control/types.d.ts +2 -2
  44. package/dist/types/components/skip-links/skip-link-components.d.ts +3 -4
  45. package/dist/types/components/skip-links/use-custom-skip-link.d.ts +1 -1
  46. package/dist/types/components/slots/banner-slot.d.ts +1 -1
  47. package/dist/types/components/slots/content.d.ts +1 -1
  48. package/dist/types/components/slots/internal/left-sidebar-outer.d.ts +1 -1
  49. package/dist/types/components/slots/left-panel.d.ts +1 -1
  50. package/dist/types/components/slots/left-sidebar-without-resize.d.ts +1 -1
  51. package/dist/types/components/slots/left-sidebar.d.ts +1 -1
  52. package/dist/types/components/slots/page-layout.d.ts +1 -1
  53. package/dist/types/components/slots/right-panel.d.ts +1 -1
  54. package/dist/types/components/slots/right-sidebar.d.ts +1 -1
  55. package/dist/types/components/slots/top-navigation.d.ts +1 -1
  56. package/dist/types/controllers/sidebar-resize-context.d.ts +1 -1
  57. package/dist/types/controllers/sidebar-resize-controller.d.ts +2 -2
  58. package/dist/types/controllers/skip-link-context.d.ts +1 -1
  59. package/dist/types/controllers/skip-link-controller.d.ts +1 -1
  60. package/dist/types/controllers/use-page-layout-grid.d.ts +1 -1
  61. package/dist/types-ts4.5/common/types.d.ts +3 -3
  62. package/dist/types-ts4.5/common/utils.d.ts +1 -1
  63. package/dist/types-ts4.5/components/resize-control/grab-area.d.ts +2 -2
  64. package/dist/types-ts4.5/components/resize-control/index.d.ts +1 -1
  65. package/dist/types-ts4.5/components/resize-control/resize-button.d.ts +1 -1
  66. package/dist/types-ts4.5/components/resize-control/types.d.ts +2 -2
  67. package/dist/types-ts4.5/components/skip-links/skip-link-components.d.ts +3 -4
  68. package/dist/types-ts4.5/components/skip-links/use-custom-skip-link.d.ts +1 -1
  69. package/dist/types-ts4.5/components/slots/banner-slot.d.ts +1 -1
  70. package/dist/types-ts4.5/components/slots/content.d.ts +1 -1
  71. package/dist/types-ts4.5/components/slots/internal/left-sidebar-outer.d.ts +1 -1
  72. package/dist/types-ts4.5/components/slots/left-panel.d.ts +1 -1
  73. package/dist/types-ts4.5/components/slots/left-sidebar-without-resize.d.ts +1 -1
  74. package/dist/types-ts4.5/components/slots/left-sidebar.d.ts +1 -1
  75. package/dist/types-ts4.5/components/slots/page-layout.d.ts +1 -1
  76. package/dist/types-ts4.5/components/slots/right-panel.d.ts +1 -1
  77. package/dist/types-ts4.5/components/slots/right-sidebar.d.ts +1 -1
  78. package/dist/types-ts4.5/components/slots/top-navigation.d.ts +1 -1
  79. package/dist/types-ts4.5/controllers/sidebar-resize-context.d.ts +1 -1
  80. package/dist/types-ts4.5/controllers/sidebar-resize-controller.d.ts +2 -2
  81. package/dist/types-ts4.5/controllers/skip-link-context.d.ts +1 -1
  82. package/dist/types-ts4.5/controllers/skip-link-controller.d.ts +1 -1
  83. package/dist/types-ts4.5/controllers/use-page-layout-grid.d.ts +1 -1
  84. package/package.json +11 -12
@@ -79,7 +79,9 @@ var RightSidebar = function RightSidebar(props) {
79
79
  var className = _ref.className;
80
80
  return jsx("div", _extends({
81
81
  "data-testid": testId,
82
- css: [outerStyles, isFixed && fixedOuterStyles],
82
+ css: [outerStyles, isFixed && fixedOuterStyles]
83
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
84
+ ,
83
85
  className: className,
84
86
  id: id
85
87
  }, getPageLayoutSlotSelector('right-sidebar')), jsx(SlotDimensions, {
@@ -52,7 +52,9 @@ var TopNavigation = function TopNavigation(props) {
52
52
  return jsx(SlotFocusRing, null, function (_ref) {
53
53
  var className = _ref.className;
54
54
  return jsx("div", _extends({
55
- css: [topNavigationStyles, isFixed && fixedStyles],
55
+ css: [topNavigationStyles, isFixed && fixedStyles]
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
57
+ ,
56
58
  className: className,
57
59
  "data-testid": testId,
58
60
  id: id
@@ -1,6 +1,6 @@
1
- import { ElementType, ReactElement, ReactNode } from 'react';
2
- import { ResizeButtonProps } from '../components/resize-control/types';
3
- import { LeftSidebarState } from '../controllers/sidebar-resize-context';
1
+ import { type ElementType, type ReactElement, type ReactNode } from 'react';
2
+ import { type ResizeButtonProps } from '../components/resize-control/types';
3
+ import { type LeftSidebarState } from '../controllers/sidebar-resize-context';
4
4
  interface SlotProps {
5
5
  /**
6
6
  * Sets the position to fixed.
@@ -1,4 +1,4 @@
1
- import { DimensionNames, Dimensions } from './types';
1
+ import { type DimensionNames, type Dimensions } from './types';
2
2
  declare const emptyGridState: Dimensions;
3
3
  declare const mergeGridStateIntoStorage: (key: string, value: any) => void;
4
4
  declare const getGridStateFromStorage: (key: string) => any;
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
- import { ComponentProps, FocusEvent, KeyboardEvent, MouseEvent } from 'react';
2
+ import { type ComponentProps, type FocusEvent, type KeyboardEvent, type MouseEvent } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { LeftSidebarProps } from '../../common/types';
4
+ import { type LeftSidebarProps } from '../../common/types';
5
5
  export type GrabAreaProps = {
6
6
  isDisabled: boolean;
7
7
  isLeftSidebarCollapsed: boolean;
@@ -1,4 +1,4 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { ResizeControlProps } from './types';
2
+ import { type ResizeControlProps } from './types';
3
3
  declare const ResizeControl: ({ testId, overrides, resizeButtonLabel, valueTextLabel, resizeGrabAreaLabel, onResizeStart, onResizeEnd, }: ResizeControlProps) => jsx.JSX.Element;
4
4
  export default ResizeControl;
@@ -1,4 +1,4 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { ResizeButtonProps } from './types';
2
+ import { type ResizeButtonProps } from './types';
3
3
  declare const ResizeButton: ({ isLeftSidebarCollapsed, label, testId, ...props }: ResizeButtonProps) => jsx.JSX.Element;
4
4
  export default ResizeButton;
@@ -1,5 +1,5 @@
1
- import { ButtonHTMLAttributes, ElementType, ReactElement } from 'react';
2
- import { LeftSidebarState } from '../../controllers/sidebar-resize-context';
1
+ import { type ButtonHTMLAttributes, type ElementType, type ReactElement } from 'react';
2
+ import { type LeftSidebarState } from '../../controllers/sidebar-resize-context';
3
3
  export type ResizeButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
4
4
  isLeftSidebarCollapsed: boolean;
5
5
  label: string;
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { SkipLinkWrapperProps } from './types';
4
+ import { type SkipLinkWrapperProps } from './types';
5
5
  /**
6
6
  * The default label will be used when the `skipLinksLabel` attribute is not
7
7
  * provided or the attribute is an empty string. If a string comprised only of
@@ -10,9 +10,8 @@ import { SkipLinkWrapperProps } from './types';
10
10
  * themselves.
11
11
  */
12
12
  export declare const SkipLinkWrapper: ({ skipLinksLabel }: SkipLinkWrapperProps) => jsx.JSX.Element | null;
13
- export declare const SkipLink: ({ href, children, isFocusable, title, }: {
13
+ export declare const SkipLink: ({ href, children, isFocusable, }: {
14
14
  href: string;
15
15
  children: ReactNode;
16
16
  isFocusable: boolean;
17
- title: string;
18
17
  }) => jsx.JSX.Element;
@@ -1,2 +1,2 @@
1
- import { SkipLinkData } from '../../controllers';
1
+ import { type SkipLinkData } from '../../controllers';
2
2
  export declare const useCustomSkipLink: (id: SkipLinkData['id'], skipLinkTitle: SkipLinkData['skipLinkTitle'], listIndex?: SkipLinkData['listIndex']) => void;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotHeightProps } from '../../common/types';
2
+ import { type SlotHeightProps } from '../../common/types';
3
3
  /**
4
4
  * __Banner__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  interface ContentProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { MouseEventHandler, ReactNode } from 'react';
2
+ import { type MouseEventHandler, type ReactNode } from 'react';
3
3
  type LeftSidebarOuterProps = {
4
4
  children: ReactNode;
5
5
  isFixed?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Left panel__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Left sidebar without resize__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { LeftSidebarProps } from '../../common/types';
2
+ import { type LeftSidebarProps } from '../../common/types';
3
3
  /**
4
4
  * __Left sidebar__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { PageLayoutProps } from '../../common/types';
2
+ import { type PageLayoutProps } from '../../common/types';
3
3
  /**
4
4
  * __Page layout__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Right panel__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Right sidebar__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotHeightProps } from '../../common/types';
2
+ import { type SlotHeightProps } from '../../common/types';
3
3
  /**
4
4
  * __Top navigation__
5
5
  *
@@ -1,4 +1,4 @@
1
- import { KeyboardEvent, MouseEvent } from 'react';
1
+ import { type KeyboardEvent, type MouseEvent } from 'react';
2
2
  export type LeftSidebarState = {
3
3
  isFlyoutOpen: boolean;
4
4
  isResizing: boolean;
@@ -1,3 +1,3 @@
1
- import { FC } from 'react';
2
- import { SidebarResizeControllerProps } from '../common/types';
1
+ import { type FC } from 'react';
2
+ import { type SidebarResizeControllerProps } from '../common/types';
3
3
  export declare const SidebarResizeController: FC<SidebarResizeControllerProps>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SkipLinkContextProps, SkipLinkData } from './types';
2
+ import { type SkipLinkContextProps, type SkipLinkData } from './types';
3
3
  export declare const SkipLinksContext: import("react").Context<SkipLinkContextProps>;
4
4
  export declare const useSkipLinks: () => SkipLinkContextProps;
5
5
  export declare const useSkipLink: (id?: SkipLinkData['id'], skipLinkTitle?: SkipLinkData['skipLinkTitle']) => void;
@@ -1,4 +1,4 @@
1
- import { FC, ReactNode } from 'react';
1
+ import { type FC, type ReactNode } from 'react';
2
2
  export declare const SkipLinksController: FC<{
3
3
  children: ReactNode;
4
4
  }>;
@@ -1,3 +1,3 @@
1
- import { Dimensions } from '../common/types';
1
+ import { type Dimensions } from '../common/types';
2
2
  declare const publishGridState: (gridState: Dimensions) => void;
3
3
  export default publishGridState;
@@ -1,6 +1,6 @@
1
- import { ElementType, ReactElement, ReactNode } from 'react';
2
- import { ResizeButtonProps } from '../components/resize-control/types';
3
- import { LeftSidebarState } from '../controllers/sidebar-resize-context';
1
+ import { type ElementType, type ReactElement, type ReactNode } from 'react';
2
+ import { type ResizeButtonProps } from '../components/resize-control/types';
3
+ import { type LeftSidebarState } from '../controllers/sidebar-resize-context';
4
4
  interface SlotProps {
5
5
  /**
6
6
  * Sets the position to fixed.
@@ -1,4 +1,4 @@
1
- import { DimensionNames, Dimensions } from './types';
1
+ import { type DimensionNames, type Dimensions } from './types';
2
2
  declare const emptyGridState: Dimensions;
3
3
  declare const mergeGridStateIntoStorage: (key: string, value: any) => void;
4
4
  declare const getGridStateFromStorage: (key: string) => any;
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
- import { ComponentProps, FocusEvent, KeyboardEvent, MouseEvent } from 'react';
2
+ import { type ComponentProps, type FocusEvent, type KeyboardEvent, type MouseEvent } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { LeftSidebarProps } from '../../common/types';
4
+ import { type LeftSidebarProps } from '../../common/types';
5
5
  export type GrabAreaProps = {
6
6
  isDisabled: boolean;
7
7
  isLeftSidebarCollapsed: boolean;
@@ -1,4 +1,4 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { ResizeControlProps } from './types';
2
+ import { type ResizeControlProps } from './types';
3
3
  declare const ResizeControl: ({ testId, overrides, resizeButtonLabel, valueTextLabel, resizeGrabAreaLabel, onResizeStart, onResizeEnd, }: ResizeControlProps) => jsx.JSX.Element;
4
4
  export default ResizeControl;
@@ -1,4 +1,4 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { ResizeButtonProps } from './types';
2
+ import { type ResizeButtonProps } from './types';
3
3
  declare const ResizeButton: ({ isLeftSidebarCollapsed, label, testId, ...props }: ResizeButtonProps) => jsx.JSX.Element;
4
4
  export default ResizeButton;
@@ -1,5 +1,5 @@
1
- import { ButtonHTMLAttributes, ElementType, ReactElement } from 'react';
2
- import { LeftSidebarState } from '../../controllers/sidebar-resize-context';
1
+ import { type ButtonHTMLAttributes, type ElementType, type ReactElement } from 'react';
2
+ import { type LeftSidebarState } from '../../controllers/sidebar-resize-context';
3
3
  export type ResizeButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
4
4
  isLeftSidebarCollapsed: boolean;
5
5
  label: string;
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { SkipLinkWrapperProps } from './types';
4
+ import { type SkipLinkWrapperProps } from './types';
5
5
  /**
6
6
  * The default label will be used when the `skipLinksLabel` attribute is not
7
7
  * provided or the attribute is an empty string. If a string comprised only of
@@ -10,9 +10,8 @@ import { SkipLinkWrapperProps } from './types';
10
10
  * themselves.
11
11
  */
12
12
  export declare const SkipLinkWrapper: ({ skipLinksLabel }: SkipLinkWrapperProps) => jsx.JSX.Element | null;
13
- export declare const SkipLink: ({ href, children, isFocusable, title, }: {
13
+ export declare const SkipLink: ({ href, children, isFocusable, }: {
14
14
  href: string;
15
15
  children: ReactNode;
16
16
  isFocusable: boolean;
17
- title: string;
18
17
  }) => jsx.JSX.Element;
@@ -1,2 +1,2 @@
1
- import { SkipLinkData } from '../../controllers';
1
+ import { type SkipLinkData } from '../../controllers';
2
2
  export declare const useCustomSkipLink: (id: SkipLinkData['id'], skipLinkTitle: SkipLinkData['skipLinkTitle'], listIndex?: SkipLinkData['listIndex']) => void;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotHeightProps } from '../../common/types';
2
+ import { type SlotHeightProps } from '../../common/types';
3
3
  /**
4
4
  * __Banner__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  interface ContentProps {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { MouseEventHandler, ReactNode } from 'react';
2
+ import { type MouseEventHandler, type ReactNode } from 'react';
3
3
  type LeftSidebarOuterProps = {
4
4
  children: ReactNode;
5
5
  isFixed?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Left panel__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Left sidebar without resize__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { LeftSidebarProps } from '../../common/types';
2
+ import { type LeftSidebarProps } from '../../common/types';
3
3
  /**
4
4
  * __Left sidebar__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { PageLayoutProps } from '../../common/types';
2
+ import { type PageLayoutProps } from '../../common/types';
3
3
  /**
4
4
  * __Page layout__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Right panel__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotWidthProps } from '../../common/types';
2
+ import { type SlotWidthProps } from '../../common/types';
3
3
  /**
4
4
  * __Right sidebar__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { SlotHeightProps } from '../../common/types';
2
+ import { type SlotHeightProps } from '../../common/types';
3
3
  /**
4
4
  * __Top navigation__
5
5
  *
@@ -1,4 +1,4 @@
1
- import { KeyboardEvent, MouseEvent } from 'react';
1
+ import { type KeyboardEvent, type MouseEvent } from 'react';
2
2
  export type LeftSidebarState = {
3
3
  isFlyoutOpen: boolean;
4
4
  isResizing: boolean;
@@ -1,3 +1,3 @@
1
- import { FC } from 'react';
2
- import { SidebarResizeControllerProps } from '../common/types';
1
+ import { type FC } from 'react';
2
+ import { type SidebarResizeControllerProps } from '../common/types';
3
3
  export declare const SidebarResizeController: FC<SidebarResizeControllerProps>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SkipLinkContextProps, SkipLinkData } from './types';
2
+ import { type SkipLinkContextProps, type SkipLinkData } from './types';
3
3
  export declare const SkipLinksContext: import("react").Context<SkipLinkContextProps>;
4
4
  export declare const useSkipLinks: () => SkipLinkContextProps;
5
5
  export declare const useSkipLink: (id?: SkipLinkData['id'], skipLinkTitle?: SkipLinkData['skipLinkTitle']) => void;
@@ -1,4 +1,4 @@
1
- import { FC, ReactNode } from 'react';
1
+ import { type FC, type ReactNode } from 'react';
2
2
  export declare const SkipLinksController: FC<{
3
3
  children: ReactNode;
4
4
  }>;
@@ -1,3 +1,3 @@
1
- import { Dimensions } from '../common/types';
1
+ import { type Dimensions } from '../common/types';
2
2
  declare const publishGridState: (gridState: Dimensions) => void;
3
3
  export default publishGridState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "3.3.0",
3
+ "version": "3.3.2",
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/"
@@ -40,12 +40,13 @@
40
40
  "homepage": "https://atlassian.design/components/page-layout/",
41
41
  "dependencies": {
42
42
  "@atlaskit/ds-lib": "^2.3.0",
43
- "@atlaskit/icon": "^22.2.0",
43
+ "@atlaskit/icon": "^22.3.0",
44
+ "@atlaskit/link": "^0.3.0",
44
45
  "@atlaskit/motion": "^1.6.0",
45
46
  "@atlaskit/platform-feature-flags": "^0.2.0",
46
- "@atlaskit/primitives": "^6.2.0",
47
- "@atlaskit/theme": "^12.8.0",
48
- "@atlaskit/tokens": "^1.48.0",
47
+ "@atlaskit/primitives": "^7.0.0",
48
+ "@atlaskit/theme": "^12.9.0",
49
+ "@atlaskit/tokens": "^1.49.0",
49
50
  "@babel/runtime": "^7.0.0",
50
51
  "@emotion/react": "^11.7.1",
51
52
  "bind-event-listener": "^3.0.0",
@@ -58,20 +59,19 @@
58
59
  "devDependencies": {
59
60
  "@af/accessibility-testing": "*",
60
61
  "@af/integration-testing": "*",
61
- "@atlaskit/atlassian-navigation": "^3.6.0",
62
+ "@atlaskit/atlassian-navigation": "^4.0.0",
62
63
  "@atlaskit/atlassian-notifications": "^0.4.0",
63
- "@atlaskit/drawer": "^7.8.0",
64
- "@atlaskit/logo": "^13.17.0",
65
- "@atlaskit/menu": "^2.3.0",
64
+ "@atlaskit/drawer": "^7.11.0",
65
+ "@atlaskit/logo": "^14.0.0",
66
+ "@atlaskit/menu": "^2.4.0",
66
67
  "@atlaskit/notification-indicator": "^9.2.0",
67
68
  "@atlaskit/notification-log-client": "^6.1.0",
68
69
  "@atlaskit/popup": "^1.17.0",
69
- "@atlaskit/side-navigation": "^3.1.0",
70
+ "@atlaskit/side-navigation": "^3.2.0",
70
71
  "@atlaskit/ssr": "*",
71
72
  "@atlaskit/toggle": "^13.1.0",
72
73
  "@atlaskit/tooltip": "^18.4.0",
73
74
  "@atlaskit/visual-regression": "*",
74
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
75
75
  "@testing-library/dom": "^8.17.1",
76
76
  "@testing-library/react": "^12.1.5",
77
77
  "@testing-library/react-hooks": "^8.0.1",
@@ -113,7 +113,6 @@
113
113
  ]
114
114
  }
115
115
  },
116
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
117
116
  "platform-feature-flags": {
118
117
  "platform.design-system-team.page-layout-resize-button-fix_u0qxv": {
119
118
  "type": "boolean"