@sinco/react 1.0.15-rc.10 → 1.0.15-rc.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.15-rc.10",
3
+ "version": "1.0.15-rc.12",
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 '..';
4
+ export * from './lib/Utils';
@@ -0,0 +1,15 @@
1
+ import { Variant } from "@mui/material/styles/createTypography";
2
+ import React from "react";
3
+ export interface PageheaderProperties {
4
+ title: string | React.ReactNode;
5
+ subtitle?: string | React.ReactNode;
6
+ actions?: React.ReactNode;
7
+ buttonBack?: React.ReactNode;
8
+ fixed?: boolean;
9
+ }
10
+ export declare function PageHeaderWraps({ item, Color, variant, }: {
11
+ item: string | React.ReactNode;
12
+ Color: string;
13
+ variant: Variant;
14
+ }): JSX.Element;
15
+ export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
@@ -1,5 +1,4 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
- export * from './toastNotification/ToastBase';
5
- export * from './toastNotification/ToastNotification';
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;
@@ -0,0 +1 @@
1
+ export * from './dynamicColor';
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './src/lib/Utils/dynamicColor';
@@ -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 {};
@@ -1,3 +0,0 @@
1
- export declare const useProgress: (timeProgress: number) => {
2
- progressToast: number;
3
- };