@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.
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
3
  "technology": "React",
4
- "version": "2.0.0-alpha.10",
4
+ "version": "2.0.0-alpha.11",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "publishConfig": {
7
7
  "access": "public",