@sinco/react 1.0.13 → 1.0.14-rc.0

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.13",
3
+ "version": "1.0.14-rc.0",
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,3 +1,4 @@
1
1
  export * from './lib/Theme';
2
2
  export * from './lib/Components';
3
3
  export * from './lib/Hooks';
4
+ export * from '..';
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ export type SincoIconId = 'datoContacto' | 'datoNotificaciones' | 'documentos' | 'especialidades' | 'informacionGeneral' | 'novedades' | 'validacionPersonas';
3
+ export declare enum SincoIconImageUrl {
4
+ datoContacto = "sinco-datoContacto",
5
+ datoNotificaciones = "sinco-datoNotificaciones",
6
+ documentos = "sinco-documentos",
7
+ especialidades = "sinco-especialidades",
8
+ informacionGeneral = "sinco-informacionGeneral",
9
+ novedades = "sinco-novedades",
10
+ validacionPersonas = "sinco-validacionPersonas"
11
+ }
12
+ export interface SincoIconProperties {
13
+ icon: SincoIconId;
14
+ width?: string;
15
+ height?: string;
16
+ }
17
+ export declare const SincoIcon: ({ icon, width, height }: SincoIconProperties) => JSX.Element;
@@ -1,5 +1,4 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
- export * from './PageHeader';
5
- export * from './ToastNotification';
4
+ export * from './SincoIcon';
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- 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"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
4
- }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
- interface PageheaderProperties {
6
- title?: string;
7
- subtitle?: string;
8
- actions?: React.ReactNode;
9
- buttonBack?: React.ReactNode;
10
- }
11
- export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, }: PageheaderProperties) => JSX.Element;
12
- export {};
@@ -1,20 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import React from 'react';
3
- export interface Option {
4
- }
5
- export interface ToastNotificationProperties {
6
- type?: string;
7
- subtitle?: string;
8
- time?: number | any;
9
- title?: string;
10
- dataOpt?: Option[];
11
- actions?: React.ReactNode;
12
- seeMore?: boolean;
13
- }
14
- export interface handleChangeToastIcon {
15
- [key: string]: ReactElement;
16
- }
17
- export interface handleToastColor {
18
- [key: string]: 'success' | 'error' | 'warning' | 'info';
19
- }
20
- export declare const ToastNotificationComponent: (toast: ToastNotificationProperties) => JSX.Element;