componenteshospitais 1.2.8 → 1.2.9

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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  interface ButtonProps {
3
- empresa: '1' | '2' | '3';
3
+ empresa: '1' | '2' | '3' | '4';
4
4
  type?: 'button' | 'submit';
5
5
  onClick?: () => void;
6
6
  texto: string;
@@ -4,7 +4,7 @@ interface CardProps {
4
4
  imgLateral?: string;
5
5
  text: string;
6
6
  link?: string;
7
- empresa: '1' | '2' | '3';
7
+ empresa: '1' | '2' | '3' | '4';
8
8
  largura?: string;
9
9
  externo?: boolean;
10
10
  funcao?: (parametro: string) => void;
@@ -3,7 +3,7 @@ interface CardImageProps {
3
3
  img: string;
4
4
  href?: string;
5
5
  texto?: string;
6
- empresa: '1' | '2' | '3';
6
+ empresa: '1' | '2' | '3' | '4';
7
7
  largura?: string;
8
8
  altura?: string;
9
9
  externo?: boolean;
@@ -8,7 +8,7 @@ interface MenuPageProps {
8
8
  contents: {
9
9
  [key: string]: ReactNode;
10
10
  };
11
- empresa: '1' | '2' | '3';
11
+ empresa: '1' | '2' | '3' | '4';
12
12
  }
13
13
  declare const MenuPage: React.FC<MenuPageProps>;
14
14
  export default MenuPage;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  interface HeaderProps {
3
3
  titulo: string;
4
4
  onClick?: () => void;
5
- empresa: '1' | '2' | '3';
5
+ empresa: '1' | '2' | '3' | '4';
6
6
  }
7
7
  declare const TituloPagina: React.FC<HeaderProps>;
8
8
  export default TituloPagina;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "componenteshospitais",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import styles from '../styles/input.module.css';
3
3
 
4
4
  interface ButtonProps {
5
- empresa: '1' | '2' | '3';
5
+ empresa: '1' | '2' | '3' | '4';
6
6
  type?: 'button' | 'submit';
7
7
  onClick?: () => void;
8
8
  texto: string;
@@ -6,7 +6,7 @@ interface CardProps {
6
6
  imgLateral?: string;
7
7
  text: string;
8
8
  link?: string;
9
- empresa: '1' | '2' | '3';
9
+ empresa: '1' | '2' | '3' | '4';
10
10
  largura?: string;
11
11
  externo?: boolean
12
12
  funcao?: (parametro: string) => void;
@@ -5,7 +5,7 @@ interface CardImageProps {
5
5
  img: string;
6
6
  href?: string;
7
7
  texto?: string;
8
- empresa: '1' | '2' | '3';
8
+ empresa: '1' | '2' | '3' | '4';
9
9
  largura?: string;
10
10
  altura?: string;
11
11
  externo?: boolean;
@@ -9,7 +9,7 @@ interface Menu {
9
9
  interface MenuPageProps {
10
10
  menus: Menu[];
11
11
  contents: { [key: string]: ReactNode };
12
- empresa: '1' | '2' | '3';
12
+ empresa: '1' | '2' | '3' | '4';
13
13
  }
14
14
 
15
15
  const MenuPage: React.FC<MenuPageProps> = ({ menus, contents, empresa }) => {
@@ -4,7 +4,7 @@ import styles from '../styles/tituloPagina.module.css'; // Importa o CSS espec
4
4
  interface HeaderProps {
5
5
  titulo: string;
6
6
  onClick?: () => void;
7
- empresa: '1' | '2' | '3';
7
+ empresa: '1' | '2' | '3' | '4';
8
8
  }
9
9
 
10
10
  const TituloPagina: React.FC<HeaderProps> = ({ titulo, onClick, empresa }) => {