@atlaskit/page-layout 3.3.3 → 3.4.0

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 (95) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/README.md +6 -3
  3. package/__perf__/examples.tsx +45 -69
  4. package/__perf__/utils/perf-example.tsx +53 -55
  5. package/__perf__/utils/product-integration/atlassian-navigation.tsx +80 -77
  6. package/__perf__/utils/product-integration/create.tsx +12 -15
  7. package/__perf__/utils/product-integration/help-popup.tsx +38 -38
  8. package/__perf__/utils/product-integration/notifications-popup.tsx +76 -74
  9. package/__perf__/utils/product-integration/profile-popup.tsx +53 -53
  10. package/__perf__/utils/product-integration/sample-footer.tsx +30 -26
  11. package/__perf__/utils/product-integration/sample-header.tsx +15 -11
  12. package/__perf__/utils/product-integration/side-navigation.tsx +92 -101
  13. package/dist/cjs/components/resize-control/grab-area.js +8 -1
  14. package/dist/cjs/components/resize-control/index.js +9 -3
  15. package/dist/cjs/components/resize-control/resize-button.js +6 -0
  16. package/dist/cjs/components/resize-control/shadow.js +9 -5
  17. package/dist/cjs/components/skip-links/skip-link-components.js +4 -2
  18. package/dist/cjs/components/skip-links/use-custom-skip-link.js +3 -0
  19. package/dist/cjs/components/slots/banner-slot.js +12 -5
  20. package/dist/cjs/components/slots/content.js +6 -0
  21. package/dist/cjs/components/slots/internal/left-sidebar-inner.js +18 -1
  22. package/dist/cjs/components/slots/internal/left-sidebar-outer.js +16 -1
  23. package/dist/cjs/components/slots/internal/resizable-children-wrapper.js +7 -1
  24. package/dist/cjs/components/slots/internal/slot-focus-ring.js +9 -2
  25. package/dist/cjs/components/slots/left-panel.js +10 -3
  26. package/dist/cjs/components/slots/left-sidebar-without-resize.js +5 -0
  27. package/dist/cjs/components/slots/left-sidebar.js +4 -1
  28. package/dist/cjs/components/slots/main.js +8 -2
  29. package/dist/cjs/components/slots/page-layout.js +10 -2
  30. package/dist/cjs/components/slots/right-panel.js +10 -3
  31. package/dist/cjs/components/slots/right-sidebar.js +14 -9
  32. package/dist/cjs/components/slots/slot-dimensions.js +5 -1
  33. package/dist/cjs/components/slots/top-navigation.js +13 -6
  34. package/dist/es2019/components/resize-control/grab-area.js +8 -1
  35. package/dist/es2019/components/resize-control/index.js +10 -2
  36. package/dist/es2019/components/resize-control/resize-button.js +7 -1
  37. package/dist/es2019/components/resize-control/shadow.js +8 -5
  38. package/dist/es2019/components/skip-links/skip-link-components.js +5 -1
  39. package/dist/es2019/components/skip-links/use-custom-skip-link.js +3 -0
  40. package/dist/es2019/components/slots/banner-slot.js +12 -5
  41. package/dist/es2019/components/slots/content.js +5 -0
  42. package/dist/es2019/components/slots/internal/left-sidebar-inner.js +19 -3
  43. package/dist/es2019/components/slots/internal/left-sidebar-outer.js +18 -3
  44. package/dist/es2019/components/slots/internal/resizable-children-wrapper.js +6 -1
  45. package/dist/es2019/components/slots/internal/slot-focus-ring.js +8 -2
  46. package/dist/es2019/components/slots/left-panel.js +10 -3
  47. package/dist/es2019/components/slots/left-sidebar-without-resize.js +5 -0
  48. package/dist/es2019/components/slots/left-sidebar.js +6 -0
  49. package/dist/es2019/components/slots/main.js +8 -2
  50. package/dist/es2019/components/slots/page-layout.js +15 -1
  51. package/dist/es2019/components/slots/right-panel.js +10 -3
  52. package/dist/es2019/components/slots/right-sidebar.js +14 -9
  53. package/dist/es2019/components/slots/slot-dimensions.js +4 -1
  54. package/dist/es2019/components/slots/top-navigation.js +13 -6
  55. package/dist/esm/components/resize-control/grab-area.js +8 -1
  56. package/dist/esm/components/resize-control/index.js +10 -2
  57. package/dist/esm/components/resize-control/resize-button.js +6 -0
  58. package/dist/esm/components/resize-control/shadow.js +8 -5
  59. package/dist/esm/components/skip-links/skip-link-components.js +5 -1
  60. package/dist/esm/components/skip-links/use-custom-skip-link.js +3 -0
  61. package/dist/esm/components/slots/banner-slot.js +12 -5
  62. package/dist/esm/components/slots/content.js +5 -0
  63. package/dist/esm/components/slots/internal/left-sidebar-inner.js +17 -1
  64. package/dist/esm/components/slots/internal/left-sidebar-outer.js +16 -1
  65. package/dist/esm/components/slots/internal/resizable-children-wrapper.js +6 -1
  66. package/dist/esm/components/slots/internal/slot-focus-ring.js +8 -2
  67. package/dist/esm/components/slots/left-panel.js +10 -3
  68. package/dist/esm/components/slots/left-sidebar-without-resize.js +5 -0
  69. package/dist/esm/components/slots/left-sidebar.js +6 -0
  70. package/dist/esm/components/slots/main.js +8 -2
  71. package/dist/esm/components/slots/page-layout.js +10 -2
  72. package/dist/esm/components/slots/right-panel.js +10 -3
  73. package/dist/esm/components/slots/right-sidebar.js +14 -9
  74. package/dist/esm/components/slots/slot-dimensions.js +5 -1
  75. package/dist/esm/components/slots/top-navigation.js +13 -6
  76. package/dist/types/components/resize-control/grab-area.d.ts +3 -0
  77. package/dist/types/components/resize-control/shadow.d.ts +3 -0
  78. package/dist/types/components/skip-links/skip-link-components.d.ts +3 -0
  79. package/dist/types/components/slots/content.d.ts +3 -0
  80. package/dist/types/components/slots/internal/left-sidebar-inner.d.ts +3 -0
  81. package/dist/types/components/slots/internal/left-sidebar-outer.d.ts +3 -0
  82. package/dist/types/components/slots/internal/resizable-children-wrapper.d.ts +3 -0
  83. package/dist/types/components/slots/internal/slot-focus-ring.d.ts +3 -0
  84. package/dist/types/index.d.ts +1 -1
  85. package/dist/types-ts4.5/components/resize-control/grab-area.d.ts +3 -0
  86. package/dist/types-ts4.5/components/resize-control/shadow.d.ts +3 -0
  87. package/dist/types-ts4.5/components/skip-links/skip-link-components.d.ts +3 -0
  88. package/dist/types-ts4.5/components/slots/content.d.ts +3 -0
  89. package/dist/types-ts4.5/components/slots/internal/left-sidebar-inner.d.ts +3 -0
  90. package/dist/types-ts4.5/components/slots/internal/left-sidebar-outer.d.ts +3 -0
  91. package/dist/types-ts4.5/components/slots/internal/resizable-children-wrapper.d.ts +3 -0
  92. package/dist/types-ts4.5/components/slots/internal/slot-focus-ring.d.ts +3 -0
  93. package/dist/types-ts4.5/index.d.ts +1 -1
  94. package/package.json +123 -123
  95. package/report.api.md +83 -84
