@sinco/react 1.0.15-rc.10 → 1.0.15-rc.11
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/index.js +5198 -6232
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +3 -2
- package/src/lib/Components/index.d.ts +0 -2
- 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/toastNotification/ToastBase.d.ts +0 -12
- package/src/lib/Components/toastNotification/ToastNotification.d.ts +0 -7
- package/src/lib/Hooks/useProgress.d.ts +0 -3
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
export type handleDrawerPosition = 'left' | 'right';
|
3
3
|
export interface DrawerComponentProperties {
|
4
4
|
title: string;
|
@@ -9,5 +9,6 @@ export interface DrawerComponentProperties {
|
|
9
9
|
width: string;
|
10
10
|
open: boolean;
|
11
11
|
onClose: () => void;
|
12
|
+
sx?: React.CSSProperties;
|
12
13
|
}
|
13
|
-
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, }: DrawerComponentProperties) => JSX.Element;
|
14
|
+
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, 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,12 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export type toastType = "success" | "error" | "warning" | "info";
|
3
|
-
export interface ToastBaseProperties {
|
4
|
-
type?: toastType;
|
5
|
-
subtitle?: string;
|
6
|
-
title: string;
|
7
|
-
time?: number | any;
|
8
|
-
dataOpt?: string[];
|
9
|
-
actions?: React.ReactNode;
|
10
|
-
seeMore?: boolean;
|
11
|
-
}
|
12
|
-
export declare const ToastNotification: (toast: ToastBaseProperties) => JSX.Element;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { ToastBaseProperties } from "./ToastBase";
|
3
|
-
interface ToastNotificationProperties {
|
4
|
-
toast: ToastBaseProperties | ToastBaseProperties[];
|
5
|
-
}
|
6
|
-
export declare const ToastNotificationComponent: ({ toast, }: ToastNotificationProperties) => JSX.Element;
|
7
|
-
export {};
|