@sinco/react 1.1.2-rc.64 → 1.1.2-rc.65
Sign up to get free protection for your applications and to get access to all the features.
- package/3df4a2e126bbed8b.svg +129 -0
- package/9bbea60ac8f56ee6.svg +10179 -0
- package/index.esm.js +13467 -11312
- package/package.json +1 -1
- package/src/index.d.ts +0 -1
- package/src/lib/Components/Drawer.d.ts +4 -4
- package/src/lib/Components/EmptyState.d.ts +2 -2
- package/src/lib/Components/Icons.d.ts +8 -0
- package/src/lib/Components/index.d.ts +1 -0
- package/src/lib/Theme/components.d.ts +10 -1
- package/src/lib/Theme/palette.d.ts +11 -0
- package/src/lib/Theme/typography.d.ts +9 -1
- package/a133e8bb03869107.png +0 -0
- package/src/lib/Theme/module.d.ts +0 -39
- package/src/module.d.ts +0 -39
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
import React, { ReactNode } from
|
2
|
-
import { SxProps } from
|
3
|
-
export type DrawerPosition =
|
1
|
+
import React, { ReactNode } from 'react';
|
2
|
+
import { SxProps } from '@mui/material';
|
3
|
+
export type DrawerPosition = 'left' | 'right';
|
4
4
|
export interface DrawerComponentProperties {
|
5
5
|
title: string;
|
6
6
|
children: ReactNode;
|
7
7
|
actions: ReactNode;
|
8
8
|
showActions?: boolean;
|
9
9
|
anchor?: DrawerPosition;
|
10
|
-
anchorActions:
|
10
|
+
anchorActions: 'flex-end' | 'flex-start';
|
11
11
|
width: string;
|
12
12
|
open: boolean;
|
13
13
|
onClose: () => void;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
2
|
export type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
|
3
|
+
export declare const EmptyStateImageUrls: Record<EmptyStateStates, string>;
|
3
4
|
export interface EmptyStateProperties {
|
4
5
|
icon?: ReactNode;
|
5
6
|
state?: EmptyStateStates;
|
@@ -9,5 +10,4 @@ export interface EmptyStateProperties {
|
|
9
10
|
iconStyle?: React.CSSProperties;
|
10
11
|
containerHeight?: string;
|
11
12
|
}
|
12
|
-
export declare const
|
13
|
-
export { EmptyStateComponent as EmptyState };
|
13
|
+
export declare const EmptyState: ({ state, title, subtitle, actions, containerHeight, iconStyle, icon, }: EmptyStateProperties) => React.JSX.Element;
|
@@ -1,3 +1,12 @@
|
|
1
1
|
import { Components } from "@mui/material";
|
2
|
-
|
2
|
+
declare module "@mui/material/Radio" {
|
3
|
+
interface RadioPropsSizeOverrides {
|
4
|
+
large: true;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
declare module "@mui/material/Checkbox" {
|
8
|
+
interface CheckboxPropsSizeOverrides {
|
9
|
+
large: true;
|
10
|
+
}
|
11
|
+
}
|
3
12
|
export declare const components: Components;
|
@@ -1,3 +1,14 @@
|
|
1
1
|
import { PaletteOptions } from "@mui/material";
|
2
|
+
declare module "@mui/material/styles" {
|
3
|
+
interface PaletteColor {
|
4
|
+
50?: string;
|
5
|
+
100?: string;
|
6
|
+
200?: string;
|
7
|
+
300?: string;
|
8
|
+
600?: string;
|
9
|
+
700?: string;
|
10
|
+
800?: string;
|
11
|
+
}
|
12
|
+
}
|
2
13
|
export declare const palette: PaletteOptions;
|
3
14
|
export declare const paletteAdpro: PaletteOptions;
|
@@ -1,3 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { TypographyOptions } from '@mui/material/styles/createTypography';
|
2
|
-
|
3
|
+
declare module '@mui/material/styles' {
|
4
|
+
interface TypographyVariants {
|
5
|
+
body3: React.CSSProperties;
|
6
|
+
}
|
7
|
+
interface TypographyVariantsOptions {
|
8
|
+
body3?: React.CSSProperties;
|
9
|
+
}
|
10
|
+
}
|
3
11
|
export declare const typography: TypographyOptions;
|
package/a133e8bb03869107.png
DELETED
Binary file
|
@@ -1,39 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import "@mui/material/Typography";
|
3
|
-
import "@mui/material/Radio";
|
4
|
-
import "@mui/material/Checkbox";
|
5
|
-
import "@mui/material/styles";
|
6
|
-
declare module '@mui/material/styles' {
|
7
|
-
interface TypographyVariants {
|
8
|
-
body3: React.CSSProperties;
|
9
|
-
}
|
10
|
-
interface TypographyVariantsOptions {
|
11
|
-
body3?: React.CSSProperties;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
declare module '@mui/material/Typography' {
|
15
|
-
interface TypographyPropsVariantOverrides {
|
16
|
-
body3: true;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
declare module "@mui/material/Radio" {
|
20
|
-
interface RadioPropsSizeOverrides {
|
21
|
-
large: true;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
declare module "@mui/material/Checkbox" {
|
25
|
-
interface CheckboxPropsSizeOverrides {
|
26
|
-
large: true;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
declare module "@mui/material/styles" {
|
30
|
-
interface PaletteColor {
|
31
|
-
50?: string;
|
32
|
-
100?: string;
|
33
|
-
200?: string;
|
34
|
-
300?: string;
|
35
|
-
600?: string;
|
36
|
-
700?: string;
|
37
|
-
800?: string;
|
38
|
-
}
|
39
|
-
}
|
package/src/module.d.ts
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import "@mui/material/Typography";
|
3
|
-
import "@mui/material/Radio";
|
4
|
-
import "@mui/material/Checkbox";
|
5
|
-
import "@mui/material/styles";
|
6
|
-
declare module '@mui/material/styles' {
|
7
|
-
interface TypographyVariants {
|
8
|
-
body3: React.CSSProperties;
|
9
|
-
}
|
10
|
-
interface TypographyVariantsOptions {
|
11
|
-
body3?: React.CSSProperties;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
declare module '@mui/material/Typography' {
|
15
|
-
interface TypographyPropsVariantOverrides {
|
16
|
-
body3: true;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
declare module "@mui/material/Radio" {
|
20
|
-
interface RadioPropsSizeOverrides {
|
21
|
-
large: true;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
declare module "@mui/material/Checkbox" {
|
25
|
-
interface CheckboxPropsSizeOverrides {
|
26
|
-
large: true;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
declare module "@mui/material/styles" {
|
30
|
-
interface PaletteColor {
|
31
|
-
50?: string;
|
32
|
-
100?: string;
|
33
|
-
200?: string;
|
34
|
-
300?: string;
|
35
|
-
600?: string;
|
36
|
-
700?: string;
|
37
|
-
800?: string;
|
38
|
-
}
|
39
|
-
}
|