@movable/ui 2.5.3 → 2.6.1

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/lib/index.d.ts CHANGED
@@ -229,13 +229,14 @@ declare type InkPageHeaderProps = {
229
229
  sx?: SxProps<Theme>;
230
230
  };
231
231
 
232
- export declare function InkPaper({ Header, Description, Icon, CTA, children, ...props }: InkPaperProps): JSX_2.Element;
232
+ export declare function InkPaper({ Header, Description, Icon, CTA, children, shouldShowFullDescription, ...props }: InkPaperProps): JSX_2.Element;
233
233
 
234
234
  export declare type InkPaperProps = PaperProps & {
235
235
  Header: string | JSX.Element;
236
- Description?: string;
236
+ Description?: string | JSX.Element;
237
237
  Icon?: JSX.Element;
238
238
  CTA?: JSX.Element;
239
+ shouldShowFullDescription?: boolean;
239
240
  };
240
241
 
241
242
  export declare function InkPersistentFilterDrawer({ isOpen, handleDrawerClose, children, drawerWidth, leftOffset, //primary nav width when closed and when open
@@ -376,6 +377,12 @@ declare type InkWorkflowHeaderProps = {
376
377
  ButtonGroup?: JSX.Element | ActionButtonPropType;
377
378
  };
378
379
 
380
+ declare type IPageWrapperProps = {
381
+ title: string;
382
+ addTitleSuffix?: boolean;
383
+ description?: string;
384
+ };
385
+
379
386
  declare type LayoutDetailsProps = GridProps & {
380
387
  Header: JSX.Element;
381
388
  children: React.ReactNode;
@@ -419,6 +426,8 @@ declare type PageHeaderActionButtonsProps = {
419
426
  dropdownAction?: DropdownActionType;
420
427
  };
421
428
 
429
+ export declare const PageWrapper: ({ title, addTitleSuffix, description, children, }: PropsWithChildren<IPageWrapperProps>) => JSX_2.Element;
430
+
422
431
  declare type PrimaryButtonType = ButtonProps & {
423
432
  label: string;
424
433
  loading?: boolean;