@sinco/react 1.0.14-rc.49 → 1.0.14-rc.50
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3144 -2736
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/lib/Components/Drawer.d.ts +2 -3
- package/src/lib/Components/PageHeader.d.ts +14 -0
- package/src/lib/Components/index.d.ts +1 -0
- package/src/lib/Theme/components.d.ts +10 -0
- package/src/lib/Utils/index.d.ts +1 -0
- package/index.d.ts +0 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { ReactNode } from 'react';
|
2
2
|
export type handleDrawerPosition = 'left' | 'right';
|
3
3
|
export interface DrawerComponentProperties {
|
4
4
|
title: string;
|
@@ -9,6 +9,5 @@ export interface DrawerComponentProperties {
|
|
9
9
|
width: string;
|
10
10
|
open: boolean;
|
11
11
|
onClose: () => void;
|
12
|
-
sx: React.CSSProperties;
|
13
12
|
}
|
14
|
-
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose,
|
13
|
+
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, }: DrawerComponentProperties) => JSX.Element;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from "react";
|
2
|
+
interface PageheaderProperties {
|
3
|
+
title: string;
|
4
|
+
subtitle?: string;
|
5
|
+
actions?: React.ReactNode;
|
6
|
+
buttonBack?: React.ReactNode;
|
7
|
+
fixed?: boolean;
|
8
|
+
date?: boolean;
|
9
|
+
}
|
10
|
+
export declare const PageHeaderContent: import("@emotion/styled").StyledComponent<import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
11
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
12
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
13
|
+
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, date, }: PageheaderProperties) => JSX.Element;
|
14
|
+
export {};
|
@@ -1,2 +1,12 @@
|
|
1
1
|
import { Components } from '@mui/material';
|
2
|
+
declare module '@mui/material/Chip' {
|
3
|
+
interface ChipPropsSizeOverrides {
|
4
|
+
xsmall: true;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
declare module "@mui/material/Checkbox" {
|
8
|
+
interface CheckboxPropsSizeOverrides {
|
9
|
+
xsmall: true;
|
10
|
+
}
|
11
|
+
}
|
2
12
|
export declare const components: Components;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './dynamicColor';
|
package/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './src/lib/Utils/dynamicColor';
|