@sinco/react 1.0.15 → 1.0.16-rc.1

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",
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",
@@ -1,15 +1,17 @@
1
- import { ReactNode } from "react";
2
- import { SxProps } from "@mui/material";
3
- export type DrawerPosition = "left" | "right";
1
+ import { ReactNode } from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ export type DrawerPosition = 'left' | 'right';
4
4
  export interface DrawerComponentProperties {
5
5
  title: string;
6
6
  children: ReactNode;
7
7
  actions: ReactNode;
8
8
  showActions?: boolean;
9
9
  anchor?: DrawerPosition;
10
+ anchorActions: 'flex-end' | 'flex-start';
10
11
  width: string;
11
12
  open: boolean;
12
13
  onClose: () => void;
13
14
  sx?: SxProps;
14
15
  }
15
- export declare const DrawerComponent: ({ title, children, actions, showActions, anchor, width, open, onClose, sx, }: DrawerComponentProperties) => JSX.Element;
16
+ export declare const DrawerComponent: ({ title, children, actions, showActions, anchor, anchorActions, width, open, onClose, sx, }: DrawerComponentProperties) => JSX.Element;
17
+ export { DrawerComponent as Drawer };
@@ -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;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  interface FooterActionsProperties {
3
3
  labelChangeCounter: React.ReactNode;
4
- renderLeftContent?: React.ReactNode;
5
- renderRightContent?: React.ReactNode;
4
+ leftContent?: React.ReactNode;
5
+ rightContent?: React.ReactNode;
6
6
  }
7
- export declare const FooterActionComponent: ({ renderLeftContent, renderRightContent, labelChangeCounter, }: FooterActionsProperties) => JSX.Element;
7
+ export declare const FooterAction: ({ leftContent, rightContent, labelChangeCounter, }: FooterActionsProperties) => JSX.Element;
8
8
  export {};
@@ -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;