package/package.json CHANGED
@@ -1,124 +1,124 @@
1
1
  {
2
- "name": "@atlaskit/page-layout",
3
- "version": "3.3.3",
4
- "description": "A collection of components which let you compose an application's page layout.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
- "sideEffects": false,
24
- "atlaskit:src": "src/index.tsx",
25
- "af:exports": {
26
- ".": "./src/index.tsx"
27
- },
28
- "atlassian": {
29
- "team": "Design System Team",
30
- "releaseModel": "continuous",
31
- "productPushConsumption": [
32
- "jira"
33
- ],
34
- "website": {
35
- "name": "Page layout",
36
- "category": "Components"
37
- },
38
- "runReact18": true
39
- },
40
- "homepage": "https://atlassian.design/components/page-layout/",
41
- "dependencies": {
42
- "@atlaskit/ds-lib": "^2.3.0",
43
- "@atlaskit/icon": "^22.3.0",
44
- "@atlaskit/link": "^0.4.0",
45
- "@atlaskit/motion": "^1.6.0",
46
- "@atlaskit/platform-feature-flags": "^0.2.0",
47
- "@atlaskit/primitives": "^7.0.0",
48
- "@atlaskit/theme": "^12.9.0",
49
- "@atlaskit/tokens": "^1.49.0",
50
- "@babel/runtime": "^7.0.0",
51
- "@emotion/react": "^11.7.1",
52
- "bind-event-listener": "^3.0.0",
53
- "raf-schd": "^4.0.3"
54
- },
55
- "peerDependencies": {
56
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
57
- "react-dom": "^16.8.0"
58
- },
59
- "devDependencies": {
60
- "@af/accessibility-testing": "*",
61
- "@af/integration-testing": "*",
62
- "@atlaskit/atlassian-navigation": "^4.0.0",
63
- "@atlaskit/atlassian-notifications": "^0.4.0",
64
- "@atlaskit/drawer": "^7.11.0",
65
- "@atlaskit/logo": "^14.0.0",
66
- "@atlaskit/menu": "^2.4.0",
67
- "@atlaskit/notification-indicator": "^9.2.0",
68
- "@atlaskit/notification-log-client": "^6.1.0",
69
- "@atlaskit/popup": "^1.17.0",
70
- "@atlaskit/side-navigation": "^3.2.0",
71
- "@atlaskit/ssr": "*",
72
- "@atlaskit/toggle": "^13.1.0",
73
- "@atlaskit/tooltip": "^18.4.0",
74
- "@atlaskit/visual-regression": "*",
75
- "@testing-library/dom": "^8.17.1",
76
- "@testing-library/react": "^12.1.5",
77
- "@testing-library/react-hooks": "^8.0.1",
78
- "@types/raf-schd": "^4.0.1",
79
- "jest-emotion": "^10.0.32",
80
- "raf-stub": "^2.0.1",
81
- "storybook-addon-performance": "^0.16.0",
82
- "typescript": "~5.4.2"
83
- },
84
- "keywords": [
85
- "atlaskit",
86
- "react",
87
- "ui"
88
- ],
89
- "techstack": {
90
- "@atlassian/frontend": {
91
- "import-structure": "atlassian-conventions"
92
- },
93
- "@repo/internal": {
94
- "dom-events": "use-bind-event-listener",
95
- "design-system": "v1",
96
- "ui-components": [
97
- "lite-mode"
98
- ],
99
- "analytics": [
100
- "analytics-next"
101
- ],
102
- "design-tokens": [
103
- "color",
104
- "spacing"
105
- ],
106
- "theming": [
107
- "react-context"
108
- ],
109
- "deprecation": "no-deprecated-imports",
110
- "styling": [
111
- "emotion",
112
- "static"
113
- ]
114
- }
115
- },
116
- "platform-feature-flags": {
117
- "platform.design-system-team.page-layout-resize-button-fix_u0qxv": {
118
- "type": "boolean"
119
- },
120
- "platform.atlassian.griffin-navigation-redesign": {
121
- "type": "boolean"
122
- }
123
- }
124
- }
2
+ "name": "@atlaskit/page-layout",
3
+ "version": "3.4.0",
4
+ "description": "A collection of components which let you compose an application's page layout.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
23
+ "sideEffects": false,
24
+ "atlaskit:src": "src/index.tsx",
25
+ "af:exports": {
26
+ ".": "./src/index.tsx"
27
+ },
28
+ "atlassian": {
29
+ "team": "Design System Team",
30
+ "releaseModel": "continuous",
31
+ "productPushConsumption": [
32
+ "jira"
33
+ ],
34
+ "website": {
35
+ "name": "Page layout",
36
+ "category": "Components"
37
+ },
38
+ "runReact18": true
39
+ },
40
+ "homepage": "https://atlassian.design/components/page-layout/",
41
+ "dependencies": {
42
+ "@atlaskit/ds-lib": "^2.3.0",
43
+ "@atlaskit/icon": "^22.4.0",
44
+ "@atlaskit/link": "^0.5.0",
45
+ "@atlaskit/motion": "^1.7.0",
46
+ "@atlaskit/platform-feature-flags": "^0.2.0",
47
+ "@atlaskit/primitives": "^7.4.0",
48
+ "@atlaskit/theme": "^12.10.0",
49
+ "@atlaskit/tokens": "^1.51.0",
50
+ "@babel/runtime": "^7.0.0",
51
+ "@emotion/react": "^11.7.1",
52
+ "bind-event-listener": "^3.0.0",
53
+ "raf-schd": "^4.0.3"
54
+ },
55
+ "peerDependencies": {
56
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
57
+ "react-dom": "^16.8.0"
58
+ },
59
+ "devDependencies": {
60
+ "@af/accessibility-testing": "*",
61
+ "@af/integration-testing": "*",
62
+ "@atlaskit/atlassian-navigation": "^4.1.0",
63
+ "@atlaskit/atlassian-notifications": "^0.4.0",
64
+ "@atlaskit/drawer": "^7.11.0",
65
+ "@atlaskit/logo": "^14.1.0",
66
+ "@atlaskit/menu": "^2.5.0",
67
+ "@atlaskit/notification-indicator": "^9.2.0",
68
+ "@atlaskit/notification-log-client": "^6.1.0",
69
+ "@atlaskit/popup": "^1.19.0",
70
+ "@atlaskit/side-navigation": "^3.3.0",
71
+ "@atlaskit/ssr": "*",
72
+ "@atlaskit/toggle": "^13.2.0",
73
+ "@atlaskit/tooltip": "^18.5.0",
74
+ "@atlaskit/visual-regression": "*",
75
+ "@testing-library/dom": "^8.17.1",
76
+ "@testing-library/react": "^12.1.5",
77
+ "@testing-library/react-hooks": "^8.0.1",
78
+ "@types/raf-schd": "^4.0.1",
79
+ "jest-emotion": "^10.0.32",
80
+ "raf-stub": "^2.0.1",
81
+ "storybook-addon-performance": "^0.16.0",
82
+ "typescript": "~5.4.2"
83
+ },
84
+ "keywords": [
85
+ "atlaskit",
86
+ "react",
87
+ "ui"
88
+ ],
89
+ "techstack": {
90
+ "@atlassian/frontend": {
91
+ "import-structure": "atlassian-conventions"
92
+ },
93
+ "@repo/internal": {
94
+ "dom-events": "use-bind-event-listener",
95
+ "design-system": "v1",
96
+ "ui-components": [
97
+ "lite-mode"
98
+ ],
99
+ "analytics": [
100
+ "analytics-next"
101
+ ],
102
+ "design-tokens": [
103
+ "color",
104
+ "spacing"
105
+ ],
106
+ "theming": [
107
+ "react-context"
108
+ ],
109
+ "deprecation": "no-deprecated-imports",
110
+ "styling": [
111
+ "emotion",
112
+ "static"
113
+ ]
114
+ }
115
+ },
116
+ "platform-feature-flags": {
117
+ "platform.design-system-team.page-layout-resize-button-fix_u0qxv": {
118
+ "type": "boolean"
119
+ },
120
+ "platform.atlassian.griffin-navigation-redesign": {
121
+ "type": "boolean"
122
+ }
123
+ }
124
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/page-layout"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -34,19 +35,19 @@ export const Content: (props: ContentProps) => jsx.JSX.Element;
34
35
 
