@sinco/react 1.0.10-rc.19 → 1.0.10-rc.2
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 +44 -43
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +2 -2
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:
|
15889
|
-
flexDirection:
|
15890
|
-
alignContent:
|
15891
|
-
justifyContent:
|
15892
|
-
width:
|
15893
|
-
height:
|
15894
|
-
overflow:
|
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:
|
15898
|
-
alignContent:
|
15899
|
-
justifyContent:
|
15900
|
-
backgroundColor:
|
15901
|
-
py:
|
15902
|
-
px:
|
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:
|
15906
|
-
overflow:
|
15907
|
-
alignItems:
|
15908
|
-
flexDirection:
|
15909
|
-
height:
|
15910
|
-
py:
|
15911
|
-
px:
|
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:
|
15915
|
-
alignContent:
|
15916
|
-
justifyContent:
|
15917
|
-
borderTop:
|
15918
|
-
backgroundColor:
|
15919
|
-
mt:
|
15920
|
-
gap:
|
15921
|
-
py:
|
15922
|
-
px:
|
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:
|
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