@sinco/react 1.0.1-rc.5 → 1.0.1-rc.7

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.
Files changed (2) hide show
  1. package/README.md +18 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,38 +8,44 @@ npm i @sinco/react
8
8
 
9
9
  ## Pre-requisitos
10
10
 
11
- React en la versión 18 Instalar mui react
12
- https://mui.com/material-ui/getting-started/installation/
11
+ Asegúrate de tener instalado React en la versión 18. También, es necesario instalar Material-UI React. Puedes encontrar las instrucciones de instalación en el siguiente enlace: https://mui.com/material-ui/getting-started/installation/
13
12
 
14
13
  ## Fuentes web de Google
15
14
 
16
- Para instalar la fuente en su proyecto usando la CDN de Google Web Fonts, agregue el siguiente fragmento de código dentro de la `<head />`etiqueta de su proyecto:
15
+ Puedes utilizar fuentes de Google Web Fonts en tu proyecto. Para hacerlo, agrega el siguiente fragmento de código dentro de la etiqueta `<head>` de tu proyecto:
17
16
 
18
17
  `<link
19
18
  rel="stylesheet"
20
19
  href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&display=swap"
21
20
  />`
22
-
23
- O ya sea instalando las fuentes [roboto](https://www.npmjs.com/package/@fontsource/roboto) y [nunito](https://www.npmjs.com/package/@fontsource/nunito) del npm, importantando en su archivo `index.tsx` los fontsource que son:
21
+ Otra opción es instalar las fuentes Roboto y Nunito desde npm utilizando los paquetes
22
+ O ya sea instalando las fuentes [@fontsource/roboto](https://www.npmjs.com/package/@fontsource/roboto) y [@fontsource/nunito](https://www.npmjs.com/package/@fontsource/nunito) en su archivo `index.tsx`, los fontsource son que se necesitan son :
24
23
 
25
24
  ### Roboto
26
25
 
27
- import '@fontsource/roboto/400.css';
26
+ import '@fontsource/roboto/400.css'; <br/>
28
27
  import '@fontsource/roboto/500.css';
29
28
 
30
29
  ### Nunito
31
30
 
32
- import '@fontsource/roboto/400.css';
33
- import '@fontsource/roboto/500.css';
31
+ import '@fontsource/roboto/300.css'; <br/>
32
+ import '@fontsource/roboto/400.css'; <br/>
33
+ import '@fontsource/roboto/500.css'; <br/>
34
+ import '@fontsource/roboto/60.css';
34
35
 
35
36
  Para usar el `Iconcomponent` de fuente, primero debe agregar la [fuente](https://mui.com/material-ui/getting-started/installation/#icons) Material Icons.
36
37
 
37
38
  ## Como utilizar
38
39
 
39
- Para poder utilizar el tema personalizado de sinco react, solo debes colocar la variable "SincoTheme" en el themeProvider
40
- `<ThemeProvider theme={SincoTheme}>` [theme](https://mui.com/material-ui/customization/theming/#themeprovider)
40
+ Para utilizar el tema personalizado de sinco react, debes envolver tu aplicación con el componente `ThemeProvider` de Material-UI y proporcionar la variable `SincoTheme` como valor del prop `theme` en el [ThemeProvider](https://mui.com/material-ui/customization/theming/#themeprovider)
41
41
 
42
42
  ## Más información
43
43
 
44
- Para tener más información de como utilizar react mui
45
- https://mui.com/material-ui/getting-started/overview/
44
+ Puedes encontrar más información sobre cómo utilizar React y Material-UI en la documentación oficial:
45
+
46
+ - [React](https://es.react.dev/)
47
+ - [Material-UI](https://mui.com/material-ui/getting-started/overview/)
48
+
49
+ ## Recomendaciones
50
+
51
+ Este paquete utiliza Data [Data grid pro](https://mui.com/x/react-data-grid/) para su tema personalizado. Si deseas utilizarlo, se recomienda instalar el paquete [@mui/x-data-grid](https://www.npmjs.com/package/@mui/x-data-grid).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.1-rc.5",
3
+ "version": "1.0.1-rc.7",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",