@sinco/react 1.0.10-rc.1 → 1.0.10-rc.10
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.js +2 -1
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +2 -2
- package/src/lib/Theme/index.d.ts +0 -3
package/index.js
CHANGED
|
@@ -15900,7 +15900,7 @@ const stylesEncabezado = {
|
|
|
15900
15900
|
display: "flex",
|
|
15901
15901
|
alignContent: "center",
|
|
15902
15902
|
justifyContent: "space-between",
|
|
15903
|
-
backgroundColor: "secondary.
|
|
15903
|
+
backgroundColor: "secondary.light",
|
|
15904
15904
|
py: "12px",
|
|
15905
15905
|
px: "8px"
|
|
15906
15906
|
};
|
|
@@ -15951,6 +15951,7 @@ const DrawerComponent = ({
|
|
|
15951
15951
|
sx: stylesEncabezado,
|
|
15952
15952
|
children: [jsx(Typography$1, {
|
|
15953
15953
|
variant: "h6",
|
|
15954
|
+
color: "text.primary",
|
|
15954
15955
|
children: titulo
|
|
15955
15956
|
}), jsx(Box$2, {
|
|
15956
15957
|
children: jsx(IconButton$1, {
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
2
|
export type Anchor = "left" | "right";
|
|
3
3
|
export interface DrawerComponentProps {
|
|
4
4
|
titulo: string;
|
|
@@ -8,4 +8,4 @@ export interface DrawerComponentProps {
|
|
|
8
8
|
onClose: () => void;
|
|
9
9
|
anchor?: Anchor;
|
|
10
10
|
}
|
|
11
|
-
export declare const DrawerComponent:
|
|
11
|
+
export declare const DrawerComponent: ({ open, onClose, titulo, children, acciones, anchor, }: DrawerComponentProps) => JSX.Element;
|