pipesol-notificationbar 1.0.5 → 1.0.6

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.
@@ -0,0 +1,8 @@
1
+ import { BorderProps } from "@/types/style/BorderProps";
2
+ import { ColorProps } from "@/types/style/ColorProps";
3
+ interface ButtonProps extends ColorProps, BorderProps {
4
+ }
5
+ export declare const BUTTON_STYLE_FORWARD_PROPS: (keyof ButtonProps)[];
6
+ export declare const NotificationButton: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ButtonProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
7
+ export declare const NotificationLink: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ColorProps, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
8
+ export {};
@@ -0,0 +1,45 @@
1
+ import { COLOR_STYLE_FORWARD_PROPS } from "@/types/style/ColorProps";
2
+ import { styled } from "@mui/material";
3
+ export const BUTTON_STYLE_FORWARD_PROPS = [
4
+ 'background',
5
+ 'colorText',
6
+ 'backgroundHover',
7
+ 'colorHover',
8
+ 'borderRadius',
9
+ 'border',
10
+ 'boxShadow',
11
+ ];
12
+ export const NotificationButton = styled('button', { shouldForwardProp: (prop) => !BUTTON_STYLE_FORWARD_PROPS.includes(prop), })(({ background, colorText, backgroundHover, colorHover, borderRadius = '0', border = 'none', boxShadow = 'none' }) => ({
13
+ backgroundColor: background,
14
+ color: colorText,
15
+ padding: '8px 24px',
16
+ border: border,
17
+ cursor: 'pointer',
18
+ margin: '0 0 0 20px',
19
+ borderRadius: borderRadius,
20
+ boxShadow: boxShadow,
21
+ '&:hover': {
22
+ backgroundColor: backgroundHover,
23
+ color: colorHover,
24
+ },
25
+ }));
26
+ export const NotificationLink = styled('a', {
27
+ shouldForwardProp: (prop) => !COLOR_STYLE_FORWARD_PROPS.includes(prop),
28
+ })(({ background, colorText, backgroundHover, colorHover }) => ({
29
+ width: 'auto',
30
+ cursor: 'pointer',
31
+ textDecoration: 'none',
32
+ textTransform: 'none',
33
+ textAlign: 'center',
34
+ boxShadow: 'none',
35
+ backgroundColor: background,
36
+ color: colorText,
37
+ padding: '0',
38
+ margin: '0',
39
+ '&:hover': {
40
+ backgroundColor: backgroundHover,
41
+ borderBottom: `1px solid ${colorHover}`,
42
+ color: colorHover,
43
+ },
44
+ }));
45
+ //# sourceMappingURL=NotificationStyled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationStyled.js","sourceRoot":"","sources":["../../src/components/NotificationStyled.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAc,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAMvC,MAAM,CAAC,MAAM,0BAA0B,GAA0B;IAC/D,YAAY;IACZ,WAAW;IACX,iBAAiB;IACjB,YAAY;IACZ,cAAc;IACd,QAAQ;IACR,WAAW;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,QAAQ,EAC/C,EAAE,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,0BAA0B,CAAC,QAAQ,CAAC,IAAyB,CAAC,GAAG,CAAC,CACnF,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,EAClE,YAAY,GAAG,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,SAAS,GAAG,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;IAE/D,eAAe,EAAE,UAAU;IAC3B,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,UAAU;IACnB,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,YAAY;IACpB,YAAY,EAAE,YAAY;IAC1B,SAAS,EAAE,SAAS;IAEpB,SAAS,EAAE;QACP,eAAe,EAAE,eAAe;QAChC,KAAK,EAAE,UAAU;KACpB;CACJ,CAAC,CAAC,CAAC;AAGJ,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,EAAE;IAC1C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,yBAAyB,CAAC,QAAQ,CAAC,IAAwB,CAAC;CAC3F,CAAC,CAAa,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,EAAC,EAAE,EAAE,CAAC,CAAC;IACzE,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,SAAS;IACjB,cAAc,EAAE,MAAM;IACtB,aAAa,EAAE,MAAM;IACrB,SAAS,EAAE,QAAQ;IACnB,SAAS,EAAE,MAAM;IACjB,eAAe,EAAE,UAAU;IAC3B,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,GAAG;IAEX,SAAS,EAAE;QACT,eAAe,EAAE,eAAe;QAChC,YAAY,EAAE,aAAa,UAAU,EAAE;QACvC,KAAK,EAAE,UAAU;KAClB;CACF,CAAC,CAAC,CAAC"}
@@ -11,10 +11,13 @@ import { TermsAndPrivacyProps } from '../types/TermsAndPrivacyProps';
11
11
  * @param {string} url_politica_privacidade URL para a página de Política de Privacidade. Obrigatório.
