@sinco/react 1.0.10-rc.1 → 1.0.10-rc.11

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 CHANGED
@@ -10817,6 +10817,16 @@ const typography = {
10817
10817
  fontSize: 14
10818
10818
  }
10819
10819
  },
10820
+ body3: {
10821
+ fontFamily: "Roboto",
10822
+ fontWeight: 310,
10823
+ fontSize: 12,
10824
+ letterSpacing: 0.17,
10825
+ lineHeight: 1.2,
10826
+ [breakpoints.down("md")]: {
10827
+ fontSize: 11
10828
+ }
10829
+ },
10820
10830
  subtitle1: {
10821
10831
  fontFamily: "Roboto",
10822
10832
  fontSize: 14,
@@ -10920,20 +10930,7 @@ const themeOptions = {
10920
10930
  breakpoints
10921
10931
  };
10922
10932
 
10923
- const SincoTheme = createTheme(Object.assign({}, themeOptions, {
10924
- typography: {
10925
- body3: {
10926
- fontFamily: "Roboto",
10927
- fontWeight: 310,
10928
- fontSize: 12,
10929
- letterSpacing: 0.17,
10930
- lineHeight: 1.2,
10931
- [breakpoints.down("md")]: {
10932
- fontSize: 11
10933
- }
10934
- }
10935
- }
10936
- }));
10933
+ const SincoTheme = createTheme(Object.assign({}, themeOptions));
10937
10934
 
10938
10935
  var wellKnownSymbol$d = wellKnownSymbol$f;
10939
10936
 
@@ -15900,7 +15897,7 @@ const stylesEncabezado = {
15900
15897
  display: "flex",
15901
15898
  alignContent: "center",
15902
15899
  justifyContent: "space-between",
15903
- backgroundColor: "secondary.main",
15900
+ backgroundColor: "secondary.light",
15904
15901
  py: "12px",
15905
15902
  px: "8px"
15906
15903
  };
@@ -15951,6 +15948,7 @@ const DrawerComponent = ({
15951
15948
  sx: stylesEncabezado,
15952
15949
  children: [jsx(Typography$1, {
15953
15950
  variant: "h6",
15951
+ color: "text.primary",
15954
15952
  children: titulo
15955
15953
  }), jsx(Box$2, {
15956
15954
  children: jsx(IconButton$1, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.10-rc.1",
3
+ "version": "1.0.10-rc.11",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from "react";
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: React.FC<DrawerComponentProps>;
11
+ export declare const DrawerComponent: ({ open, onClose, titulo, children, acciones, anchor, }: DrawerComponentProps) => JSX.Element;