@pantheon-systems/pds-toolkit-react 2.0.0-alpha.10 → 2.0.0-alpha.11
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/dist/css/component-css/pds-index.css +1 -1
- package/dist/css/component-css/pds-pantheon-logo.css +1 -1
- package/dist/css/layout-css/pds-app-layout.css +2 -2
- package/dist/css/layout-css/pds-index.css +2 -2
- package/dist/css/pds-components.css +1 -1
- package/dist/css/pds-layouts.css +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1037 -1042
- package/dist/index.js.map +1 -1
- package/dist/layouts/AppLayout/AppLayout.d.ts +5 -1
- package/package.json +1 -1
|
@@ -47,6 +47,10 @@ interface AppLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
47
47
|
* If not provided, the sidebar will use an internal function to manage collapsed state.
|
|
48
48
|
*/
|
|
49
49
|
onSidebarToggle?: () => void;
|
|
50
|
+
/**
|
|
51
|
+
* When true, the sidebar stays fixed and only the main content area scrolls.
|
|
52
|
+
*/
|
|
53
|
+
scrollableContent?: boolean;
|
|
50
54
|
/**
|
|
51
55
|
* Background color for the sidebar. Use a PDS CSS custom property
|
|
52
56
|
* (e.g. 'var(--pds-color-bg-default)') so dark mode works automatically.
|
|
@@ -74,5 +78,5 @@ interface AppLayoutProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
74
78
|
/**
|
|
75
79
|
* AppLayout UI component
|
|
76
80
|
*/
|
|
77
|
-
export declare const AppLayout: ({ children, className, hasSidebarToggle, isSidebarCollapsed, labels, mainBackground, mainContentElement, mainContentProps, onSidebarToggle, sidebarBackground, sidebarCollapsedWidth, sidebarExpandedWidth, sidebarExpandedWidthMin, sidebarProps, ...props }: AppLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
export declare const AppLayout: ({ children, className, hasSidebarToggle, isSidebarCollapsed, labels, mainBackground, mainContentElement, mainContentProps, onSidebarToggle, scrollableContent, sidebarBackground, sidebarCollapsedWidth, sidebarExpandedWidth, sidebarExpandedWidthMin, sidebarProps, ...props }: AppLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
78
82
|
export {};
|
package/package.json
CHANGED