pipesol-button 1.0.1-beta.10 → 1.0.1-beta.12
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/dist/components/DownloadButton.d.ts +79 -27
- package/dist/components/DownloadButton.js +30 -16
- package/dist/components/DownloadButton.js.map +1 -1
- package/dist/components/PrimaryButton.d.ts +37 -0
- package/dist/components/PrimaryButton.js +48 -0
- package/dist/components/PrimaryButton.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/theme.d.ts +14 -23
- package/dist/theme.js +115 -35
- package/dist/theme.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,62 +1,114 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Interface de propriedades para o componente `DownloadButton`.
|
|
4
|
+
*
|
|
5
|
+
* Use este botão para disponibilizar o download de um arquivo mantendo
|
|
6
|
+
* controle total sobre cores, raio de borda, sombra, dimensões e ícone.
|
|
7
|
+
*
|
|
8
|
+
* As propriedades marcadas com `@default` indicam o valor que será utilizado
|
|
9
|
+
* quando a prop não for fornecida ao componente.
|
|
4
10
|
*/
|
|
5
11
|
export interface DownloadButtonProps {
|
|
6
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* URL do arquivo a ser baixado.
|
|
14
|
+
*/
|
|
7
15
|
file: string;
|
|
8
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Nome do arquivo que será salvo no disco.
|
|
18
|
+
*/
|
|
9
19
|
fileName: string;
|
|
10
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Cor de fundo do botão.
|
|
22
|
+
* @default "#1976d2"
|
|
23
|
+
*/
|
|
11
24
|
background?: string;
|
|
12
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Cor de fundo exibida no estado hover.
|
|
27
|
+
* @default "#1565c0"
|
|
28
|
+
*/
|
|
13
29
|
backgroundHover?: string;
|
|
14
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Cor do texto do botão.
|
|
32
|
+
* @default "#fff"
|
|
33
|
+
*/
|
|
15
34
|
color?: string;
|
|
16
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Cor do texto exibida no estado hover.
|
|
37
|
+
* Se não informada, herda a mesma cor definida em `color`.
|
|
38
|
+
*/
|
|
17
39
|
colorHover?: string;
|
|
18
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Raio da borda do botão (qualquer valor CSS válido).
|
|
42
|
+
* @default "8px"
|
|
43
|
+
*/
|
|
19
44
|
borderRadius?: string;
|
|
20
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Sombra do botão (valor CSS de box-shadow).
|
|
47
|
+
* @default "none"
|
|
48
|
+
*/
|
|
21
49
|
boxShadow?: string;
|
|
22
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Ícone opcional exibido à esquerda do conteúdo.
|
|
52
|
+
*/
|
|
23
53
|
icon?: React.ReactNode;
|
|
24
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Conteúdo textual do botão (recomendado utilizar `Typography`).
|
|
56
|
+
*/
|
|
25
57
|
children: React.ReactNode;
|
|
26
58
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
59
|
+
* Texto de acessibilidade que descreve a função do botão
|
|
60
|
+
* para leitores de tela (atributo `aria-label`).
|
|
61
|
+
*/
|
|
30
62
|
arialLabel: string;
|
|
63
|
+
/**
|
|
64
|
+
* Largura do botão (valor CSS).
|
|
65
|
+
* @default "auto"
|
|
66
|
+
*/
|
|
67
|
+
width?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Altura do botão (valor CSS).
|
|
70
|
+
* @default "fit-content"
|
|
71
|
+
*/
|
|
72
|
+
height?: string;
|
|
31
73
|
}
|
|
32
74
|
/**
|
|
33
|
-
* Botão de download customizável com suporte a ícone e
|
|
75
|
+
* Botão de download customizável com suporte a ícone e conteúdo centralizado.
|
|
34
76
|
* O texto deve ser passado via `Typography` como children.
|
|
35
77
|
*
|
|
36
|
-
*
|
|
37
|
-
* @param {string}
|
|
38
|
-
* @param {string}
|
|
39
|
-
* @param {string} [
|
|
40
|
-
* @param {string} [
|
|
41
|
-
* @param {string} [
|
|
42
|
-
* @param {string} [
|
|
43
|
-
* @param {string} [
|
|
44
|
-
* @param {string}
|
|
45
|
-
* @param {
|
|
46
|
-
* @param {React.ReactNode}
|
|
78
|
+
* ### Parâmetros
|
|
79
|
+
* @param {string} file URL do arquivo a ser baixado.
|
|
80
|
+
* @param {string} fileName Nome do arquivo que será salvo.
|
|
81
|
+
* @param {string} [background="#1976d2"] Cor de fundo padrão do botão. **@default** "#1976d2"
|
|
82
|
+
* @param {string} [backgroundHover="#1565c0"] Cor de fundo no hover. **@default** "#1565c0"
|
|
83
|
+
* @param {string} [color="#fff"] Cor do texto padrão. **@default** "#fff"
|
|
84
|
+
* @param {string} [colorHover] Cor do texto no hover (herda `color` quando ausente).
|
|
85
|
+
* @param {string} [borderRadius="8px"] Raio da borda do botão. **@default** "8px"
|
|
86
|
+
* @param {string} [boxShadow="none"] Sombra do botão. **@default** "none"
|
|
87
|
+
* @param {string} arialLabel Texto de acessibilidade (atributo `aria-label`).
|
|
88
|
+
* @param {React.ReactNode} [icon] Ícone opcional exibido à esquerda do conteúdo.
|
|
89
|
+
* @param {React.ReactNode} children Conteúdo do botão (ex.: `Typography`).
|
|
90
|
+
* @param {string} [width="auto"] Largura do botão (valor CSS). **@default** "auto"
|
|
91
|
+
* @param {string} [height="fit-content"] Altura do botão (valor CSS). **@default** "fit-content"
|
|
47
92
|
*
|
|
48
93
|
* @example
|
|
49
94
|
* ```tsx
|
|
95
|
+
* import { Typography } from '@mui/material';
|
|
96
|
+
* import { Download as DownloadIcon } from '@mui/icons-material';
|
|
97
|
+
*
|
|
50
98
|
* <DownloadButton
|
|
51
99
|
* file="/docs/manual.pdf"
|
|
52
100
|
* fileName="manual.pdf"
|
|
101
|
+
* arialLabel="Baixar manual do produto"
|
|
53
102
|
* background="#28a745"
|
|
54
103
|
* backgroundHover="#218838"
|
|
55
104
|
* color="#fff"
|
|
56
105
|
* borderRadius="12px"
|
|
106
|
+
* boxShadow="0 2px 8px rgba(0,0,0,0.15)"
|
|
107
|
+
* width="220px"
|
|
108
|
+
* height="44px"
|
|
57
109
|
* icon={<DownloadIcon />}
|
|
58
110
|
* >
|
|
59
|
-
* <Typography>Baixar Manual</Typography>
|
|
111
|
+
* <Typography variant="button">Baixar Manual</Typography>
|
|
60
112
|
* </DownloadButton>
|
|
61
113
|
* ```
|
|
62
114
|
*/
|
|
@@ -8,8 +8,12 @@ const StyledLink = styled('a', {
|
|
|
8
8
|
'colorHover',
|
|
9
9
|
'borderRadius',
|
|
10
10
|
'boxShadow',
|
|
11
|
+
'width',
|
|
12
|
+
'height'
|
|
11
13
|
].includes(prop),
|
|
12
|
-
})(({ background, backgroundHover, color, colorHover, borderRadius, boxShadow }) => ({
|
|
14
|
+
})(({ background, backgroundHover, color, colorHover, borderRadius, boxShadow, width, height }) => ({
|
|
15
|
+
width: width,
|
|
16
|
+
height: height,
|
|
13
17
|
display: 'inline-flex',
|
|
14
18
|
alignItems: 'center',
|
|
15
19
|
justifyContent: 'center',
|
|
@@ -28,38 +32,48 @@ const StyledLink = styled('a', {
|
|
|
28
32
|
},
|
|
29
33
|
}));
|
|
30
34
|
/**
|
|
31
|
-
* Botão de download customizável com suporte a ícone e
|
|
35
|
+
* Botão de download customizável com suporte a ícone e conteúdo centralizado.
|
|
32
36
|
* O texto deve ser passado via `Typography` como children.
|
|
33
37
|
*
|
|
34
|
-
*
|
|
35
|
-
* @param {string}
|
|
36
|
-
* @param {string}
|
|
37
|
-
* @param {string} [
|
|
38
|
-
* @param {string} [
|
|
39
|
-
* @param {string} [
|
|
40
|
-
* @param {string} [
|
|
41
|
-
* @param {string} [
|
|
42
|
-
* @param {string}
|
|
43
|
-
* @param {
|
|
44
|
-
* @param {React.ReactNode}
|
|
38
|
+
* ### Parâmetros
|
|
39
|
+
* @param {string} file URL do arquivo a ser baixado.
|
|
40
|
+
* @param {string} fileName Nome do arquivo que será salvo.
|
|
41
|
+
* @param {string} [background="#1976d2"] Cor de fundo padrão do botão. **@default** "#1976d2"
|
|
42
|
+
* @param {string} [backgroundHover="#1565c0"] Cor de fundo no hover. **@default** "#1565c0"
|
|
43
|
+
* @param {string} [color="#fff"] Cor do texto padrão. **@default** "#fff"
|
|
44
|
+
* @param {string} [colorHover] Cor do texto no hover (herda `color` quando ausente).
|
|
45
|
+
* @param {string} [borderRadius="8px"] Raio da borda do botão. **@default** "8px"
|
|
46
|
+
* @param {string} [boxShadow="none"] Sombra do botão. **@default** "none"
|
|
47
|
+
* @param {string} arialLabel Texto de acessibilidade (atributo `aria-label`).
|
|
48
|
+
* @param {React.ReactNode} [icon] Ícone opcional exibido à esquerda do conteúdo.
|
|
49
|
+
* @param {React.ReactNode} children Conteúdo do botão (ex.: `Typography`).
|
|
50
|
+
* @param {string} [width="auto"] Largura do botão (valor CSS). **@default** "auto"
|
|
51
|
+
* @param {string} [height="fit-content"] Altura do botão (valor CSS). **@default** "fit-content"
|
|
45
52
|
*
|
|
46
53
|
* @example
|
|
47
54
|
* ```tsx
|
|
55
|
+
* import { Typography } from '@mui/material';
|
|
56
|
+
* import { Download as DownloadIcon } from '@mui/icons-material';
|
|
57
|
+
*
|
|
48
58
|
* <DownloadButton
|
|
49
59
|
* file="/docs/manual.pdf"
|
|
50
60
|
* fileName="manual.pdf"
|
|
61
|
+
* arialLabel="Baixar manual do produto"
|
|
51
62
|
* background="#28a745"
|
|
52
63
|
* backgroundHover="#218838"
|
|
53
64
|
* color="#fff"
|
|
54
65
|
* borderRadius="12px"
|
|
66
|
+
* boxShadow="0 2px 8px rgba(0,0,0,0.15)"
|
|
67
|
+
* width="220px"
|
|
68
|
+
* height="44px"
|
|
55
69
|
* icon={<DownloadIcon />}
|
|
56
70
|
* >
|
|
57
|
-
* <Typography>Baixar Manual</Typography>
|
|
71
|
+
* <Typography variant="button">Baixar Manual</Typography>
|
|
58
72
|
* </DownloadButton>
|
|
59
73
|
* ```
|
|
60
74
|
*/
|
|
61
|
-
const DownloadButton = ({ file, fileName, background, backgroundHover, color, colorHover, borderRadius, boxShadow, arialLabel, icon, children, }) => {
|
|
62
|
-
return (_jsxs(StyledLink, { href: file, download: fileName, background: background, backgroundHover: backgroundHover, color: color, colorHover: colorHover, borderRadius: borderRadius, boxShadow: boxShadow, "aria-label": arialLabel, children: [icon && _jsx("span", { children: icon }), children] }));
|
|
75
|
+
const DownloadButton = ({ width = 'auto', height = 'fit-content', file, fileName, background, backgroundHover, color, colorHover, borderRadius, boxShadow, arialLabel, icon, children, }) => {
|
|
76
|
+
return (_jsxs(StyledLink, { href: file, download: fileName, background: background, backgroundHover: backgroundHover, color: color, colorHover: colorHover, borderRadius: borderRadius, boxShadow: boxShadow, "aria-label": arialLabel, width: width, height: height, children: [icon && _jsx("span", { children: icon }), children] }));
|
|
63
77
|
};
|
|
64
78
|
DownloadButton.displayName = 'DownloadButton';
|
|
65
79
|
export default DownloadButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadButton.js","sourceRoot":"","sources":["../../src/components/DownloadButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"DownloadButton.js","sourceRoot":"","sources":["../../src/components/DownloadButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAuF9C,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,EAAE;IAC7B,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC;QACC,YAAY;QACZ,iBAAiB;QACjB,OAAO;QACP,YAAY;QACZ,cAAc;QACd,WAAW;QACX,OAAO;QACP,QAAQ;KACT,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KAAK,EACZ,MAAM,EAAE,MAAM,aAEb,IAAI,IAAI,yBAAO,IAAI,GAAQ,EAC3B,QAAQ,IACE,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAE9C,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Interface das props do PrimaryButton
|
|
4
|
+
*/
|
|
5
|
+
export interface PrimaryButtonProps {
|
|
6
|
+
/** Largura do botão */
|
|
7
|
+
width?: string;
|
|
8
|
+
/** Altura do botão */
|
|
9
|
+
height?: string;
|
|
10
|
+
/** Padding interno */
|
|
11
|
+
padding?: string;
|
|
12
|
+
/** Margin externa */
|
|
13
|
+
margin?: string;
|
|
14
|
+
/** Desabilita o botão */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Ícone opcional à esquerda */
|
|
17
|
+
icon?: React.ReactNode;
|
|
18
|
+
/** Texto do botão */
|
|
19
|
+
text: string;
|
|
20
|
+
/** Função chamada no clique */
|
|
21
|
+
onClick?: () => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Botão estilizado baseado no tema customizado
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <PrimaryButton
|
|
29
|
+
* text="Clique Aqui"
|
|
30
|
+
* onClick={() => alert("Clicado!")}
|
|
31
|
+
* width="200px"
|
|
32
|
+
* icon={<SomeIcon />}
|
|
33
|
+
* />
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
declare const PrimaryButton: React.FC<PrimaryButtonProps>;
|
|
37
|
+
export default PrimaryButton;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { styled } from "@mui/material/styles";
|
|
3
|
+
import Button from "@mui/material/Button";
|
|
4
|
+
import { useTheme } from "@mui/material/styles";
|
|
5
|
+
import { Typography } from "@mui/material";
|
|
6
|
+
const StyledButton = styled(Button, {
|
|
7
|
+
shouldForwardProp: (prop) => !["width", "height", "padding", "margin"].includes(prop),
|
|
8
|
+
})(({ theme, width, height, padding, margin }) => ({
|
|
9
|
+
background: theme.palette.custom.primaryButton.background,
|
|
10
|
+
color: theme.palette.custom.primaryButton.color,
|
|
11
|
+
borderRadius: theme.palette.custom.primaryButton.borderRadius,
|
|
12
|
+
boxShadow: theme.palette.custom.primaryButton.boxShadow || "none",
|
|
13
|
+
width: width || "auto",
|
|
14
|
+
height: height || "auto",
|
|
15
|
+
padding: padding || "8px 16px",
|
|
16
|
+
margin: margin || "0",
|
|
17
|
+
textTransform: "none",
|
|
18
|
+
fontWeight: 600,
|
|
19
|
+
"&:hover": {
|
|
20
|
+
background: theme.palette.custom.primaryButton.backgroundHover,
|
|
21
|
+
color: theme.palette.custom.primaryButton.colorHover,
|
|
22
|
+
},
|
|
23
|
+
"&.Mui-disabled": {
|
|
24
|
+
background: theme.palette.grey[300],
|
|
25
|
+
color: theme.palette.text.disabled,
|
|
26
|
+
boxShadow: "none",
|
|
27
|
+
},
|
|
28
|
+
}));
|
|
29
|
+
/**
|
|
30
|
+
* Botão estilizado baseado no tema customizado
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <PrimaryButton
|
|
35
|
+
* text="Clique Aqui"
|
|
36
|
+
* onClick={() => alert("Clicado!")}
|
|
37
|
+
* width="200px"
|
|
38
|
+
* icon={<SomeIcon />}
|
|
39
|
+
* />
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
const PrimaryButton = ({ width, height, padding, margin, disabled, icon, text, onClick, }) => {
|
|
43
|
+
const theme = useTheme();
|
|
44
|
+
return (_jsx(StyledButton, { width: width, height: height, padding: padding, margin: margin, disabled: disabled, startIcon: icon, onClick: onClick, children: _jsx(Typography, { variant: "subtitle1", component: "span", children: text }) }));
|
|
45
|
+
};
|
|
46
|
+
PrimaryButton.displayName = "PrimaryButton";
|
|
47
|
+
export default PrimaryButton;
|
|
48
|
+
//# sourceMappingURL=PrimaryButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimaryButton.js","sourceRoot":"","sources":["../../src/components/PrimaryButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAyB3C,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE;IAClC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CACrE,CAAC,CACA,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9C,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU;IACzD,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK;IAC/C,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,YAAY;IAC7D,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS,IAAI,MAAM;IACjE,KAAK,EAAE,KAAK,IAAI,MAAM;IACtB,MAAM,EAAE,MAAM,IAAI,MAAM;IACxB,OAAO,EAAE,OAAO,IAAI,UAAU;IAC9B,MAAM,EAAE,MAAM,IAAI,GAAG;IACrB,aAAa,EAAE,MAAM;IACrB,UAAU,EAAE,GAAG;IACf,SAAS,EAAE;QACT,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,eAAe;QAC9D,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU;KACrD;IACD,gBAAgB,EAAE;QAChB,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;QACnC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ;QAClC,SAAS,EAAE,MAAM;KAClB;CACF,CAAC,CACH,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,aAAa,GAAiC,CAAC,EACnD,KAAK,EACL,MAAM,EACN,OAAO,EACP,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,IAAI,EACJ,OAAO,GACR,EAAE,EAAE;IAEH,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,OAAO,CACL,KAAC,YAAY,IACX,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,IAAI,EACf,OAAO,EAAE,OAAO,YAEhB,KAAC,UAAU,IAAC,OAAO,EAAC,WAAW,EAAC,SAAS,EAAC,MAAM,YAAE,IAAI,GAAc,GACvD,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC;AAC5C,eAAe,aAAa,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export { default as NavigationLink } from './components/NavigationLink';
|
|
|
5
5
|
export { default as ScrollToTopButton } from './components/ScrollToTopButton';
|
|
6
6
|
export { default as WhatsAppButton } from './components/WhatsAppButton';
|
|
7
7
|
export { default as WhatsAppIcon } from './components/WhatsAppIcon';
|
|
8
|
+
export { default as PrimaryButton } from "./components/PrimaryButton";
|
package/dist/index.js
CHANGED
|
@@ -5,4 +5,5 @@ export { default as NavigationLink } from './components/NavigationLink';
|
|
|
5
5
|
export { default as ScrollToTopButton } from './components/ScrollToTopButton';
|
|
6
6
|
export { default as WhatsAppButton } from './components/WhatsAppButton';
|
|
7
7
|
export { default as WhatsAppIcon } from './components/WhatsAppIcon';
|
|
8
|
+
export { default as PrimaryButton } from "./components/PrimaryButton";
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAC,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAC,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAC,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAC,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/theme.d.ts
CHANGED
|
@@ -1,33 +1,24 @@
|
|
|
1
1
|
declare module '@mui/material/styles' {
|
|
2
|
+
interface ButtonOptions {
|
|
3
|
+
background: string;
|
|
4
|
+
backgroundHover: string;
|
|
5
|
+
color: string;
|
|
6
|
+
colorHover: string;
|
|
7
|
+
borderRadius: string;
|
|
8
|
+
boxShadow?: string;
|
|
9
|
+
}
|
|
2
10
|
interface Palette {
|
|
3
11
|
custom: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
backgroundSectionHighlight?: string;
|
|
8
|
-
colorSectionMain: string;
|
|
9
|
-
backgroundButtonCTA: string;
|
|
10
|
-
backgroundHoverButtonCTA: string;
|
|
11
|
-
colorButtonCTA: string;
|
|
12
|
-
colorHoverButtonCTA: string;
|
|
13
|
-
borderRadiusButtonCTA: string;
|
|
14
|
-
carouselColorIndicators: string;
|
|
15
|
-
carouselColorFocus: string;
|
|
12
|
+
primaryButton: ButtonOptions;
|
|
13
|
+
secondaryButton: ButtonOptions;
|
|
14
|
+
borderColor?: string;
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
17
|
interface PaletteOptions {
|
|
19
18
|
custom?: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
backgroundSectionHighlight?: string;
|
|
24
|
-
backgroundButtonCTA: string;
|
|
25
|
-
backgroundHoverButtonCTA: string;
|
|
26
|
-
colorButtonCTA: string;
|
|
27
|
-
colorHoverButtonCTA: string;
|
|
28
|
-
borderRadiusButtonCTA: string;
|
|
29
|
-
carouselColorIndicators: string;
|
|
30
|
-
carouselColorFocus: string;
|
|
19
|
+
primaryButton: ButtonOptions;
|
|
20
|
+
secondaryButton: ButtonOptions;
|
|
21
|
+
borderColor?: string;
|
|
31
22
|
};
|
|
32
23
|
}
|
|
33
24
|
}
|
package/dist/theme.js
CHANGED
|
@@ -11,70 +11,89 @@ const theme = createTheme({
|
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
shape: {
|
|
14
|
-
borderRadius:
|
|
14
|
+
borderRadius: 12
|
|
15
15
|
},
|
|
16
16
|
palette: {
|
|
17
|
+
background: {
|
|
18
|
+
default: '#FEFEFE',
|
|
19
|
+
paper: 'linear-gradient(180deg, #edf3fa, white 50%, #edf3fa)',
|
|
20
|
+
},
|
|
17
21
|
primary: {
|
|
18
|
-
main: "#
|
|
19
|
-
dark: "#
|
|
20
|
-
|
|
22
|
+
main: "#0a58c8",
|
|
23
|
+
dark: "#003d5c",
|
|
24
|
+
light: "#d1e6ff",
|
|
21
25
|
},
|
|
22
26
|
secondary: {
|
|
23
|
-
main: '#
|
|
24
|
-
light: '#
|
|
25
|
-
contrastText: "#ffffff"
|
|
27
|
+
main: '#F2F4F6',
|
|
28
|
+
light: '#FEFEFE',
|
|
26
29
|
},
|
|
27
30
|
text: {
|
|
28
|
-
primary: '#
|
|
29
|
-
secondary: '#
|
|
30
|
-
disabled: '#
|
|
31
|
+
primary: '#334866',
|
|
32
|
+
secondary: '#FEFEFE',
|
|
33
|
+
disabled: '#A9A9A9',
|
|
31
34
|
},
|
|
32
35
|
custom: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
primaryButton: {
|
|
37
|
+
background: "#216fed",
|
|
38
|
+
backgroundHover: '#005ce3',
|
|
39
|
+
color: '#ffffff',
|
|
40
|
+
colorHover: '#ffffff',
|
|
41
|
+
borderRadius: "9999px",
|
|
42
|
+
},
|
|
43
|
+
secondaryButton: {
|
|
44
|
+
background: '#ffffff',
|
|
45
|
+
backgroundHover: '#ffffff',
|
|
46
|
+
color: "#216fed",
|
|
47
|
+
colorHover: '#005ce3',
|
|
48
|
+
borderRadius: "9999px",
|
|
49
|
+
},
|
|
50
|
+
borderColor: '#8c8c8c',
|
|
43
51
|
},
|
|
44
52
|
info: {
|
|
45
|
-
main: '#
|
|
53
|
+
main: '#555f56',
|
|
46
54
|
},
|
|
47
55
|
error: {
|
|
48
56
|
main: '#F44336',
|
|
49
|
-
}
|
|
57
|
+
},
|
|
58
|
+
success: {
|
|
59
|
+
main: '#4CAF50',
|
|
60
|
+
},
|
|
61
|
+
grey: {
|
|
62
|
+
"100": '#F2F4F6',
|
|
63
|
+
"200": '#edf3fa',
|
|
64
|
+
"300": '#e2e3e4',
|
|
65
|
+
"400": '#edf3fa',
|
|
66
|
+
'700': '#0000008a',
|
|
67
|
+
"900": '#334866',
|
|
68
|
+
},
|
|
50
69
|
},
|
|
51
70
|
typography: {
|
|
52
|
-
fontFamily: '
|
|
71
|
+
fontFamily: 'var(--font-plusjakarta), Arial, sans-serif',
|
|
53
72
|
h1: {
|
|
54
|
-
fontSize: '
|
|
55
|
-
lineHeight: '0
|
|
73
|
+
fontSize: '50px', // Desktop
|
|
74
|
+
lineHeight: '1.0',
|
|
56
75
|
letterSpacing: '0.01em',
|
|
57
76
|
fontWeight: 600,
|
|
58
77
|
margin: 0,
|
|
59
78
|
fontStyle: 'normal',
|
|
60
|
-
color: '#
|
|
79
|
+
color: '#2b2e33',
|
|
61
80
|
padding: '8px 0px',
|
|
62
|
-
'@media (min-width:601px) and (max-width:
|
|
63
|
-
fontSize: '
|
|
81
|
+
'@media (min-width:601px) and (max-width:1280px)': {
|
|
82
|
+
fontSize: '44px', // Tablet
|
|
64
83
|
},
|
|
65
84
|
'@media (max-width:600px)': {
|
|
66
85
|
fontSize: '36px', // Mobile
|
|
67
86
|
},
|
|
68
87
|
},
|
|
69
88
|
h2: {
|
|
70
|
-
fontSize: '
|
|
89
|
+
fontSize: '18px', // Desktop
|
|
71
90
|
lineHeight: '1.5',
|
|
72
91
|
letterSpacing: '0.01em',
|
|
73
92
|
fontWeight: 400,
|
|
74
93
|
margin: 0,
|
|
75
|
-
color: '#
|
|
94
|
+
color: '#292929',
|
|
76
95
|
'@media (min-width:601px) and (max-width:960px)': {
|
|
77
|
-
fontSize: '
|
|
96
|
+
fontSize: '18px', // Tablet
|
|
78
97
|
},
|
|
79
98
|
fontStyle: 'normal',
|
|
80
99
|
'@media (max-width:600px)': {
|
|
@@ -82,7 +101,7 @@ const theme = createTheme({
|
|
|
82
101
|
},
|
|
83
102
|
},
|
|
84
103
|
h3: {
|
|
85
|
-
fontSize: '
|
|
104
|
+
fontSize: '32px', // Desktop
|
|
86
105
|
lineHeight: '1.5',
|
|
87
106
|
letterSpacing: '0.01em',
|
|
88
107
|
fontWeight: 600,
|
|
@@ -92,23 +111,37 @@ const theme = createTheme({
|
|
|
92
111
|
fontSize: '28px', // Tablet
|
|
93
112
|
},
|
|
94
113
|
'@media (max-width:600px)': {
|
|
95
|
-
fontSize: '
|
|
114
|
+
fontSize: '24px', // Mobile
|
|
96
115
|
},
|
|
97
116
|
},
|
|
98
117
|
h4: {
|
|
99
|
-
fontSize: '
|
|
118
|
+
fontSize: '24px', // Desktop
|
|
100
119
|
lineHeight: '1.5',
|
|
101
120
|
letterSpacing: '0.01em',
|
|
102
121
|
fontWeight: 600,
|
|
103
122
|
margin: 0,
|
|
104
123
|
fontStyle: 'normal',
|
|
105
124
|
'@media (min-width:601px) and (max-width:960px)': {
|
|
106
|
-
fontSize: '
|
|
125
|
+
fontSize: '24px', // Tablet
|
|
107
126
|
},
|
|
108
127
|
'@media (max-width:600px)': {
|
|
109
128
|
fontSize: '20px', // Mobile
|
|
110
129
|
},
|
|
111
130
|
},
|
|
131
|
+
h5: {
|
|
132
|
+
fontSize: '18px', // Desktop
|
|
133
|
+
lineHeight: '1.5',
|
|
134
|
+
letterSpacing: '0.01em',
|
|
135
|
+
fontWeight: 400,
|
|
136
|
+
margin: 0,
|
|
137
|
+
fontStyle: 'normal',
|
|
138
|
+
'@media (min-width:601px) and (max-width:960px)': {
|
|
139
|
+
fontSize: '18px', // Tablet
|
|
140
|
+
},
|
|
141
|
+
'@media (max-width:600px)': {
|
|
142
|
+
fontSize: '18px', // Mobile
|
|
143
|
+
},
|
|
144
|
+
},
|
|
112
145
|
body1: {
|
|
113
146
|
fontSize: '16px', // Desktop
|
|
114
147
|
lineHeight: '1.5',
|
|
@@ -135,6 +168,53 @@ const theme = createTheme({
|
|
|
135
168
|
fontSize: '16px', // Mobile
|
|
136
169
|
},
|
|
137
170
|
},
|
|
171
|
+
caption: {
|
|
172
|
+
/* tipografia pensada para textos de apoio ou legendas pequenas, normalmente usados abaixo de imagens, gráficos, tabelas ou ícones */
|
|
173
|
+
fontSize: '14px', // Desktop
|
|
174
|
+
lineHeight: '1.5',
|
|
175
|
+
letterSpacing: '0.01em',
|
|
176
|
+
fontWeight: 600,
|
|
177
|
+
fontStyle: 'normal',
|
|
178
|
+
'@media (min-width:601px) and (max-width:960px)': {
|
|
179
|
+
fontSize: '14px', // Tablet
|
|
180
|
+
},
|
|
181
|
+
'@media (max-width:600px)': {
|
|
182
|
+
fontSize: '14px', // Mobile
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
subtitle1: {
|
|
186
|
+
/* tipografia pensada para textos secundários, geralmente usados em legendas, descrições curtas ou suporte visual para títulos.*/
|
|
187
|
+
fontSize: '18px', // Desktop
|
|
188
|
+
lineHeight: '1.5',
|
|
189
|
+
letterSpacing: '0.01em',
|
|
190
|
+
fontWeight: 500,
|
|
191
|
+
margin: 0,
|
|
192
|
+
fontStyle: 'normal',
|
|
193
|
+
'@media (min-width:601px) and (max-width:960px)': {
|
|
194
|
+
fontSize: '18px', // Tablet
|
|
195
|
+
},
|
|
196
|
+
'@media (max-width:600px)': {
|
|
197
|
+
fontSize: '18px', // Mobile
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
subtitle2: {
|
|
201
|
+
/* tipografia pensada para textos secundários, geralmente usados em legendas, descrições curtas ou suporte visual para títulos.*/
|
|
202
|
+
fontSize: '18px', // Desktop
|
|
203
|
+
lineHeight: '1.5',
|
|
204
|
+
letterSpacing: '0.01em',
|
|
205
|
+
fontWeight: 600,
|
|
206
|
+
margin: 0,
|
|
207
|
+
fontStyle: 'normal',
|
|
208
|
+
'@media (min-width:601px) and (max-width:960px)': {
|
|
209
|
+
fontSize: '18px', // Tablet
|
|
210
|
+
},
|
|
211
|
+
'@media (max-width:600px)': {
|
|
212
|
+
fontSize: '18px', // Mobile
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
overline: {
|
|
216
|
+
/* para rótulos, categorias, ou textos auxiliares curtos, nunca para parágrafos ou longos blocos de texto. */
|
|
217
|
+
}
|
|
138
218
|
},
|
|
139
219
|
spacing: 8,
|
|
140
220
|
});
|
package/dist/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AA6BnD,iCAAiC;AACjC,MAAM,KAAK,GAAG,WAAW,CAAC;IACxB,WAAW,EAAE;QACX,MAAM,EAAE;YACN,EAAE,EAAE,CAAC,EAAE,gCAAgC;YACvC,EAAE,EAAE,GAAG,EAAE,2BAA2B;YACpC,EAAE,EAAE,GAAG,EAAE,6BAA6B;YACtC,EAAE,EAAE,IAAI,EAAE,kCAAkC;YAC5C,EAAE,EAAE,IAAI,EAAE,8CAA8C;SACzD;KACF;IACD,KAAK,EAAE;QACL,YAAY,EAAE,EAAE;KACjB;IACD,OAAO,EAAE;QACP,UAAU,EAAC;YACT,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,sDAAsD;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