@sinco/react 1.2.3-rc.12 → 1.2.3-rc.17

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.2.3-rc.12",
3
+ "version": "1.2.3-rc.17",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,3 +1,4 @@
1
+ import { SxProps } from '@mui/material';
1
2
  import React, { FC } from 'react';
2
3
  type RadioPosition = 'left' | 'right';
3
4
  type Radiostate = 'active' | 'disabled' | 'default';
@@ -13,6 +14,7 @@ export interface CardRadioProps {
13
14
  onChange: (value: string | number) => void;
14
15
  value: string | number;
15
16
  checked?: boolean;
17
+ sx?: SxProps;
16
18
  }
17
19
  export declare const CardRadio: FC<CardRadioProps>;
18
20
  export {};
@@ -5,18 +5,20 @@ export interface DrawerComponentProperties {
5
5
  title: string;
6
6
  children: ReactNode;
7
7
  actions?: ReactNode;
8
- showActions?: boolean;
9
- anchor?: DrawerPosition;
10
- anchorActions: "flex-end" | "flex-start";
11
8
  width: string;
9
+ color?: string;
10
+ backgroundColor?: string;
11
+ closeIconColor?: string;
12
+ headerColor?: string;
12
13
  open: boolean;
14
+ showActions?: boolean;
13
15
  onClose: () => void;
14
16
  sx?: SxProps;
17
+ sxContent?: SxProps;
15
18
  sxActions?: SxProps;
16
- backgroundColor?: string;
17
- color?: string;
18
- headerColor?: string;
19
- closeIcon?: string;
19
+ sxHeader?: SxProps;
20
+ anchor?: DrawerPosition;
21
+ anchorActions: "flex-end" | "flex-start";
20
22
  }
21
- export declare const DrawerComponent: ({ title, backgroundColor, color, headerColor, children, actions, showActions, sxActions, closeIcon, anchor, anchorActions, width, open, onClose, sx, }: DrawerComponentProperties) => React.JSX.Element;
23
+ export declare const DrawerComponent: ({ open, onClose, title, width, children, actions, sx, sxHeader, sxContent, sxActions, color, backgroundColor, closeIconColor, headerColor, anchor, anchorActions, showActions, }: DrawerComponentProperties) => React.JSX.Element;
22
24
  export { DrawerComponent as Drawer };
@@ -2,7 +2,6 @@ import React from "react";
2
2
  export interface MultiSelectProps {
3
3
  topPanel?: React.ReactNode;
4
4
  acciones?: React.ReactNode;
5
- contenido?: React.ReactNode;
6
5
  anchorEl: HTMLElement | null;
7
6
  dense?: boolean;
8
7
  open: boolean;
@@ -11,4 +10,4 @@ export interface MultiSelectProps {
11
10
  filterFunction: (items: any[], filtroTexto: string) => any[];
12
11
  getItemLabel: (item: any) => string;
13
12
  }
14
- export declare const MultiSelect: ({ topPanel, acciones, open, onClose, items, filterFunction, getItemLabel, anchorEl, dense, contenido }: MultiSelectProps) => React.JSX.Element;
13
+ export declare const MultiSelect: ({ topPanel, acciones, open, onClose, items, filterFunction, getItemLabel, anchorEl, dense }: MultiSelectProps) => React.JSX.Element;
@@ -1,4 +1,3 @@
1
- import { Variant } from "@mui/material/styles/createTypography";
2
1
  import React from "react";
3
2
  export interface PageheaderProperties {
4
3
  title: string | React.ReactNode;
@@ -7,10 +6,5 @@ export interface PageheaderProperties {
7
6
  buttonBack?: React.ReactNode;
8
7
  fixed?: boolean;
9
8
  }
10
- export declare function PageHeaderWraps({ item, color, variant, }: {
11
- item: string | React.ReactNode;
12
- color: string;
13
- variant: Variant;
14
- }): React.JSX.Element;
15
9
  export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => React.JSX.Element;
16
10
  export { PageHeaderComponent as PageHeader };
@@ -8,7 +8,7 @@ interface ProgressProps {
8
8
  lote?: number;
9
9
  porcent?: boolean;
10
10
  progressBar?: boolean;
11
- textPorcent?: boolean;
11
+ textPorcent?: string;
12
12
  ilustration?: boolean;
13
13
  }
14
14
  export declare const ProgressSinco: FC<ProgressProps>;
@@ -1,2 +1,3 @@
1
1
  export declare const SincoTheme: import("@mui/material/styles").Theme;
2
2
  export declare let AdproSincoTheme: import("@mui/material/styles").Theme;
3
+ export declare let ADCSincoTheme: import("@mui/material/styles").Theme;
@@ -1,3 +1,4 @@
1
1
  import { ThemeOptions } from "@mui/material/styles";
2
2
  export declare const ERPTheme: ThemeOptions;
3
3
  export declare const ADPROTheme: ThemeOptions;
4
+ export declare const ADCTheme: ThemeOptions;