@sinco/react 1.0.10-rc.19 → 1.0.10-rc.2

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -10817,16 +10817,6 @@ const typography = {
10817
10817
  fontSize: 14
10818
10818
  }
10819
10819
  },
10820
- body3: {
10821
- fontFamily: "Roboto",
10822
- fontWeight: 300,
10823
- fontSize: 12,
10824
- letterSpacing: 0.17,
10825
- lineHeight: 1.2,
10826
- [breakpoints.down("md")]: {
10827
- fontSize: 11
10828
- }
10829
- },
10830
10820
  subtitle1: {
10831
10821
  fontFamily: "Roboto",
10832
10822
  fontSize: 14,
@@ -10930,7 +10920,20 @@ const themeOptions = {
10930
10920
  breakpoints
10931
10921
  };
10932
10922
 
10933
- const SincoTheme = createTheme(Object.assign({}, themeOptions));
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
+ }));
10934
10937
 
10935
10938
  var wellKnownSymbol$d = wellKnownSymbol$f;
10936
10939
 
@@ -15885,41 +15888,41 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("p
15885
15888
  default_1 = Close.default = _default;
15886
15889
 
15887
15890
  const stylesDrawerContainer = {
15888
- display: 'flex',
15889
- flexDirection: 'column',
15890
- alignContent: 'flex-start',
15891
- justifyContent: 'space-between',
15892
- width: '530px',
15893
- height: '100%',
15894
- overflow: 'hidden'
15891
+ display: "flex",
15892
+ flexDirection: "column",
15893
+ alignContent: "flex-start",
15894
+ justifyContent: "space-between",
15895
+ width: "530px",
15896
+ height: "100%",
15897
+ overflow: "hidden"
15895
15898
  };
15896
15899
  const stylesEncabezado = {
15897
- display: 'flex',
15898
- alignContent: 'center',
15899
- justifyContent: 'space-between',
15900
- backgroundColor: 'secondary.light',
15901
- py: '12px',
15902
- px: '8px'
15900
+ display: "flex",
15901
+ alignContent: "center",
15902
+ justifyContent: "space-between",
15903
+ backgroundColor: "secondary.main",
15904
+ py: "12px",
15905
+ px: "8px"
15903
15906
  };
15904
15907
  const stylesContenido = {
15905
- display: 'flex',
15906
- overflow: 'auto',
15907
- alignItems: 'flex-start',
15908
- flexDirection: 'column',
15909
- height: '-webkit-fill-available',
15910
- py: '12px',
15911
- px: '8px'
15908
+ display: "flex",
15909
+ overflow: "auto",
15910
+ alignItems: "flex-start",
15911
+ flexDirection: "column",
15912
+ height: "-webkit-fill-available",
15913
+ py: "12px",
15914
+ px: "8px"
15912
15915
  };
15913
15916
  const stylesAcciones = {
15914
- display: 'flex',
15915
- alignContent: 'center',
15916
- justifyContent: 'flex-end',
15917
- borderTop: '1px solid rgba(16, 24, 64, 0.23)',
15918
- backgroundColor: '#F1F0EE',
15919
- mt: '4px',
15920
- gap: '8px',
15921
- py: '12px',
15922
- px: '8px'
15917
+ display: "flex",
15918
+ alignContent: "center",
15919
+ justifyContent: "flex-end",
15920
+ borderTop: "1px solid rgba(16, 24, 64, 0.23)",
15921
+ backgroundColor: "#F1F0EE",
15922
+ mt: "4px",
15923
+ gap: "8px",
15924
+ py: "12px",
15925
+ px: "8px"
15923
15926
  };
15924
15927
  const DrawerComponent = ({
15925
15928
  open,
@@ -15939,7 +15942,7 @@ const DrawerComponent = ({
15939
15942
  onClose: onClose,
15940
15943
  PaperProps: {
15941
15944
  style: {
15942
- borderRadius: '8px 0px 0px 0px'
15945
+ borderRadius: "8px 0px 0px 0px"
15943
15946
  }
15944
15947
  },
15945
15948
  children: jsxs(Box$2, {
@@ -15948,8 +15951,6 @@ const DrawerComponent = ({
15948
15951
  sx: stylesEncabezado,
15949
15952
  children: [jsx(Typography$1, {
15950
15953
  variant: "h6",
15951
- component: "div",
15952
- color: "text.primary",
15953
15954
  children: titulo
15954
15955
  }), jsx(Box$2, {
15955
15956
  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.19",
3
+ "version": "1.0.10-rc.2",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
- import React, { ReactNode } from 'react';
2
- export type Anchor = 'left' | 'right';
1
+ import React, { ReactNode } from "react";
2
+ export type Anchor = "left" | "right";
3
3
  export interface DrawerComponentProps {
4
4
  titulo: string;
5
5
  children: ReactNode;