12
12
  * @param {string} [background_color='transparent'] Cor de fundo do container do card.
13
13
  * @param {string} [color='#000000'] Cor do texto principal.
14
+ * @param {string} [border_radius='0'] Border Radius do card.
14
15
  * @param {string} [background_color_button_ok='transparent'] Cor de fundo do botão "Ok".
15
16
  * @param {string} [color_button_ok='#000000'] Cor do texto do botão "Ok".
17
+ * @param {string} [border_radius_button_ok='0'] Border Radius do botão "Ok".
16
18
  * @param {string} [background_color_button_cancel='transparent'] Cor de fundo do botão "Cancelar".
17
19
  * @param {string} [color_button_cancel='#000000'] Cor do texto do botão "Cancelar".
20
+ * @param {string} [border_radius_button_cancel='0'] Border Radius do botão "Cancelar".
18
21
  * @param {string} [background_color_link='transparent'] Cor de fundo dos links ("Termos de Uso" e "Política de Privacidade").
19
22
  * @param {string} [color_link='#000000'] Cor do texto dos links.
20
23
  * @param {string} [background_color_hover_link='transparent'] Cor de fundo dos links no hover.
@@ -1,23 +1,19 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from 'react';
4
- import { Box, styled, Typography } from '@mui/material';
4
+ import { styled, Typography } from '@mui/material';
5
5
  import { parseCookies, setCookie } from 'nookies';
