@starasia/admin 8.31.0 → 8.32.0

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.
@@ -43,6 +43,12 @@ export interface PageLayoutProps extends PropsWithChildren {
43
43
  titleTag?: string;
44
44
  header?: boolean;
45
45
  headerBorder?: boolean;
46
+ /**
47
+ * Disable the page enter animation (`pageLayoutEnter` fade/slide on mount).
48
+ * Defaults to `false`. Set `true` when the page mounts/unmounts frequently
49
+ * (e.g. tab switches) or when the slide-in fights another transition.
50
+ */
51
+ disableAnimation?: boolean;
46
52
  /**
47
53
  * Extra header rows rendered below the main header. Each row gets the same
48
54
  * padding as the main header (paddingBlock "sm" / paddingInline "md"), an
@@ -56,5 +62,5 @@ export interface PageLayoutProps extends PropsWithChildren {
56
62
  containerProps?: Omit<BoxProps, "variant" | "gap">;
57
63
  headerProps?: Omit<BoxProps, "gap">;
58
64
  }
59
- export declare const PageLayout: React.MemoExoticComponent<({ backButton, title, titleIcon, titleTag, children, header, headerBorder, subHeaders, action, titleTagProps, containerProps, headerProps, }: PageLayoutProps) => React.JSX.Element>;
65
+ export declare const PageLayout: React.MemoExoticComponent<({ backButton, title, titleIcon, titleTag, children, header, headerBorder, disableAnimation, subHeaders, action, titleTagProps, containerProps, headerProps, }: PageLayoutProps) => React.JSX.Element>;
60
66
  export {};