@atlaskit/page-layout 1.2.1 → 1.2.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 +18 -0
- package/dist/cjs/controllers/sidebar-resize-controller.js +3 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/controllers/sidebar-resize-controller.js +3 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/controllers/sidebar-resize-controller.js +3 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/common/utils.d.ts +0 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/page-layout
|
|
2
2
|
|
|
3
|
+
## 1.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ef9ecf15b36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef9ecf15b36) - Calling `collapseLeftSidebar` while the sidebar is already collapsed no longer modifies the sidebar state. This prevents an invalid state that could occur if `collapseLeftSidebar` was called while the sidebar was in flyout.
|
|
8
|
+
|
|
9
|
+
## 1.2.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 1.2.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
20
|
+
|
|
3
21
|
## 1.2.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -102,9 +102,10 @@ var SidebarResizeController = function SidebarResizeController(_ref) {
|
|
|
102
102
|
var leftSidebarWidth = leftSidebarState.leftSidebarWidth,
|
|
103
103
|
isResizing = leftSidebarState.isResizing,
|
|
104
104
|
flyoutLockCount = leftSidebarState.flyoutLockCount,
|
|
105
|
-
isFixed = leftSidebarState.isFixed
|
|
105
|
+
isFixed = leftSidebarState.isFixed,
|
|
106
|
+
isLeftSidebarCollapsed = leftSidebarState.isLeftSidebarCollapsed;
|
|
106
107
|
|
|
107
|
-
if (isResizing) {
|
|
108
|
+
if (isResizing || isLeftSidebarCollapsed) {
|
|
108
109
|
return;
|
|
109
110
|
} // data-attribute is used as a CSS selector to sync the hiding/showing
|
|
110
111
|
// of the nav contents with expand/collapse animation
|
package/dist/cjs/version.json
CHANGED
|
@@ -79,10 +79,11 @@ export const SidebarResizeController = ({
|
|
|
79
79
|
leftSidebarWidth,
|
|
80
80
|
isResizing,
|
|
81
81
|
flyoutLockCount,
|
|
82
|
-
isFixed
|
|
82
|
+
isFixed,
|
|
83
|
+
isLeftSidebarCollapsed
|
|
83
84
|
} = leftSidebarState;
|
|
84
85
|
|
|
85
|
-
if (isResizing) {
|
|
86
|
+
if (isResizing || isLeftSidebarCollapsed) {
|
|
86
87
|
return;
|
|
87
88
|
} // data-attribute is used as a CSS selector to sync the hiding/showing
|
|
88
89
|
// of the nav contents with expand/collapse animation
|
package/dist/es2019/version.json
CHANGED
|
@@ -82,9 +82,10 @@ export var SidebarResizeController = function SidebarResizeController(_ref) {
|
|
|
82
82
|
var leftSidebarWidth = leftSidebarState.leftSidebarWidth,
|
|
83
83
|
isResizing = leftSidebarState.isResizing,
|
|
84
84
|
flyoutLockCount = leftSidebarState.flyoutLockCount,
|
|
85
|
-
isFixed = leftSidebarState.isFixed
|
|
85
|
+
isFixed = leftSidebarState.isFixed,
|
|
86
|
+
isLeftSidebarCollapsed = leftSidebarState.isLeftSidebarCollapsed;
|
|
86
87
|
|
|
87
|
-
if (isResizing) {
|
|
88
|
+
if (isResizing || isLeftSidebarCollapsed) {
|
|
88
89
|
return;
|
|
89
90
|
} // data-attribute is used as a CSS selector to sync the hiding/showing
|
|
90
91
|
// of the nav contents with expand/collapse animation
|
package/dist/esm/version.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DimensionNames, Dimensions } from '../common/types';
|
|
2
|
-
import { PAGE_LAYOUT_SLOT_SELECTOR } from './constants';
|
|
3
2
|
declare const emptyGridState: Dimensions;
|
|
4
3
|
declare const mergeGridStateIntoStorage: (key: string, value: any) => void;
|
|
5
4
|
declare const getGridStateFromStorage: (key: string) => any;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/page-layout",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.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/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"homepage": "https://atlassian.design/components/page-layout/",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/icon": "^21.10.0",
|
|
28
|
-
"@atlaskit/motion": "^1.
|
|
28
|
+
"@atlaskit/motion": "^1.1.0",
|
|
29
29
|
"@atlaskit/theme": "^12.1.0",
|
|
30
|
-
"@atlaskit/tokens": "^0.
|
|
30
|
+
"@atlaskit/tokens": "^0.10.0",
|
|
31
31
|
"@babel/runtime": "^7.0.0",
|
|
32
32
|
"@emotion/core": "^10.0.9",
|
|
33
33
|
"raf-schd": "^4.0.3"
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"react-dom": "^16.8.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@atlaskit/atlassian-navigation": "^2.
|
|
40
|
+
"@atlaskit/atlassian-navigation": "^2.2.0",
|
|
41
41
|
"@atlaskit/atlassian-notifications": "^0.3.0",
|
|
42
|
-
"@atlaskit/button": "^16.
|
|
42
|
+
"@atlaskit/button": "^16.3.0",
|
|
43
43
|
"@atlaskit/docs": "*",
|
|
44
44
|
"@atlaskit/drawer": "^7.1.0",
|
|
45
45
|
"@atlaskit/icon": "*",
|
|
46
|
-
"@atlaskit/logo": "^13.
|
|
46
|
+
"@atlaskit/logo": "^13.7.0",
|
|
47
47
|
"@atlaskit/menu": "^1.3.0",
|
|
48
48
|
"@atlaskit/notification-indicator": "^9.0.0",
|
|
49
49
|
"@atlaskit/notification-log-client": "^6.0.0",
|
|
50
|
-
"@atlaskit/onboarding": "^10.
|
|
50
|
+
"@atlaskit/onboarding": "^10.4.0",
|
|
51
51
|
"@atlaskit/popup": "^1.3.0",
|
|
52
52
|
"@atlaskit/section-message": "^6.0.0",
|
|
53
53
|
"@atlaskit/side-navigation": "^1.2.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"jest-emotion": "^10.0.32",
|
|
64
64
|
"raf-stub": "^2.0.1",
|
|
65
65
|
"storybook-addon-performance": "^0.16.0",
|
|
66
|
-
"typescript": "
|
|
66
|
+
"typescript": "4.2.4"
|
|
67
67
|
},
|
|
68
68
|
"keywords": [
|
|
69
69
|
"atlaskit",
|