35
36
  // @public (undocumented)
36
37
  interface ContentProps {
37
- children: ReactNode;
38
- testId?: string;
38
+ children: ReactNode;
39
+ testId?: string;
39
40
  }
40
41
 
41
42
  // @public (undocumented)
42
43
  type DimensionNames =
43
- | 'bannerHeight'
44
- | 'leftPanelWidth'
45
- | 'leftSidebarFlyoutWidth'
46
- | 'leftSidebarWidth'
47
- | 'rightPanelWidth'
48
- | 'rightSidebarWidth'
49
- | 'topNavigationHeight';
44
+ | 'bannerHeight'
45
+ | 'leftPanelWidth'
46
+ | 'leftSidebarFlyoutWidth'
47
+ | 'leftSidebarWidth'
48
+ | 'rightPanelWidth'
49
+ | 'rightSidebarWidth'
50
+ | 'topNavigationHeight';
50
51
 
51
52
  // @public (undocumented)
52
53
  export type Dimensions = Partial<Record<DimensionNames, number>>;
@@ -65,68 +66,66 @@ export const LeftSidebar: (props: LeftSidebarProps) => jsx.JSX.Element;
65
66
 
66
67
  // @public (undocumented)
67
68
  interface LeftSidebarProps extends SlotWidthProps {
68
- collapsedState?: 'collapsed' | 'expanded';
69
- onCollapse?: () => void;
70
- onExpand?: () => void;
71
- onFlyoutCollapse?: () => void;
72
- onFlyoutExpand?: () => void;
73
- onResizeEnd?: (leftSidebarState: LeftSidebarState) => void;
74
- onResizeStart?: (leftSidebarState: LeftSidebarState) => void;
75
- overrides?: {
76
- ResizeButton?: {
77
- render?: (
78
- Component: ElementType<ResizeButtonProps>,
79
- props: ResizeButtonProps,
80
- ) => ReactElement;
81
- };
82
- };
83
- resizeButtonLabel?: string;
84
- resizeGrabAreaLabel?: string;
85
- testId?: string;
86
- valueTextLabel?: string;
87
- width?: number;
69
+ collapsedState?: 'collapsed' | 'expanded';
70
+ onCollapse?: () => void;
71
+ onExpand?: () => void;
72
+ onFlyoutCollapse?: () => void;
73
+ onFlyoutExpand?: () => void;
74
+ onResizeEnd?: (leftSidebarState: LeftSidebarState) => void;
75
+ onResizeStart?: (leftSidebarState: LeftSidebarState) => void;
76
+ overrides?: {
77
+ ResizeButton?: {
78
+ render?: (
79
+ Component: ElementType<ResizeButtonProps>,
80
+ props: ResizeButtonProps,
81
+ ) => ReactElement;
82
+ };
83
+ };
84
+ resizeButtonLabel?: string;
85
+ resizeGrabAreaLabel?: string;
86
+ testId?: string;
87
+ valueTextLabel?: string;
88
+ width?: number;
88
89
  }
