@sinco/react 1.0.16-rc.0 → 1.0.16-rc.1

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -13565,7 +13565,7 @@ const DefaultIcon = ({
13565
13565
  xlinkHref: `${emptyStateIcons}#${EmptyStateImageUrls[_state]}`
13566
13566
  }));
13567
13567
  };
13568
- const EmptyStateComponent = ({
13568
+ const EmptyState = ({
13569
13569
  state,
13570
13570
  title,
13571
13571
  subtitle,
@@ -14254,7 +14254,7 @@ const useProgress = timeProgress => {
14254
14254
  };
14255
14255
  };
14256
14256
 
14257
- const ToastNotificationComponent = toast => {
14257
+ const ToastNotification = toast => {
14258
14258
  const [stateOptions, setStateOptions] = useState(true);
14259
14259
  const [stateToast, setStateToast] = useState(true);
14260
14260
  const timeProgress = toast.time || 10;
@@ -14386,7 +14386,7 @@ function PageHeaderWraps({
14386
14386
  }
14387
14387
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item);
14388
14388
  }
14389
- const PageHeaderComponent = ({
14389
+ const PageHeader = ({
14390
14390
  title,
14391
14391
  subtitle,
14392
14392
  actions,
@@ -19934,4 +19934,4 @@ const useDynamicColor = url => {
19934
19934
  };
19935
19935
  };
19936
19936
 
19937
- export { AdproSincoTheme, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyStateComponent as EmptyState, EmptyStateComponent, EmptyStateImageUrls, FooterAction, PageHeaderComponent as PageHeader, PageHeaderComponent, PageHeaderWraps, SincoTheme, ToastNotificationComponent as ToastNotification, ToastNotificationComponent, useDynamicColor };
19937
+ export { AdproSincoTheme, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyState, EmptyStateImageUrls, FooterAction, PageHeader, PageHeaderWraps, SincoTheme, ToastNotification, useDynamicColor };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.16-rc.0",
3
+ "version": "1.0.16-rc.1",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -10,5 +10,4 @@ export interface EmptyStateProperties {
10
10
  iconStyle?: React.CSSProperties;
11
11
  containerHeight?: string;
12
12
  }
13
- export declare const EmptyStateComponent: ({ state, title, subtitle, actions, containerHeight, iconStyle, icon, }: EmptyStateProperties) => JSX.Element;
14
- export { EmptyStateComponent as EmptyState };
13
+ export declare const EmptyState: ({ state, title, subtitle, actions, containerHeight, iconStyle, icon, }: EmptyStateProperties) => JSX.Element;
@@ -12,5 +12,4 @@ export declare function PageHeaderWraps({ item, color, variant, }: {
12
12
  color: string;
13
13
  variant: Variant;
14
14
  }): JSX.Element;
15
- export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
16
- export { PageHeaderComponent as PageHeader };
15
+ export declare const PageHeader: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
@@ -9,5 +9,4 @@ export interface ToastBaseProperties {
9
9
  actions?: React.ReactNode;
10
10
  seeMore?: boolean;
11
11
  }
12
- export declare const ToastNotificationComponent: (toast: ToastBaseProperties) => JSX.Element;
13
- export { ToastNotificationComponent as ToastNotification };
12
+ export declare const ToastNotification: (toast: ToastBaseProperties) => JSX.Element;