@simoncomputing/mui-bueno-v2 0.19.23 → 0.19.24

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
@@ -11,6 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
  - Minor increment --> singlular/minor changes. Minimal breaking changes.
12
12
  - Patch increment --> singlular/minor changes. Zero breaking changes.
13
13
 
14
+ ## [0.19.24] - 2025-12-08
15
+
16
+ ### Added
17
+
18
+ - `PageHeader` - added `bottomGutter` which, when true, will add some margin spacing at the bottom of the component
19
+
20
+ ### Changed
21
+
22
+ - `PageHeader`
23
+ - `title` & `createButtonLabel` are now optional
24
+ - `createButtonLabel` will have a default value of `"Add Item"`
25
+ - returns null if the `title` is not defined, and the create button has no label and/or `showCreateButton` is false
26
+
14
27
  ## [0.19.23] - 2025-12-04
15
28
 
16
29
  ### Added
@@ -12,16 +12,17 @@ import { ReactNode } from 'react';
12
12
  * @property {React.ReactNode} children - additional components to display on the right side of the component (or below, on mobile screens)
13
13
  */
14
14
  export type PageHeaderProps = {
15
- title: string | ReactNode;
16
- createButtonLabel: string;
15
+ title?: string | ReactNode;
16
+ createButtonLabel?: string;
17
17
  showAddButton?: boolean;
18
18
  onAdd?: (id?: number | string) => void;
19
19
  breadcrumbs?: BreadcrumbInfo[];
20
20
  children?: React.ReactNode;
21
21
  sx?: SxProps<Theme>;
22
+ bottomGutter?: boolean;
22
23
  };
23
24
  /**
24
25
  * Header for PagingTable. Includes Title, Add Button, breadcrumbs (optional). Additional components can be added via children (ex. SearchField) if desired.
25
26
  */
26
- export declare const PageHeader: (props: PageHeaderProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const PageHeader: (props: PageHeaderProps) => import("react/jsx-runtime").JSX.Element | null;
27
28
  export default PageHeader;