pipesol-notificationbar 1.0.0

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 (213) hide show
  1. package/README.md +30 -0
  2. package/dist/app/layout.d.ts +6 -0
  3. package/dist/app/layout.js +19 -0
  4. package/dist/app/layout.js.map +1 -0
  5. package/dist/app/page.d.ts +1 -0
  6. package/dist/app/page.js +6 -0
  7. package/dist/app/page.js.map +1 -0
  8. package/dist/components/ImageResponsive.d.ts +13 -0
  9. package/dist/components/ImageResponsive.js +32 -0
  10. package/dist/components/ImageResponsive.js.map +1 -0
  11. package/dist/components/Location.d.ts +15 -0
  12. package/dist/components/Location.js +37 -0
  13. package/dist/components/Location.js.map +1 -0
  14. package/dist/components/MensagemDeploy.d.ts +7 -0
  15. package/dist/components/MensagemDeploy.js +54 -0
  16. package/dist/components/MensagemDeploy.js.map +1 -0
  17. package/dist/components/NotificationBar.d.ts +16 -0
  18. package/dist/components/NotificationBar.js +119 -0
  19. package/dist/components/NotificationBar.js.map +1 -0
  20. package/dist/components/VideoPlayer.d.ts +11 -0
  21. package/dist/components/VideoPlayer.js +12 -0
  22. package/dist/components/VideoPlayer.js.map +1 -0
  23. package/dist/components/banner/BannerVideo.d.ts +7 -0
  24. package/dist/components/banner/BannerVideo.js +20 -0
  25. package/dist/components/banner/BannerVideo.js.map +1 -0
  26. package/dist/components/banner/ContentBannerStyled.d.ts +6 -0
  27. package/dist/components/banner/ContentBannerStyled.js +44 -0
  28. package/dist/components/banner/ContentBannerStyled.js.map +1 -0
  29. package/dist/components/banner/ResponsiveBanner.d.ts +15 -0
  30. package/dist/components/banner/ResponsiveBanner.js +68 -0
  31. package/dist/components/banner/ResponsiveBanner.js.map +1 -0
  32. package/dist/components/banner/ResponsiveBannerGradiente.d.ts +12 -0
  33. package/dist/components/banner/ResponsiveBannerGradiente.js +38 -0
  34. package/dist/components/banner/ResponsiveBannerGradiente.js.map +1 -0
  35. package/dist/components/banner/TitleBanner.d.ts +10 -0
  36. package/dist/components/banner/TitleBanner.js +8 -0
  37. package/dist/components/banner/TitleBanner.js.map +1 -0
  38. package/dist/components/barra_ferramentas/BarraFerramentas.d.ts +13 -0
  39. package/dist/components/barra_ferramentas/BarraFerramentas.js +39 -0
  40. package/dist/components/barra_ferramentas/BarraFerramentas.js.map +1 -0
  41. package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.d.ts +13 -0
  42. package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js +31 -0
  43. package/dist/components/barra_ferramentas/BarraFerramentasHamburguer.js.map +1 -0
  44. package/dist/components/barra_ferramentas/BarraFerramentasStyled.d.ts +7 -0
  45. package/dist/components/barra_ferramentas/BarraFerramentasStyled.js +40 -0
  46. package/dist/components/barra_ferramentas/BarraFerramentasStyled.js.map +1 -0
  47. package/dist/components/button/ButtonStyled.d.ts +18 -0
  48. package/dist/components/button/ButtonStyled.js +56 -0
  49. package/dist/components/button/ButtonStyled.js.map +1 -0
  50. package/dist/components/button/NavigationButton.d.ts +18 -0
  51. package/dist/components/button/NavigationButton.js +53 -0
  52. package/dist/components/button/NavigationButton.js.map +1 -0
  53. package/dist/components/button/NavigationButtonMotion.d.ts +19 -0
  54. package/dist/components/button/NavigationButtonMotion.js +64 -0
  55. package/dist/components/button/NavigationButtonMotion.js.map +1 -0
  56. package/dist/components/button/NavigationHamburguerButton.d.ts +17 -0
  57. package/dist/components/button/NavigationHamburguerButton.js +33 -0
  58. package/dist/components/button/NavigationHamburguerButton.js.map +1 -0
  59. package/dist/components/button/ScrollToTopButton.d.ts +10 -0
  60. package/dist/components/button/ScrollToTopButton.js +44 -0
  61. package/dist/components/button/ScrollToTopButton.js.map +1 -0
  62. package/dist/components/button/WhatsAppButton.d.ts +6 -0
  63. package/dist/components/button/WhatsAppButton.js +24 -0
  64. package/dist/components/button/WhatsAppButton.js.map +1 -0
  65. package/dist/components/button/WhatsAppIcon.d.ts +6 -0
  66. package/dist/components/button/WhatsAppIcon.js +18 -0
  67. package/dist/components/button/WhatsAppIcon.js.map +1 -0
  68. package/dist/components/cards/AnimatedCardGroup.d.ts +20 -0
  69. package/dist/components/cards/AnimatedCardGroup.js +63 -0
  70. package/dist/components/cards/AnimatedCardGroup.js.map +1 -0
  71. package/dist/components/cards/BorderTopLeftRadiusCard.d.ts +15 -0
  72. package/dist/components/cards/BorderTopLeftRadiusCard.js +67 -0
  73. package/dist/components/cards/BorderTopLeftRadiusCard.js.map +1 -0
  74. package/dist/components/cards/CardLerMais.d.ts +13 -0
  75. package/dist/components/cards/CardLerMais.js +121 -0
  76. package/dist/components/cards/CardLerMais.js.map +1 -0
  77. package/dist/components/cards/ContentCardDescription.d.ts +10 -0
  78. package/dist/components/cards/ContentCardDescription.js +52 -0
  79. package/dist/components/cards/ContentCardDescription.js.map +1 -0
  80. package/dist/components/cards/GradientCard.d.ts +17 -0
  81. package/dist/components/cards/GradientCard.js +66 -0
  82. package/dist/components/cards/GradientCard.js.map +1 -0
  83. package/dist/components/cards/ImageCard.d.ts +15 -0
  84. package/dist/components/cards/ImageCard.js +31 -0
  85. package/dist/components/cards/ImageCard.js.map +1 -0
  86. package/dist/components/cards/MapCard.d.ts +15 -0
  87. package/dist/components/cards/MapCard.js +59 -0
  88. package/dist/components/cards/MapCard.js.map +1 -0
  89. package/dist/components/cards/ShadowCard.d.ts +16 -0
  90. package/dist/components/cards/ShadowCard.js +25 -0
  91. package/dist/components/cards/ShadowCard.js.map +1 -0
  92. package/dist/components/cards/TestimonialCard.d.ts +22 -0
  93. package/dist/components/cards/TestimonialCard.js +66 -0
  94. package/dist/components/cards/TestimonialCard.js.map +1 -0
  95. package/dist/components/cards/YoutubeCard.d.ts +14 -0
  96. package/dist/components/cards/YoutubeCard.js +85 -0
  97. package/dist/components/cards/YoutubeCard.js.map +1 -0
  98. package/dist/components/carousel/CarouselStyled.d.ts +62 -0
  99. package/dist/components/carousel/CarouselStyled.js +31 -0
  100. package/dist/components/carousel/CarouselStyled.js.map +1 -0
  101. package/dist/components/carousel/Carrossel.d.ts +15 -0
  102. package/dist/components/carousel/Carrossel.js +113 -0
  103. package/dist/components/carousel/Carrossel.js.map +1 -0
  104. package/dist/components/containers/ContainerAnimatedIndex.d.ts +6 -0
  105. package/dist/components/containers/ContainerAnimatedIndex.js +11 -0
  106. package/dist/components/containers/ContainerAnimatedIndex.js.map +1 -0
  107. package/dist/components/containers/ContainerAnimatedScroll.d.ts +9 -0
  108. package/dist/components/containers/ContainerAnimatedScroll.js +10 -0
  109. package/dist/components/containers/ContainerAnimatedScroll.js.map +1 -0
  110. package/dist/components/containers/ContainerSafe.d.ts +6 -0
  111. package/dist/components/containers/ContainerSafe.js +78 -0
  112. package/dist/components/containers/ContainerSafe.js.map +1 -0
  113. package/dist/components/containers/containerStyled.d.ts +1 -0
  114. package/dist/components/containers/containerStyled.js +10 -0
  115. package/dist/components/containers/containerStyled.js.map +1 -0
  116. package/dist/components/footer/Copywrite.d.ts +10 -0
  117. package/dist/components/footer/Copywrite.js +23 -0
  118. package/dist/components/footer/Copywrite.js.map +1 -0
  119. package/dist/components/footer/CopywriteCenter.d.ts +9 -0
  120. package/dist/components/footer/CopywriteCenter.js +34 -0
  121. package/dist/components/footer/CopywriteCenter.js.map +1 -0
  122. package/dist/components/footer/Footer.d.ts +10 -0
  123. package/dist/components/footer/Footer.js +41 -0
  124. package/dist/components/footer/Footer.js.map +1 -0
  125. package/dist/components/footer/NotificationBar.d.ts +13 -0
  126. package/dist/components/footer/NotificationBar.js +57 -0
  127. package/dist/components/footer/NotificationBar.js.map +1 -0
  128. package/dist/components/footer/SiteMap.d.ts +9 -0
  129. package/dist/components/footer/SiteMap.js +24 -0
  130. package/dist/components/footer/SiteMap.js.map +1 -0
  131. package/dist/components/footer/footerStyled.d.ts +8 -0
  132. package/dist/components/footer/footerStyled.js +62 -0
  133. package/dist/components/footer/footerStyled.js.map +1 -0
  134. package/dist/components/form/Form.d.ts +17 -0
  135. package/dist/components/form/Form.js +96 -0
  136. package/dist/components/form/Form.js.map +1 -0
  137. package/dist/components/form/FormStyled.d.ts +27 -0
  138. package/dist/components/form/FormStyled.js +95 -0
  139. package/dist/components/form/FormStyled.js.map +1 -0
  140. package/dist/components/header/HeaderBarIn.d.ts +15 -0
  141. package/dist/components/header/HeaderBarIn.js +40 -0
  142. package/dist/components/header/HeaderBarIn.js.map +1 -0
  143. package/dist/components/header/HeaderBarTop.d.ts +12 -0
  144. package/dist/components/header/HeaderBarTop.js +30 -0
  145. package/dist/components/header/HeaderBarTop.js.map +1 -0
  146. package/dist/components/section/Section.d.ts +9 -0
  147. package/dist/components/section/Section.js +19 -0
  148. package/dist/components/section/Section.js.map +1 -0
  149. package/dist/components/section/SectionGradiente.d.ts +9 -0
  150. package/dist/components/section/SectionGradiente.js +19 -0
  151. package/dist/components/section/SectionGradiente.js.map +1 -0
  152. package/dist/components/section/SectionImage.d.ts +7 -0
  153. package/dist/components/section/SectionImage.js +21 -0
  154. package/dist/components/section/SectionImage.js.map +1 -0
  155. package/dist/components/section/SectionStyled.d.ts +9 -0
  156. package/dist/components/section/SectionStyled.js +46 -0
  157. package/dist/components/section/SectionStyled.js.map +1 -0
  158. package/dist/components/social_media/SocialMediaIconLink.d.ts +8 -0
  159. package/dist/components/social_media/SocialMediaIconLink.js +13 -0
  160. package/dist/components/social_media/SocialMediaIconLink.js.map +1 -0
  161. package/dist/components/social_media/SocialMediaIconLinkWithBorder.d.ts +12 -0
  162. package/dist/components/social_media/SocialMediaIconLinkWithBorder.js +18 -0
  163. package/dist/components/social_media/SocialMediaIconLinkWithBorder.js.map +1 -0
  164. package/dist/components/substask/SubstackPage.d.ts +5 -0
  165. package/dist/components/substask/SubstackPage.js +22 -0
  166. package/dist/components/substask/SubstackPage.js.map +1 -0
  167. package/dist/components/substask/SubstackPosts.d.ts +9 -0
  168. package/dist/components/substask/SubstackPosts.js +6 -0
  169. package/dist/components/substask/SubstackPosts.js.map +1 -0
  170. package/dist/components/text/IconText.d.ts +11 -0
  171. package/dist/components/text/IconText.js +26 -0
  172. package/dist/components/text/IconText.js.map +1 -0
  173. package/dist/components/text/InfiniteTicker.d.ts +15 -0
  174. package/dist/components/text/InfiniteTicker.js +49 -0
  175. package/dist/components/text/InfiniteTicker.js.map +1 -0
  176. package/dist/components/text/SpanStyled.d.ts +6 -0
  177. package/dist/components/text/SpanStyled.js +34 -0
  178. package/dist/components/text/SpanStyled.js.map +1 -0
  179. package/dist/components/text/TextWithSeparador.d.ts +7 -0
  180. package/dist/components/text/TextWithSeparador.js +9 -0
  181. package/dist/components/text/TextWithSeparador.js.map +1 -0
  182. package/dist/hooks/useResponsive.d.ts +9 -0
  183. package/dist/hooks/useResponsive.js +14 -0
  184. package/dist/hooks/useResponsive.js.map +1 -0
  185. package/dist/hooks/useResponsiveCarousel.d.ts +15 -0
  186. package/dist/hooks/useResponsiveCarousel.js +36 -0
  187. package/dist/hooks/useResponsiveCarousel.js.map +1 -0
  188. package/dist/index.d.ts +1 -0
  189. package/dist/index.js +2 -0
  190. package/dist/index.js.map +1 -0
  191. package/dist/pages/_app.d.ts +2 -0
  192. package/dist/pages/_app.js +20 -0
  193. package/dist/pages/_app.js.map +1 -0
  194. package/dist/pages/_document.d.ts +9 -0
  195. package/dist/pages/_document.js +33 -0
  196. package/dist/pages/_document.js.map +1 -0
  197. package/dist/theme.d.ts +35 -0
  198. package/dist/theme.js +142 -0
  199. package/dist/theme.js.map +1 -0
  200. package/dist/tsconfig.tsbuildinfo +1 -0
  201. package/dist/types/AnimatedCardData.d.ts +6 -0
  202. package/dist/types/AnimatedCardData.js +2 -0
  203. package/dist/types/AnimatedCardData.js.map +1 -0
  204. package/dist/types/BannerResponsiveConfig.d.ts +4 -0
  205. package/dist/types/BannerResponsiveConfig.js +2 -0
  206. package/dist/types/BannerResponsiveConfig.js.map +1 -0
  207. package/dist/types/ItemMenuConfig.d.ts +4 -0
  208. package/dist/types/ItemMenuConfig.js +2 -0
  209. package/dist/types/ItemMenuConfig.js.map +1 -0
  210. package/dist/types/ShadowConfig.d.ts +6 -0
  211. package/dist/types/ShadowConfig.js +2 -0
  212. package/dist/types/ShadowConfig.js.map +1 -0
  213. package/package.json +45 -0
