@okam/stack-ui 1.14.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.
- package/components/Box/interface.d.ts +1 -0
- package/components/Menu/components/TabContainer.d.ts +1 -1
- package/components/Menu/index.d.ts +1 -1
- package/components/Menu/interface.d.ts +2 -1
- package/components/SidePanel/interface.d.ts +1 -0
- package/components/TabList/components/TabPanel/TabPanel.d.ts +1 -1
- package/components/Typography/interface.d.ts +1 -0
- package/index.js +5 -5
- package/index.mjs +511 -508
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { TDefaultComponent } from '
|
|
1
|
+
import type { TDefaultComponent } from '../../../types/components';
|
|
2
2
|
declare const TabContainer: (props: TDefaultComponent) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default TabContainer;
|
|
@@ -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
|
|
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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TDefaultComponent } from '
|
|
1
|
+
import type { TDefaultComponent } from '../../../../types/components';
|
|
2
2
|
import type { TTabPanel } from '../../interface';
|
|
3
3
|
declare function TabPanel({ state, customTheme, themeName, tokens, ...props }: TTabPanel & TDefaultComponent): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default TabPanel;
|