6
- const Container = styled('div', {
7
- shouldForwardProp: (prop) => ![
8
- 'background_color',
9
- 'show'
10
- ].includes(prop)
11
- })(({ show, background_color }) => ({
6
+ import { NotificationButton, NotificationLink } from './NotificationStyled';
7
+ const Container = styled('div', { shouldForwardProp: (prop) => !['show', 'background', 'borderRadius'].includes(prop) })(({ show, background, borderRadius }) => ({
12
8
  position: 'fixed',
13
- bottom: '75px',
14
- right: '75px',
15
- left: 'auto',
16
- backgroundColor: background_color,
9
+ bottom: '35px',
10
+ left: '35px',
11
+ background: background,
17
12
  display: show ? 'block' : 'none',
18
13
  zIndex: 4000,
19
14
  maxWidth: '280px',
20
15
  height: 'fit-content',
16
+ borderRadius: borderRadius,
21
17
  boxSizing: 'border-box',
22
18
  }));
23
19
  const Content = styled('div')({
@@ -29,44 +25,15 @@ const Content = styled('div')({
29
25
  width: '100%',
30
26
  boxSizing: 'border-box',
31
27
  });
32
- const BotaoNotificationBar = styled('button', {
33
- shouldForwardProp: (prop) => ![
34
- 'background_color',
35
- 'color',
36
- ].includes(prop),
37
- })(({ theme, background_color, color }) => ({
38
- backgroundColor: background_color,
39
- color: color,
40
- padding: '8px 24px',
41
- border: 'none',
42
- cursor: 'pointer',
43
- margin: '0 0 0 20px',
44
- borderRadius: theme.shape.borderRadius,
45
- }));
46
- const LinkStyled = styled('a', {
47
- shouldForwardProp: (prop) => ![
48
- 'background_color',
49
- 'background_color_hover',
50
- 'color',
51
- 'color_hover'
52
- ].includes(prop),
53
- })(({ background_color, background_color_hover, color, color_hover, }) => ({
54
- width: 'auto',
55
- cursor: 'pointer',
56
- textDecoration: 'none',
57
- textTransform: 'none',
58
- textAlign: 'center',
59
- boxShadow: 'none',
60
- backgroundColor: background_color,
61
- color: color,
62
- padding: '0',
63
- margin: '0',
64
- '&:hover': {
65
- backgroundColor: background_color_hover,
66
- borderBottom: `1px solid ${color_hover}`,
67
- color: color_hover,
68
- },
69
- }));
28
+ const ContentButton = styled('div')({
29
+ display: 'flex',
30
+ flexDirection: 'row',
31
+ justifyContent: 'center',
32
+ alignItems: 'center',
33
+ padding: '16px',
34
+ width: '100%',
35
+ boxSizing: 'border-box',
36
+ });
70
37
  /**
71
38
  * Componente que renderiza um card flutuante (fixed) para consentimento de cookies,
72
39
  * exibindo links para **Termos de Uso** e **Política de Privacidade** e dois botões:
@@ -79,10 +46,13 @@ const LinkStyled = styled('a', {
79
46
  * @param {string} url_politica_privacidade URL para a página de Política de Privacidade. Obrigatório.
80
47
  * @param {string} [background_color='transparent'] Cor de fundo do container do card.
81
48
  * @param {string} [color='#000000'] Cor do texto principal.
49
+ * @param {string} [border_radius='0'] Border Radius do card.
82
50
  * @param {string} [background_color_button_ok='transparent'] Cor de fundo do botão "Ok".
83
51
  * @param {string} [color_button_ok='#000000'] Cor do texto do botão "Ok".
52
+ * @param {string} [border_radius_button_ok='0'] Border Radius do botão "Ok".
84
53
  * @param {string} [background_color_button_cancel='transparent'] Cor de fundo do botão "Cancelar".
85
54
  * @param {string} [color_button_cancel='#000000'] Cor do texto do botão "Cancelar".
55
+ * @param {string} [border_radius_button_cancel='0'] Border Radius do botão "Cancelar".
86
56
  * @param {string} [background_color_link='transparent'] Cor de fundo dos links ("Termos de Uso" e "Política de Privacidade").
87
57
  * @param {string} [color_link='#000000'] Cor do texto dos links.
88
58
  * @param {string} [background_color_hover_link='transparent'] Cor de fundo dos links no hover.
@@ -117,7 +87,7 @@ const LinkStyled = styled('a', {
117
87
  * ```
118
88
  */
119
89
  const TermsAndPrivacyCard = (props) => {
120
- const { url_termo_uso, url_politica_privacidade, background_color = 'transparent', color = "#000000", background_color_button_ok = 'transparent', color_button_ok = "#000000", background_color_button_cancel = 'transparent', color_button_cancel = "#000000", background_color_link = 'transparent', color_link = "#000000", background_color_hover_link = 'transparent', color_hover_link = "#000000", variantTexto = 'caption', variantButton = 'caption' } = props;
90
+ const { url_termo_uso, url_politica_privacidade, background_color = 'transparent', color = "#000000", border_radius = "0", background_color_button_ok = 'transparent', color_button_ok = "#000000", border_radius_button_ok = "0", background_color_button_cancel = 'transparent', color_button_cancel = "#000000", border_radius_button_cancel = "0", background_color_link = 'transparent', color_link = "#000000", background_color_hover_link = 'transparent', color_hover_link = "#000000", variantTexto = 'caption', variantButton = 'caption' } = props;
121
91
  const [showNotification, setShowNotification] = useState(false);
122
92
  useEffect(() => {
123
93
  const cookies = parseCookies();
@@ -138,7 +108,7 @@ const TermsAndPrivacyCard = (props) => {
138
108
  });
139
109
  setShowNotification(false);
140
110
  };
141
- return (_jsx(Container, { show: showNotification, background_color: background_color, children: _jsxs(Content, { children: [_jsxs(Typography, { component: "div", variant: variantTexto, color: color, sx: { width: '100%' }, children: ["Este site usa cookies e dados pessoais de acordo com os nossos", ' ', _jsx(LinkStyled, { href: url_termo_uso, background_color: background_color_link, background_color_hover: background_color_hover_link, color: color_link, color_hover: color_hover_link, children: "Termos de Uso" }), " e", ' ', _jsx(LinkStyled, { href: url_politica_privacidade, background_color: background_color_link, background_color_hover: background_color_hover_link, color: color_link, color_hover: color_hover_link, children: "Pol\u00EDtica de Privacidade" }), ". Ao continuar navegando neste site, voc\u00EA declara estar ciente dessas condi\u00E7\u00F5es."] }), _jsxs(Box, { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "center", sx: { padding: '16px' }, children: [_jsx(BotaoNotificationBar, { background_color: background_color_button_cancel, color: color_button_cancel, onClick: handleReject, children: _jsx(Typography, { variant: variantButton, component: "span", children: "Cancelar" }) }), _jsx(BotaoNotificationBar, { background_color: background_color_button_ok, color: color_button_ok, onClick: handleAccept, children: _jsx(Typography, { variant: variantButton, component: "span", children: "Ok" }) })] })] }) }));
111
+ return (_jsx(Container, { show: showNotification, background: background_color, borderRadius: border_radius, children: _jsxs(Content, { children: [_jsxs(Typography, { component: "div", variant: variantTexto, color: color, sx: { width: '100%' }, children: ["Este site usa cookies e dados pessoais de acordo com os nossos", ' ', _jsx(NotificationLink, { href: url_termo_uso, background: background_color_link, backgroundHover: background_color_hover_link, colorText: color_link, colorHover: color_hover_link, children: "Termos de Uso" }), " e", ' ', _jsx(NotificationLink, { href: url_politica_privacidade, background: background_color_link, backgroundHover: background_color_hover_link, colorText: color_link, colorHover: color_hover_link, children: "Pol\u00EDtica de Privacidade" }), ". Ao continuar navegando neste site, voc\u00EA declara estar ciente dessas condi\u00E7\u00F5es."] }), _jsxs(ContentButton, { children: [_jsx(NotificationButton, { background: background_color_button_cancel, backgroundHover: background_color_button_cancel, colorText: color_button_cancel, colorHover: color_button_cancel, borderRadius: border_radius_button_cancel, onClick: handleReject, children: _jsx(Typography, { variant: variantButton, component: "span", children: "Cancelar" }) }), _jsx(NotificationButton, { background: background_color_button_ok, backgroundHover: background_color_button_ok, colorText: color_button_ok, colorHover: color_button_ok, borderRadius: border_radius_button_ok, onClick: handleAccept, children: _jsx(Typography, { variant: variantButton, component: "span", children: "Ok" }) })] })] }) }));
142
112
  };
143
113
  export default TermsAndPrivacyCard;
144
114
  //# sourceMappingURL=TermsAndPrivacyCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TermsAndPrivacyCard.js","sourceRoot":"","sources":["../../src/components/TermsAndPrivacyCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,eAA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/index.d.ts CHANGED
@@ -1,2 +1,5 @@
1
1
  export { default as TermsAndPrivacyBar } from './components/TermsAndPrivacyBar';
2
2
  export { default as TermsAndPrivacyCard } from './components/TermsAndPrivacyCard';
3
+ export type { BorderProps } from "./types/style/BorderProps";
4
+ export type { ColorProps } from "./types/style/ColorProps";
5
+ export type { LayoutProps } from "./types/style/LayoutProps";