@atlaskit/page-layout 4.2.8 → 4.2.10
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 +14 -0
- package/dist/cjs/controllers/sidebar-resize-controller.js +1 -1
- package/dist/es2019/controllers/sidebar-resize-controller.js +1 -1
- package/dist/esm/controllers/sidebar-resize-controller.js +1 -1
- package/dist/types/components/resize-control/shadow.d.ts +1 -1
- package/dist/types/components/skip-links/use-custom-skip-link.d.ts +1 -1
- package/dist/types/controllers/skip-link-context.d.ts +1 -2
- package/dist/types-ts4.5/components/resize-control/shadow.d.ts +1 -1
- package/dist/types-ts4.5/components/skip-links/use-custom-skip-link.d.ts +1 -1
- package/dist/types-ts4.5/controllers/skip-link-context.d.ts +1 -2
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/page-layout
|
|
2
2
|
|
|
3
|
+
## 4.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`31c57f650ba07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31c57f650ba07) -
|
|
8
|
+
Improving tests for server side rendering and hydration
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.2.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.2.8
|
|
4
18
|
|
|
5
19
|
### 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
|
|
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
|
|
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
|
|
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,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type SkipLinkData } from '../../controllers';
|
|
2
|
-
export declare const useCustomSkipLink: (id: SkipLinkData[
|
|
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[
|
|
4
|
+
export declare const useSkipLink: (id?: SkipLinkData["id"], skipLinkTitle?: SkipLinkData["skipLinkTitle"]) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type SkipLinkData } from '../../controllers';
|
|
2
|
-
export declare const useCustomSkipLink: (id: SkipLinkData[
|
|
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[
|
|
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.
|
|
3
|
+
"version": "4.2.10",
|
|
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": "^
|
|
44
|
+
"@atlaskit/icon": "^28.0.0",
|
|
45
45
|
"@atlaskit/link": "^3.2.0",
|
|
46
|
-
"@atlaskit/motion": "^5.
|
|
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,21 +61,20 @@
|
|
|
61
61
|
"@af/accessibility-testing": "workspace:^",
|
|
62
62
|
"@af/integration-testing": "workspace:^",
|
|
63
63
|
"@atlaskit/atlassian-navigation": "^5.3.0",
|
|
64
|
-
"@atlaskit/button": "^23.
|
|
64
|
+
"@atlaskit/button": "^23.4.0",
|
|
65
65
|
"@atlaskit/docs": "^11.0.0",
|
|
66
|
-
"@atlaskit/logo": "^19.
|
|
67
|
-
"@atlaskit/menu": "^8.
|
|
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",
|
|
71
71
|
"@atlaskit/tooltip": "^20.4.0",
|
|
72
72
|
"@atlaskit/visual-regression": "workspace:^",
|
|
73
|
-
"@atlassian/ssr-tests": "^0.
|
|
73
|
+
"@atlassian/ssr-tests": "^0.3.0",
|
|
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": {
|