@atlaskit/page-layout 4.2.20 → 4.2.22

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
+ ## 4.2.22
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
8
+ Internal refactors to remove unused variables. No functional or public changes.
9
+ - Updated dependencies
10
+
11
+ ## 4.2.21
12
+
13
+ ### Patch Changes
14
+
15
+ - [`391f053913a7c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/391f053913a7c) -
16
+ export additional types
17
+
3
18
  ## 4.2.20
4
19
 
5
20
  ### Patch Changes
@@ -15,7 +15,7 @@ var isLocalStorageSupported = function isLocalStorageSupported() {
15
15
  localStorage.setItem(testKey, testKey);
16
16
  localStorage.removeItem(testKey);
17
17
  return true;
18
- } catch (e) {
18
+ } catch (_unused) {
19
19
  return false;
20
20
  }
21
21
  };
@@ -9,7 +9,7 @@ const isLocalStorageSupported = () => {
9
9
  localStorage.setItem(testKey, testKey);
10
10
  localStorage.removeItem(testKey);
11
11
  return true;
12
- } catch (e) {
12
+ } catch {
13
13
  return false;
14
14
  }
15
15
  };
@@ -9,7 +9,7 @@ var isLocalStorageSupported = function isLocalStorageSupported() {
9
9
  localStorage.setItem(testKey, testKey);
10
10
  localStorage.removeItem(testKey);
11
11
  return true;
12
- } catch (e) {
12
+ } catch (_unused) {
13
13
  return false;
14
14
  }
15
15
  };
@@ -7,5 +7,5 @@ interface SlotDimensionsProps {
7
7
  /**
8
8
  * Hoists slot dimension styles to the root element.
9
9
  */
10
- declare const SlotDimensions: ({ variableName, value, mobileValue }: SlotDimensionsProps) => React.JSX.Element;
10
+ declare const SlotDimensions: ({ variableName, value, mobileValue, }: SlotDimensionsProps) => React.JSX.Element;
11
11
  export default SlotDimensions;
@@ -1,4 +1,4 @@
1
1
  export { PageLayout, Main, Content, RightSidebar, LeftSidebar, LeftSidebarWithoutResize, RightPanel, LeftPanel, Banner, TopNavigation, useCustomSkipLink, } from './components';
2
2
  export { LEFT_PANEL_WIDTH, RIGHT_PANEL_WIDTH, BANNER_HEIGHT, TOP_NAVIGATION_HEIGHT, LEFT_SIDEBAR_WIDTH, RIGHT_SIDEBAR_WIDTH, } from './common/constants';
3
3
  export { usePageLayoutResize, useLeftSidebarFlyoutLock } from './controllers';
4
- export type { SlotHeightProps, SlotWidthProps, Dimensions, LeftSidebarState } from './common/types';
4
+ export type { SlotHeightProps, SlotWidthProps, Dimensions, LeftSidebarState, PageLayoutProps, } from './common/types';
@@ -7,5 +7,5 @@ interface SlotDimensionsProps {
7
7
  /**
8
8
  * Hoists slot dimension styles to the root element.
9
9
  */
10
- declare const SlotDimensions: ({ variableName, value, mobileValue }: SlotDimensionsProps) => React.JSX.Element;
10
+ declare const SlotDimensions: ({ variableName, value, mobileValue, }: SlotDimensionsProps) => React.JSX.Element;
11
11
  export default SlotDimensions;
@@ -1,4 +1,4 @@
1
1
  export { PageLayout, Main, Content, RightSidebar, LeftSidebar, LeftSidebarWithoutResize, RightPanel, LeftPanel, Banner, TopNavigation, useCustomSkipLink, } from './components';
2
2
  export { LEFT_PANEL_WIDTH, RIGHT_PANEL_WIDTH, BANNER_HEIGHT, TOP_NAVIGATION_HEIGHT, LEFT_SIDEBAR_WIDTH, RIGHT_SIDEBAR_WIDTH, } from './common/constants';
3
3
  export { usePageLayoutResize, useLeftSidebarFlyoutLock } from './controllers';
4
- export type { SlotHeightProps, SlotWidthProps, Dimensions, LeftSidebarState } from './common/types';
4
+ export type { SlotHeightProps, SlotWidthProps, Dimensions, LeftSidebarState, PageLayoutProps, } from './common/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "4.2.20",
3
+ "version": "4.2.22",
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/"
@@ -37,14 +37,14 @@
37
37
  },
38
38
  "homepage": "https://atlassian.design/components/page-layout/",
39
39
  "dependencies": {
40
- "@atlaskit/ds-lib": "^5.2.0",
40
+ "@atlaskit/ds-lib": "^5.3.0",
41
41
  "@atlaskit/icon": "^29.0.0",
42
42
  "@atlaskit/link": "^3.2.0",
43
43
  "@atlaskit/motion": "^5.3.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
- "@atlaskit/primitives": "^16.1.0",
45
+ "@atlaskit/primitives": "^16.4.0",
46
46
  "@atlaskit/theme": "^21.0.0",
47
- "@atlaskit/tokens": "^8.0.0",
47
+ "@atlaskit/tokens": "^8.4.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
50
50
  "bind-event-listener": "^3.0.0",
@@ -57,7 +57,7 @@
57
57
  "devDependencies": {
58
58
  "@af/accessibility-testing": "workspace:^",
59
59
  "@af/integration-testing": "workspace:^",
60
- "@atlaskit/atlassian-navigation": "^5.4.0",
60
+ "@atlaskit/atlassian-navigation": "^5.5.0",
61
61
  "@atlaskit/button": "^23.6.0",
62
62
  "@atlaskit/docs": "^11.2.0",
63
63
  "@atlaskit/logo": "^19.9.0",
@@ -65,7 +65,7 @@
65
65
  "@atlaskit/popup": "^4.6.0",
66
66
  "@atlaskit/section-message": "^8.9.0",
67
67
  "@atlaskit/side-navigation": "^11.0.0",
68
- "@atlaskit/tooltip": "^20.8.0",
68
+ "@atlaskit/tooltip": "^20.11.0",
69
69
  "@atlassian/ssr-tests": "workspace:^",
70
70
  "@testing-library/react": "^13.4.0",
71
71
  "@testing-library/react-hooks": "^8.0.1",