@@ -0,0 +1,96 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useRef, useEffect, useState } from 'react';
4
+ import { TextFieldFixedSizeStyled, ButtonFormStyled, TextFieldStyled } from './FormStyled';
5
+ import { styled } from '@mui/material/styles';
6
+ import { StyledSpanBody1 } from '../text/SpanStyled';
7
+ const FormContainer = styled('div')(() => ({
8
+ display: 'flex',
9
+ flexDirection: 'column',
10
+ gap: '16px',
11
+ width: '100%',
12
+ margin: 'auto',
13
+ padding: '0px',
14
+ }));
15
+ const Form = ({ color, background_color = 'transparent', border_radius = '0px', color_button, background_color_button = 'transparent', border_radius_button = '0px', text_button, token, color_message_sucess, color_message_erro, message_sucess, message_erro }) => {
16
+ const [mensagemApi, setMensagemApi] = useState('');
17
+ const [corMensagemApi, setCorMensagemApi] = useState(color_message_erro);
18
+ const [nome, setNome] = useState('');
19
+ const [email, setEmail] = useState('');
20
+ const [telefone, setTelefone] = useState('');
21
+ const [mensagem, setMensagem] = useState('');
22
+ const [errors, setErrors] = useState({});
23
+ const [isLoading, setIsLoading] = useState(false);
24
+ const telefoneRef = useRef(null);
25
+ useEffect(() => {
26
+ if (telefoneRef.current) {
27
+ telefoneRef.current.focus();
28
+ }
29
+ }, []);
30
+ const validateEmail = (email) => /\S+@\S+\.\S+/.test(email);
31
+ const validateTelefone = (telefone) => /^\d{2}\d{9}$/.test(telefone);
32
+ const handleBlur = (field) => {
33
+ switch (field) {
34
+ case 'email':
35
+ setErrors((prevErrors) => (Object.assign(Object.assign({}, prevErrors), { email: !validateEmail(email) })));
36
+ break;
37
+ case 'telefone':
38
+ setErrors((prevErrors) => (Object.assign(Object.assign({}, prevErrors), { telefone: !validateTelefone(telefone) })));
39
+ break;
40
+ default:
41
+ setErrors((prevErrors) => (Object.assign(Object.assign({}, prevErrors), { [field]: !Boolean(eval(field)) })));
42
+ break;
43
+ }
44
+ };
45
+ const handleSubmit = async (e) => {
46
+ e.preventDefault();
47
+ const hasErrors = Object.keys(errors).some((key) => errors[key]);
48
+ const messageError = message_erro !== null && message_erro !== void 0 ? message_erro : `Houve um problema ao enviar sua mensagem. Por favor, verifique sua conexão e tente novamente mais tarde.
49
+ Caso o erro persista, saiba que você também pode nos contatar pelos outros canais disponíveis.`;
50
+ if (!hasErrors) {
51
+ setIsLoading(true); // Inicia o estado de loading
52
+ try {
53
+ const formData = new FormData();
54
+ formData.append('nome', nome);
55
+ formData.append('email', email);
56
+ formData.append('telefone', telefone);
57
+ formData.append('mensagem', mensagem);
58
+ const response = await fetch(`https://api.pipelinesolucoes.com.br/fale-conosco/envia-email?token=${token}`, {
59
+ method: 'POST',
60
+ body: formData,
61
+ });
62
+ if (response.status === 200) {
63
+ setCorMensagemApi(color_message_sucess);
64
+ setMensagemApi(message_sucess);
65
+ setNome('');
66
+ setEmail('');
67
+ setTelefone('');
68
+ setMensagem('');
69
+ }
70
+ else {
71
+ setCorMensagemApi(color_message_erro);
72
+ setMensagemApi(messageError);
73
+ console.log('Erro ao enviar dados:', response.statusText);
74
+ }
75
+ }
76
+ catch (error) {
77
+ setCorMensagemApi(color_message_erro);
78
+ setMensagemApi(messageError);
79
+ console.log('Erro na solicitação:', error);
80
+ }
81
+ finally {
82
+ setIsLoading(false);
83
+ }
84
+ }
85
+ else {
86
+ setCorMensagemApi(color_message_erro);
87
+ setMensagemApi(`Alguns dos dados fornecidos estão inválidos.
88
+ Por favor, revise as informações preenchidas e
89
+ corrija os campos destacados antes de tentar enviar o formulário novamente.`);
90
+ }
91
+ };
92
+ return (_jsxs(FormContainer, { children: [_jsx(TextFieldStyled, { id: 'nome', label: "Nome", placeholder: "Nome", value: nome, onChange: (e) => setNome(e.target.value), onBlur: () => handleBlur('nome'), error: errors.nome, helperText: errors.nome && _jsx("span", { style: { color: color_message_erro }, children: "Nome \u00E9 obrigat\u00F3rio" }), required: true, background_color: background_color, text_color: color, text_color_error: color_message_erro, border_radius: border_radius }), _jsx(TextFieldStyled, { id: "email", label: "Email", placeholder: "Email", value: email, onChange: (e) => setEmail(e.target.value), onBlur: () => handleBlur('email'), error: errors.email, helperText: errors.email && _jsx("span", { style: { color: color_message_erro }, children: "Email inv\u00E1lido" }), required: true, background_color: background_color, text_color: color, text_color_error: color_message_erro, border_radius: border_radius }), _jsx(TextFieldStyled, { id: "telefone", label: "Telefone", value: telefone, onChange: (e) => setTelefone(e.target.value), onBlur: () => handleBlur('telefone'), error: errors.telefone, helperText: errors.telefone && _jsx("span", { style: { color: color_message_erro }, children: "Telefone inv\u00E1lido" }), required: true, placeholder: "21999999999", background_color: background_color, text_color: color, text_color_error: color_message_erro, border_radius: border_radius }), _jsx(TextFieldFixedSizeStyled, { id: "mensagem", label: "Mensagem", placeholder: "Mensagem", value: mensagem, onChange: (e) => setMensagem(e.target.value), onBlur: () => handleBlur('mensagem'), error: errors.mensagem, helperText: errors.mensagem && _jsx("span", { style: { color: color_message_erro }, children: "Mensagem \u00E9 obrigat\u00F3ria" }), required: true, multiline: true, background_color: background_color, text_color: color, text_color_error: color_message_erro, border_radius: border_radius }), _jsx(ButtonFormStyled, { width: '100%', height: '100%', onClick: handleSubmit, background_color: background_color_button, text_color: color_button, border_radius: border_radius_button, disabled: isLoading, children: text_button }), mensagemApi &&
93
+ _jsx(StyledSpanBody1, { text_color: corMensagemApi, children: isLoading ? 'Enviando...' : mensagemApi })] }));
94
+ };
95
+ export default Form;
96
+ //# sourceMappingURL=Form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Form.js","sourceRoot":"","sources":["../../../src/components/form/Form.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,eAAe,EAA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AClC,UAAU,EAAE,KAAK,EACjB,gBAAgB,EAAE,kBAAkB,EACpC,aAAa,EAAE,aAAa,GACF,EAC5B,KAAC,gBAAgB,IACf,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,OAAO,EAAE,YAAY,EACrB,gBAAgB,EAAE,uBAAuB,EACzC,UAAU,EAAE,YAAY,EACxB,aAAa,EAAE,oBAAoB,EACnC,QAAQ,EAAE,SAAS,YAElB,WAAW,GACK,EACjB,WAAW;gBACX,KAAC,eAAe,IAAC,UAAU,EAAE,cAAc,YAAG,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,GAAmB,IAE5F,CACjB,CAAC;AACJ,CAAC,CAAC;AAEJ,eAAe,IAAI,CAAC"}
@@ -0,0 +1,27 @@
1
+ interface TextFieldStyledProps {
2
+ background_color: string;
3
+ text_color: string;
4
+ text_color_error: string;
5
+ border_radius: string;
6
+ }
7
+ export declare const TextFieldStyled: import("@emotion/styled").StyledComponent<{
8
+ variant?: import("@mui/material").TextFieldVariants | undefined;
9
+ } & Omit<import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & TextFieldStyledProps, {}, {}>;
10
+ interface TextFieldFixedSizeStyledProps {
11
+ background_color: string;
12
+ text_color: string;
13
+ text_color_error: string;
14
+ border_radius: string;
15
+ }
16
+ export declare const TextFieldFixedSizeStyled: import("@emotion/styled").StyledComponent<{
17
+ variant?: import("@mui/material").TextFieldVariants | undefined;
18
+ } & Omit<import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & TextFieldFixedSizeStyledProps, {}, {}>;
19
+ interface ButtonFormStyledProps {
20
+ width: string;
21
+ height: string;
22
+ background_color: string;
23
+ text_color: string;
24
+ border_radius: string;
25
+ }
26
+ export declare const ButtonFormStyled: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "color" | "children" | "sx" | "className" | "tabIndex" | "classes" | "variant" | "href" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "loadingIndicator" | "size" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ButtonFormStyledProps, {}, {}>;
27
+ export {};
@@ -0,0 +1,95 @@
1
+ import { Button } from '@mui/material';
2
+ import { styled } from '@mui/material/styles';
3
+ import TextField from '@mui/material/TextField';
4
+ export const TextFieldStyled = styled(TextField, {
5
+ shouldForwardProp: (prop) => !['background_color', 'text_color', 'text_color_error', 'border_radius'].includes(prop),
6
+ })(({ theme, background_color, text_color, text_color_error, border_radius, error }) => {
7
+ var _a, _b, _c, _d, _e, _f;
8
+ return ({
9
+ '& .MuiInputLabel-root': {
10
+ color: error ? text_color_error : text_color, // Label em vermelho em caso de erro
11
+ },
12
+ '& .MuiInputBase-input::placeholder': {
13
+ color: error ? text_color_error : text_color, // Placeholder também em vermelho, opcional
14
+ },
15
+ '& .MuiInputBase-root': {
16
+ backgroundColor: background_color,
17
+ borderRadius: border_radius,
18
+ color: text_color,
19
+ },
20
+ '& .MuiOutlinedInput-notchedOutline': {
21
+ borderColor: error ? text_color_error : 'transparent', // Borda em vermelho em caso de erro
22
+ },
23
+ fontFamily: theme.typography.fontFamily,
24
+ fontSize: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontSize,
25
+ fontWeight: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontWeight,
26
+ fontStyle: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.fontStyle,
27
+ lineHeight: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.lineHeight,
28
+ letterSpacing: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.letterSpacing,
29
+ margin: (_f = theme.typography.body1) === null || _f === void 0 ? void 0 : _f.margin,
30
+ });
31
+ });
32
+ export const TextFieldFixedSizeStyled = styled(TextField, {
33
+ shouldForwardProp: (prop) => !['background_color', 'text_color', 'text_color_error', 'border_radius'].includes(prop),
34
+ })(({ theme, background_color, text_color, text_color_error, border_radius, error }) => {
35
+ var _a, _b, _c, _d, _e, _f;
36
+ return ({
37
+ '& .MuiInputLabel-root': {
38
+ color: error ? text_color_error : text_color, // Label em vermelho em caso de erro
39
+ },
40
+ '& .MuiInputBase-input::placeholder': {
41
+ color: error ? text_color_error : text_color, // Placeholder também em vermelho, opcional
42
+ },
43
+ '& .MuiInputBase-root': {
44
+ transition: 'none !important',
45
+ alignItems: 'flex-start',
46
+ width: '100%',
47
+ overflowY: 'auto',
48
+ height: '150px',
49
+ backgroundColor: background_color,
50
+ borderRadius: border_radius,
51
+ color: text_color,
52
+ },
53
+ '& .MuiOutlinedInput-notchedOutline': {
54
+ borderColor: error ? text_color_error : 'transparent', // Borda em vermelho em caso de erro
55
+ },
56
+ fontFamily: theme.typography.fontFamily,
57
+ fontSize: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontSize,
58
+ fontWeight: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontWeight,
59
+ fontStyle: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.fontStyle,
60
+ lineHeight: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.lineHeight,
61
+ letterSpacing: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.letterSpacing,
62
+ margin: (_f = theme.typography.body1) === null || _f === void 0 ? void 0 : _f.margin,
63
+ });
64
+ });
65
+ export const ButtonFormStyled = styled(Button, {
66
+ shouldForwardProp: (prop) => !['width', 'height', 'background_color', 'text_color', 'border_radius'].includes(prop),
67
+ })(({ theme, width, height, background_color, text_color, border_radius }) => {
68
+ var _a, _b, _c, _d, _e, _f;
69
+ return ({
70
+ color: text_color,
71
+ backgroundColor: background_color,
72
+ borderRadius: border_radius,
73
+ textTransform: 'none',
74
+ border: 'none',
75
+ cursor: 'pointer',
76
+ padding: '8px 24px',
77
+ boxShadow: 'none',
78
+ width: width,
79
+ height: height,
80
+ // Tipografia
81
+ fontFamily: theme.typography.fontFamily,
82
+ fontWeight: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontWeight,
83
+ fontStyle: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontStyle,
84
+ lineHeight: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.lineHeight,
85
+ letterSpacing: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.letterSpacing,
86
+ fontSize: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.fontSize,
87
+ margin: (_f = theme.typography.body1) === null || _f === void 0 ? void 0 : _f.margin,
88
+ // Hover state (opcional)
89
+ '&:hover': {
90
+ backgroundColor: background_color,
91
+ opacity: 0.9,
92
+ },
93
+ });
94
+ });
95
+ //# sourceMappingURL=FormStyled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormStyled.js","sourceRoot":"","sources":["../../../src/components/form/FormStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAShD,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,SAAS,EAAE;IAC/C,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CA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AAE;YACT,eAAe,EAAE,gBAAgB;YACjC,OAAO,EAAE,GAAG;SACb;KACF,CAAC,CAAA;CAAA,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface HeaderBarInProps {
3
+ height_xs?: string;
4
+ height_sm?: string;
5
+ height_md?: string;
6
+ height_lg?: string;
7
+ height_xl?: string;
8
+ background_color: string;
9
+ border_radius?: string;
10
+ top_bar?: number;
11
+ renderBar: () => React.ReactElement;
12
+ renderBanner: () => React.ReactElement;
13
+ }
14
+ declare const HeaderBarIn: React.FC<HeaderBarInProps>;
15
+ export default HeaderBarIn;
@@ -0,0 +1,40 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Box, styled } from '@mui/material';
4
+ const Container = styled(Box, {
5
+ shouldForwardProp: (prop) => !['height_xs', 'height_sm', 'height_md', 'height_lg', 'height_xl', 'background_color', 'border_radius'].includes(prop),
6
+ })(({ theme, height_xs, height_sm, height_md, height_lg, height_xl, background_color, border_radius }) => ({
7
+ width: '100%',
8
+ backgroundColor: background_color,
9
+ borderRadius: border_radius,
10
+ position: 'relative',
11
+ [theme.breakpoints.between(0, 'sm')]: {
12
+ height: height_xs,
13
+ },
14
+ [theme.breakpoints.up('sm')]: {
15
+ height: height_sm,
16
+ },
17
+ [theme.breakpoints.up('md')]: {
18
+ height: height_md,
19
+ },
20
+ [theme.breakpoints.up('lg')]: {
21
+ height: height_lg,
22
+ },
23
+ [theme.breakpoints.up('xl')]: {
24
+ height: height_xl,
25
+ },
26
+ }));
27
+ const BarWrapper = styled(Box, {
28
+ shouldForwardProp: (prop) => !['top'].includes(prop),
29
+ })(({ top }) => ({
30
+ position: 'absolute',
31
+ top: top,
32
+ left: 0,
33
+ right: 0,
34
+ zIndex: 2,
35
+ }));
36
+ const HeaderBarIn = ({ renderBar, renderBanner, height_xs = "880px", height_sm = "680px", height_md = "680px", height_lg = "680px", height_xl = "680px", background_color, border_radius = '0px', top_bar = 10 }) => {
37
+ return (_jsxs(Container, { id: "ContainerHeaderBarIn", height_xs: height_xs, height_sm: height_sm, height_md: height_md, height_lg: height_lg, height_xl: height_xl, background_color: background_color, border_radius: border_radius, children: [_jsx(BarWrapper, { top: `${top_bar}px`, children: renderBar() }), renderBanner()] }));
38
+ };
39
+ export default HeaderBarIn;
40
+ //# sourceMappingURL=HeaderBarIn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderBarIn.js","sourceRoot":"","sources":["../../../src/components/header/HeaderBarIn.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,EAAE;IAC5B,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAC1B,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,eAAe,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CACnI,CAAC,CAQC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAAC;IAEzG,KAAK,EAAE,MAAM;IACb,eAAe,EAAE,gBAAgB;IACjC,YAAY,EAAE,aAAa;IAC3B,QAAQ,EAAE,UAAU;IAEpB,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE;QACpC,MAAM,EAAE,SAAS;KAClB;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,MAAM,EAAE,SAAS;KAClB;IACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;QAC5B,MAAM,EAAE,SA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AAW,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface HeaderBarTopProps {
3
+ height_xs?: string;
4
+ height_sm?: string;
5
+ height_md?: string;
6
+ height_lg?: string;
7
+ height_xl?: string;
8
+ renderBar: () => React.ReactElement;
9
+ renderBanner: () => React.ReactElement;
10
+ }
11
+ declare const HeaderBarTop: React.FC<HeaderBarTopProps>;
12
+ export default HeaderBarTop;
@@ -0,0 +1,30 @@
1
+ 'use cliente';
2
+ import { jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Box, styled } from '@mui/material';
4
+ const Container = styled(Box, {
5
+ shouldForwardProp: (prop) => !['height_xs', 'height_sm', 'height_md', 'height_lg', 'height_xl'].includes(prop),
6
+ })(({ theme, height_xs, height_sm, height_md, height_lg, height_xl }) => ({
7
+ width: '100%',
8
+ backgroundColor: '#ededed',
9
+ // Breakpoints para diferentes larguras de tela
10
+ [theme.breakpoints.between(0, 'sm')]: {
11
+ height: height_xs, // Menor que 600px
12
+ },
13
+ [theme.breakpoints.up('sm')]: {
14
+ height: height_sm, // Entre 600px e 960px
15
+ },
16
+ [theme.breakpoints.up('md')]: {
17
+ height: height_md, // Entre 960px e 1280px
18
+ },
19
+ [theme.breakpoints.up('lg')]: {
20
+ height: height_lg, // Entre 1280px e 1920px
21
+ },
22
+ [theme.breakpoints.up('xl')]: {
23
+ height: height_xl, // Acima de 1920px
24
+ },
25
+ }));
26
+ const HeaderBarTop = ({ renderBar, renderBanner, height_xs = "880px", height_sm = "680px", height_md = "680px", height_lg = "680px", height_xl = "680px" }) => {
27
+ return (_jsxs(Container, { height_xs: height_xs, height_sm: height_sm, height_md: height_md, height_lg: height_lg, height_xl: height_xl, children: [renderBar(), renderBanner()] }));
28
+ };
29
+ export default HeaderBarTop;
30
+ //# sourceMappingURL=HeaderBarTop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderBarTop.js","sourceRoot":"","sources":["../../../src/components/header/HeaderBarTop.tsx"],"names":[],"m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AAE,SAAS,GAAG,OAAO,EAChG,SAAS,GAAG,OAAO,EAAE,EAAE,EAAE;IAE3B,OAAO,CACH,MAAC,SAAS,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EACnD,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,aAC/D,SAAS,EAAE,EACX,YAAY,EAAE,IACL,CACf,CAAC;AAEJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface SectionProps {
2
+ section_id: string;
3
+ background_color: string;
4
+ background_color_container_safe?: string;
5
+ border_radius_container_safe?: string;
6
+ children: React.ReactNode;
7
+ }
8
+ declare const Section: React.FC<SectionProps>;
9
+ export default Section;
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { styled } from '@mui/material/styles';
3
+ import { ContainerSafeSection } from '../containers/ContainerSafe';
4
+ const SectionStyled = styled('section', {
5
+ shouldForwardProp: (prop) => !['background_color'].includes(prop),
6
+ })(({ background_color }) => ({
7
+ position: 'relative',
8
+ backgroundColor: background_color,
9
+ display: 'flex',
10
+ flexDirection: 'column',
11
+ alignItems: 'center',
12
+ justifyContent: 'center',
13
+ width: '100%',
14
+ }));
15
+ const Section = ({ section_id, background_color, background_color_container_safe = 'transparent', border_radius_container_safe = '0px', children }) => {
16
+ return (_jsx(SectionStyled, { id: section_id, background_color: background_color, children: _jsx(ContainerSafeSection, { border_radius: border_radius_container_safe, background_color: background_color_container_safe, children: children }) }));
17
+ };
18
+ export default Section;
19
+ //# sourceMappingURL=Section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.js","sourceRoot":"","sources":["../../../src/components/section/Section.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,aAAa,GAAG,MAAM,CAAC,SAAS,EAAE;IACtC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC5E,CAAC,CAEC,CAAC,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5B,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,gBAAgB;IACjC,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC,CAAC;AAWJ,MAAM,OAAO,GAA2B,CAAC,EACrC,UAAU,EACV,gBAAgB,EAChB,+BAA+B,GAAG,aAAa,EAC/C,4BAA4B,GAAG,KAAK,EAAG,QAAQ,EAAE,EAAE,EAAE;IAErD,OAAO,CACL,KAAC,aAAa,IAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,YAC/D,KAAC,oBAAoB,IAAC,aAAa,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,+BAA+B,YAChH,QAAQ,GACW,GACT,CACjB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface SectionProps {
2
+ children: React.ReactNode;
3
+ color1: string;
4
+ color2: string;
5
+ color3: string;
6
+ section_id: string;
7
+ }
8
+ declare const SectionGradiente: React.FC<SectionProps>;
9
+ export default SectionGradiente;
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { styled } from '@mui/material/styles';
3
+ import { ContainerSafeSection } from '../containers/ContainerSafe';
4
+ const SectionStyled = styled('section', {
5
+ shouldForwardProp: (prop) => !['color1', 'color2', 'color3'].includes(prop),
6
+ })(({ color1, color2, color3 }) => ({
7
+ position: 'relative',
8
+ background: `linear-gradient(to bottom, ${color1}, ${color2}, ${color3})`,
9
+ display: 'flex',
10
+ flexDirection: 'column',
11
+ alignItems: 'center',
12
+ justifyContent: 'center',
13
+ width: '100%',
14
+ }));
15
+ const SectionGradiente = ({ children, color1, color2, color3, section_id }) => {
16
+ return (_jsx(SectionStyled, { id: section_id, color1: color1, color2: color2, color3: color3, children: _jsx(ContainerSafeSection, { border_radius: '0px', background_color: 'transparent', children: children }) }));
17
+ };
18
+ export default SectionGradiente;
19
+ //# sourceMappingURL=SectionGradiente.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionGradiente.js","sourceRoot":"","sources":["../../../src/components/section/SectionGradiente.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,aAAa,GAAG,MAAM,CAAC,SAAS,EAAE;IACtC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CACtF,CAAC,CAIC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;IAClC,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,8BAA8B,MAAM,KAAK,MAAM,KAAK,MAAM,GAAG;IACzE,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC,CAAC;AAUF,MAAM,gBAAgB,GAA2B,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAC,EAAE,EAAE;IAEnG,OAAO,CACL,KAAC,aAAa,IAAC,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAC3E,KAAC,oBAAoB,IAAC,aAAa,EAAC,KAAK,EAAC,gBAAgB,EAAC,aAAa,YACpE,QAAQ,GACW,GACT,CACjB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,7 @@
1
+ interface SectionProps {
2
+ children: React.ReactNode;
3
+ src: string;
4
+ section_id: string;
5
+ }
6
+ declare const SectionImage: React.FC<SectionProps>;
7
+ export default SectionImage;
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { styled } from '@mui/material/styles';
3
+ import { ContainerSafeSection } from '../containers/ContainerSafe';
4
+ const SectionStyled = styled('section', {
5
+ shouldForwardProp: (prop) => !['background_image'].includes(prop),
6
+ })(({ background_image }) => ({
7
+ position: 'relative',
8
+ backgroundImage: `url(${background_image})`,
9
+ backgroundSize: 'cover',
10
+ backgroundPosition: 'center',
11
+ display: 'flex',
12
+ flexDirection: 'column',
13
+ alignItems: 'center',
14
+ justifyContent: 'center',
15
+ width: '100%',
16
+ }));
17
+ const SectionImage = ({ children, src, section_id }) => {
18
+ return (_jsx(SectionStyled, { id: section_id, background_image: src, children: _jsx(ContainerSafeSection, { border_radius: '0px', background_color: 'transparent', children: children }) }));
19
+ };
20
+ export default SectionImage;
21
+ //# sourceMappingURL=SectionImage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionImage.js","sourceRoot":"","sources":["../../../src/components/section/SectionImage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,aAAa,GAAG,MAAM,CAAC,SAAS,EAAE;IACtC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC5E,CAAC,CAEC,CAAC,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5B,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,OAAO,gBAAgB,GAAG;IAC3C,cAAc,EAAE,OAAO;IACvB,kBAAkB,EAAE,QAAQ;IAC5B,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC,CAAC;AAQF,MAAM,YAAY,GAA2B,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,UAAU,EAAC,EAAE,EAAE;IAE5E,OAAO,CACL,KAAC,aAAa,IAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,YAClD,KAAC,oBAAoB,IAAC,aAAa,EAAC,KAAK,EAAC,gBAAgB,EAAC,aAAa,YACpE,QAAQ,GACW,GACT,CACjB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const ContentSectionWrapStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
2
+ marginTop?: string;
3
+ marginBottom?: string;
4
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const ContentSectionWrapCenterStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const SectionTextColumnStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
7
+ textColor: string;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export default ContentSectionWrapStyled;
@@ -0,0 +1,46 @@
1
+ import { styled } from '@mui/material/styles';
2
+ export const ContentSectionWrapStyled = styled('div', {
3
+ shouldForwardProp: (prop) => !['marginTop', 'marginBottom'].includes(prop),
4
+ })(({ marginTop = '0px', marginBottom = '0px' }) => ({
5
+ width: '100%',
6
+ height: '100%',
7
+ gap: '24px',
8
+ display: 'flex',
9
+ flexDirection: 'row',
10
+ flexWrap: 'wrap',
11
+ alignItems: 'flex-start',
12
+ justifyContent: 'center',
13
+ marginTop: marginTop,
14
+ marginBottom: marginBottom
15
+ }));
16
+ export const ContentSectionWrapCenterStyled = styled('div')(() => ({
17
+ width: '100%',
18
+ height: '100%',
19
+ gap: '24px',
20
+ display: 'flex',
21
+ flexDirection: 'row',
22
+ flexWrap: 'wrap',
23
+ alignItems: 'center',
24
+ justifyContent: 'center',
25
+ }));
26
+ export const SectionTextColumnStyle = styled('div', {
27
+ shouldForwardProp: (prop) => !['textColor'].includes(prop),
28
+ })(({ theme, textColor }) => {
29
+ var _a, _b, _c, _d, _e, _f;
30
+ return ({
31
+ width: '100%',
32
+ color: textColor,
33
+ flex: '1',
34
+ minWidth: '340px',
35
+ // Tipografia
36
+ fontFamily: theme.typography.fontFamily,
37
+ fontWeight: (_a = theme.typography.body1) === null || _a === void 0 ? void 0 : _a.fontWeight,
38
+ fontStyle: (_b = theme.typography.body1) === null || _b === void 0 ? void 0 : _b.fontStyle,
39
+ lineHeight: (_c = theme.typography.body1) === null || _c === void 0 ? void 0 : _c.lineHeight,
40
+ letterSpacing: (_d = theme.typography.body1) === null || _d === void 0 ? void 0 : _d.letterSpacing,
41
+ fontSize: (_e = theme.typography.body1) === null || _e === void 0 ? void 0 : _e.fontSize,
42
+ margin: (_f = theme.typography.body1) === null || _f === void 0 ? void 0 : _f.margin,
43
+ });
44
+ });
45
+ export default ContentSectionWrapStyled;
46
+ //# sourceMappingURL=SectionStyled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionStyled.js","sourceRoot":"","sources":["../../../src/components/section/SectionStyled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE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AQ,EAAE,OAAO;QAEjB,aAAa;QACb,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,UAAU;QACvC,UAAU,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,KAAK,0CAAE,UAAU;QAC9C,SAAS,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,KAAK,0CAAE,SAAS;QAC5C,UAAU,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,KAAK,0CAAE,UAAU;QAC9C,aAAa,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,KAAK,0CAAE,aAAa;QACpD,QAAQ,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,KAAK,0CAAE,QAAQ;QAC1C,MAAM,EAAE,MAAA,KAAK,CAAC,UAAU,CAAC,KAAK,0CAAE,MAAM;KACzC,CAAC,CAAA;CAAA,CAAC,CAAC;AAEJ,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface SocialMediaIconLinkProps {
3
+ children: React.ReactNode;
4
+ url?: string;
5
+ aria_label: string;
6
+ }
7
+ declare const SocialMediaIconLink: React.FC<SocialMediaIconLinkProps>;
8
+ export default SocialMediaIconLink;
@@ -0,0 +1,13 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { IconButton } from '@mui/material';
4
+ const SocialMediaIconLink = ({ url, children, aria_label, }) => {
5
+ if (url) {
6
+ return (_jsx(IconButton, { "aria-label": aria_label, onClick: () => window.open(url, '_blank', 'noopener noreferrer'), children: children }));
7
+ }
8
+ else {
9
+ _jsx(IconButton, { "aria-label": aria_label, disabled: true, children: children });
10
+ }
11
+ };
12
+ export default SocialMediaIconLink;
13
+ //# sourceMappingURL=SocialMediaIconLink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialMediaIconLink.js","sourceRoot":"","sources":["../../../src/components/social_media/SocialMediaIconLink.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,MAAM,mBAAmB,GAAuC,CAAC,EAC/D,GAAG,EACH,QAAQ,EACR,UAAU,GACX,EAAE,EAAE;IAEH,IAAI,GAAG,EACP,CAAC;QACC,OAAO,CACL,KAAC,UAAU,kBAAa,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,qBAAqB,CAAC,YACjG,QAAQ,GACE,CACd,CAAC;IACJ,CAAC;SACG,CAAC;QACH,KAAC,UAAU,kBAAa,UAAU,EAAE,QAAQ,kBACzC,QAAQ,GACE,CAAA;IACf,CAAC;AAEH,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export interface SocialMediaIconLinkWithBorderProps {
3
+ children: React.ReactNode;
4
+ url: string;
5
+ background_color: string;
6
+ aria_label: string;
7
+ }
8
+ export declare const StyledBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
9
+ background_color: string;
10
+ }, {}, {}>;
11
+ declare const SocialMediaIconLinkWithBorder: React.FC<SocialMediaIconLinkWithBorderProps>;
12
+ export default SocialMediaIconLinkWithBorder;
@@ -0,0 +1,18 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { Box, IconButton } from '@mui/material';
4
+ import { styled } from '@mui/material/styles';
5
+ export const StyledBox = styled(Box, {
6
+ shouldForwardProp: (prop) => !['background_color'].includes(prop),
7
+ })(({ background_color }) => ({
8
+ backgroundColor: background_color,
9
+ padding: '4px',
10
+ borderRadius: '50%',
11
+ display: 'inline-block',
12
+ border: '2px solid transparent',
13
+ }));
14
+ const SocialMediaIconLinkWithBorder = ({ url, background_color, aria_label, children }) => {
15
+ return (_jsx(StyledBox, { background_color: background_color, children: _jsx(IconButton, { "aria-label": aria_label, onClick: () => window.open(url, '_blank', 'noopener noreferrer'), children: children }) }));
16
+ };
17
+ export default SocialMediaIconLinkWithBorder;
18
+ //# sourceMappingURL=SocialMediaIconLinkWithBorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialMediaIconLinkWithBorder.js","sourceRoot":"","sources":["../../../src/components/social_media/SocialMediaIconLinkWithBorder.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAS9C,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,EAAE;IACnC,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,IAAc,CAAC;CAC5E,CAAC,CAA+B,CAAC,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,eAAe,EAAE,gBAAgB;IACjC,OAAO,EAAE,KAAK;IACd,YAAY,EAAE,KAAK;IACnB,OAAO,EAAE,cAAc;IACvB,MAAM,EAAE,uBAAuB;CAChC,CAAC,CAAC,CAAC;AAEJ,MAAM,6BAA6B,GAAiD,CAAC,EAAE,GAAG,EACvF,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE;IAE7C,OAAO,CACH,KAAC,SAAS,IAAC,gBAAgB,EAAE,gBAAgB,YAC3C,KAAC,UAAU,kBAAa,UAAU,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,qBAAqB,CAAC,YAC/D,QAAQ,GACE,GACH,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
@@ -0,0 +1,5 @@
1
+ interface SubstackPageProps {
2
+ url: string;
3
+ }
4
+ export default function SubstackPage({ url }: SubstackPageProps): Promise<import("react/jsx-runtime").JSX.Element>;
5
+ export {};