@pantheon-systems/pds-toolkit-react 1.0.0-dev.140 → 1.0.0-dev.142

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.
@@ -17,6 +17,14 @@ interface DashboardLayoutProps {
17
17
  * Whether the sidebar is initially expanded
18
18
  */
19
19
  initialSidebarExpanded?: boolean;
20
+ /**
21
+ * Width of the sidebar when collapsed in rems
22
+ */
23
+ sidebarCollapsedWidth?: number;
24
+ /**
25
+ * Width of the sidebar when expanded in rems
26
+ */
27
+ sidebarExpandedWidth?: number;
20
28
  /**
21
29
  * Sidebar toggle label
22
30
  */
@@ -33,5 +41,5 @@ interface DashboardLayoutProps {
33
41
  /**
34
42
  * DashboardLayout UI component
35
43
  */
36
- export declare const DashboardLayout: ({ children, hasSidebarToggle, initialSidebarExpanded, sidebarToggleLabel, skiplinkText, className, ...props }: DashboardLayoutProps) => React.JSX.Element;
44
+ export declare const DashboardLayout: ({ children, hasSidebarToggle, initialSidebarExpanded, sidebarCollapsedWidth, sidebarExpandedWidth, sidebarToggleLabel, skiplinkText, className, ...props }: DashboardLayoutProps) => React.JSX.Element;
37
45
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
3
  "technology": "React",
4
- "version": "1.0.0-dev.140",
4
+ "version": "1.0.0-dev.142",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,2 +0,0 @@
1
- export const SIDEBAR_WIDTH_COLLAPSED: 2.0625;
2
- export const SIDEBAR_WIDTH_EXPANDED: 12.75;