@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/index.esm.js +12408 -12629
- package/package.json +1 -1
- package/src/lib/Components/CardRadio.d.ts +2 -0
- package/src/lib/Components/Drawer.d.ts +10 -8
- package/src/lib/Components/MultiSelect/MultiSelect.d.ts +1 -2
- package/src/lib/Components/PageHeader.d.ts +0 -6
- package/src/lib/Components/ProgressSinco.d.ts +1 -1
- package/src/lib/Theme/index.d.ts +1 -0
- package/src/lib/Theme/theme.d.ts +1 -0
package/package.json
CHANGED
@@ -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
|
-
|
17
|
-
|
18
|
-
|
19
|
-
closeIcon?: string;
|
19
|
+
sxHeader?: SxProps;
|
20
|
+
anchor?: DrawerPosition;
|
21
|
+
anchorActions: "flex-end" | "flex-start";
|
20
22
|
}
|
21
|
-
export declare const DrawerComponent: ({
|
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
|
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 };
|
package/src/lib/Theme/index.d.ts
CHANGED
package/src/lib/Theme/theme.d.ts
CHANGED