@sinco/react 1.0.15-rc.2 → 1.0.15-rc.20
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +1 -0
- package/index.js +6065 -6075
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/lib/Components/Drawer.d.ts +4 -2
- package/src/lib/Components/index.d.ts +0 -1
- package/src/lib/Theme/components.d.ts +0 -10
- package/src/lib/Theme/index.d.ts +1 -0
- package/src/lib/Theme/palette.d.ts +1 -0
- package/src/lib/Theme/theme.d.ts +1 -0
- package/src/lib/Components/PageHeader.d.ts +0 -10
- package/src/lib/Utils/index.d.ts +0 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
+
import { SxProps } from '@mui/material';
|
2
3
|
export type handleDrawerPosition = 'left' | 'right';
|
3
4
|
export interface DrawerComponentProperties {
|
4
5
|
title: string;
|
5
6
|
children: ReactNode;
|
6
7
|
renderActions: ReactNode;
|
7
8
|
showActions?: boolean;
|
8
|
-
|
9
|
+
anchor?: handleDrawerPosition;
|
9
10
|
width: string;
|
10
11
|
open: boolean;
|
11
12
|
onClose: () => void;
|
13
|
+
sx?: SxProps;
|
12
14
|
}
|
13
|
-
export declare const DrawerComponent: ({ title, children, renderActions, showActions,
|
15
|
+
export declare const DrawerComponent: ({ title, children, renderActions, showActions, anchor, width, open, onClose, sx, }: DrawerComponentProperties) => JSX.Element;
|
@@ -1,12 +1,2 @@
|
|
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
|
-
}
|
12
2
|
export declare const components: Components;
|
package/src/lib/Theme/index.d.ts
CHANGED
package/src/lib/Theme/theme.d.ts
CHANGED
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
interface PageheaderProperties {
|
3
|
-
title: string | React.ReactNode;
|
4
|
-
subtitle?: string | React.ReactNode;
|
5
|
-
actions?: React.ReactNode;
|
6
|
-
buttonBack?: React.ReactNode;
|
7
|
-
fixed?: boolean;
|
8
|
-
}
|
9
|
-
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
|
10
|
-
export {};
|
package/src/lib/Utils/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './dynamicColor';
|