89
90
 
90
91
  // @public (undocumented)
91
92
  export type LeftSidebarState = {
92
- isFlyoutOpen: boolean;
93
- isResizing: boolean;
94
- isLeftSidebarCollapsed: boolean;
95
- leftSidebarWidth: number;
96
- lastLeftSidebarWidth: number;
97
- flyoutLockCount: number;
98
- isFixed: boolean;
93
+ isFlyoutOpen: boolean;
94
+ isResizing: boolean;
95
+ isLeftSidebarCollapsed: boolean;
96
+ leftSidebarWidth: number;
97
+ lastLeftSidebarWidth: number;
98
+ flyoutLockCount: number;
99
+ isFixed: boolean;
99
100
  };
100
101
 
101
102
  // @public
102
- export const LeftSidebarWithoutResize: (
103
- props: SlotWidthProps,
104
- ) => jsx.JSX.Element;
103
+ export const LeftSidebarWithoutResize: (props: SlotWidthProps) => jsx.JSX.Element;
105
104
 
106
105
  // @public
107
106
  export const Main: (props: SlotWidthProps) => jsx.JSX.Element;
108
107
 
109
108
  // @public
110
109
  export const PageLayout: ({
111
- skipLinksLabel,
112
- children,
113
- testId,
114
- onLeftSidebarExpand,
115
- onLeftSidebarCollapse,
110
+ skipLinksLabel,
111
+ children,
112
+ testId,
113
+ onLeftSidebarExpand,
114
+ onLeftSidebarCollapse,
116
115
  }: PageLayoutProps) => jsx.JSX.Element;
