@sinco/react 1.1.2-rc.2 → 1.1.2-rc.20
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2734 -2716
- package/package.json +2 -1
- package/src/index.d.ts +1 -0
- package/src/lib/Components/PageHeader.d.ts +1 -2
- package/src/lib/Theme/components.d.ts +1 -10
- package/src/lib/Theme/palette.d.ts +0 -11
- package/src/lib/Theme/typography.d.ts +1 -14
- package/src/module.d.ts +39 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sinco/react",
|
3
|
-
"version": "1.1.2-rc.
|
3
|
+
"version": "1.1.2-rc.20",
|
4
4
|
"description": "package for the configuration of mui react sinco",
|
5
5
|
"private": false,
|
6
6
|
"license": "MIT",
|
@@ -9,6 +9,7 @@
|
|
9
9
|
"url": "https://github.com/SincosoftSAS/DesignSystem.git"
|
10
10
|
},
|
11
11
|
"peerDependencies": {
|
12
|
+
"@nx/jest": "17.1.2",
|
12
13
|
"react": "^18.2.0",
|
13
14
|
"react-dom": "^18.2.0",
|
14
15
|
"@emotion/react": "^11.11.0",
|
package/src/index.d.ts
CHANGED
@@ -12,5 +12,4 @@ export declare function PageHeaderWraps({ item, color, variant, }: {
|
|
12
12
|
color: string;
|
13
13
|
variant: Variant;
|
14
14
|
}): JSX.Element;
|
15
|
-
export declare const
|
16
|
-
export { PageHeaderComponent as PageHeader };
|
15
|
+
export declare const PageHeader: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
|
@@ -1,12 +1,3 @@
|
|
1
1
|
import { Components } from "@mui/material";
|
2
|
-
|
3
|
-
interface RadioPropsSizeOverrides {
|
4
|
-
large: true;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
declare module "@mui/material/Checkbox" {
|
8
|
-
interface CheckboxPropsSizeOverrides {
|
9
|
-
large: true;
|
10
|
-
}
|
11
|
-
}
|
2
|
+
import "../../module";
|
12
3
|
export declare const components: Components;
|
@@ -1,14 +1,3 @@
|
|
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
|
-
}
|
13
2
|
export declare const palette: PaletteOptions;
|
14
3
|
export declare const paletteAdpro: PaletteOptions;
|
@@ -1,16 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { TypographyOptions } from '@mui/material/styles/createTypography';
|
3
|
-
|
4
|
-
interface TypographyVariants {
|
5
|
-
body3: React.CSSProperties;
|
6
|
-
}
|
7
|
-
interface TypographyVariantsOptions {
|
8
|
-
body3?: React.CSSProperties;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
declare module "@mui/material/Typography" {
|
12
|
-
interface TypographyPropsVariantOverrides {
|
13
|
-
body3: true;
|
14
|
-
}
|
15
|
-
}
|
2
|
+
import "../../module";
|
16
3
|
export declare const typography: TypographyOptions;
|
package/src/module.d.ts
ADDED
@@ -0,0 +1,39 @@
|
|
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
|
+
}
|