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

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -15885,48 +15885,41 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("p
15885
15885
  default_1 = Close.default = _default;
15886
15886
 
15887
15887
  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"
15888
+ display: 'flex',
15889
+ flexDirection: 'column',
15890
+ alignContent: 'flex-start',
15891
+ justifyContent: 'space-between',
15892
+ width: '530px',
15893
+ height: '100%',
15894
+ overflow: 'hidden'
15895
15895
  };
15896
15896
  const stylesEncabezado = {
15897
- display: "flex",
15898
- alignContent: "center",
15899
- justifyContent: "space-between",
15900
- backgroundColor: "secondary.light",
15901
- py: "12px",
15902
- px: "8px",
15903
- fontFamily: "Nunito",
15904
- fontSize: 16,
15905
- fontWeight: 600,
15906
- lineHeight: 1.6,
15907
- '@media(max-width: 885px)': {
15908
- fontSize: 17
15909
- }
15897
+ display: 'flex',
15898
+ alignContent: 'center',
15899
+ justifyContent: 'space-between',
15900
+ backgroundColor: 'secondary.light',
15901
+ py: '12px',
15902
+ px: '8px'
15910
15903
  };
15911
15904
  const stylesContenido = {
15912
- display: "flex",
15913
- overflow: "auto",
15914
- alignItems: "flex-start",
15915
- flexDirection: "column",
15916
- height: "-webkit-fill-available",
15917
- py: "12px",
15918
- px: "8px"
15905
+ display: 'flex',
15906
+ overflow: 'auto',
15907
+ alignItems: 'flex-start',
15908
+ flexDirection: 'column',
15909
+ height: '-webkit-fill-available',
15910
+ py: '12px',
15911
+ px: '8px'
15919
15912
  };
15920
15913
  const stylesAcciones = {
15921
- display: "flex",
15922
- alignContent: "center",
15923
- justifyContent: "flex-end",
15924
- borderTop: "1px solid rgba(16, 24, 64, 0.23)",
15925
- backgroundColor: "#F1F0EE",
15926
- mt: "4px",
15927
- gap: "8px",
15928
- py: "12px",
15929
- px: "8px"
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'
15930
15923
  };
15931
15924
  const DrawerComponent = ({
15932
15925
  open,
@@ -15946,7 +15939,7 @@ const DrawerComponent = ({
15946
15939
  onClose: onClose,
15947
15940
  PaperProps: {
15948
15941
  style: {
15949
- borderRadius: "8px 0px 0px 0px"
15942
+ borderRadius: '8px 0px 0px 0px'
15950
15943
  }
15951
15944
  },
15952
15945
  children: jsxs(Box$2, {
@@ -15955,6 +15948,7 @@ const DrawerComponent = ({
15955
15948
  sx: stylesEncabezado,
15956
15949
  children: [jsx(Typography$1, {
15957
15950
  variant: "h6",
15951
+ component: "div",
15958
15952
  color: "text.primary",
15959
15953
  children: titulo
15960
15954
  }), jsx(Box$2, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.10-rc.17",
3
+ "version": "1.0.10-rc.19",
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 { 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;
@@ -8,4 +8,4 @@ export interface DrawerComponentProps {
8
8
  onClose: () => void;
9
9
  anchor?: Anchor;
10
10
  }
11
- export declare const DrawerComponent: ({ open, onClose, titulo, children, acciones, anchor, }: DrawerComponentProps) => JSX.Element;
11
+ export declare const DrawerComponent: React.FC<DrawerComponentProps>;