@okam/stack-ui 1.15.1 → 1.15.4

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.
@@ -1,3 +1,3 @@
1
1
  import type TMenuProps from './interface';
2
- declare const Menu: ({ id, children, beforeTabContent, TransitonAnimation, themeName, tokens, customTheme, }: TMenuProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Menu: ({ id, children, beforeTabContent, TransitonAnimation, PanelTransition, themeName, tokens, customTheme, }: TMenuProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Menu;
@@ -6,7 +6,8 @@ export type MenuProps = {
6
6
  id: string;
7
7
  children: React.ReactNode;
8
8
  beforeTabContent?: React.ReactNode;
9
- TransitonAnimation: (props: never) => JSX.Element;
9
+ TransitonAnimation?: (props: never) => JSX.Element;
10
+ PanelTransition?: (props: never) => JSX.Element;
10
11
  };
11
12
  export type TMenuProps = AriaTabListProps<MenuProps> & MenuProps & TDefaultComponent;
12
13
  export type PartialHtmlBaseElement = Omit<Partial<HTMLBaseElement>, 'id' | 'onClick' | 'target' | 'role' | 'children'>;
@@ -6,6 +6,7 @@ export interface ISidePanelProps extends HTMLAttributes<HTMLElement> {
6
6
  children?: React.ReactNode;
7
7
  closeBtnRender?: () => React.ReactNode;
8
8
  TransitionAnimation?: (props: unknown) => JSX.Element;
9
+ PanelTransition?: (props: unknown) => JSX.Element;
9
10
  onCloseCallBack?: () => void;
10
11
  }
11
12
  export type TSidePanelProps = ISidePanelProps & TDefaultComponent;