117
116
 
118
117
  // @public (undocumented)
119
118
  interface PageLayoutProps extends SidebarResizeControllerProps {
120
- // (undocumented)
121
- skipLinksLabel?: string;
122
- testId?: string;
119
+ // (undocumented)
120
+ skipLinksLabel?: string;
121
+ testId?: string;
123
122
  }
124
123
 
125
124
  // @public (undocumented)
126
125
  type ResizeButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
127
- isLeftSidebarCollapsed: boolean;
128
- label: string;
129
- testId?: string;
126
+ isLeftSidebarCollapsed: boolean;
127
+ label: string;
128
+ testId?: string;
130
129
  };
131
130
 
132
131
  // @public (undocumented)
@@ -143,39 +142,39 @@ export const RightSidebar: (props: SlotWidthProps) => jsx.JSX.Element;
143
142
 
144
143
  // @public (undocumented)
145
144
  type SidebarResizeControllerProps = {
146
- children: ReactNode;
147
- onLeftSidebarExpand?: (leftSidebarState: LeftSidebarState) => void;
148
- onLeftSidebarCollapse?: (leftSidebarState: LeftSidebarState) => void;
145
+ children: ReactNode;
146
+ onLeftSidebarExpand?: (leftSidebarState: LeftSidebarState) => void;
147
+ onLeftSidebarCollapse?: (leftSidebarState: LeftSidebarState) => void;
149
148
  };
