@movable/ui 0.4.1-alpha.1 → 0.5.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/components/Header/HeaderMetadata.d.ts +10 -0
- package/lib/components/Header/HeaderSubtitle.d.ts +5 -0
- package/lib/components/Header/InkPageHeader.d.ts +11 -0
- package/lib/components/Header/LinkBreadcrumbs.d.ts +9 -0
- package/lib/components/Header/PageHeaderActionButtons.d.ts +20 -0
- package/lib/components/Header/TabsWithRouter.d.ts +11 -0
- package/lib/components/Header/index.d.ts +6 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.mjs +6321 -1905
- package/lib/index.mjs.map +1 -1
- package/package.json +7 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type HeaderMetadataType = {
|
|
2
|
+
icon: string;
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
type MetaDataProps = {
|
|
7
|
+
metadata: HeaderMetadataType[];
|
|
8
|
+
};
|
|
9
|
+
export declare function HeaderMetadata({ metadata }: MetaDataProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type InkPageHeaderProps = {
|
|
3
|
+
Breadcrumbs?: JSX.Element;
|
|
4
|
+
Subtitle?: JSX.Element;
|
|
5
|
+
Metadata?: JSX.Element;
|
|
6
|
+
ButtonGroup?: JSX.Element;
|
|
7
|
+
Chips?: JSX.Element;
|
|
8
|
+
Tabs?: JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
export declare function InkPageHeader({ Breadcrumbs, Subtitle, Metadata, Chips, ButtonGroup, Tabs, }: InkPageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
type ButtonPropsType = ButtonProps & {
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
type MenuOptionType = {
|
|
6
|
+
label: string;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
};
|
|
9
|
+
type DropdownActionType = {
|
|
10
|
+
label: string;
|
|
11
|
+
menuOptions: MenuOptionType[];
|
|
12
|
+
};
|
|
13
|
+
type PageHeaderActionButtonsProps = {
|
|
14
|
+
primaryAction?: ButtonPropsType;
|
|
15
|
+
secondaryAction?: ButtonPropsType;
|
|
16
|
+
tertiaryAction?: ButtonPropsType;
|
|
17
|
+
dropdownAction?: DropdownActionType;
|
|
18
|
+
};
|
|
19
|
+
export declare function PageHeaderActionButtons({ primaryAction, secondaryAction, tertiaryAction, dropdownAction, }: PageHeaderActionButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Route = {
|
|
2
|
+
label: string;
|
|
3
|
+
to: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
type TabsWithRouterPropType = {
|
|
7
|
+
routes: Route[];
|
|
8
|
+
useLocationPathname: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function TabsWithRouter({ routes, useLocationPathname, }: TabsWithRouterPropType): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { HeaderMetadata } from './HeaderMetadata';
|
|
2
|
+
export { InkPageHeader } from './InkPageHeader';
|
|
3
|
+
export { LinkBreadcrumbs } from './LinkBreadcrumbs';
|
|
4
|
+
export { TabsWithRouter } from './TabsWithRouter';
|
|
5
|
+
export { PageHeaderActionButtons } from './PageHeaderActionButtons';
|
|
6
|
+
export { HeaderSubtitle } from './HeaderSubtitle';
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DemoComponent } from './components';
|
|
1
|
+
export { DemoComponent, HeaderMetadata, LinkBreadcrumbs, InkPageHeader, TabsWithRouter, PageHeaderActionButtons, HeaderSubtitle, } from './components';
|
|
2
2
|
export { default as MovableUITheme } from './theme';
|