@sinco/react 1.0.14-rc.6 → 1.0.14-rc.60

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.6",
3
+ "version": "1.0.14-rc.60",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,15 +1,14 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
3
- export declare enum EmptyStateImageUrls {
4
- error = "error",
5
- search = "search",
6
- noResult = "noResult",
7
- create = "create"
8
- }
3
+ export declare const EmptyStateImageUrls: Record<EmptyStateStates, string>;
9
4
  export interface EmptyStateProperties {
5
+ icon?: ReactNode;
10
6
  state?: EmptyStateStates;
11
7
  title?: string;
12
8
  content?: string;
13
9
  actions?: ReactNode;
10
+ imageWidth?: string;
11
+ imageHeight?: string;
12
+ containerHeight?: string;
14
13
  }
15
- export declare const EmptyStateComponent: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
14
+ export declare const EmptyStateComponent: ({ state, title, content, actions, containerHeight, imageWidth, imageHeight, icon, }: EmptyStateProperties) => JSX.Element;
@@ -1,5 +1,3 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
- export * from './ToastNotification';
5
- export * from './App';
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const App: () => JSX.Element;
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- interface Option {
3
- }
4
- interface ToastNotificationProperties {
5
- type?: string;
6
- subtitle?: string;
7
- time?: number | any;
8
- title?: string;
9
- dataOpt?: Option[];
10
- actions?: React.ReactNode;
11
- seeMore?: boolean;
12
- }
13
- export declare const ToastNotificationComponent: (toast: ToastNotificationProperties) => JSX.Element;
14
- export {};
@@ -1,3 +0,0 @@
1
- export declare const useProgress: (timeProgress: number) => {
2
- progressToast: number;
3
- };