@atlaskit/page-layout 4.2.8 → 4.2.9

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,11 @@
1
1
  # @atlaskit/page-layout
2
2
 
3
+ ## 4.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 4.2.8
4
10
 
5
11
  ### Patch Changes
@@ -248,7 +248,7 @@ var SidebarResizeController = exports.SidebarResizeController = function Sidebar
248
248
  var context = (0, _react.useMemo)(function () {
249
249
  return {
250
250
  isLeftSidebarCollapsed: !isOpen,
251
- // Technically this isn't quite true, but with mobile it's a bit safer if products are using this to roll their own collapse/expand
251
+ // Technically this isn't quite true, but with mobile it's a bit safer if apps are using this to roll their own collapse/expand
252
252
  expandLeftSidebar: expandLeftSidebar,
253
253
  collapseLeftSidebar: collapseLeftSidebar,
254
254
  leftSidebarState: leftSidebarState,
@@ -235,7 +235,7 @@ export const SidebarResizeController = ({
235
235
  }, []);
236
236
  const context = useMemo(() => ({
237
237
  isLeftSidebarCollapsed: !isOpen,
238
- // Technically this isn't quite true, but with mobile it's a bit safer if products are using this to roll their own collapse/expand
238
+ // Technically this isn't quite true, but with mobile it's a bit safer if apps are using this to roll their own collapse/expand
239
239
  expandLeftSidebar,
240
240
  collapseLeftSidebar,
241
241
  leftSidebarState,
@@ -239,7 +239,7 @@ export var SidebarResizeController = function SidebarResizeController(_ref) {
239
239
  var context = useMemo(function () {
240
240
  return {
241
241
  isLeftSidebarCollapsed: !isOpen,
242
- // Technically this isn't quite true, but with mobile it's a bit safer if products are using this to roll their own collapse/expand
242
+ // Technically this isn't quite true, but with mobile it's a bit safer if apps are using this to roll their own collapse/expand
243
243
  expandLeftSidebar: expandLeftSidebar,
244
244
  collapseLeftSidebar: collapseLeftSidebar,
245
245
  leftSidebarState: leftSidebarState,
@@ -4,6 +4,6 @@
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
6
  declare const Shadow: ({ testId }: {
7
- testId?: string | undefined;
7
+ testId?: string;
8
8
  }) => jsx.JSX.Element;
9
9
  export default Shadow;
@@ -1,2 +1,2 @@
1
1
  import { type SkipLinkData } from '../../controllers';
2
- export declare const useCustomSkipLink: (id: SkipLinkData['id'], skipLinkTitle: SkipLinkData['skipLinkTitle'], listIndex?: SkipLinkData['listIndex']) => void;
2
+ export declare const useCustomSkipLink: (id: SkipLinkData["id"], skipLinkTitle: SkipLinkData["skipLinkTitle"], listIndex?: SkipLinkData["listIndex"]) => void;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { type SkipLinkContextProps, type SkipLinkData } from './types';
3
2
  export declare const SkipLinksContext: import("react").Context<SkipLinkContextProps>;
4
3
  export declare const useSkipLinks: () => SkipLinkContextProps;
5
- export declare const useSkipLink: (id?: SkipLinkData['id'], skipLinkTitle?: SkipLinkData['skipLinkTitle']) => void;
4
+ export declare const useSkipLink: (id?: SkipLinkData["id"], skipLinkTitle?: SkipLinkData["skipLinkTitle"]) => void;
@@ -4,6 +4,6 @@
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
6
  declare const Shadow: ({ testId }: {
7
- testId?: string | undefined;
7
+ testId?: string;
8
8
  }) => jsx.JSX.Element;
9
9
  export default Shadow;
@@ -1,2 +1,2 @@
1
1
  import { type SkipLinkData } from '../../controllers';
2
- export declare const useCustomSkipLink: (id: SkipLinkData['id'], skipLinkTitle: SkipLinkData['skipLinkTitle'], listIndex?: SkipLinkData['listIndex']) => void;
2
+ export declare const useCustomSkipLink: (id: SkipLinkData["id"], skipLinkTitle: SkipLinkData["skipLinkTitle"], listIndex?: SkipLinkData["listIndex"]) => void;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { type SkipLinkContextProps, type SkipLinkData } from './types';
3
2
  export declare const SkipLinksContext: import("react").Context<SkipLinkContextProps>;
4
3
  export declare const useSkipLinks: () => SkipLinkContextProps;
5
- export declare const useSkipLink: (id?: SkipLinkData['id'], skipLinkTitle?: SkipLinkData['skipLinkTitle']) => void;
4
+ export declare const useSkipLink: (id?: SkipLinkData["id"], skipLinkTitle?: SkipLinkData["skipLinkTitle"]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
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/"
@@ -41,9 +41,9 @@
41
41
  "homepage": "https://atlassian.design/components/page-layout/",
42
42
  "dependencies": {
43
43
  "@atlaskit/ds-lib": "^5.0.0",
44
- "@atlaskit/icon": "^27.9.0",
44
+ "@atlaskit/icon": "^28.0.0",
45
45
  "@atlaskit/link": "^3.2.0",
46
- "@atlaskit/motion": "^5.1.0",
46
+ "@atlaskit/motion": "^5.3.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/primitives": "^14.11.0",
49
49
  "@atlaskit/theme": "^19.0.0",
@@ -61,10 +61,10 @@
61
61
  "@af/accessibility-testing": "workspace:^",
62
62
  "@af/integration-testing": "workspace:^",
63
63
  "@atlaskit/atlassian-navigation": "^5.3.0",
64
- "@atlaskit/button": "^23.3.0",
64
+ "@atlaskit/button": "^23.4.0",
65
65
  "@atlaskit/docs": "^11.0.0",
66
- "@atlaskit/logo": "^19.6.0",
67
- "@atlaskit/menu": "^8.1.0",
66
+ "@atlaskit/logo": "^19.7.0",
67
+ "@atlaskit/menu": "^8.3.0",
68
68
  "@atlaskit/popup": "^4.3.0",
69
69
  "@atlaskit/section-message": "^8.5.0",
70
70
  "@atlaskit/side-navigation": "^11.0.0",
@@ -74,8 +74,7 @@
74
74
  "@testing-library/react": "^13.4.0",
75
75
  "@testing-library/react-hooks": "^8.0.1",
76
76
  "@types/raf-schd": "^4.0.1",
77
- "raf-stub": "^2.0.1",
78
- "typescript": "~5.4.2"
77
+ "raf-stub": "^2.0.1"
79
78
  },
80
79
  "platform-feature-flags": {
81
80
  "platform_dst_popup-disable-focuslock": {