@sinco/react 1.0.15-rc.2 → 1.0.15-rc.21

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.15-rc.2",
3
+ "version": "1.0.15-rc.21",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -8,9 +8,17 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/SincosoftSAS/DesignSystem.git"
10
10
  },
11
+ "peerDependencies": {
12
+ "react": "^18.2.0",
13
+ "@emotion/react": "^11.11.0",
14
+ "@emotion/styled": "^11.11.0",
15
+ "@mui/icons-material": "^5.14.3",
16
+ "@mui/material": "^5.14.13",
17
+ "@mui/x-data-grid": "^6.6.0"
18
+ },
11
19
  "sideEffects": false,
12
20
  "module": "./index.js",
13
21
  "main": "./index.js",
14
22
  "type": "module",
15
- "types": "./src\\index.d.ts"
23
+ "types": "./src/index.d.ts"
16
24
  }
@@ -1,10 +1,15 @@
1
+ import { Variant } from "@mui/material/styles/createTypography";
1
2
  import React from "react";
2
- interface PageheaderProperties {
3
+ export interface PageheaderProperties {
3
4
  title: string | React.ReactNode;
4
5
  subtitle?: string | React.ReactNode;
5
6
  actions?: React.ReactNode;
6
7
  buttonBack?: React.ReactNode;
7
8
  fixed?: boolean;
8
9
  }
10
+ export declare function PageHeaderWraps({ item, Color, variant, }: {
11
+ item: string | React.ReactNode;
12
+ Color: string;
13
+ variant: Variant;
14
+ }): JSX.Element;
9
15
  export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
10
- export {};
@@ -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;
@@ -1 +1,2 @@
1
1
  export declare const SincoTheme: import("@mui/material/styles").Theme;
2
+ export declare const AdproSincoTheme: import("@mui/material/styles").Theme;
@@ -1,2 +1,3 @@
1
1
  import { PaletteOptions } from '@mui/material';
2
2
  export declare const palette: PaletteOptions;
3
+ export declare const paletteADPRO: PaletteOptions;
@@ -1,2 +1,3 @@
1
1
  import { ThemeOptions } from "@mui/material/styles";
2
2
  export declare const themeOptions: ThemeOptions;
3
+ export declare const themeAdproOptions: ThemeOptions;