@sinco/react 1.0.14-rc.30 → 1.0.14-rc.31

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.14-rc.30",
3
+ "version": "1.0.14-rc.31",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -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
+ titleColor: 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, titleColor, }: DrawerComponentProperties) => JSX.Element;
@@ -1,5 +1,3 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
- export * from './PageHeader';
5
- export * from './ToastNofitication';
@@ -1 +0,0 @@
1
- export declare const main: () => JSX.Element;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- interface PageheaderProperties {
3
- title?: string;
4
- subtitle?: string;
5
- actions?: React.ReactNode;
6
- buttonBack?: React.ReactNode;
7
- fixed?: boolean;
8
- }
9
- export declare const PageHeaderContent: import("@emotion/styled").StyledComponent<import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
11
- }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
12
- export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
13
- export {};
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- interface ToastNotificationProperties {
3
- type?: string;
4
- subtitle?: string;
5
- time?: number | any;
6
- title?: string;
7
- dataOpt?: Array<object>;
8
- actions?: React.ReactNode;
9
- seeMore?: boolean;
10
- }
11
- export declare const ToastNotificationComponent: (toast: ToastNotificationProperties) => JSX.Element;
12
- export {};
@@ -1,3 +0,0 @@
1
- export declare const useProgress: (timeProgress: number) => {
2
- progressToast: number;
3
- };