@sinco/react 1.0.15-rc.3 → 1.0.15-rc.5

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.3",
3
+ "version": "1.0.15-rc.5",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './lib/Theme';
2
2
  export * from './lib/Components';
3
3
  export * from './lib/Hooks';
4
- export * from './lib/Utils';
4
+ export * from '..';
@@ -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,4 +1,3 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
- export * from './PageHeader';
@@ -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;
@@ -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 {};
@@ -1 +0,0 @@
1
- export * from './dynamicColor';