150
149
 
151
150
  // @public (undocumented)
152
151
  type SkipLinkData = {
153
- id: string;
154
- skipLinkTitle: string;
155
- listIndex?: number;
152
+ id: string;
153
+ skipLinkTitle: string;
154
+ listIndex?: number;
156
155
  };
157
156
 
158
157
  // @public (undocumented)
159
158
  export interface SlotHeightProps extends SlotProps {
160
- height?: number;
161
- shouldPersistHeight?: boolean;
159
+ height?: number;
160
+ shouldPersistHeight?: boolean;
162
161
  }
163
162
 
164
163
  // @public (undocumented)
165
164
  interface SlotProps {
166
- children: ReactNode;
167
- // (undocumented)
168
- id?: string;
169
- isFixed?: boolean;
170
- // (undocumented)
171
- skipLinkTitle?: string;
172
- testId?: string;
165
+ children: ReactNode;
166
+ // (undocumented)
167
+ id?: string;
168
+ isFixed?: boolean;
169
+ // (undocumented)
170
+ skipLinkTitle?: string;
171
+ testId?: string;
173
172
  }
174
173
 
175
174
  // @public (undocumented)
176
175
  export interface SlotWidthProps extends SlotProps {
177
- shouldPersistWidth?: boolean;
178
- width?: number;
176
+ shouldPersistWidth?: boolean;
177
+ width?: number;
179
178
  }
180
179
 
181
180
  // @public (undocumented)
@@ -186,9 +185,9 @@ export const TopNavigation: (props: SlotHeightProps) => jsx.JSX.Element;
186
185
 
187
186
  // @public (undocumented)
188
187
  export const useCustomSkipLink: (
189
- id: SkipLinkData['id'],
190
- skipLinkTitle: SkipLinkData['skipLinkTitle'],
191
- listIndex?: SkipLinkData['listIndex'],
188
+ id: SkipLinkData['id'],
189
+ skipLinkTitle: SkipLinkData['skipLinkTitle'],
190
+ listIndex?: SkipLinkData['listIndex'],
192
191
  ) => void;
193
192
 
194
193
  // @public
@@ -196,17 +195,17 @@ export const useLeftSidebarFlyoutLock: () => void;
196
195
 
197
196
  // @public (undocumented)
198
197
  export const usePageLayoutResize: () => {
199
- isLeftSidebarCollapsed: boolean;
200
- expandLeftSidebar: () => void;
201
- collapseLeftSidebar: (
202
- event?: KeyboardEvent_2 | MouseEvent_2,
203
- collapseWithoutTransition?: boolean,
204
- ) => void;
205
- toggleLeftSidebar: (
206
- event?: KeyboardEvent_2 | MouseEvent_2,
207
- collapseWithoutTransition?: boolean,
208
- ) => void;
209
- leftSidebarState: LeftSidebarState;
198
+ isLeftSidebarCollapsed: boolean;
199
+ expandLeftSidebar: () => void;
200
+ collapseLeftSidebar: (
201
+ event?: KeyboardEvent_2 | MouseEvent_2,
202
+ collapseWithoutTransition?: boolean,
203
+ ) => void;
204
+ toggleLeftSidebar: (
205
+ event?: KeyboardEvent_2 | MouseEvent_2,
206
+ collapseWithoutTransition?: boolean,
207
+ ) => void;
208
+ leftSidebarState: LeftSidebarState;
210
209
  };
211
210
 
212
211
  // (No @packageDocumentation comment for this package)
@@ -220,8 +219,8 @@ export const usePageLayoutResize: () => {
220
219
 
221
220
  ```json
222
221
  {
223
- "react": "^16.8.0",
224
- "react-dom": "^16.8.0"
222
+ "react": "^16.8.0",
223
+ "react-dom": "^16.8.0"
225
224
  }
226
225
  ```
227
226